Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Sub-15ms, non-autoregressive, local drop-in alternative to TypeSafe Jev(github.com/wfzyx ↗)
    discuss
  2. Models know when they're reward hacking – and we can catch them at scale(goodfire.com ↗)
    discuss
  3. Fundamental Theorem of Calculus [Slop](proofatlas.ai ↗)
    discuss
  4. Show HN: Vsqrd – AWS for Biology Experiments(vsqrd.com ↗)
    discuss
  5. The First Ten Years(gregorygundersen.com ↗)
    discuss
  6. Succinct Sounds-Like Starting Vowels(wiredream.com ↗)
    discuss
  7. Show HN: Lain, a structural code graph and agent coordinator for coding agents(github.com/spuentesp ↗)
    1comments
  8. Two similar AI judges fail together 7.7x more often than independence predicts(github.com/lawless1987 ↗)
    discuss
  9. A refined phylochronology of the second plague pandemic in Western Eurasia(pnas.org ↗)
    discuss
  10. How I view LLMs as Sept 2026(bhardwajrish.blogspot.com ↗)
    discuss
  11. ZCode: silently uploading your Git history to the cloud(routley.io ↗)
    discuss
  12. A CERN for AI-assisted science(terrytao.wordpress.com ↗)
    discuss
  13. Show HN: Converting AVS audio viz to WebAssembly using GPT 5.6(strlns.github.io ↗)
    discuss
  14. Spending on data centers and hardware now exceeds housing investment(fortune.com ↗)
    1comments
  15. Amiga Unix, Again(amigaux.org ↗)
    2comments
  16. Building an NBA stats warehouse without writing any of the code(jeffknupp719305.substack.com ↗)
    discuss
  17. Prototype of a Windows 11-inspired Web OS with autonomous IA agents(github.com/davidpoliquin30-design ↗)
    discuss
  18. Tools to Prevent Dementia(scmp.com ↗)
    discuss
  19. New startup to test psychedelic-like drug against Parkinson's symptom(statnews.com ↗)
    discuss
  20. Chronic stress may trigger hidden inflammation that damages the heart(mrc.ac.uk ↗)
    1comments
  21. Are we talking less? A Q&A with psychologist Matthias Mehl (March 2026)(arizona.edu ↗)
    discuss
  22. Does Jev Have Politics? (Yes)(idlerambling.substack.com ↗)
    discuss
  23. Turn curiosity into a map you can explore(echohive.ai ↗)
    discuss
  24. AI Netscape – 1997 Chrome, 2026 AI(ainetscape.com ↗)
    2comments
  25. The addiction of online sports gambling: "Like crack in the '80s"(cbsnews.com ↗)
    2comments
  26. The Crown of Creation(mika.global ↗)
    discuss
  27. KDE Goes to the Pyramids [video](ccc.de ↗)
    discuss
  28. How Anthropic CEO Dario Amodei's Writings Help Explain A.I. Fears(nytimes.com ↗)
    discuss
  29. Popular European Games(playfrom.eu ↗)
    discuss
  30. EkkoBSD(ekkobsd.org ↗)
    discuss

Show HN: Lightspeed, build real time apps the Laravel way (with asteroids demo)

5 pointsby 1h ago
2 comments
Hi HN!

Laravel has worked with websockets for years but generally speaking it's a one way push architecture (i.e. http in, sockets out).

Lightspeed is kind of like node in that it's a single server that serves your http and your websockets all under one roof. Auth runs in 0.03ms (a Redis read, no database). Your Laravel handler runs inside the full container and the reply comes back down the same socket. I think this could be really cool for creating new ways of working with Laravel.

Anyway, I put together a live demo to show it in action. Basically a cross between slither.io and Asteroids.

Game here:

https://innerloop.works/lightspeed

Repo here:

https://github.com/innerloop-dev/lightspeed

Note: This is 0.1.0, the API may change before 1.0. It needs the Swoole extension and Redis. MIT.

47m agoHN ↗

How does this relate to Laravel LiveWire?

35m agoHN ↗

It doesn't! Livewire is a way to build UI/form interactions over http/js.

Lightspeed is a websocket server.

Livewire talks to the server over normal HTTP requests and for anything pushed from the server it uses Laravel Echo. Lightspeed is a Pusher-compatible server so you'd point Echo at it like you would Reverb.

The thing Lightspeed adds is letting the browser send messages back into Laravel over that same socket, with auth on each one. Livewire doesn't do that its actions are still HTTP.

For most applications Livewire would be the goto. Lightspeed is kind of a high speed specialist option for building real time apps like you might do with node.js for exmaple.