Hacker Newsnew | past | comments | ask | show | jobs | submit | oasisaimlessly's commentslogin

I don't think it's abstract at all. Rub something sharp (anything from a stick to a phonograph needle) on an object and you'll directly transcribe its spatial frequency spectrum into an audio frequency spectrum.

Do you think it's obvious that a chick would understand that connection?

It's not about "understanding" that you or me do when we read a wikipedia article. It's about the mechanisms in the brain that encode things.

"Spatial frequency spectrum" typically refers to visual elements of an object, and has nothing particularly to do with its structure. Entirely smooth surfaces banded in different colors have a "spatial frequency". Extremely irregularly surfaces have no effective spatial frequency. Objects on the same scale as, say, a human head, would have to be "rubbed" at ridiculous high rates (and repeatedly) to even get into a "frequency" range that might include pressure variations that would be considered as a "wave".

I think you're imagining an entirely too limited set of objects.


It's possible to fix this in application code with a Primitive<T> or NoDefault<T> wrapper that acts like a T, except doesn't have a default constructor. Use Primitive<int> wherever you'd use int that it matters (e.g. struct fields), and leaving it uninitialized will be a compiler error.

Yea no. I'm not gonna do that.

That line from TRON: Legacy always gave me a shiver.


Nice article. Finally, something that matters on the front page.



That argument could also be used to say that the FFT's time complexity of O(n log n) should be impossible.


Instead, put up with a flavor of Scheme that looks suspiciously like Nix with some extra parentheses...


How the errors/debugging compare? From what I've read this is the main pain point with Nix where a more mature language like Guile should have a much better experience here. The article touches on this but I'd be curious of a more extensive comparison about this aspect.


Just a personal anecdote, but the errors from Guix are terrible. I had to reinstall because I couldn't figure out the scheme errors for my system config


It's generally a problem with Guile. If you get decently good with Geiser or stare at the stack traces long enough, you can figure out the problem but I shouldn't have to do either.


Emacs + Geiser can do everything from a REPL in order to debug it. Emacs and Guile integration both come for free since decades.


And which an LLM/AI model can apply the huge training set of Lisp/Scheme to help solve your problem.

Nixlang is so infuriatingly obtuse that I generally have to fire up Discord and bug the local Nix acolyte when something goes wrong. I've bounced Nixlang off of the LLM/AIs, but I have learned that if the AI doesn't give you the correct answer immediately for Nixlang then you need to stop; everything forward will be increasingly incorrect hallucinations.

I suspect LLM/AIs will hallucinate far, far less with the Scheme from Guix.


What? From what I've seen Nix configs and Guix configs look nothing alike in terms of structure. Guix uses Scheme modules whereas Nix modules are just fancy dicts merged together lazily. Which is sad because I like Lisps but I prefer the Nix way of structuring the config.


IIRC, that is actually the standard proof that there are infinitely many primes[1] or maybe this variation on it[2].

[1]: https://en.wikipedia.org/wiki/Euclid%27s_theorem#Euclid's_pr...

[2]: https://en.wikipedia.org/wiki/Euclid%27s_theorem#Proof_using...


Yes this is the standard proof of infinitely many primes but note that my prompt asked for infinitely many even primes. The point is that GPT would take the correct proof and insert "even" at sensible places to get something that looks like a proof but is totally wrong.

Of course it's much better now, but with more pressure to prove something hard the models still just insert nonsense steps.


No, not RPCs/APIs either. A satellite bus is a physical object[1], which defines the mechanical standards for mounting payload modules.

[1]: https://en.wikipedia.org/wiki/Satellite_bus


It's a uint32_t of 750 Hz "jiffies", which does overflow at ~66 days.


While that seems like a convincing explanation, 750Hz is a rather odd value to use for a timer, and more importantly the overflow would be at 66d6h43m43s instead of the reported ~66d12h.



66 days 12 hours would put it at 747.5 Hz. A different report had 66 days 10 hours 16 minutes which works out to 748 Hz.

Maybe the clock was just feeling a little sluggish? /s


Wild.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: