News for hackers. Stuff that matters.

c-cube

Re:Jepsen: ParticleDB 1.1.4 on Sunday November 01, 2026 @05:56PM (#50330774)
I don't get how you can name your DB after particleboard, not the strongest material, and achieve hype ;-)
Re:How Our Rust-to-Zig Rewrite Is Going on Thursday July 16, 2026 @09:42PM (#48942485)
definitely not suitable for runtimes. After all, OCaml's own runtime is in C, not OCaml! For compilers I agree it's a fine choice.
That's very uncharitable. Crypto has been extremely useful for all sorts of grifters and enabled separating fools from their money at true web scale.
Re:SQLite JSON at Full Index Speed Using Generated Columns on Monday December 15, 2025 @09:13AM (#46274779)
It's a bit unfortunate that [1] doesn't seem to mention Fleece[2], since Fleece is an already existing, solid format with very similar properties (JSON-compatible data format, uses offsets for sharing, allows for cheap updates, and uses binary search on arrays to achieve O(ln n) lookups in large tables or arrays, etc.)

[1]: https://lite3.io/design_and_limitations.html#autotoc_md31 [2]: https://github.com/couchbase/fleece/

Re:Better Than JSON on Monday December 01, 2025 @04:49PM (#46113755)
That's what Twirp (https://github.com/twitchtv/twirp) is about. Protobuf or JSON, over any HTTP, with a simple URL schema. It's fairly simple.
Re:Why doesn't Rust care more about compiler performance? on Thursday June 12, 2025 @05:29PM (#44263395)
I'm worried this person is going to experience a Yak overflow, honestly.
Re:A look at the creative process behind Bluey and Cocomelon on Wednesday March 12, 2025 @09:32AM (#43343073)
So many little things for parents. Your list is good. I was also struck by "early baby", for example, for subtext children will only get when they re-watch in 20 years.
Lighters cars, electric bikes, more trains on steel tracks...
Re:AI Is Stifling Tech Adoption on Friday February 14, 2025 @07:45PM (#43054702)
So you can't even debug or check the LLM's output for correctness? Good luck with that.

If anything, the best use for LLMs is to produce code in very strong languages like Lean, where correctness of the code can be established. Just trusting machine code output would be irresponsible.

Re:The year I didn't survive on Wednesday February 12, 2025 @08:02AM (#43024986)
Thank you for sharing. What a terrifying experience. I hope you get some help to deal with the trauma.
Re: on Sunday February 09, 2025 @07:10PM (#42995500)
Thank you, not surprising it's the nordic countries. I can't imagine this in the US but I'm glad to learn some places pull it off.
Re: on Sunday February 09, 2025 @05:41PM (#42994864)
Where do you see sunshine? Are the "audits" public at all? It's indistinguishable from just having Musk kill every agency he dislikes with no further proof, while siphoning data to some unspecified server. The timeline also hints at no serious audit taking place.
Re: on Sunday February 09, 2025 @05:34PM (#42994805)
Can you point to a country that publicly releases everybody's tax returns, as a policy? I know some countries that release elected officials' returns, but not those of common people.
TIL, thank you.
Re:Tesla Is Alienating the People It Needs Most: Study on Friday February 07, 2025 @08:45AM (#42972430)
You think that individual choice is the one and only way to fix climate change? The new regime's policy is "drill baby drill". That's a lot more impactful than people electing not to buy a particular brand of electric cars.
Re:Tesla Is Alienating the People It Needs Most: Study on Thursday February 06, 2025 @11:38PM (#42969458)
Why does this one man, then, work for a government bent on ignoring science and denying climate change? I'm just laughing at the idea that the grievances are "petty" when the guy is leading a fascist coup right now.
Re:America desperately needs more air traffic controllers on Tuesday February 04, 2025 @04:14PM (#42938828)
I sincerely hope this is satire (it sure is very HN in nature). "AI" in its current generative incarnation is prone to hallucinations/confabulations that cannot be avoided. In what world is that compatible with a job where a mistake can kill hundreds of people a few minutes or seconds later?
Re:Over 90% of U.S. airport towers are understaffed, data shows on Saturday February 01, 2025 @01:30PM (#42900766)
Another (small) plane crashed in Philadelphia today. That's two in a couple days.
Re:atproto and the ownership of identity on Sunday January 19, 2025 @02:24PM (#42760681)
Maybe you're right, that's quite sad. I found dasl.ing to be quite nice and simple as a foundation for dCBOR42, without needing the full ipfs craziness. Oh well.
Re:atproto and the ownership of identity on Sunday January 19, 2025 @01:23PM (#42759861)
I think they should have not reinvented the wheel ;-) and use dCBOR42, which has an actual canonical form. But somehow people like to use json in places where it's shown again and again it's a terrible choice.
Re:atproto and the ownership of identity on Saturday January 18, 2025 @08:41PM (#42752892)
Can nostr be used for the same form of social network as bluesky (ie, a twitter clone)? It seems that it would only show messages from people the user explicitly follows, for example, and not replies by a third user.

Also it's distasteful to do any sort of content addressing on json data. One would think they'd learn and use CBOR after seeing secure scuttlebutt, but no? Now you have to worry about only sending text payloads, escaping some characters, avoiding whitespace when printing the json... Guaranteed to be a source of bugs...

Re:The paper passport is dying on Friday December 27, 2024 @11:29PM (#42528576)
A paper passport can be valid for 10 years (maybe more, I'm not sure). It can be stashed in a safe. It can be left alone for several years and be picked up just before leaving for the airport.

A smartphone will not satisfy any of these properties.

Re:Starlark Programming Language on Monday December 09, 2024 @07:14PM (#42372143)
It's not "obviously" typed. Values in python have (runtime) types, sure. But contrast that with a statically typed language in which expressions (and functions) have types. Expressions in python do not have types at all (at least before annotations were added).
Re:Don't Implement Unification by Recursion on Monday October 28, 2024 @09:28PM (#41978460)
It's not really clear that functional style is easier/closer to proofs, tbh: https://hillelwayne.com/post/theorem-prover-showdown/ :-).

There's absolutely a constructivist form of unification, the description of a particular unification algorithm is typically a rewrite system (OP has one here: https://www.philipzucker.com/assets/traat/unify_rules.png) which qualifies as constructive imho (it builds an explicit solution, ie a substitution). But the imperative implementation of such a rewrite system can be readable too (especially if you still have pattern matching as in, say, Rust or OCaml).

I don't think there's any link to be had with the Curry Howard correspondence here. No types, no lambda calculus, nothing of the sort.

Re:Don't Implement Unification by Recursion on Monday October 28, 2024 @09:22PM (#41978417)
I want to disagree, but honestly the recursive method I tend to use is almost isomorphic to a loop + stack/deque. Eager elimination of `x=t` pairs, or eager normalization of substitutions sounds potentially inefficient, imho it's better to check that on the fly upon selecting a pair.
Re:The Fennel Programming Language on Sunday September 08, 2024 @08:11PM (#41484360)
I don't think it has absolutely all that, but janet might be close?

https://janet-lang.org/ https://janet.guide/

Re:Frustrating Interactions with the OCaml Ecosystem on Friday September 06, 2024 @11:46AM (#41467202)
OCaml might be built with makefiles, but it's also not an easy path at all. Adding a module to the compiler or stdlib is really not straightforward compared to what it'd be with dune (you have to list your new file somewhere, regenerate dependencies, order matters in obscure ways, etc.). To be clear, OCaml is a special project since it also has to solve bootstrapping issues, but still, it's not an argument for "makefiles just work". Dune works extremely well for pure OCaml projects.
Re:10% of Cubans have left Cuba in the last year on Sunday July 21, 2024 @04:27PM (#41027834)
I'm saying that it's force massive changes, and, really, increase prices significantly (food is more expensive in Europe for example). Same in restaurants, you'd have far less staff.

It's not impossible but it'd have to go with cultural changes, and have a dire impact on poor people. Just because the US is rich doesn't mean it's working well, just look at healthcare and how costly and unfair it is.

Older »