Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Single computer and single monitor!? (Score 1) 628

My main computer with its 24-inch monitor is where I get my coding done. Specs: Core 2 Duo 3GHz w/ 4GB RAM. Its normal workload: xterm and a few emacs windows, with an occasional compile.

For everything else, the laptop on the side (with 12-inch display) runs my email, IM, IRC, RSS, iTunes, and calendar. Specs: 667 MHz PowerPC, 640 MB RAM. Yes, my workload is backwards :)

Comment Re:6%?? Of what system? (Score 4, Informative) 168

Reading the research paper, the 6% overhead looks like it comes from having the kernel call into the hypervisor every time it allocates or frees an object that contains a kernel hook (a.k.a. function pointer). The designers explicitly state that they use non-paged memory to store the protected kernel hooks.

Security

Null Character Hack Allows SSL Spoofing 280

eldavojohn writes "Two researchers, Dan Kaminsky and Moxie Marlinspike, came up with exact same way to fake being a popular website with authentication from a certificate authority. Wired has the details: 'When an attacker who owns his own domain — badguy.com — requests a certificate from the CA, the CA, using contact information from Whois records, sends him an email asking to confirm his ownership of the site. But an attacker can also request a certificate for a subdomain of his site, such as Paypal.com\0.badguy.com, using the null character \0 in the URL. The CA will issue the certificate for a domain like PayPal.com\0.badguy.com because the hacker legitimately owns the root domain badguy.com. Then, due to a flaw found in the way SSL is implemented in many browsers, Firefox and others theoretically can be fooled into reading his certificate as if it were one that came from the authentic PayPal site. Basically when these vulnerable browsers check the domain name contained in the attacker's certificate, they stop reading any characters that follow the "\0 in the name.'"
Science

People Emit Visible Light 347

An Anonymous Reader writes "The human body literally glows, emitting a visible light in extremely small quantities at levels that rise and fall with the day, scientists now reveal. Japanese researchers have shown that the body emits visible light, 1,000 times less intense than the levels to which our naked eyes are sensitive. In fact, virtually all living creatures emit very weak light, which is thought to be a byproduct of biochemical reactions involving free radicals."
Censorship

UK's National Portrait Gallery Threatens To Sue Wikipedia User 526

jpatokal writes "The National Portrait Gallery of London is threatening litigation against a Wikipedia user over his uploading of pictures of some 3,000 paintings, all 19th century or earlier and firmly in the public domain. Their claim? The photos are a 'product of a painstaking exercise on the part of the photographer,' and that downloading them off the NPG site is an 'unlawful circumvention of technical measures.' And remember, the NPG's taxpayer-funded mission is to 'promote the appreciation and understanding of portraiture in all media [...] to as wide a range of visitors as possible!'"
Games

Why Video Games Are Having a Harder Time With Humor 202

Kotaku is running an opinion piece discussing why video games are having a harder time being funny as they've shifted away from text-driven adventures and toward graphics-intensive environments. "As technology improved, things began to get more serious. With the rise of 3D technology a strong focus was put on making games look good, delivering a more realistic — and often darker — experience to the player. Cartoonish comedic games became more of a novelty than the norm. Few titles, such as Rare's Conker's Bad Fur Day for the Nintendo 64, fully embraced humor." The article also talks about how the trend could soon reverse itself. LucasArts' Dave Grossman said, "As the games get smarter and start paying attention to more things about what the player is actually doing, using that ability not just to create challenges but to create humorous moments will be pretty cool. Eventually I expect to be out of a job over that."

Comment Re:Use the OS video libraries (Score 1) 392

To display an image, at some point in some program, you'll see, if image is PNG, send it to libpng; if image is jpeg, send it to libjpg; .... We're just arguing about where that code belongs.

You could put it in the browser. Then you get a program that links directly with libfoo to display all the images it wants. My guess is that browsers do this now. It'd be the same thing to have Firefox link directly to x264 and libogg to display movies.

The alternative is to use another layer of indirection. Have a new library/system service that a browser can throw a buffer at and say "go render this." The service then discovers its type and calls libpng, libavg, .... This would be something like linking with VLC.

Education

HTML Tags For Academic Printing? 338

meketrefi writes "It's been quite a while since I got interested in the idea of using html (instead of .doc. or .odf) as a standard for saving documents — including the more official ones like academic papers. The problem is using HTML to create pages with a stable size that would deal with bibliographical references, page breaks, different printers, etc. Does anyone think it is possible to develop a decent tag like 'div,' but called 'page,' specially for this? Something that would make no use of CSS? Maybe something with attributes as follows: {page size="A4" borders="2.5cm,2.5cm,2cm,2cm" page_numbering="bottomleft,startfrom0"} — You get the idea... { /page} I guess you would not be able to tell when the page would be full, so the browser would have to be in charge of breaking the content into multiple pages when needed. Bibliographical references would probably need a special tag as well, positioned inside the tag ..." Is this such a crazy idea? What would you advise?

Comment Re:Death knell (Score 3, Insightful) 361

What good is a fault tolerant file system if it isn't tolerant of faults?

Any time you read about a product that guarantees perfect fault tolerance, there is always a list of constraints that must be met for that claim to hold. You probably won't ever see this list marketed, but it's there somewhere.

I haven't looked into this, but it sounds like ZFS is fault-tolerant given a system model where data can change once it's on-disk, but otherwise system components are fail-stop. So if you ask a hard disk to perform a write barrier and flush its data to disk, the disk will either do so and report success, it will issue an I/O error, or it will catch on fire. Any way, ZFS will handle the situation correctly.

Of course, the immediate next question is whether that failure model is realistic. Turns out it isn't. Some hardware will report 'write barrier complete' when it still has unwritten data in its buffer.

If you can't count on your hard disk to flush its caches or even order writes correctly, I don't think it's possible to build any fault-free file system on top of the drive.

What Free IDE Do You Use? 1055

postermmxvicom writes "I program only occasionally and mostly for personal interest. I went to update my favorite free IDE, Dev C++, yesterday and noticed that it had not been updated since 2005! I went looking for other free IDEs and came across Code::Blocks and Visual Studio Express. I work from a Windows machine, use C++, and make mostly console apps; but have written a few Windows apps and D3D or OpenGL apps. I wanted to know what free IDEs you use and recommend. What do you like about them? What features do they lack? What about them irritate you (and what do you do to work around these annoyances)? For instance, when I used Visual C++ 6.0 in college, there was an error in getline that had to be fixed, and the code indenting in DevC++ needed to be tweaked to suit my liking."

Slashdot Top Deals

Living on Earth may be expensive, but it includes an annual free trip around the Sun.

Working...