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 ↗)
    234comments
  2. Cloudflare Quick Tunnels(cloudflare.com ↗)
    242comments
  3. Saving another 100TB of RAM(cloudflare.com ↗)
    40comments
  4. The Farnese letter(simonklee.dk ↗)
    3comments
  5. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    65comments
  6. How to Write with an LLM(sockpuppet.org ↗)
    264comments
  7. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    12comments
  8. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    43comments
  9. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    76comments
  10. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    52comments
  11. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    181comments
  12. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    51comments
  13. OpenJev(openjev.com ↗)
    245comments
  14. Column built an issuer processor from scratch(column.com ↗)
    4comments
  15. Cyclomatic Complexity in C#(ndepend.com ↗)
    14comments
  16. Two parallel neural ectoderm progenitors contribute to the developing brain(newscientist.com ↗)
    53comments
  17. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    195comments
  18. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    19comments
  19. Minimal Phone 2(minimalcompany.com ↗)
    169comments
  20. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    22comments
  21. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    90comments
  22. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    32comments
  23. Size-Specialized Memory Allocation(go.dev ↗)
    3comments
  24. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    16comments
  25. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    181comments
  26. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    151comments
  27. From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video](youtube.com ↗)
    discuss
  28. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    19comments
  29. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  30. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    303comments

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.