Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    143comments
  2. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    53comments
  3. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    466comments
  4. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    183comments
  5. Tin: full-text search for Postgres(planetscale.com ↗)
    43comments
  6. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  7. “The Secret Life of Circuits” is here(coredump.cx ↗)
    52comments
  8. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    40comments
  9. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    15comments
  10. I built the fastest PHP webserver in the world(qbixserver.com ↗)
    33comments
  11. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    554comments
  12. San Francisco Onion Futures Company(onionfutures.com ↗)
    117comments
  13. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    134comments
  14. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    7comments
  15. Agreement between the USA and Denmark (1951,2004) [pdf](state.gov ↗)
    21comments
  16. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    193comments
  17. What Zig felt like, coming from Rust(besok.github.io ↗)
    110comments
  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. Saving another 100TB of RAM(cloudflare.com ↗)
    91comments
  22. Communication by means of modulated Johnson noise(pnas.org ↗)
    19comments
  23. SDCC – Small Device C Compiler(sourceforge.net ↗)
    23comments
  24. Almost Never Use AI to Write Anything Substantive(erichgrunewald.substack.com ↗)
    discuss
  25. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    11comments
  26. Science Is Open Software(jepedersen.dk ↗)
    51comments
  27. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    124comments
  28. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    46comments
  29. OpenJev(openjev.com ↗)
    280comments
  30. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    8comments

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.