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/

Parsing JSON at compile time with C++26 static reflection

https://lemire.me/blog/2026/06/14/parsing-json-at-compile-time-with-c26-static-reflection/
1•kristianp•2m ago•0 comments

Flood-Prone Parts of America Are Losing Residents at Nearly 2x Last Year's Rate

https://www.redfin.com/news/climate-migration-real-estate-2026/
2•toomuchtodo•7m ago•1 comments

What I'm Finding About LLM Code Style and Token Costs

https://www.jimmont.com/llm-style-token-costs
1•jimmont•9m ago•1 comments

Venezuela hit by 7.5 magnitude earthquake

https://apnews.com/article/venezuela-earthquake-caracas-7179acaee70a9c543f953852f15d4814
2•oofbey•10m ago•0 comments

A Few Tools for Cyclists

https://www.theinstant.cc/
1•Gshaheen•14m ago•0 comments

Google's Gemini 3.5 Pro Release Slips to July

https://www.businessinsider.com/google-3-5-pro-july-release-tokens-ai-agents-model-2026-6
3•simonpure•14m ago•0 comments

Halyard – open AI work ledger for developers (time, tokens, cost, invoices)

https://github.com/Kormiloio/Halyard
1•mcamaj•15m ago•0 comments

The Joy and Power of Understanding

https://binaryigor.com/the-joy-and-power-of-understanding.html
2•birdculture•18m ago•0 comments

Do Course Certificates Matter?

4•ghassenfaidi•18m ago•0 comments

LuaJIT 3.0 proposed syntax extensions

https://github.com/LuaJIT/LuaJIT/issues/1475
12•phreddypharkus•20m ago•0 comments

Google DeepMind and A24 announce first-of-its-kind research partnership

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/deepmind-a24-research-p...
4•ChrisArchitect•21m ago•0 comments

To sell toys

https://tfwiki.net/wiki/To_sell_toys
2•unleaded•24m ago•0 comments

Natural Language Is an Interface Capability, Chat Is Just a Mechanism

https://robenglander.com/writing/the-case-for-language-native-software/
3•robenglander•25m ago•0 comments

Absurdly Optimized

https://www.absurdlyoptimized.com/
3•skogstokig•27m ago•0 comments

Google releases new privacy controls for activity history, personalization

https://www.bleepingcomputer.com/news/google/google-releases-new-privacy-controls-for-activity-hi...
3•ilreb•27m ago•0 comments

10 Years of Euthanasia in Canada: 27 Deaths a Day

https://zenit.org/2026/06/22/10-years-of-euthanasia-in-canada-27-deaths-a-day-10000-a-year-and-no...
3•silvestromedia•28m ago•0 comments

Elastic layoff translation (June 24, 2026)

https://layofftranslator.com/layoffs/2026-06-24-elastic/
4•ronbenton•34m ago•0 comments

Indiana Jones and the Quest for Paradise VGA

https://archive.org/details/indy-paradise-vga
2•wicket•41m ago•0 comments

Use Claude Chrome Extension from Cursor

https://github.com/bebrws/claude-chrome-extension-from-cursor
2•bebrws•42m ago•1 comments

Human Brain Has Separate Circuits for Belly Laughs and Polite Chuckles

https://gizmodo.com/your-brain-has-separate-circuits-for-belly-laughs-and-polite-chuckles-2000775984
9•gmays•42m ago•0 comments

Venezuela earthquake: powerful back-to-back quakes collapse buildings in Caracas

https://www.theguardian.com/world/2026/jun/25/earthquake-venezuela-caracas-tremors-aftershocks
9•teleforce•43m ago•0 comments

Ask HN: What are the hardest problems AWS Lambda MicroVMs can solve now?

4•iaziz786•44m ago•0 comments

FPGA-based CNN acceleration using pattern-aware pruning [pdf]

https://inria.hal.science/hal-04689673/document
2•teleforce•45m ago•0 comments

Vypl a Python REPL that works like Vim

https://github.com/HoraDomu/Vypl
2•HoraDomu•46m ago•0 comments

Geopolitical Risk Index

https://www.matteoiacoviello.com/gpr.htm
4•mooreds•49m ago•0 comments

Coal Butter - Butter Made from Coal

https://en.wikipedia.org/wiki/Margarine
4•gurjeet•51m ago•2 comments

We'll fight the platform war against Big AI

https://www.anildash.com/2026/06/23/fight-ai-platform-war/
3•aendruk•54m ago•0 comments

Show HN: A durable filesystem layer for AI agents

https://github.com/CelestoAI/smolfs
3•theaniketmaurya•56m ago•1 comments

Snap sued over rape of minor who connected to adult attacker on Snapchat

https://apnews.com/article/snapchat-minor-rape-lawsuit-missouri-0c3ba0ac009134a1154b388419b8d07a
5•petethomas•57m ago•0 comments

Anthropic Accuses Alibaba of ‘Illicitly’ Accessing AI Models

https://www.bloomberg.com/news/articles/2026-06-24/anthropic-accuses-alibaba-of-illicitly-accessi...
15•ryanmerket•59m ago•10 comments