Better HN
topnewbestaskshowjobs
Log inSign up

mrighele

2,728 karma · joined Apr 2, 2013 (13y ago) · 835 submissions

Submissions

comment 3w ago · link · parent

European cars are expensive not just because the manufacturers are greedy, but also because we want them to pay their employees a proper living wage, human working hours, sick leave, a few weeks of vacation every year, healthcare... Those don't come for free.

Also you have to add that cars sold in Europe (regardless of manufacturer) require by law much more expensive extras compared to other countries.

comment 4w ago · link · parent

It's like Intel i3/i5/i7/i9, or nvidia 50/60/70/80.

It is meant to give a rating inside a generation. Different generations are not necessarily comparable. an i7 is better than an i5, but not if you compare an i7 7xxx with an i5 14xxx.

A nvidia xx80 card is better than a xx60 card, but not if you compare a 1080 to a 5060.

The only difference for OpenAI is that not every generation has every model.

comment 1mo ago · link · parent

> While employed, you’re using corporate accounts and can’t be banned.

Google/openai/etc detect that you are using your corporate account from the same home where you use your banned account, corporate account get banned for trying to circumvent the ban.

Can you be sure this will never happen ?

comment 1mo ago · link · parent

"I want to use my washing machine whenever I want" sounds like a very poor reason to destroy the environment."

The environment is going to be destroyed anyway, since the rest of the world will continue to use their washing machine whenever they want. [1]

The current European approach to climate change is completely bonkers and will only make Europeans poorer and miserable.

[1] https://ourworldindata.org/grapher/annual-co2-emissions-per-...

comment 1mo ago · link · parent

I like Bun too, I think its ergonomics are much better. If you are writing a front end you can produce the final output without an external bundled. Similarly if you are working on a backend TS project (less of a problem these days but transpiling TS used to be full of gotchas depending on your dependencies) . You can even just build a single binary to deploy in your container. Useful for command line tools to (they come out a bit big, but for personal use is not an issue)

comment 2mo ago · link · parent

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

comment 3mo ago · link · parent

> 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.

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

> (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.

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

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...

comment 4mo ago · link · parent

# 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

comment 4mo ago · link · parent

> 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).

comment 4mo ago · link · parent

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.

comment 4mo ago · link · parent

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

comment 4mo ago · link · parent

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”

comment 4mo ago · link · parent

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.

comment 4mo ago · link · parent

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...

comment 5mo ago · link · parent

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

comment 5mo ago · link · parent

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.

comment 5mo ago · link · parent

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.

comment 5mo ago · link · parent

What this miss is a second part where you put the same wood that you split in a fireplace and watch it burn.

comment 5mo ago · link · parent

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

comment 5mo ago · link · parent

their largest partner is probably the US government.

comment 5mo ago · link · parent

"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

comment 5mo ago · link · parent

> 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.

comment 5mo ago · link · parent

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...

12345
28