Hacker News

Top stories

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

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.