Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "exorcism"
-
3 hours...
3 damn hours for 200 lines of bash code.
Exorcism, Magic I don't care.... But please make a special person never touching bash programming again.
I ripped my hairs out. Really.
Till I realized someone wrote functions with _logical_ return true codes as numbers.
0 - as logical false, for failure
1 - as logical true, for success
Leading my brain into a severe segfault fun.
Why... Oh why.
Second fun part as I corrected that...
Someone wasn't fond of exit codes at all.
Script is now 86 % rewritten....
God damn it, if you don't like a languages fine.
But inverting core logic should give a free trip to the electrical chair.1 -
Difference between computing and IT: Computing is beautiful, one of the greatest achievements of mankind. IT is a nightmare where everyone sells the exorcism to a new devil of their own making.2
-
That moment when your server is so messed up you can only blame the devil.
So you throw away your stupid atheism, begin believing in jesus and you do an exorcism on your server.
You server still sucks, it's obviously because earth is flat and the instruction set of the CPU is meant for a round earth that never existed...3 -
At my last gig, part of our business process was to generate a unique human-readable ID that could tie an individual to our product and service. Well, we had a few rather superstitious, paranoid and vocal customers who felt 'uneasy' when they received their unique ID with 666 in it.
So after having a good laugh and roll on the floor, I got to write an exorciseUniqueId() method that compelled the evil numbers to stop possessing those innocent IDs!4 -
My father has an old powermac (G5 I believe) and wants a modern lightweight OS since apple dropped support a while ago. I proposed Linux and my father seemed intrigued to try it out. Tomorrow I get the machine and get to set it up.
I was thinking of Elementary OS, since he is an Apple fanboy. What do you think about that decision?
Never used or installed it before, but how hard can it be?
*obligatorily mentioning that I use Arch Linux*6 -
So when you are fixing bugs you are like exorcist:
you: "tell me by some sign your name!"
bug: (demonic voice babbling)
you: "and the day and hour of your departure!"
you: "The hour of your departure!"
you: "The hour of your departure. CANNOTGETPROPERTYNAMEOFUNDEFINED!"