Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. I Built Non-Autoregressive Decision Models with RL a Year Ago(convaiinnovations.com ↗)
    159comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    524comments
  3. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    194comments
  4. Tin: full-text search for Postgres(planetscale.com ↗)
    52comments
  5. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    80comments
  6. “The Secret Life of Circuits” is here(coredump.cx ↗)
    58comments
  7. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    573comments
  8. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  9. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    20comments
  10. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    9comments
  11. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    141comments
  12. San Francisco Onion Futures Company(onionfutures.com ↗)
    126comments
  13. Almost Never Use AI to Write Anything Substantive(erichgrunewald.substack.com ↗)
    21comments
  14. What Zig felt like, coming from Rust(besok.github.io ↗)
    135comments
  15. Cloudflare Quick Tunnels(cloudflare.com ↗)
    301comments
  16. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    203comments
  17. How to Write with an LLM(sockpuppet.org ↗)
    364comments
  18. People who know the most often sound the least certain(vrash.substack.com ↗)
    4comments
  19. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    47comments
  20. Adventures in Microcontroller Circuit Debugging(bigmessowires.com ↗)
    1comments
  21. Saving another 100TB of RAM(cloudflare.com ↗)
    93comments
  22. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    28comments
  23. Communication by means of modulated Johnson noise(pnas.org ↗)
    21comments
  24. SDCC – Small Device C Compiler(sourceforge.net ↗)
    25comments
  25. Science Is Open Software(jepedersen.dk ↗)
    51comments
  26. OpenJev(openjev.com ↗)
    283comments
  27. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    50comments
  28. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    128comments
  29. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    17comments
  30. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    123comments

Bryan Cantrill interviews Arthur Whitney (2009)

96 pointsby 6y agoqueue.acm.org
12 comments
6y agoHN ↗

Holy crap, that video is mind-blowing. Thank you! I was vaguely aware of Co-dfns before, but now it's squarely on my radar.

6y agoHN ↗

If you have cycles in your graph, you can build a tree out of a vector of indices, or as a table of parent/child node keys. The former is what John Scholes does[1], and the latter has plenty of common SQL examples.

[1]: https://youtu.be/DsZdfnlh_d0

If you have a non-cyclic tree (e.g. a 256-trie) you can nest it directly: @/ will traverse to nodes, and COW keeps updates from trashing memory too much.

However trees are rarely the best data structure: Binary search on a sorted list can beat b-trees simply because the end of the search will already be in cache, so for a routing table of IP address ranges, I use something like:

    ipStart where ipStart bin x
6y agoHN ↗

"In C I never learned to use the debugger so I used to never make mistakes,"

6y agoHN ↗

I can sort of sympathize with that sentiment. I'm not a C guy, but I've become so tired of setting up the stack for a new freelance project and/or running the log-and-debug dance, that it's often easier to just read through the code carefully, ‘running’ it in my head―the problem might jump out at me and I'll know where to dig. (Also helps with estimates before anything is done, and with filtering questionable projects.)

As they say, “It's one dollar for hitting it with the hammer, a hundred for knowing where to hit.”

6y agoHN ↗

So, one interesting detail about this interview: audio was recorded. The version in print is abridged, and I would love for the ACM to release the audio -- if only for the incredibly long (and mind-blown) pause after Arthur told me that he felt that the closest analogue to software is poetry...

6y agoHN ↗

...which explains his language design choices.

Stronger contenders for the "software analogue" remain film, theater, music, and architecture.