News for hackers. Stuff that matters.
Re:Still running strong after 1,532 days without a code change. by DanielBMarkham on Friday July 13, 2012 @09:08AM (#4239636)
The first contract program I wrote was when I was 17 years old. I was working at a service station changing oil. Some guy comes through who wants to stand around while I do the work (it happens) so we struck up a conversation.

Turns out he was a bookkeeper and had just purchased an Apple IIe and wanted to use it for his clients. I knew nothing about accounting, he knew nothing about computers, so it seemed like a good match :)

Four weeks of spending free afternoons at his shop, and it was ready to go. He was happy and I had 200 bucks in my pocket. Life was good.

Almost 20 years later, I get a call from him. He says the program isn't working so well and he wants to upgrade. I'm like WTF? Does anybody in the universe still even have a working Apple II anymore? Why would he keep using something like that for 20 years?

He told me that as computers modernized, it became a bit of a status symbol to have an older-looking system spewing out reams of reports. His customers, who were mostly small construction companies and such, got the feeling of stability and security from something that was unchanged.

It is a very strange feeling to get a call about code you wrote a long, long time ago. If I would have had any sense, I would have realized from the experience that programming is normally an extremely tiny part of actually making a business work. But it took me many more years to figure that one out.

Re:Still running strong after 1,532 days without a code change. by untog on Friday July 13, 2012 @09:37AM (#4239720)
I have a similar story. Fresh out of college (in a non-computing related discipline) I went to work as a temp for a gas pipelining company. Their data entry system was obscenely awful- an Access database that was used like an Excel spreadsheet- entering in the same data over and over again in different forms. So, I optimised it. Added some forms. Made report templates that printed out automatically. Eventually I stretched the limits of Access and turned it into a full VB.NET (shudder) application. I tried to get the IT department involved but they refused to have anything to do with it- I couldn't even install Visual Studio Express because I didn't have admin rights on my machine- I had to use SharpDevelop.

All this happened while I was still an "administrative assistant" on a temp wage. After a time, I left- it was time, and in any case they'd said that my work was going to be replaced by an integrated SAP solution that would span the entire company's workflow. I moved on, got a much better job and have been programming off the back of that original job ever since.

This was in 2006. I spoke to a former co-worker for the first time in years about six months ago, who told me to my jaw dropping surprise that they were still running my application. Aside from anything else, I was blown away that the thing still worked. There's a certain morbid curiosity that makes me want to look at the code I wrote back then, I'm sure I would cringe. But hey, it's still going.

Re:Still running strong after 1,532 days without a code change. by Flow on Friday July 13, 2012 @10:22AM (#4239913)
There's nothing as permanent as a temporary solution. :-D
Re:Still running strong after 1,532 days without a code change. by dneb7 on Friday July 13, 2012 @11:53AM (#4240317)
This is one of the biggest things I'm grateful my mentor drilled into me: Never make a quick and dirty solution that anyone else (especially management!) sees -- it will become the final solution.
Re:Still running strong after 1,532 days without a code change. by erikb on Friday July 13, 2012 @08:05PM (#4242573)
You know, the great thing about learning is that everything you learn turns out wrong. And after that the next thing will be that you learn that it's wrong that it's wrong. And so on.

So guess what, you will probably learn next that quick and dirty is an amazing thing. Sometimes the morbid, buggy stuff is exactly what's needed and a well designed solution wouldn't scale to it's task or wouldn't be used because it's so clean.

Re:Still running strong after 1,532 days without a code change. by cpeterso on Friday July 13, 2012 @02:01PM (#4240958)
Stewart Brand's book How Buildings Learn: What Happens After They're Built has a great chapter on MIT's Building 20.

> Building 20 was a temporary wooden structure hastily erected during World War II on the central campus of the Massachusetts Institute of Technology. Radiation Laboratory member said, "At one time, more than 20 percent of the physicists in the United States (including nine Nobel Prize winners) had worked in that building".

> Due to Building 20's origins as a temporary structure, researchers and other occupants felt free to modify their environment at will. As described by MIT professor Paul Penfield, "Its 'temporary nature' permitted its occupants to abuse it in ways that would not be tolerated in a permanent building. If you wanted to run a wire from one lab to another, you didn't ask anybody's permission — you just got out a screwdriver and poked a hole through the wall".

http://www.usablebuildings.co.uk/Pages/Unprotected/MITBldg20...

https://en.wikipedia.org/wiki/Building_20

Re:Still running strong after 1,532 days without a code change. by SonicSoul on Friday July 13, 2012 @10:27PM (#4242885)
this building gets mentioned in a lot of management books and "where good ideas come from" to illustrate a good collaborative environment. it has been replicated by quite a few places with various degrees of success. its main function is that there are no permanent work places so that people are forced to collaborate. This has not always worked out well.

could it be that MIT happened to have a lot of smart people and they created good things while working in building 2.0, and they would have created just as many great things if they worked in another building?

maybe im just extra skeptical because im currently reading "Fooled by Randomness" :)

Re:Still running strong after 1,532 days without a code change. by gruseom on Saturday July 14, 2012 @01:29AM (#4243241)
It's quite possible that the building was special and did have an effect that was lost when people tried to replicate it. Trying to replicate things is usually a losing game.

For example, I bet they didn't replicate its temporariness or the fact that you could make holes in it.

Re:Still running strong after 1,532 days without a code change. by cpeterso on Saturday July 14, 2012 @12:41AM (#4243148)
Good point. It can be easy to conflate cause, effect, and coincidence.

The lesson I take from the story is that the smart people had extreme freedom to pursue their research. I don't think a university can just create a dumpy building and hope to produce some Nobel prizes. <:)

Re:Still running strong after 1,532 days without a code change. by ams6110 on Saturday July 14, 2012 @12:28PM (#4244599)
This story (and others on this page) should drive home the point about how little most businesses really care about technology. If it solves a problem, they do not care about the hardware, programming language, database, user interface, etc. Look how many business applications still use character-mode interfaces (most banking, insurance, stock/inventory systems, etc). Why? They work.
Re:Still running strong after 1,532 days without a code change. by IanMechura on Saturday July 14, 2012 @12:39PM (#4244635)
This is exactly how I got my start in software. I was hired to walk a warehouse at a furniture retailer and take inventory with pencil and paper. At this time I had 0 computer experience.

Soon I was voluntarily transferring the paper to spreadsheets and printing them out. Next was a starbase db with a simple form on a laptop.

A year later I had built a custom system with a mysql database, barcode scanners at the arrival and departure gates and automatic email reports to the owner.

It is because of this that I was able to get to move on to another company to be hired as a software developer without a college degree.

Re:Still running strong after 1,532 days without a code change. by drumdance on Saturday July 14, 2012 @01:54PM (#4244867)
Ditto. I did some temp work for a Big Dumb Company that was trying to manage compensation on a gigantic Borland Quattro Pro spreadsheet. I sold them on converting it to Paradox, bought a book on programming in Paradox and haven't looked back since.
Re:Still running strong after 1,532 days without a code change. by mcherm on Friday July 13, 2012 @10:37AM (#4239976)
I urge you to get a look at the code and see just HOW cringeworthy it is. For science!
Re:Still running strong after 1,532 days without a code change. by untog on Friday July 13, 2012 @10:52AM (#4240038)
Ha, well it was written in VB.NET, so that alone ought to make me cringe. And I was building on my existing knowledge of VBA, so...

Apparently a few years ago they had a minor panic because they realised they had no idea where the database was actually stored. I'd gotten some MSSQL space from the (outsourced) DB guys- the guy who gave me the space had also, of course, left. Fun times...

Re:Still running strong after 1,532 days without a code change. by SonicSoul on Friday July 13, 2012 @10:46PM (#4242921)
i've seen some great software built in vb.net including a real time trading platforms capable of near high frequency execution speeds connected to 10 exchanges simultaneously.

i personally don't care for vb.net because of its notation, but i don't think it's THAT bad. you're making it sound like it was written in vb6

Re:Still running strong after 1,532 days without a code change. by GoodIntentions on Saturday July 14, 2012 @09:56AM (#4244149)
I wrote a manufacturing pull system in VB 6.0 + Access for the application database. That was all they had to work with there ( or more correctly all they wanted to work with.. ) It handled a stupid number of queries per month and was very reliable.

It's important to have good tools, but a robust design beats all imho.

Re:Still running strong after 1,532 days without a code change. by billforsternz on Friday July 13, 2012 @08:24PM (#4242619)
Loved your story. And because it's what we do here, I'll mention my best similar war story. I created a bowling alley scoring system in, I think, 1990. It was basically an embedded system, using commodity PCs (one PC per two lanes) networked together with a master PC running another one of my programs as a check-in and control console.

I used Turbo C V2 I think it was, with my own home rolled DOS windowing library of the kind that was ubiquitous at the time. Basically it was a smell-of-an-oily-rag development for a friend of mine who had taken over a near derelict 20 lane bowling alley and was upgrading it from "manual" scoring to "computer" scoring but couldn't afford a 100K "automatic" scoring system from Brunswick or the other big player (can't remember their name).

Anyway, it was a successful and fun project, but after 8 years or so the bowling alley was gutted by fire. Years later I was travelling through a small provincial town and saw a 10 pin bowling alley. Something told me to stop the car and go in. What do you know, there was my whole system, lanes plus controller, running a small 8 lane setup. Talking to the guy (potentially a mistake, what if he wanted after sales service :- ) it transpired he'd bought the equipment in the (literal) fire sale and figured out how to hook up the network and get it all going. He'd even split it in two and got it running another system in another nearby town. I was seriously impressed that he'd managed that actually.

Re:Still running strong after 1,532 days without a code change. by tjic on Saturday July 14, 2012 @11:55AM (#4244486)
> Something told me to stop the car and go in.

I am a rationalist and have no truck in telepathy, crystals, or other such related craziness. Coincidence and the law of large numbers explains everything.

...but once in a blue moon I hear a story like this and do have a niggling thought: maybe the universe is much deeper and weirder than we think. And/or the grad students who are running the simulation we all exist in like to play tricks on us from time to time. ;-)

Re:Still running strong after 1,532 days without a code change. by billforsternz on Sunday July 15, 2012 @04:04AM (#4246477)
I am also a rationalist and similarly have no truck etc. But this was a rather weird experience, in the sense that I clearly remember some inkling that I should check out this bowling alley, for some unexplained reason. And no, I have no particular interest in bowling and would not normally go near a bowling alley.
Re:Still running strong after 1,532 days without a code change. by dllthomas on Saturday July 14, 2012 @01:12PM (#4244716)
Law of large numbers.

We also don't know how many other bowling alleys he's gone into - he presumably likes bowling.

Re:Still running strong after 1,532 days without a code change. by billforsternz on Sunday July 15, 2012 @04:06AM (#4246479)
I don't disagree with you, but I would note that I don't really like bowling as such (I rolled a few games when I was working on the system, but never really got any good or enjoyed it that much). So no, I don't make a habit of going into bowling alleys.
Re:Still running strong after 1,532 days without a code change. by btilly on Friday July 13, 2012 @12:54PM (#4240596)
I know someone who went to work for a small company in the early 70s and among other things wrote a cron job in PL/1.

She came back to the same company 30 years later in a much more senior position. And out of curiosity checked to see if any of her old code was still there. She found that cron job she had written in a language that she no longer knew and found that it had never been touched. She asked why not, and was told it never broke.

Unfortunately that company imploded in the mortgage crisis, so her code is probably no longer running.

Re:Still running strong after 1,532 days without a code change. by trafficlight on Saturday July 14, 2012 @01:25AM (#4243231)
That's gotta be a good feeling. Knowing something you wrote has worked flawlessly for 3 decades, even if it is something trivial.
Re:Still running strong after 1,532 days without a code change. by ajuc on Friday July 13, 2012 @09:26AM (#4239681)
My uncle works at helicopter factory nearby as technician, part of his job is to maintain old database that keep temperature readings from meters inside some oven for making plastic parts (hull, etc).

The system works on old PC with MS-DOS, and database is in clipper. I think the system works for at least 15 years already.

Re:Still running strong after 1,532 days without a code change. by lifeisstillgood on Friday July 13, 2012 @11:11AM (#4240111)
Actually the lesson to learn is charge monthly subscriptions.

Actually that's a little unfair. The thing is these are businesses where (presumably) vital parts are left to fester. I presume because the management 'dont get it', but every business has these corner cases, and odd parts. I think the foolishness of ERP was ever daring to dream it could be solved monolithically.

THe future surely is a form of SOA where some guy in accounting can write a crappy service, authenticate it globally and plug it into the enterprise directory system.

But this really assumes everyone working will be able to program. Just like we assume everyone at work can read.

Re:Still running strong after 1,532 days without a code change. by perfunctory on Friday July 13, 2012 @09:23AM (#4239675)
Stories like these make me think that the whole software industry is a huge conspiracy theory :)

Thanks for sharing

Re:Still running strong after 1,532 days without a code change. by philjones88 on Saturday July 14, 2012 @05:32AM (#4243674)
My story:

Whilst on a university placement doing some web coding and databases work, the guy in the office next to me was having real problems with his website.

Being curious, I asked for the URL and took a look. A classic ASP and Access database powered website that was probably held together by bubblegum. He had outsourced the work to a Chinese company because they were cheaper than UK based companies (important point for later). The site was full of every web security hole known. Mainly lots and lots of SQL injection holes. He asked if I could fix the pile of garbage and I honestly couldn't, I don't like rewriting but when its an old (this was 3 years ago) tech with no English comments and their code quality zero, copy pasting everything.

So in the evenings and weekends for a month I rewrote it to ASP.NET MVC (1.0, latest at the time) and SQL Server. I got him to select a template off Themeforest for $15 that I reworked slightly (and badly, I'm not a designer).

He is happy, I am happy with £500 for my work. I finish my placement and go back to university but came back to my placement for another year to do a startup idea. He had moved offices and we have very little contact.

After finishing university and 2 years later, I join a "Soul Destroying Corp" (not the one you are thinking of) and decide that isn't what I want to do with my life, so I setup my business and tell him that I'm now doing my own thing and looking for clients.

Turns out my weekend/evening £500 website generated him around £500,000+ in revenue (not profit) and his business grew from just him to 5 people. All his sales leads came through the website.

From September last year till now, I have rewritten it and we are automating more of his "manual" (lots of Word, Excel and paper) to be totally automated or a few mouse clicks.

Wow, when I think back, that website was terrible but it worked well for 2 years and grew his business. Huge ROI for him but now he is paying me back by hiring me to rewrite/automate more of his business.

Re:Still running strong after 1,532 days without a code change. by kds on Friday July 13, 2012 @09:43AM (#4239746)
How did he manage to find you after 20 years?
Re:Still running strong after 1,532 days without a code change. by dangrossman on Friday July 13, 2012 @10:15AM (#4239872)
Phone number portability.
Re:Still running strong after 1,532 days without a code change. by troels on Friday July 13, 2012 @11:38AM (#4240262)
Looked up his name in the phone book, I assume.
Re:Still running strong after 1,532 days without a code change. by motoford on Friday July 13, 2012 @09:32AM (#4239706)
Upvote for the story and for the last paragraph realization. Unfortunately many in our industry still don't understand that.
Re:Still running strong after 1,532 days without a code change. by dasil003 on Friday July 13, 2012 @10:12AM (#4239862)
Your story immediately conjured up an image of Steve Martin in The Jerk.
Re:Still running strong after 1,532 days without a code change. by ryandetzel on Friday July 13, 2012 @09:28AM (#4239687)
Wow...
Re:Still running strong after 1,532 days without a code change. by scottmagdalein on Friday July 13, 2012 @09:23AM (#4239673)
one-up
Re:Still running strong after 1,532 days without a code change. by scottmagdalein on Friday July 13, 2012 @11:02PM (#4242964)
This was a joke. :(