Recent submissions

Comment · 3 years ago
the actual rendering code is ran using a webworker in a separate thread
Comment · 3 years ago
It's weird how python defaults to spaces rather than tabs, as tabs would make indentation errors less prevalent and a lot more obvious to people learning the language.
Comment · 3 years ago
I don't think these tools are particularly suitable for reverse engineering websites, it's much easier to use devtools and userscripts
Comment · 3 years ago
I hve a global shortcut to open a Julia REPL session and I use that to perform any sort of quick calculations instead of a GUI calculator. The best thing about this approach is that I can always create new functions for stuff I use often.
Comment · 3 years ago
does it support tabs yet?
Comment · 3 years ago
The problem with SQL is the same as the problem with C-style variable declarations. It sounds slightly better than the alternatives when you say the code out loud, but in reality it causes problems with readability and parsing/processing the code
Comment · 3 years ago
default values for everything without significantly increasing language complexity
Comment · 3 years ago
There are many worse mistakes in the design of C, and some of them even got inherited by other languages, like switch statements.
Comment · 3 years ago
If you open any reasonable math textbook (except for maybe logic related ones), chances are, you won't see the ∀ symbol anywhere at all. It's often considered bad taste to write a symbol like this when you can just write "for all". The main obstacle in learning math comes from not understanding the background material enough and basically never from not understanding the notation.
Comment · 3 years ago
I don't think that's a good point to critizice Google for. Unlike many other websites, the Google homepage has always remained clear and fast, even after multiple redesigns.
Comment · 3 years ago
Right now it's in beta (Chromium 113), stable support is planned for 26th of April
Comment · 3 years ago
Literally all of these are owned by big corporations (Apple, Microsoft, Sony) and made specifically for their proprietary gpu APIs. C++ is just a superset of C which doesn't fix syntax problems. Making an open source standard with a modern syntax is a better idea than picking a favorite corporation.
Comment · 3 years ago
Most current shader languages are very close to C in terms of syntax and behavior and these are some of the worst aspects of C as a language. I guess they could have went with SPIR-V but generally a compilation step shouldn't be required in web standards.
Comment · 3 years ago
Syntax-wise GLSL is a mess and having a new language to work with is like a breath of fresh air.
Comment · 3 years ago
I wish Mozilla focused more on Linux support. I tried switching to Firefox multiple times, and in day-to-day use I always keep running into unfixable problems like bad font rendering, slow webgl performance, ui glitches etc.

Problems like this never happen when I'm using Firefox on Windows, and honestly the state of Firefox on Linux is kind of surprising since it's the most commonly recommended and preinstalled browser on Linux distros.

Right now I'm using Chromium but I'd be eager to switch if there was anything better which could provide me with a fast and stable browsing experience.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton