HNHacker News
TopNewBestAskShowJobs

vbezhenar

16,222 karma · joined September 23, 2014

https://vbezhenar.com/
submissionscomments
vbezhenar··on No, it doesn't cost Anthropic $5k per Claude Code user
Why does Claude charge 10x for API, compared to subscriptions? They're not a monopoly, so one would expect margins to be thinner.
vbezhenar··on macOS Tahoe windows have different corner radiuses
> - A Cmd+C to copy and Ctrl+C for the interruption 7 in the terminal,

I really miss that in Linux. That said, some terminals implement smart Ctrl+C which will interrupt if there's no text selected and copy otherwise. But terminal I use (Gnome Console) does not, so I have to press Ctrl+Shift+C to copy text and then I press that in browser and everything exploded because it opens developer tools. So annoying.

vbezhenar··on UUID package coming to Go standard library
I didn't say about 16 random bytes. But you're almost there. You generate 16 random bytes and perform few bitwise operations to set version and variant bits correctly.

Not that it matters. I don't even think that there's a single piece of software in the world which would actually care about these bits rather than treating the whole byte array as opaque thing.

vbezhenar··on UUID package coming to Go standard library
Some things are actually hard to implement. I'd spent a lot of time trying to implement concurrent hashmap, for example. UUID is not one of these things.
vbezhenar··on UUID package coming to Go standard library
UUID is just array of 16 bytes or two 64-bit ints. Generating UUIDv4 is like few lines of code. Is that a big deal? I don't think so.
vbezhenar··on Tech employment now significantly worse than the 2008 or 2020 recessions
> somehow working and testable code,

And then 1x developer comes and rewrites it to actually work.

vbezhenar··on Good software knows when to stop
That's exactly what's happening on Anniversary servers. They crammed like 20 servers into one megaserver, so there are like 100 000 players on the same server and you're very unlikely to meet the same person twice.
vbezhenar··on Good software knows when to stop
> The LFG system basically killed most social interaction in WoW.

I started playing Anniversary vanilla one year ago. I played through it all and now I'm playing Anniversary TBC. I visited many dungeons. There's no LFG system, yet I didn't find any social interactions in dungeons. I'm pretty sure the whole social interactions thing is overblown. 99% of dungeons is like leader silently invites you or you write "inv holy pala GS 1400" and he silently invites you. You silently run through dungeons, silently leave. That's about it. There are no interactions. Zero. Some people write "hi" and "ty", some don't bother.

vbezhenar··on Good software knows when to stop
> Blizzard could have rolled back LFR/LFG, class homogenization, brought back complicated and unique talent trees, remove heirlooms, re-add group guests and world mini-bosses, remove flying, etc. and players likely would have been happy.

That would be a tremendous failure. There are millions of players who love LFR/LFG, who love somewhat balanced nature of the game, etc. You would lost all of them in favor of Classic players.

The truth is, a lot of changes Blizzard made to the game, were good ones. If you would browse WoW Classic forums, you'd find plenty of players requesting retail features to be added to Classic game. They want LFD because they're tired sitting for hours being denied for dungeons, because their class is not very good. They want class homogenization, because their beloved class is genuinely lacks tools to be useful.

When you make any change to the game, some player will love it and some player will hate it. Over time more and more players will feel alienated. But other players will come and they won't know other game. There's no simple solution here, other than maintain several versions of the game for different players. One size does not fit all.

vbezhenar··on Relax NG is a schema language for XML (2014)
XML is fundamentally incompatible with commonly used programming data structures, namely lists/arrays and structs/maps. That fundamental mismatch caused a lot of friction when people use XML for data exchange between programs. JSON is clear winner here.

XML is absolutely fine for data that maps naturally to it. For example text markup. While HTML technically is not XML, it's very close to it and XHTML still is a thing. Probably most people wouldn't enjoy using JSON to encode HTML pages.

vbezhenar··on AMD will bring its “Ryzen AI” processors to standard desktop PCs for first time
For some people maybe. I don't want to use local AI and NPU will be dead weight for me. Can't imagine a single task in my workflow that would benefit from AI.

It's similar to performance/effiency cores. I don't need power efficiency and I'd actually buy CPU that doesn't make that distinction.

vbezhenar··on MacBook Air with M5
There are Intel CPUs which come with bundled RAM. For example Intel Core Ultra 5 238V. It's like SoM: RAM is mounted directly on the CPU package, not even soldered on the motherboard. I'm not sure what particular advantages does that bring over traditional packaging, maybe shorter wires to allow for faster turnarounds between CPU and RAM. But there's zero chance of upgrading or replacing RAM for sure.
vbezhenar··on Lenovo’s new ThinkPads score 10/10 for repairability
I disabled possibility of updates in my BIOS, so I must first enter BIOS, enable updates in BIOS, then I have to tinker with my boot configuration as I'm using secureboot with custom keys and no bootloader, I also need to allow changing UEFI boot variables, well, lots of things I just don't want to do for my setup. A lot of moving parts with zero sense over something as simple as update from the USB drive.

Basically right now my setup is super simple and restricted and I have to make it significantly more complicated and insecure to allow fwupd to work.

vbezhenar··on Motorola GrapheneOS devices will be bootloader unlockable/relockable
As I understand that situation, GrapheneOS developers are super picky about hardware they want to support. So out of all android phones they decided to support only Google Pixel because only these phones provide good enough hardware support for security features they want to provide.

So likely no existing Motorola phones are good enough and only new ones, developed in collaboration with GrapheneOS developers, will be suitable.

vbezhenar··on Lenovo’s new ThinkPads score 10/10 for repairability
I own T14s Gen4 Intel and Linux support is perfect, even fingerprint reader works. Zero complaints. I'm mostly using it in clamshell mode connected via USB-C to display with backwards charging, it all just works! I'm also using secureboot with my keys, I cleared all MS keys and it didn't brick the laptop.

My only grievance is a bit buggy firmware. When I turn laptop on or reboot, speakers will randomly be muted (not a problem after OS boots, but for example in UEFI it'll either beep or not beep and that's random). UEFI interface was a bit buggy regarding mouse control, for example I've used to touch and drag things in boot order, but it didn't work and I have to actually press touchbar button down and keeping it like that move cursor. But touch drag works in other places. Not a big issue bit the first time I encountered it, I spent good few minutes trying to make sense of it, as I thought it just does not allow me to reorder boot entries or something like that. But these are small issues and once you've installed OS, you never deal with that.

Oh, and another complaint is that their BIOS update procedure is super weird. I have to find computer with Windows, download some exe, unpack things, find some BAT file and write to USB drive things, then boot from it. Theoretically they publish stuff to fwupd but I don't like this service. My best BIOS update experience was on Asus PC. I just put some bin file onto FAT32 USB drive, entered UEFI configuration, chose "update", selected that file and that's about it. Super easy, every manufacturer must implement this workflow.

Anyway I'm satistfied owner and my next laptop will likely be Thinkpad. Mostly because its stellar Linux support, but also because I didn't have any major issues with my current laptop.

vbezhenar··on Lenovo’s new ThinkPads score 10/10 for repairability
Yeah, it's weird. It's like one person writes articles for the whole world. Probably will be fixed in a few AI iterations to present more styles, but right now it's everywhere. Articles, even forum posts.
vbezhenar··on Daily Driving GrapheneOS
I know very little about lineageos. Their website contains very few docs, so I don't really understand what's this project is about. They don't mention Pixel 10, so I guess it's not supported.

GrapheneOS website in comparison contains a lot of things to read, so after a hour of thorough reading I had good impression what GrapheneOS is.

vbezhenar··on Daily Driving GrapheneOS
TBH What I wanted from the world is AOSP distribution. Built similarly to GrapheneOS in terms of distribution, ease of install. But I just don't feel I need all these privacy enhancements and stuff, I'm perfectly fine with ordinary system compiled from Google sources with proper update schedule. Also I don't want to see anything installed out of the box, except maybe single app to install AOSP apps, F-Droid, Play Store, just APK from the given URL. So basically almost empty mobile OS which user fully customizes, no predefined choices, no custom patches.
vbezhenar··on Daily Driving GrapheneOS
Yes, it's super simple to install GrapheneOS and to revert to the factory OS on Google Pixels. It is done from Chrome browser with phone connected via USB cable, no need to install anything. Of course when you'll switch, you'll lose all data on your phone, basically like factory reset (but esims survive I think).
vbezhenar··on Motorola announces a partnership with GrapheneOS
100% it's OEM, every chinese phone is built by some "you never heard about" company and later rebranded as Xiaomi or whatever.

Does it matter though? With big enough leverage OEM will provide docs and will adapt hardware. That will cost extra, of course.

vbezhenar··on iPhone 17e
> Nobody's really bothering with compact phones anymore, in the US or in the rest of the world. Bummer.

And the worst thing is that app developers do not bother with testing their apps on small phones. So even if someone would produce small phone, many apps would be broken on that UI. So there's no way back.

PS 4 inch is not a small phone. iPhone 4S had 3.5" display and it wasn't small, it was normal. Small is something like 2" screen I suppose. All modern phones including these "iPhone Minis" are egregiously huge.

vbezhenar··on WebMCP is available for early preview
Adblocker is only few clicks away and a surprisingly large amount of users running one. So they might not like it, but they already letting plenty of users to use agent that doesn't display the ads.
vbezhenar··on Why XML tags are so fundamental to Claude
Right now I'm writing adapter so people could call one SOAP service using simpler interfaces. That involves implementing WS-Security with non-standard algorithms, that also involves dealing with things like XML escaped into a string and embedded inside another XML.

Let's say I hope for the day I'll miss SOAP. Right now I have too much of it.

vbezhenar··on What does " 2>&1 " mean?
I don't have macos right now but I think that it doesn't have these files. What's worse is that bash emulates these files so they might even somewhat work, but not in all situations. I distinctly remember issues with this command:

    install /dev/stdin file <<EOF
    something
    EOF
vbezhenar··on Technical Excellence Is Not Enough
While I can't say that I observe that kind of radical shift for myself, one of the reasons I still can see something similar is AI development.

Basically manager asks me something and asks AI something.

I'm not always using so-called "common wisdom". I might decide to use library of framework that AI won't suggest. I might use technology that AI considers too old.

For example I suggested to write small Windows helper program with C, because it needs access to WinAPI; I know C very well; and we need to support old Windows versions back to Vista at least, preferably back to Windows XP. However AI suggest using Rust, because Rust is, well, today's hotness. It doesn't really care that I know very little of Rust, it doesn't really care that I would need to jump through certain hoops to build Rust on old Windows (if it's ever possible).

So in the end I suggest to use something that I can build and I have confidence in. AI suggests something that most internet texts written by passionate developers talk about.

But manager probably have doubts in me, because I'm not world-level trillion-dollar-worth celebrity, I'm just some grumpy old developer, so he might question my expertise using AI.

Maybe he's even right, who knows.

vbezhenar··on Terence Tao, at 8 years old (1984) [pdf]
I learned to read at age three or four, I think and I consumed every book I could find, including various math books, old chemistry books, etc. I didn't really understand anything there, but it was just fascinating to me to even touch that knowledge. So I'm a bit skeptic about these stories of children studying Plato.
vbezhenar··on Defer available in gcc and clang
One small nitpick: you don't need check before `free` call, using `free(NULL)` is fine.
vbezhenar··on I want to wash my car. The car wash is 50 meters away. Should I walk or drive?
It makes no sense to walk. So the whole question makes no sense as there's no real choice. It seems that LLM assumes "good faith" from the user side and tries to model the situation where that question actually makes sense, producing answer from that situation.

I think that's a valid problem with LLMs. They should recognize nonsense questions and answer "wut?".

vbezhenar··on Windows Notepad App Remote Code Execution Vulnerability
notepad.exe worked just fine.

Notepad++ is a monster software.

vbezhenar··on Another GitHub outage in the same day
I remember how crazy Skype originally was.

At my first company we used Skype to communicate with each other. Mostly chats and files.

One day our internet cable to the office got cut by someone. Well, we didn't realize that for some time, because Skype just continued to work without Internet. It was like a miracle. It was unique software, there's nothing like it even today.

I think that the first thing Microsoft did after they bought Skype is making Internet mandatory, probably to spy on all chats.

← PreviousPage 8 of 34Next →