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/

Lamb kebabs made of goat compared to horsemeat in lasagne scandal

https://www.bbc.com/news/articles/ce95y1zlzyxo
1•dp-hackernews•57s ago•0 comments

China built a 40-story tower that stores wind power by stacking concrete

https://boingboing.net/2026/07/06/post-china-built-a-40-story-tower-that-stores-wind-powe.html
1•interpol_p•1m ago•0 comments

OpenClaw plugin for real phone calls via Twilio and OpenAI Realtime

https://github.com/TristanBrotherton/openclaw-voice-call-realtime
1•thunderbong•1m ago•0 comments

Cheyenne Won't Take Data Center Wastewater After Meta Contractor Contamination

https://cowboystatedaily.com/2026/07/02/cheyenne-wont-take-data-center-wastewater-after-meta-comp...
1•cdrnsf•2m ago•0 comments

Show HN: Built the Amazon for Speciality Coffee

https://specialitycoffeeonline.com/
1•wbemaker•3m ago•0 comments

Show HN: The first agentic coding engine that hot-reloads the full stack

https://serverpod.dev/blog/serverpod-4-public-beta
1•vlidholt•4m ago•0 comments

Apple to increase spend with Broadcom to produce billions more U.S. chips

https://www.apple.com/newsroom/2026/07/apple-to-increase-spend-with-broadcom-to-produce-billions-...
1•soheilpro•4m ago•0 comments

Approximating Floating-Point Addition Using the Geometric Mean [pdf]

https://www.arith2026.org/papers/Approximating%20Floating-Point%20Addition%20Using%20The%20Geomet...
1•theanonymousone•5m ago•0 comments

Otary – Image and Geometry Python Library Now Has Tutorials

https://alexandrepoupeau.com/otary/learn/
1•poupeaua•5m ago•0 comments

Institutional Sovereignty in the Age of AI [pdf]

https://assets.ctfassets.net/xrfr7uokpv1b/yF0AXklHQd7K3SqKICNTM/e9f9167d1b3c7cce56ab3b8c4cc572da/...
1•cyrve•6m ago•0 comments

2FA is dead, it just doesn't know it yet

https://mikhailian.mova.org/posts/326-actionable-security-is-missing-on-the-eu-horizon.html
1•sam_lowry_•8m ago•0 comments

Your code is fast - if you’re lucky

https://tiki.li/blog/lucky_code.html
1•chrka•8m ago•0 comments

Panoramax – The free alternative to photo-mapping territories

https://panoramax.fr
2•jraph•11m ago•1 comments

Trump orders a halt to US trade with Spain

https://www.politico.eu/article/trump-says-hes-cutting-off-trade-with-spain-over-defense-spending...
3•JumpCrisscross•13m ago•1 comments

Android phones will see more downgrades as RAMageddon rages on

https://9to5google.com/2026/07/07/android-phones-downgrades-cheap-devices-ramageddon/
1•theanonymousone•14m ago•0 comments

SinceAI: A nonprofit AI accelerator combining compute, research, pilot customers

https://sinceai.ai
3•hasnain_ai•14m ago•0 comments

Founder of Adderall 'Pill Mill' Sentenced to Six Years in Prison

https://www.wsj.com/us-news/law/founder-of-adderall-pill-mill-sentenced-to-six-years-in-prison-1c...
1•impish9208•18m ago•1 comments

Show HN: On-device semantic-embedding toolkit built on ternlight

https://ternlight.vercel.app/
1•modinfo•19m ago•0 comments

Ask HN: Does Apple not care about fake apps in the App Store?

3•pentacent_hq•22m ago•1 comments

Germans turn to battery storage to shield against fossil fuel price shocks

https://www.euronews.com/2026/07/08/solar-mad-germans-turn-to-battery-storage-to-shield-themselve...
2•rustoo•23m ago•0 comments

Open-source LLMs administer maximum electric shocks in a Milgram-like obedience

https://www.lesswrong.com/posts/fTnnq82CB5vxqrNp9/open-source-llms-administer-maximum-electric-sh...
1•joozio•28m ago•0 comments

We Got This Wrong. and We Are Fixing It

https://community.hubspot.com/t/we-got-this-wrong-and-we-are-fixing-it/152063
8•JumpCrisscross•29m ago•7 comments

Google Search Console vs Bing Webmaster Tools

https://adilrashidlone.substack.com/p/google-search-console-vs-bing-webmaster
1•digitaldaddyme•30m ago•0 comments

The different levels of how Claude thinks [YouTube]

https://www.youtube.com/watch?v=rKV5JcALQoQ
1•topherjaynes•30m ago•0 comments

Ask HN: Are you paying for Lovable / Replit / Base44?

1•shvilesh-logen•31m ago•0 comments

List of European organizations that have banned personal messaging apps at work

https://www.birdy.chat/blog/the-growing-list-of-european-organisations-that-ban-personal-messagin...
9•rmesters•31m ago•1 comments

Hackers can use 9 of the most popular AI tools to assemble botnets

https://arstechnica.com/security/2026/07/hackers-can-use-9-of-the-most-popular-ai-tools-to-assemb...
1•joozio•32m ago•0 comments

How Build Cache for React Native works: caching C++ your CI keeps recompiling

https://bitrise.io/blog/post/how-build-cache-for-react-native-works-caching-the-cpp-your-ci-keeps...
1•viktorbenei•33m ago•0 comments

The referee and the bulletproof vest; every real fairness system makes enemies

https://thenextnow.substack.com/p/the-referee-and-the-bulletproof-vest
1•jamieskella•34m ago•0 comments

CodeTalk – recover why AI-written code was written, quoted from Git (zero-LLM)

https://github.com/HUKAIR/CodeTalk
1•Johnny666456•35m ago•0 comments