henryiii, to python
@henryiii@fosstodon.org avatar

This feature of uv is not talked about enough:

uv pip install --exclude-newer 2020-01-01 -r requirements.txt

I was able to recover and build a project untouched for many years using this easily!

pvergain, to python French
@pvergain@framapiaf.org avatar

Install and Run Python Applications in Isolated Environments using UV

is a re-implementation of most of the functionality of the popular tool but is much faster because it uses to create and install application virtual environments instead of venv and pip as used by

mgorny, to rust Polish
@mgorny@pol.social avatar

Czas na codzienną dawkę narzekania na . Tak, ekosystem działa super.

jest zależne od biblioteki tokio-tar. Tokio-tar jest spieprzone na , nie przyjmuje zgłoszeń błędów (!) i zdaje się być całkiem martwe. Parę łatek czeka sobie radośnie od 2022, a repozytorium ostatnią aktywność ma w połowie 2023. Niemniej, wysłałem łatkę, naprawiającą PowerPC, choć nie żywię wielkich nadziei, że ktoś ją przyjmie, wyda nową wersję i doprowadzimy UV do działania.

Na dodatek, tokio-tar to fork z async-tar, powstały na początku 2021 roku. Nie wygląda na to, by opiekun trzymał je w synchronizacji, a async-tar umarło jakoś pod koniec 2021. Za to chociaż ma możliwość zgłaszania błędów, dzięki czemu możemy lepiej obserwować, jak bardzo jest martwe.

Przepisywanie wszystkiego na Rusta jest super. Późniejsza opieka nad projektami, od których zależą inne projekty, już nie.

https://github.com/vorot93/tokio-tar/pull/23

hywan, to python
@hywan@fosstodon.org avatar

How uv saves Home Assistant 215 compute hours per month, https://developers.home-assistant.io/blog/2024/04/03/build-images-with-uv/.

uv is a faster Python package manager than pip. It is written in Rust, by Astral, https://github.com/astral-sh/uv.

Home Assistant saves 215 computer hours per month when using uv, e.g. on armhf when it took 1h52m20s with pip versus 6m2s with uv to run their release workflow. That’s insane.

paepke, to homeassistant
@paepke@chaos.social avatar

Impressive that changing from to shortened buildtime https://developers.home-assistant.io/blog/2024/04/03/build-images-with-uv/ “you can see that we can save around 5 hours of execution time on each build”

henryiii, to python
@henryiii@fosstodon.org avatar

Stick these lines at the top of your noxfile.py:

nox.needs_version = ">=2024.3.2"
nox.options.default_venv_backend = "uv|virtualenv"

And install uv to make install-heavy nox jobs go much faster. You can instead try -db uv or setting NOX_DEFAULT_VENV_BACKEND=uv. #python #nox #uv

kytta, to python
@kytta@fosstodon.org avatar

A few weeks ago, I’ve written a small essay about modern tools (like and ) and things I dislike about them. I wanted to first redesign my website before posting it, but nah, that would take too long of a time 😂

https://www.kytta.dev/blog/why-i-dislike-ruff/

mykhaylo, to python
@mykhaylo@fosstodon.org avatar

So on CI made the entire flow 30% faster.

mykhaylo, to python
@mykhaylo@fosstodon.org avatar

So, I've been doing some development, and started a new project, first time since quite a while. I must say that using and makes it really fast and enjoyable.

pawamoy, to python
@pawamoy@fosstodon.org avatar

I couldn't help myself: I forked (again) my project template to make it use from @charliermarsh and Astral (previously and ).

Here it is: https://github.com/pawamoy/copier-uv. Can't wait to try it on a real-life project 😄

SnoopJ, to random
@SnoopJ@hachyderm.io avatar

A faster pip-tools does seem intriguing, so I gave uv pip compile (formerly puffin) a try. Here's what I learned:

  • setup.cfg is unsupported, you must declare dependencies in pyproject.toml

  • --find-links doesn't work w/ encoded package URLs (edit: fixed)

  • Installing reqs from git doesn't seem to work (failure to clone; no .gitconfig support maybe?)

  • Extras and environment markers are absent from output (i.e. pkg[extra]==1.0 ; … turns into pkg==1.0)

Not production-ready for me

SnoopJ,
@SnoopJ@hachyderm.io avatar

Somewhat relatedly, as far as I can tell, the lack of support for uv pip install . is deliberate.

It leaves me wondering what exactly the design goals behind the "drop-in" claim are, because they don't seem to be "have the same observable behavior" as a general rule, but maybe something more like "it's close".

(I guess this kvetching applies to as well as since it also claims drop-in parity and has lots of fiddly little differences that make "drop-in" mean "drop-in and then tweak")

SnoopJ,
@SnoopJ@hachyderm.io avatar

Oof, it seems I have found the strongest show-stopper for using in the project I think would most benefit from it:

In-metadata dependencies on pkg @ git+ssh://… are not supported by uv pip install unless you're using --editable. You can also specify the requirement "directly" (instead of "transitively" in the metadata) in your invocation.

https://github.com/astral-sh/uv/issues/1853#issuecomment-1958668373

This is a pretty strong break with pip and happens to be an edge case that I'm absolutely locked into.

midnitte, to python
@midnitte@fosstodon.org avatar

I think the biggest takeaway from the news is that... you won't get messages about having to upgrade :blobcatthinkingsmirk: /s

New DNA nanobots can replicate themselves using UV light (interestingengineering.com)

A new study has been published showcasing a new DNA-based nanobot that could open the door to producing life-saving drugs in the human body. A team of researchers from New York University have developed DNA-based nanobots that could, in theory, replicate themselves exponentially. Developed by Feng Zhou and his team, the tiny DNA...

RonsCompVids, to microsoft
@RonsCompVids@bitbang.social avatar

Damn! Look at this beautiful Natural Elite!

luckytran, to random
@luckytran@med-mastodon.com avatar

And we ask ourselves why world governments failed to contain COVID

ejim, (edited )

@dannotdaniel @luckytran you make fun of that, but really show great effects of against . Not only on surfaces but also in very very low concentrations as a gargle, inhale, nasal spray. Same with the disinfectant Povidon-Iodine
Also -C and save -UV-C and light with 400-425nm light are shown to inactivate .
Also light is shown to have good effects on our bodies fight against . Also normal VitaminD lv

Luxomancer, to Lichen
sflorg, to anime_titties
@sflorg@mastodon.social avatar

New research from MIT shows that these lights can produce potentially compounds in indoor spaces. While the researchers emphasize that this doesn’t mean the new UV lights should be avoided

https://www.sflorg.com/2023/10/en10172304.html

itnewsbot, to random
@itnewsbot@schleuss.online avatar

Silicon Photolithography the PCB Way - [ProjectsInFlight] has been doing some fantastic work documenting his DIY semicond... - https://hackaday.com/2023/10/17/silicon-photolithography-the-pcb-way/

Nonog, to random

From glowing cats to wombats, fluorescent mammals are much more common than you’d think
Recently, several mammals have been reported to “glow” under ultraviolet (UV) light, including our beloved platypus. But no one knew how common it was among mammals until now.
https://theconversation.com/from-glowing-cats-to-wombats-fluorescent-mammals-are-much-more-common-than-youd-think-214584

itnewsbot, to dialysis
@itnewsbot@schleuss.online avatar

Clean Up Your Resin-Printing Rinse with Dialysis - There’s a lot to like about resin 3D printing. The detail, the smooth surface fini... - https://hackaday.com/2023/09/05/clean-up-your-resin-printing-rinse-with-dialysis/ -link

geographile, to random
@geographile@sfba.social avatar

"Do you favour the soft dark beauty of , better known as the ancient eyeliner , or are you enthralled by the vibrant of and its ability to glow orange under light?"

Round 1, match 4
Stibnite vs sodalite

I am currently but I will learn more about Stibnite and vote after I've learned more.

https://www.mineralcup.org/2023/campaigns/round-1-match-4

itnewsbot, to photography
@itnewsbot@schleuss.online avatar

Old Film Camera Modified for Different Chemistry - While most photographers have moved on to digital cameras with their numerous bene... - https://hackaday.com/2023/08/03/old-film-camera-modified-for-different-chemistry/

nekohayo, to glass
@nekohayo@mastodon.social avatar

The problem with having super-efficient double-glazed blocking windows in a building is that, as I'm finding out after 3 years of troubleshooting, it is absolutely hell to try to grow indoor there.
Sun-loving like trees and fruit trees (including …) never get enough light, and bright-indirect-light things like golden pothos, most ferns, chinese moneyplant, and probably , can't stand direct sun but immediately suffer if away from the window

itnewsbot, to Cyberdeck
@itnewsbot@schleuss.online avatar

Bringing a Baofeng into the Cyberpunk 2077 Universe - You’ve got to love the aesthetics of dystopian cyberpunk video games, where all th... - https://hackaday.com/2023/07/14/bringing-a-baofeng-into-the-cyberpunk-2077-universe/ -5r

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • magazineikmin
  • Youngstown
  • everett
  • thenastyranch
  • slotface
  • vwfavf
  • mdbf
  • rosin
  • kavyap
  • khanakhh
  • cubers
  • PowerRangers
  • provamag3
  • DreamBathrooms
  • tacticalgear
  • Durango
  • ethstaker
  • osvaldo12
  • ngwrru68w68
  • cisconetworking
  • tester
  • GTA5RPClips
  • normalnudes
  • modclub
  • Leos
  • megavids
  • All magazines