GyrosOfWar
GyrosOfWar on Hacker News
Small correction: Rust doesn't have exceptions. panic!() crashes the current thread with an optional error message, but it doesn't do stack traces and there's no try/catch in the language (there's the try!() macro, but it works with Result<T, E> values, has nothing to do with panics).
Yeah, that's definitely an issue. The Scala auto-complete is not very responsive, which makes the whole IDE experience with Scala pretty undesirable, sadly. I've been using IDEA with Java in the last ~2 months and it was perfectly smooth all the time. I guess Scala is a lot more complex as a language than Java, which makes parsing it on the fly much harder.
Yeah.. If you're gonna give your app a name from a foreign language, at least look it up in a dictionary. "Die Referenz" would be correct.
Also to note, the American qualifiers for the tournament will start tomorrow and run until Thursday. There's a good mix of North and South American teams in the qualifier and the stuff that is planned for the broadcast seems pretty exciting.
Really a fantastic performance. The recording quality of both video and audio are excellent too.
You could try Fauxbar, which is a Chrome extension version of the Firefox Awesomebar. I really like it.
How would immutability help with performance? (I'm not trying to ask a leading question, just curious) Value types are obviously nice for better cache performance (less pointer chasing, more linear data) but I generally associate immutability with better correctness but worse performance (not much worse, but worse).
edit: On topic, this is really, really cool. I was playing around with SIMD intrinsics in C++ a few days ago (and realized that the compiler was in most cases generating equal or better code with the auto-vectorizer than me using intrinsics) so I have kind of a new-found interest in the topic.
It's addressed, but in the wrong way. IEEE 754 has positive and negative infinity for a reason. Why do there have to be 255 zero values? Also, what about rounding modes? Floating point math is really, really hard and this specification makes it look too easy.
Modern C# and C++ both have facilities that make the languages much more concise (lambdas in combination with std::algorithm resp. LINQ, type inference and the like). Java 8 will also have some of that and I can see it becoming a much nicer language to work with because of those changes.
Exactly. For someone like me who likes building websites for fun (and by myself), but sucks at design and CSS, Bootstrap is a godsend. Because of it, I can concentrate on the stuff that's fun for me while having a pretty reasonable-looking website.
There really is porn for everything, huh?
The German names are all rather convincing, except for the sometimes lacking umlauts. (interestingly, only in the surnames) No one is called Jager here, unless they anglicized their name for some reason (Jäger is German for Hunter).
It's also great advice. I especially liked the part at the end about using simple and direct language and the active voice. This alone makes a paper much easier to digest even if the subject matter is hard.
The site crashes my browser (rather, the tab it's running in, Chrome 32) I see a loading bar, then I see something resembling a Spelunky level for a few seconds and then it crashes.
Very cool. This really makes me want to get better at Haskell. I know enough of it to understand what's going on here, but not enough to be able to come up with something like this.
What do you even mean with that? Marking all JVM languages as unsafe? Marking JavaScript as unsafe (because it has so much to do with Java, right?) The issues Mozilla has with Java are limited to browser applets and the lack of security updates from Oracle (which, coincidentally, mainly affect the browser applets)
> One thing I would like to see: MS should ban FF because it is insecure :)
Any follow-up on that? FF is, to my belief at least, one of the more secure browsers.
From what I've read in the Play documentation, this is intentional. [0] They say:
> SQL is already the best DSL for accessing relational databases.
I have no real opinion on the matter, as someone who doesn't like working with databases very much, I appreciate the comfort a ORM mapper gives me, but so far, all my web apps have been very small and basically trivial, so I don't know how they work with bigger projects.
[0]: http://www.playframework.com/documentation/2.2.x/ScalaAnorm
Brady Haran's videos are in general very good. All of his videos are in this style, concentrated on a single topic and in general shorter than ten minutes. I especially like the SixtySymbols channel (Physics and Astronomy). He seems to have a talent for asking the right questions and/or finding the right people to answer his questions.
> Also note that there is a HUGE performance difference between appending and prepeding to a list. :-)
If you're going to do a lot of appending, might I suggest a ListBuffer or a Vector?
Modern statically typed languages (cough cough not Java cough) generally have static type inference, which removes a lot of redundancy from the code. Being able to do
val object = MyObject(someOtherObject(12, "hello")) // Scala
instead of:
MyObject object = new MyObject(new someOtherObject(12, "hello")); // Java
saves a lot of time and it just looks nicer. All the while retaining the advantages that static, strong typing have (great potential for refactoring, a lot of errors can't happen at all). Of course, there are some things that will still take up more space than they do in Python or Ruby but it's a great improvement. Languages like Rust, Scala or C# also have a good variety of functional programming tools that can make your life a lot easier.