frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Sandra Grimes, Who Helped Unmask CIA Traitor Aldrich Ames, Dies at 79

https://www.nytimes.com/2025/08/03/us/politics/sandra-grimes-dead.html
1•bookofjoe•49s ago•1 comments

Ask HN: Why the proliferation of delayed text web design?

2•nanna•3m ago•0 comments

Grid-Scale Battery Stabilizes Scottish Power Supply

https://spectrum.ieee.org/grid-scale-battery-scotland
1•sohkamyung•5m ago•0 comments

Nvidia Starts to Tackle GPU Power Smoothing with the Nvidia GB300 NVL72

https://www.servethehome.com/nvidia-starts-to-tackle-gpu-power-smoothing-with-the-nvidia-gb300-nvl72/
1•PaulHoule•7m ago•0 comments

Motorcycle Helmets – Data Details – Injury Facts

https://injuryfacts.nsc.org/motor-vehicle/occupant-protection/motorcycle-helmets/data-details/
1•djoldman•8m ago•0 comments

Show HN: Mechanical Wonderbrush (Not AI)

https://rolz.org/fun/imagebrush/
1•Udo•8m ago•0 comments

I Built a Ballistic Missile Defense Simulator in a Browser

https://medium.com/@ErikKannike/i-built-a-ballistic-missile-defense-simulator-in-a-browser-292c755a6ceb
1•possiblelion•8m ago•1 comments

Ask HN: How to properly reach early users (or when to quit the niche)

1•tomsqra•9m ago•0 comments

Who Got Arrested in the Raid on the XSS Crime Forum?

https://krebsonsecurity.com/2025/08/who-got-arrested-in-the-raid-on-the-xss-crime-forum/
1•todsacerdoti•10m ago•0 comments

Show HN: Free VCF to CSV Converter – No Uploads, No Signup, 100% Local

1•akash-bilung•10m ago•0 comments

Why "Per Seat" pricing is failing for AI agents (and what's replacing it)

https://blog.paid.ai/p/why-per-seat-pricing-is-failing-for
1•arnon•12m ago•0 comments

I bought a £16 smartwatch just because it used USB-C

https://shkspr.mobi/blog/2025/08/i-bought-a-16-smartwatch-just-because-it-used-usb-c/
2•blenderob•12m ago•2 comments

First edition copy of the Hobbit found in England

https://www.nytimes.com/2025/08/04/world/europe/the-hobbit-first-edition-bristol-auction.html
1•ajd555•13m ago•1 comments

Elixir Misconceptions #1: Don't "let it crash". Let it heal

https://www.zachdaniel.dev/p/elixir-misconceptions-1
1•ahamez•16m ago•0 comments

First We Gave AI Our Tasks. Now We're Giving It Our Hearts

https://www.afterbabel.com/p/ai-emotional-offloading
1•trevin•20m ago•0 comments

Flux the New Programming Language

https://github.com/hashhooshy/flux
1•hashhooshys•22m ago•0 comments

Caligra Workbench

https://caligra.com/workbench/
1•phanimahesh•22m ago•0 comments

Demo of GPT-OSS with Ollama – how to set it up and run it quickly

https://github.com/joelparkerhenderson/demo-gpt-oss-with-ollama
1•jph•24m ago•0 comments

Show HN: I made a tool to create faceless influencers and UGC videos

https://www.adcraftify.com
1•nplus1th•24m ago•0 comments

Fedora 42 and the Sigil of "4"

https://linuxcommunity.io/t/fedora-42-and-the-sigil-of-4/5274
1•ashitlerferad•26m ago•0 comments

Show HN: Header-only ASCII font renderer for embedded/SDL/terminal

2•Den1996•27m ago•1 comments

Ask HN: Do you journal? If so, can you share your setup, tips, benefits, etc.?

1•simonebrunozzi•27m ago•0 comments

The Future of Small Presses in the Aftermath of the NEA Grant Chaos

https://lithub.com/on-the-future-of-small-presses-in-the-aftermath-of-the-nea-grant-chaos/
1•bryanrasmussen•27m ago•0 comments

Show HN: Laravel-CRUD-wizard-free for AUTO CRUD and filtering

https://packagist.org/packages/macropay-solutions/laravel-crud-wizard-free
1•marius-ciclistu•29m ago•0 comments

Chess Game – Move the Horse

https://www.saas-tips-sports.com/movimente-o-cavalo
3•lumer26•31m ago•1 comments

Software Development with AI – Perspective from an experienced software engineer

https://www.nootn.com.au/2025/07/software-development-with-ai.html
1•jimmcslim•32m ago•0 comments

The how and why of GitHub to Codeberg

https://www.arscyni.cc/file/codeberg.html
3•todsacerdoti•32m ago•0 comments

Faster Python: Unlocking the Python Global Interpreter Lock – The PyCharm Blog

https://blog.jetbrains.com/pycharm/2025/07/faster-python-unlocking-the-python-global-interpreter-lock/
1•rbanffy•36m ago•0 comments

Nuclear Experts Say Mixing AI and Nuclear Weapons Is Inevitable

https://www.wired.com/story/nuclear-experts-say-mixing-ai-and-nuclear-weapons-is-inevitable/
1•burnt-resistor•37m ago•1 comments

The History and Physics of the Atomic Bomb

https://www.wired.com/story/the-history-and-physics-of-the-atomic-bomb-hiroshima-80th-anniversary/
1•rbanffy•37m ago•0 comments
Open in hackernews

You can now uv run a GitHub gist

https://github.com/astral-sh/uv/pull/15058/files
20•BiteCode_dev•2h ago

Comments

BiteCode_dev•2h ago
You know how you can "uv run" python code from a text file using just a URL?

No? Well, you can:

uv run https://pastebin.com/raw/RrEWSA5F

And since yesterday, you can even run a github gist:

uv run https://gist.github.com/charliermarsh/ea9eab7f56b1b3d41e5196...

unglaublich•41m ago
Or more generally, pipe your script into stdin.

> print("hi")' | uv run -

> curl https://pastebin.com/raw/RrEWSA5F | uv run -

charcircuit•45m ago
"uv run" seriously needs a sandbox. Running arbitrary code from arbitrary dependencies with 0 version locking provides no guarantees on what you are actually running.
unglaublich•37m ago
You can by set dependencies explicitly in the script's header.

https://docs.astral.sh/uv/guides/scripts/#declaring-script-d...

BiteCode_dev•32m ago
uv run is using virtual envs, that's the de facto standard, and those are sandboxes for python deps. So it already is.

Plus inline deps mean you can pin python versions and 3rd party modules using pyproject.toml syntax in a comment of your script. This is not perfect locking, as it doesn't pin sub dependencies, but it's already more that any other tool out there.

If you want perfect locking, create a project, and use uv lock. You are already in a different category of code.

simonw•24m ago
OP isn't talking about virtual environment style sandboxing, they're talking about sandboxes that prevent arbitrary code from deleting or stealing any information your user account has access to on your computer.
throwaway290•15m ago
Run it in a Docker container?
simonw•23m ago
Implementing sandboxes is really hard... but Astral are demonstrable great at solving hard problems. I dream of them one day saying "we've solved sandboxing for Python scripts" ala Deno https://docs.deno.com/runtime/fundamentals/security/