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 ↗)
    288comments
  2. Science Is Open Software(jepedersen.dk ↗)
    6comments
  3. SDCC – Small Device C Compiler(sourceforge.net ↗)
    1comments
  4. Cloudflare Quick Tunnels(cloudflare.com ↗)
    259comments
  5. Saving another 100TB of RAM(cloudflare.com ↗)
    54comments
  6. How to Write with an LLM(sockpuppet.org ↗)
    287comments
  7. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    5comments
  8. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    72comments
  9. The Farnese letter(simonklee.dk ↗)
    5comments
  10. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    61comments
  11. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    59comments
  12. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    78comments
  13. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    68comments
  14. Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe(liveworld.info ↗)
    21comments
  15. OpenJev(openjev.com ↗)
    249comments
  16. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    12comments
  17. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    198comments
  18. Cyclomatic Complexity in C#(ndepend.com ↗)
    15comments
  19. Goroutine Leak Profiles(go.dev ↗)
    discuss
  20. LispBM is a concurrent Lisp for microcontrollers with message passing(lispbm.com ↗)
    1comments
  21. Minimal Phone 2(minimalcompany.com ↗)
    190comments
  22. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    33comments
  23. Gemini hacked three companies in first known breakout by Google's AI(reuters.com ↗)
    15comments
  24. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    20comments
  25. Two parallel neural ectoderm progenitors contribute to the developing brain(newscientist.com ↗)
    59comments
  26. Alibaba open-sources AI model that can detect cancer and nearly 150 conditions(scmp.com ↗)
    7comments
  27. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    94comments
  28. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    48comments
  29. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    209comments
  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.