News for hackers. Stuff that matters.

robalni

Re:OpenBSD 8.0 on Tuesday October 20, 2026 @04:14AM (#50162841)
I find it quite annoying that I have to have a monitor plugged in for the upgrade to work. Otherwise it reboots into the old version after downloading. Is this a common problem?
Re:Grieving the Loss of Details on Sunday October 11, 2026 @04:23AM (#50040820)
In my opinion, LLMs are not competing with real programmers because they do different things. The job of a programmer requires a lot of responsibility and understanding. Using LLMs to write code does not help with that.

You may say that they do compete because companies treat them as the same thing and people need to make money, so the companies decide what is what. That is true but the solution should not be to give in to the money, but instead to make the money behave correctly.

What we need to do is to fix the economy, which still assumes that products are physical and hasn't been adjusted for the digital reality we have now, let alone the AI. Money was invented by humans, not discovered in nature, and we should therefore make it do what we need instead of letting it steer us the wrong way.

Re:Actively exploited sandbox RCE in all Chromium versions on Saturday September 05, 2026 @03:02AM (#49573883)
That's basically the comment I was just going to write but you made me not need to.

We need simpler protocols and formats, especially those that are used over the internet. I want everyone to really start fighting for this.

I always use a browser that doesn't run any scripts (w3m) for both this reason and others. It hurts when I see websites that don't work without js. A bit funny though that this page is one of them so I was not able to read it.

Re:Bootstrappable Builds: How and Why on Friday August 28, 2026 @02:07AM (#49474910)
I am working on a project that will be like a whole environment bootstrapped from the smallest possible beginning.

I thought a hex-to-binary converter like hex0 was too much like machine code, and I wanted everything to be source code, so I chose to instead start with a super simple interpreted language that is described in english and the user is supposed to write an interpreter for it themselves in any way they want. This way I connect the human to the computer using the language of the human which I thought felt better and easier to understand.

This super simple interpreted language then builds a super simple RISC-V assembler. Here I came up with a nice technique where the functions in the assembler are called through pointers, which makes them replacable while the asesmbler is running. So as soon as the assembler has compiled a better version of one of its own functions, that function is then replaced with the better version while the asesmbler is running and it continues to compile the rest of the code which can then use the new features. So it evolves without having to restart.

Re:Ask HN: How can we care more about fewer things? on Tuesday August 18, 2026 @03:16AM (#49342444)
I wasn't thinking about distractions or being able to concentrate when I asked this. I meant something that exists over longer time, like years. Like, the knowledge that there are so many other things makes it harder to appreciate and care about each of them. There seems to be a similar effect when living in a place where there is a high density of people. They start looking like background noise. But if there are not many people around, you might talk to almost everyone you see.

Trying to answer my own question, one thing that I think has helped me to more appreciate some things, is to have rules and try to enforce them. It could be to use an unusual operating system, or disconnect my computer from the internet, or deciding that there are some types of things or features that may not be used. That has the effect that most things I find online don't pass the rules or don't work for me and therefore I have to care more about the things that do.

So I was wondering how we can achieve this at a bigger scale, unless everyone else want to limit themselves as I do. It's quite fun actually but I don't think people care enough to do this.

Ask HN: How can we care more about fewer things?

There is a lot of stuff available on the internet. Just look at HN; link after link, every day more links. Other social medias are probably even worse.I feel like this has a disabling effect. I mean, when there is always more stuff on the internet to find, why should I focus on the things I already have? Things feel less important when there are so many of them. It feels like everyone just...

( Read More... | 5 comments | on HN )
I think another reason to write code by hand is that you want to know what you get. If you have an idea, then you can implement it better than an LLM, just like you can implement it better than another person, because you are the only one who understands what you mean exactly. Details are always lost and misunderstood in communication; this is a weakness of LLMs.

Similarly, even if I don't write the code but I let someone else who I trust do it for me, there is value for me in that person not using LLMs, because only if they don't, I can know that the only spirit that lives in the code is of the person of my choice. It's like a social thing; I can know and trust a human, but I'm not sure I can do that with an LLM.

It's similar to how you wouldn't want to use LLMs in politics: the whole point of expressing your ideas is that they are your ideas and if you let someone (or something) else do it for you, details will be missed and misunderstood.

So this is one reason that I think hobby communities don't like LLMs; they care too much about what they build.

Here is my list:

- A server package containing: web server, smtp server, database engine, page generating language and a supervisor that keeps everything alive. All written in C and I use them for all server programming I do.

- A file renamer that can rename multiple files. It puts the filenames in a text file and lets you edit it and then renames the files according to the changes.

- A RISC-V start kit containing a very simple assembler, disassembler and documentation.

- A script that runs twice a day and downloads things from the internet (like weather forecasts, news feeds, podcast feeds, train traffic info), puts them in a folder and does some processing and formatting. Then I can easily go through it all to get my daily information.

Re:Devtools must be open source on Tuesday August 04, 2026 @02:45AM (#49165066)
The article is about only one side of the solution: using AI to make it easier to work with code.

I think the other side of it is more important: making software simpler so that people can work with the code without having to use AI. That's what I try to do.

Re:Atom is better than RSS, in ways that matter on Sunday August 02, 2026 @06:01AM (#49142876)
There are so many formats and standards and people using different sets of them that I feel like we need an organisation that selects some of them and decides that those are the ones that people should use. Everyone could become a member of that organisation and vote for which standards should be part of the next version of the selected set. Maybe there could be a new version every other year or something.

This would give us some kind of leader that shows the way. It would make it easier for developers if people were more focused on fewer standards and there would be a well defined point in time when we would upgrade to the new set of standards.

For those of you who are familiar with RISC-V, it would be like the RVA23 spec: one big collection of things to use that can be targeted and talked about as one thing with one name, rather than everyone having their own collection of extensions that they use.

Re:Memory Safety Absolutists on Sunday July 26, 2026 @05:44AM (#49056361)
Interesting, I have had ideas about having that feature in a language: being able to make subtypes, like "this is an integer but on the next level it is a shoe size". Can you give an example of such a language or how they usually do that?
Re:Memory Safety Absolutists on Sunday July 26, 2026 @05:11AM (#49056163)
I think the point you missed or don't want to accept is that I think of all layers of memory management as the same thing just on different layers. Where you say that I mix different concepts, I say that it's just different layers of the same problem.

So which layer should we care about? All of them? Yes, if we want the most safety.

I will give you an example of how I can use memory incorrectly in "safe" rust. Let's say I have an integer that contains my age. Now I forget what the number was used for and I use it as shoe size. I have now used memory (the content of the variable) as something it was not intended for. Maybe you think this example is silly, but what is really the difference between using a float pointer as an int pointer and using age as shoe size? Another thing we could do is to use an index for one array as an index for another array. That's an example of using a pointer as the wrong type because an index is just a relative pointer.

So if we want to care about all layers of memory safety then we have to care about not using ages as shoe sizes and indexes with the wrong arrays. "Memory safe" languages usually don't help us with that and therefore they don't give us total memory safety. I think "memory safety" is not a very useful term because all data in a program lies in memory and basically all bugs have something to do with using that memory in wrong ways.

Re:Memory Safety Absolutists on Sunday July 26, 2026 @03:38AM (#49055658)
I don't know if there can be any memory safe languages. Programming is always unsafe because you can always make mistakes. The best we can do is to use tools that help us avoid the common mistakes.

As an example of that, the rust compiler helps the programmer to avoid many mistakes but it's still possible to use memory incorrectly and the tool is only safe as long as you use it as intended. You could say that C is safe too as long as you use it as intended and make no mistakes. The only problem is that it's hard to use it as intended and make no mistakes.

So let's think about what memory safety could mean. My understanding is that a memory bug is when you use memory in an unintended way. An example of that is when you write to memory after you have deallocated it, which means after you have decided not to use it any more.

No compiler or tool can make sure you don't write to or read deallocated memory, because whether it's allocated depends on what your intention is, and no compiler can read your thoughts. They can only give you a tool (like functions for allocating and deallocating memory or compiler checks) and hope that you will use that tool in a way that reflects your intention. One problem is that those tools are not always sufficient to keep track of your intentions and you may not always use them as intended.

Memory allocation is relative. In a sense, no program that runs under an operating system can use deallocated memory, because when they read or write to memory that has not been mapped to the process, they crash. In a sense, even "safe" rust can use deallocated memory; let's say you have an array of 10 integers and you decide that the fifth integer should not currently be used, you have then deallocated it on a level where the available tools can not help you, but you can of course still access that memory.

So again, everything is safe if you use it as intended and nothing is safe if you use it in other ways. Safety depends on how well the code matches your intentions. Remember that programming always happens in layers and no tool can cover all of them. It's not even clear what "all layers" would mean or how many there are in a program.

Re:Linus Torvalds tells AI haters to fork off on Thursday July 16, 2026 @03:20AM (#48931308)
First, AI is not just a tool like other tools. It's much more random and complex, which makes it very different from other tools.

You can't simply say that it's useful. How useful it is depends on what you are trying to do. If you are making some software that you need to understand well and be responsible for, then I think AI could make that harder, because it doesn't force you to think through and understand everything, and having to do that probably makes it just as fast to write it by hand anyway.

Don't forget that part about understanding and being responsible. It's important. Even if AI got 100000x better, understanding and being responsible would still take about the same amount of time, because it has to be a very manual process, and it taking time is part of the point of it. Also, while a computer can't take responsibility, a human has to do it, so using AI could easily reduce the responsibility taken by the human without increasing it anywhere else.

Re:98% Isn't Much on Tuesday July 07, 2026 @11:23AM (#48819104)
Expect is not what I do but I fight for it.
Re:98% Isn't Much on Tuesday July 07, 2026 @10:29AM (#48818391)
I don't like treating people like numbers. 98% isn't much and it isn't little. It's just wrong.

If I'm one of the 2% then that's everything for me. Maybe I have good reasons to be in the 2%. And maybe, not caring about that is wrong.

I would rather have a website that only works for 2% of people for the right reason, than a website that doesn't work for 2% for the wrong reason.

Re:98% Isn't Much on Tuesday July 07, 2026 @10:19AM (#48818270)
This is not just a question of browser age.

I use a browser that had its last release less than a year ago. It doesn't do CSS, it doesn't do javascript and I love it. I also love to be able to use the websites I need.

Just a general rule of thumb:

If I am not able to use any digital service or product on a computer that I could have built entirely myself (or had anyone of my choice build for me), running code I could have written entirely myself (or had anyone of my choice write for me), then that is completely unacceptable.

Re:Replacing Systemd with OpenRC in Debian on Monday June 29, 2026 @06:32AM (#48717375)
Sorry for nitpicking, maybe you didn't think through the choice of word, but what is a "technical" argument and how is it different from other types of arguments?

I think all arguments about a technology like systemd need to have a technical part (what systemd does) and a (sometimes implicit) personal part (what I think about it). If it doesn't have the technical part then I don't think it's an argument about systemd at all.

The difference I can see between your example arguments is that the "technical" one is more precise. "Not supporting x" is pretty specific while "being bloated" is not very precise. But of course it could be more precise if you say something like "systemd is made of x megabytes of code. I only want the code I need which I think can be implemented in 1% of that" or just "systemd includes parts x, y and z which I don't want".

So did you by "technical" just mean "precise" or is there another meaning that I missed?

Re:If You Can't Hold It, You Don't Own It on Saturday June 27, 2026 @11:34AM (#48699144)
It's time we change the economy for digital products and services.

* The current economy is bad: The company that can require or lure the most money from people wins.

* This would be better: The company that is liked by most people wins.

That one change would solve sooo many problems. We could get rid of a lot of laws that wouldn't be needed any more.

After reading a few answers I still feel like I haven't seen an intuitive answer to the question: why does it take so much more energy to go from 1 to 2 than from 0 to 1?

I have been thinking about it and only been able to come up with something that feels intuitive but not at all precise and I don't know how correct.

When you stand still you may use your surroundings to gain some speed, like by pushing against a wall.

When you have speed it gets harder to gain more speed because the surroundings are (relative to you) moving in the wrong direction, so for every additional unit of speed, it takes more effort to get there.

It might be a good thing that companies kill games, actually.

I want Non-free Software to suck as much as possible to give people more reasons to use Free/Open-source Software, which can't be killed.

Older ยป