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•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/

Coding plan comparisons based on actual usage

https://sites.diy/blog/2026-05-01-coding-plan-comparisons/
1•gmays•1m ago•0 comments

DNA matches identify four more sailors from Franklin expedition

https://uwaterloo.ca/news/media/dna-matches-identify-four-more-sailors-franklin-expedition
1•bandrami•3m ago•0 comments

Claude Code CVE-2026-39861:sandbox escape via symlink

https://github.com/advisories/GHSA-vp62-r36r-9xqp
2•Armor1AI•5m ago•0 comments

Anthropic response to 1-click pwn: Shouldn't have clicked 'ok'

https://www.theregister.com/security/2026/05/07/claude-code-trust-prompt-can-trigger-one-click-rc...
2•Lihh27•6m ago•0 comments

Hexo accidentally made the repository private and lost all stars

https://github.com/orgs/hexojs/discussions/5775
1•ZeroAurora•8m ago•0 comments

Stop paying twice for storage. Use your spare webhosting as your own cloud drive

https://github.com/KyleBenzle/FreeCloud
1•Hilliard_Ohiooo•11m ago•0 comments

Thermal event affecting AWS AZ use1-az4

https://health.aws.amazon.com/health/status#786566
2•themenomen•12m ago•0 comments

Companies help parents try to pick their babies' traits

https://text.npr.org/nx-s1-5704317
1•mooreds•12m ago•0 comments

Bliss (Photograph)

https://en.wikipedia.org/wiki/Bliss_(photograph)
1•cainxinth•13m ago•0 comments

Silver, Silk, and States: The Spanish Empire and Ming China

https://andrewhuangster.substack.com/p/silver-silk-and-states-how-a-single
3•soupspaces•13m ago•0 comments

SDLC is a power tool, not a compliance document

https://blog.robbowley.net/2026/05/07/your-sdlc-is-a-power-tool-not-a-compliance-document/
2•8organicbits•18m ago•0 comments

Anthropic and the Department of War

https://www.hyperdimensional.co/p/clawed
2•mooreds•18m ago•0 comments

Summer of Math Expositions(2021-2025) – 3b1B archive

https://some.3b1b.co/archive?category=video&year=2021&page=1
1•num42•21m ago•0 comments

Archive.today requires scanning a QR code on your phone to use

https://archive.fo
2•Cider9986•21m ago•1 comments

Show HN: AnamDB – An AI-native, differentiable Datalog engine written in Rust

https://github.com/jam5991/anam
1•jam5991•22m ago•1 comments

Agentic Coding at ClickHouse

https://clickhouse.com/blog/agentic-coding
1•ubolonton_•22m ago•0 comments

It's time to stop using SMS, here's why [video]

https://www.youtube.com/watch?v=B9BWXvn-rB4
1•Cider9986•23m ago•0 comments

Anthropic's Mythos Threw the White House AI Strategy into Chaos

https://www.wsj.com/tech/ai/trump-ai-anthropic-mythos-regulation-2378971f
1•RyanShook•23m ago•0 comments

Ocean2: Data centers powered by ocean waves [video]

https://www.youtube.com/watch?v=Q7Pmgq2JKbI
1•Aeroi•26m ago•1 comments

Where Are You in the Context Supply Chain?

https://educatedguesser.substack.com/p/where-are-you-in-the-context-supply
2•mfiguiere•30m ago•0 comments

IMF warns new AI models risk 'systemic' shock to finance

https://www.ft.com/content/103d73d3-7119-4dee-8c47-b3fc62d2f1e6
2•petethomas•30m ago•0 comments

Using AI for Just 10 Minutes Might Make You Lazy and Dumb, Study Shows

https://www.wired.com/story/using-ai-negative-impact-thinking-problem-solving-study/
3•gnabgib•34m ago•0 comments

Show HN: WordPress WebSocket Relay in Rust with Yjs CRDT Provider for WP 7.0

https://wpsignal.io/
1•jaredrethman•36m ago•0 comments

Show HN: HeatSpectra: Realtime 3D Surface Heat Simulation

https://github.com/tsun3doku/HeatSpectra
1•tsun3doku•40m ago•0 comments

Roche to Buy PathAI for Up to $1.05B to Bolster AI Diagnostics Tools

https://www.wsj.com/business/deals/roche-to-buy-pathai-for-up-to-1-05-billion-to-bolster-ai-diagn...
1•SaaSasaurus•42m ago•0 comments

AniTroves – An anime database with a custom LLM-based discovery hub

1•anitroves•45m ago•0 comments

YouTube aspect ratios – no way to fix it?

1•mr-pink•46m ago•1 comments

Show HN: Agentctl, a local control plane for coding agents

https://github.com/chocks/agentctl
1•chocks•49m ago•0 comments

I made a simple, free family tree app that handled my 300 person, 5 gen. family

https://www.familytreeiq.com
1•mknweb•49m ago•2 comments

Upper bound for AI output is based on your taste/exposure

1•yehiaabdelm•58m ago•0 comments