- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
<FONT style="BACKGROUND-COLOR: #fffbf0">Are you suggesting that black boxes migrate? Perhaps they are the chaos from which all other code emerges. They take no imput and generate no output? I write imaginary code sometimes as well.</FONT>
Admin
Mulder: I'm telling you, the source-code is out there, on a recycled-PC - it was responsible for these... COM objects.
Scully: There is no such thing as source-code. Look at the evidence. All we've found are these COM objects. All our investigations turn up nothing but COM objects. Ever heard of Occam's Razor? Use the simplest explanation that fits the facts. To explain the evidence, there is absolutely no reason to invent fictitious PC's which hold imaginary text files to create these COM objects. Make the theory fit the facts, not the other way around.
Mulder: You just don't believe... in CVS
Scully: there you go again, inventing even more crazy theories to bolster your pipe dream of finding not just source code, but entire repositories of it.
Admin
...this would have been a large help in understanding what it was I was rambling about....
Admin
Was this a requirement or a question on a self review? Because there can't possibly be two places that actually had that can there?
Tolerance of Ambiguity (Rate yourself from 1-5). I gave myself both a 1 and 5 and wrote that the question was too ambigious.
Admin
Quantum Source Code. It's simultaneously working and not working, available and missing, until you try to actually feed it any input or use any of it's output. Unlike regular quantum mechanics, quantum source code has a severe bias towards not working and not available.
Admin
You are, sadly, quite correct.
Admin
I think that would have been a violation of security protocol
Admin
I would actually tend to deem this as being quite possible. It is my understanding that doing something like this would help to reduce the file size on the disk.
Admin
And for the slightly dyslexic: community service volunteers.
Admin
I would have called this pattern Throwing Out the Black Box with the Bathwater.
I've done maintenance on source obtained from decompilers any number of times. Unix masters don't have these things?
Admin
Usual subjects:
- PDF manuals with lost source
- Company logo withouth SVG file
- Flash withouth fla
- Moron php dev that cypher his code
- etc..
Fun fact:
Most games source code is lost.
Admin
On the other hand I like challenges and would be happy if you forward those to me :) Everything has a prise, you know... even puzzles like what you're describing.... besides I've seen such nightmares, I doubt something in the IT world may scare me again...
Admin
It's explained by the lesser known VonNeumann Uncertainty Principle: You can either know where source code is or you can know how it works but you can't know both at once.
Admin
I especially love the fact that the original task was to get the Compliance Data. So they could prove how compliant they were to their stringent engineering discipline standards...
Admin
It's worse than that. I understand CVS is open source, they give away thier source & milk (and beer) for free!
Admin
Maybe the swallows carry them.
Admin
One of our projects frequently deals with CSV (comma delimited) files, and uses CVS version control. Every once in a while, I start trying to "CSV commit" my code.
Admin
Ok was wondering why some people keep typing at command prompt stuff like this when you may automate it using a script or use some GUI - for CVS you have lot of options... or especially for your case there isn't.
Some time ago we created our own program to commit the code, notify the test server about it so it can update and re-compile it there. A simple config file (xml of course) on the server and another on the developer's machine and it was so damn easy to use... The efforts to write this small piece of code paid off in time especially when we were under pressure to quickly fix bugs & test them.
Admin
Wasn't this a sidebar story some months back?
Admin
In the days of DOS, one could accomplish this by using delete and undelete.
captcha = java
Admin
The problem was one of identifying the binary. They knew the speed so exactly that they lost track of the location.
Admin
<FONT face=Tahoma>The source code was not lost but burned. You see, Galileo was imprisoned because his writings contradict what Roman churches were teaching... Keep 'em all in your head... :P
<FONT style="BACKGROUND-COLOR: #ffffff" color=#ffffff>And don't try to hide them, they'll still be found sooner or later...
</FONT></FONT>
Admin
must depend on the worth of the code :)
Maybe we wont put scrap in a locker.
Admin
brilliant.
Admin
oh man.....
Admin
Yep. And it's called FileNotFound
Admin
http://www.acronymfinder.com/af-query.asp?acronym=CVS&string=exact&s=a
Admin
Surely 'Flame' should be used as part of a testing strategy for Web Services? For each request, the WS should reply with a derogatory comment about the request parameters or the users mother.
'Engulf' could be used by this WTF's company to handle logging. A simple 'logger.engulf("important message")' will ensure that such important logs are immediately lost and unrecoverable.
Admin
Of course, insulting the Pope's mistress probably had something to do with it as well.
Admin
Does this mean that you were the person behind this post?
Admin
When my current company was fledgling, the lead programmer refused to add his projects to VSS, despite that the other programmers did. Yes, he refused. I kid you not. Although he left before I arrived, the story must be true as I was the one who put the source into VSS.
Admin
Would this not have been easier using a cvs postcommit script?
Set up a "build" user on the cvs server, with key-based ssh to the build server, then kick off something like this:
<font face="Courier New">ssh build@buildserver build.sh</font>
Just asking, like.
Simon
Admin
I bet the reason that there's no source code or documentation is because of some lame company wide security audit.
PHB: So what's this 'source code' stuff here about then?
Dev: It's what our software is made of.
PHB: So how does that work?
Dev: Well we download it all to our computers and we can make a complete copy of our software from it.
PHB: So... if our competitors were to get ahold of it what would happen?
Dev: Well they could do the same thing.
PHB:...... OMG WTF LOL BBQ!!!! You must delete it all. Delete it all right now!!!
Dev: Errr, I don't think that's a smart ide...
PHB: ARE YOU A SPY OR SOMETHING?? Delete it before they steal it and put us out of business!
Dev: Well we need it to make our software!
PHB: But don't we already have a working copy of our software?
Dev: Yes, but....
PHB: Then we don't need it! Delete it all now or you're fired. And don't make any more of it!
(later)
PHB: What's this 'documentation' stuff all about?
Dev2: It documents our systems, so by reading it we can tell how everything works. We've worked really hard on it, and something went wrong with our source control, it'd be easy for us to figure it all out, and reproduce any part of the system quickly and easily.
PHB: .............................<font color="#ff0000"><font size="4">DELETE IT!!!!</font></font>
Admin
This can be a workaround for the problem:
compress your src into a zip file
zip src/* src.zip
then concate the exe/dll file with the zip file:
copy my.exe+src.zip resultingfile.exe
The side effect is.. now you need a time machine to do this. But maybe theres one cheap in eBay.
--Tei
note: untested idea
captcha: pacman <--humm ..what you mean?
Admin
This reminds me of a story I once heard about a company that lost a major part of its project documentation, because someone thought it would be a good idea to file it in some conveniently available cardboard boxes labeled "trash".
Admin
Is this the old "ICE" project Steve?
Admin
I don't understand, how can source code suddenly "not be available"?
Admin
Yes, but given some of the other posts, I never figured Alex would post this one on the front page...
Admin
Yes it does - never figured it would make the front page (not sure whether to be happy or sad)
Admin
No - an entirely different project at another company
Admin
Apparently the COM object was stable, and running quietly, so nobody noticed that nothing had ever been put into source control, *until* they needed to add some functionality. It wasn't my project - I just got called in to help them figure out a way to get out from under.
Admin
Actually, if I were the lead programmer I would refuse to add my project to VSS as well. It's for a reason that VSS second name is "Visual Source UnSafe" [1, 2] - usually your source is less safe than a series of numbered backups on a CD or any other storage medium. Maybe that's the reason even Microsoft does not use it. Reportedly, things should be better with VSS 2005, but I'd rather keep my fingers far far away from that beast.
Now, if we're talking about a serious source control system (be it open source or commercial), that's a different story.
regards
fg
[1] http://www.highprogrammer.com/alan/windev/sourcesafe.html
[2] http://www.michaelbolton.net/testing/VSSDefects.html
Admin
And so, with only one bug left to fix, they decided I was no longer needed.
The code on the server is six months out of date, so I hope they didn't give my laptop to a secretary 8-D
Admin
http://en.wikipedia.org/wiki/Dyslexia
Admin
In one office that I worked at, some mining exploration guys put a bunch of their rolled-up maps in a handy container more commonly called a wastebasket. They put a note on it not to throw out the maps. The cleaning lady did not read English. After the debacle, they forbade wastebaskets in their area.
Sincerely,
Gene Wirchenko
Admin
You're joking right?
Aren't you aware that CVS has these handy little things called triggers that you can use to automagically start actions on the server?
And you wrote a whole application and force your devs to use that instead of their regular CVS client just to replicate triggers functionality?
Admin
With waste baskets banned, how did they throw out the waste baskets?
Admin
Thats a good question
Admin
X-Files, Season 10, episode 1, "evilincarnate.o":
Mulder and Scully discover remnants of a.out object files on a forgotten secret government data warehouse MicroVAX, apparently causing mysterious data-poltergeist phenomena on a Windows Vista Beta network on the other side of the world. Also, Mulder discovers another paranormal phenomenon: if you pile 4096 X-Files DVDs on top of a laptop, the screen gets damaged!
(Okay, the latter part is just an update of a really old joke to the DVD era.)
Admin
Wait a minute, are we talking about the source code TO the black box (i.e. instructions as to how to generate an identical black box), or some source code INSIDE the black box???
Oh, now I get it. They use a Black Box as their source-code control repository, INSTEAD of CVS! Small wonder they can't seem to retrieve their source code ever again...