177 karma · joined Aug 18, 2024 (2y ago) · 13 submissions
comment 7mo ago · link · parent
Longer term it also makes me wonder whether something like this could eventually reduce reliance on Clang/LLVM for the C frontend in zig's toolchain.
comment 8mo ago · link · parent
On the other hand, a lot what the company does today just sucks. Set prices are outrageous. Printed bricks get replaced with stickers and many sets feel like display models than something you can play with. The Mindstorms/NXT line had huge potential but then just sort of fizzled out. And the push towards smartphone-dependent toys feels weird. Who actually wants their kids staring at a phone to play Lego?
It's so sad, because the core product is basically perfect.
comment 10mo ago · link · parent
I agree. S expressions are a data interchange format. HTML is a markup language. They solve different problems.
S expressions define nested lists of atoms. HTML describes semantic hypertext documents defined by a document tree made of element nodes as subtrees, attribute nodes as subtree metadata, and text nodes. In some scenarios a uniform data structure like s expressions is nicer to work with.
To be honest it boggles my mind that XML was ever used as a universal data format.
comment 10mo ago · link · parent
comment 12mo ago · link · parent
comment 12mo ago · link · parent
If you care about speed, security and simplicity, and you don't care about NIST compliance, BLAKE3 is hard to beat.
comment 1y ago · link · parent
comment 1y ago · link · parent
This reminds me how I once spend months trying to track down a Frogpad for a cyberpunk-inspired wearable computing project. I found one on eBay but got outbid at the last second. It still hurts a little.
comment 1y ago · link · parent
People say that stack juggling is boring, but I actually find it to be a very natural way to think about computation. Forth's linear, concatenative style gives you SSA-like semantics for free, which makes it straightforward to lower into register-optimized bytecode or native code.
And once you're there, dynamic recompilation at runtime can do the rest. A naive, threaded implementation of Forth might not be performance-friendly on modern hardware, but there's nothing that prevents it from being high-performance. It just depends on how much effort you're willing to put into the implementation.
comment 1y ago · link · parent
A truly "suckless" website isn't about size. It's one that uses non-intrusive JS, embraces progressive enhancement, prioritizes accessibility, respects visitor's privacy and looks clean and functional on any device or output medium. If it ends up small: great! But that shouldn't be the point.
comment 1y ago · link · parent
The GPL gives you enforceable rights. The BSD license gives corporations a free pass to close off your code. Calling this "pragmatic" isn't just backward, it abandons protections that matter. And frankly, it baffles my mind that someone who believes closed source shouldn't exist would be this fatalist to give up the leverage that still protects openness.