"Why is it when I run your tool, I have to reinstall my Linux distribution from CD?"Heh.
This was indeed a puzzling question. Some poking around exposed the following chain of events: the company's make used a novel format to print out the absolute path of the directory in which the compiler ran; our script misparsed this path, producing the empty string that we gave as the destination to the Unix "cd" (change directory) command, causing it to change to the top level of the system; it ran "rm -rf *" (recursive delete) during compilation to clean up temporary files; and the build process ran as root. Summing these points produces the removal of all files on the system.
int i[4]; ... i[4] = 0;From the customer: "ANSI lets you write 1 beyond the end of the buffer. We'll have to agree to disagree."
int i[4];
...
i[4] = 0;
find . | grep .java$ | xargs javac or something and then adding the output directories to the classpath of the server. (Technically I should have packed things up in a WAR or something, but whatever)
Many things from back then still being built and sold. Not every part of the software world reinvents the wheel every 5-10 years. But there exists a class of programmer who can't understand the world beyond latest tools + language flavor of the month + small projects + maintenance is someone else's problem.Well, I was under the impression that these guys started some time ago. I think, at least from reading the article, they probably picked the wrong way to go about actually getting people to use this. It would have made more sense to release it as a patch for GCC or something. Of course, they wouldn't have made much money this way, but the path they went on seems like torture :P. Okay, checking code using existing build systems seems problematic, so, don't do that. Focus on new stuff, which is all anyone actually cared about anyway. They didn't want to go back through existing code and find theoretical problems that weren't actually causing problems.
« Older Neuroscience explained using LOLcats (SLLJ).... | Indie rock darling Liz Phair s... Newer »
This thread has been archived and is closed to new comments
Heh. Welcome to the world of Enterprise Sales™. AKA Our product frequently breaks and/or outputs indecipherable reports, so we come and read the tea leaves for you.
What's funny to me is the whole babe-in-the-woods attitude of the whole article, like somehow these are new problems and that this paper isn't describing the day job of thousands of product managers and sales engineers at mid-size software companies around the globe.
In support of the article, it is well-written and comprehensive - the author sure seems like he found just about every single problem out there.
posted by GuyZero at 2:19 PM on February 9, 2010