Dude Looks Like a Lady
by in Error'd on 2014-03-28The costume that Ray V. found reminds me of a certain Aerosmith song.
The costume that Ray V. found reminds me of a certain Aerosmith song.
Alvaro M. used to work as a contractor for large US store chain where many things were accomplished via shell scripts. The majority of which were written by one guy who was the "expert" on scripting - a veritable scripting guru.
Scripts doing infinite loops and then sleeping for an hour were often the norm. The reasoning behind these being that "cron used too much server resources!" There was even a server where every user was allowed to put their scripts, that was painfully slow to use, partially because at any time you could see a couple hundred instances of 'sleep'...for example:
Come April 1st, the survey page will disappear from all existence...leaving juicy data in its wake.
Is your data in there? If so thanks! If not, do it now! Get to the choppa!
The application that Motumbo works on has huge codebase and very few tests. The majority of these exist to test integration and interact with the DB or other external systems - they either print something out or rely on exceptions being thrown.
The rest, didn't actually work (e.g. reference local paths) and weren't executed in the main build. Instead, there's a separate build which runs them and succeeds even if they fail. Thankfully, this situation was correctly recognized as being ridiculous and the decision was made to clean house and either fix or remove the useless, broken ones.
A junior developer recently left the firm that Graham works for. In an act of great kindness and generosity, before officially departing, he sent to the developer who had inherited his work a file titled 'Useful_Bits.txt' - some code that he had lovingly written and could potentially be reused.
The file included, among many other things, the below gems. The last one had reportedly taken ages to write but the departing dev got upset when it was pointed out that you could do it in one line by overloading ToString() or using string.Format()...
At Initrode, their main business is large-scale data warehousing. Their products are used by the biggest companies in the world, and to keep up with demand, naturally, they have hundreds of rock star developers churning out incredible solutions.
They also have Commander Joe.
Sales, as everyone knows, is the mortal enemy of Development.
Their goals are opposite, their people are opposite, their tactics are opposite. Even their credos - developers "Make a good product" but sales will "Do anything to get that money" - are at complete odds.