News for hackers. Stuff that matters.

robot01

Re:What I learned at work this year on Wednesday January 02, 2019 @02:46PM (#18809419)
This reminds me of the movie _Elysium_. In it, Matt Damon's character is talking to a robot, and when he shows frustration the robot responds, "You seem to be experiencing elevated levels of anger. Would you like an antidepressant?"
Re:Safe ways to do things in bash on Tuesday May 15, 2018 @11:31AM (#17074696)
Do you guys have a different, approved shell for prod?
Re:Avoid Else, Return Early (2013) on Tuesday March 27, 2018 @01:10PM (#16690597)
Maybe it's just me, but I find the first version easier to parse visually. When the coding convention forces me to put the brace on the same line, I end up doing:

    if (user.exists()) {

        destroyHuman(user);
        hideRemains(user);
    }