Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Comment Groovy (Score 1) 358

I've been using Groovy for the past few years. And every where I can I try to use more of it.

The syntax is terse (no semi-colons if you don't want them), it adds a lot of nice touches (null is false, ?. operator), easy JSON and XML support, and yet it works seamlessly with the vast number of Java libraries out there.

Pair Groovy up with the Gradle (Groovy-based) build tool and you have a slick package.

I just got done writing a little utility with it. No class declaration or main(), Sql object that makes database interaction dead simple. It's a fairly trivial piece of code, but it looks lean and clean in Groovy.

- Jasen.


Bernie Sanders Comes Out Against CISA 211

erier2003 writes: Sen. Bernie Sanders' opposition to the Cybersecurity Information Sharing Act in its current form aligns him with privacy advocates and makes him the only presidential candidate to stake out that position, just as cybersecurity issues loom large over the 2016 election, from email server security to the foreign-policy implications of data breaches. The Senate is preparing to vote on CISA, a bill to address gaps in America's cyberdefenses by letting corporations share threat data with the government. But privacy advocates and security experts oppose the bill because customers' personal information could make it into the shared data.

Volvo Self-Parking Car Hits People Because Owner Didn't Pay For Extra Feature 392

schwit1 writes: A video that recently went viral shows a demonstration of a Volvo XC60's self-parking feature. It reverses itself, waits, and then confidently drives into a group of people at a non-negligible speed. (Two were hit, and while both were bruised, they were otherwise OK.) The situation was presumed to have resulted from a malfunction with the car — but the car might not have had the ability to recognize a human at all. A Volvo representative said the car was not equipped with the "Pedestrian detection" feature. That feature is sold as a separate package.

Comment Re:This plan has holes (Score 1) 352

"Between the stupidity of "leaders" in teaching, and zero tolerance insanity, homeschooling or private schooling my children looks better and better every day."

Homeschooling rocks. You can do everything from completely pre-canned video courses online to doing everything via cobbled together public domain content.

Of course, your child(ren) and whoever does the teaching must take to it. But if it works, it works quite well.

Comment Re:shit (Score 1) 173

This does not prevent/deter the problem. The "government" pays the penalties - read tax payers, not the people who committed the perjury (police, prosecutors, judges, expert witnesses, etc.).

Unless there is a real and expected negative consequence to the direct actors, there is no incentive to stop.

(But if I were one of the victims' families, I'd sure want a few million dollars for the government's screw up.)

Comment Re:Can't wait... (Score 1) 737

As terrible as this is, it has all the ingredients of a James Bond or Mission Impossible movie set up.

Who or what was on board that some nefarious power wanted eliminated? What leverage did that nefarious power have on the co-pilot to make him do this?

The simple explanation of "the guy wanted to commit suicide & take everyone with him" seems rather unconvincing. If that were so, why not crash into a populated area to maximize the damage? If it were an act of jihad, where is the call of glory to Allah & death to the infidels? (He knows the voice recorder is going, surely he would send a message of victory.)

I would expect/hope that people who fly airplanes go through some sort of psyche profile & background check. Hopefully something as common as losing a wife/girlfriend or being outed as homosexual or experiencing financial hardship would not be enough to push someone cleared to fly to mass murder-suicide.

We may never know.

Comment Re:This ex-Swatch guy doesn't have a clue (Score 1) 389

I think the Apple watch is interesting but it is ten times more expensive than it should be

You think the Apple watch should cost $34.95? Or do you mean the limited Edition $10,000+ one? The high end one is irrelevant when discussing pricing. It is purely a fantasy model for the 0.1% to buy. Like race cars by BMW or couture by fashion brands.

Comment I don't see a problem here. (Score 1) 367

"The app's privacy policy prevents schools from identifying users without a subpoena, court order or search warrant, or an emergency request from a law-enforcement official with a compelling claim of imminent harm."

So if someone issues a death threat, etc. you call the police, they get a subpoena, and track down the idiot who posted it.

Once this happens a few times (in every locality where Yik Yak is used) word gets out not to do that. Or, Yik Yak and law enforcement are overwhelmed with subpoena processing for trolls. If Yik Yak can't process requests fast enough is there some sort of penalty they face? If Yik Yak corporate headquarters are out of state or out of the US, how would such penalties be imposed?

Or, signal to noise ratio gets way too low and the app collapses under the weight of trolls. Or the trolls enjoy trolling each other on it (4chan).

Comment Re:I miss Mac OS (Score 1) 564

I didn't mean to imply that Mac OS's implementation was the best choice, only that it is/was a better choice than three letter extensions on the file name. MIME types are a more modern approach.

A post above suggested prepending MIME information on ALL files. That doesn't seem like a bad choice other than it breaks backward compatibility.

But I think we can agree that the current approach is seriously antiquated and problematic.

Comment Re:Nonsense (Score 1) 411

You might like Groovy.

Foo foo; - which creates a private variable and Groovy auto-generates getters & setters (which you can write yourself if you wish)

accessing the member variable actually calls the getter.

Groovy also has an implicit null check


And many other syntactical niceties and enhancements over Java.

Slashdot Top Deals

10.0 times 0.1 is hardly ever 1.0.