HNHacker News
TopNewBestAskShowJobs

anacrolix

408 karma · joined December 12, 2010

http://stackoverflow.com/users/149482/matt-joiner

[ my public key: https://keybase.io/anacrolix; my proof: https://keybase.io/anacrolix/sigs/kUK6TgSm1j2aqELh40B8-WDAv4EeekY8_Us1cbSkS_U ]

submissionscomments
anacrolix··on Why We're Moving on from Nix
this is from the company that didn't have support for Docker images until 2023? come on...
anacrolix··on Edit is now open source
The quirkiness of Zig is real. I'd love for Zig to win out but it's just too weird, and it's not progressing in a consistent direction. I can appreciate you falling back to Rust.
anacrolix··on We have reached the "severed fingers and abductions" stage of crypto revolution
My takeaway from this is people are still turning a blind eye to the shenanigans of the much larger mainstream markets where shit like this happens all the time but is not amateur.

The whole system is rigged. Yes, crypto too.

anacrolix··on Bloat is still software's biggest vulnerability (2024)
I disagree. Most people here myself included aren't using Java or .NET. You are in a microcosm in this audience.
anacrolix··on Bloat is still software's biggest vulnerability (2024)
Alpine is not as good as it seems. It's mostly broken it just works when you ask it to run a handful of common tools. Everything out of view is completely broken.
anacrolix··on The language brain matters more for programming than the math brain? (2020)
I would agree. Linguistics and literature have always been a strong interest of mine, and many computer scientists. Moreso, I find weaker programmers struggle with spelling, grammar, various dyslexias and torrent-of-thought code organisation.
anacrolix··on Path Isn't Real on Linux
Uh yeah duh. But I through waiting for him to discover hash in the shell. No such luck. Guess it's in the magic somewhere. (Do man hash or something if you have no idea what I'm talking about)
anacrolix··on Homebrew 4.5.0
Love the software on homebrew but I really wish the tooling was faster and less opinionated. I dread being forced to update tons of stuff I never asked for, or the huge delay after many commands. I also have to use an AI to write my formula files because to this day I still can't understand Ruby it's dynamically typed to the point of being awful. Rewrite in Rust when? :)

Despite all that I'm a huge fan, and I think Linux support is great

anacrolix··on Migrating away from Rust
This couldn't be any more accurate even if you compiled with CFLAGS='-march native ' and RUSTFLAGS='-C can't remember insert here'
anacrolix··on Creating your own federated microblog
P2P when done right isn't even noticeable. Libp2p and ipfs have tainted the common experience of this.

BitTorrent DHT which people don't even realise is there is how it should be

anacrolix··on Better Error Handling
This. There are errors and states you cannot predict. As a grandchild comment says: It's easier to provide solutions than to list all the errors. Find your happy path and write code that steers you back on to it. The code will be shorter, less surprising, and actually describable. It's also testable because you treat whole classes of errors consistently so your error combinations count is smaller.
anacrolix··on Googler... ex-Googler
Before I even started there, in 2014. Don't be evil ended when Schmidt stopped being CEO.
anacrolix··on TLS certificate lifetimes will officially reduce to 47 days
No. Chrome flat out rejects certificates that expire more than 13 months away, last time I tried.
anacrolix··on Ask HN: Why is there no P2P streaming protocol like BitTorrent?
BitTorrent v2 has the incremental hashes via merkle trees. They're surprisingly good. I implemented them here https://github.com/anacrolix/torrent/issues/175#issuecomment...
anacrolix··on P2Panda: Building blocks for peer-to-peer applications
libp2p has infected crypto
anacrolix··on Problems with Go channels (2016)
I've been using Go since 2011. One year less than the author. Channels are bad. No prioritization. No combining with other synchronisation primitives without extra goroutines. In Go, no way to select on a variable number of channels (without more goroutines). The poor type system doesn't let you improve abstractions. Basically anywhere I see a channel in most people's code particular in the public interface, I know it's going to be buggy. And I've seen so many bugs. Lots of abandoned projects are because they started with channels and never dug themselves out.

The lure to use channels is too strong for new users.

The nil and various strange shapes of channel methods aren't really a problem they're just hard for newbs.

Channels in Go should really only be used for signalling, and only if you intend to use a select. They can also act as reducers, fan out in certain cases. Very often in those cases you have a very specific buffer size, and you're still only using them to avoid adding extra goroutines and reverting to pure signalling.

anacrolix··on Why is C the symbol for the speed of light? (2004)
c. Not C
anacrolix··on fd: A simple, fast and user-friendly alternative to 'find'
I like it but the defaults are super annoying. I'm always trying to find things I can't otherwise but it defaults to ignoring git dirs and dot files, literally the thing I search for the most
anacrolix··on Password reuse is rampant: nearly half of observed user logins are compromised
Exactly this.

If CloudFlare, any "relay" were compromised, all traffic through that would be compromised. That's everything. All your bank details, full access, it's all right there.

The selling point of SSL is nobody can read what you do between you and the final destination, except when the developers of that destination enlist CloudFlare who have a root certificate that allows them to intercept everything whether you realise or not.

anacrolix··on Password reuse is rampant: nearly half of observed user logins are compromised
CloudFlare is the 3rd party.

Try implementing what CloudFlare does yourself. You will very quickly realise how it works. It's actually pretty crazy.

anacrolix··on Password reuse is rampant: nearly half of observed user logins are compromised
Maybe if we weren't letting a third party sign arbitrary certificates for arbitrary domains they wouldn't be reading our passwords.

People don't realise CloudFlare is a MitM-as-a-Service.

anacrolix··on Rhombus Language
This is good to see, but I think too much effort is being used to maintain the prefix style function application. As a result a significant amount of the novelty is just mapping syntax from new to old. Special cases, special cases everywhere, even in an implementation like this which is specifically attempting to allow you to make your own "special" cases.
anacrolix··on Stupid Smart Pointers in C
The naive assumption is that shared_ptr is always better than manual tracking. It's not. Tracking and cleaning up resources individually is a burden at scale.
anacrolix··on Amazon plans to lay off 14,000 managerial positions to save $3.5B yearly
The best are always the first to leave
anacrolix··on ATProto Isn't What You Think
I conceived of something similar a few years ago.

Blockchain and DHT are perfect for this.

anacrolix··on Peer-to-peer file transfers in the browser
What about creating and seeding a torrent with a CLI then creating a shortlink to magnet link?
anacrolix··on DeepSeek-R1-671B-Q4_K_M with 1 or 2 Arc A770 on Xeon
Now we just need a model that can actually code
anacrolix··on Show HN: Fork of Claude-code working with local and other LLM providers
I've struggled to get both to do anything useful. that said Claude code is consistent and doesn't error a lot
anacrolix··on Ask HN: What less-popular systems programming language are you using?
I have been watching with interest. I can't help but think Rust will easily win. Zig isn't different enough, and it's somewhat opinionated (in good ways but not always clearly better)
anacrolix··on Apple's Software Quality Crisis
I reported a bug in their mmap syscall on Apple Silicon. You can hard freeze the computer in about 4 syscalls (basically system C functions). It's still there and they won't fix it, or acknowledge that it's a vulnerability.

The frustrating thing is it locks the IO system, but the kernel thinks everything is fine. One by one each thread that does IO never returns. So you frantically click around wondering why your computer isn't doing anything.

← PreviousPage 2 of 15Next →