Recent submissions

Comment · 3 years ago
Maybe consider a different color palette. I have a red/green color blindness (like ~8% of the male population), and I can only barely differentiate the colors.
Comment · 4 years ago
I wouldn't call some cases of UB like overflowing a signed int or running into a dangling reference "actively pushing the compiler". I'm having a hard time believing you didn't ever run into these or similar issues having "programmed for a long time".

For other cases (e.g. aliasing, alignment), I'd agree that one is rather safe as long as the dangerous tools (e.g. reinterpret_cast) are not used.

Comment · 4 years ago
Comment · 4 years ago
Comment · 6 years ago
Algorithm fib1 („Dynamic Programming without Memoization“) is just ordinary recursion and not dynamic programming.
Comment · 7 years ago
It is hard to overestimate the importance of the OEIS in enumerative combinatorics.

I discovered the main results of my PhD thesis essentially as follows:

1. Find complicated construction A, hoping to prove some new results.

2. Fail to sufficiently understand/analyze A.

3. Write computer program to analyze characteristics of A for small n.

4. Using OEIS, discover that apparently A is (in some sense) equivalent to some completely different construction B, which is much simpler and well-understood.

5. Show desired result as well as further other results using B and variations of it.

Comment · 7 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton