HNHacker News
TopNewBestAskShowJobs

Arch-TK

3,093 karma · joined October 10, 2016

Any sufficiently advanced type system is indistinguishable from an esolang.

---

C++ can remain irrational longer than you can remain sane.

---

There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.

- C. A. R. Hoare (RIP)

submissionscomments
Arch-TK··on The state of SIMD in Rust in 2025
From what I know of -ffast-math and can read from the docs for *_fast. I am not convinced that the *_fast intrinsics do _everything_ -ffast-math allows. They seem focused around algebraic equivalence (a/b is equivalent to a*(1/b) ) and assumptions of finite math. There's a few other things that -ffast-math allows like ignoring certain errors, ignoring the existence of signed zero, ignoring signalling NaN handling, ignoring SIGFPE handling, etc...
Arch-TK··on The state of SIMD in Rust in 2025
not just any largest software corporation, one of my two least favourite largest software corporations on the planet.
Arch-TK··on The state of SIMD in Rust in 2025
It's not something you seem to be able to just enable globally. From what I gather this is what is being referenced:

https://doc.rust-lang.org/std/intrinsics/index.html

Specifically the *_fast intrinsics.

Arch-TK··on Server DRAM prices surge 50% as AI-induced memory shortage hits hyperscalers
Server DRAM? More like all DRAM.
Arch-TK··on Tech workers' fight for living wages and a 32-hour workweek is a battle for all
I specifically meant in the world of IT or really any creative work.
Arch-TK··on Tech workers' fight for living wages and a 32-hour workweek is a battle for all
Companies are constantly striving to compete. Being able to do more with the same amount of staff and therefore salary is a big part of that. The moment you let your workforce reduce their hours just because they are more productive is the moment a competitor gains extra productivity compared to you by simply not following suit.

If you want to work less, you need unions, government intervention, or some other form of organization (e.g. a change in the status quo).

Arch-TK··on Tech workers' fight for living wages and a 32-hour workweek is a battle for all
Do you think meaningfully more work will get done in those countries with those extra 8 hours?
Arch-TK··on Facts about throwing good parties
It was most likely garlic and olive oil (and salt and pasta water).
Arch-TK··on Free software scares normal people
The remote thing seems like a perfect use of 3D printing. With the tape there, there is still a risk someone will sit on the remote and get their device into a weird state. A 3D printed cover which clips over would be rigid enough to prevent any accidents, and easy to remove if some power user needs to do something unusual.
Arch-TK··on Minecraft HDL, an HDL for Redstone
Redstone isn't a mod. It was added to Minecraft in a secret Friday update in the early days around alpha iirc.
Arch-TK··on Minecraft HDL, an HDL for Redstone
Red Power was (is... Kind of) an extension not a fork. Although you could call it more an reinterpretation.

But really RP vs Redstone is more like C vs Assembly. I've seen crazy things done in both but I think I find it a bit more impressive when people use pure Redstone to get things done. There are so many dimensions where you both need to understand the mechanics and where there are opportunities for optimization.

The turtle mod you are talking about is ComputerCraft.

Arch-TK··on Minecraft HDL, an HDL for Redstone
Ah, damn. I was envisioning something limited but not this limited.
Arch-TK··on Minecraft HDL, an HDL for Redstone
This is an amazing timeline. I still remember the day redstone was added to Minecraft. I spent the entire evening and many days afterwards on the forum brainstorming how to implement various things. I think I had one of the first if not the first T flip flop, it "took an entire room" and was slow. It has been crazy watching things get compacted, repeaters getting added, pistons, comparators. I remember when BUDs got discovered and then eventually just added as a block.

Now* we have an entire HDL.

I honestly stopped keeping track of things around 2012 so I am completely lost looking at modern redstone contraptions.

*8 years ago

Arch-TK··on Rust cross-platform GPUI components
GPLv3-or-later is currently almost the same as GPLv3-only at the moment given there is no GPLv4.

The reason why it's not possible to include GPLv3-only code in a GPLv3-or-later codebase is that the latter is more permissive, allowing the FSF to release an updated version of the GPL.

They won't make GPLv4 any less copyleft and more permissive than GPLv3, if they ever do make one. At worst, the GPLv4 will cause some commercial user of the code to be even more inconvenienced.

Arch-TK··on Rust cross-platform GPUI components
GPLv3-or-later is pretty commonplace in the world of free software even outside of GNU stuff.
Arch-TK··on Rust cross-platform GPUI components
You can freely charge money with either GPLv3-only or GPLv3-or-later.

I am not asking them to remove GPLv3-only and replace it with MIT, I am asking them to use GPLv3-or-later.

Arch-TK··on Rust cross-platform GPUI components
The thing that irks me about slint is the use of the more restrictive GPLv3-only which prevents it from being incorporated into a project which is licensed GPLv3-or-later. I don't get why it is done like that.
Arch-TK··on OpenBSD 7.8
Not benchmarked on my system yet but I use OpenBSD on my home router (PCEngines APU2) and even before this stuff, OpenBSD could handle 1Gbit just fine. And that's with VLANs, LACP, a good number of PF rules, etc.
Arch-TK··on AWS multiple services outage in us-east-1
Okay, that helps for the case when you are affected. But what about the case when you are not affected and everyone else is? Doesn't that seem like good PR?

Take the hit of being down once every 10 years compared to being up for the remaining 9 that others are down.

Arch-TK··on An Unexpected Benefit from Quitting Coffee – 10 Months In
There is great decaff out there but the choice is nevertheless limited compared to caff and the processing (ethyl acetate, supercritical CO2, swiss water) causes flavour changes which mean that you won't get the same range of flavours as you will with caff. Although ethyl acetate causes some unique positive changes (IMO) so there is that.
Arch-TK··on Beaver-engineered dam in the Czech Republic
A lack of qualified experts is normally just mismanagement of resources/incentives.

Not sure how it requires 50 forms and 10 different physical offices to avoid deathtraps, that's kind of the situation in Poland (my home country) and the UK (where I live) has equivalent build quality with a lot less bureaucracy.

Arch-TK··on AWS multiple services outage in us-east-1
The point seems to be not that Hetzner will never have an outage, but rather that they have a track record of not having outages large enough for everyone to be affected.

Seems like large cloud providers, including AWS, are down quite regularly in comparison, and at such a scale that everything breaks for everyone involved.

Arch-TK··on Beaver-engineered dam in the Czech Republic
The problem isn't necessarily the need for permission, it is excessive bureaucracy.

As another commenter explained, the need for permission is there to prevent harm before it can occur, rather than punishing it after it occurs, because the harm can be of the sort which cannot be undone.

If I want to build and sell houses, I should be able to do it, but it shouldn't take going to 10 government offices, filling out 50 forms and waiting a year for someone to give me a permit. And then, once I have built it, it shouldn't take another year for someone to check I did it correctly.

Arch-TK··on United MAX Hit by Falling Object at 36,000 Feet
And a bunch of poorly written websites will break :P
Arch-TK··on Entire Linux Network stack diagram (2024)
It's more of a netfilter (the thing behind iptables and nftables) diagram rather than just iptables.

If you know how iptables maps to that diagram you are very likely to be able to quickly understand how nftables does too.

Arch-TK··on SQL Anti-Patterns
UUIDs take up 36 bytes as strings so store them natively as 16 bytes instead if you can.

This is still 2x the space of an auto increment number.

This is overhead for every table, every index, and every relationship.

That might be acceptable in your case though, the case where it became unacceptable in my experience was in a MSSQL Express context. But it was an idiotic decision to use MSSQL to begin with in that scenario.

Regarding random clustered indexes. Broadly speaking you want your clustered index to be made up of some incremental unique set of fields.

I mean, technically there is not a massive issue, but the largest tables in your database will be the non-indexes (indexes are just tables) and you want your big, mainly append only, tables to be nicely compact so a bunch of space isn't taken up by half full pages.

But again, I should honestly have clarified that the problem was mainly an MSSQL Express problem where databases are limited to 10GiB.

You might honestly be fine, but do look for documentation on your specific database.

Arch-TK··on Show HN: Newcomer Ranking – Alternative to GitHub Trending for New Repos
Even if an LLM came up with the idea for using an LLM to come up with project ideas, then implementing those project ideas, then posting those projects on HN and representing the project on HN. Someone set up the first LLM. So there's always a human...
Arch-TK··on Tinnitus Neuromodulator
My hearing is still great, and I haven't noticed it deteriorate (I'm 29, and I've always been careful with my ears as I value having good hearing). I can hear switching noise (from power supplies) and those animal/human deterrent devices.

I don't think my tinnitus is from hearing damage.

Arch-TK··on Tinnitus Neuromodulator
Tinnitus (at least mine) sounds like a quieter version of the high pitched noise that movies like to use to emulate tinnitus due to a loud noise (explosion).

It's a quieter version of the tinnitus you can personally get if you are close to a loud noise (don't do this intentionally, it is an indication that you've caused yourself some hearing damage).

I've never heard static, I think that honestly sounds closer to what might actually be termed a noise floor. I know what a noise floor sounds like, and I've never heard a noise floor just due to quiet conditions...

IDK, like I said, unfortunately science hasn't found a way to easily and temporarily swap ears.

Arch-TK··on Tinnitus Neuromodulator
I've had a low grade (although who knows, it's not like I can hear someone else's tinnitus to compare) tinnitus for as long as I remember. For my childhood I thought it was just normal to hear this noise when there was no external source of other sound.

Honestly, I never felt particularly negative about it.

I guess if you never know what true silence sounds like, you never know what you are missing.

← PreviousPage 6 of 34Next →