this post was submitted on 29 Jun 2023
16 points (100.0% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] thomas@lemmy.douwes.co.uk 5 points 1 year ago* (last edited 1 year ago) (3 children)

Download ML thing.
make new venv.
pip install -r requirements.txt.
pip can't find the right versions.
pip install --update pip.
pip still can't find the right versions.
install conda.
conda breaks for some reason.
fix conda.
install with conda.
pytorch won't compile with CUDA support.
install 2,000,000GB of nvidia crap from conda.
pytorch still won't compile.
install older version of gcc with conda.
pytorch still won't compile.
reinstall the entire operating system with debian 11.
apt can't find shitlib-1.
install shitlib-2.
it's not compatible with shitlib-1.
compile it from source.
automake breaks.
install debian 10.
It actually works.
"Join our discord to get the model".
give up.

[–] omalaul@lemm.ee 4 points 1 year ago

It feels like you stood behind me yesterday, taking notes.

[–] AMAMazing@aussie.zone 3 points 1 year ago

This comment gives me ptsd

[–] HarryEffingPotter@programming.dev 1 points 1 year ago* (last edited 1 year ago)

thats when you do

/usr/bin/python3.11 -m pip install

mother. fucking. hardcoded paths. 1 step forward, 10 steps backward.

[–] tappyturtle@programming.dev 1 points 1 year ago

As a mac user I feel this

[–] nick@campfyre.nickwebster.dev 1 points 1 year ago* (last edited 1 year ago)

Poetry is nice for this but honestly, Rust's cargo and the JS npm/yarn have spoilt me.

[–] Mikina@programming.dev 1 points 1 year ago* (last edited 1 year ago)

I've recently discovered pipenv, and it has been a massive QoL improvement. No need to figure out bazillion of commands just to create or start an environment, or deal with what params should you use for it like you do with venv. You just pipenv install -r requirements.txt, and everything is handled for you. And when you need to run it, just pipenv run python script.py and you are good to go.

The best thing however are the .pipfiles, that can be distributed instead of requirements.txt, and I don't get why it's not more common. It's basically requirements, but directly for pipenv, so you don't need to install anything and just pipenv run from the same folder.

[–] leviosa@programming.dev 1 points 1 year ago

Hopefully Mojo will sort it all out. Maybe even inspiring a new, positive streak of xkcd strips in the future?

[–] MentalEdge@sopuli.xyz 0 points 1 year ago (1 children)
[–] Illecors@lemmy.cafe -3 points 1 year ago (1 children)

This is useless. Why don't you start a community for google searches?

[–] MentalEdge@sopuli.xyz 1 points 1 year ago* (last edited 1 year ago) (1 children)

I didn't start it.

I joined it, and linked it, because I liked getting my xkcd's in my reddit feed from r/xkcd, because that meant there were comments to engage with. How the fuck is that useless? Why the animosity?

Like actually, how is the mere mention of a community enough for you to turn mean?

Edit: Wow. You're an instance admin. Is this how you conduct yourself? Do you go deleting communities created by users on your instance, if you don't personally see value in them?

[–] Illecors@lemmy.cafe 1 points 1 year ago* (last edited 1 year ago)

Sorry to have been so mean. I simply think starving a website of visits is not great.

Do you go deleting communities created by users on your instance, if you don’t personally see value in them?

That is one hell of a jump to conclusions.