Follow Slashdot stories on Twitter


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:Horrible. (Score 1) 2254

by Dom2 (#35007426) Attached to: Slashdot Launches Re-Design

That's not true. The same byte sequence is either valid UTF-8 or it isn't. One of UTF-8's distinguishing features is that you can tell with fairly high probability whether a sequence of bytes is valid UTF-8 or not. Unlike (say) ISO-8859-1, which could be ISO-8859-2. You can't (easily) distinguish without human intervention.

The fact that the site declares itself to be both UTF-8 and iso-8859-1 is just ludicrous however.

Comment: Re:One person's myth is another person's fact. (Score 1) 580

by Dom2 (#30646178) Attached to: Myths About Code Comments

I actually did one of those comments a few days ago. There wasn't a better way to do a particular piece of code, so I put the comment in "// This is ugly, but there isn't a better way to do it.". It's a note to myself and future developers not to bother trying to fix an insignificant ugly piece.

Which is absolutely fine, just so long as you explained why in the next sentence. Or preferably three. As somebody above mentioned, comments should explain the why, not the how.

Much like commit messages, but that's a rant for another day


+ - Nmap 5.00 Released!->

Submitted by
iago-vL writes "The long-awaited Nmap Security Scanner version 5.00 was just released (download)! This marks the most important release since 1997, and is a huge step in Nmap's evolution from a simple port scanner to an all-around security and networking tool suite. Significant performance improvements were made, and dozens of scripts were added. For example, Nmap can now log into Windows and perform local checks (PDF), including Conficker detection. New tools included in 5.00 are Ncat, a modern reimplementation of Netcat (with IPv6, SSL, NAT traversal, port redirection, and more!), and Ndiff, for quickly comparing scan results. Other tools are in the works for future releases, but we're still waiting for them to add email and ftp clients so we can finally get off Emacs!"
Link to Original Source

+ - Computer Program Cuts Risk of Crashes and Exploits

Submitted by
Pooua writes "Emery Berger, of the University of Massachusetts at Amherst, has developed a computer program that he claims greatly reduces the risk of application crashes and common hacker exploits by separating programs far apart from each other in RAM. Berger's program, called DieHard, is available at no charge for non-commercial use.

Spacewar: New Computer Program Prevents Crashes And Hacker Attacks"

After Goliath's defeat, giants ceased to command respect. - Freeman Dyson