Recent submissions

Comment · 2 months ago
It statrs with "At the same tiem" so it's consistent.
Comment · 2 months ago
I am aware that the purpose of an overwhelming majority of companies is to earn money. Does auto-playing their own video with audio increase revenue? It's not an ad someone is paying for.
Comment · 2 months ago
This is completely off topic but I'm shocked that zdnet autoplayed a video with audio on after I opened the page and scrolled down a little. Incredible that we still have websites whose primary purpose isn't playing audio automatically play audio. There's no way this doesn't annoy a vast majority of users.

This phenomenon terrifies me greatly - how large organisations can be ignorant of the basics of their purpose. I believe it is one and the same mechanism of collective incompetence, which can affect both a media company, a school, or a government. It's as if the humanity, under any system, were bound to create inhospitable conditions for one another.

Comment · 5 months ago
s/everything is/everything seems to me/
Comment · 8 months ago
As demonstrated, crisps are more valuable to the society than art.
Comment · 10 months ago
That's too reductive. Vacuum full isn't just slow, it exclusively locks the table for the duration of the vacuum and is basically a no-go when the database is in use.
Comment · 10 months ago
And make sure your `random_page_cost` is about 1.1 if running on an SSD or if >~98% of your hot pages fit in memory. Rather than 4 by default which makes the planner afraid of using indexes.
Comment · 10 months ago
Two things - the word "idles" and the nature of CPython's allocator which generally doesn't return memory to the OS but reuses it internally. So you cannot really "spike" memory usage, only grow it.
Comment · 10 months ago
> Python: ~60% waste (Mostly sized for startup spikes, then idles empty).

I understand we're talking about CPU in case of Python and memory for Java and Go. While anxious overprovisioning of memory is understandable, doing the same for CPU probably means lack of understanding of the difference between CPU limits and CPU requests.

Since I've been out of DevOps for a few years, is there ever a reason not to give each container the ability to spike up to 100% of 1 core? Scheduling of mass container startup should be a solved problem by now.

Comment · 11 months ago
I wonder what would happen if someone evolved a circuit on a large number of FPGAs from different batches. Each of the FPGAs would receive the same input in each iteration but the output function would be biased to expose the worst-behaving units (maybe the bias should be raised biased in later iterations when most units behave well).
Comment · 1 year ago
Comment · 1 year ago
Sorry not to have made this clear: I am not a frontend developer. I'm a backend/infra developer who's forced to work on a React app abandoned by a frontend developer who incorporated their own wrappers-of-wrappers-of-wrappers.

Meanwhile the client is telling me is virtually impossible to find frontend devs willing to write HTML.

Comment · 1 year ago
Good riddance indeed. The last 30 years of software teaching basically trained developers to produce complexity for its own sake, while calling it engineering. I'm not sufficiently full of myself to link to my own writing (yet) but I'm full of myself enough to self-paraphrase:

1. Programmer A creates a class because they need to do create an entry point, a callback, an interface... basically anything since everything requires a class. Result: we have an class.

2. Programmer B sees a class and carelessly adds instance variables, turning the whole thing mutable. Result: we have an imperative ball of mud.

3. Another programmer adds implementation inheritance for code reuse (because instance variables made factoring out common code into a function impossible without refactoring to turn instance variables from step 2 into arguments). Result: we have an imperative ball of mud and a nightmare of arbitrary dynamic dispatch.

At some point reference cycles arise and grandchild objects hold references to their grandparents in order to produce... some flat dictionary later sent over the wire.

4. As more work is done over that bit of code, the situation only worsens. Refactoring is costly and tedious, so it doesn’t happen. Misery continues until code is removed, typically because it tends to accumulate inefficiencies around itself, forcing a rewrite.

Comment · 1 year ago
Phages don't devour bacteria, they get inside and hijack them, like viruses tend to do with cells.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton