News for hackers. Stuff that matters.

impoppy

Re:Type Server Protocol on Monday October 26, 2026 @11:21PM (#50254373)
It’s really good that folks over at Astral decided to implement it. It was difficult for me to understand what does this protocol provide that couldn’t be implemented with a new LSP capability, the linked document doesn’t really explain that, but what did become clear to me is that seemingly Microsoft are trying to invent new features for their proprietary LSP server that only works in VS Code so people will have harder times switching to other editors. This way, no matter what Microsoft comes up with, will be matched with very high quality open source tools.
Re:Someone behind the software on Monday October 19, 2026 @02:27AM (#50149027)
I read this article and the first thing I thought about is “What kind of a mind created FFmpeg?”. And, turns out, an exceptional brilliant mind — it’s the same person who created QEMU and tcc. But, having interacted with FFmpeg CLI, maybe also an overly pedantic and insufferable mind. A mind that is inhumanly brilliant and expects everyone around them to be as smart. Which is fair for FFmpeg — it chose accuracy over convenience. But the interface is so obtuse it’s unreal. It’s the radial opposite of what the article is praising.

His website is also incredibly fitting. You couldn’t possibly come up with a more fitting website for a person like him.

https://bellard.org

Re:Passkeys are a trap. Do not use them on Monday October 12, 2026 @03:01AM (#50052378)
If that’s the case, then there’s even less to be done, isn’t there?
Re:Passkeys are a trap. Do not use them on Monday October 12, 2026 @02:03AM (#50051920)
First of all, what’s wrong with the author, if you have to read through 14 paragraphs to finally reach the point where they actually write on the topic directly.

Second, I think the article is really silly. If they are concerned that eventually service providers might restrict passkey authentication to authorized passkey providers, what prevents them from disabling password/TOTP authentication? That’s just silly. I’ll use passkeys while they are convenient. If service providers start disallowing my passkey provider, I’ll either switch to password/TOTP if that’s possible or just stop using the service whatsoever. What’s the big deal?

Re:Gleam doesn't compile to Erlang source anymore on Tuesday October 06, 2026 @09:14AM (#49977966)
This raises an obvious question. Why Gleam team weren't doing that in the first place? Obviously they didn't have direct Gleam AST -> Erlang source pipeline, they must have had to build some their own custom Erlang AST representation that they then translated into the source code.
>Raymond has been involved in the evolution of Windows for more than 30 years. He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.
Re:Desk for people who work at home with a cat on Friday March 27, 2026 @02:08PM (#47546192)
That’s silly. Cat will get on your keyboard anyway. The only real solution is to get heated floors. So my cat prefers sitting under my chair or desk and never gets on it.
Re:Start all of your commands with a comma on Saturday February 07, 2026 @06:40AM (#46923062)
Why so many people use ~/bin/? What’s wrong with ~/.local/bin?
Re:The C3 Programming Language on Saturday January 03, 2026 @01:47PM (#46480093)
Competing with each other would be trying to one-up each other feature-wise, whereas what I have witnessed was things like discussing trade-offs made in different languages and juggling around ideas on if some feature from language A would make sense in language B too.
Re:The C3 Programming Language on Saturday January 03, 2026 @12:26PM (#46479203)
I haven’t tried C3 myself, but I happened to interact a lot with Christopher Lerno, Ginger Bill and multiple Zig maintainers before. Was great to learn that C3, Odin and Zig weren’t competing with each other but instead learn from each other and discuss various trade-offs they made when designing their languages. Generally was a very pleasant experience to learn from them on how and why they implemented building differently or what itch they were scratching when choosing or refusing to implement certain features.
Re:Avoid UUIDv4 Primary Keys on Monday December 15, 2025 @02:29PM (#46279236)
This is such a mediocre article. It provides plenty of valid reasons to consider avoiding UUID in databases, however, it doesn’t say what should be used should one want primary keys that are not easy to predict. The XOR alternative is too primitive and, well, whereas I get why should I consider avoiding UUID, then what should I use instead?
Re:Notes on Switching to Helix from Vim on Friday October 10, 2025 @01:58PM (#45541855)
I switched to Helix a year ago and I’m very happy about it. I used to spend way too much of my free time configuring my editor and now that I can’t do that I use my free time to actually write some code!

Show HN: An asynchronous database connection manager for Python

https://github.com/ansipunk/based

Hello HN! I made this library because there doesn't seem to be one good way to manage database connections in Python. Functions provided by SQLAlchemy and database drivers are either very bare-bone or outdated ux (dx?) wise.I used to really love databases[1], but its code is a mess[2], adding new backends is difficult and now it's archived. I wanted to have a similarly simple API and ability to...

( Read More... | no comments | on HN )
Re:Show HN: Run any GUI app in the terminal with term.everything on Wednesday September 10, 2025 @11:50AM (#45199498)
Can it run Doom?
Crazy to have lawyer dogs before flying cars
Why would therapy dogs craft legal loopholes in the first place
All jokes aside, it's too big of a pain in the ass to have that stuff version controlled. Those file formats weren't meant to be version controlled. If there's persistent Ctrl-Z that's good enough and that's the only thing non technical people expect to have. Software should be empathetic and the most empathetic way to have the project available everywhere is either give people a remote machine they can connect to or somehow share the same editor state across all machines without any extra steps.
Video editing is not as portable as coding, there ain't no git. It doesn't surprise me that they have to do that, I imagine it's simply speedier and comfier to connect to a desktop that already has the work in progress in the latest state instead of ensuring everything is synced on different devices one uses. I also imagine that beefy MBPs with M3 and upwards could handle 4K editing of Severance (or maybe 8K) and they'd edit on local machines, should it be actually more convenient than connecting to a remote desktop. It's a bit shameful to admit, but still something we have to deal with while having such crazy advances in technology.
Will it lock the GIL if you use thread executor with asyncio for a native c / ffi extension? If that’s the case, that would also add to benefits of asyncio.
Re:Show HN: I completed shipping my desktop app on Saturday January 04, 2025 @12:34PM (#42596216)
Ah yes, another paid ffmpeg wrapper for macOS users.
Re:The Trap of "I am not an Extrovert" on Thursday December 26, 2024 @07:40AM (#42514837)
This was the best explanation. I forgot I used to be this awkward as well for many years and the autopilot/manual analogy is just great. I did get much better at this though through lots of practice and patiently wasting my mental energy and having many awkward interactions, now it’s all just natural to me. I’ll be called an ableist and downvoted, however, I don’t really understand what’s stopping others from suffering through discomfort to get used to it and not see it as discomfort anymore. Although I did get lucky with my friends groups at the university and first companies I worked for.
Re:The Trap of "I am not an Extrovert" on Thursday December 26, 2024 @06:02AM (#42514483)
Introverts, fight me.

What’s up with “you extroverts don’t understand we have very limited capacity for socialization?” I simply cannot comprehend how something as enjoyable as spending time with people you like can be so mentally taxing?

I tend to think that it’s because of the attitude that implies that the one has to waste mental energy on having a good time.

Do you think the future is behind depth analysis from 2D pictures rather than in lidar scanning? I know lidars are quite pricey, but I haven’t heard of regular camera breakthroughs in the domain.
How did Waymo do this? As far as I know, replacing drivers with an AI was the goal of ever-money-losing Uber and Lyft, however, Waymo managed to get to this much sooner while having less funds.
Re:From where I left on Tuesday December 10, 2024 @05:42PM (#42382478)
It’s really sad that antitez and other people involved with Redis have to deal with all that backlash and what’s even more sad is that people are going for Valkey now. All this breach of trust bullshit imo comes from blind purism that ignores the real reason behind the license change. Valkey is largely sponsored by AWS and other big tech companies so they can have community maintained storage because they cannot use Redis anymore. I hope people will open their fucking eyes for a moment and see that Redis is trying to prevent the big tech to make enormous profits from what people were thanklessly building and maintaining together for many years.

Older »