Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Comment: Dear Mr. Obama (Score 4, Interesting) 374

by DickBreath (#49783495) Attached to: Obama Asks Congress To Renew 'Patriot Act' Snooping
If the NSA had only been spying on terrorists we wouldn't even be having this conversation. (although it's not really a conversation, but you get my point)

Why would the NSA and CIA be spying on Congress? Is it someone's goal to set up the apparatus of a police state?

Why is the NSA spying on the EU Parliament? Are they looking for terrorists in Parliament?

See: TED How the NSA betrayed the world's trust — time to act
at: 4:30
also see at: 12:40 (or at 12:00 for better context) "I don't think they're looking for terrorists in Parliament."
(see at: 6:00 if you believe in encryption golden keys)

Comment: Virus (Score 5, Funny) 86

by Pharmboy (#49775827) Attached to: Hyundai Now Offers an Android Car, Even For Current Owners

I tried that and got a virus, and now every time I pass through a McDonalds, the car automatically maneuvers through the drive through, generating a "referral" fee for the virus writer. You have to order SOMETHING so you don't look like an idiot. Do you KNOW how many McDonalds there between Greensboro, NC and Charlotte? A lot, I will tell you that. I've gained 20 pounds in the last week.

Comment: Re:Easier to learn != easier to use (Score 1) 382

by DickBreath (#49774705) Attached to: How Java Changed Programming Forever
I like getters/setters in Java because in practice, the JVM compiles everything down to native code and aggressively inlines. So typical getters/setters cost nothing and are direct accesses to member variables. But it gives you the flexibility to later make the getter/setter do something else without affecting other code.

Suppose you were to change the getter/setter and then dynamically re-load the class at runtime in a running system. The JVM will immediately de-optimize (go back to interpreted bytecode) for all methods that now have stale inlined code (from the old version of the class). Dynamic profiling may then quickly reveal that the de-optimized code is (still, as it was before) an actual CPU hot spot, causing it to get re-compiled again, and if appropriate, to have those getters/setters inlined, or not.

The JVM compiler is like having a global -O 5 optimizer that can optimize globally across the actual code running on the machine, and the code generator of the compiler is tailored to your actual hardware and whatever instruction set extensions it might have.

The JVM as a runtime platform will probably outlast the Java language.

Comment: Re:Delete YOUR email account... (Score 2, Funny) 173

Your never going too get you're weigh on this. Their are just two many people out they're using there words wrong too get to upset. Sew don't loose you're cool about it. You can sea mini common examples that exist of incorrect usage. People pick the write words two use according too there porpoises. But you'd have two be a fool to begin or end a sentence with the word "but". And only an idiot would begin or end a sentence with "and". And a preposition is a very bad word too end a sentence with.

ESA Satellite Shows Sudden Ice Loss In Southern Antarctic Peninsula 268

Posted by Soulskill
from the uber-for-ice-cubes dept.
ddelmonte tips news that the ESA's CryoSat spacecraft has detected a sharp increase in the rate at which ice is being lost in a previously stable section of Antarctica. In 2009, glaciers at the Southern Antarctic Peninsula began rapidly shedding ice into the ocean, at a rate of roughly 60 cubic kilometers per year (abstract). From the ESA's press release: This makes the region one of the largest contributors to sea-level rise in Antarctica, having added about 300 cubic km of water into the ocean in the past six years. Some glaciers along the coastal expanse are currently lowering by as much as four m each year. Prior to 2009, the 750 km-long Southern Antarctic Peninsula showed no signs of change. ... The ice loss in the region is so large that it has even caused small changes in Earth’s gravity field, detected by NASA’s GRACE mission. Climate models show that the sudden change cannot be explained by changes in snowfall or air temperature. Instead, the team attributes the rapid ice loss to warming oceans.

Comment: Re:Dunning Krugers and Old Fogies (Score 1) 382

by DickBreath (#49750569) Attached to: How Java Changed Programming Forever
Hey, it's always easier to blame the programming language for things done by stupid developers, stupid practices, stupid managers, stupid organizations, stupid vendors, stupid requirements, and stupid teachers.

But your list of the bashing comment types is right on the money as evidence in these comments.

Comment: Re:Easier to learn != easier to use (Score 2) 382

by DickBreath (#49750531) Attached to: How Java Changed Programming Forever
While operator overloading can be used for good, it is far more often used to create huge messes. It makes the simplest expressions impossible to understand locally because now, everywhere there is an operator, you cannot be sure what is actually going on. IMO, operator overloading is evil, despite the good intentions.

I hear you about type erasure for generics.

Lambda statements in Java are a recent addition. But I hear you about first class functions. There are a lot of other languages that run on the JVM platform and are interoperable with Java. And many of these have first class functions. JavaScript (Nashorn), Clojure (a modern lisp with concurrency and immutable structures), Groovy, Scala and many others. And the interoperability is very real -- because they all pass around the very same underlying types and objects from the underlying runtime system.

I hear you about lack of properties and the annoyance of getters/setters. IDEs help, but its not the same thing. (like kissing your boyfriend through a veil)

Comment: Re:Java programmers? - don't make me laugh (Score 1) 382

by DickBreath (#49750389) Attached to: How Java Changed Programming Forever
You forgot: . . . and not check the licensing conditions of all those 3rd party packages.

I have not switched to Maven . . . so far.

But your 'three line loop' example is NOT a Java problem. That same kind of stupidity transcends languages, platforms and tools, and often opens up career paths into management.

Comment: Re:language is OK, programmers are terrible (Score 4, Informative) 382

by DickBreath (#49750343) Attached to: How Java Changed Programming Forever
Don't blame Java for that. It is the fault of many managers. They want cheap, interchangeable droids to build their applications. Run them hard, burn them out, throw them away like a used spark plug. They're cheap to replace. So those managers want a language all these droids understand. So not only do you get experts, but hoards of below average drones who's main skill is interviewing and taking certification exams. (aka 'certified idiots')

Any programming language could have stumbled into that phenomena. It just happened to be Java. That doesn't make Java itself bad. If anything, the huge community of wealthy enterprise Java users has benefited the Java ecosystem tremendously.

The platform itself has its major strengths. For just one example, in 2012, Twitter switched from Ruby to Java because Java could scale. You need major scalability when you handle a billion tweets per day and must route each of them to many destinations and platforms. It doesn't matter how much cpu / memory the platform uses, it matters that you can scale it linearly by just adding more boxes. Java already has a lot of ecosystem and infrastructure that enables that kind of scalability. You can google for twitter's 2012 switch from Ruby to Java, and they also have (last time I looked a year or so ago) a lengthy YouTube video presentation discussing the benefits of the change after the fact.

Ads Based On Browsing History Are Coming To All Firefox Users 529

Posted by Soulskill
from the just-what-you-wanted dept.
An anonymous reader writes: Mozilla has announced plans to launch a feature called "Suggested Tiles," which will provide sponsored recommendations to visit certain websites when other websites show up in the user's new tab page. The tiles will begin to show up for beta channel users next week, and the company is asking for feedback. For testing purposes, users will only see Suggested Tiles "promoting Firefox for Android, Firefox Marketplace, and other Mozilla causes." It's not yet known what websites will show up on the tiles when the feature launches later this summer. The company says, "With Suggested Tiles, we want to show the world that it is possible to do relevant advertising and content recommendations while still respecting users’ privacy and giving them control over their data."

Human beings were created by water to transport it uphill.