360 points · by ColinWright · 10y ago · 66 comments
Now, you may have internalized a lot of this motivation, but at that point it's not a question of willpower just habit.
> Have you ever cleaned up because company was coming over?
Yes, but irrelevant. Note that I don't make an special effort, I just move my regular chores forward a bit so my place is seen at the peak of the cycle, rather than the trough.
I clean routinely and haven't had company over in nearly 3 years. I have absolutely no external motivation to clean my house other than I want my house to be clean. I exercise 3/4 times a week and my garage has become more or less a home gym.
I disagree with /u/ kaiuhl's examples and I'm not sure I understand their point.
My yards are a complete mess because I don't give a crap about how my yards look. I don't remember what my backyard looks like and I see the front yard twice a day getting in/out of my car to commute to work. I cut it from time to time when the sandburs become a problem.
I don't really consider the lack of lawn care to be less accomplished.
But... as it turns out... it is all for show anyways. When I dig deep into "why" It comes out that I like to be seen as someone who cares and can do things right.
So, agreed.
https://en.wikipedia.org/wiki/The_Theory_of_Moral_Sentiments
http://www.amazon.com/Adam-Smith-Change-Your-Life/dp/1591846...
I realised something after having with someone who likes cleaning. A clean house made me feel better.
Not just the way it looks, but untidiness translated into a tiny little worry-bubble in the back of my mind.
I realised I felt free in a way I hadn't before. So now I clean.
--
I slept and dreamt / That life was joy.
I awoke and saw / That life was duty.
I acted, and behold— / Duty was joy. [0]
--
(Wish HN treated single line breaks appropriately.)
[0] http://workingwithwords.blogspot.com/2009/12/on-duty-and-joy...
"Everyone knew broken builds should be fixed quickly", but each individual felt a benefit of being able to push code without waiting for compilation / tests to run. Breaking the build had a cost, but that pain was being distributed across the team (other programmers finding the problem), and delayed (waiting for them to complain). So the feedback loop was too weak to discourage breaking the build.
This is a classic tragedy of the commons, and far from being "unreasonable" as the author suggests, it's a fairly rational inclination for each individual actor. Other people will find my bugs and breakages for me, and probably do some of the diagnostic work for me too - why wouldn't I pass off that work to them?
Since a team is (hopefully) a society rather than a competition, one answer is "because I don't want to be known as a careless individual who creates work for others". That's why paying attention to the lava lamp isn't "unreasonable" either - everyone can see it, so it makes that social pressure much more visible. It also means the cost of a broken build is less likely to get spread across the team - if someone hits a problem, instead of puzzling for half an hour whether the build is broken or they did something stupid, they can just glance up and see the red lava lamp, and immediately exert social pressure.
By making social pressure stronger and more immediate, the lava lamp pushes the cost of breaking the build back onto the person who broke it. That restores a missing feedback loop, which is often an effective way to change a culture.
"In every job that must be done / there is an element of fun. / You find that fun and snap! The job's a game."
Making a game out of fixing a bug before a lava-lamp bubbles up doesn't make bug fixing easier. It just makes it into a more compelling option than taking off for an early lunch after deploying.
I don't expect the average startup to get anywhere with that (unless they're a games startup), but the bigcorps should be doing this sort of thing, and should be producing tons of evidence in how this-or-that idea works out that startups could just learn from/copy/steal.
My guess is no. Once a person gets involved in picking the time, it stops being a fun thing to challenge yourself against, and starts being your annoying boss trying to micromanage failed builds.
For a naturally occurring timer, you just work within the constraints you're given. That's what they are and there's nobody to blame or change it. (I mean, you could easily put a lower wattage bulb in, but that won't occur to most people)
Or maybe it's like the placebo effect where you know what's going on but somebody could control the timer and it works anyway. Who knows?
One developer got a little annoyed at this so he cut the chicken's head off, then repaired it with hose clamps. It was sort of a Frankenchicken.
That's exactly what happens when such games are overdone or (ab)used in attempt to "compensate" for programmers being unsatisfied with whichever aspects of the project.
Commonly we see many folks (particularly non-coding managers) treat a nightly build as some sort of indicator of developer competence or code quality. I have even heard anecdotes of devs being fired for breaking the build in a sufficiently large organization (but not the one with the chicken). A successful nightly build is one of those things that's trivially easy to measure and on the surface looks like progress. But of course, the easiest way to never break the build is to just never check any code changes in.
But I believe strongly that a nightly build should be treated as a tool like any other: in any large software project there will be times when a dev makes an honest mistake with the checkin process or simply cannot succeed at testing every interdependency by building on his own box beforehand. So give the devs something to break, and this ought to be the function of the nightly build. If the nightly is so critical to organizational progress that it simply must not be broken, then you need to give the devs something else.
The system should be made to serve its users, and not the other way around.
Shaming displaces camaraderie.
Beheading the chicken was a bold statement.
"100% of software engineers don't like Justin Bieber"
Or for DIY, a cheap micro plus a opto-isolated relay board.
Or just get a particle photon with the relay shield. Extremely easy to set up, and it comes with a REST API.
What are some good ones?
> Or for DIY, a cheap micro plus a opto-isolated relay board.
What does "micro" mean in this context? Microcontroller?
http://smartplug?state=on
http://smartplug?state=off
Then to get the state of the plug: http://smartplug?state
In jQuery this would be a easy call $.ajax('http://smartplug?state=on')
Of course you'd have to code the plug server to add the appropriate CORS headers but that's true no matter how you structure the API.You could either replace 'smartplug' with the local ip of the device or alias it in `/etc/hosts`. All pretty standard stuff these days. If you wanted to expose it to the outside world (which actually should be hard to do) you would use DHCP reservation based on it's MAC address and a DynDNS service.
The part that stymies me (and which no-one seems interested in addressing!) is what hardware to get.
Why? Using it to change state seems precisely wrong. PUT seems more appropriate.
You can see pictures and source: https://github.com/tantalic/build-light