HNHacker News
TopNewBestAskShowJobs

mrighele

2,724 karma · joined April 2, 2013

submissionscomments
mrighele··on Site Is Closed on Sundays
It's not been the case for probably more than 20 years, but I remember that in the past the official website of the Italian Postal Service [1] used to be closed out of office hours.

https://poste.it

mrighele··on Incident with Github.com [resolved]
> scaling problems due to the influx of LLM assisted coding

You mean people pushing LLM assisted coding, or github's own coders pushing LLM assisted code to production ? :-).

I am more inclined to think that it is the second, but if the reason is the first, what is particular hard to scale ? It's not like everybody is vide-coding into a single repository, so I would expect that most of the load would naturally be scalable by increasing the resources. If for some reason that is not possible, I would expect a corporation as big as Github to keep the paying customers working by gracefully denying service to the free tier, not to collapse like an house of cards.

mrighele··on Self hosted email continues to steeply decline
I guess there is a certain amount of luck in this, probably related to the provider, or the range that your IP reside into. (I guess google and microsoft keep their own blacklists, regardless of what public blacklists say). I wonder if the best course of action in that case is to just spin up a new server on a different provider and try again.

FWIW, in my case, I am running the server on Hetzner, even though is supposed to have a bad reputation, but I have been using its IP for more than 10 years for other things (web server, personal services etc) so I guess that helps

mrighele··on Self hosted email continues to steeply decline
Last year I started self hosting my email. I found that once you setup the “usual suspects” (DMARC, DKIM, SPF…) outgoing mail works without issues. In fact it works now better than the (small) provider I was using before.

And setting them up properly is not even that difficult nowadays

mrighele··on Does anyone run Postgres without PgBouncer?
Not all non-trivial workloads are web-scale. There are plenty of on-premise applications out there that have at most hundreds or thousands of concurrent users, and the connections come from a bunch of fat spring boot servers that handle most of the pooling by themselves.
mrighele··on llama.cpp
> (Optimized by you through testing. Not that AI)

Why not optimized by AI through testing ? Give it a test set to work on and let it loose.

mrighele··on What's the best programming language for coding agents?
the slogan came out when the alternative was Perl, and in Perl you could do the same thing in a million ways, and each of them was equally "idiomatic".

> There should be one-- and preferably only one --obvious way to do it. [1]

Note the `should` and the `obvious`. Is it not a strict rule about having a single way to do things. It is about the aspiration that, if you do something, there is single obvious way to do it, much better than the others.

(I agree though that not even this is true anymore, see how many different ways you have to interpolate strings).

[1] https://en.wikipedia.org/wiki/Zen_of_Python

mrighele··on Quake – 30th Anniversary Update
That is also the approach that Nintendo took with Super Mario Bros, as in the first level you almost cannot avoid to learn that, for example mushrooms=good and goomba=bad [1]

[1] https://mainstream404.wordpress.com/2018/01/03/how-super-mar...

mrighele··on Annoying and alarming things about OpenCode
# Prompt Cache Misses

> It globs your filesystem and re-reads AGENTS.md (injected in turn-0 system prompt) on every SSE turn. If you put a quick note in AGENTS.md to be read in the next session, you immediately force a full re-evaluation.

> Personal favourite: it puts the current date in the turn-0 system prompt and re-evaluates every SSE turn. If you’re using OpenCode at midnight you get a full prompt cache miss.

I used opencode with deepseek v4 via openrouter during the weekend. Openrouter claims a cache hit rate of about 95%. Maybe it can be improved, but it doesn't seem broken.

I agree that it is bloated, and uses a lot of memory and cpu. But I don't remember seeing any bug during its usage, or at least not big enough to notice

mrighele··on The death and rebirth of my home server
> So if that were the case then why isn't there some sore of daemon or system software service that tracks the expected life of the hardware?

Some linux distribution will regularly check SMART data from disk and warn you if some threshold has passed (like number of corrected errors, spin up/down, total hours etc).

That said, if we talk about consumer hardware in a home lab or the like, of the disks that I bought in the past 15 years, only one broke down, and it did fairly quickly so my suggestion is to use redundant storage, make backup and change the disk when it breaks down. (Enterprise disk and usage is another can of worms of course).

mrighele··on Perforce charges $500 for training training videos.. and it's AI narrated
UI wise git sucks. The its commands are barely related to what they do, and that little makes sense only if you have in mind the underlying storage model (which is by itself a sign of bad UI).

Almost any other version control tool I have used in my life make more sense that git.

There are many reason for why git won, being able to use it without having to look up commands is not one of them.

mrighele··on EF Core 11 makes your split queries faster
I think jsonb_agg could be a solution. Requires cpu for decoding but I think it is compensated by the reduction of on the wire traffic. Queries are different , especially if you have several one-to-many joins so you have to do it at the framework level. I wonder if it would be feasible a Postgres extension that does this automatically for you
mrighele··on How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
Having built a nas recently (luckily before ram/diskpocalypse) there seems to be a huge difference between making a small nas (say 4 disks) and a big one. With a small one you are essentially building a pc, and the differentiating factor is the software. Mobo, memory, case, PSU… buy consumer (cheap) stuff and you’re ok. Above that you have to start buying very expensive business oriented stuff,disk enclosure, better psu… the costs increase more that linearly , especially if you don’t live in the US and can easily get used stuff from eBay.

And that stuff is often not just more expensive, but uglier and noisier. I ended up making my own “enclosure”

mrighele··on Why skilled workers come to Germany and then leave again
Asking you to learn German in in Germany is both rational and pragmatic, as it is a good way to be a functioning member of the society.
mrighele··on EU Council forces Chat Control via fast-track
In some EU countries it is not only illegal, but also unconstitutional.

For example, Art 15 of the Italian constitution [1]:

"Freedom and confidentiality of correspondence and of every other form of communication is inviolable. Limitations may only be imposed by judicial decision stating the reasons and in accordance with the guarantees provided by the law."

[1] https://www.senato.it/documenti/repository/istituzione/costi...

mrighele··on 22-year-old Mozart's handwritten notebook unearthed in 'major discovery'
I love his handwriting style. I wonder if it was the first draft or a copy [1]

[1] https://www.youtube.com/watch?v=gkqfpkTTy2w

mrighele··on UK set to announce social media ban for under-16s
No, I'm not conflicting the two issues. I'm fine with the ban I'm not fine with how it is being implemented, I thought the example would make it clear.

A ban shouldn't affect the adults (and this is the same for stuff like porn). If you think that kids should be restricted from a portion of the Internet, have the tools that they use check who they are... but adults should be able to use other tools.

mrighele··on UK set to announce social media ban for under-16s
I am fine with banning social media for minors.

What I find utterly wrong is the method, because this way you end up tracking also every adult.

A better way would be to legislate that minors need to use devices specifically designed for them, so that they can be kept under control, and forbid them to use regular devices.

My daughter cannot drive my car, and I don't need to insert my id card to use it, nor there is a facial recognition system to ensure that I am an adult.

Banning the kids from access social media sounds like just an excuse to be able to track adults.

mrighele··on Firewood Splitting Simulator
What this miss is a second part where you put the same wood that you split in a fireplace and watch it burn.
mrighele··on Lies we tell ourselves about email addresses
Not OP, but I self host a few domains.

I was worried about not being able to send emails, but is seems that as long as you setup properly SPF/DKIM/DMARC you're fine. You may have problems if using a domestic address though.

For the configuration, the best bet is probably to use a product that makes it easy to configure the above three, there are a few alternatives around, like Stalwart [1] or docker-mailserver (which is little more that your postfix/dovecot/rspam combo packaged in a container) [2]

[1] https://github.com/stalwartlabs/stalwart

[2] https://github.com/docker-mailserver

mrighele··on Apple reveals new AI architecture built around Google Gemini models
their largest partner is probably the US government.
mrighele··on Ask HN: What was your "oh shit" moment with GenAI?
"In the distant future, humans live in a computer-aided society and have forgotten the fundamentals of mathematics, including even the rudimentary skill of counting.

The Terrestrial Federation is at war with Deneb, and the war is conducted by long-range weapons controlled by computers which are expensive and hard to replace. Myron Aub, a low grade Technician, discovers how to reverse-engineer the principles of pencil-and-paper arithmetic by studying the workings of ancient computers which were programmed by human beings, before bootstrapping became the norm—a development which is later dubbed "Graphitics"." [1]

[1] https://en.wikipedia.org/wiki/The_Feeling_of_Power

mrighele··on Why Can't California Count?
> You want to fix the 20% of causes that lead to 80% of the problem

Vote in person. Vote with ID. You solve 99% of the problems. If it works in the rest of the civilized world it can work in California too.

The excuses for not doing this seem terribly weak, and only fuel the ideas of conspiracy theorists.

> and both the densely populated and the sparsely populated areas have unique problems to solve.

What are the unique problems to solve ? And I mean unique compared to the rest of the world where those issue are actually a non-issue.

mrighele··on Show HN: I reverse-engineered the world maps of Test Drive III (1990 DOS game)
I remember a map where just at the start, you could turn around, jump over an open bridge and finish it in less than a minute.

On the other hand most maps have loops and I would regularly get lost, unable to finish it...

mrighele··on The AI bubble isn't like the internet bubble
The article exaggerates things quite a bit.

At the time of the Internet bubble, there were people pushing for more "free" usage of the Internet, and those that couldn't care less.

And it's not like the companies didn't want to take advantage of the Internet, but there was a mismatch between what the companies and the employees had in mind, which mostly boils down

* Employees want to use it to do their jobs and make their life easier

* Companies want to improve productivity, spend less and make more money.

There is some overlap of course, but the problem is where the two clashes.

I don't think today it is too much different. I see plenty of people using AI for what they care about, they complain when they are asked to use it for things they fear will make their life worse (like programmers that think they will have to pick up the pieces of vibe coding later on).

> As a group, teenagers and young adults hate AI

I wonder what is their definition of AI. I haven't seen a single young person saying "I don't use chatgpt (or the like) because I hate AI". If else plenty of student have become dependent on it.

mrighele··on Google changes its search box
Those who won’t were doing it for the money. Those who continue are those who do it for passion, or those whose recipe is just a way to attract people to their business (e.g. kitchenware company). I don’t think it is necessarily bad, the quantity will decrease but the quality may even improve
mrighele··on London Police Deploy Facial Recognition at Protest for First Time
From the article:

> a pro-Palestinian march marking “Nakba Day,” happening in London on the same day with an estimated 30,000 attendees, will not face the same biometric surveillance.

mrighele··on EU to crack down on TikTok, Instagram's 'addictive design' targeting kids
> If the user can search like in Youtube then how do you rank the results? That's also an algorithm.

Any ordering is an algorithm technically, so yes just "banning algorithm" doesn't work.

A better alternative could be "the algorithm must be public and reproducible by the user".

"Sort the posts of the people I follow in chronological order" you're good

"Sort the posts by the output of a blackbox trained on user data" too bad you're a publisher and are responsible for what people post.

mrighele··on Should I Run Plain Docker Compose in Production in 2026?
AFAIK volumes are nothing more than a bind mount on a private docker folder, e.g. the files for volume my-volume are stored in /var/lib/docker/volumes/my-volume/_data, so backup strategies (an problems) for bind mounts apply also to volumes
mrighele··on New statue in London, attributed to Banksy, of a suited man, blinded by a flag
> the obsession that certain elements of the English right have with the English flag is at a completely different level.

You may want to check the obsession that people on the left have with the Palestinian flag. Any situation is good to show it off even when it has nothing to do with Palestine.

Page 1 of 28Next →