Recent submissions

Comment · 8 years ago
> None of this is particularly controversial

Judging by the fact that most maths degrees are listed as science degrees, it's pretty clear that "mathematics is not science" is a controversial claim.

Comment · 8 years ago
Assembly offers just as much capability for abstraction as any other language, and I think that it demands more "ability to grasp abstraction", because you pretty much have to build those abstractions yourself.
Comment · 8 years ago
How can this make anyone feel safe if they won't even admit that it's happening?! Moreover, the people are forced to compromise on just about every issue when voting, so they naturally get swayed by marketing and personal priorities. Somehow I doubt that surveillance was much of a priority for anyone.
Comment · 8 years ago
Firstly, it's not unjustified to say that someone who thinks vanilla JavaScript is "bare metal" obviously doesn't know what they're talking about. Secondly, as a software-engineer-in-training, I agree - software "engineering" doesn't have much in common with other engineering, but I think that's a good thing for software.
Comment · 8 years ago
No, but the right way should at least be easier than the wrong way.
Comment · 8 years ago
> orders of magnitude harder

They seem to be at about the same difficulty to me; it would be nice if you could elaborate.

Comment · 8 years ago
I suggest you try asking on Workplace.StackExchange, too, since the people there have more experience answering this kind of question.
Comment · 8 years ago
Rust takes a similar approach. For unit tests, you use the #[cfg(test)] attribute (/ pragma / directive) for conditional compilation, and #[test] to mark a function that is a unit test, which is run whenever you run the `cargo test` command. Also, any Rust code in Markdown fences in documentation is, by default, also run by `cargo test`, which you can disable for an individual code block by marking it as `rust,norun` instead of `rust`.
Comment · 8 years ago
That, I sort-of agree with. Layering isn't unique to 3D, so it's debatable whether the incorporation of a depth buffer makes OpenGL a 3D API.
Comment · 8 years ago
Metal is actually not that bad to live in. Vulkan, on the other hand, is micromanagement hell. I definitely agree with the people saying that it's for "building your own OpenGL".
Comment · 8 years ago
Yes! I'd suggest learning OpenGL, then Metal, then Vulkan/DX12, which is how I'd rank them from high to low level.
Comment · 8 years ago
It would always be possible to project a 3D world onto a 2D plane in any 2D graphics API, which is exactly what the projection matrix does in OpenGL.
Comment · 8 years ago
Will AV1, or even VP9 for that matter, ever be suitable for realtime encoding, or is that just not their target market?
Comment · 8 years ago
Hi Byuu! You're a cool guy and I hope I can be like you one day!
Comment · 8 years ago
But look, if I started a company called McDonald's, everyone would be confused and it'd probably be illegal. Complaining on forums about names is the open source community's alternative to trademarks.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton