News for hackers. Stuff that matters.

DanielHB

Re:Ghostty 1.4.0 on Monday November 02, 2026 @10:37AM (#50338300)
Yes that is exactly what I pointed out, only institutions with near-total platform control (even if it is by comittee) can pull this kind of change off.

It could happen as a separate initiative for an alternate shell, kinda like system-d. But it would need a lot of coordination between companies and individuals to support it and a lot of jank compatibility for calling the current existing tools when a "modern"version doesn't exist.

Re:Ask HN: Which TV do you recommend for privacy? on Monday November 02, 2026 @08:14AM (#50336412)
You joke, but the IoT project I used to work on had a bootloader system that kept 2 firmware versions of our software in memory. If the "main" one entered a restart/crash-loop it would auto-revert to the old firmware.

If you don't flash the bootloader too you don't "own the glass".

Re:Ask HN: Which TV do you recommend for privacy? on Monday November 02, 2026 @08:10AM (#50336373)
Why people subject themselves to TV operating systems (or chromecasts, apple TV, etc)? I just have a mini-ITX PC connected to my TV and a flymouse. You can even use pre-made mini-PC if you don't care about gaming. Using anything without ad-block is impossible these days.

Being able to pull out a full wireless keyboard+mouse when doing productivity work is great. Me and my wife regularly use the TV to plans trips, online shop and do spreasheet stuff.

Re:The AI cost of JavaScript frameworks on Monday November 02, 2026 @07:18AM (#50335841)
> In the big corporate world, especially at non-software companies, there is a culture that strongly believes internally written software sucks.

But this is... true? Non-core software gets the shaft in resources / development, especially at non-software companies. And for most companies the underlying web architecture are not a core business. For Facebook, Amazon, Google it is, that is why they are often the ones making frameworks.

Fact is frontend development is very complicated and the platform doesn't provide enough support for large projects.

Re:Why Anthropic's filing crushed tech stocks on Saturday October 31, 2026 @09:59AM (#50316272)
Didnt it start with Korean stocks first? It feels like a wave, it hits there first then the US tech stocks. Korea index has stabilized for a few days now, but hasn't recovered what it lost.
Re:Backdoors in official Claude Code extensions on Friday October 30, 2026 @09:50AM (#50303876)
Most extensions run in vscodium-server, extensions run either as "Local Extensions" that run on the host and "Remote Extensions" that run on the guest. You can clearly see in the UI which ones run where.

I only have a single "Local Extension" and it is open-remote-ssh itself.

Of course anything you put into the container can be compromised, like git ssh keys or cloud provider keys/auth-tokens. But at least it keeps your PC from becoming a botnet and your browser credentials out of reach. If you have a Containerfile/Dockerfile with everything you need you can quickly wipe everything and re-create your dev environment from scratch (which I do every once in a while), wiping any malware you might have gotten in there.

When running inside a container you can do some nifty things like keeping root directories immutable. I have been meaning to make some user directories immutable in my container but just been too lazy to do it.

Re:Backdoors in official Claude Code extensions on Friday October 30, 2026 @08:54AM (#50303203)
I recommend moving to VSCodium and using this extension:

https://github.com/jeanp413/open-remote-ssh

and run vscode-server inside a VM or container

That is really cool, our use case was powering an off-grid festival in a remote location. Our battery fit in a semi-truck (so it was fairly big, but not grid-scale). I don't remember the exact savings on fuel but it was ridiculous, like truly non-sense why doesn't everyone do it like that. I think the generator was on only about 40% of the time.

Even as backup power it still makes sense to have a battery attached because it extends the capacity of the system so much. The main problem is that you need some BMS software to coordinate the generator and the battery, but there aren't self contained solutions like this widely available (at least last I worked with it).

Factorio power generators always run at 100% efficiency, so it is not really the same thing, you still consume the same amount of coal if you have batteries or not.

I guess it applies for nuclear power if you do that jank thing to not put fuel cells unless you need power. But then it is a thermal battery...

When I worked with medium-sized scale batteries one of the most surprising use-cases was to use them _together_ with diesel generators. Diesel generators are incredibly wasteful because they don't vary the power output / fuel-consumption very well based on demand.

When you couple a large battery with a diesel generator the generator turns off when the battery is full so the generator always run at optimal efficiency.

Re:Ghostty 1.4.0 on Wednesday October 28, 2026 @09:19AM (#50273094)
Ah thanks, I will check it out.

Last time I checked it didn't work on Linux (or I couldn't make it work on my setup, I don't remember). It seems it still has some limitations but better than before.

Re:Ghostty 1.4.0 on Wednesday October 28, 2026 @06:05AM (#50271234)
Any chance to get quake-style terminal (AKA dropdown terminal) in KDE like guake and yakuake? That is the one thing keeping me from switching.
Re:Ghostty 1.4.0 on Wednesday October 28, 2026 @06:00AM (#50271200)
problem is not the terminal, it is the Unix philosophy for CLI programs. Non-structured text piping and bash scripting being major pain points for me personally.

There is no reason why programs input/output can't be schema'ed, consumed and piped in a type-safe manner. And why there can't be a better standard than bash for simple scripts.

But it is really hard to pull this kind of thing off unless you redesign most of the common tools by scratch and do so through a committee and somehow push it down people's throat through strict platform control.

Re:AI promised less work. I've never worked more on Wednesday October 28, 2026 @05:51AM (#50271137)
It is because labor was scarce compared to demand after the war, same thing happened after the black plague in Europe.

The current population decline crisis will likely shift the pendulum towards labor in 50 years or so.

Re:Git for US Legislation on Wednesday October 28, 2026 @05:35AM (#50271034)
The great promise of crypto-contracts was to be able to write rules as code and have them be deterministic (instead of requiring a judge to rule on it) and even have unit tests. Instead it seems we are moving towards a world where rules are written in English and judged by biased LLMs.

I couldn't care less about crypto currencies, but crypto contracts had the potential to replace much (although not all) of the bureaucracy around governments and justice systems. I am very sad it didn't take off.

Re:AI promised less work. I've never worked more on Tuesday October 27, 2026 @11:11AM (#50260561)
It was actually, but that was an aberration of the post-war period.
The lock-in is that the subscriptions plans only allow you to use their own harness.
Companies don't switch lightly.
I dunno, I always thought the AI craze started from ChatGPT which, in turn, was mostly driven by Google research papers.

Yes it would have costed them more to train the first few versions of ChatGPT if it wasn't for the crypto mayham, but it would still happen. The hardware was always available and still improving regardless of crypto or not.

People are underestimating the lock-in of Claude Code and Codex. Most companies are not buying a model, they are buying the ecosystem.

But the lock-in is not _that_ big that a big co could not pull off a migration, but it would be like migrating from Teams to Slack, not like migrating away from Adobe.

It is not going away any time soon, but when it does it will be sudden and have a massive drop in demand.

It was pure coincidence that the AI-craze neatly followed the crypto-craze (many neo-clouds in the AI space were originally crypto miners).

Re:Lula wins election after final votes tallied on Monday October 26, 2026 @07:59AM (#50242246)
It wasn't consecutive, there were 2 terms (one of which was for the opposition) in-between. According to the law a president can only serve 2 consecutive terms.

It is not great true, but it is not Turkey/Russia-level with president for life (yet). Although it is forming a succession crisis in much the same way.

Did you get insurance on all this stuff? I imagine home insurance would not qualify for a bespoke home-datacenter.
Re:No Need for Retirement When Utopia Is Around the Corner on Friday October 23, 2026 @04:06PM (#50214587)
The big thing is that the public Swedish pension is based on earned tax income, so it adjusts based on the workforce contributions. Meaning your pension goes down if the country is doing badly.

Sucks for the elderly, but it prevents the catastrophe that is France and that the US is heading into.

Re:No Need for Retirement When Utopia Is Around the Corner on Friday October 23, 2026 @10:18AM (#50209504)
They have pensions in the US, it is called social security. But it is not self-sustainable and not good enough for medium-and-above income earners. It is basically a way to ensure seniors don't live in abject poverty.

What they moved away from was private pensions owned by your company. Now you own your private pension through the 401k thing they keep talking about. This IS a better and more sustainable system, but at the same time this was rolled out most companies also cut company-pensions but didn't give you more compensation that you can put on your 401k.

European companies are not forced to pay into your private pension either, it is usually part of union negotiations. Check how much basic pension pays out in Sweden (the almighty socialist country), last I checked it is ~900 euro per month. My parents in law make that much per month in retirement because they never put any money towards a private pension and never held a unionized job.

Because the plan is obviously to eventually remove the ability to play on your own hardware, or to buy (license) the game at all. They want you to only be able to enjoy it by paying by the hour.

It is a step towards normalization of anti-consumer habits.

Re:NixOS is making me less afraid on Tuesday October 20, 2026 @10:01AM (#50166622)
Yeah I few the same way about cloud services, impossible to humanly-parse AWS articles are finally _useful_.
You can keep tacit knowledge if you keep your prompts _really_ small and check the output at each step. That is how I write most of code these days, but I also interweave some manual editing occasionally (because it would be faster than prompting).

Basically using it as a way to type faster.

Did it feel bad when you switched abstraction level? Going to agent AI tools feels horrible, especially with how it is used these days.

Like, it is not that I hate AI tools, I just hate how most people are using them...

I can't imagine going to punch cards to, well, anything would feel anything but great. But going from assembly to C I can see how a programmer could struggle with their coworkers not checking the outputted CPU instructions for performance problems and compiler optimizations that generate unintelligible assembly.

But even then all those changes were deterministic (at least to the compiler version), unlike AI.

Re:Someone behind the software on Monday October 19, 2026 @09:38AM (#50152356)
Yeah, my point was more about that even if you have that kind of environment, it is not as helpful as you might think.

IMO this kinda of dogfooding is a replacement for good QA and good prioritization. Things only get fixed because a developer that is also a user is annoyed is not a recipe for quality.

The software I work on is not even "for developers", it is more consumer-grade software that many within the company happen to use.

Older »