Forgot your password?

typodupeerror
Emulation (Games)

Linux Running in a Javascript Engine->

Submitted by eldavojohn
eldavojohn writes "Fabrice Bellard claims to have emulated a PC completely in JavaScript using Typed Arrays (which means you'll need Firefox 4 or Chrome 11 to check out the demo page). His emulation boasts a 32 bit x86 compatible CPU, a 8259 Programmble Interrupt Controller, a 8254 Programmble Interrupt Timer and a 16450 UART. It's running the 2.6.20 Linux kernel with some very basic programs but definitely a neat accomplishment. Even Bellard, of FFMPEG fame, isn't quite sure what it could be useful for but says he did it for fun and suggests its use as a benchmarking for JavaScript engines. It could also be used to do client side x86 emulation of x86 libraries or even eventually running DOS so users could play old PC Games in JavaScript. Despite its painful early years trapped manipulating the DOM, JavaScript is slowly gaining a reputation as a very capable language."
Link to Original Source

Comment: Re:Isn't leaving things out fun? (Score 1) 645

by Bob Uhl (#36118228) Attached to: Sergey Brin: Windows Is "Torturing Users"
Well, FWIW the rsync incremental method seems to work pretty well for restoring the 'last full plus all incrementals,' because each incremental appears to be a full point-in-time backup (uses hard links). But let's address your points.
Bootable backup
This isn't a big deal to me because I RAID everything; that's the appropriate use of RAID (it's not a backup; it provides stability). The appropriate use of backups is to preserve data, not provide stability. However, I understand that not everyone can afford to spend 3x the disk (1 for the original, 1 for the mirror, 1 for the disk), even taking advantage of cheap offsite backup services like Amazon S3, so I think your idea makes sense for those folks. Easy enough to add as an additional feature.
Sub-file increments
Agreed. Venti/fossil did these aeons ago and we can now. There's really no good reason not to, especially with offsite backups (saves transfer bandwidth and update costs). Merkle hash trees aren't rocket science!
Consistency
This is not a simple problem in any environment--this isn't just limited to Linux. A naive implementation might preserve a snapshot of a file when it's opened, and then delete it when it's closed. For databases and other systems, this could conceivably consume far too much space. A more intelligent implementation might improve on this, albeit at the cost of complexity and concomitant bugs. I don't know much about btrfs's solution. I don't think this is necessary for the home user, and the systems user is knowledgeable enough to know how to take snapshot or quiesce, or whatever, when needed.
Ease of use
That's probably easy enough to do with a special partition type (so it can be recognised as a backup on other systems; this also permits use of an efficient backup-oriented format rather than forcing backups to live atop ext* or whatever). On first insert, record the unique ID of the drive; if it's to be used for backup reformat. I would be concerned about foolish users just clicking through any number of dialogues and accidentally destroying their pre-existing data on the drive though--this happens a lot.

So...why don't you write it? I'm sure the world would love it! Compared to a lot of other software, it's really not all that complex. Just remember to encrypt the backups...

Comment: Re:Isn't leaving things out fun? (Score 1) 645

by Bob Uhl (#36108172) Attached to: Sergey Brin: Windows Is "Torturing Users"

I have glumly come to the conclusion that if I want something equivalent to or better than MacOS's Time Machine on Linux for doing time-based incremental backups, I'm going to have to write it myself, and it's going to have to rely on LVM's snapshotting mechanism to do a consistent backup until BTRFS is ready.

You might take a look at using rsync for incremental backups. I've been doing this and it works great.

Image

Research Suggests E-Readers Are "Too Easy" To Read 185

Posted by samzenpus
from the your-brain-wants-a-challenge dept.
New research suggests that the clear screens and easily read fonts of e-readers makes your brain "lazy." According to Neuroscience blogger Jonah Lehrer, using electronic books like the Kindle and Sony Reader makes you less likely to remember what you have read because the devices are so easy on the eyes. From the article: "Rather than making things clearer, e-readers and computers prevent us from absorbing information because their crisp screens and fonts tell our subconscious that the words they convey are not important, it is claimed. In contrast, handwriting and fonts that are more challenging to read signal to the brain that the content of the message is important and worth remembering, experts say."

Comment: Re:Someone has already brought this up, but (Score 1) 179

by Bob Uhl (#34458902) Attached to: FTC Is In Talks With Adobe About the 'Flash Problem'

Essentially, getting caught leaving cookies otherwise should be evidence of the attempt, and bill them.

So you want to enter your username and password every time you reload a page, every time you post a comment &c.? Or you're cool with URLs which look like 'http://www.example.com/page?sessid=37a1-fb6c-9372-11de' instead or 'http://foo:bar@www.example.com/page' instead of 'http://www.example.com/page'?

Do you even know what cookies are, what they do or why they were added in the first place?

Comment: Re:Im sorry (Score 1) 472

by Bob Uhl (#28374357) Attached to: Gold Sold From Vending Machines In Germany

You are sounding rather limited in your own grasp of world history - many enlightened countries of the modern world prohibit weapons, and none of of them have totalitarian governments.

That's both a paetitio principi and a non sequitur. It begs the question because it assumes that weapons bans are enlightened (and hence not totalitarian; it doesn't follow because by banning weapons those countries are by definition totalitarian.

Power is the finest token of affection.

Working...