News for hackers. Stuff that matters.

forfengeligfaen

Re:Wireless attacks on aircraft instrument landing systems on Saturday September 28, 2019 @03:54PM (#21102485)
"Activate the instrument landing system but recalibrate sea level minus 200 feet."
Re:From Java to Kotlin and Back Again on Wednesday May 23, 2018 @04:05PM (#17137712)
In Java 7 (which is what I was using) you could not assign a method to a variable or pass it to another method. So I think it is more powerful. https://kotlinlang.org/docs/reference/lambdas.html
Re:From Java to Kotlin and Back Again on Wednesday May 23, 2018 @04:00PM (#17137653)
I've been using Kotlin with Android for over a year. There have been few problems with SDK interoperability. Since I started using Kotlin Google blessed it. The one annoying gotcha was JSON parsing. If the fields on your models are not declared as nullable, they can still be set to null in the JSON which causes a NPE.
Re:From Java to Kotlin and Back Again on Wednesday May 23, 2018 @03:53PM (#17137593)
I found the transition from Java to Kotlin painless because Android Studio (Intellij) holds your hand all the way. If at first you're unsure of the syntax, you can just write code in Java and convert to Kotlin.

I agree that the null-safety Java interoperability does not work properly if the Java code is not annotated correctly (or you're parsing JSON) but I'd still prefer to have it than not.

I like Kotlin because: * If is an expression and it feels so clean * Functions are first-class (you can pass functions to functions) * Kotlin is less verbose than Java so there is less to read and write * You don't have to write "new" * Constructors are cleaner (you don't have to write (this.a = a) * The map function (on Android we were stuck on Java 7)

Re:Readers on food inequality in eastern Europe on Saturday September 23, 2017 @09:57AM (#15319738)
This is not Hacker News material.
Perhaps a prerequisite to banning cash altogether which is necessary to introduce negative interest rates. A total cash ban has been proposed in Norway by Norway's biggest bank, DNB http://www.vg.no/nyheter/innenriks/oekonomisk-kriminalitet/d...
Re:Why aren’t we using SSH for everything? on Friday January 02, 2015 @05:05PM (#8828827)
That's weird all the CCC videos were returning 404. The link appears to be working again now. It's a few days since I watched but I inferred that SSH may have some undisclosed vulnerabilities.
Re:Why aren’t we using SSH for everything? on Friday January 02, 2015 @04:38PM (#8828699)
If you believe Jacob Appelbaum, we probably should not be using SSH for anything http://media.ccc.de/browse/congress/2014/31c3_-_6258_-_en_-_...
Re:Google Plus returns 500 on Wednesday October 22, 2014 @03:40AM (#8491782)
Re:Google Plus returns 500 on Wednesday October 22, 2014 @03:40AM (#8491781)
Groups also appear to be down https://groups.google.com/
Re:Are you paid to look busy? on Sunday May 11, 2014 @06:23AM (#7728307)
1/ I think you're right, many people will sit at home, but this is their choice and I'm personally OK with it.

2/ Don't agree many inventions are serendipitous http://www.geniusstuff.com/blog/list/10-accidental-invention...

3/ If robots can't do these jobs, wages will rise until somebody is incentivised to do them

Would wager that a copy of the Bitcoin blockchain outlives many banks.
Re:Pine Gap on Saturday June 15, 2013 @02:29PM (#5885864)
Pine Gap gets name checked in Rap News 15 - Big Brother is WWWatching You: http://www.youtube.com/watch?v=o66FUc61MvU
Re:Faux-Privilege vs. Freedom on Wednesday February 13, 2013 @05:11PM (#5216017)
If you steal our words, how can we fight you? Maybe it's time to invent some new ones.

'Privilege' never used to mean 'wealthy' or 'rich'. It meant "a special advantage, immunity, permission, right, or benefit granted to or enjoyed by an individual, class, or caste."

The word 'freedom' has also been subjected to a subtle change in meaning. The word formerly meant freedom from coercion, from the arbitrary power of other people. People who share your opinion have changed it to mean freedom from necessity, release from the compulsion of the circumstances which inevitably limit the range of choice of all of us.