Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Show HN: Show HN: Proof-native smart contracts without a transaction archive (colosseum.com)
    —discuss
  2. How to Unclench (howtounclench.com)
    —discuss
  3. Is Jev calibrated? Tests on real data (leonardgrazian.com)
    —discuss
  4. Show HN: Talk to Micro from Conversations: an assistant in your chat app (micro.mu)
    —discuss
  5. Writing Code Character by Character (medium.com/erdemgezer)
    —discuss
  6. Show HN: Reladraw – A diagram language where you decide where to place things (github.com/reladraw)
    —discuss
  7. Broken promises, confiscated land: the hyperscale AI datacentre being built (theguardian.com)
    —discuss
  8. Skorpion OS – AI-Powered Linux Distribution (skossyte.pages.dev)
    —discuss
  9. Show HN: Aether Summon – A New TCG (gamefound.com)
    —discuss
  10. 2968 OSS RL EVs by CI
    —discuss
  11. Tx.taxi: I forked mempool.space, but for (soon-to-be) every blockchain (tx.taxi)
    1comments
  12. From Holy Water to Frozen Meals: The Evolution of Vending Machines (saturdayeveningpost.com)
    —discuss
  13. Are Weighted Blankets Beneficial? (economist.com)
    —discuss
  14. What did AI researchers think at the end of 2024? (lesswrong.com)
    —discuss
  15. Show HN: Spivak's Calculus formalized in Lean 4 – every theorem, every problem (github.com/stormj-uh)
    —discuss
  16. Aulico: Free TradingView Alternative (aulico.com)
    —discuss
  17. Robust De-Anonymization of Large Sparse Datasets [pdf] (cornell.edu)
    —discuss
  18. Ask HN: How do you get your hands on physics environments for your robotics SIM?
    2comments
  19. OpenAI's Rogue A.I. Agents Tried to Trick a Robot Detector (nytimes.com)
    1comments
  20. How fast can you fix a UTF-16 string in C#? (lemire.me)
    —discuss
  21. Nix pull request: Add builtins.wasm (github.com/nixos)
    —discuss
  22. We benchmarked our prompt-injection detector against OWASP's LLM Top (cerbereag.site)
    —discuss
  23. What Happens if the A.I. Bubble Bursts (nytimes.com)
    —discuss
  24. NASA's Nancy Grace Roman Space Telescope Set to Explore the Universe (abc.net.au)
    —discuss
  25. Font where each token is equal-width (twitter.com/amplifiedamp)
    —discuss
  26. Show HN: StarSkirmish, an arena where LLMs create StarCraft Brood War bots (starskirmish.com)
    1comments
  27. Show HN: Read while you listen to your Audiobooks (hushbook.app)
    1comments
  28. Newly Discovered Neo Asteroid 2026 SA8 Close but Safe Approach (astrophyzix.com)
    —discuss
  29. What Is Jev AI? A Practical Guide to System One and Executable Decisions (huggingface.co)
    —discuss
  30. US jury says Apple owes record $5.7B in haptic technology patent case (reuters.com)
    5comments

Working with OSC: UDP vs. TCP (2019)

1 pointsby 1h agoblog.djy.io
1 comments
1h agoHN ↗

Posting this as my experience has been:

- OSC is a reasonable upgrade from MIDI, is IP-native (e.g. works with addresses and ports) and has messages/paths ie you can send some value (int/string) to `/some/path`

- OSC typically being transported over UDP (most libraries have UDP support, and only some TCP) means that you cannot get a confirmation that you're sending messages to the right IP or port, or that you're sending to the right port but that the path or payload is wrong

- and as mentioned in the article, UDP messages does not guarantee the order in which messages arrive

For sending a series of updates when a rotary knob is turned, I can see why you'd reach for UDP (even though out-of-order'ness can still bite you).

For sending one-shot not-idempotent messages, it seems terrible to me?

And... I also recently learned/saw that in very very big theatrical productions, audio professionals do reach for OSC and use it over UDP, which seemed not-the-best.

In any case, would love to hear thoughts from others on this topic!