Recent submissions

Comment · 2 years ago
It seems to recompile every regex on every matching operation. This is really slow. The compiled regexes should be cached in the different matchers.
Comment · 2 years ago
Add the lowercase -r for recursive scp and you have two screens with man pages open.
Comment · 4 years ago
Redshift is indeed a matter of speed. But due to the expansion of the universe, relative speed and distance are directly related (Hubble's law).

So farther away means faster relative speed and thus more redshifted (Doppler effect) Farther away also means older light (due to the finite speed of light).

Putting that all together means that to observe old light from the start of the universe we have to look in the IR spectrum.

Comment · 4 years ago
In the article it describes the N+1 problem with an example of the fossil timeline. In a system using Postgres, you would select all the timeline entries and then generate one big query to get the details of all the timeline items in one sql request. With sqlite you can just iterate over the items and do the queries separately. This makes handling this scenario much simpler.
Comment · 5 years ago
The computer says no. Probably some automated Google process. Curious what voting to undo it will accomplish.
Comment · 5 years ago
There are plenty of examples in this thread alone.

In my opinion hinting won't help. Everyone who cares about the performance gain will enable the hint (which I expect will be almost everyone) so you have won nothing but added noise with the hint.

Comment · 5 years ago
Cmd-Up brings you to the parent folder.
Comment · 6 years ago
Gsheet is just a link to the online copy. It's useless as a backup.
Comment · 6 years ago
Faster than light in a medium. The last part matters. There is currently no reason to doubt relativity.
Comment · 6 years ago
There is indeed also a relation between momentum and (rest) energy describing the conservation of energy, In the rest frame this relation reduces to the famous E=mc^2.
Comment · 7 years ago
Because advent is a common term for the 4 weeks before Christmas even in non religious contexts. And that is how it's used in this non religious project.
Comment · 7 years ago
Comment · 7 years ago
Comment · 7 years ago
You are describing static typing. There is a well defined difference between strongly typed and statically typed.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton