Slashdot is powered by your submissions, so send in your scoop


Forgot your password?
Take advantage of Black Friday with 15% off sitewide with coupon code "BLACKFRIDAY" on Slashdot Deals (some exclusions apply)". ×

Comment It's sad, but can you really trust them? (Score 1) 324

It's an unfortunate sign of the times, but I've read far too many articles about people being arrested and jailed for unknowingly violating the technicalities of various different laws.. consenting partners under 18 being jailed as sex offenders and being listed for life, insulting heads of state or reporting on human rights abuses, jailed for having cartoon porn / weird tentacle thing stuff from Japan that still gets branded as child pornography, or even for whistle-blowing. And particularly for America, reading in recent times, the attitude of border agents that they're outside the law and no-one has any constitutional rights.. frankly, if you are a journalist reporting about things your government (either American or elsewhere) are doing, you'd be a fool not to have everything strongly encrypted, and give them the leisure to browse through your stuff to find something to charge you with.

Comment Hard-coded with Bing (Score 1) 133

Even from reading TFA, I'm not sure I understand.. I take it that that version of Windows 10 comes with Bing hardcoded, but only for Internet Explorer (or whatever it is that they're calling the Windows 10 replacement)? I presume there's still nothing stopping users, once they get it, from installing Chrome or Firefox, and choosing whatever search engine they want?

Comment Re:Someone is making decisions for me regarding th (Score 4, Insightful) 386

Some cases I've used them for that I didn't feel dirty about are:
* checking for failure conditions from calls to sub-methods, and jumping to a common cleanup and exit code block. Difficult to replicate cleanly without massive if blocks, or abusing exceptions.
* Cleanly breaking out of multiple nested loops
* I've used them for an implementation of coroutines, which simulates threading for systems which don't have threads. In this case the GOTOs were nested inside macros and stub classes for holding context, but the whole scheme wouldn't have worked without them.

Comment Someone is making decisions for me regarding thing (Score 1) 386

Amen to that. It's like the old argument of the GOTO keyword. Sure it can easily be abused. But for certain limited cases, it's a godsend for making clean code. As the OP says, if someone's a bad programmer, they're going to write bad code no matter what language is used. Straight-jacketing people as to what they can use may help newbies, but you end up constraining what experienced programmers can do.

Comment Re: The real reason (Score 1) 52

Wouldn't be possible. Believe it or not, Lego bricks are produced with a high degree of precision, with tolerances less than 10 micro-metres in order to be able to have the pieces 'snap' together properly (see the Wikipedia Lego article). Currently available 3D printers simply can't do that degree of accuracy. Don't know about these new "faster" printers, but I'd suspect that they've concentrated more on "fast" than "precise".

Comment Re:#1 use for goto in c (Score 2) 677

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

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

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

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

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.

Unix is the worst operating system; except for all others. -- Berry Kercheval