Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    109comments
  2. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    30comments
  3. Tin: full-text search for Postgres(planetscale.com ↗)
    18comments
  4. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    416comments
  5. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    176comments
  6. “The Secret Life of Circuits” is here(coredump.cx ↗)
    46comments
  7. What Zig felt like, coming from Rust(besok.github.io ↗)
    85comments
  8. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    7comments
  9. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    25comments
  10. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    531comments
  11. I built the fastest PHP webserver in the world(qbixserver.com ↗)
    12comments
  12. San Francisco Onion Futures Company(onionfutures.com ↗)
    105comments
  13. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    125comments
  14. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    184comments
  15. Agreement between the USA and Denmark (1951,2004) [pdf](state.gov ↗)
    discuss
  16. Learning Another Language May Be One of the Best Ways to Keep Your Brain Healthy(theconversation.com ↗)
    29comments
  17. Cloudflare Quick Tunnels(cloudflare.com ↗)
    299comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    360comments
  19. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    23comments
  20. Communication by means of modulated Johnson noise(pnas.org ↗)
    17comments
  21. Saving another 100TB of RAM(cloudflare.com ↗)
    89comments
  22. SDCC – Small Device C Compiler(sourceforge.net ↗)
    23comments
  23. Science Is Open Software(jepedersen.dk ↗)
    47comments
  24. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    8comments
  25. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    44comments
  26. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    4comments
  27. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    122comments
  28. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    7comments
  29. OpenJev(openjev.com ↗)
    278comments
  30. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    118comments

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.