frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Optimizing Ruby Path Methods

https://byroot.github.io/ruby/performance/2026/04/18/faster-paths.html
30•weaksauce•2h ago

Comments

blinkbat•1h ago
don't take this the wrong way, but -- people still use ruby?
nixpulvis•1h ago
People should. I seriously miss using it at my day job. It's not for code where type systems make things a lot more stable, but it's great for scripting and quick things. Also ORMs in ruby are truly nice, and I haven't found anything as good anywhere else.

Generally speaking Ruby has the best APIs.

andreynering•1h ago
Ruby on Rails is the GOAT. Nothing comes close in joy and productivity, even in 2026.
vidarh•1h ago
For pretty much everything. My terminal is in Ruby, with a Ruby font renderer, running Ruby shell, and my editor is in Ruby, my window manager, my file manager.

(Yes, I'm taking it a bit far; my prototype Ruby compiler is self-hosting finally, so I guess sometime in the next 20 years I'll end up booting into a Ruby kernel for no good reason...)

claudiug•59m ago
ruby and rails is the only stuff that keep me doing web development.

when I touch js, and python... I prefer ONLY AI agentic style of working.

akerl_•55m ago
What’s the right way to take this?
flats•33m ago
Absolutely yes, all over the place! Startups are building greenfield software with Rails as we speak. Loads of established businesses have Ruby applications that are quietly chugging along doing their jobs well. & Shopify, a company with $1.6 billion in annual revenue, uses Ruby _very_ heavily & also invests in the wider Ruby ecosystem.

Ruby is not without its drawbacks & drama, but it’s elegant in a way that few languages are to this day (how many JS programmers _actually_ grok prototype-based object-orientation?) & compared to NPM, RubyGems is (lately) unexciting in the best way.

x3n0ph3n3•17m ago
It's my daily language and I don't even use rails nowadays.
nixpulvis•1h ago
Would this be possible to mainline into ruby in some way?
vidarh•1h ago
From the article: "This new feature will be available in Ruby 4.1.0."
nixpulvis•42m ago
Thanks, missed that.
vidarh•1h ago
> More importantly, on CI systems it’s relatively common to check out code using git, and git doesn’t care about mtime

git doesn't care about mtime, but git maintains trees whose hash changes if any constituent part of the tree changes. It'd seem tempting to check for a .git and if present use the git tree to determine whether to invalidate the cache.

byroot•1h ago
Aside from the oddness of making this cache git aware, with the new implementation I suspect querying git to revalidate the cache would take longer than just rebuilding it.
vidarh•45m ago
Looking up the hash of a tree in git is few enough operations that I would be very surprised if that is true for all but the smallest caches. If you were to shell out to the git binary, maybe.

NIST scientists create 'any wavelength' lasers

https://www.nist.gov/news-events/news/2026/04/any-color-you-nist-scientists-create-any-wavelength...
82•rbanffy•2h ago•37 comments

The electromechanical angle computer inside the B-52 bomber's star tracker

https://www.righto.com/2026/04/B-52-star-tracker-angle-computer.html
237•NelsonMinar•7h ago•70 comments

Thoughts and feelings around Claude Design

https://samhenri.gold/blog/20260418-claude-design/
178•cdrnsf•4h ago•121 comments

Optimizing Ruby Path Methods

https://byroot.github.io/ruby/performance/2026/04/18/faster-paths.html
32•weaksauce•2h ago•14 comments

Modern Common Lisp with FSET

https://fset.common-lisp.dev/Modern-CL/Top_html/index.html
50•larve•3d ago•1 comments

Migrating from DigitalOcean to Hetzner

https://isayeter.com/posts/digitalocean-to-hetzner-migration/
652•yusufusta•10h ago•337 comments

State of Kdenlive

https://kdenlive.org/news/2026/state-2026/
322•f_r_d•11h ago•107 comments

Traders placed over $1B in perfectly timed bets on the Iran war

https://www.theguardian.com/world/2026/apr/18/iran-war-bets-ethics-concerns
202•trocado•4h ago•130 comments

Michael Rabin has died

https://en.wikipedia.org/wiki/Michael_O._Rabin
375•tkhattra•3d ago•78 comments

Show HN: MDV – a Markdown superset for docs, dashboards, and slides with data

https://github.com/drasimwagan/mdv
82•drasim•8h ago•29 comments

Sumida Aquarium Posts 2026 Penguin Relationship Chart, with Drama and Breakups

https://www.sumida-aquarium.com/special/sokanzu/en/2026/
152•Lwrless•3d ago•5 comments

PgQue: Zero-Bloat Postgres Queue

https://github.com/NikolayS/pgque
64•gmcabrita•6h ago•6 comments

College instructor turns to typewriters to curb AI-written work

https://sentinelcolorado.com/uncategorized/a-college-instructor-turns-to-typewriters-to-curb-ai-w...
85•gnabgib•4h ago•80 comments

Opus 4.7 to 4.6 Inflation is ~45%

https://tokens.billchambers.me/leaderboard
387•anabranch•7h ago•407 comments

Floating Point Fun on Cortex-M Processors

https://danielmangum.com/posts/floating-point-cortex-m/
26•hasheddan•1d ago•1 comments

Show HN: SmallDocs - Markdown without the frustrations

40•FailMore•3d ago•22 comments

Show HN: AI Subroutines – Run automation scripts inside your browser tab

https://www.rtrvr.ai/blog/ai-subroutines-zero-token-deterministic-automation
27•arjunchint•1d ago•3 comments

UpCodes (YC S17) is hiring SDRs to help make construction more productive

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•6h ago

Scientists discover "cleaner ants" that groom giant ants in Arizona desert

https://www.sciencedaily.com/releases/2026/04/260414075641.htm
66•t-3•3d ago•26 comments

80386 Memory Pipeline

https://nand2mario.github.io/posts/2026/80386_memory_pipeline/
77•wicket•4d ago•11 comments

Show HN: Remoroo. trying to fix memory in long-running coding agents

https://www.remoroo.com
22•adhamghazali•4d ago•4 comments

Understanding the FFT Algorithm (2013)

https://jakevdp.github.io/blog/2013/08/28/understanding-the-fft/
47•peter_d_sherman•3d ago•6 comments

Amiga Graphics Archive

https://amiga.lychesis.net/
226•sph•17h ago•69 comments

Graphs that explain the state of AI in 2026

https://spectrum.ieee.org/state-of-ai-index-2026
65•bryanrasmussen•6h ago•42 comments

4-bit floating point FP4

https://www.johndcook.com/blog/2026/04/17/fp4/
34•chmaynard•6h ago•19 comments

Fuzix OS

https://www.fuzix.org/
70•DeathArrow•8h ago•25 comments

Category Theory Illustrated – Orders

https://abuseofnotation.github.io/category-theory-illustrated/04_order/
219•boris_m•16h ago•58 comments

In the AI propaganda war, Iran is winning

https://www.economist.com/culture/2026/04/17/in-the-ai-propaganda-war-iran-is-winning
25•hebelehubele•4h ago•5 comments

It's OK to compare floating-points for equality

https://lisyarus.github.io/blog/posts/its-ok-to-compare-floating-points-for-equality.html
171•coinfused•4d ago•114 comments

Show HN: I made a calculator that works over disjoint sets of intervals

https://victorpoughon.github.io/interval-calculator/
286•fouronnes3•22h ago•49 comments