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/

Companies Are Throttling Employees' AI Use Because It's Too Expensive

https://www.404media.co/companies-are-throttling-employees-ai-use-because-its-too-expensive/
1•_tk_•58s ago•0 comments

Hackers shoveled snow for company, were rewarded with network admin access

https://www.theregister.com/security/2026/07/02/hackers-shoveled-snow-for-company-were-rewarded-w...
1•geekinchief•1m ago•1 comments

SAP Restricts Hiring, Travel to Fund 'Significant' AI Push

https://www.bloomberg.com/news/articles/2026-07-02/sap-restricts-hiring-travel-to-fund-significan...
1•root-parent•3m ago•0 comments

Many laundromats, food trucks, or gyms exist in any US county (free tool)

https://valtr.xyz/check
1•berkleyn•3m ago•1 comments

Dockframe – modular USB hub compatible with Framework Expansion Cards

https://www.crowdsupply.com/hw-media-lab/dockframe
1•matthiaswh•3m ago•0 comments

I visited the infamous HS2 'Bat Tunnel'

https://martinrobbins.substack.com/p/i-visited-the-infamous-hs2-bat-tunnel
1•rwmj•4m ago•0 comments

Show HN: Row to Glory, a Viking rhythm game to row your way to World Cup 2026

https://www.rowtoglory.com
1•kman_85•5m ago•0 comments

Germany's Infineon opens $5.7B chip plant as EU seeks tech autonomy

https://www.rfi.fr/en/international-news/20260702-germany-s-infineon-opens-major-chip-plant-as-eu...
2•giuliomagnifico•5m ago•0 comments

Foreign Influence in the Campaign Against American AI

https://www.btcpolicy.org/articles/foreign-influence-campaign-against-american-ai-part-ii-singham...
2•gmays•6m ago•0 comments

What Should We Optimize Away?

https://www.autodidacts.io/holistic-optimization/
1•surprisetalk•7m ago•0 comments

The Economy Is K-Shaped

https://moai.studio/blog/posts/economy-is-k-shaped.html
2•ionwake•9m ago•0 comments

Closed class hierarchies in .NET 11

https://andrewlock.net/exploring-the-dotnet-11-preview-4-closed-class-hierarchies/
1•ingve•9m ago•0 comments

Building a Passive Ethernet Tap

https://blog.lvmbdv.dev/posts/building-a-passive-ethernet-tap/
2•birdculture•11m ago•0 comments

Show HN: DevTUI – A Swiss-army app for developers

https://devtui.com/
1•lunaticman•11m ago•0 comments

AI fake news complaining about how AI fake news is the death of real news

https://www.niemanlab.org/2026/07/now-were-getting-ai-fake-news-complaining-about-how-ai-fake-new...
2•thm•11m ago•0 comments

Glyph – Generate app icons for every platform from a text description

https://useglyphapp.com
1•useglyphapp•13m ago•0 comments

Japan study finds coffee taste changes with cup texture

https://mainichi.jp/english/articles/20260629/p2a/00m/0na/020000c
2•giuliomagnifico•14m ago•0 comments

Show HN: Open-Source AI Native IDE Cursor Alternative

https://github.com/neuralinverse/neuralinverse
4•vakeeshmoorthy•15m ago•0 comments

LLM Fine-Tuning and Model Iteration Loop: Improve AI Apps in Production

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

Island Imagined

https://islandimagined.ca/
1•xattt•16m ago•0 comments

Qt Bridges: Public Beta for the Rust Bridge Is Out

https://www.qt.io/blog/qt-bridges-public-beta-for-rust
1•pjmlp•17m ago•0 comments

Vipassana for Hackers

https://github.com/deobald/vipassana-for-hackers
1•rishikeshs•18m ago•0 comments

The proper way to verify age & other attributes without revealing identity [pdf]

https://magarshak.com/papers/privacy/Personal.pdf
1•EGreg•19m ago•0 comments

NSA tries to weaken mlkem standardisation

https://nsa.2026.action.cr.yp.to
2•SuperSandro2000•19m ago•0 comments

Electricity demand is set to pass GDP in growth for first time

https://finance.yahoo.com/energy/article/electricity-demand-is-set-to-grow-faster-than-the-global...
1•m-hodges•20m ago•0 comments

Show HN: Navia Dratp – an online version of an out-of-print Bandai strategy game

https://naviadratp.com/
2•explosionpunch•20m ago•0 comments

US companies are losing 2.4% of revenue on failed AI projects

https://www.ciodive.com/news/wasted-tech-spend-AI-governance/824275/
4•redsymbol•21m ago•0 comments

SIMD Vectors in the HotSpot JVM – Auto Vectorization and the Vector API

https://www.youtube.com/watch?v=KpCz6UtViEo
1•pron•21m ago•0 comments

Tell HN: We need an accounting system for cognitive debt

2•mikaelaast•21m ago•0 comments

Trump's court win reignites fight to sink €1.7T data deal with Europe

https://www.politico.eu/article/european-regulators-assessing-whether-scotus-ruling-threatens-tra...
1•ndsipa_pomu•21m ago•0 comments