News for hackers. Stuff that matters.
Re:Show HN: When my builds fail I pay money to charity by paulsutter on Monday May 07, 2018 @11:13AM (#17013322)
Neither of your requirements are true in the least. It’s a great idea because he’s penalizing himself for failed builds in a really fun way, with no waste because it’s going to a good purpose. It’s called “win-win” and it’s a good thing.
Re:Show HN: When my builds fail I pay money to charity by dubcanada on Monday May 07, 2018 @12:10PM (#17013883)
"penalizing himself"

Implies that OP is correct. In order to penalizing yourself you need to do something you consider a punishment. In this case donating to charity...

Re:Show HN: When my builds fail I pay money to charity by fouc on Monday May 07, 2018 @01:10PM (#17014424)
OP and yourself are perhaps engaging in what could be termed as "semantic trolling"

Fortunately it isn't working because as others pointed out, "penalize himself" and "donate to charity" concepts aren't directly tied together. Where the donation actually goes is immaterial, so it's not possible to argue that "punish himself" implies "donate to charity" is punishment.

Re:Show HN: When my builds fail I pay money to charity by tnegoshi on Monday May 07, 2018 @05:32PM (#17016633)
The only misuse of semantics I see is where an attempt to obscure a concretely causal relationship occurs:

mistake > punish himself > donate to charity to punish himself

Donating to charity as a method to achieve the punishment goal is precisely material in this case.

GP is asking if this method, which contains both a gain and loss, actually results in a punishment with an intended loss.

Re:Show HN: When my builds fail I pay money to charity by zumu on Tuesday May 08, 2018 @02:08PM (#17023143)
The punishment isn't donating to charity. The punishment is losing money.
Re:Show HN: When my builds fail I pay money to charity by dijit on Monday May 07, 2018 @12:24PM (#17014009)
Involuntarily losing money is a punishment. Even if it goes to a good cause.
Re:Show HN: When my builds fail I pay money to charity by aeorgnoieang on Monday May 07, 2018 @02:48PM (#17015313)
But surely 'losing money' to a bad cause would be an even better punishment. Is the punishment supposed to discourage breaking builds? Are the 'warm fuzzy feelings' (or the actual benefits of the relevant charity!) that causing a charitable donation to occur being properly accounted for in deciding whether this is a good idea?
Re:Show HN: When my builds fail I pay money to charity by dalore on Tuesday May 08, 2018 @08:46AM (#17020508)
Punishing himself is the losing money aspect. It doesn't matter where it goes technically for it to be a punishment. His goal is to not lose money.

But to make it worthwhile (aka the reward part of the punishment), the donations are directed to charity since they need to go somewhere. So that's a small reward built into the punishment.

Re:Show HN: When my builds fail I pay money to charity by quickthrower2 on Wednesday May 09, 2018 @02:10AM (#17027713)
If the money goes to "Starbucks" as shown in the image, I don't think he is being punished.
Re:Show HN: When my builds fail I pay money to charity by TeMPOraL on Monday May 07, 2018 @12:13PM (#17013909)
It's better than just throwing away money after a failed build. But a true win-win strategy is donating to charity unconditionally, and not wasting time punishing yourself for failed builds in an elaborate way ;).
Re:Show HN: When my builds fail I pay money to charity by sametmax on Monday May 07, 2018 @02:06PM (#17014930)
You are advocating perfection while op is making the best out of the dealt cards. We need both approaches as a society, but one should not nag the other.
Re:Show HN: When my builds fail I pay money to charity by aeorgnoieang on Monday May 07, 2018 @02:51PM (#17015339)
They were advocating not misaligning incentives, which is definitely not making the best of a situation.
Re:Show HN: When my builds fail I pay money to charity by compiler-guy on Monday May 07, 2018 @02:31PM (#17015154)
You are not accounting for the fun that doing this entails. It's gamification of the build with a gaming partner that is actually fun to play with.

When I play a game with my buddies, I try to win, but even if I lose I still have a good time.

This is a very similar concept. Also, don't assume that this is the only money he gives. Games are fun.

Re:Show HN: When my builds fail I pay money to charity by TeMPOraL on Monday May 07, 2018 @11:57PM (#17018707)
In reality I was just nitpicking. Doing the win-win strategy I described does require more willpower, and I understand that one employs tricks like these to avoid using willpower.

Incidentally, I somewhat envy people who are capable to pull such strategy off. It requires some amount of suspension of disbelief, forgetting for a moment that you're the game master and playing the game by the book way past the point it's become uncomfortable. I don't have that. I tried many times, but my mind just refuses to participate in self-trickery.

Re:Show HN: When my builds fail I pay money to charity by aeorgnoieang on Monday May 07, 2018 @02:46PM (#17015298)
> penalizing himself for failed builds in a really fun way

That doesn't make sense. Penalties aren't fun. Building software isn't a game (generally).

And there sure seems like there's a real possibility of wasteful behavior, e.g. someone 'spamming' the build system to effect a large overall donation.