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•11mo ago

Comments

Lio•11mo 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•11mo 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 world wants Chinese tech. China is determined to keep it

https://www.economist.com/china/2026/04/20/the-world-wants-chinese-tech-china-is-determined-to-ke...
1•andsoitis•55s ago•0 comments

Anduril, Palantir and SpaceX are changing how America wages war

https://www.economist.com/business/2026/04/20/anduril-palantir-and-spacex-are-changing-how-americ...
1•andsoitis•1m ago•0 comments

The Code-Adjacent Power of AI

https://danielabaron.me/blog/the-code-adjacent-power-of-ai/
1•speckx•1m ago•0 comments

Teaching Claude CAD skills. Onshape MCP and visual reasoning tools

https://reshef.io/a/20260420_onshape_mcp/
1•ReshefElisha•1m ago•0 comments

No more Opus for Copilot Pro plan users

https://github.blog/changelog/2026-04-20-changes-to-github-copilot-plans-for-individuals/
2•guilamu•3m ago•0 comments

Show HN: A document snapshot solution to counter backups with name "Final_final"

https://apps.microsoft.com/detail/9nsd7jd58g17?hl=en-US&gl=US
1•hideload•8m ago•0 comments

Humanoid Robot Shatters Human Half-Marathon Record to Make History

https://hothardware.com/news/humanoid-robot-shatters-human-half-marathon-record
1•axelfontaine•8m ago•0 comments

American Library Association releases list of the most challenged books of 2025

https://text.npr.org/nx-s1-5791617
2•everdrive•9m ago•0 comments

The glance, and song, that could define the Premier League title race

https://www.cnn.com/2026/04/20/sport/premier-league-manchester-city-arsenal-erling-haaland
1•mooreds•9m ago•0 comments

US Class Action Suit over BrowserGate

https://browsergate.eu/updates/us-class-action-suit-over-browsergate-filed/
2•speckx•10m ago•0 comments

Show HN: Clock-MCP, stop guessing the time in AI

https://crates.io/crates/clock-mcp
1•DavidCanHelp•10m ago•1 comments

We got 207 tok/s with Qwen3.5-27B on an RTX 3090

https://github.com/Luce-Org/lucebox-hub
3•GreenGames•10m ago•1 comments

After a 7.7-magnitude quake, Japan warns of slightly higher risk of a mega-quake

https://www.pbs.org/newshour/world/after-a-7-7-magnitude-quake-japan-warns-of-slightly-higher-ris...
2•mikhael•11m ago•0 comments

Personal AI Safety: The Default Settings Will Not Save You

https://personalaisafety.com/p/the-default-settings-will-not-save
2•lukaszkorecki•12m ago•0 comments

Pasta sauce wants to record your family

https://www.theverge.com/tech/913874/prego-connection-keeper-bundle-voice-recorder-storycorps
1•corvad•14m ago•1 comments

Everything is AI now – does this kill the excitment of software development?

2•sminchev•15m ago•5 comments

America's coming revolt is in the 'wired belt'

https://www.ft.com/content/08ac1335-6fa5-4f62-ab51-0451d9e155d4
2•alephnerd•16m ago•0 comments

Show HN: Git Push No-Mistakes

https://github.com/kunchenguid/no-mistakes
1•akane8•16m ago•0 comments

Kimi vendor verifier – verify accuracy of inference providers

https://www.kimi.com/blog/kimi-vendor-verifier
2•Alifatisk•17m ago•0 comments

Expansion Artifacts

https://mattstromawn.com/writing/expansion-artifacts/
1•tobr•18m ago•0 comments

A Nation of Copycats in a Data Center

https://sphera.substack.com/p/a-nation-of-copycats-in-a-data-center
1•KyleVlaros•19m ago•0 comments

Some fish can tell when you're staring at them or their eggs

https://www.scientificamerican.com/article/these-fish-know-when-youre-watching-them/
2•thinkingemote•20m ago•0 comments

Scientists Uncover Potential Brain Risks of Popular Fish Oil Supplements

https://scitechdaily.com/scientists-uncover-potential-brain-risks-of-popular-fish-oil-supplements/
2•thinkingemote•21m ago•0 comments

Freedom of Information Request – Chat GPT Conversations – UK Science Secretary

https://www.gov.uk/government/publications/foi2025-00120-plain-text-copy-of-peter-kyles-chatgpt-h...
1•oli5679•24m ago•0 comments

A Camera That Freezes Rotation | Stroboscopic Video

https://www.youtube.com/watch?v=xXAQZLS5Epw
1•voctor•26m ago•0 comments

Prediction Markets: Last Week Tonight with John Oliver [video]

https://www.youtube.com/watch?v=ZN4njIQcSR4
1•cdrnsf•28m ago•0 comments

Alignment by Default?

https://blog.cosmos-institute.org/p/alignment-by-default
2•paulpauper•30m ago•0 comments

Eight Rules to Regain Public Trust in Academia

https://marginalrevolution.com/marginalrevolution/2026/04/eight-rules-to-regain-public-trust-in-a...
2•paulpauper•30m ago•0 comments

Knausgaard's Diabolic Realism

https://www.thedriftmag.com/roman-flood/
1•paulpauper•31m ago•0 comments

As Enrollment Dips, School Administrators Turn to TikTok to Advertise

https://www.nytimes.com/2026/04/17/nyregion/nyc-school-ads.html
1•bookofjoe•33m ago•1 comments