frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Extra-Platforms, Python library to detect OS, arch, shell, CI, AI

https://github.com/kdeldycke/extra-platforms
8•kdeldycke•1h ago
I built Extra Platforms over the past 5 years because I kept writing the same detection boilerplate over and over. And also because Python's original platform.linux_distribution() function has been removed in Python 3.8. Its replacement, Distro, only covers Linux.

It detects six traits (CPU architecture, OS/distribution, shell, terminal, CI, agents), which are grouped into families (BSD, LINUX, UNIX, ...) for convenience.

You can try the library without installing anything:

  $ uvx --with extra-platforms python
  >>> from extra_platforms import current_platform, BSD, is_linux
  >>> current_platform()
  Platform(id='macos', name='macOS')
  >>> current_platform() in BSD
  True
  >>> is_linux()
  False
It also ships Pytest decorators (@skip_linux, @unless_macos) for platform-conditional tests.

The library has zero dependencies and is Apache-2.0 licensed.

I'm interested in collecting edge cases, which you can send me by performing an auto-detection with:

  $ uvx extra-platforms

Vibe Coding: Best Practices for Prompting

https://supabase.com/blog/vibe-coding-best-practices-for-prompting
1•Bakalemwa•37s ago•0 comments

Lemonade by AMD: a fast and open source local LLM server using GPU and NPU

https://lemonade-server.ai
1•AbuAssar•1m ago•0 comments

Fuel prices are soaring. Plastic could be next

https://www.technologyreview.com/2026/04/02/1135045/plastic-economic-effects/
1•joozio•3m ago•0 comments

Why I'm Building Another AI Meeting Notes Tool Instead of Using Granola.ai

https://www.indiehackers.com/post/why-i-m-building-another-ai-meeting-notes-tool-C3yZAdu9r4DKF2B0...
1•zlat1997•7m ago•1 comments

Spanner Columnar Engine in Preview

https://cloud.google.com/blog/products/databases/spanner-columnar-engine-in-preview
1•fastest963•8m ago•0 comments

Skill Ratings and Matchmaking

https://kalifi.org/2026/02/skill-ratings.html
2•ZacnyLos•8m ago•0 comments

Zstandard Across the Stack

https://oddur.me/posts/zstandard-across-the-stack/
1•oddurmagnusson•13m ago•0 comments

Beyond the Network View: DNS-Driven Application Visibility

https://labs.ripe.net/author/danny-lachos/beyond-the-network-view-dns-driven-application-visibility/
1•jruohonen•15m ago•0 comments

Sweden goes back to basics, swapping screens for books in the classroom

https://undark.org/2026/04/01/sweden-schools-books/
8•novaRom•16m ago•0 comments

Enabling Codex to Analyze Two Decades of Hacker News Data

https://modolap.com/publication/hn-analysis-1
2•ronfriedhaber•23m ago•0 comments

Mix-and-match synthesis of 3D small molecules

https://www.nature.com/articles/d41586-026-00809-0
1•salkahfi•23m ago•0 comments

$200 oil isn't as crazy as it sounds

https://www.cnn.com/2026/04/02/business/price-200-oil-gas-iran
1•dabinat•27m ago•0 comments

Pro-XSLT.js – fast and lightweight JavaScript library implementing XSLT 1.0

https://github.com/hbi99/pro-xslt
1•hbi99•28m ago•0 comments

Half of social-science studies fail replication test in years-long project

https://www.nature.com/articles/d41586-026-00955-5
3•MrBuddyCasino•32m ago•1 comments

Eli Lilly's obesity pill approved by FDA, setting up Novo Nordisk competition

https://www.statnews.com/2026/04/01/eli-lilly-obesity-pill-approved-orforglipron-foundayo/
2•andsoitis•34m ago•0 comments

Ask HN: Has anyone became successful on their own?

5•Nair0•40m ago•3 comments

100 Prisoners Problem

https://en.wikipedia.org/wiki/100_prisoners_problem
2•djoldman•41m ago•1 comments

UK SATS Exam Papers

https://www.satspapers.org.uk/Page.aspx?TId=5
1•alt227•42m ago•0 comments

Block – From Hierarchy to Intelligence

https://block.xyz/inside/from-hierarchy-to-intelligence
3•abdelhousni•42m ago•1 comments

Data Science Weekly – Issue 645

https://datascienceweekly.substack.com/p/data-science-weekly-issue-645
1•sebg•43m ago•0 comments

Army approves M111, first new lethal hand grenade since 1968

https://www.army.mil/article/290962/army_approves_m111_first_new_lethal_hand_grenade_since_1968
1•campuscodi•44m ago•0 comments

Coruna: The Mysterious Journey of a Powerful iOS Exploit Kit

https://cloud.google.com/blog/topics/threat-intelligence/coruna-powerful-ios-exploit-kit
1•abhisek•45m ago•0 comments

DMCA-resistant Claude Code source code

https://codeberg.org/tornikeo/claude-code
3•tornikeo•46m ago•1 comments

Chinese chipmakers claim nearly half of local market as Nvidia's lead shrinks

https://www.reuters.com/world/china/chinese-chipmakers-claim-nearly-half-of-local-market-nvidias-...
3•qwikhost•52m ago•0 comments

Baby's Second Garbage Collector

https://www.matheusmoreira.com/articles/babys-second-garbage-collector
2•matheusmoreira•54m ago•0 comments

Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries

https://github.com/razvandimescu/numa
6•rdme•58m ago•5 comments

High‑Performance JavaScript Data Grid for Data Apps

https://blog.webix.com/javascript-data-grid-webix-review/
2•jswebdev•1h ago•0 comments

Please stop flagging everything going against Israel

9•throwaw12•1h ago•4 comments

Almighty Lisp: Lisp and Emacs Essentials Book

https://almightylisp.com/
1•nemoniac•1h ago•0 comments

We built Postgres compatibility for our database and made it reusable libraries

https://greptime.com/blogs/2026-04-01-greptimedb-postgresql-compatibility
2•sunng•1h ago•0 comments