HNHacker News
TopNewBestAskShowJobs

diath

1,225 karma · joined November 30, 2019

Software Engineering

C++, Python, Lua, TypeScript

Video Game Development, Linux, Automation, Software Modernization, Software Optimization, Backends

Deus Vult

submissionscomments
diath··on Discord is ditching Electron and its new app uses less RAM
In what way it isn't free? The LGPL license is fine for Discord's use case. There's only a small number of components that are GPL-only that would otherwise require the commercial license but none of them are required for Discord to work, all of the important ones are LGPL.
diath··on My gym forced a social media down my throat. So I reverse-engineered its app
It's quite impossible to actively participate in modern society without a phone anyway. And it's a personal business either way, you can choose another gym. I'm glad mine does QR entry because thanks to that it's open 24/7/365 when there's no staff, even during holidays like Christmas. You can just go anytime that's convenient for you, so it's a trade-off I'm willing to make.
diath··on sshole
Not sure why you're getting downvoted as from security standpoint that would be the right thing to do; but actual good server providers take it up a notch and allow you to upload the public key through their admin panel during server set up and the password you get only works locally for sudo etc. There's no reason why a fresh Linux setup should ever offer a publicly available SSH server with password based auth out of the box.
diath··on BYD sold more EVs last month than the US did all quarter
I've been in a few BYDs as a passenger, I actually cannot fathom people spending money on them considering how low/cheap quality the interiors are. Like those garbage thin fake leather seats will have to be replaced within a year of use tops. Oh and also we broke the trunk's bedding by putting a mere 40kg bag in it, it just straight up collapsed.
diath··on Ghostty 1.4
1) Personal preferences: different terminals come with different defaults, some people do not want to tinker with the settings, so they just stick with whatever immediately clicks.

2) Technical curiosity: some people probably started their own terminal project just for the fuck of having made their own - and they eventually gained a userbase.

3) Feature set: Most terminals implement most features these days, but at the time these projects started, you'd have a feature matrix between features and terminals because most terminals lacked some features; so people would pick whatever suited their needs.

Personally I've been using kitty for years mostly due to 3), at the time I chose my forever terminal, I evaluated like 12 different ones, and kitty was the only one that covered most of my needs without feeling like it suffers from random quirks, and I like that it has built-in terminal multiplexer (a'la tmux) and emoji picker.

diath··on Europe EV sales rose 70.3% in September, 32.6% of market share
The median monthly gross income in Poland as of 2026 is 7.6k PLN ($1.9k USD) and like 80-90% of it will go towards your living costs, EVs will probably be a thing here in a decade or so when there's second hand market for cheap used ones coming imported from richer countries.
diath··on macOS 15.8.2 Breaks OpenGL
ANGLE already does that: https://chromium.googlesource.com/angle/angle
diath··on X purges 13,000 accounts linked to suspected meddling ahead of US midterms
https://blog.cloudflare.com/yandex-outage/
diath··on I posted to HN, and then my website was flooded with AI bot traffic
I run a few private MMO servers, we have a website with a support forum, in order to post, you need to register, log in, fill in account data, then create a thread, each of these pages is protected by Turnstile as well as a general bot check for the website, we frequently get automated spam from RMT (real-money trade) services for the OG game. Turnstile is maybe effective against simple bots that just try to call curl/requests/whatever but if you have bots that use a browser driver it's completely useless.
diath··on Apple HomeView
So it's like a worse iPad with a mount?
diath··on A decade after Stardew Valley, Eric Barone is still going it alone
I mean I agree with you, if your goal is to turn ANY game into potential profit then the best way to tackle the problem is to vibecode quick friendslop/incremental titles (or whatever the flavor-of-the-game genre may be in the future) and proverbially keep throwing shit at the wall until something sticks. I was more hinting at the fact that passion-project-turned-retirement-money pipeline is almost entirely closed unless you get lucky.
diath··on A decade after Stardew Valley, Eric Barone is still going it alone
It's not really possible. Eric Barone was an unemployed bum working on the game full time while his girlfriend worked double shifts to support both of them financially, that alone means what took him years to finish, would take you a decade. Another thing is that during the time SV released, there were maybe around 50-80 of releases weekly on Steam, now it's in the upper hundreds - there's no organic discoverability anymore, what matters is having a good marketing campaign that requires high budget. And last but not least, with each passing year, the content requirement for games keeps going up - what could pass as a fully featured game a decade ago, would be called a boring game with no content today. All other games that blew up was mostly through sheer luck (look at Among Us being a <4k people game for 2 years before becoming one of the biggest games).
diath··on Show HN: PS2 games statically recompiled to WebAssembly
People who want to support a game studio will buy the game anyway. People who do not want to support the studio will pirate the game anyway. It's the same reason why piracy does not matter at all, those people weren't going to pay for your game either way.
diath··on Terence Tao: Math 2.0 [pdf]
> Before injecting this cocktail into your bloodstream, would you want to know that there is at least one human cancer expert who understands the mechanism behind this cure?

> Or a human mathematician who understands the mathematical model used to locate the cocktail?

If we're being fair to AI - it contains collective knowledge from all fields, which means it's probably less likely to miss something that a human would.

diath··on Why isn't the industry freaking out about DeepSeek 4.1 Flash?
AI does the work, it does not replace the thinking. It's like saying a tech lead in a project does not do any thinking because there's some junior dev doing tedious and boring tasks.
diath··on “Math 2.0” will need to value mathematical progress more holistically
> Byte-matching has been a side-effect of gaining an understanding of how the software works.

No? Decomp sources are often full of comments that claim that there's no clear reason as to why something is done a certain way or straight up full of question marks. Byte matching often is a result of bruteforcing a solution rather than understanding the original idea behind the code.

diath··on EV Sales Are Booming in Europe with Gasoline at $10 a Gallon
According to this data an average Brit would be able to save about 600 GBP monthly if they never had any extra expenses outside of rent and living costs. I don't think even a "good deal" 18k vehicle is affordable for that person.

https://movingtotheuk.co.uk/cost-of-living-in-the-uk/average...

https://movingtotheuk.co.uk/cost-of-living-in-the-uk

https://www.livingcost.net/united-kingdom

diath··on EV Sales Are Booming in Europe with Gasoline at $10 a Gallon
You're delusional if you think an EV is affordable for an average person. The average person barely makes enough to cover rent, food, bills and save a little money - 15-30k EUR for an entry level EV is out of question. Meanwhile most people can afford to get a late 90s/early 00s used car that will actually get the job done.
diath··on Small programming tricks
> But I still used the up/down arrow keys for years or scrolled up when I was looking for a previous command

It's not even that bad of a habit with zsh either where it will only scroll through history matching a substring in your history, for instance if I type "rg -i" and then start pressing up arrow, it will only cycle through history entries starting with "rg -i".

diath··on Flock worker calls police on reporter filming public camera installation
The company could have rejected the government deal if they cared about the moral aspect of spying on citizens instead of money; by accepting the deal and executing the contract they are complicit.
diath··on A Few Good Ideas in Programming Languages
I'm not asking about the syntax, I'm asking about the logic where a value can be equal to itself plus another value when the pre-condition is that it must be > 0.
diath··on A Few Good Ideas in Programming Languages

    out (; balance == balance + amount) // checked after method returns
How exactly does it work? Is this a typo?
diath··on Omarchy Is a Power Grab
You are free to donate your money to your project of choice.
diath··on Working with Git Worktrees in Magit
They are the right abstraction for people that do not want to relocate terabytes of their existing data and filesystem structure to migrate to some sort of an esoteric filesystem just so they can let a tool work "properly" according to some tech purists. I don't wanna worry about it at all, it just works behind the scenes.
diath··on Replacing a Rust Enum with a 64-Bit Word Made My Interpreter 17% Faster
Not necessarily, in C++ you'd still drop from smart pointers to raw pointers, from virtual dispatch to switches/computed gotos, from std::function to function pointers and so on. These abstractions all come at a cost.
diath··on Replacing a Rust Enum with a 64-Bit Word Made My Interpreter 17% Faster
Highly optimized code in hot paths is rarely readable.
diath··on Paint.net 5.2 alpha now runs on Linux
We're in a reply chain discussing a mob of digital artists exercising verbal violence against a digital painting software author who used LLM to assist with the code. This is literally an analogous situation.
diath··on Paint.net 5.2 alpha now runs on Linux
Makes no sense. I don't see physical artists being upset that their pencils were manufactured in a factory instead of hand made.
diath··on Building my own network stack
Huh. Boomers really did live their lives on tutorial mode.
diath··on Building my own network stack
...what kind of credentials did you have to become a hw/sw engineer at a nuclear power plant as your first job?
Page 1 of 12Next →