138
It ensures that the agent does a good job
(lemmy.world)
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.
Everyone knows you have to tell it "don't make mistakes".
"DO NOT HALLUCINATE"
Ahh, the "git gud" gamer hack also applies to sloperations? Good to know!
I actually stole that one from Apple
git config —global alias.gud “reset —hard @{upstream}”You are a monster. Nice work!
Ah, went and checked my work laptop this morning. It’s actually set to:
!”git reset —hard HEAD && git clean -fdxgit itis the one that’s set to upstream.I also have
git some:add -p,git away:checkout -p,git out:!”git merge —abort 2> /dev/null || git rebase —abort 2> /dev/null #”And some complicated ones I’m not gonna type on my phone:
git on <foo>where foo is either “it”, in which case I use the appropriate main/master/develop branch and rebase on it; or foo is “up” in which case I do apull —rebaseand play a short audio clip of Get On Up; or foo is a nonexistent branch, in which case I massage the requested branch name to adhere to some conventions and then make a new branch and set the remote tracking branchgit with <foo>where the same “it” logic applies but it’s a merge; or foo is a commit SHA and it gets cherry-pickedgit upis just a pull but it plays a short audio clip of Get On Upgit rektat one point, but I think it just did the same asgit gudso I deleted itDo a good jobSorted.
Be GOD.Nothing can beat that!
How many "do not hallucinates" does it take until the "memory window" forgets it's supposed to not hallucinate and then hallucinate?
Technically, nowadays, the system prompt is sent back with every user prompt, but I'm not convinced that was the case in 2024 😅
That's a very good point you made!