HNHacker News
TopNewBestAskShowJobs

diath

1,232 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 Making Video Games in 2025 (without an engine)
There's also a middle ground - using a framework that already abstracts away things like graphics, window, audio and input handling but acts as a "bring your own engine" base. This is probably the best if you have a specific type of game in mind where generic solutions wouldn't really work. Things like Raylib, SFML, Love2D and so on are a great compromise.
diath··on Show HN: uBlock filter list to blur all Instagram Reels
When you press "For you" at the top in the Instagram app (or the logo if it doesn't fully load), you can switch to "Following" and it will show you posts from only your friends from the past 30 days, and if you're using Instagram in the browser, you can bookmark https://www.instagram.com/?variant=following if you want it to be the default page you go to.
diath··on The most-seen UI on the internet? Redesigning turnstile and challenge pages
Will this also be accompanied by a global Turnstile outage like all the other Cloudflare services that get touched? If they end up vibeslopping the redesign like they did with this article, it may just happen.
diath··on FreeBSD doesn't have Wi-Fi driver for my old MacBook, so AI built one for me
The primary reason why it worked is because Claude could rip off the Linux driver. Without any prior work to rely on, how will the AI figure out proprietary hardware?
diath··on Why is Claude an Electron app?
> To build gtk you are hit with GPL which sucks.

It's LGPL, all you have to do is link GTK dynamically instead of statically to comply.

> to build win32 you have to pay developer fee to Microsoft.

You don't.

diath··on AI uBlock Blacklist
According to uBlock Origin it blocked 9.5 million requests to ads/third party trackers since I installed it. So yes, it's very much needed.
diath··on Wikipedia deprecates Archive.today, starts removing archive links
> Whomever it is, they have lot of info about HN users' reading habits given that archive.today URLs are so heavily promoted by HN submitters, commenters and moderators

It's not promoted, it's just used as a paywall bypass so everyone can read the linked article.

diath··on -fbounds-safety: Enforcing bounds safety for C
There's a blog post from Google about this topic as well where they found that inserting bound checking into standard library functions (in this case C++) had a mere 0.3% negative performance impact on their services: https://security.googleblog.com/2024/11/retrofitting-spatial...

For people using Clang you can read more about libc++ hardening at https://libcxx.llvm.org/Hardening.html

diath··on Closing this as we are no longer pursuing Swift adoption
> If those "popular websites" are the likes of Facebook and Instagram, I don't see that as a big loss.

Personally I wouldn't mind either but my point is that they probably want to cater to the average person, and not just security conscious tech savvy people, and if that's the case, then you really can't exclude FB/IG/YT and others from working properly in your browser.

diath··on Closing this as we are no longer pursuing Swift adoption
Do your hobbies revolve around the benefits for your employer? I don't mean it in a snarky way either, but given that Rust was initially written in OCaml, you could see how it could go like "I like programming, I like type systems but I want something procedural over functional so let me give it a go".
diath··on Closing this as we are no longer pursuing Swift adoption
> Why did Ladybird even attempt this with Swift, but (I presume) not with Rust? I

Probably the same reason why Rust is problematic in game development. The borrow checker and idiomatic Rust do not go well together with things that demand cyclic dependencies/references. Obviously there are ways around it but they're not very ergonomic/productive.

diath··on Closing this as we are no longer pursuing Swift adoption
Rust initially started as a hobby project of a person who happened to be a Mozilla employee and later got sponsored by the foundation however it was not a language that was specifically designed with browsers in mind.
diath··on Closing this as we are no longer pursuing Swift adoption
There's just too many defense mechanisms on popular websites that would simply make Ladybird flagged as a bot and render the website unusable. I wouldn't mind a toggle to switch between this and normal behavior but having that as a default would be bad for wider adoption.
diath··on Sizing chaos
Food desires are simply addictions like smoking. If you cease consuming high amounts of processed food and sugar (through the inhibition of hunger), then you also kill these cravings.
diath··on Sizing chaos
The only thing that GLP-1 agonists prove is that CICO does indeed work - if you force yourself into a caloric deficit through the inhibition of hunger hormones using drugs that you will lose weight. It has nothing to do with people choosing to eat highly processed unhealthy foods over healthier options. When you're on Ozempic or peptides like Retatrutide/Tirzepatide you don't think "I will not eat a bag of chips today because it's unhealthy and calorie dense", you simply don't think about eating because your feeling of hunger is inhibited.
diath··on Sizing chaos
The issue is not the sizes, the issue is the obesity epidemic. According to CDC [1] the average woman in the US is 5'3" weighing 172lbs. That's not just overweight but rather first degree of obesity. I guess you could argue that sizes should catch up to the demands when half of your population is straight up fat but I feel like a better angle would be educating people that 1500 kcal worth of Starbucks sugar for breakfast is not healthy.

[1] https://www.cdc.gov/nchs/fastats/body-measurements.htm

diath··on Lessons from Zig
C++ instead needs language editions, legacy and modern. Let compilers implement a switch for which edition you're targeting. Legacy does not touch backwards incompatibly changes or language features. Modern cleans up everything.
diath··on End of an era for me: no more self-hosted git
Easier said than done, I have 700k requests from bots in my access.log coming from 15k different IP addresses.

:: ~/website ‹master*› » rg '(GPTBot|ClaudeBot|Bytespider|Amazonbot)' access.log | awk '{print $1}' | sort -u | wc -l

15163

diath··on Discord/Twitch/Snapchat age verification bypass
No other chat platform has as many seamless features and such a big userbase. The friction of verifying the identity for a random person that doesn't care about privacy is not really a big deal compared to the downgrade that migrating to another platform would be.
diath··on Xfwl4 – The Roadmap for a Xfce Wayland Compositor
> Surely if all these merge requests were of huge value

There were a lot of MRs with valuable changes however Red Hat wanted certain features to be exclusive to Wayland to make the alternative more appealing to people so they actively blocked these MRs from progressing.

> someone could have forked the project and be very happy with all the changes, right?

That's precisely what happened, one of the biggest contributors and maintainers got bullied by Red Hat from the project for trying to make X11 work and decided to create X11Libre (https://github.com/X11Libre/xserver) which is now getting all these fancy features that previously were not possible to get into X11 due to Red Hat actively sabotaging the project in their attempt to turn Linux into their own corporate equivalent of Windows/macOS.

diath··on Xfwl4 – The Roadmap for a Xfce Wayland Compositor
What do you mean nobody wants to improve X11? There were developers with dozens of open merge requests with numerous improvements to X11 that were being actively ignored/held back by IBM/Red Hat because they wanted Wayland, their corporate project, to succeed instead.
diath··on Wine-Staging 11.1 Adds Patches for Enabling Recent Photoshop Versions on Linux
This is just for the installer so it saves you the "install on Windows and move files to Linux" step however the Adobe suite still runs poorly in WINE.
diath··on December in Servo: multiple windows, proxy support, better caching, and more
The FAQ says:

> We are targeting Summer 2026 for a first Alpha version on Linux and macOS. This will be aimed at developers and early adopters.

With that being said, building Ladybird is quite trivial, the scripts in the repo take care of everything, it just takes some time.

diath··on Why does SSH send 100 packets per keystroke?
> It is trivial to do 10x that packet per second rate.

When making this statement, are you taking into account that SSH encrypts the traffic by default?

diath··on We put Claude Code in Rollercoaster Tycoon
> Yet another reason to use Jujutsu

And what would that reason be? You can git revert a git revert.

diath··on Eat Real Food
> too bad there's such a focus on animal protein/products,

Non-animal protein sources (like soy and beans) have very poor bioavailability.

diath··on Eat Real Food
Fish, lean beef, chicken, eggs, kefir, milk, cheese, rice, potatoes, EVOO, fruit and vegetables is all you need for peak athletic performance and optimal hormonal profile.
diath··on Can I start using Wayland in 2026?
> But rather quickly, after moving and resizing browser windows, the GPU process dies with messages like the following and, for example, WebGL is no longer hardware accelerated:

Is this specific to the WM he used or does HW acceleration straight up not work in browsers under Wayland? That to me seems like a complete deal breaker.

diath··on KDE onboarding is good now
It is normal for KDE. KDE is mockingly called KrashDE in Linux circles for a reason. We're only 4 days into 2026 and there's already dozens of crash-related bugs filled in the bug tracker: https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMED&bug_...

Even things as basic as handling the wallpapers was crashing users' desktops up until recently: https://www.phoronix.com/news/Plasma-6.5-Crash-Fixes

diath··on KDE onboarding is good now
Because distros usually ship only one specific version of a library. And different distros ship different versions of libraries. If you develop your software on Arch Linux targeting a specific version of an API of the library you're using, and another developer tries to build the same software on Debian, and another on Fedora, it's basically a gamble if your software is going to build or not. With vcpkg, you can pin libraries to their specific versions, to ensure that your project builds regardless of the environment.
← PreviousPage 4 of 12Next →