Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Nvidia's Jensen Huang rejects AI extinction warnings as "doomsday narratives"(cbsnews.com ↗)
    discuss
  2. ReBarUEFI: Resizable BAR for almost any UEFI system(github.com/xcuri0 ↗)
    discuss
  3. OpenAI Sees Burning Through $278B by 2030: FT(bloomberg.com ↗)
    discuss
  4. The Roman Space Telescope, explained and up to date(romantelescope.info ↗)
    discuss
  5. The Pain Axis: LLMs Represent Self-Directed Harm and Act to Relieve It(arxiv.org ↗)
    discuss
  6. Show HN: Pollresults.org – free US election opinion poll API(pollresults.org ↗)
    discuss
  7. Chasing Speed of Light on TPU v6e(sailresearch.com ↗)
    discuss
  8. 1k careers. One universe. Sign up not necessary(epie.life ↗)
    discuss
  9. Ask HN: Anyone Played with Jetson Orin Nano Super?
    discuss
  10. Show HN: Gdocs-me-up: a high-fidelity Google Docs exporter(github.com/behdad ↗)
    discuss
  11. OpenPrompt – one workspace for developers using multiple AI coding tools(openprompt.tech ↗)
    discuss
  12. Masked LFW (MLFW) Database(whdeng.cn ↗)
    discuss
  13. CostRift(costrift.com ↗)
    discuss
  14. Jev, Prolog, Pi, and the dream of probabilistic logic programming(deepclause.substack.com ↗)
    discuss
  15. Why back propagation goes backward(gregorygundersen.com ↗)
    discuss
  16. Recursive Cognitive Optimization (RCO)(github.com/sealvlon ↗)
    discuss
  17. Trump says it's time to rebrand AI with a new name(techcrunch.com ↗)
    2comments
  18. Can You Beat Jev?(antics.gg ↗)
    1comments
  19. Sub-15ms, non-autoregressive, local drop-in alternative to TypeSafe Jev(github.com/wfzyx ↗)
    discuss
  20. Models know when they're reward hacking – and we can catch them at scale(goodfire.com ↗)
    discuss
  21. Fundamental Theorem of Calculus [Slop](proofatlas.ai ↗)
    discuss
  22. Show HN: Vsqrd – AWS for Biology Experiments(vsqrd.com ↗)
    discuss
  23. The First Ten Years(gregorygundersen.com ↗)
    discuss
  24. Succinct Sounds-Like Starting Vowels(wiredream.com ↗)
    discuss
  25. Show HN: Lain, a structural code graph and agent coordinator for coding agents(github.com/spuentesp ↗)
    1comments
  26. Two similar AI judges fail together 7.7x more often than independence predicts(github.com/lawless1987 ↗)
    discuss
  27. A refined phylochronology of the second plague pandemic in Western Eurasia(pnas.org ↗)
    discuss
  28. How I view LLMs as Sept 2026(bhardwajrish.blogspot.com ↗)
    discuss
  29. ZCode: silently uploading your Git history to the cloud(routley.io ↗)
    discuss
  30. A CERN for AI-assisted science(terrytao.wordpress.com ↗)
    discuss

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

5 pointsby 2h 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.

1h agoHN ↗

How does this relate to Laravel LiveWire?

1h 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.