Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    316comments
  2. Science Is Open Software(jepedersen.dk ↗)
    16comments
  3. SDCC – Small Device C Compiler(sourceforge.net ↗)
    2comments
  4. Cloudflare Quick Tunnels(cloudflare.com ↗)
    261comments
  5. Saving another 100TB of RAM(cloudflare.com ↗)
    56comments
  6. How to Write with an LLM(sockpuppet.org ↗)
    290comments
  7. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    9comments
  8. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    64comments
  9. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    75comments
  10. Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe(liveworld.info ↗)
    24comments
  11. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    77comments
  12. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    79comments
  13. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    61comments
  14. The Farnese letter(simonklee.dk ↗)
    5comments
  15. OpenJev(openjev.com ↗)
    250comments
  16. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    12comments
  17. Goroutine Leak Profiles(go.dev ↗)
    discuss
  18. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    203comments
  19. Cyclomatic Complexity in C#(ndepend.com ↗)
    15comments
  20. Minimal Phone 2(minimalcompany.com ↗)
    196comments
  21. LispBM is a concurrent Lisp for microcontrollers with message passing(lispbm.com ↗)
    2comments
  22. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    36comments
  23. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    50comments
  24. Alibaba open-sources AI model that can detect cancer and nearly 150 conditions(scmp.com ↗)
    8comments
  25. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    94comments
  26. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    211comments
  27. Two parallel neural ectoderm progenitors contribute to the developing brain(newscientist.com ↗)
    60comments
  28. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    21comments
  29. Size-Specialized Memory Allocation(go.dev ↗)
    3comments
  30. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    17comments

Fly Straight, Dammit (2019)

44 pointsby 6y agopetecorey.com
4 comments
6y agoHN ↗

It looks like they’re two separate functions merged under a condition. Any 2 functions can generate a “fly straight, dammit” graph. What’s the point of this?

6y agoHN ↗

Any two functions when glued together as a piecewise function can have a discontinuity, that's true, but that’s not what this is... this is a sequence with a recursive term. Sort of like the fibonacci sequence where a term is defined by the one preceding it, so you have to, conceptually, computer all the way down to the base case. It just so happens that the rule in this article for some reason becomes very well ordered past a certain step when you plot the values, at least to our human brains.

The numberphile video to which the article links is a good watch!

6y agoHN ↗

  a_a =: 1 + +
  a_b =: [ % +.

  py (a_b ` a_a @. has_gcd) y

I know it is math and all that, but when we commit something like this at day job, it doesn’t give you applause. Can the idea of the article be expressed in more readable/obvious form? Or is that an alphabet that you should learn first before solving that?

6y agoHN ↗

It’s a problem without solutions, when implementing from a mathematical definition.

Either you write it so it is “easy” to understand or you write it so it is easy to compare with the source equation.

Both have pros and cons.