Recent submissions

Comment · 10 years ago
Don't think the scenario perfectly fits because before generics you couldn't have a method that takes in an Array of Animal, just an Array.

Can a language could resolve this issue without generics or some other contract feature (which Java did later add), or without limiting the scope of array definitions and their use?

May be good to note that Array<Dog> doesn't actually extend Array<Animal>, so there shouldn't be any polymorphic usage between them, and the return statement and method call scenarios are compile time errors with proper generics.

Comment · 10 years ago
Comment · 10 years ago
Does anyone know about the legality of projects like this in the US?

I vaguely remember stories about game companies legally going after companies making bots.

Would uploading an API like this open someone up to a lawsuit? What about someone uploading a bot or a botting framework?

Comment · 10 years ago
I saw in the examples you can catch Pokemon with this API, does that method give you an automatic excellent throw every time then?

Also, does this API depend on running on Android?

Comment · 10 years ago
Comment · 10 years ago
I am guessing you made jeans before, if so can you share and estimate the cost of materials and time it takes for one pair of jeans? Am curious because $225 for time and materials seems like too much to me.

Perhaps these guys in the video run too small of an operation to have the costs spread around and to invest in tech to speed up the process.

Comment · 10 years ago
Comment · 10 years ago
Similar to that, I really like how in Intellij I can can use my Maven and Gradle build script as the IDE project's property file. I can now have my source checkout not include any helpful IDE specific files, but still have the project be instantly imported into an IDE.
Comment · 10 years ago
A possible fix is to start investing, but it may be too late. If I remember correctly I think investing for profit is a gray area in Islam, but Kuwait did it and if I remember correctly they use to have more returns from their investments then they did on oil and paid every citizen a base salary from it (until Saddam invaded and they had to cash out).
Comment · 10 years ago
They are capable of making world class products still that drive revenue. Their fantasy football UI is the best IMO, and they managed to use that platform to drive their daily fantasy gambling that they have tied to it. Hopefully they could repeat it for Yahoo Banking etc.
Comment · 10 years ago
Comment · 10 years ago
Won't Android move to Java 8+ once they officially adopt OpenJDK?
Comment · 10 years ago
From what I observed it's close enough to Java that people can easily switch and are willing to. There's also enough brevity with the language to be at ease with it daily (not as much as Scala) where it may be enough that perhaps people might not want to invest time to go all the way to Scala.
Comment · 10 years ago
Well Kotlin isn't even officially released yet (1.0 candidate came out last week) so no company is probably using it for production yet.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton