frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Xi Jinping's two-week absence sparks speculation of power shift within CCP

https://www.cnbctv18.com/world/chinese-president-xi-jinpings-two-week-absence-sparks-speculation-of-power-shift-within-ccp-report-19629056.htm
1•ivape•26s ago•0 comments

Only two islands in the world have population of more than 100M people

https://twitter.com/koridentetsu/status/1692831722159890752
1•matsuu•2m ago•0 comments

Britain is already a hot country. It should act like it

https://www.economist.com/britain/2025/07/03/britain-is-already-a-hot-country-it-should-act-like-it
2•_dain_•10m ago•2 comments

Science has changed, have you? Change is good

https://mnky9800n.substack.com/p/science-has-changed-have-you
1•Bluestein•17m ago•0 comments

Why Polyworking Is The Future Of Work And How To Become A Polyworker

https://www.forbes.com/sites/williamarruda/2024/11/05/why-polyworking-is-the-future-of-work-and-how-to-become-a-polyworker/
2•Anon84•17m ago•1 comments

Vine-like Systems and Malleability

https://nothingisnttrivial.com/vines.html
1•networked•20m ago•0 comments

I Shipped a macOS App Built by Claude Code

https://www.indragie.com/blog/i-shipped-a-macos-app-built-entirely-by-claude-code
6•discordance•22m ago•3 comments

Show HN: I Asked ChatGPT to Rebuild My Canvas Radial Menu in SVG

https://github.com/victorqribeiro/radialMenuSVG
1•atum47•26m ago•0 comments

Show HN: Quotatious – A Wordle and hangman inspired game

https://www.quotatious.com/
1•jcusch•27m ago•0 comments

Microsoft Music Producer

https://www.youtube.com/watch?v=EdL6b8ZZRLc
2•natebc•32m ago•0 comments

School Discipline Makes a Comeback

https://www.wsj.com/opinion/school-discipline-states-texas-arkansas-washington-covid-trump-obama-eeceba4c
2•sandwichsphinx•40m ago•0 comments

Building Multi-Agent Systems (Part 2)

https://blog.sshh.io/p/building-multi-agent-systems-part
1•sshh12•46m ago•0 comments

Solving Wordle with uv's dependency resolver

https://mildbyte.xyz/blog/solving-wordle-with-uv-dependency-resolver/
2•mildbyte•47m ago•0 comments

How the Biosphere 2 experiment changed our understanding of the Earth

https://www.bbc.com/future/article/20250703-how-the-biosphere-2-experiment-changed-our-understanding-of-the-earth
2•breve•49m ago•0 comments

Think slow, think fast (2016)

http://datagenetics.com/blog/december32016/index.html
1•josephcsible•51m ago•0 comments

Wikipedia Sandbox

https://en.wikipedia.org/wiki/Wikipedia:Sandbox
2•esadek•55m ago•0 comments

The Dalai Lama says he hopes to live more than 130 years

https://apnews.com/article/india-dalai-lama-buddhism-birthday-130-98ea3c4c4db8454ea56a7a123ac425ec
1•geox•55m ago•1 comments

Show HN: From Photos to Positions: Prototyping VLM-Based Indoor Maps

https://arjo129.github.io/blog/5-7-2025-From-Photos-To-Positions-Prototyping.html
2•accurrent•56m ago•0 comments

Elon Musk launches new America Party

https://www.dw.com/en/elon-musk-launches-new-america-party/a-73171209
12•layer8•1h ago•2 comments

Elon Musk's Favorite Drug Explained

https://www.vox.com/health/415600/elon-musk-ketamine-therapy-depression-risks
4•wslh•1h ago•2 comments

Under the Hood of Claude Code

https://pierce.dev/notes/under-the-hood-of-claude-code/
1•icyfox•1h ago•0 comments

Stop Hiding My Controls: Hidden Interface Controls Are Affecting Usability

https://interactions.acm.org/archive/view/july-august-2025/stop-hiding-my-controls-hidden-interface-controls-are-affecting-usability
42•cxr•1h ago•8 comments

Can you see circles or rectangles? Does the answer depend on where you grew up?

https://www.theguardian.com/commentisfree/2025/jul/05/optical-illusions-see-world-perception
1•etiam•1h ago•0 comments

JSON Parser in 111 lines of Haskell (2019) [video]

https://www.youtube.com/watch?v=N9RUqGYuGfw
1•battle-racket•1h ago•0 comments

From a recent presentation of the brand new restoration of TRON [video]

https://www.youtube.com/shorts/yHqP6XgHSl8
2•CharlesW•1h ago•0 comments

I'm trying to cool the planet using bacteria – here's the idea

https://osf.io/pmbnk/
1•icevector•1h ago•1 comments

WeSellRemotely – The Daddy of All Remote Sales Job Boards

https://wesellremotely.com/
2•figoshi•1h ago•1 comments

RFK's proposal to let bird flu spread through poultry

https://www.livescience.com/health/flu/rfks-proposal-to-let-bird-flu-spread-through-poultry-could-set-us-up-for-a-pandemic-experts-warn
22•anjel•1h ago•20 comments

Day 47 of using Claude Code

https://solmaz.io/log/2025/07/05/day-47-of-claude-code/
1•hosolmaz•1h ago•1 comments

Operators, Not Users and Programmers

https://jyn.dev/operators-not-users-and-programmers/
21•todsacerdoti•1h ago•4 comments
Open in hackernews

Show HN: Juvio – UV Kernel for Jupyter

https://github.com/OKUA1/juvio
118•okost1•1mo ago
Juvio brings inline, PEP 723-style dependency management and automatic, ephemeral env setup to Jupyter notebooks.

Comments

simlevesque•1mo ago
Seems awesome ! I'll try it soon.
okost1•1mo ago
Thank you! I am looking forward to your feedback.
imcritic•1mo ago
> Why Use Juvio?

> No additional lock or requirements files are needed

Additional to what?

> Guaranteed reproducibility

Of what?

I probably need your project, but I don't understand what it is for.

okost1•1mo ago
Hi. I appreciate your feedback. Basically, juvio stores all of the project requirements (versions of the packages and of the python interpreter) directly within the notebook itself using the PEP 723 spec. Then, when you open the notebook, a new ephemeral environment is created on the fly with all of the required dependencies. Therefore, you don't have to maintain a separate e.g. requirements.txt/conda.yaml/uv.lock file.
rafram•1mo ago
Did you in the past? Normally Jupyter notebooks just include the package installation commands necessary to set up the environment from scratch. I've never seen a requirements.txt/lockfile distributed alongside a notebook.
mrbungie•1mo ago
That's common when they are distributed as single notebooks (i.e. via Google Colab). When distributed inside repos they usually contain a requirements.txt.
dylukes•1mo ago
I've done research involving sampling from all extant notebooks on GitHub and manually analyzing them, and have been a heavy user of them in non-CS research contexts for a long time (and Mathematica notebooks for years before iPython Notebooks grew in popularity).

Having manually sifted through hundreds of randomly sampled notebooks, I feel I can confidently speak on the distribution of characteristics in them, at least up through a couple years ago.

1. Notebooks on GitHub are not necessarily an entirely representative sample of notebooks at large. If the author is putting it on GitHub, there's already a significant selection bias towards certain topics, despite notebooks being used in practically any discipline you can think of at least to some extent.

2. Notebooks in repositories that contain requirements.txt files are a minority and tend to be intended/cleaned up for sharing (itself not the norm).

3. What's more common is just a handful of !pip install at the top.

4. Even more common is just some details on dependencies in an adjoining README.

A very non-trivial chunk of notebooks on GitHub are just copies of the "Hands On ML 3" textbook/exercise set. If my memory serves there are tens of thousands of copies of that one repository. The fork count shown by GitHub doesn't account for the plethora of copies that weren't made using it.

paddy_m•1mo ago
Specifically "Hands On ML 3", or just generally a copy of some exercise set from a class?
lyjackal•1mo ago
This is cool and something that I’ve wanted, but I don’t see hot listings requirements inline foregoes the need for a lock file to maintain reproducibility. What about version ranges? Versions of transitive dependencies?
tempest_•1mo ago
Likely uses https://docs.astral.sh/uv/guides/scripts/#improving-reproduc...
jwilber•1mo ago
See also: juv

https://github.com/manzt/juv

okost1•1mo ago
Hi. Thanks for bringing this up. To be honest, I have never tried juv, but judging from the readme the ideas of juv and juvio are slightly different. In juvio the ephemeral environment is created on kernel startup. Hence, one can have multiple notebooks within the same jupyterlab session, each with its own venv. This seems to be different with juv, but please correct me if I am wrong.
epistasis•1mo ago
I've been using juv on and off for for ~6 months. From what I can tell of juvio, it is a different model for using uv with jupyter notebooks.

I'm not sure which model fits best, I'll have to see how your juvio handles kernels in jupyter. Does the kernel name change, is it all the default kernel, and what changes when an install happens?

I'm not quite sure what you mean by cleaner git diffs, but hopefully that will become clear with experimentation.

For my particular method of working, I've mostly switched to having each small project (roughly a JIRA ticket) be a separate uv-managed project in a git repo, and I create a kernel for each of the uv projects. This allows me to examine multiple different tickets and kernels without having to launch multiple jupyter labs.

The whole kernel<->venv mapping is another layer of massive complexity on top of the current huge amount of complexity in Python packaging. uv makes it fast , but it does not provide the "correct" or even single route to managing venvs.

dockercompost•1mo ago
> In juvio the ephemeral environment is created on kernel startup. Hence, one can have multiple notebooks within the same jupyterlab session, each with its own venv.

This should be your primary selling point!

antman•1mo ago
Would it work on Jupyter lite?
okost1•1mo ago
Unfortunately it won't, at least due to the fact UV is not available in the in-browser/wasm ecosystem. That would be awesome though. Maybe it is possible to make something close in terms of functionality using a custom pyodide kernel + micropip, but I did not look into that.
flakiness•1mo ago
The "git friendly format" is nice! How do markdown cells look like? Are they embedded as a python comment?
heisenzombie•1mo ago
I have been thinking about this for months now! Very excited to see you've implemented it, and I'm excited to try this out.

Could be fantastic for my use-case. We have a large repo of notebooks that are generally write-once, sometimes-re-run. Having a separate repo/venv/kernel per notebook would be a big overhead, so I currently just try to do a kind of semantic versioning where I make a new kernel on something like a 6-month cadence and try to keep breaking dependency changes to a minimum in that window. I can then keep around the old kernels for running old notebooks that depend on them. This is not at all an ideal state.

Thanks for sharing!

heisenzombie•1mo ago
Hm, I haven't had any luck making this work. Have opened an issue.
nsonha•1mo ago
doesn't seem like I can just point to a pyproject.toml

I can see the point of PEP-723, in the context of jupyter, but another usecase is having your notebook to work on the same environment as some product, instead of just being a standalone thing.

chthonicdaemon•1mo ago
If you have an environment set up with a pyproject.toml, just select the Jupyter kernel you installed in the environment. That feels like the case that is well handled by current tooling.

I believe this is solving the common complaint that you can't just email a jupyter notebook, since it doesn't capture the dependencies.

nsonha•1mo ago
let's say you have a project with a pyproject.toml and some notebooks. You'll have to 1. Come up with some name for the kernel, 2. Add a script to install the kernel, polluting the collaborator's jupyter installation 3. Add a README referring to 2.
chthonicdaemon•1mo ago
It sounds like you expect the collaborator to have one jupyter installation that you would pollute with the kernel. In my projects that use jupyter, I always have jupyterlab as one of the dependencies. Not sure about the naming part, since I usually just put my project in a directory named for the project, and uv uses that name for the venv, so I literally have never had to "come up with some name for the kernel".

In my case, I usually cd to the project directory, activate the associated environment, then do one of the following to work on a notebook in one of my projects, `jupyter lab`, `pycharm .`, or `code .` and go from there. In all of these cases, I get the ability to open notebooks that make use of this environment, either in the actual Jupyter lab interface, or in the tool's notebook interface (pycharm or vs code). All of these options make it pretty effortless to use the kernel associated with the environment - it's either automatically selected or it's the default in the dropdown.

pabs3•1mo ago
PEP 723 dependency management always struck me as a bit non-DRY. Wonder if there is a better way to do it, like annotating imports with versions or something similar.
lukeyoo•1mo ago
I like Jupyter too! It's has been a quick easy solution for me: https://hub.docker.com/r/lukeyoo/jupyter-polyglot
banteg•1mo ago
there is https://marimo.io/ that does all this and more
stereo•1mo ago
Has anyone compared juv, juvio and marimo?