Catch up on stories from the past week (and beyond) at the Slashdot story archive


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:#1 use for goto in c (Score 2) 677

by DreamMaster (#49041477) Attached to: Empirical Study On How C Devs Use Goto In Practice Says "Not Harmful"

What I would have loved to see in C would be a different keyword for break for exiting a loop versus ending a switch case. 90% of the times in recent years that I've been tempted to use goto have been when I've written a switch statement in a loop, and need to break out of the loop from one of the cases. I have to steel myself and either rewrite the particular case as an if statement before the switch (nasty), or fiddle around with flags to break out of the loop after the switch statement, or check it as part of the loop condition.

Comment: Re:goto for coroutines (Score 1, Offtopic) 677

by DreamMaster (#49040541) Attached to: Empirical Study On How C Devs Use Goto In Practice Says "Not Harmful"

If anyone's particularly interested in coroutines, we in the ScummVM project, which provides a reimplementation of lots of old classic adventure games, implemented a fairly clean C++ coroutine implementation, which we already use for two different games were originally threaded. ScummVM runs on a variety of different hardware, not all of which support threading, so we had to come up with a way to run these games using only a single thread. See and coroutines.cpp if you're interested.

Comment: Combine fingerprints with knowledge (Score 2) 328

If that's the case, then a possible solution would be an encryption that unlocks on one specific finger's fingerprint, but deletes all phone data for the other nine fingers. Since the ruling says you have to provide your fingerprints fine, but the knowledge of which finger's fingerprint is the correct one is knowledge in your brain, which doesn't have to be divulged. This would also, obviously, need to be combined with secure hardware that prevents the cops from simply copying the data and trying the fingerprints one at a time with the copy.

That way, you still have the convenience of a fingerprint unlock, but extra security against seisure, since the cops would only have a 10% chance of guessing the right finger.

Comment: Re:Isn't hard drive access desirable? (Score 1) 361

by DreamMaster (#47002519) Attached to: How Firefox Will Handle DRM In HTML

That's what I don't understand about this whole DRM-in-the-browsers thing. It's all well and good to have the data sent as an encrypted stream, but when it hits the browser, even if it the decryption is run in a sandbox, as per TFA, eventually it needs to render the data on the browser window. And since since the browser source is open, what's to stop someone very easily building their own executable with extra code to intercept video and sound output and saving it as a video file? As far as I can see, in-browser DRM doesn't seem to make all that much difference as to whether people could steal content.

Comment: Re:Only $24,999? (Score 1) 199

by DreamMaster (#42247995) Attached to: Own Every SNES Game Ever Made For $24,999

I think it's funny how this is listed at $24,999, as if someone is going to say "Well, $25,000 is simply too much, take a dollar off and I'll consider it". :-)

Why not? It works. There's a reason why prices everywhere are always ending in '.95', or '.99' in countries that still have cents. Even if only subconsciously, it makes a difference to people's perception of the cost. See

Comment: Re:Why solitary? (Score 4, Insightful) 150

by DreamMaster (#42239277) Attached to: Pirate Bay Founder Released From Solitary Confinement

According to previous articles, it was to prevent him either directly using his 'leet' computer skills to destroy evidence relevant to the case, or co-ordinating with others to do so. Which I thought was a bit of a croc. After all, they could always monitor any computer use to ensure that he didn't, and if he was going to conspire with any others to destroy any purported evidence, he could do so just as easily through his mother as in person.

I can't help but feel that it seems like, more and more, we're seeing cases around the world where prosecutors abusing pre-trial incarceration to make it a de-facto sentence irrespective of a person's eventual guilt or innocence. But I also recognise that I don't know the full details of the case, so it's always possible that the prosecutor fears were legitimate.

Comment: Re:Let me know when it's open to homebrew (Score 2) 276

by DreamMaster (#42022755) Attached to: Nintendo Wii U Teardown Reveals Simple Design

I agree. I know it's just being released, but I'm eager to hear if the communications with the controller are encrypted or not, and whether it uses 'off the shelf' parts/protocols that would be easy to duplicate. Just as lots of homebrew coolness has come out of the Wii controller, it'd be interesting to find out if something similar can be done for the Wii U controller. Not just for being a portable media player, but other cool things. Maybe even implement a PC display driver so people could use it as a cheap extra screen for their home computer.

Comment: Simplicity of design is an important factor (Score 4, Interesting) 276

by DreamMaster (#42022383) Attached to: Nintendo Wii U Teardown Reveals Simple Design

Of course, part of the problem is just how you define 'Just ahead of'. Part of the problem in the last cycle with the PS3 particularly, from what I undestand, was the complexity of developing the software for the multi-core Cell processor architecture. Even if the speed of the Wii U overall isn't much better overall, the fact that the architecture is simpler may make it easier for developers to wring better performance out of their games. The fastest system in the world isn't going to matter if it's so hard to develop for that you end up writing poorly performant code.

We'll have to wait and see how well newly released titles post-launch are able to do with the new hardware.

Comment: This came up in the ScummVM group recently (Score 4, Informative) 228

by DreamMaster (#38278532) Attached to: Bundling Adware With Free Software

I'm part of the ScummVM group, a cross platform software for playing various classic adventure games, and the question of came up when we released the next version of our software. There were some arguments for including it on such sites, such as giving greater visibility to the project. However, the issue of the bundled 'crapware' was considered too big a downside. We weren't that desperate for wider coverage of our software, and we certainly didn't want people to adversely associate our software with malware.

These days I wouldn't touch even if you paid me.

Comment: Re:Darn kids these days (Score 1) 247

by DreamMaster (#36943368) Attached to: UK Police Charge Suspected Anonymous Spokesman

It really depends on the data. Remember that a large part of the protests against the Wikileaks release of Afghanistan info was the potential to endanger the lives of civilian informants. Such computer crimes as we see these days can have the potential to hurt a lot of people. Not that a terrorist couldn't also hurt a lot of people using a stolen car. It just depends on what's actually done.

Comment: I absolutely agree with them (Score 2) 642

by DreamMaster (#35788706) Attached to: DRM Drives Gamers To Piracy, Says Good Old Games

I absolutely agree with them. With the big budget games I've bought previously, I've also tended to download and apply cracks to be on the safe side - not just in case their DRM screws up my system, but also to get rid of needing the disc in all the time. There has always been temptation, though, to simply screw them over like they've screwed me over in the past, and get a pirate copy of the game.

I personally have re-bought over a dozen games I previously owned from - they've made an effort to create automatic installers for all the older games, and it's a lot easier than breaking out the discs again. Particularly for some of the larger games, like Pandora Directive, which came on 6 CDs.

Are you having fun yet?