frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

PyMagic a tiny DSL to write models/specs in Python

https://pypi.org/project/pymagic-models/
1•caotic123•1h ago

Comments

caotic123•1h ago
PyMagic is a library used to write specs/models inspired by model checkers. It can be used to write formal specs and has the benefit to improve LLM-code by reasoning over specs instead of real-world running code.
necovek•7m ago

  @model(Example.HTTP.Request)
  def request(url):
      (res, status_code) = magic()
  ...
Ouch — I understand this is magic by design, but this is exactly the type of non-explicit code that quickly devolves into unmaintainable mess.

A reader who might have 2 decades of Python experience will not be able to follow the logic, and would need to pause and read up to be able to debug and test this.

Where does the magic start and where does it end? What's up with that "url" parameter, how does it relate to the declared model and how is it passed into it?

At the very least, I'd consider passing the "model" argument from the decorator into the decorated function to make it explicit at very low increase in keyword count (token count?).

Russia pursuing spacecraft from companies helping Ukraine including Starlink

https://meduza.io/en/feature/2026/10/26/russia-is-escalating-its-confrontation-with-the-west-in-o...
2•BaudouinVH•2m ago•0 comments

Show HN: ShellSprint – A typing game-ish for Linux and Kubernetes commands

https://shellsprint-dev.pages.dev
1•kowskirz•3m ago•0 comments

Musk says he was behind Starlink speed restriction in Ukraine

https://www.cbc.ca/news/world/ukraine-starlink-satellite-restored-9.7394719
1•doener•4m ago•0 comments

"AI Skills" are worthless in 2026

https://fishbowl.pastiche.org/2026/10/26/ai-skills
1•sgiannopoulos•6m ago•0 comments

Fabrication of CheckUser Logs and Subnet Bans in Wikimedia Infrastructure

https://abdullah417161.substack.com/p/volunteers-are-mere-unpaid-puppets-abe
1•sceleton_135•7m ago•0 comments

The Internet Breaks

https://www.noahpinion.blog/p/the-internet-breaks
1•malloryerik•11m ago•0 comments

How to Create Your Own Software Factory

https://akoskm.substack.com/p/how-to-create-your-own-software-factory
1•cmpit•12m ago•0 comments

The Slurptop: A home-built luggable that runs on power tool batteries

https://slurpburgers.com/slurpbuilds/the-slurptop/
1•birdculture•13m ago•0 comments

OLM to PST Converter Software

https://www.perfectdatasolutions.com/en/olm/olm-to-pst-converter.html
1•tieanderson•13m ago•0 comments

Anemoia: Nostalgia for a time one did not personally experience

https://en.wikipedia.org/wiki/Anemoia
2•janandonly•19m ago•0 comments

Ask HN: Why Is ChatGPT secretly Chinese?

2•dingdong2026•20m ago•0 comments

The America-Ukraine link grows even spottier

https://www.economist.com/europe/2026/10/22/the-america-ukraine-link-grows-even-spottier
2•doener•24m ago•0 comments

Exploration of a more library-oriented approach to contracts

https://isocpp.org/files/papers/P4324R0.html
1•bmacho•26m ago•0 comments

How to Make Things and Why

https://www.youtube.com/watch?v=7yeH1DqK984
1•cleansy•27m ago•0 comments

Show HN: I made an open-source phone app that debloats your Google TV over Wi-Fi

https://github.com/man15h/tellyscope
1•man15h•29m ago•0 comments

Show HN: A clipboard manager that protects secrets

https://clipaudit.app/
2•trungdq88•29m ago•1 comments

TokenGate: Adapting LLMs for pre-fill with learned skimming for ~11x speedup

https://github.com/token-gate-llms/TokenGate
1•anandvc•29m ago•1 comments

Show HN: FazerWM, a scrollable tiling window manager for macOS

https://fazerwm.app/
1•realityloop•30m ago•0 comments

How to grow a cacao tree at home

https://www.cocoterra.com/guide-on-how-to-grow-chocolate-at-home/
1•felipevb•31m ago•0 comments

PRINTABLE.MD

https://printable.md/
2•drorwolmer•35m ago•0 comments

The Five Stages of Being Replaced by Your Autocomplete

https://www.vincentschmalbach.com/five-stages-of-being-replaced-by-your-autocomplete/
2•vincent_s•36m ago•0 comments

PIZD, a Rust compressor exploring structural deduplication

https://pizd.spedo.dev/
1•torxx666•39m ago•0 comments

How to Start a Defence Tech Startup in the UK: Part 1

https://foxandlion.pub/analysis/how-to-start-a-defence-tech-startup-in-the-uk-part-1
4•fascinnn•40m ago•0 comments

A React component for building Web forms from JSON Schema

https://github.com/rjsf-team/react-jsonschema-form
2•saikatsg•42m ago•0 comments

Show HN: Continue Your Google AI Mode Chats in Gemini/Claude

https://chromewebstore.google.com/detail/relay-continue-google-sea/fjjfadgooapnegipjocinojjhaajghag
2•mahami•45m ago•0 comments

Probably NOT use the Linux eBPF/Rust XDR I built alone

https://github.com/visiongaiatechnology/gedefense
1•visiongaiatech•46m ago•0 comments

Nvidia Eyes Software Revenue with a $2k per GPU Yearly Figure from Huang

https://www.techpowerup.com/354113/nvidia-eyes-software-revenue-with-a-usd-2-000-per-gpu-yearly-f...
1•theanonymousone•50m ago•0 comments

RTX 4000 Pro Blackwell SFF performance hacks

https://piszczek.pl/blog/rtx-pro-4000-blackwell-sff-120w-qwen-benchmark
2•jacquesm•52m ago•0 comments

A tiny app for C# dotnet design Window Form

https://github.com/macauhome/winform-designer
1•macauhome•52m ago•0 comments

Thiel's leaked lectures on the end of the world

https://www.theverge.com/tech/1014252/peter-thiel-antichrist-lectures-analysis
2•izhak•52m ago•1 comments