Recent submissions

Comment · 9 years ago
I'm really glad they added a dark mode. But performance is absolutely horrible, I don't get how this made it through QA.
Comment · 9 years ago
Comment · 10 years ago
Exactly :) I come from a .net background, where compile times are kinda bad compared to what I get in C. I had also heard of big C++ projects that could take more than 30 mins to build. So I was always scared to move to native code. Until I learned the single compilation unit trick! And if compile times were to get slow again, there are many more ways to bring it down even further,
Comment · 10 years ago
I tend to use a single compilation unit, and use plain C. For a 50k line project I have build times of 1-1.2sec. On top of that I'm also linking to opengl, windows.h and a couple of headers in the standard lib.
Comment · 10 years ago
Despite what the code may look like, they all have a very easy to use API. Take stb_image.h for example. Most people need just two functions, stbi_load(), which loads any supported image format to a byte array. And stbi_image_free(), which frees the data.

But if you need anything more than that it's all there. e.g. loading from memory, loading via callbacks, support for HDR images, support for custom allocators, preprocessor flags let you exclude code for unused image formats, etc etc

Comment · 10 years ago
Comment · 10 years ago
Comment · 10 years ago
Comment · 10 years ago
Disabling the box shadow on .content-root fixes the performance bug (FF46.0).
Comment · 10 years ago
Thanks. It's "draconisch" in dutch. And words with -isch are typically translated to -ic in english, hence the confusion.
Comment · 10 years ago
This seems pretty draconic. To compare with a recent law passed here, in Belgium:

- A fee of 4.000 Euro to bring a product to market.

- Juice bottles of maximum 10ml

- No remote selling of e-cigarettes (but liquids are for some reason allowed)

- No advertising (with some exceptions)

Comment · 11 years ago
The most surprising detail to me was how much water they have to drain out of the metro each day:

"As a result, he said, they “discharge approximately 2-million gallons of water a day.” In other words: about three Olympic sized swimming pools worth."

Comment · 11 years ago
No idea about Pro, but I downloaded 2013 Ultimate from Dreamspark.
Comment · 11 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton