Khafra (@KhafraDev) profile picture

https://nitter.cf/t.co/n61HkMyWwN - https://nitter.cf/t.co/A1VAKwd7Sn (Node.js Core Collaborator)

Joined August 2020
Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)Photo by Khafra (@KhafraDev)
JUST IN: Riemann Hypothesis has been solved. alpo.ge/remark.pdf
1,820
8,147
5,405
61,504
15,674,958
Due to AI, I have disabled external pull requests on all my repos. Open source, as we have known it, was fun while it lasted. (It’s been 15 years for me) I will still maintain projects and handle issues.
154
114
78
2,523
555,993
We made a huge mistake with the Fetch API. We brought it to the server.
10
6
2
82
23,624
Yesterday I spent the entire day “coding” with my AI. Together we built a solid architecture. What did I do next? I told the AI: drop the worktree, delete everything. In a sense, you could say I wasted my whole Saturday. I tried something, and instead of letting the AI keep working on it, I chose to say no. Knowing when to say no, and then moving on, is an important skill. It applies just as much to a career. Many people stay stuck because they are told to do X, Y, and Z and cannot bring themselves to refuse. They waste years meeting other people’s expectations, only to realize later that they have been had. I have said no to many offers in my life. In a few cases, saying yes would have made me several times richer. I have no regrets. Had I said yes to everything, I would have been lost in pure mediocrity. You need focus. You must decide what actually needs to be done and do that, rather than everything else you might do. This remains true even if you are a junior in a bureaucratic setting. There are always moments when saying no is necessary for your own good. The same logic applies to AI coding. Your AI will happily generate enormous piles of code. It will offer to refactor the same code multiple times. It costs only a few tokens, why not say yes? Because that path leads straight to mediocrity. By saying no you will miss out. Perhaps the AI would have built a feature that truly mattered for your career. Sure. But you still have to say no a lot. Be picky. Be decisive. Have good taste.
21
11
1
195
21,824
Workers Cache — Your Cloudflare Worker now has its own tiered cache in front of it: blog.cloudflare.com/workers-… Workers Cache is a programmable tiered cache between Workers — even between code running in the same Worker we’ve seen pretty much every approach to caching over the years from our customers, and Workers Cache is the direct result of everything we’ve learned it takes all the workarounds and clever hacks we’ve seen to make sites and APIs fast, and simplifies them down to writing JavaScript and returning Cache-Control headers you can use for so much — for us this is like shipping 12 different things on the same day first up — you can use it to place your app near your database, cache its responses, and run code in front close to users:
16
65
20
403
90,331
Khafra retweeted
Node.js 26.1.0 is out, with a new `node:ffi` module, `crypto.randomUUIDv7()`, and many more features and bug fixes. Full changelog and download links: nodejs.org/en/blog/release/v…
13
80
11
670
112,778
Replying to @jarredsumner
They would put a substantial burned on maintainers as LLM-authored pull requests take a significantly more effort to go through. Even with the "it's only getting better from here" card, we aren't there yet, and in some areas, I doubt we'll be there at all. If your frontier models cannot correctly understand the architecture of your project, they cannot suggest meaningful contributions all of the time. LLMs work best with human guidance, and so does open source.
2
2
26
5,180
FFI support has landed in Node.js
5
14
3
102
23,847
Khafra retweeted
My favorite part of OSS is getting mad at people when they fork my stuff
8
14
597
19,915
The first rule of programming is: do not make things worse than they are. Chesterton's fence is the idea that you might encounter an apparently unnecessary fence in the country. It might be tempting to just remove it. But if you don't know why the fence is there, you might be making a costly mistake. The principle of Chesterton's fence, applied to an established software project, suggests that it is preferable not to modify the code, architecture, or processes without a thorough understanding of their purpose and implications. Any change, whether a refactor, update, or removal, must be robustly justified with clear arguments, such as measurable improvements in performance, maintainability, or user experience, to avoid unnecessary disruptions or unforeseen errors. It is stupidly easy to make changes that end up making the code worse, even when you are skilled and have good intentions. It is not a subjective matter. I repeatedly see attempts at optimization that are counterproductive. Maybe all you see is an old and dirty codebase. And you think that it should, obviously, be organized differently. And, importantly, you might be right !!! But, and this is just as important, you might totally wrong. Humility matters. Always keep in mind that you know less than you think, no matter who you are. We all tend to overestimate our understanding of the software. It is human nature. Make sure to listen to others who are trying to keep you honest. Learn to constantly doubt yourself, especially when you approach mature well tested code.
6
20
4
89
7,089
Khafra retweeted
Node.js 24 is here and it's looking good 😎🚀 Featuring updates to V8 v13.6, npm v11, improved Permission Model and more new features in the blog. Check it out and let us know what you think: hubs.ly/Q03lflT00
9
184
20
858
66,817
I implemented WebSockets from scratch by spec, because that's what Real Software Engineers do. If you use thirdparty libraries you're ngmi, unironically, sorry
99
236
48
5,289
359,320
I don’t really understand why people want a VC backed company to win against an open governed OSS project run by volunteers. I guess people fail to understand that if the company win, they will extract their value. But… if you want to pay some money, you can donate some now to the OSS project instead of waiting a few years!
28
12
5
303
116,982
📣 Today, the @nodejs Undici Working Group shipped Undici v7. This is a must have upgrade, with: • Stricter compliance with the fetch() specification • WebSocketStream • Customizable interceptors • Alignment with upcoming Node releases. ….and something really exciting…
3
37
4
309
26,621
BREAKING: DOJ antitrust officials have decided to ask a judge to force Google, $GOOGL, to sell off its Chrome browser
306
657
343
7,495
1,244,147
Replying to @ArrowoodTech
is it fetch() if it does not implement the spec?
1
1
New @nodejs 22.11.0 release. nodejs.org/en/blog/release/v… This marks the transition of the Node.js 22.x release line into Long Term Support (LTS). The 22.x release line now moves into "Active LTS" until October 2025, and then "Maintenance" until end of life in April 2027.
2
64
12
168
40,438