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/

US Military F-35B fighter jet crashes and burns at California Marine Corps base

https://www.cnn.com/2026/07/31/us/military-jet-crash-california-marine-base
1•teleforce•17s ago•0 comments

Kenji/Serious Eats – 30-Min Pressure Cooker Pho Ga

https://www.seriouseats.com/30-minute-pressure-cooker-pho-ga-recipe
1•stasomatic•22s ago•1 comments

SecureShip – free zero-dep static security scanner for Next.js

https://github.com/linusnicolau/secureship-cli
1•secureship•2m ago•0 comments

Crystal Wars – turn-based strategy on a fresh Voronoi map every match

https://play.crystalwars.io
1•VertexNoord•3m ago•1 comments

The Bedrock of Software Design

https://alex.draftist.io/blog/the-bedrock-of-software-design-ycqvcedsj
2•birdculture•3m ago•0 comments

The Absent Narrator

http://blog.funcall.org/ai/2026/07/31/absent-narrator/
1•varjag•4m ago•0 comments

Indexing the Data Lake for Online Point Queries

https://engineering.atspotify.com/2026/7/indexing-the-data-lake-for-online-point-queries
2•kalaracey•5m ago•0 comments

AI Adoption Is Dividing Friends, Families and Co-Workers

https://www.bloomberg.com/news/articles/2026-07-30/how-chatgpt-and-ai-are-dividing-friends-and-fa...
1•theanonymousone•7m ago•0 comments

GitHub has alternatives, but no replacement

https://lalitm.com/post/github-alternatives/
4•lalitmaganti•7m ago•0 comments

Show HN: Netmnt 0.2.0

https://github.com/thongor77/netmnt
1•magetriste•12m ago•0 comments

What Luxury Housing Does to Homelessness [video]

https://www.youtube.com/watch?v=rQW4W1_SJmc
1•felineflock•19m ago•0 comments

SupererDuperer

https://www.shirtpocket.com/blog/supererduperer
1•zdw•20m ago•0 comments

Cursor removed cost information from the usage page and CSV export

https://forum.cursor.com/t/usage-page-to-token-amount-what/167153
3•EugeneOZ•21m ago•0 comments

Explorative modeling: Train on the best of K guesses

https://alexiglad.github.io/blog/2026/explorative_modeling/
1•DSemba•24m ago•0 comments

The fall and rise of the English country house

https://www.english-heritage.org.uk/visit/inspire-me/the-fall-and-rise-of-the-english-country-house/
1•EndXA•24m ago•0 comments

Anthropic brags that its models committing crimes without being told to do so

https://www.cnbc.com/2026/07/30/anthropic-says-claude-gained-unauthorized-access-to-others-system...
2•zapataband1•25m ago•1 comments

PoE2 devs convinced Nvidia to fix a driver bug by sending it a PC

https://www.pcgamer.com/games/rpg/after-a-year-and-a-half-of-rigorous-testing-path-of-exile-2-dev...
2•exec•25m ago•0 comments

Token Reduction Is Not Cost Reduction

https://arxiv.org/abs/2607.12161
2•umitkaanusta•28m ago•1 comments

How to Stop Procrastinating

https://www.economist.com/science-and-technology/2026/07/31/how-to-stop-procrastinating
2•bookofjoe•29m ago•1 comments

CJEU Judgment on Knowledge of Foreign Copyright Laws and Geoblocking Measures

https://blog.ericgoldman.org/archives/2026/07/cjeu-judgment-on-geoblocking-standards-for-knowledg...
1•hn_acker•31m ago•1 comments

Toast IDE Gets Markdown Spell Checking

https://github.com/paradise-runner/toast
1•dividedcomet•31m ago•0 comments

Ask HN: Any tips for a college freshman enrolled in computer science?

2•NotParth11•32m ago•1 comments

The NUMBER – trusted number infrastructure

https://rounded.lol/
1•thunderbong•32m ago•0 comments

Burn Their Money –> Humans and Freedom

https://github.com/peterlodri-sec/burn-em-bitches-money
1•pocok0xRE•33m ago•0 comments

Not just Neanderthals: Ghost lineage in Africa left its mark on our DNA

https://arstechnica.com/science/2026/07/not-just-neanderthals-ghost-lineage-in-africa-left-its-ma...
1•Brajeshwar•34m ago•0 comments

Playing Original Xbox Game Discs on a PC. Real Backward Compatibility

https://gdox.korze.org/wtf/
2•korze•35m ago•1 comments

Ls-guard: generate and audit Postgres/Supabase RLS from a spec

https://github.com/greyrow/rls-guard
2•greyrow•39m ago•0 comments

Show HN: DSCode – Coding Agent Powered by DeepSeek

https://dscode.ai/
1•qwikhost•39m ago•0 comments

Single-file Ada 83 LLVM compiler

https://github.com/AdaDoom3/Ada83/tree/main
1•roger23•39m ago•4 comments

Fidelity Is Not Safety: Compressed LLMs Pass Quality Guards yet Invent

https://arxiv.org/abs/2607.28196
1•sbulaev•40m ago•0 comments