News for hackers. Stuff that matters.

skydhash

Re:Scaling Git at OpenAI on Tuesday November 03, 2026 @07:38AM (#50351278)
> Anthropic wants their models to perform well because that's why you will buy it.

What Anthropic wants and what happens in reality are two different things. But with code I write, I do control the process.

> Eh no. You need to know about only a compressed part of it, not 100%. Do you really claim that you need to know 100% of the code?

I know the code I write, and I know how it interfaces with external modules. When those interfaces don’t function as described, I look at the code if I have access to it. When I don’t, the party in control has always good incentives to produce good documentation. That knowledge is usually good for some time (years even)

> my manager doesn't look at my code

Because that’s not his responsibility, just like he’s not responsible for bugs and crashes. He’s responsible for the project and the team and you can be pretty sure that he’s looking at all at the information about those. Imagine if his own manager ask him about some details and he answers: “I don’t know, Claude is doing it”.

As a vim and emacs user, macros are really nice. But the true superpower, IMO, is that code is fairly structural in the file and outside of it, and both allow me to quickly navigate that structure. Vim is more powerful on the edit side, but emacs has more convenient utilities.
Re:Scaling Git at OpenAI on Tuesday November 03, 2026 @06:52AM (#50350852)
> Does your manager at your job review every line of code you wrote or trust you based on your competence and reviews only a compressed portion?

The manager always has a very good stick: “Do a good job or you will be fired”. And me wanting food is well aligned to not produce buggy code. Or make my job harder in the future by writing unmaintainable code.

> Frankly, these discussions are tiring because there's a false notion that humans have to be in the loop 100% of the time

The code is written to process data. Someone needs to be aware of how it’s processed, so that when malformed data appears, we can collectively find where it happens. You can always play around with your own data (if regulation allows) but you need to respect your customers’ data. Not looking at the code jis just negligence.

Re:My Favourite Laptop on Tuesday November 03, 2026 @06:27AM (#50350657)
One case: I had a (work provided) 15 inch laptop with a 4k touch screen. I didn’t like touch (never used it once) And 4k was a pain, but I don’t remember why exactly (tiny icons) or mixed dpi with an external screen.
Re:Scaling Git at OpenAI on Tuesday November 03, 2026 @12:30AM (#50348449)
> Such a colossal volume of slop that even the most well engineered, efficient technology on the planet, written by one of the greatest coders of all time, is no longer sufficient to contain it.

And git is enough to version control some of the most complex software like the Linux Kernel, the FreeBSD operating system, QEMU, browsers like Firefox,... Git was insufficient for Facebook and Google because they wanted to put the whole org inside a single repo, which broke the assumption where decentralization in git would happen (repo level, not subtree level). Now it seems that another assumption is broken, that you wanted a version control system, not a snapshot or a rolling log.

Re:Scaling Git at OpenAI on Tuesday November 03, 2026 @12:19AM (#50348387)
Architecture Decision Record [0], the formal version of the Jira ticket.

[0] https://martinfowler.com/bliki/ArchitectureDecisionRecord.ht...

Re:My Favourite Laptop on Monday November 02, 2026 @03:37PM (#50343362)
The spare parts availability is not really about failures. It’s often about upgrades (and sometimes downgrades). Also there are accidents.
Maybe we’re talking past each other. But my main point is that the framework you proposed should be more geared towards a thinking model instead of a recipe to blindly to produce code. Code are highly contextual of the data you have to process.

So you can get AI to produce code, but you should refine your mental model alongside it and not try to build a scaffold as that would always be too generic and wrong. As a scaffold good enough is already code. So exoskeletons mindset, more than hive mindset.

It should be especially when new features are used to hook new customers (or renew contracts) and lower the amount of time wasted on bugs…
Re:The AI cost of JavaScript frameworks on Sunday November 01, 2026 @07:10PM (#50331348)
“Pages” is indeed a presentation concern, but state isn’t. Often in SSR, user state is stored server side and identified by a cookie. You only need this cookie on the presentation side and not have to store a copy of the whole state like you usually do in a SPA.

In most SPA, state is distributed with two copies floating around. Even if you do restrict the update flow, it’s still a lot of works to keep it consistent. That’s good enough when it’s partitioned and each side take care of its own state, but in most cases, the intersection is very large.

With SSR, the “page” is a dead copy. The only source of truth is the backend.

Re:The AI cost of JavaScript frameworks on Sunday November 01, 2026 @04:20PM (#50330004)
The complexity is in the host of tools, libraries, and processes to build and deploy the SPA.
> Labour which was the main bottleneck earlier is now cheap and hence we can afford to be "idealistic" since the tool is immensely powerful.

This labour was not the main bottleneck. I’m ready to bet that coding is a small part of the daily activities of a dev.

> Later when requirements change you reiterate and regenerate your prototype and continue.

That is incredibly wasteful. Requirements are set agains a world model that always evolves against its own set of constraints. Which does ties into the flexibility argument. No need to reinvent the wheel, when only a few things varies and some just stay true for years and decades..

>> The assembly itself is a matter of data and process. How each module is initialized, its lifecycle, which data it consumes, which data it produces

> This is taken care of by having modules follow the LKM model with ioctl interface as explained above.

Nope, it’s not. This is related to having a good mental model of how your software process data, not related to how you design your interface.

—-

As I said, your comments put “code” as a first place citizen, which no experience dev does. What I argue about is that it’s always about data, the rules that it follow, which will then be realized by code.

> DbC methodology is the quintessential "data-driven" programming since the pre/post/inv are predicates to establish sets of data values on which the subsequent code can operate safely

Like the one above. You don’t write code and assert which type of data that it can handle. That’s a fool errand as the outside world is naturally messy. You define the data first, and then write the code. Meaning when the data changes, the code needs to evolve. You need to have a very good mental how that changes propagate, which you won’t have of you just regenerating code.

That’s why no one builds a factory to produce factories. Although there are common elements, a factory is designed for the product it will create. So you start from the product, you don’t start from the factory. Your methodology is a framework for building factories, but with no mention of any product.

Re:The AI cost of JavaScript frameworks on Sunday November 01, 2026 @12:45PM (#50327816)
Unless the interactivity would have span page reload, there’s no need for SPA. Figma, Spotify and Google Docs are food candidates for SPA as they have state that need to survive page navigation.

But in most web apps, interactive widgets are just little islands in the page. The higher concerns are routing, authorization,… which are already handled by the browser/server interaction.

Re:The AI cost of JavaScript frameworks on Sunday November 01, 2026 @12:31PM (#50327682)
Even when writing large applications. It’s not like you’re using every method in a library or even the most important part. This issue is more prevalent in the rust and js ecosystem where instead of writing a few dozens line, the dev brings a whole library for that (almost everyone that uses chalk). Then they start to believe that one can’t write large software with simple code.
Re:The AI cost of JavaScript frameworks on Sunday November 01, 2026 @11:27AM (#50327105)
Sometimes you just write enough code for the problems at hand and not go for a generic solution. And then the result is a few hundreds lines of code, instead of 10gb node-modules folder.
Re:The AI cost of JavaScript frameworks on Sunday November 01, 2026 @11:21AM (#50327050)
A lot of times, most web app would be way better with purely server rendered pages. SPAs usually introduce a needless artificial separation. Too many times, I’ve seen an API that is tightly coupled with the web frontend instead of being agnostic and then starts being a maintenance nightmare because you have to coordinate across whole codebase because any Change Request updates the interface.
Re:HackerTube: YouTube built from videos recommended by HN on Sunday November 01, 2026 @12:49AM (#50322797)
I don’t live alone, but I mostly watch YouTube on the TV. As I don’t eat at my desk (where I spend a lot of time), I usually go on youtube and try to find a nice recommendation or a new video from my interests. But my ipad and my ereader are always near in case I don’t find anything interesting (often these days). I’ve plenty of things in flight to read and HN is always a backup option.
The whole things kinda read as an idealistic and very wrong view of software engineering.

If you take a look at "real" code out there and it's evolution, you'll find that the main thing that drives it is the set of requirements. On the other side you have the platform (standard and 3rd party libraries as well as frameworks). Add to that is the set of algorithmic techniques (including design patterns).

By analyzing the requirements, you will discern that often they're composed of sub-problems that are generic (which is where you algorithms techniques comes in). And some are already solved (libraries). Often there's a common shape to the requirements (or some of them) that can be extracted into "frameworks".

So what's left then is the assembly. But often requirements are evolving concepts. So you don't want your structure (architecture) to be that rigid. You can't really know the direction of evolution, so you try to predict it in some way and add flexibility in a few places. This is more an art, but there are general techniques that works well enough.

The assembly itself is a matter of data and process. How each module is initialized, its lifecycle, which data it consumes, which data it produces. A program is always part of an information system. Means data come in, got processed, and go out. And here is the majority of development type is consumed, ensuring that the data is correctly processed.

Programming concepts like type checking, memory safety, paradigms (oop, functional, relational,...), formal verification,... are all about data. Code always come in second place. So think hard about your data and its transformation.

Re:Digital Minimalism on Saturday October 31, 2026 @07:21AM (#50314989)
> beside social media minimalism I am also a big fan of compute minimalism. I don't use VScode with 100+ plugins or a zsh maxed up with so much bells and whistles

That’s what I thought the article would talk about. If it were social media, I’d rather buy a cheap used phone, put the app on it, and turn it on only when I want to check something. Then it’s off. But I deleted/haven’t logged into my accounts for years now.

As for as minimal compute goes. my daily driver is an old laptop I put OpenBSD on. I also have an m1 air that I mostly use for shopping and meeting. Then an iPad for reading. But the key thing is that app and software are tools. It’s either tied to an activity (even relaxing ones) or it’s not used. No ricing or theming, just basic configuration to get the job done.

Re:Official Claude Code extension compromise on Friday October 30, 2026 @10:30PM (#50312683)
> Code signing, yes, but not for organization verification

They don’t do organization verification, but they do verify where code comes from. You may be sure that packages are built by alpine, which made sure that the dist files comes from the sources that the maintainers added, and the latter ensure that the sources are correct. In truth, it’s a very small circle of trust.

Re:Building an AI-native engineering org on Friday October 30, 2026 @10:08PM (#50312579)
> You want them to make code more simple and elegant by themselves, no other direction?

No, he wants a project where AI is used as a major help, but the result tend towards good code, i.e readable and well abstracted. Even if the cost is high, just an example where you can extract the best practices of using AI coding.

Re:Building an AI-native engineering org on Friday October 30, 2026 @08:16PM (#50311891)
> But now the cost of writing custom tooling has changed. These custom tools might be sloppy because vibe-coded but we wouldn't have them otherwise

There’s a lot of good tools out there that are not used, either because of ignorance of their existence or lack of expertise. An hour of config can pay real dividend later.

And sometimes you just use some unix utilities and hack a bash script while testing things out.

Re:AI Isn't Replacing SREs. It's Deskilling Them on Friday October 30, 2026 @07:52PM (#50311693)
> Let’s say you have an incident, and you need a resolution. Do you send out the AI for the hunt and fix it within 5 minutes, or spend 30 minutes going around, figuring out the problem yourself?

Let’s say you have an incident, and you need a resolution. Do you spend 5 minutes tinking, then solving the problem or send out the AI for the hunt and spend 30 minutes grappling with hallucinations and non-sensical output?

The 5 minutes I’ve seen is usually by someone that will send the complete output to someone else to decipher, while saying they have figured it out. Then they’ll turn into a meat proxy between the team and the agent.

In real life, for systems where incidents that require such rapid responses, you usually have fail-safes an killswitches. When you were designing your system, did you put in place alerts and monitoring to mitigate risks?

Re:The $6.3B Binance Hack Was Pulled Off in Just 20 Minutes on Friday October 30, 2026 @11:55AM (#50305753)
> these randoms assuming foreign banks accept every human is really funny,

Did I imply that? Creating a bank account in my country is an adventure on its own. If I got 50 USD in my wallet, I can exchange it somewhere and pay for food and whatever. My crypto account requires a computer, an internet connection, and someone willing to take it (no one around here).

Re:The $6.3B Binance Hack Was Pulled Off in Just 20 Minutes on Friday October 30, 2026 @11:17AM (#50305132)
My wealth may be decentralized, but my body is in one location and pretty vulnerable to the 5 dollar wrench. Putting some emergency money in a foreign bank account and a bag is a much better option if I wanted to flee a country.
Re:Backdoors in official Claude Code extensions on Friday October 30, 2026 @08:11AM (#50302845)
It always about “we solved the bottleneck in coding”. But the slowness was not about typing, or finding docs. It’s always about ensuring screwups don’t happen.
Re:The importance of communities around software on Thursday October 29, 2026 @07:50PM (#50297914)
> "Resisting" is like refusing to use a shovel at your ditch-digging job

If they come to me with a cartoon-like contraception that comes straight from Acme, you can understand how reluctant I am to not be blown up like Coyote.

Re:NetBSD adds a new beginner-friendly text editor called atto on Thursday October 29, 2026 @05:33PM (#50296400)
Emacs called it “point” which is not as far. The cursor is just the visible widget.
Re:Zombie stats: Where the numbers AI quotes come from on Thursday October 29, 2026 @04:41PM (#50295592)
> does the sourcing and information then become more valuable? Or are we going to finally be ok with ambiguity as humans?

I think they do become more valuable. Who said something and who believe it is equally as important as what was said.

Re:Zombie stats: Where the numbers AI quotes come from on Thursday October 29, 2026 @02:06PM (#50293364)
Not sure why a solution is even needed. If I had to compile all the resources I had consulted for something like C programming, they wouldn't amount to a single shelf. I would say the same thing for research where the amount of sources is still very low. It's kinda reminded me of the big paper manuals and books before the internet. I don't think the whole library of congress was needed to write UNIX.

So AI being a source of truth and information is not a something that important. It's a generator and we should use it as such, getting it to map domains and repeating patterns. It should not be used as an encyclopedia or oracle.

Older »