frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

Lio•1y 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•1y 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/

The History and Evolution of the U.S. Electricity Industry [pdf]

https://energy.utexas.edu/sites/default/files/UTAustin_FCe_History_2016.pdf
2•thelastgallon•6m ago•0 comments

Scientists discover first eukaryote that can fix nitrogen (2024)

https://www.nature.com/articles/d41586-024-01046-z
2•science4sail•10m ago•0 comments

Welcome to Tile Language

https://tilelang.com/
2•gscott•15m ago•0 comments

DOE announces first Genesis Mission projects for AI-driven scientific discovery

https://www.energy.gov/articles/secretary-energy-chris-wright-announces-first-genesis-mission-pro...
3•rochansinha•20m ago•1 comments

Paternal metformin use associated with major birth defects (2022)

https://medicalxpress.com/news/2022-03-paternal-metformin-major-birth-defects.html
3•OutOfHere•22m ago•0 comments

Lowest, real-time On-Demand and Spot GPU prices across every cloud provider

https://gpu.atarimae.dev/
2•cafxx•23m ago•0 comments

A Visual Journey Through Async Rust

https://github.com/alexpusch/rust-magic-patterns/blob/master/visual-journey-through-async-rust/Re...
2•vinhnx•36m ago•0 comments

AGI Constitution 01~02

https://medium.com/@miho999lv/agi-constitution-5bc29c13445a
2•miho999lv•37m ago•0 comments

Humans Haven't Stopped Evolving

https://www.harvardmagazine.com/research/harvard-human-evolution-genes-selective-pressure
3•ilamont•37m ago•0 comments

Montana ETRB

https://twitter.com/NiklasAnzinger/status/2081081011123953832
2•Ariarule•38m ago•0 comments

Show HN: MutexCam – Global Camera and Mic Control on Mac for Zoom, Teams, Meet

https://mutex.cam/
2•superquizonline•39m ago•0 comments

Agentic test processes, LLM benchmarks, and other notes on agentic coding

https://danluu.com/ai-coding/
2•bathtub365•45m ago•0 comments

Open Source Repo

https://github.com/Ardrey-Kell-Computer-Science-Club/teenblogcs
4•shivcodes2•50m ago•1 comments

JetZero

https://www.jetzero.aero
57•lisper•51m ago•39 comments

India's 'Cockroach' Protesters Declare Rare Victory over Government

https://www.nytimes.com/2026/07/25/world/asia/india-education-minister-resigns-cockroach-protests...
5•thunderbong•55m ago•0 comments

We built the new fastest API for GLM-5.2

https://www.baseten.co/blog/how-we-built-the-new-fastest-api-for-glm-52/
2•philipkiely•55m ago•0 comments

Show HN: Raise a virtual pet with your friend/partner

https://dandan.schols.io
2•chaidhat•1h ago•0 comments

Google ignored my site for 13 weeks, so I audited everyone who outranks me

https://getqrcodepro.com/blog/google-ranking-evidence
3•benbuilds•1h ago•0 comments

An ESP32 based plane radar for my desk

https://blog.ktz.me/esp32-plane-radar/
19•alexktz•1h ago•5 comments

Lessons from Building My Own Products as a Freelance Engineer

https://www.mazin.sd/blog/lessons-from-building-my-own-products-as-a-freelance-engineer
2•maz225•1h ago•0 comments

Four Proposals to Improve Fuel Economy Standards (2021)

https://epic.uchicago.edu/area-of-focus/four-proposals-to-improve-fuel-economy-standards/
2•bariumbitmap•1h ago•0 comments

Show HN: Rules that stop AI coding agents from breaking working code

https://github.com/avenna01-ceo/claude-code-survival-kr
2•gaiinmaster•1h ago•0 comments

Show HN: I enhanced the UX for TemplatesOn, what do you think?

https://templateson.com
2•maz225•1h ago•0 comments

Multiple LLMs trying to reach a consensus

https://trekhleb.dev/blog/2026/yesbrainer/
2•trekhleb•1h ago•0 comments

Show HN: I mapped every US golf course – 16k+ courses, free, no signup

https://golfcoursebrowser.com/
31•rickmf•1h ago•5 comments

What Colorado consumers should know about the cyclospora outbreak

https://source.colostate.edu/cyclospora-outbreak-safety-symptoms/
4•mooreds•1h ago•0 comments

Ajay Kumar on running MCP in production [audio]

https://www.getreadyforagents.com/podcast/ajay-kumar-mcp-in-production-ediy/
2•mooreds•1h ago•0 comments

When You Build the Wrong Thing

https://remotesynthesis.com/posts/when-you-build-the-wrong-thing/
3•mooreds•1h ago•0 comments

Show HN: What 180k words look like as a temporal knowledge graph (Oz series)

https://synaptale.com/graph?ch=100
6•ald0r•1h ago•0 comments

Do People Swallow 8 Spiders a Year While They Sleep? (2014)

https://www.scientificamerican.com/article/fact-or-fiction-people-swallow-8-spiders-a-year-while-...
3•thunderbong•1h ago•0 comments