frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Async Ruby Is the Future of AI Apps (and It's Already Here)

https://paolino.me/async-ruby-is-the-future/
2•earcar•6h ago

Comments

earcar•6h ago
Author here. The problem: every thread-based job queue (Sidekiq, GoodJob, etc.) has a max_threads limit. Set it to 25? That's your hard ceiling for concurrent LLM conversations. The 26th user waits, even though your server is 99% idle.

Switched to async-job in 30 minutes. No code changes needed. No max_threads = our AI app went from barely handling 25 users to thousands on the same hardware.

The beautiful part: existing libraries like RubyLLM automatically get async performance because Net::HTTP yields to fibers. No special async versions needed. No async/await keywords polluting your codebase.

After a decade in Python's asyncio world, this feels like how async should have been done. You get massive concurrency without the complexity tax.

Happy to discuss the technical details or migration experience. The future of Ruby AI apps is here, and it's surprisingly simple.

US sanctions alleged North Korean IT sweatshop leader

https://www.theregister.com/2025/07/09/us_sanctions_north_korean_it/
1•rntn•29s ago•0 comments

The Other Immigrant Crisis: Identity Theft

https://www.thefp.com/p/immigrant-crisis-identity-theft
1•fortran77•40s ago•0 comments

Did Shakespeare Write Hamlet While He Was Stoned?

https://lithub.com/did-shakespeare-write-hamlet-while-he-was-stoned/
1•ohjeez•1m ago•0 comments

Show HN: ReviLearn – Remember what you read online

https://chromewebstore.google.com/detail/revilearn/dnmbfpofkngmjmhfmihnibgeeajellmc
1•ganeshsp1•2m ago•0 comments

Ask HN: I want to install a non-Windows OS on an old laptop. Recommendations?

1•deanebarker•2m ago•0 comments

Jack Dorsey says his 'secure' new Bitchat app has not been tested for security

https://techcrunch.com/2025/07/09/jack-dorsey-says-his-secure-new-bitchat-app-has-not-been-tested-for-security/
1•_tk_•3m ago•1 comments

Major autism study uncovers biologically distinct subtypes

https://www.princeton.edu/news/2025/07/09/major-autism-study-uncovers-biologically-distinct-subtypes-paving-way-precision
2•bookofjoe•3m ago•1 comments

The Tandy Corporation, Part 2

https://www.abortretry.fail/p/the-tandy-corporation-part-2
2•rbanffy•3m ago•0 comments

Finding Beauty and Truth in Mundane Occurrences

https://www.quantamagazine.org/finding-beauty-and-truth-in-mundane-occurrences-20250509/
1•vavooom•3m ago•0 comments

Ultrasound triggers nuclear decay anomaly hinting at flexible space-time

https://www.spacedaily.com/reports/Ultrasound_triggers_nuclear_decay_anomaly_hinting_at_flexible_space_time_999.html
1•walterbell•3m ago•0 comments

Magenta: Infinite Crate – Live Generative Music VST

https://magenta.withgoogle.com/infinite-crate
1•ukd1•3m ago•0 comments

Electromagnetic smog – A damage and stress factor? (1987)

https://www.sciencedirect.com/science/article/abs/pii/0302459887800533
1•sandwichsphinx•4m ago•0 comments

All These Notes Don't Pay My Needs, Beethoven's Income

https://internet.beethoven.de/en/exhibition/beethovens-capital/
1•brudgers•4m ago•0 comments

Guixotic, a Guix/Guile worker cooperative

https://lists.gnu.org/r/guix-devel/2025-07/msg00113.html
2•alexkehayias•4m ago•0 comments

Disassembling Python Code Using the `Dis` Module

https://www.thepythoncodingstack.com/p/python-disassembling-bytecode-dis-module
1•rbanffy•6m ago•0 comments

Goldman Wants Quarterly Loyalty Updates

https://www.bloomberg.com/opinion/newsletters/2025-07-09/goldman-wants-quarterly-loyalty-updates
1•ioblomov•6m ago•1 comments

Product Categories Supporting Option Breadth

https://varietyiq.com/blog/econ
2•efavdb•6m ago•0 comments

Conservative and Liberal Brains Might Have Some Real Differences

https://www.scientificamerican.com/article/conservative-and-liberal-brains-might-have-some-real-differences/
1•voxadam•6m ago•0 comments

Unless users take action, Android will let Gemini access third-party apps

https://arstechnica.com/security/2025/07/unless-users-take-action-android-will-let-gemini-access-third-party-apps/
3•azinman2•8m ago•0 comments

Zenefits' Aggressive Growth: Robby Allen on growing a 250-rep sales team

https://www.dock.us/grow-and-tell/ep-21-robby-allen
1•mooreds•9m ago•0 comments

Nvidia-backed Perplexity takes on Google with new AI-powered browser

https://qz.com/nvidia-perplexity-comet-ai-powered-browser-google
1•mikece•10m ago•0 comments

How CPython 3.11 quietly made a popular optimization irrelevant

https://blog.codingconfessions.com/p/old-python-performance-trick
2•rbanffy•12m ago•0 comments

Short story written by a friendly AI

2•apolloartemis•14m ago•0 comments

Revitalizing Legacy Code

https://javapro.io/2025/06/26/revitalizing-legacy-code/
1•andrewstetsenko•14m ago•0 comments

Proposing: The American Autonomy Initiative

https://boydinstitute.org/p/american-autonomy-initiative
3•jeffgiesea•14m ago•2 comments

Show HN: Reverse-engineering 100 devtool landing pages

https://evilmartians.com/chronicles/we-studied-100-devtool-landing-pages-here-is-what-actually-works-in-2025
1•vicamelnikova•15m ago•0 comments

The Ghost of Muriel Spark

https://www.newstatesman.com/culture/books/2025/06/the-ghost-of-muriel-spark
2•Caiero•16m ago•0 comments

California achieved significant groundwater recharge last year

https://www.latimes.com/environment/story/2025-06-24/california-2024-groundwater-report
1•PaulHoule•17m ago•0 comments

Show HN: Is there a way to market BL1NG – where people pay to flex?

https://www.bl1ng.com
1•eflay•18m ago•0 comments

What Trump's Big Beautiful Bill means for Wi-Fi 6E and 7 users: It's not pretty

https://www.zdnet.com/home-and-office/networking/what-trumps-big-beautiful-bill-means-for-wi-fi-6e-and-wi-fi-7-users-hint-its-not-pretty/
3•CrankyBear•19m ago•1 comments