Slashdot Mirror


User: tuffy

tuffy's activity in the archive.

Stories
0
Comments
1,442
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,442

  1. Re:M-x tetris on Emacs 24.1 Released · · Score: 1

    Don't forget Zork, Enchanter and other Z-machine games.

  2. Re:Like it matters! on MariaDB and MySQL Authentication Bypass Exploit · · Score: 4, Informative

    Firefox uses SQLite, which implements a database management system in a single file. It's not something anyone can connect to remotely.

  3. Re:I wonder on Emacs 24.1 Released · · Score: 1

    Gosling's inability to sell his own version of a proprietary Emacs built on MockLisp back in 1981 says very little about whether it's a useful tool today.

  4. Re:gpg on Lessons Learned From Cracking 2M LinkedIn Passwords · · Score: 2
    I've tried a similar one-password principle using HMAC digests:

    python -c "from hashlib import sha1; from hmac import HMAC; from getpass import getpass; print HMAC('site.com', getpass(), sha1).digest().encode('base64')"

    By simply remembering the site name and a strong master password, one can generate a unique password for each site.

  5. Re:Does it do windows? on Emacs 24.1 Released · · Score: 1

    There is an official Windows build which is usually found in the "windows" subdirectory on the official mirrors. There's also an unofficial Mac OS X build (though the site is currently down).

  6. Re:I wonder on Emacs 24.1 Released · · Score: 4, Insightful

    A more common issue is that Emacs just isn't installed by default on as many servers. So it's a good idea to know how to use vi to go to a line, perform a search, insert some text and save the file at the very least.

  7. Re:This is an outrage!! on Emacs 24.1 Released · · Score: 3, Insightful
  8. Re:The critics can learn a thing or two about emac on Emacsy: An Embeddable Toolkit of Emacs-like Functionality · · Score: 2

    If you like the undo stack, Undo Tree will blow your mind.

  9. Re:In emacs? on Emacsy: An Embeddable Toolkit of Emacs-like Functionality · · Score: 2
    I prefer to stick macros on a single F key, like:

    (global-set-key [f5] 'call-last-kbd-macro)
    (global-set-key [(control f5)] (lambda () (interactive)
    (if defining-kbd-macro
    (kmacro-end-macro nil)
    (kmacro-start-macro nil))))

    while anything that needs a counter I take care of with repeat-insert

  10. Re:The most needed thing... on How To Contribute To Open Source Without Being a Programming Rock Star · · Score: 1

    Not necessarily. Sometimes the act of explaining how stuff works to a documenter can not only make for better documentation, but enlighten the original developer as well. The development of the "Inside Macintosh" documentation is one such example.

  11. Re:it could have been worse on GitHub Hacked · · Score: 2

    Which would be noticed the next time anyone does a push to the repository. There'd be an unexpected non-fast-forward push, and git would force developers to deal with it by default.

  12. Re:28 days on Azure Failure Was a Leap Year Glitch · · Score: 1

    In 2012 there are 261 weekdays. In 2011, there were 260. But in 2010 and 2009 there were also 261 weekdays. So not really.

  13. Re:Computer Driver Zones. on Nevada Approves Rules For Self-Driving Cars · · Score: 1

    In 5 years, self-driving cars will be another 5 years away from being available to consumers. In 10 years, self-driving cars will still be another 5 years away from being available to consumers. And so on.

  14. Re:Computer Driver Zones. on Nevada Approves Rules For Self-Driving Cars · · Score: 1

    Not better than human drivers. They're still significantly slower, or running on closed courses, or on pre-mapped city streets with a human behind the wheel.

    The technology to make computers navigate the real world and its hazards as well (and as fast) as humans is still years off - and may remain that way.

  15. Re:Computer Driver Zones. on Nevada Approves Rules For Self-Driving Cars · · Score: 1

    Given enough time to adapt- the whole country could be computer-driver only.

    Only if computer drivers get intelligent enough to understand what to do when a deer crosses the highway in the middle of the night. Or when a child's ball comes bouncing into the street. Or when there's a giant pothole in the traffic lane.

    Computers are excellent in controlled situations when it knows all the variables. But real life is a messy place full of surprises and unknowns that computers have long been ill-equipped to handle. So like the mythical flying car, I don't expect to see computer driven cars in my lifetime simply because human brains adapt better at handling the unexpected.

  16. Minneapolis has no subway station crime on Mozart and Bach Handel Subway Station Crime · · Score: 1

    The Twin Cities light rail system is entirely above ground.

  17. Re:Yes, but will it last? on Google Close To Launching Cloud Storage 'Google Drive' · · Score: 1

    The trouble is that uploading gigs of data can take hours, depending on one's connection speed. So once Google gets bored with this service and kills it, one will have to spend that time re-uploading it to a less flighty service provider.

  18. Re:first post? on Perl Data Language 2.4.10 released · · Score: 1

    You still seem to fail to understand my point that you should not need a special editor to help you correctly understand what the code is doing.

    The code is doing exactly what the source code tells it to do. If you're having trouble reading what's in your source code - especially source code from someone else - there's plenty of tools available to make that job easier. If your editor made periods and commas look the same, it'd be hard to write C code and it'd be smart to switch. If your editor makes tabs and spaces look the same, it's hard to write Python code and you'd be smart to switch.

    It doesn't require a "super-duper IDE". But by sticking to something sub-optimal, you're making it harder than it needs to be.

  19. Re:first post? on Perl Data Language 2.4.10 released · · Score: 1

    Python doesn't care whether you're using tabs or spaces, so long as you use a consistent amount of it to denote blocks. The problem is that some editors don't show you the difference. Nobody complains about semicolon requirements in C code because an editor shows you where all the semicolons are in a given piece of code. I feel whitespace should be just as easy to follow. If someone's indented a block wrong or mixed in some tabs, that should be just as easy to spot - even if you're using a language without any whitespace restrictions at all.

    My solution is to use ethan-wspace which automatically highlights tabs in source code (along with lots of other little whitespace problems) and lets me clean them up trivially with the touch of a button and without breaking the file. It not only keeps my Python code functioning, but does wonders for keeping junk whitespaces changes out of source control.

  20. Re:first post? on Perl Data Language 2.4.10 released · · Score: 3, Informative

    % pep8 file.py

    will tell you all the line numbers where someone's mixed tabs and spaces. Or use M-x whitespace-mode (or your editor's equivalent) and clean them up yourself in whatever consistent style you'd prefer.

    Python's design has plenty of annoyances, but its whitespace-based syntax is the among least of them.

  21. I document for myself on How To Get Developers To Document Code · · Score: 3, Insightful

    Six months from now, long after I've moved on to something completely different, am I going to remember a function's return values? The inner workings of a particularly complex algorithm? Or the reasoning while a special case has to be handled differently?

    If it's not going to be obvious to myself later on, it's worth adding a concise comment to explain.

  22. Re:NASA on Institutional Memory and Reverse Smuggling · · Score: 1

    Or, they could just look at the Saturn V on display in NASA's visitor center.

  23. Steven Moffat's reply on Doctor Who To Become Hollywood Feature Film · · Score: 5, Informative
  24. Re:So, as an end user... on Comcast Begins Native IPv6 Deployment To End Users · · Score: 3, Informative

    The idea is that the end user is still going to keep all his devices behind a firewall so everybody on the internet can't probe them. But since your toaster has its own actual address, it can connect directly to the Online Toasting Database server without having to kludge all that traffic through a NAT.

  25. Re:Why not... on Apple's Lossless Audio Codec (ALAC) Now Open Source · · Score: 1

    FLAC's maximum compression tends to outperform ALAC by a few percentage points. Internally, the two are quite similar. ALAC uses LPC-style frames with adaptive coefficients and an adaptive residual, which works well enough for 16bps input. But for 24bps, ALAC stores the lower 8 bits of each sample uncompressed, and FLAC blows it away.