dwt

joined 4 months ago
[–] dwt@feddit.org 1 points 3 weeks ago (1 children)

On python, because of the Gil, multi processing should always be preferred if possible.

[–] dwt@feddit.org 11 points 1 month ago (1 children)

Surprised pikachu face….

[–] dwt@feddit.org 1 points 2 months ago

If you do want to try, just start a docker container and try inside there. That should negate all risk

[–] dwt@feddit.org 3 points 2 months ago (1 children)

Couldn’t get single quotes to type on my phone, but best to always use them for problems like that, to completely get rid of shell interference.

[–] dwt@feddit.org 17 points 2 months ago* (last edited 2 months ago) (5 children)
rm ./—rf\ \*

Am I missing something?

[–] dwt@feddit.org 3 points 2 months ago

It’s easy to set the path to include the venv in the Dockerfile, that way you never have to activate, either in the run line, nor if you exec into it. Also this makes all your custom entry points super easy to use. Bonus, it’s super easy to use uv to get super fast image builds like that. See this example https://gist.github.com/dwt/6c38a3462487c0a6f71d93a4127d6c73

[–] dwt@feddit.org 10 points 2 months ago

Did you catch that a Microsoft employee found the xz exploit?

[–] dwt@feddit.org 2 points 2 months ago

I really like some Mammal Hands http://mammalhands.com/

[–] dwt@feddit.org 2 points 3 months ago* (last edited 3 months ago)

TIL that pillow-heic is a thing. Thanks!

[–] dwt@feddit.org 2 points 3 months ago

I particular look forward to the native exchange integration.

Email already works, but is behind a feature flag still. But it’s finally visibly progressing.

[–] dwt@feddit.org 2 points 3 months ago

Crickets, tumbleweeds…. Sounds about right.

[–] dwt@feddit.org 1 points 3 months ago

Yep. I actually hate that.

view more: next ›