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/

Show HN: Hacker News Dark Mode Bookmarklet

https://github.com/gorgonian/hn-dark-bookmarklet
1•gorgonian•1m ago•0 comments

What Beijing learned about the U.S. from the Iran war

https://www.politico.com/news/2026/05/08/china-lessons-iran-trump-xi-00912539
1•KnuthIsGod•5m ago•0 comments

Data Visualisation Guide

https://data.europa.eu/apps/data-visualisation-guide/graphic-design-introduction
1•tosh•8m ago•0 comments

How Timeplus AgentGuard dectect realtime threats from Agent

https://timeplus-io.github.io/Presentation---AgentGuard-Introduction/
1•gangtao•10m ago•0 comments

How Axavive Supports Better Wellness Naturally?

1•JackSage•15m ago•0 comments

Whistling-only WhatsApp groups are taking off in Brazil

https://www.theguardian.com/world/2026/may/05/brazil-craze-whistling-only-whatsapp-groups
2•sahar_builds•17m ago•0 comments

One-Shot-Porting Starlark to Pure Python with Claude Code

https://dbohdan.com/starlark-python
1•networked•18m ago•0 comments

[Odds of hitting] a home run off the top of the foul pole

https://www.nytimes.com/athletic/7261633/2026/05/08/oneil-cruz-home-run-foul-pole-pirates/
1•Kaibeezy•25m ago•1 comments

A Technical Dive into Formalization of Chess Tactics

https://lichess.org/@/heroku/blog/gofchess--a-technical-dive-into-formalization-of-chess-tactics/...
1•heroku•35m ago•0 comments

Show HN: My New Projects Website

https://apps.weichart.de
1•surrTurr•35m ago•0 comments

The Making of Steven Spielberg's Jurassic Park (2012)

https://www.blu-ray.com/news/?id=8186
2•susam•36m ago•0 comments

Deepsec: The security harness for finding vulnerabilities

https://vercel.com/blog/introducing-deepsec-find-and-fix-vulnerabilities-in-your-code-base
1•gmays•37m ago•0 comments

Watts Wasting Texas Water [pdf]

https://www.sierraclub.org/sites/default/files/2026-05/texaswaterreport_final.pdf
1•littlexsparkee•38m ago•0 comments

Aurora: A Leverage-Aware Optimizer for Rectangular Matrices

https://blog.tilderesearch.com/blog/aurora
1•sanxiyn•39m ago•0 comments

Snapseed 4.0 – Note from the Team

https://old.reddit.com/r/snapseed/comments/1t7j7yt/snapseed_40_a_note_from_the_snapseed_team/
1•satvikpendem•40m ago•0 comments

Fertilizer time bomb threatens to drive up Europe's food prices

https://www.politico.eu/article/europe-farmer-fertilizer-prices-iran-war-inflation/
1•leonidasrup•42m ago•0 comments

Italy looks to Libyan gas fields to replace supply shortages from Iran war

https://www.politico.eu/article/italy-libya-gas-replace-supply-shortage-iran-war/
1•leonidasrup•43m ago•0 comments

How to Build Vector Search from Scratch in Python

https://www.kdnuggets.com/how-to-build-vector-search-from-scratch-in-python
1•eigenBasis•43m ago•0 comments

Cloud Embeddings vs. Local Sovereign Memory

https://medium.com/@vektormemory/cloud-embeddings-vs-local-sovereign-memory-ai-agent-memory-layer...
1•vektormemory•47m ago•0 comments

Using Claude Code: The unreasonable effectiveness of HTML

https://twitter.com/trq212/status/2052809885763747935
23•pretext•48m ago•5 comments

The Two Abstractions of System Design: Hide or Reduce

http://muratbuffalo.blogspot.com/2026/05/the-two-abstractions-of-system-design.html
1•eigenBasis•48m ago•0 comments

OpenAI: Investigating the consequences of accidentally grading CoT during RL

https://alignment.openai.com/accidental-cot-grading/
2•pretext•50m ago•0 comments

Fabricated citations: an audit across 2.5M biomedical papers

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(26)00603-3/fulltext
1•jruohonen•51m ago•0 comments

InfoSylvita – Bilingual directory of 17,000 Latin-owned Canadian businesses

https://infosylvita.com
1•alealearce•57m ago•0 comments

Azthengar Build 2026.05.20 Now with Music

https://azthengar.itch.io/azthengarbuild20260508
1•RobotHouse•1h ago•0 comments

HTTP/3 over QUIC in Node.js

http://www.jasnell.me/posts/quic-part-4
1•maxloh•1h ago•0 comments

Show HN: Nanorust – Minimal server-driven UI in Rust

https://github.com/skorotkiewicz/nanorust
1•modinfo•1h ago•0 comments

The Cursed Computer Iceberg Meme (2021)

https://suricrasia.online/iceberg/
1•medbar•1h ago•0 comments

Hard Drive Smart Stats and Failure Rates

https://www.backblaze.com/docs/cloud-storage-hard-drive-smart-stats-and-failure-rates
1•mmh0000•1h ago•0 comments

Cyberattack hits Canvas system used by schools as finals loom

https://www.politico.com/news/2026/05/08/cyberattack-hits-canvas-system-used-by-thousands-of-scho...
2•1vuio0pswjnm7•1h ago•1 comments