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

 



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 Scala is definitely worth it (Score 4, Interesting) 245

Scala has achieved critical mass, it has shown steady growth over the years and will likely continue. It is entirely possible it will never become as big as Java but that should not be the requirement, it is plenty big enough you can count on it.
I have been developing large scale projects in Scala for the last 6 years and I can't imagine going back to Java now. Scala makes it easy and fun to write good correct code.
Scala is boilerplate free, it feels a bit like your favorite scripting languages yet with compile safety a powerful type system and lot's of help from IDE.
Obviously Scala supports Functional Programming which is essential as everything becomes multi threaded and/or distributed. Scala makes it easy to write functional code and is immutable by default, yet it isn't opinionated and you can use other paradigms when they make things easier/faster.
It's fun to write, you don't have to be a genius to use it, though with weak members on your team you will want a strict style guide. I found using Scala is a selling point when recruiting top talent, even those who never used it. Those who have used it, especially coming from a Java background are instantly hooked.
This was verified again in recent Stack Overflow developer surveys where Scala came out to be a very loved language, nearly everyone who tries it falls in love.
I highly recommend

Comment And the supporting evidence is where? (Score 1) 314

The article doesn't mention any supporting evidence. I'm not even talking about documents from before age 22 like the guiness records people usually ask for. If he is indeed 145 years old there should be an abundance of evidence prooving at least he is more than 113 years old making him the oldest man alive. Where is this evidence, the article mentions nothing, and neither does a five minute google search. I call bull.

Comment I avoid reliance on operator precedence (Score 3, Informative) 239

I add "unnecessary" parentheses to complex expressions in order to avoid the mental burden of thinking of operator precedence. I instruct my team to do the same.
Obviously if I can name a sub expression reasonably I just extract it, this is often enough not a reasonable solution.
Usually I prefer terse code, but the above is a fairly common exception.

Comment Even frivolous suits can have a grain of truth (Score 2) 204

Regardless of this specific lawsuite, we should ask ourselves, are Facebook and others doing enough to stop terrorists for leveraging their platform?
Consider the great effort by Youtube and others to stop copyright infringements. Both internally and by use of DMCA notice and take-down.

The effort in stopping not only incitement to racial violence but also operational planning of such acts seems meager.

I think lawmakers are almost inherently behind the times on this, and we seem to not have an anti-terror lobby anywhere as strong as the stronger-IP lobby. It would be nice to see Facebook get their act together and do more, setting standards for others to follow and if necessary become law.

Comment You should ask how should we learn? (Score 1) 515

Since almost no school teaches 4th graders programming obviously this isn't going to be a common answer.
We should ask hows do we increase programming literacy.
In the age of IoT and everything having a computer in it, basic programming literacy for the masses is important.
I have taught first graders to program so 4th graders which don't have a typing obstacle are almost all capeable of learning. It seems a good place to start.
Starting early has obvious pedagogic advantages. Doing so for everyone can both increase literacy and increase social mobility. I'm all for it.
P.s My mother taught me Basic when I was six(in 1989).

Comment Re: Antivaxing in particular (Score 2) 499

Google does not control world knowledge. Vaccinces have been established as far more good than bad well before google came around. And even now we not only have other search engines we also have other means of spreading information including for example traditional peer reviewed journals.
And just to ice it off even if google tried doing such a thing, whixh is futile in the first place, it probably would be discovered. Just like much more benign manipulations were made public.

Comment Re: Antivaxing in particular (Score 1) 499

There is no massive conspiracy as those don't work. And though we really lack understanding of many things we can still do great things using the scintific method.
We can send rockets into space not only without quantom mechanics but also without the theory of relativity. We don't need perfect understanding. Creating predictions and testing them is enough.
I am all for better fundamental understanding and we are making progress there to. But you can not ignore the fact that vaccines work. And the scintific method shows they do. All the fast talk about side effects and scary "chemicals" won't change that.
I don't need to know and understand each and every ingridient in a vaccine to trust it just like I don't verify the airplanr I fly in by myself. I know the numbers show both are very safe. And both are heavily regulated to keep them that way.

Comment Re:VideoCrypt (Score 1) 49

As I read the information, It was encrypted in a similar fashion but not necessarily identical. Specifically I suspect a different crypto system was used but it still only rotated lines in the video. They used image processing techniques to restore the only partially garbled image, the did not break the underlying crypto nor did they recover the key. The may not even understand which underlying Crypto algorithm is used to decide how much to rotate each row. They break the system without breaking the crypto, which is common.

Comment Re:As always? (Score 1) 49

Poorly applied crypto is far more common than weak crypto.
We see many mistakes: No IV, ECB mode, keeping weak version along with strong, weak keys, error correction underneath encryption and many more.
In this case they didn't actually apply encryption to the entire feed only rotated the lines pseduo randomly, and the decryption did not require breaking the key nor even figure out which encryption algorithm was used.

As for how good the military is in using it? well The Israelis got caught with their pants down, the US had their totally unencrypted feeds captured by Taliban in Afghanistan, and had a drone hijacked in Iran.
So If two of the most technologically advanced militaries are obviously making embarrassing mistakes, do you think any military is safe?

Submission + - Us viewing encrypted Israeli drones' feed (theintercept.com)

iceco2 writes: Us spying on allies is nothing new. It is surprising to see the ease with which encrypted israeli communication were intercepted. As always it wasn't the crypto which was broken just the lousy method it was applied with.

Comment She should have her license revoked (Score 0) 259

Until such a time the condition can be dealt with.
If she was unaware and could not reasonably be expected to be aware of her condition she should not face criminal charges (even a DUI charge). But only this time.
As it seems she is not yet over her condition, she should not be allowed to drive at all until such a time it is demonstrated she is medically fit to drive. The article makes no mention of such a limitation, so it seems the judge thinks she can continue driving drunk on self brewed alcohol.

Slashdot Top Deals

"We learn from history that we learn nothing from history." -- George Bernard Shaw

Working...