frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Cosmofy – bundle your Python code for Linux/Windows/MacOS

https://github.com/metaist/cosmofy
6•metaist•3h ago
Bundle up a pure python project into a single Cosmopolitan Python file that runs on Linux/Mac/Windows with no changes.

Comments

metaist•3h ago
Getting your code running cross-platform used to be really tough. Look at all the different architecture + OS combinations you have to support. Justine Tunney came up with Cosmopolitan libc which lets you compile code into a clever zip file that runs on Linux/MacOS/Windows with no changes.

aghamut published Superconfigure which compiled python (and many other tools) into a "Cosmopolitan Python" file which runs on all those same OSes. What's better is the repo contains a simple recipe for adding your own files to the zip. https://github.com/ahgamut/superconfigure#adding-to-the-zip-...

In 2024, I wrote a post about packaging python apps using Cosmopolitan Python: https://metaist.com/blog/2024/08/packaging-python-with-cosmo...

This morphed into a Cosmopolitan Python App that makes Cosmopolitan Python Apps: https://metaist.com/blog/2024/09/cosmofy-0.1.0.html

But it was very limited: it couldn't handle dependencies at all. So I decided to rewrite the whole thing around `uv` (which handles dependencies _very_ well).

Along the way, I learned how to emulate parts of the Python CLI from _within_ python: https://metaist.com/blog/2024/09/pythonoid.html

I also learned how to emulate uv's style (both in subcommand structure and colored output): https://metaist.com/blog/2025/12/emulating-astral-cli.html

And I learned when to limit emulation (in the name of good design) when trying to implement parts of `ls`: https://metaist.com/blog/2025/12/emulating-ls.html

There's a surprising number of moving parts, but I'd love to get feedback on what works / could be improved.

US sanctions EU government officials behind the DSA

https://mastodon.social/@fj/115773761468906515
1•pojntfx•1m ago•0 comments

Show HN: Free QR Code Generator – Dynamic Tracking and Custom Logo – QrBarKit

https://qrbarkit.com/
1•daniel0306•3m ago•0 comments

Microsoft rolls out hardware-accelerated BitLocker in Windows 11

https://www.bleepingcomputer.com/news/security/microsoft-rolls-out-hardware-accelerated-bitlocker...
1•thunderbong•7m ago•0 comments

LongCat Avatar: Turn Any Photo into a Talking Video

https://www.longcatavatar.net/
1•chengzeyi•8m ago•1 comments

Slate AX: Wi-Fi 6 Gigabit travel router

https://www.gl-inet.com/products/gl-axt1800/
1•cl3misch•8m ago•0 comments

Unintentional Type Theory

https://ncatlab.org/nlab/show/unintentional+type+theory
1•measurablefunc•9m ago•0 comments

Google 2025 recap: Research breakthroughs of the year

https://blog.google/technology/ai/2025-research-breakthroughs/
1•Anon84•14m ago•0 comments

UK to ban deepfake AI 'nudification' apps

https://www.bbc.co.uk/news/articles/cq8dp2y0z7wo
2•GaryBluto•16m ago•1 comments

Ten mistakes marred firewall upgrade at telco, contributing to 2 deaths

https://www.theregister.com/2025/12/19/optus_emergency_outages_cause_report/
1•GaryBluto•18m ago•0 comments

Airplane lands itself after in-flight emergency, a first for aviation automation

https://www.cnn.com/2025/12/23/us/airplane-lands-itself-first-aviation-automation
1•breve•19m ago•0 comments

Starlink satellite fails, polluting orbit with debris and falling toward Earth

https://www.theregister.com/2025/12/23/starlink_satellite_fails_debris/
2•beardyw•22m ago•0 comments

Is This Normal? My new projector's picture is dull even though I paid for 4K

1•SorabAlavi•24m ago•0 comments

Ask HN: Anybody here ever write apps for Windows Phone?

1•ge96•24m ago•0 comments

What happened next:how a rape and murder case was solved 58 years later

https://www.theguardian.com/lifeandstyle/2025/dec/24/what-happened-next-how-a-shocking-and-case-w...
2•zeristor•26m ago•2 comments

I built an AI app for deep research, reverse image search, and price comparison

https://apps.apple.com/us/app/claritycheck-deep-search-ai/id6747683917
1•mamunaso•26m ago•2 comments

Trump Admin Reinvents US Digital Services Program After Elon Musk Fired Experts

https://www.techdirt.com/2025/12/23/trump-admin-reinvents-us-digital-services-program-after-elon-...
2•beardyw•27m ago•0 comments

Appark

https://appark.ai/en
1•xuechen006•28m ago•0 comments

Next JavaScript app is hacked, you just don't know it yet

https://audits.blockhacks.io/audit/your-next-js-app-is-already-hacked
1•block_hacks•29m ago•1 comments

The dpkg shell implementation (by Ian A. Murdock)

https://www.dpkg.org/history/ancient/dpkg-0.93beta.sh
1•fisheuler•29m ago•0 comments

Nobody knows how large software products work

https://www.seangoedecke.com/nobody-knows-how-software-products-work/
1•danielfalbo•31m ago•0 comments

Yes, Termux works just the same on Android-based "dumbphones"

https://old.reddit.com/r/termux/comments/1ptzzyz/in_case_anyones_curious_yes_termux_works_just_the/
1•sipofwater•32m ago•0 comments

Homophily

https://en.wikipedia.org/wiki/Homophily
1•nomilk•37m ago•0 comments

The lightest notes app implementation in 111 loc

https://github.com/antonmedv/textarea
2•birdculture•44m ago•0 comments

AutoCodeBench: Tencent Hunyuan revolutionizes AI programming evaluation

https://medium.com/@leivadiazjulio/autocodebench-how-tencent-hunyuan-revolutionizes-ai-programmin...
2•stareatgoats•46m ago•0 comments

Ultra-Wide Band: A Transformational Technology for the Internet of Things

https://www.eetimes.com/ultra-wide-band-a-transformational-technology-for-the-internet-of-things/
2•fzliu•46m ago•0 comments

Show HN: I built a system that locks you out until you rest

https://www.kensho.zone/
2•kenshozone•47m ago•0 comments

Consciousness May Require a New Kind of Computation FeaturedNeuroscience·

https://neurosciencenews.com/consciousness-computing-ai-30068/
1•_____k•51m ago•0 comments

C++: "We have try...finally at home"

https://devblogs.microsoft.com/oldnewthing/20251222-00/?p=111890
2•HeliumHydride•54m ago•0 comments

Research shows sharing of cavity-causing bacteria may not be only from mothers

https://www.uab.edu/news/health-medicine/research-shows-sharing-of-cavity-causing-bacteria-may-no...
1•thunderbong•56m ago•0 comments

Interactively visualize GitHub Actions Matrix configurations

https://katexochen.github.io/github-matrix-parser/
2•todsacerdoti•58m ago•0 comments