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 ↗)
    170comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    558comments
  3. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    198comments
  4. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    84comments
  5. “The Secret Life of Circuits” is here(coredump.cx ↗)
    59comments
  6. Tin: full-text search for Postgres(planetscale.com ↗)
    56comments
  7. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    594comments
  8. Btrfs/ZFS/bcachefs under workloads classic benchmarks skip(bartosz.fenski.pl ↗)
    1comments
  9. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  10. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    22comments
  11. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    13comments
  12. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    144comments
  13. San Francisco Onion Futures Company(onionfutures.com ↗)
    133comments
  14. Almost Never Use AI to Write Anything Substantive(erichgrunewald.substack.com ↗)
    35comments
  15. People who know the most often sound the least certain(vrash.substack.com ↗)
    9comments
  16. Suzanne Ciani's Buchla Cookbook(echo.orpheusinstituut.be ↗)
    discuss
  17. Cloudflare Quick Tunnels(cloudflare.com ↗)
    302comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    365comments
  19. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    207comments
  20. What Zig felt like, coming from Rust(besok.github.io ↗)
    149comments
  21. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    29comments
  22. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    50comments
  23. Saving another 100TB of RAM(cloudflare.com ↗)
    93comments
  24. SDCC – Small Device C Compiler(sourceforge.net ↗)
    26comments
  25. Communication by means of modulated Johnson noise(pnas.org ↗)
    23comments
  26. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    123comments
  27. Adventures in Microcontroller Circuit Debugging(bigmessowires.com ↗)
    1comments
  28. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    20comments
  29. OpenJev(openjev.com ↗)
    285comments
  30. Science Is Open Software(jepedersen.dk ↗)
    55comments

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.