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/

2028 Could Bring the Most Mind-Bendingly Expensive Apple Product of All Time

https://gizmodo.com/2028-could-bring-the-most-mind-bendingly-expensive-apple-product-of-all-time-...
1•megamike•49s ago•0 comments

The cost of AI-assisted development: cognitive fatigue

https://warpedvisions.org/blog/2025/hitting-the-wall-at-ai-speed/
3•winter_blue•3m ago•0 comments

How to Get What You Want

https://andys.blog/how-to-get-what-you-want/
2•andytratt•4m ago•0 comments

Amicro: Micro-Transitions Library

https://amicro.vercel.app/
2•handfuloflight•8m ago•0 comments

Argocd-AI-Assistant

https://github.com/saidsef/argocd-ai-assistant
2•saidsef•8m ago•0 comments

Physicists recreate black hole energy extraction in the lab

https://www.sciencedaily.com/releases/2026/07/260711010120.htm
2•stonlyb•11m ago•0 comments

Grok 4.6 and GPT5.6 beat Anthropic for finding security vulnerabilities in PRs

https://docs.damsecure.ai/blog/pr-review-security-benchmark/
2•pcollins123•12m ago•1 comments

Designing and assembling my first PCB

https://vilkeliskis.com/b/2026/0711.html
2•tadasv•12m ago•0 comments

Prescryb – an MCP server for CVE and config remediation

https://github.com/konstruktoid/prescryb
2•konstruktoid•13m ago•0 comments

Privacy-First PDF Tools

https://cleanvault.github.io/
2•audit-mate•13m ago•1 comments

Dither Kit: Make your charts dither

https://www.tripwire.sh/dither-kit
2•handfuloflight•14m ago•0 comments

Architecture Description Languages [pdf]

https://ics.uci.edu/~taylor/documents/2000-ADLs-TSE.pdf
3•ascent817•15m ago•0 comments

Why Vanilla JavaScript

https://guseyn.com/html/posts/why-vanilla-js.html
2•guseyn•15m ago•0 comments

Energy Engineer Explains: "AI Will Take Your Job" Is Laughably Wrong [video]

https://www.youtube.com/watch?v=sQGZXrzykpU
2•4lx87•16m ago•0 comments

Cyberpunk Comics, Manga and Graphic Novels

https://shellzine.net/cyberpunk-comics/
7•zdw•24m ago•0 comments

Mastodon, the Only Good Choice

https://www.tbray.org/ongoing/When/202x/2026/07/05/Choose-Mastodon
4•zdw•24m ago•0 comments

Show HN: Cpulse – See why your Docker Compose stack is stuck

https://github.com/hyturing/compose-pulse
2•hyturing•25m ago•0 comments

How to build a circular LCD clock

https://blinry.org/lcd-clock/
3•zdw•28m ago•1 comments

We taught our platform to learn its own pricing decisions

https://avriz.io/eng/paper
2•rezat•29m ago•2 comments

LLMs and Shaders

https://amitp.blogspot.com/2026/07/llms-and-shaders.html
2•bobbiechen•34m ago•0 comments

SK Hynix CEO sees worst memory shortage in 2027, with high demand beyond 2030

https://www.reuters.com/world/asia-pacific/sk-hynix-ceo-sees-worst-ever-memory-supply-shortage-20...
3•jnord•35m ago•1 comments

A Speed Limit for Computers

https://caolan.uk/notes/2026-07-02_a_speed_limit_for_computers.cm
3•zdw•39m ago•0 comments

Show HN: Collaborative context-sharing memory platform for agents and teams

https://xysq.ai/
2•ximihoque•40m ago•0 comments

A Technology for Free Will

https://ziyzhu.com/a-technology-for-free-will
2•ziyzhu•41m ago•0 comments

You can now create and chat with an AI Mommy on Chatbrat

https://chatbrat.ai/bratlog/chat-with-ai-mommy-free
2•henrypissler•43m ago•1 comments

Show HN: Codebase Posters – turn any Git repo into generative poster art

https://github.com/unable12/codebase-posters
3•unable0•43m ago•0 comments

What is Property Based Testing? (2016)

https://hypothesis.works/articles/what-is-property-based-testing/
3•downbad_•47m ago•0 comments

Bacteria turning uranium into stable compound

https://scitechdaily.com/bacteria-turn-toxic-uranium-into-a-surprisingly-stable-compound/
3•Gaishan•50m ago•0 comments

Ask HN: How do you use LLMs for private discussions?

4•emerongi•52m ago•2 comments

Europe's productivity keeps outpacing the US

https://sethackerman.substack.com/p/europes-productivity-keeps-outpacing
4•ZeljkoS•52m ago•0 comments