frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

System time, clocks, and their syncing in macOS

https://eclecticlight.co/2025/05/21/system-time-clocks-and-their-syncing-in-macos/
1•fanf2•35s ago•0 comments

McCLIM and 7GUIs – Part 1: The Counter

https://turtleware.eu/posts/McCLIM-and-7GUIs---Part-1-The-Counter.html
1•ramenbytes•3m ago•0 comments

So whats the next word, then? Almost-no-math intro to transformer models

https://matthias-kainer.de/blog/posts/so-whats-the-next-word-then-/
1•oesimania•4m ago•0 comments

Ed Zitron: The Hater's Guide to Microsoft

https://bsky.app/profile/edzitron.com/post/3me7ibeym2c2n
2•vintagedave•7m ago•1 comments

UK infants ill after drinking contaminated baby formula of Nestle and Danone

https://www.bbc.com/news/articles/c931rxnwn3lo
1•__natty__•8m ago•0 comments

Show HN: Android-based audio player for seniors – Homer Audio Player

https://homeraudioplayer.app
1•cinusek•8m ago•0 comments

Starter Template for Ory Kratos

https://github.com/Samuelk0nrad/docker-ory
1•samuel_0xK•10m ago•0 comments

LLMs are powerful, but enterprises are deterministic by nature

1•prateekdalal•13m ago•0 comments

Make your iPad 3 a touchscreen for your computer

https://github.com/lemonjesus/ipad-touch-screen
2•0y•18m ago•1 comments

Internationalization and Localization in the Age of Agents

https://myblog.ru/internationalization-and-localization-in-the-age-of-agents
1•xenator•18m ago•0 comments

Building a Custom Clawdbot Workflow to Automate Website Creation

https://seedance2api.org/
1•pekingzcc•21m ago•1 comments

Why the "Taiwan Dome" won't survive a Chinese attack

https://www.lowyinstitute.org/the-interpreter/why-taiwan-dome-won-t-survive-chinese-attack
1•ryan_j_naughton•21m ago•0 comments

Xkcd: Game AIs

https://xkcd.com/1002/
1•ravenical•23m ago•0 comments

Windows 11 is finally killing off legacy printer drivers in 2026

https://www.windowscentral.com/microsoft/windows-11/windows-11-finally-pulls-the-plug-on-legacy-p...
1•ValdikSS•23m ago•0 comments

From Offloading to Engagement (Study on Generative AI)

https://www.mdpi.com/2306-5729/10/11/172
1•boshomi•25m ago•1 comments

AI for People

https://justsitandgrin.im/posts/ai-for-people/
1•dive•26m ago•0 comments

Rome is studded with cannon balls (2022)

https://essenceofrome.com/rome-is-studded-with-cannon-balls
1•thomassmith65•32m ago•0 comments

8-piece tablebase development on Lichess (op1 partial)

https://lichess.org/@/Lichess/blog/op1-partial-8-piece-tablebase-available/1ptPBDpC
2•somethingp•33m ago•0 comments

US to bankroll far-right think tanks in Europe against digital laws

https://www.brusselstimes.com/1957195/us-to-fund-far-right-forces-in-europe-tbtb
3•saubeidl•34m ago•0 comments

Ask HN: Have AI companies replaced their own SaaS usage with agents?

1•tuxpenguine•37m ago•0 comments

pi-nes

https://twitter.com/thomasmustier/status/2018362041506132205
1•tosh•39m ago•0 comments

Show HN: Crew – Multi-agent orchestration tool for AI-assisted development

https://github.com/garnetliu/crew
1•gl2334•39m ago•0 comments

New hire fixed a problem so fast, their boss left to become a yoga instructor

https://www.theregister.com/2026/02/06/on_call/
1•Brajeshwar•41m ago•0 comments

Four horsemen of the AI-pocalypse line up capex bigger than Israel's GDP

https://www.theregister.com/2026/02/06/ai_capex_plans/
1•Brajeshwar•41m ago•0 comments

A free Dynamic QR Code generator (no expiring links)

https://free-dynamic-qr-generator.com/
1•nookeshkarri7•42m ago•1 comments

nextTick but for React.js

https://suhaotian.github.io/use-next-tick/
1•jeremy_su•44m ago•0 comments

Show HN: I Built an AI-Powered Pull Request Review Tool

https://github.com/HighGarden-Studio/HighReview
1•highgarden•44m ago•0 comments

Git-am applies commit message diffs

https://lore.kernel.org/git/bcqvh7ahjjgzpgxwnr4kh3hfkksfruf54refyry3ha7qk7dldf@fij5calmscvm/
1•rkta•47m ago•0 comments

ClawEmail: 1min setup for OpenClaw agents with Gmail, Docs

https://clawemail.com
1•aleks5678•53m ago•1 comments

UnAutomating the Economy: More Labor but at What Cost?

https://www.greshm.org/blog/unautomating-the-economy/
1•Suncho•1h ago•1 comments
Open in hackernews

The uv build back end is now stable

https://docs.astral.sh/uv/concepts/build-backend/
129•NeutralForest•7mo ago

Comments

cristea•7mo ago
I'm continuing to be amaxed at the astral team and what they do for Python. It's become so "bad" now that when I use Rust or OCaml I find myself constantly annoyed by the build systems. What a great time to be alive!
lblume•7mo ago
Really? So far I have never been disappointed with Cargo, or the Rust toolchain in general. For my work it has been a frictionless experience.
mrits•7mo ago
I really like cargo and uv. I assumed uv was based on cargo...
rcleveng•7mo ago
Just the git code according to their'd README.md, however it seems heavily influenced by it.

Before uv I was doing everything in a devcontainer on my Mac since that was easiest, but uv is super fast that I skip that unless I have some native libraries that I need for Linux.

john01dav•7mo ago
What does uv do that Cargo does not? Cargo has been excellent in my experience, to the point that (in comparison to CMake and wanting to flee it) it is a large part of why I initially learned Rust.
RGBCube•7mo ago
Total distribution packager win!

Will it support the wide range of options setuptools does? Or maybe a build.rs equivalent - build.py, but in a sane way unlike setup.py.

fossa1•7mo ago
I think hatchling or setuptools are still better options (for now). Would be great to see a clean, declarative hook system in the future
notatallshaw•7mo ago
Astral's focus has been to support the simplest use case, pure Python project with a standard layout. Their aim has been that most users, and especially beginners, should be able to use it with zero configuration.

As such they do not currently support C extensions, nor running arbitrary code during the build process. I imagine they will add features slowly over time, but with the continued philosophy of the simple and common cases should be zero configuration.

For Python experts who don't have special needs from a build backend I would recommend flit_core, simplest and most stable build backend, or hatching, very stable and with lots of features. While uv_build is great, it does mean that users building (but not installing) your project need to be able to run native code, rather than pure Python. But this is a pretty small edge case that for most people it won't be an issue.

StackTopherFlow•7mo ago
Huge thank you for all the amazing work the astral team is doing. uv is an absolute game changer and I can’t imagine going back to a pre-uv world.
the_mitsuhiko•7mo ago
Turns out you can just do things. The astral tooling is by far the best thing that has happened to Python in years and it makes me very happy.
sambaumann•7mo ago
using uv after years of fumbling with pip/venv, pyenv, conda, etc feels like a superpower. It really just works.
lioeters•7mo ago
Even as an occasional casual Python user of several years, I noticed how much simpler it is to check out new projects using uv compared to other tools. It's such a relief because I used to encounter so many weird compatibility issues with Python, I guess mostly related to global installs of runtime versions and dependencies. In the past year or so, the situation seems to have dramatically improved thanks to uv.
TechDebtDevin•7mo ago
Interesting. I basically dont touch python unless I have too becayse the lack of tooling. How does this tooling compare to an experience like working in Go?
CraigJPerry•7mo ago
It's not rivaling Go anytime soon but there have been leaps and bounds.

E.g.

  uv init --script foo.py
  uv add --script foo.py httpx 
  cat foo.py
  ...
  dependencies = ['httpx']
  ...
Then on another machine:

  uv run foo.py
  # creates a virtual env, reads foo.py to see httpx is a dependency, installs in the ephemeral venv then runs the script
The above is from memory typed on a phone so maybe some minor syntax issues but the point i tried to make was we can kinda emulate the convenience of statically compiled binaries a-la Go these days
cssanchez•7mo ago
I don't mean to be rude, but I don't get how this is any better. Feels too manual to type "uv -add dep script.py" instead, I feel the automation tool I'm waiting for will scan my script, auto-import all the deps I'm calling in the script while ignoring the ones that I forget to use, AND set up the env with all the deps AND run the code in the same one liner. To me, uv add X is no different than running env/pip install requirements.txt.
notatallshaw•7mo ago
What people like about this workflow is that you're not maintaining a separate venv or a separate requirement and it's declarative rather than imperative, this gives you two big advantages:

First, you can move that script to a different machine and do `uv run {script}`, no need to recreate a venv or provide install instructions (I believe uv will now even grab an appropriate version of Python if you don't have it?). This comes from PEP 723, and multiple tools support doing this, such as hatch.

Second, when you "add" a requirement instead of "install" a requirement it manages that with the knowledge of all requirements that were added before. For example, if I `pip install foo` and then `pip install bar` pip does not consider foo or it's dependencies as required when installing bar, so it's possible that you can break `foo` by installing completely incompatible dependencies. But when you "add foo" and then "add bar" from uv (and other tools that are declarative, like Poetry) your environment gets updated to take everything into account.

If managing Python dependencies is second nature to you then these might seem like extra concepts to keep in your head, but lots of people do find these useful because they find they can think less about Python dependencies.

CraigJPerry•7mo ago
Compare the before vs after

Before (analogous to go mod init):

    python -m venv venv
    source venv/bin/activate
    python -m pip install -U pip
    pip install httpx
    pip freeze > requirements.txt
    nvim foo.py
    # find a way to share foo.py and requirements.txt
On another machine (still the before scenario, this time analogous to maybe go run):

    python -m venv venv
    source venv/bin/activate
    python -m pip install -U pip
    pip install -r requirements.txt
    python foo.py
In the after scenario:

    uv run foo.py
That's it. Comparable to

    ./my-go-binary
balanced2•7mo ago
Just curious where do you see it not rival Go? Go is my main, but I do help with some python projects and I was really happy migrating from poetry to uv, with my feeling being that uv brings Go's devex to Python. The biggest feature is probably the default of auto-sync, the only way to have reproducible builds, of course along with auto provision python.

Personally I can't think of anything from Go's build system I miss now - the languages are very different for sure, but I guess we're talking about the build system only.

CraigJPerry•7mo ago
As someone who strongly favours Java and Python, Go is kinda the ultimate when it comes to out of the box tooling. I think Java still has the crown overall but that's because of tooling in the ecosystem, not tooling that comes with a jvm.

Want to profile your go? pprof built in (to be fair python has had cProfile forever but the Go version is more convenient to read the output).

Want to run some tests, or better yet some benchmarks? A good take on the problem space is just built in. You can safely go with the default and don't need to spend mental tax credits on selecting the best benchmarking lib from the ecosystem.

Stuff like go fmt is just taken for granted but even in the python world, there are still some non-black (and compatibles like ruff) flavoured formatters floating around - probably the most common on GH even today in Python is no formatter.

Can go on and on - go generate (maybe a tiny bit less relevant with generics being available today?), go tool, go vet, ...

qoez•7mo ago
The comments in this thread all feel like auto generated engagement bot replies you'd see on twitter.
koakuma-chan•7mo ago
Building tooling in Rust? Blasphemy! You should have used Node.js, because teaching Rust to people is too hard! And it's not doing any CPU heavy computations anyway, so Node.js is fine!
Ygg2•7mo ago
No. You must rewrite it in Zig. Or C like a real man. Or if you're Chuck Norris just look at computer angrily.
pydry•7mo ago
unlike ruff, uv doesnt benefit that much from being written in rust.

its main benefit is that it is well maintained and does everything you used to need a string of tools for before.

koakuma-chan•7mo ago
Oh that's so very false!

---

time uv

real 0m0.005s

user 0m0.000s

sys 0m0.004s

---

time npm

real 0m0.082s

user 0m0.068s

sys 0m0.020s

---

time pip

real 0m0.320s

user 0m0.179s

sys 0m0.031s

pydry•7mo ago
lol i dont think people are switching because they save 255 milliseconds per command line run.
Ygg2•7mo ago
Bots don't make that much spelling mistakes. Bots as in LLMs not people paid to engage.

My good uv experience. I tried installing tensor/cuda Python code recently. Plain pip just failed. uv pip actually returned WHY it failed.

It definitely felt like magic.

tuesdaynight•7mo ago
I wouldn't be so sure about spelling mistakes. Even before LLMs, YouTube bots made a lot of mistakes (probably because gives the impression that it's a human typing). Currently, it's impossible to distinguish between a human and LLM comment.
coldtea•7mo ago
>Bots don't make that much spelling mistakes.

They do if you instruct them to.

Ygg2•7mo ago
Why would you want them to make spelling errors? The benefits don't outweigh the costs.
coldtea•7mo ago
If the intention is "increase believability a real human wrote this bot message" they do
Ygg2•7mo ago
Sure but adding error rate also makes it so you trust the speaker less, because they aren't educated enough or ESL.
coldtea•7mo ago
Since sprinkling some mistakes makes you appear human, as opposed to a spam bot, people would be trusting you more, not less.

Not to mention the relatability aspect ("he's a plain dude, making mistakes and all, not some over-educated schmuck")

trklausss•7mo ago
donkey_brains definitely looks to have low karma, the rest of the comments seem legit.
stavros•7mo ago
I'd think the same, but I agree with all the comments.
laughingcurve•7mo ago
I know ! the problem is that when a product is so good that it converts people into evangelicals about it

With that said — it’s uv or die for me

laborcontract•7mo ago
I’ve been using and advocating uv ever since forever. It’s impossible to think about using python without nowadays.

Among many things it’s improved, scripting with python finally just works without the pain of some odd env issue.

josteink•7mo ago
> Among many things it’s improved, scripting with python finally just works without the pain of some odd env issue.

From what I can tell uv doesn’t (unlike poetry) assist with venvs what so ever.

What is a trivial «poetry run» becomes the same venv-horrors of Python fame when I use uv and «uv run».

Based on that, your comment strikes me as the polar opposite of my experience (which is why I still resort to poetry).

Care to outline how you use v to solve venv-issues, since from what I can tell, uv explicitly doesn’t?

I’m very curious.

laborcontract•7mo ago
I use uv in my shebang and “uv run script.py”. Never run into any issues.

Here’s a couple links to discussions about it on HN:

https://news.ycombinator.com/item?id=42198256

https://news.ycombinator.com/item?id=42855258

josteink•7mo ago
So if you've imported pytest and want to run it, you can’t just «uv run pytes», but have to create a script with a uv-shebang which runs pytest for you?

And how does that work on Windows, which to my knowledge doesn’t even support shebangs?

pjc50•7mo ago
There's rather too many gleeful exclamation marks. Here's a rare case where a karmascope would be useful; I see https://news.ycombinator.com/user?id=the_mitsuhiko has 15025 karma, so they're almost certainly real.
qoez•7mo ago
Interesting that this was pushed to the bottom of the replies (despite being at the top at 20 upvotes). Did all the above comments get a coordinated signal to upvote beyond that number, or is a HN mod compromised?
ewalk153•7mo ago
I was looking for Astral’s future plans to make money. Simonw already answered in another post [1] tldr - keep tooling open and free forever, build enterprise services (like a private package registry) on top.

[1] https://news.ycombinator.com/item?id=44358482

dashdotme•7mo ago
Good thing to highlight. I'm not sure I'd bet on the game plan, but uv is an incredibly useful tool which I also wouldn't have bet on. Hopefully Simonw is right, and Astral can maintain as is.
pydry•7mo ago
the fact that there are 3 "hopefullys" in the paragraph that explains the strategy doesnt inspire much confidence.

I dont think there is enough money in package registries to pay for all of the VC investment in astral.

tecleandor•7mo ago
Well, that's basically the core of Anaconda, and it's working for them.

That said, I've checked Anaconda's site, and while it used to be "Anaconda [Python] Commercial Distribution", "On-Prem repositories", "Cloud notebooks and training"... during the last year they've changed their product name to "Anaconda AI Platform", and all it's about "The operating system for AI", "Tools for the Complete AI Lifecycle". Eeeeh, no thanks.

pydry•7mo ago
not sure i hold out much long term hope for them either. both of these companies can eventually make money in a way that isnt shady - just not enough money to satisfy their VCs.
donkey_brains•7mo ago
What a great thing to see on HackerNews this morning. Any day I can replace another tool in my team’s processes with a fast, stable, and secure solution from Astral is a great day. Thanks Astral for all the amazing work you do!
bgwalter•7mo ago
People have been asking how Astral is going to monetize. Given the "AI" posts from Astral adjacent people, I'm now considering that they might release "AI" tools for an integrated "developing" workflow.
tajd•7mo ago
I really like using UV. I introduced it at work for builds and it made everything a lot faster which was awesome. Now I can remove the other components of the build process and just use one.

I am interested in how they're going to make money eventually, but right now it's working for me.

Does anyone have an idea about how they're going to monetize?

djinnish•7mo ago
I feel like that's the biggest question I have about Astral. I wonder what they have in the tank. All of this software is great, but I'd like to see them get some kind of benefit, if only to assure me that they'll continue to exist and make awesome software.

(And also so they'll implement the `pip download` functionality I'd like!)

loks0n•7mo ago
Feels like Astral are going to eat the whole python eventually.

Makes me wonder, did the Python core team fail to see the opportunity in python tooling, have no desire to build it, or they didn't have the skills?

pjc50•7mo ago
The python team build python. I suspect that insulates them from the actual problems of trying to build things with python. Also this sort of thing gets bogged down in approval processes. People have spent decades trying to "fix" python packaging; the important thing is that uv doesn't change any of that, it's a drop in replacement.
troyvit•7mo ago
Yeah it reminds me of bun, for node, in that way (and that probably exposes how well I understand tooling). It's like somebody just swept everything off the table and started over.

I never learned python the way I wanted to because for years I would first look at the excruciating transition from v2 to v3 and just not see a point of entry for a newb like me.

Now the same thing is happening with tooling for v3. pip? pepenv? python pip? python3 pip? I don't freakin' know. Now there's uv, and I'm kinda excited to try again.

oceansky•7mo ago
Rewriting proven working tools from scratch has the benefit of knowing the pain points, but it also a huge chore that may break a lot of things.

I don't blame the core python team for not super optimizing tools like Astral.

bgwalter•7mo ago
To be fair here, the recent PEPs encourage external build back ends (which this submission is about).

That said, the people left in the CPython team generally have a low regard for bloat-free, correct and fast solutions, so external solutions are most welcome.

NeutralForest•7mo ago
If you take a look at the forum (https://discuss.python.org/), the core team basically doesn't have the resources to do anything else expect maintaining Python. They aren't paid and have to pick their battles.

They spend a lot of time on improving Python itself and then you have pip which is a way to install packages and that's it; it's not a package manager nor a python version manager.

KptMarchewa•7mo ago
For years Python has been build on a skeleton crew.

Especially compared to billions poured into Javascript ecosystem due to it being native language of the web. The money for Python was never there, even when it become the top language of data engineering and data science. Even now, devs that improve Python ecosystem get fired: https://bsky.app/profile/snarky.ca/post/3lp5w5j5tws2i

mkj•7mo ago
The linked URL doesn't really explain, what does "stable" mean here?
NeutralForest•7mo ago
It was marked as experimental earlier on, the docs linked are the stable version + how to use it.
milliams•7mo ago
The admonition at the top:

  Currently, the default build backend for uv init is hatchling. This will change to uv in a future version.
makes it seem like it's not yet stable, or at least feels like they're still not encouraging it.
NeutralForest•7mo ago
I'm quoting Charlie, the creator of uv https://bsky.app/profile/crmarsh.com/post/3lszmqo27b224
milliams•7mo ago
Ah, great. Thanks for the reference.
NeutralForest•7mo ago
My pleasure!
zanie•7mo ago
We consider it a breaking change to switch the default, so that's coming a bit later.
blahgeek•7mo ago
I've been coding in Python for 10+ years but I can never really get python's tooling ecosystem. It seems that there's always a newer shiny choice. easy_install, pip, conda, virtualenv, pipenv, setup_tools, hatchling, setuptools-scm, uv, requirements.txt, pyproject.toml...

I wish python can provide an "official" solution to each problem (like in rust, there's cargo, end of story), or at lease, an official document describing the current best practice to do things.

twixfel•7mo ago
They do provide official solutions. The problem is the official solution keeps changing.
mjd•6mo ago
Thanks for saying all the stuff I was thinking in that other thread about Matt Trout.

I have a policy of not replying to throwaway accounts, and decided it wasn't worth breaking in this case. But I was really tempted.

tdhopper•7mo ago
I'm not sure you'll get official documentation beyond the PPUG (https://packaging.python.org/en/latest/) which, for reasons, doesn't even mention uv.

For the last year or so, I've been trying to provide an alternative guide that stays abreast the best options and provides simple guides: https://pydevtools.com/.

h1fra•7mo ago
I tried installing a Python project last week after years of avoiding it like the plague. brew install didn't work, use python3 not python, no pip pre-installed, ensurepip is crashing, you need to run sudo commands to fix this, after 1hour of struggle, repo didn't work anyway. how do people work like this?
makeworld•7mo ago
They use uv.
NeutralForest•7mo ago
You can just use uv now, that's the whole point, it will let you install any recent version of python and you can easily handle it from there. It'll also handle dependencies and one-off scripts for which you don't want to create a whole project/venv.

By rule, you should never meddle with the globally installed python because so many packages will try to look for the system installed Python and use it, better let your package manager handle it.

acdha•7mo ago
> how do people work like this?

They don’t. That’s a sign that the local system is severely broken, and should be rebuilt to be stable. uv will still work in that case, but you’re going to constantly hit other points of friction on a mismanaged system which will waste time.

drcongo•7mo ago
uv and ruff are the two best things to happen to Python in the 15 years I've been writing it. Everyone at Astral, I owe you a beer.
Slippery_John•7mo ago
uv has a super power that it doesn't much talk about - seamlessly managing monorepos. I'd been using pants before, but it's such a pain to setup and maintain. uv just kinda works like you'd hope.
astro1138•7mo ago
So, this puts the Python runtime on Node.js' battle-proven libuv?
esafak•7mo ago
konsti from Astral tells me they do not support manylinux yet, only pure python. https://github.com/pypa/manylinux
BewareTheYiga•7mo ago
Another great milestone in an awesome suite of python tools. UV got me using virtual environments again. I especially love it in CI/CD.