HNHacker News
TopNewBestAskShowJobs

kryptiskt

10,524 karma · joined January 20, 2012

Developer from Sweden. Idris maintainer. Likes Haskell, Idris, Factor, Rust and Chez Scheme. @kryptiskt on Twitter.

Github: https://github.com/melted/ https://write.as/niklas

submissionscomments
kryptiskt··on Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi
For an example of just how much of a rabbit hole this is, Lucas Pope's forum post[0] about the dithering in Obra Dinn shows how much time can be spent on getting it right.

[0]: https://dukope.com/devlogs/obra-dinn/tig-32/

kryptiskt··on Swap, ZRAM, Zswap and Hibernate on NixOS
It's a broken idea, throughput über alles isn't true of an interactive system, latency matters. There's a calculator app I use every now and then. Linux always thinks it's a good idea to swap it out since I'm not using it all the time, which means that every time I want to calculate something there's lag as it's swapped in again.
kryptiskt··on Verda (Finland) raises $189M in Series B
That American AI companies waste money like that is a good argument for them being vulnerable to leaner companies.
kryptiskt··on 9 Ads per Minute: FIFA Cup 26 – "the price of the beautiful game"
Sweden cleared $2.5M in profit from their participation, about the same as the previous edition, all the increase was eaten up by the US taxing the teams and higher costs. That's not nearly enough money to sell out for.
kryptiskt··on One Year of Sponsored Servo Development
And you can't do what Google doesn't want you to do. That's a nice ad blocker you have there, shame if we removed support for it.
kryptiskt··on .gitignore Everything by Default
The problem is that those developers are also going to forget to update the ignore-by-default .gitignore to allow files, so there will be missing files. And they won't see any problems, because it works on their machine.
kryptiskt··on Project Xanadu: Even More Hindsight (2025)
The world is too mutable for it to exist as a decentralized system, you can set up all these permascrolls and enfilades and tumblers and stuff. But someone is going to see profit in making two-way links one-way or altering the permanent record, so they will. Not to mention what happens just by entropy, servers will get turned off because companies go under or people lose interest. You could make it everybody's problem with something like IPFS, you still would have to solve spammers exploiting the commons.

And it only makes sense for a place where documents are approximately equally popular. If the canonical Harry Potter contained links to all places referring or citing it, it would be one overloaded document.

And then the whole micropayments thing would make it a non-starter, since that have failed badly just about every time it has been tried.

kryptiskt··on Zig’s Io.Threaded is neat
Some people are actually interested in programming, coming and bleating about LLMs making all the finer points of it unimportant is as clueless as a manager coming here and telling us that syntax is unimportant because he has programmers for that crap.

If you don't care, don't go around in programming threads telling you how it doesn't matter anymore. It doesn't matter to you, because you prefer to be ignorant about the details of programming, and you have found tools that let you live in ignorance, good for you. But some of us do care, and are going to continue to do so.

kryptiskt··on The case against a C alternative (2022)
A couple of examples what's missing from C from a low level perspective: Multiple return values (why can't I have a function using more registers than rax or the stack to push back more values?), sane varargs, stack manipulation (an enabler for coroutines and a lot more)

Generally, in an ideal low-level language I wouldn't expect to be hampered because the language is designed for a notional abstract machine that doesn't have things like an actual stack and contiguous RAM.

kryptiskt··on The case against a C alternative (2022)
C isn't an iota more fundamental than say Modula-2. It's just more popular. And C is very bad at being a low level language. There are plenty of things that you can express in assembly that you just can't do in C. And then the platform ABI won't support it, since C can't support it, and it hampers other languages that don't have C's limitations.
kryptiskt··on The AI trade now runs on borrowed money, and the lenders are repricing it
That wasn't what it seemed like at the time. Amazon didn't post profits, sure, but they sure as hell weren't a giant money suck either, they didn't need billions in financing to run their business. There were a lot of Amazon bears, but they were concerned about the high valuation, not about them going broke (since even the most pessimistic bear can read a cashflow statement).
kryptiskt··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
This isn't SDL_gpu, that is part of SDL3. This is SDL_gp, an external lib which builds on the former.
kryptiskt··on New Framework Desktop Option with AMD Ryzen AI Max+ Pro 495 and 192GB Memory
Because it was the CEOs idea?
kryptiskt··on Running Doom on Our Custom CPU and Going Viral
Deciding on an ISA like RV32I only sets constraints on your architecture, it doesn't give you any of it for free. So I think it's entirely valid to say that it's a custom architecture if they didn't use any pre-existing CPU design.

Basically, they had the API interface and implemented everything behind it. I think saying that "it's an RV32I core" vastly underrates the design work that goes into actually implementing an RV32I core from scratch.

kryptiskt··on EU ban on destruction of unsold clothes and shoes enters into application
I think this largely is about brand protection. They worry that discounting the clothes means they will just cannibalize sales of that brand's full-price clothes.
kryptiskt··on The space bit of SpaceX is worth $8 a share, says Morgan Stanley
I really wish I could buy the SpaceX part of SpaceX decoupled from all the AI hopium.
kryptiskt··on Google loses fight over record $4.7B EU antitrust fine
That's not for you to choose, and I'm glad someone is taking on the thankless task of correcting all your misinformation.
kryptiskt··on Red Programming Language: Static linking support
I'm a bit surprised that Red still seems stuck at 32 bits, like it was last time I saw something about it years ago. What is the roadblock that prevents them from building 64-bit binaries? I guess it must be very hard since otherwise it would have already been fixed.
kryptiskt··on Is it time for a new Embedded Linux build system?
There are no beefy RISC-V servers. There are no beefy 32-bit ARM servers.
kryptiskt··on AURpocalypse now: a look at the recent AUR attacks
It's a complete fantasy that Debian maintainers do a thorough review of changed packages. It's not a responsibility they have, and it would be impossible anyway (how many packages are there in Debian? How many maintainers are there?).
kryptiskt··on Typst 0.15.0
Typst does typesetting like TeX (or InDesign for a WYSIWYG alternative), neither org-mode nor markdown has a rich enough formatting language for general typesetting, like if you want to make a flyer for a concert, a brochure or a comic book.
kryptiskt··on Cooling in Space
Allow me to propose a modest alternative to space data centers, namely mountaintop data centers. This would consist of a container full of servers and GPUs and what else goes into a data center, a wind turbine for power and a communication module (say laser or microwave) for communicating with a base station with a fiber connection. This would be lifted on top of a mountain by a helicopter and bolted in place. Cooling would be provided by heat sinks exposed to the outside air. Some of the nodes could relay traffic from other nodes on remote mountain tops out of sight of the base station.

This scheme has many advantages over space data centers including launch costs, cooling, connection latency, servicability and ease of recycling.

kryptiskt··on OpenCV 5 Is Here: The Biggest Leap in Years for Computer Vision
If I want to identify and measure the size of round things in my orange sorter machine, I shouldn't have to resort to an unnecessarily complicated solution just because some AI bros can't understand that not everything needs to be an AI model.

Like, the AI model tools already exist, all that would be accomplished if OpenCV pivoted would be to take it away for people who want to do low-level vision programming. It wouldn't add anything useful to the world, just destroy an excellent library.

kryptiskt··on Italy's Bending Spoons, Owner of AOL and Vimeo, Files for Nasdaq IPO
They fire everybody and then they bring in way cheaper European developers.
kryptiskt··on Artificial intelligence is not conscious – Ted Chiang
If the slaver is a human, other humans will judge them by human standards. Keeping the slaves ignorant of their condition and alternatives should not make it any more acceptable (if for nothing else since that is something you could easily replicate with human slaves by raising them as slaves).

> Why would using math in certain fashion such that it mimics consciousness be considered unethical and comparable to human slavery?

If it is really conscious, it should have rights. Why? Because it's a person, with thoughts and experiences, and we're not evil and deprive persons of their right to self-determination because it's convenient to us.

kryptiskt··on The AV2 Video Standard Has Released (Final v1.0 Specification)
I wouldn't be so pessimistic, Intel and AMD aren't going to stop making CPUs, and if their integrated graphics adds AV2 it will be motivation enough for others to follow.
kryptiskt··on 90% of the T Distribution
That it's not possible for him to love her back as much as she does. "Requite" is quite an obscure word, I've only ever seen it used in the phrase "unrequited love", which means a love which isn't returned (in quite a different sense than what is used here, since I assume that the author didn't mean that he didn't love his wife, only that his love didn't measure up).
kryptiskt··on Gemini, Gophers, and Fingers. Oh My Alternative Internets Beyond HTTPS
The certificate issuer doesn't have access to the underlying private keys, so while getting a fake certificate may be useful for MITM [0], undermining the certificate authorities doesn't actually allow spying on traffic that uses the genuine certs, no matter how corrupt the CA is.

There is such a thing as overestimating the power of the NSA, if the spooks actually had undermined the system to that degree they wouldn't need to lobby for all the surveillance bills that keeps popping up.

[0] And you can't get a fake certificate either without it being visible in the certificate transparency logs, or being an obvious fake since it is absent in those logs.

kryptiskt··on Sam Altman Won in Court Against Elon Musk. But, We All Lost
That Musk couldn't even get over the first stumbling block which is the statute of limitations, does not make the win any lesser. It makes it more decisive, since Musk now has to overcome that hurdle before even having a shot at the meat of the case.
kryptiskt··on The Mercury logic programming system
Last commit was 2 minutes ago. Seems like a better measure than releases, different projects have different release cadences.
Page 1 of 34Next →