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

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Re:Using Javascript (Score 1) 130

Of course, you can use Typescript as another commenter pointed out, but then you're not using Javascript anymore, you're using Typescript.

Not strictly true, since TypeScript is a superset of JavaScript. Unmodified JavaScript code is still perfectly legal TypeScript.

Similarly, other people have advocated using strict coding discipline as a way of writing better JavaScript. Sure you can do certain things in JavaScript, but you just don't ever do those things, including ignoring entire language features completely. This alone wouldn't solve your refactoring problem, though.

Comment Re:Now "fixed" (Score 1) 114

Hey just to rub it in here is the official Microsoft statement on the bug.

Edgar explains that it needed to detect the browser being used because not every browser supports prefetching. While a technique it used worked with Safari on Mac, it hung for Chrome on Linux.

"The second technique does not hang on Safari on Mac, but it does on Chrome on Linux. We will definitely ensure that more Linux testing is done."

What do you know, it was a compatibility issue where different solutions were used on different browsers and changing your User String would result in a different code path working better.

Comment Re:Now "fixed" (Score 2) 114

Go back to your job at Radio Shack.

Speaking of potential Radio Shack employees... changing the user string is a perfectly plausible fix.

Let's say you have a bug that creates an expensive UI watch thread. When you change your user agent the UI library will deliver the wrong version of the javascript that either is in a different commit that doesn't have the bug or the script fails to execute on the 'wrong' platform, raises an error to the console and dies (and no longer wasting resources). Sometimes a javascript thread crashing and being killed speeds up a website. You lose some piece of functionality you didn't realize the website was trying to provide and your experience greatly improves. That's the entire concept behind adblockers: trim superfluous javascripts to improve privacy and performance.

Comment not anonymous (Score 1) 270

It appears that Bitcoin, a currency designed with anonymity in mind...

No. Bitcoin is designed around decentralization, not anonymity. Every transaction is logged forever; for anonymity, that's a nightmare. This misconception is widespread. Bitcoin is not anonymous; if privacy is important to you, you should not be using it.

Comment Re:Sorry... (Score 2) 518

I've skimmed the judgment. It's a convoluted case. He asserted his Fifth Amendment rights at some point, but failed to do so again at his contempt of court hearing. When he was held in contempt, he appealed and this time he again asserted his Fifth Amendment privilege. But the court that was hearing his appeal of the contempt of court ruling couldn't weigh its ruling based on the circumstances of his original, criminal case ... it could only rule on the civil contempt of court hearing, in which the Fifth Amendment was never made an issue ... anyway, something like that. They're giving him a helluva run-around but it doesn't sound like any legal overreach is actually happening here. It's just the usual prosecutor shenanigans. The defense made errors ... small though they may be ... and got tripped up in the paperwork.

Comment Destroy code? (Score 3, Interesting) 518

Seems like encryption systems need to have two passwords; one that decrypts the volume and another that wipes the keys and images a fresh filesystem. When they compel you to enter your password, you enter the "destroy code."

Sure, you could be charged with tampering with evidence if they realized what you'd done. But maybe that would be preferable to indefinite incarceration for contempt of court.

Slashdot Top Deals

TRANSACTION CANCELLED - FARECARD RETURNED

Working...