Recent submissions

Comment · 2 hours ago
Venture capitalists and Silicon Valley have strong anti-intellectual tendencies as a whole. See how many founders pride themselves of being drop-outs and how many of them openly reject humanism and liberal arts. HN is mainly a plattform of Ycombinator to advertise and find like-minded workforce.
Comment · 2 months ago
A personal favorite of mine is fixed-parameter tractability. Instead of analysing the worst case running time solely on the input length we introduce a *parameter* and study the time complexity in both. Intuitively, the parameter „should“ be small and is often chosen to be the solution size or some specific measure of the input.

Consider the vertex cover problem where you want to cover all edges of a graph by at most k vertices (that are incident to all edges). It is a classical NP-complete problem and the naive bruteforce solver needs something like n^k time. Which is already huge for small k, say, 10.

A very simple fixed-parameter tractable (fpt) algorithm for this problem achieves a worst case time of 2^k * n. For huge graphs and small k (again, let’s say 10) this is a massive improvement.

This is a very active field, where we have a good understanding which problems allow have such a worst case time and which not (under some complexity theoretic assumptions of course). It incorporates also the idea of restricting the input to only specific „simple“ instances gradually. This happens if you add graph measures as a parameter.

Many NP-hard graph problems are in P if restricted to planar graphs. But what if the instances are „almost“ planar? If you choose a parameter that measures the structure of a graph such that the measure is low if the graph is planar and high if it isn’t, any fpt algorithm for this parameterization works on any graph; fast if it is planar, and fast-ish if it is close to being planar.

Of course, this is theory with the similar metaphysical caveats classical complexity theorem has. However, it results in interesting algorithmcsl tools and interacts nicely with specific fields of structural graph theory.

Comment · 2 months ago
It is indeed very interesting. For the latter the concepts from fine-grained complexity and average time are interesting. For specific problems, there are theoretical fine grained lower bounds for time complexity (i.e. cannot be solved in (truly) subcubic time). However, these rely on assumptions that are even stronger than P != NP.
Comment · 2 months ago
You’re right, it doesn’t. However, in TSP you are allowed to visit each vertex *exactly* once. So traversing the minimum spanning tree naively is not a valid solution. What you the approximation does is to „shortcut“ the paths if you would revisit an already seen vertex again. That’s where you need the triangle inequality to guarantee that the shortcut isn’t longer than the path through the minimum spanning tree. Otherwise you cannot guarantee an approximation ratio of at most 2.
Comment · 4 months ago
Comment · 4 months ago
Look no further! SailGP is pretty much the maritime version of F1
Comment · 4 months ago
I just wanted to tell you that I wholeheartedly agree with your statement and that you shouldn’t be discouraged by some of the nay-sayers in the replies. I feel that HN has many users who are techno-optimist, but are very pessimistic of the role of individuals and the possibilities of the society overall.

Even in the replies someone tries to appeal to some ideal of „rationalism“ which is nothing but defeatism to the status quo. They see any kind of passion, emotion or values as „irrational“ and categorically as something lesser.

But what is reason without values? Logic without axioms? Just treading in the trivial waters.

Comment · 5 months ago
Comment · 1 year ago
Comment · 1 year ago
I think the comment referred to the phrase „a graph needs X (colors or whatever)“. For me, this can be read two ways: 1. „a graph always needs at least X colors“ or 2. „a graph always needs at most X colors“.

Personally, I would interpret this as option 1 (and so did the comment above I assume). In that case, the statement is wrong. But I’d prefer to specify „at most/ at least“ anyways.

Or even better, use actual vocabulary. „For every graph there exists a coloring with X colors.“ or „any graph can be coloured using X colors“.

PS: I also agree with the sentiment about quanta magazine. It’s hard to get some actual information from their articles if you know the topic.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton