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/

Ask HN: I am about to go from SWE to Product Manager, what is your day 1 advice?

1•mr_00ff00•31s ago•0 comments

A Luxury Survivalist Community Is Tearing Itself Apart

https://www.wsj.com/us-news/a-luxury-survivalist-community-is-tearing-itself-apart-53d2a99f
1•tortilla•36s ago•0 comments

AGH is the First open-network protocol for AI Agents

https://www.agh.network/
1•pedronauck21•5m ago•1 comments

How can we get politicians to listen? Surely there's a tech solution: Voice News

https://voicenews.app
1•henrystaley•5m ago•3 comments

Rise and Fall of Hosting Provider Gandi.net

https://gagliardoni.net/#20260528_gandi_downfall
2•tomgag•6m ago•1 comments

Google Engineer Charged with Insider Trading on Polymarket

https://www.bloomberg.com/news/articles/2026-05-27/google-engineer-charged-with-insider-trading-o...
3•forthwall•9m ago•0 comments

Charter Communications confirms data breach of apparently 40M records

https://www.techradar.com/pro/security/charter-communications-confirms-data-breach-shinyhunters-b...
2•lschueller•9m ago•0 comments

Wikipedia: Wiki Workers United Solidarity

https://en.wikipedia.org/wiki/Wikipedia:Wiki_Workers_United_solidarity
2•choult•10m ago•0 comments

I built three Wikipedia-based search tools as alternatives to Google AI

https://www.calishat.com/2026/05/21/three-search-alternatives-to-googles-brave-new-ai-world/
1•Calishat•11m ago•1 comments

NASA's Psyche Mission Aces Mars Flyby, Targets Metal-Rich Asteroid

https://www.nasa.gov/missions/psyche-mission/nasas-psyche-mission-aces-mars-flyby-targets-metal-r...
1•bookofjoe•11m ago•0 comments

Interesting possible new Tinder scam at scale

https://www.youtube.com/watch?v=rjxAYdUe8uU
1•lifeisstillgood•12m ago•0 comments

What Emerges When You Don't Break Sustained Coherent Human-AI Interaction

https://zenodo.org/records/20332884
1•Depiphany_Reb•15m ago•0 comments

Taking Naval Options Away from China –| Peter Zeihan [video][4m53s]

https://www.youtube.com/watch?v=NRkZprxYOzQ
1•Bender•15m ago•0 comments

China is keeping its best AI talent to itself via travel restrictions

https://techcrunch.com/2026/05/27/china-is-increasingly-keeping-its-best-ai-talent-to-itself/
1•jnord•15m ago•0 comments

A Google employee allegedly used inside information to win $1.2M on Polymarket

https://www.theverge.com/tech/938635/google-polymarket-insider-trading-prediction-market-bets
3•1vuio0pswjnm7•16m ago•0 comments

Halide Mark III

https://www.lux.camera/halide-mark-iii/
1•witweb•17m ago•0 comments

Keyboard Latency Probe

https://xkqr.org/bellwether/keyboardtest.html
2•birdculture•20m ago•0 comments

Google engineer charged in $1.2M Polymarket case

https://www.axios.com/2026/05/27/google-worker-polymarket-bets-inside-information-charges
5•1vuio0pswjnm7•20m ago•0 comments

Google Employee Charged with Insider Trading on Polymarket

https://www.wsj.com/tech/google-employee-charged-with-insider-trading-on-polymarket-b6a3b60f
2•1vuio0pswjnm7•22m ago•1 comments

Phaistos Disc

https://en.wikipedia.org/wiki/Phaistos_Disc
4•Jimmc414•26m ago•0 comments

Swift-dependencies is an unacceptable solution for managing Swift dependencies

https://adamz.dev/blog/swift-dependencies-warning/
1•zethraeus•27m ago•0 comments

ChatGPT, Claude, or Gemini? Big Pharma Is Choosing Sides

https://www.bigpharmasharma.com/p/chatgpt-claude-or-gemini-big-pharma
2•ShivuBPS•27m ago•1 comments

Ask HN: Gen model to 1) design characters 2) make a consistent comic with them?

2•rvba•28m ago•0 comments

I built a free cross-AI prompt manager (Chrome ext)

https://chromewebstore.google.com/detail/snipprompt-—-save-inject/glpahglhjckmlgpdanoflialkgnjmimm
1•PaoloJNN•29m ago•0 comments

Internet Traffic in Iran Increasing

https://radar.cloudflare.com/traffic/ir?dateRange=28d
2•Cider9986•32m ago•0 comments

Nvidia to spend $150B a year in Taiwan, 'epicentre' of AI revolution

https://www.reuters.com/world/asia-pacific/nvidia-ceo-says-taiwan-is-epicentre-ai-revolution-2026...
3•jnord•32m ago•0 comments

Why reluctant 'guru' says Dutch will win World Cup

https://www.bbc.co.uk/sport/football/articles/c20223n3k4yo
2•cjr•40m ago•0 comments

AI Infra Is Nothing Like the "Classic Cloud Infra"

https://ramansharma.substack.com/p/ai-infra-is-nothing-like-the-classic
3•intrepidsoldier•41m ago•0 comments

Malware dev tries to steal Claude users' secrets, leaks own GitHub private token

https://theins.press/en/corruption/291857
4•lschueller•43m ago•3 comments

Broadcom gets early start on WiFi 8 with next-gen wireless routing kit

https://www.theregister.com/networks/2026/05/27/broadcom-gets-early-start-on-wifi-8-with-new-rout...
3•Bender•45m ago•1 comments