frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Past, Present, and Future of (Ruby) Sorbet Type Syntax

https://blog.jez.io/history-of-sorbet-syntax/
5•ksec•8mo ago

Comments

Lio•8mo ago
This is a great write up and I think the proposal to make rbs-inline type comments avaible at runtime is an execellent solution.

I can definitely see the value runtime type checking in addition to static analysis. For my own work I've done this either using pattern matching:

  class User
    def initialize(name:, age:)
      String => name
      Integer => age
      @name = name
      @age = age
    end
  end
but the error messages aren't great IMHO. It's pretty easy though knock up a little type checker in a very small module and prepend it. I have support for union types and typed arrays in mine.

I actually wasn't aware of the improvements they've made over the years to Sorbet. It think that's probably what I'll migrate to now.

Lio•8mo ago
I'd add, I'm surprised this this post isn't added to the "official" Sorbet blog. It really is a great post and very positive for the future of the project.

https://sorbet.org/blog/

Show HN: Type-Safe Dynamic UIs Using the Manifest Pattern

https://github.com/andrewhathaway/manifest-pattern
1•hathers•41s ago•0 comments

Turing Soup

https://lcrh.github.io/turingsoup/
1•leopoldhaller•1m ago•0 comments

Ask HN: Anyone still using RSS feeds?

2•lalithaar•1m ago•0 comments

Snap bans on soda, candy and other foods take effect in five states

https://apnews.com/article/snap-waiver-food-stamps-soda-7787585c75e098d3a16aefacc32ac4f5
1•geox•1m ago•0 comments

James Dyson: Britain is a nation of doers – let's unlock our potential

https://www.thetimes.com/comment/columnists/article/james-dyson-britain-nation-of-doers-unlock-po...
1•ksec•2m ago•1 comments

An Introduction to AI

https://blog.jonathanchannon.com/2025-12-23-introduction-to-ai/
1•jchannon•2m ago•1 comments

OpenAI Is Paying Employees More Than Any Major Tech Startup in History

https://www.wsj.com/tech/ai/openai-is-paying-employees-more-than-any-major-tech-startup-in-histor...
1•megacorp•3m ago•0 comments

Auld Lang Syne

https://www.wnycstudios.org/podcasts/anthropocene-reviewed/episodes/anthropocene-reviewed-auld-la...
1•bryogenic•4m ago•0 comments

Rewriting my site using AI

https://www.vegardstikbakke.com/new-site-2025/
3•v3gas•8m ago•0 comments

On Recovering

https://www.natemeyvis.com/on-recovering/
1•harperlee•12m ago•0 comments

Measles resurgence: US cases top 2k as vaccine rates slip

https://san.com/watch-and-listen/measles-resurgence-us-cases-top-2000-as-vaccine-rates-slip/
1•SanjayMehta•12m ago•0 comments

Delivering Exploitation: A Marxist Analysis of India's Gig Economy

https://kushalvala20.substack.com/p/delivering-exploitation-a-marxist
1•akbarnama•15m ago•0 comments

Phonemic composition influences words' aesthetic appeal and memorability

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0336597
1•PaulHoule•16m ago•0 comments

Ask HN: Are Google Search AI hallucinations common?

1•blutoot•16m ago•0 comments

China drafts strictest rules to end AI-encouraged suicide, violence

https://arstechnica.com/tech-policy/2025/12/china-drafts-worlds-strictest-rules-to-end-ai-encoura...
2•bookofjoe•17m ago•0 comments

The MetroCard Never Got Its Due

https://www.theatlantic.com/technology/2025/12/metrocard-farewell-new-york-subway/685276/
2•fortran77•17m ago•0 comments

Iron Beam: Israel's first operational anti drone laser system

https://mod.gov.il/en/press-releases/press-room/israel-mod-and-rafael-deliver-first-operational-h...
3•fork-bomber•17m ago•0 comments

Show HN: I built a Chrome Extension that turns any web data into charts/KPIs

https://chromewebstore.google.com/detail/datastripes-lens/hppbpldjppcpdfienngbiippkboajamb
1•vinserello•17m ago•0 comments

Show HN: vmux – Run Python in Cloudflare containers in 3s

https://vmux.sdan.io/
1•sdan•19m ago•0 comments

Linux Is Not Stable

https://crowfunder.github.io/posts/linux-is-not-stable/
1•crowfunder•21m ago•5 comments

How Easy It Is to Steal Your Data with a Chrome Extension

https://notnotp.com/notes/steal-your-data-with-a-chrome-extension/
1•enz•24m ago•0 comments

Claude Is Growing Tomatoes

https://autoncorp.com/biodome/
2•bpavuk•25m ago•0 comments

New Year's Fireworks Simulator in Your Terminal

https://github.com/willmcgugan/ny2026
1•willm•26m ago•0 comments

Show HN: I made islechat, like Slack but in the terminal over SSH

1•ashfn•26m ago•2 comments

Copenhagen Street Tree Density

https://cphtrees.netlify.app/
1•pppone•27m ago•0 comments

Show HN: Repair-JSON-stream – Fix broken JSON from LLM streaming (1.7x faster)

https://github.com/prxtenses/repair-json-stream
1•prxtenses•28m ago•0 comments

When Your Endpoints Play Russian Roulette and You're Holding the Gun

https://synapsflow.com/article/api-roulette-when-your-endpoints-play-russian-roulette-and-you-re-...
1•SynapsFlow•29m ago•1 comments

Curses, Vengeance, and Fishtails: The Cornish Mermaid in Perspective [pdf]

https://www.academia.edu/31865439/Curses_Vengeance_and_Fishtails_The_Cornish_Mermaid_in_Perspective
1•thunderbong•29m ago•0 comments

Customize Your Windows Within Sophia Script for Windows

https://github.com/farag2/Sophia-Script-for-Windows
1•farag2•31m ago•0 comments

The Story of OnlineOTP

https://jameelur.com/blog/online-otp-going-offline
1•WanderingSoul•33m ago•0 comments