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/

Lexidraw: Excalidraw fork with collaborative editing powered by iroh

https://tangled.org/pds.dad/lexidraw
1•nerdypepper•48s ago•0 comments

Show HN: Relay – turn Claude Code into a visual Kanban build loop

https://github.com/YoniRaviv/Relay
1•YonathanRaviv•4m ago•0 comments

Concurrency, interactivity, mutability, choose two

https://www.n16f.net/blog/concurrency-interactivity-mutability-choose-two/
1•billiob•10m ago•0 comments

Germany's sick-note crackdown may be treating the symptoms, not the disease

https://www.reuters.com/business/world-at-work/germanys-sick-note-crackdown-may-be-treating-sympt...
1•rustoo•12m ago•1 comments

Show HN: WordEq

https://wordeq.app/
1•Minhir•15m ago•0 comments

High-Performance Factor Evaluation

https://medium.com/@DolphinDB_Inc/high-performance-factor-evaluation-with-dolphindb-23bb6954503f
3•napgirllll•16m ago•0 comments

Apple Sues OpenAI: The 41-Page Lawsuit Exposing Their Secret War: Lawsuit

https://www.youtube.com/watch?v=L0iIW6wpSGQ
1•cable2600•19m ago•0 comments

Show HN: Codex Plays NetHack

https://asciinema.org/s/HS1tpO6cjFsaSzS7
1•emosenkis•19m ago•0 comments

Ask HN: Are we having a substantial increase of "Show HN" since LLM aided coding

3•mdp2021•21m ago•2 comments

OpenSparrow v3.0 is out. The GDPR anonymization module

https://opensparrow.org/en/
1•tomaszwrobel•22m ago•1 comments

AgentControl

https://github.com/kyzrxe-max/agent-guard
1•celicialabs•22m ago•0 comments

Hamburg's Stadtpark: A Park Built to Be Used

https://alsterrunde.com/hamburgs-stadtpark-a-park-built-to-be-used/
1•mertbio•25m ago•0 comments

Show HN: Descript wanted $24/mo, I built an open-source alternative in a weekend

https://github.com/wassgha/rescript
2•wassimgr•26m ago•0 comments

Kimi-K3 Releases on HuggingFace 6/27

https://huggingface.co/moonshotai/Kimi-K3
6•nateb2022•31m ago•1 comments

If your code leaked tomorrow, would it matter?

https://maxfield.lol/blog/proprietary-software/
1•kittyhawk•33m ago•0 comments

Show HN: Skill-language-server – A language server for agent skills

https://github.com/CyrusNuevoDia/skill-language-server
1•knrz•33m ago•0 comments

When it comes to privacy, default settings matter (2019)

https://blog.mozilla.org/en/firefox/when-it-comes-to-privacy-default-settings-matter/
1•downbad_•35m ago•0 comments

Sheetmusic4j: A JavaFX library for rendering interactive sheet music

https://github.com/sheetmusic4j/sheetmusic4j
1•0x54MUR41•35m ago•1 comments

Why Darwin Failed (2006)

http://www.synack.net/~bbraun/writing/osfail.html
1•downbad_•37m ago•0 comments

One number, two universes. Coincidence or clue?

https://medium.com/@kisnorbert87/what-if-the-cosmological-constant-is-encoded-in-the-standard-mod...
2•kisnorbert•43m ago•0 comments

React Driller

https://github.com/reillyjodonnell/react-driller
1•handfuloflight•45m ago•0 comments

Ask HN: Any New Computer Ideas?

1•robalni•46m ago•0 comments

Show HN: StatsKit – Product Analytics and A/B Testing

https://statskit.ai/
1•versuchai•50m ago•0 comments

Show HN: Sabba, a security bug finder that proves every finding by running it

https://github.com/8NobleTruths/sabba
1•8NobleTruths•51m ago•1 comments

Giving Money Away Can Be Harder Than Making It

https://also.roybahat.com/giving-money-away-can-be-harder-than-making-it-4f4e52208741
2•tosh•55m ago•0 comments

Ampleforth: A Live Literate Editor

https://newspeaklanguage.org/Live22Paper.html?snapshot=AmpleforthViewer.vfuel&docName=Live22Paper
1•tosh•59m ago•0 comments

Interconverting Std:Function with Copyable_function

https://quuxplusone.github.io/blog/2026/07/26/function-explosion/
1•jandeboevrie•1h ago•0 comments

JIT for the Code Vectorization Can't Optimize

https://medium.com/@DolphinDB_Inc/beyond-vectorization-dolphindbs-jit-compiler-gets-a-ground-up-r...
2•yiweileng•1h ago•0 comments

A practical partitioner for distributed simulations on sparse dynamic domains

https://dl.acm.org/doi/10.1145/3787521
1•matt_d•1h ago•0 comments

Doing general vibe math in Programming Language Theory

https://twitter.com/TimSweeneyEpic/status/2081458495006634477
1•tosh•1h ago•0 comments