this post was submitted on 10 Jun 2023
178 points (98.9% liked)

Programmer Humor

32557 readers
480 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago (1 children)

WIP

WIP

Fuck this

WIP

LINT

LINT YOU FUCK

Squash

Fix issue where sky would turn black when under floor lighting was used

[–] [email protected] 4 points 1 year ago

This is the way.

[–] [email protected] 9 points 1 year ago* (last edited 1 year ago)

Fixed the thing.

Fixed the thing for real this time

[–] [email protected] 8 points 1 year ago
[–] [email protected] 4 points 1 year ago (1 children)

This scene is pretty ironic today, since the actual dialog was if it could paint a work of art, when art is now (arguably) AIs strongest area of competence

[–] pcouy 2 points 1 year ago

As long as you don't ask it to draw hands

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

"latest changes"

"fix bug"

"commit to save changes"

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I have an alias, git yolo, that does 'git commit -a' with a message from whatthecommit.com, and pushes to master. Just add this to your ~/.gitconfiig and you too can live on the edge. yolo = !git add -A && git commit -m \"$(curl --silent --fail https://whatthecommit.com/index.txt)\"&&git push origin main

Edit: Added the alias.

[–] pcouy 1 points 1 year ago

I did not know about whatthecommit, and I love it! Thank you

[–] [email protected] 3 points 1 year ago (2 children)

Ah, but where do you find the training set of all of the human-written good commit messages? 😃

[–] csm10495 2 points 1 year ago

Came to say this. Take my up vote.

[–] [email protected] 1 points 1 year ago (1 children)

I work in bioinformatics and this is the kind of thing I keep trying to communicate to people in the field. Yes, these AI tools (like AlphaFold) are amazing, but if there's a significant gap in their training data, the AI is going to have that gap too (most of the structures in the protein database were solved via X ray crystallography, which isn't great for studying highly flexible or disordered proteins)

[–] [email protected] 1 points 1 year ago

Yes. My (minimally informed from a single class) understanding is that it sort-of depends on the problem too. Like perhaps in looking at all the data on proteins, the neural network might notice a pattern in protein folding is applicable to the tweaked problem. Of course, there is no guarantee that such a generally applicable rule exists. And even if it does, it might not be discovered by the net before overtraining occurs.

[–] [email protected] 2 points 1 year ago

"minor changes"

[–] [email protected] 2 points 1 year ago

The meaningful part of a git commit is the hash

[–] [email protected] 2 points 1 year ago

@pcouy just prepend it with the ticket number.

[–] [email protected] 2 points 1 year ago

"changed one letter in some comment to redeploy"

[–] [email protected] 1 points 1 year ago

#git commit -m "changing something in the source code"

[–] [email protected] 1 points 1 year ago

My commit messages are one of the things I am most proud of :) I often spend an hour or more collecting all changes and summarising them well. It takes a bit additional time, but it is so worth it when revisiting commits or wanting to summarise everything from a bigger batch of commits. :)

[–] [email protected] 1 points 1 year ago
load more comments
view more: next ›