HNHacker News
TopNewBestAskShowJobs

ansipunk

586 karma · joined March 9, 2021

submissionscomments
ansipunk··on We ran AI agent swarms in Minecraft and Mindustry
No image recognition, the bot gathers info about the game from Dota's developer API. Which, to be fair, is a massive advantage, but it, in my opinion, doesn't make the achievement any less.
ansipunk··on We ran AI agent swarms in Minecraft and Mindustry
That's what I said in my comment, that LLM is just not what you want for such a task.
ansipunk··on We ran AI agent swarms in Minecraft and Mindustry
It is impressive, but it is also a display that LLMs are simply not suited for this, there's way too much latency. Obviously, a more specialized neural network would be much better, but would you believe this:

In 2017, OpenAI presented the first version of their program that plays Dota 2, a very complex, fast MOBA with endless mechanics and defeated one of the world champions in a one-on-one match. Next year, they showed the world OpenAI Five, a version of the program, that runs a full five player team of those bots and they managed to defeat a full team of world champions in 2019. They ran an event where the bots would play for 4 days straight and they won 99.4% of 42,729 matches.

https://en.wikipedia.org/wiki/OpenAI_Five

ansipunk··on Type Server Protocol
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.
ansipunk··on Someone behind the software
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

ansipunk··on Passkeys are a trap
If that’s the case, then there’s even less to be done, isn’t there?
ansipunk··on Passkeys are a trap
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?

ansipunk··on Gleam doesn't compile to Erlang source anymore
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.
ansipunk··on What algorithm did Windows XP use to choose your initial user picture?
>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.
ansipunk··on Desk for people who work at home with a cat
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.
ansipunk··on Start all of your commands with a comma (2009)
Why so many people use ~/bin/? What’s wrong with ~/.local/bin?
ansipunk··on The C3 Programming Language
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.
ansipunk··on The C3 Programming Language
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.
ansipunk··on Avoid UUID Version 4 Primary Keys in Postgres
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?
ansipunk··on Notes on switching to Helix from Vim
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!
ansipunk··on Show HN: Term.everything – Run any GUI app in the terminal
Can it run Doom?
ansipunk··on Therapy dogs: stop crafting loopholes to fair, reasonable laws
Crazy to have lawyer dogs before flying cars
ansipunk··on Therapy dogs: stop crafting loopholes to fair, reasonable laws
Why would therapy dogs craft legal loopholes in the first place
ansipunk··on Why Apple's Severance gets edited over remote desktop software
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.
ansipunk··on Why Apple's Severance gets edited over remote desktop software
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.
ansipunk··on Show HN: Kreuzberg – Modern async Python library for document text extraction
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.
ansipunk··on Show HN: I completed shipping my desktop app
Ah yes, another paid ffmpeg wrapper for macOS users.
ansipunk··on The trap of "I am not an extrovert"
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.
ansipunk··on A comparison to Waymo’s auto liability insurance claims at 25M miles
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.
ansipunk··on A comparison to Waymo’s auto liability insurance claims at 25M miles
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.
ansipunk··on From where I left
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.
ansipunk··on React 19
It doesn't necessarily mean that React does it right. When building React apps, developers spend too much time on designing architecture for many things that should have been taken care of by the tools they are using. The more I am in web development, be it backend or frontend, the more I'm disappointed that declarative programming is still not a thing. One too many hours wasted on reducing boilerplate, replacing big boilerplate with smaller boilerplate, optimizing boilerplate and writing that boilerplate. While still being far from perfect, other frameworks like Vue and Svelte do great job at making the developer write less boilerplate and more business logic.
ansipunk··on Why did Windows 95 setup use three operating systems?
> 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.

Way to go Mr. Raymond!

ansipunk··on Hash Ordering and Hyrum's Law
Didn’t Python tackle a similar problem? I remember that dictionaries were known to be unsorted, however, when writing tests, I’ve noticed that the items were always in the same order. I don’t remember what was I looking up, but my manager and I came to a conclusion that depending on order items of a dictionary was acceptable and having to fix the tests if they somehow broke later was an okay tradeoff. Now, reading Python docs on that topic, they briefly[1] mention that dictionaries’ list views yield items in the order they were inserted without any mentions if items are sorted or not.

[1] briefly in this regard means I’ve seen it in the docs exactly once without much attention paid to that sentence

https://docs.python.org/3/tutorial/datastructures.html#dicti...

ansipunk··on Losing My Hands
There was another story from a guy who suffered a PTSD from coding too much, who would have literal panic attacks whenever he would work on something. If you remember it, could you please link the story?
Page 1 of 3Next →