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/

Spider venom kills varroa mites without harming honeybees

https://connectsci.au/news/news-parent/9703/Spider-venom-kills-varroa-mites-without-harming
1•Jedd•1m ago•0 comments

Microsoft's gaming strategy has misfired badly

https://www.economist.com/business/2026/07/08/microsofts-gaming-strategy-has-misfired-badly
1•petethomas•6m ago•0 comments

Reload Rust code without app restarts. For faster feedback cycles

https://github.com/rksm/hot-lib-reloader-rs
2•vlovich123•7m ago•0 comments

Show HN: Embeddable visual HTML/CSS page editor

https://neikiri.dev/page-editor/
1•neikiri•7m ago•0 comments

OpenCode Bug: "I did not say that you did"

https://www.williamangel.net/blog/2026/07/08/OpenCode-Bug-I-did-not-say-that-you-did.html
2•datadrivenangel•12m ago•0 comments

Compendium – Shared workspace for teams and AI agents

https://www.cerenovus.ai/
1•Azimuth05•23m ago•1 comments

The AI Policy That Never Shipped

https://mendelevium.github.io/the-policy-never-shipped/
1•bobbybidon•24m ago•0 comments

Global Cancer Observatory – interactive visualization and data explore

1•andsoitis•28m ago•1 comments

EU's border check needs complete 'overhaul', says Greek airports chief

https://www.ft.com/content/83ae0ca8-ccce-4253-abfb-4c204f24bbbd
1•JumpCrisscross•29m ago•0 comments

FarRail Tours

https://www.farrail.com/
1•Svip•30m ago•0 comments

I am Scott Hansen, I make music as Tycho and visual work as ISO50 (2013)

1•andsoitis•36m ago•0 comments

China's Comicup convention showcases 'nüwu,' a niche genre avoiding romance

https://www.sixthtone.com/news/1018736/NoWoo:AtChina’sTopAnimeConvention,LoveTakesaBackSeat
1•whiteblossom•36m ago•0 comments

GPT‑Live

https://openai.com/index/introducing-gpt-live/#
1•adithyaharish•43m ago•0 comments

Modernizing Kernel Cryptography [video]

https://www.youtube.com/watch?v=TBUK5DKeXRg
1•zdkaster•52m ago•1 comments

Meta Tapped a Pentagon Supplier to Prototype Face Recognition for Its Glasses

https://www.wired.com/story/meta-rank-one-computing-face-recognition-smart-glasses/
2•1vuio0pswjnm7•55m ago•0 comments

Feds demand autonomous vehicle companies stop interfering with first responders

https://techcrunch.com/2026/07/08/feds-demand-autonomous-vehicle-companies-stop-interfering-with-...
2•rilan•1h ago•0 comments

Neuromorphic Silicon Neuron Controller for Deep Brain Stimulation in Parkinsons

https://arxiv.org/abs/2607.05453
1•Jimmc414•1h ago•0 comments

I fact-checked 15 stats from a 1.2M-subscriber creator against primary sources

https://hemantpatil.substack.com/p/i-fact-checked-15-stats-from-a-12m
1•HPatil7•1h ago•2 comments

How to Kill the Bloat in Claude Code's System Prompt

https://www.aihero.dev/how-to-kill-the-bloat-in-claude-codes-system-prompt
2•Garbage•1h ago•0 comments

How to come up with a passion project

https://greatlittle.software/blog/how-to-come-up-with-a-passion-project/
2•Garbage•1h ago•0 comments

Invisible Companies: Why Overlooked Businesses Win

https://colossus.com/article/invisible-companies/
1•Garbage•1h ago•0 comments

Reproducing an Indirect Prompt Injection Against a RAG Pipeline

https://koreshield.ai/blog/reproducing-indirect-prompt-injection-rag
1•uncleteslim•1h ago•0 comments

Benchmarking quantum advantage: Quantum Advantage Tracker

https://quantum-advantage-tracker.github.io/
1•Alien1Being•1h ago•1 comments

'Humanizer' tool can erase signs of AI-written text

https://www.nature.com/articles/d41586-026-02105-3
2•gnabgib•1h ago•0 comments

I Built the Ωmega Agent

https://omegas.dev
2•LivingGlitcher•1h ago•2 comments

NPM 12 makes install scripts, Git, and remote-url dependencies opt-in by default

https://github.blog/changelog/2026-07-08-npm-install-time-security-and-gat-bypass2fa-deprecation/
2•slymax•1h ago•0 comments

Cancer cases worldwide are expected to soar in the coming decades

https://www.washingtonpost.com/health/2026/07/08/why-who-is-warning-about-escalating-cancer-rates...
6•brandonb•1h ago•3 comments

Waymo Calls Police on Teenage Riders Who Were Drinking

https://www.roadandtrack.com/news/a71866405/waymo-robotaxi-calls-police-on-teenage-passengers-dri...
3•kerim-ca•1h ago•1 comments

Top Legal Adviser to Joint Chiefs Is Stepping Down a Year Before Completing Term

https://www.propublica.org/article/eric-widmar-retiring-joint-chiefs-legal-adviser
9•Jimmc414•1h ago•0 comments

Practical Lessons from Reinforcement Learning Post Training Experiments [pdf]

https://zenodo.org/records/21115798
2•luvverma2011•1h ago•0 comments