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

 



Forgot your password?
typodupeerror

Comment Re:Multiplatform is king - and Go is multiplatform (Score 5, Informative) 260

From wikipedia

Go's "gc" compiler targets the Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Plan 9, and Microsoft Windows operating systems and the i386, amd64, ARM and IBM POWER processor architectures/ A second compiler, gccgo, is a GCC frontend.

So there are two major compilers for Go already, one of which is gcc based which targets just about every platform under the sun. I'm not saying go will run everywhere gcc will compile code because the runtime also needs porting, but it is very cross platform.

I developed one of my command line apps in Go http://rclone.org/ and I release binaries for it which run on Windows, OS X, Linux, *BSD and even Plan 9 all cross compiled from my Linux workstation.

Comment Education for parents needed - set a PIN! (Score 2) 152

My 5 year old son taught me a very important lesson about having a PIN on your payment methods...

Luckily it only cost me £25 ($40).

Not being a great reader my son just clicks OK to all the boxes that pop up, so there is great opportunity for game manufacturers to dupe unsuspecting parents into spending lots of their cash.

It is a one time only scam though which I really should have thought through but I, along with thousands of other hapless parents, have inadvertently contributed to Zepto Labs' coffers.

Education for parents is the solution IMHO. I got mine the hard way ;-)

Comment Try to break the disk before you lose your data (Score 2) 348

Stress testing hard disks is a particular bugbear of mine, after having some really bad luck with early hard disks. Over the 15 years that I've been doing it I've had to send back loads of hard disks and flash cards because they failed my tests, either breaking completely or returning single bit errors in your data. Mostly the manufacturers will take disks back if you can get their stupid Windows program to return an error code. Sometimes it takes a bit of arguing but ultimately the manufacturers want to keep you happy. Flash disks with single bit errors are the hardest to send back in my experience.

Here is the latest generation of my stress testing code (re-written in Go recently): https://github.com/ncw/stressdisk

(Interestingly the stressdisk program sometimes finds bad ram in your computer too!)

I generally thrash every new hard disk or memory card for 24 hours to see if I can break it before trusting any data to it!

I also run a long smart test too.

Somewhat paranoid, yes, but I really, really hate losing data!

Comment Check why the files are corrupted (Score 5, Insightful) 247

I'd be asking myself why lots of files became corrupted from one dodgy file system event. Assuming HFS works like file systems I'm more familiar with, it will allocate sequential blocks for files wherever it can. This means that a random filesystem splat is really unlikely to corrupt loads and loads of files. You might expect a file system corruption to cause a load of files to go missing (if a directory entry is corrupted) or corrupt a few files, but not put random errors into loads of files.

I'd check to see whether files I was writing now get corrupted too. It might be dodgy disk or RAM in your computer.

The above might be complete paranoia, but I'm a paranoid person when it comes to my data, and silent corruption is the absolute worst form of corruption.

For next time, store MD5SUM files so you can see what gets corrupted and what doesn't (that is what I do for my digital picture and video archive).

Businesses

Inside Factory China 135

blackbearnh writes "While China is attempting to pull its industry up out of mere manufacturing mode, for now the country is the production workhorse of the consumer electronics industry. Almost anything you pick up at a Best Buy first breathed life across the Pacific Ocean. But what is it like to shepherd a product through the design and production process? Andrew 'bunnie' Huang has done just that with the Chumby, a new Internet appliance. In an interview with O'Reilly Radar, he talks about the logistical and moral issues involved with manufacturing in China, as well as his take on the consumer's right to hack the hardware they purchase."

Comment Re:If you have a choice... (Score 4, Insightful) 186

I agree!

My personal limit is 10 lines for a shell script. If is longer than that I convert it to Python.

Python scripts have the advantage that they work on Windows too, and they have lots of os independent abstractions for file names, processes etc.

Why learn an arcane language like sh when you can learn a nice well structured language like Python and write better scripts?

A few years ago I would have used Perl rather than Python, but I'm converted now ;-)

Intel

Submission + - Intel X38 High End Chipset Launch and Benchmarks->

MojoKid writes: "Though many leaks of the product have been circulating for some time, Intel officially took the wraps off and launched their new X38 Express chipset for the high-end desktop motherboard market. With this launch, the Intel desktop chipset line-up gets a new flagship. Intel's new X38 chipset encompasses all of the technology advances that have made the P35 a success and adds a slew of new features designed to increase memory and graphics subsystem performance, like PCI Express 2.0 SerDes and Intel Extreme Memory technology in the new X38 MCH. The Asus motherboard tested in this article at HotHardware even features an embedded Linux-based OS that boots in a matter a seconds."
Link to Original Source
Wii

Everybody Votes on the Wii 87

Wired's Game|Life blog has up a post pointing out a surprise from Nintendo: a cute voting application now available on your Nintendo Wii. Unannounced and easy to understand, Everybody Votes appears to be attempting to gain a gestalt view of the Wii-owning population. The app gives you several multiple choice questions to answer, and allows you to submit your own. Chris Kohler hopes that this might be the beginning of downloads for small, entertaining programs Nintendo fans may have never otherwise seen. "If you've ever been to an E3 or read about Nintendo's booth, you know that they often show little demos or applications that never get released. Well, with Wii, it seems that we might actually start seeing those little experiments thrown out to the public. Since Nintendo as a game developer uses this first-prototype-something-fun style of design, we could see all kinds of things that ordinarily wouldn't ever make it out of Nintendo headquarters." I personally hope we get a full-fledged version of the conducting game that Miyamoto used to demo the system at last year's E3.

"What people have been reduced to are mere 3-D representations of their own data." -- Arthur Miller

Working...