- 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
"He hadn't put it into source control yet because it wasn't quite ready"
It should have at least been in a branch somewhere
Admin
Yes we actually do have a wildcard somewhere, saying "cc *.c"? Gnu MAKE has "suffix rules" that compile all *.c using GCC, all *.cpp as GCC C++ mode, etc. See the ".SUFFIX" Gnu MAKE directive.
Large projects are very hard to manage without suffix rules. It's unreasonable to add exact filenames for every C, C++, or Fortran source file to the makefile. Even medium projects have 20 or more source files.
Computer Science departments really need to add a a course on builds & source control!
Admin
Admin
Um, you guys are all wrong, in the last paragraph of the article this one links to it says
So it isn't a wtf that he didn't check it in, or create backups, he didn't have permission.
Admin
Actually, we have projects just like this. A number of directories are compiled with wildcards. We just put files that aren't ready for compilation into different directories. It's easier than maintaining a list of literally thousands of files in a makefile, it's easy to understand, and it works just fine.
Admin
Microsoft is surely horrible, but certainly not stupid.
Admin
Now, see, I don't understand that attitude. "Hey, let's replace this massive, complex system which everyone is afraid to alter because it might break with a new system running on my favorite operating system." Yeah, because nobody is going to blame the inevitable failures of the replacement system on the OS, thus tainting that OS forever in the minds of more or less the entire company. That never happens.
Admin
C-C-C-C-COMBO BREAKER!
Admin
The gloriousness of the Cascades are horrible and stupid!!!!1!!!
Admin
The answer depends on whether there's a solar eclipse and how many opossums are on board.
Admin
Please just calm down.
Admin
The real WTF is the idiot not putting the code into source control after working on it for a month.
Admin
Well, Ken should be fired, and Jared needs to get the folks at CollaboSmart to use Accurev. If Jared had used Accurev while at Initrode, he could have just 'kept' the file in his private workspace. The file would be safely tucked away in Accurev, even though it was not ready to be shared. Only when Jared or the bone-headed Ken got the script working properly would he then 'promote' the file and make it available to others. Fear of unstable code is virtually eliminated in Accurev because of private developer workspaces and the Keep command.
Admin
uh... no
-Harrow.
Admin
Your mom is... actually quite nice and intelligent. I enjoyed the time I spent banging her last night immensely. Say "Hi" for me next time you see her.
Admin
Fine. If you can't use imake, and you just have to use wildcards instead of real dependencies, then you must use branches or some equivalent in your source code control system, to prevent every file, no matter where, from being part of the build, right?
Well, that's one way.
Admin
All the people involved in this story are horrible and stupid. Anyone who runs a company or a system or their life like this is doing it wrong.
Admin
No, what you're done is identify the Real WTF(TM). :P
Sorry, couldn't resist!
Admin
A woman always has the last word. Anything a man says after that is the beginning of a new fight.
Admin
Admin
Admin
And this, my friends, is how everyone contributed to the Universe so it is the way it is today...which, of course, is why it is HORRIBLE AND STUPID!! (Calming down, calming down...)
Admin
I had a friend who stayed behind, just like Stephen, but he felt it was my duty to consult - as he was in charge of the application after I left. For about 2 months, I fielded 3 calls from my friend for assistance. Eventually (I felt he'd used up all his friend points), I suggested to him that maybe the company needed to hire me as a temporary consultant in order for me to fix these problems. He got the point.
and now I've forgotten why I wanted to add this story. Someone find a point in here somewhere.
Admin
Production branch? What's a branch?
Admin
The true WTF is that nobody yet has commented that Java is horrible and stupid, and so is anyone who uses (let alone loves) it.
Are all Java haters on an outdoor trip away from civilization?
Admin
Admin
Admin
Admin
Happy to oblige :)
The point: Friends don't drag friends back into shitty jobs that they have elected to leave.
As an amusing semi-related anecdote of my own, I once worked at a place where people were being let go due to cash-flow problems (and the execs tried to martyr themselves by claiming they were shielding the rest of us and taking a pay cut), the inevitable exodus began. I got wind of the company's dire situation regarding a massive outstanding tax debt and the fact that they had not paid into any employees' pensions for the previous 12+ months (required by law in that country), and that was it... I had a brief discussion with a few of my colleagues and packed it on the spot.
As I was one of the last senior developers left, the execs made a desperate bid to keep me around by dangling a very large lump-sum carrot and offering to pay me as a consultant for further work (neither of which they could actually afford to do)... I was so torn between just laughing myself into a coma at the absurdity of their obvious bluffing and launching into a fiery tirade telling just how I felt about being lied to that I just coldly refused, and asked them never to contact me again.
Of course, they did contact me again not 2 weeks later to see if I had changed my mind and ask me for help on a problem they were having... funnily enough, I didn't feel like helping them.
Admin
Admin
Am I the only person in the world who insists on working in his own branch?
Admin
Admin
At least Jared had the decency to be embarrassed about not putting the script into source control.
Suffix rules are not build wildcards. The corresponding .o still has to be depended upon by one or more targets for a suffix rule to trigger (I'm speaking of a typical C or C++ project).Just putting a "foo.c" in a source directory will not cause it to compile into "foo.o" unless something else depends on foo.o or unless it's explicitly built with something like "make foo.o".
Of course this is all an unrelated tangent since the story is talking about a script, which most likely wasn't built at all.
Admin
Eva was implementing Chris' interface to inherit portions of Chris' code so that child process can use polymorphism to look like both of them.
How's that for being an uber geek.
Admin
20 files? I've dealt with programs with 100s of files, and we added each one. The trick is you break your code up into directories, and each directory has its own makefile. Then the directories only need to be added to the global makefile. The idea of compiling everything of a given type is absolutely asinine. A piece of code should only be compiled when its ready to be part of the project- when a human adds it to the makefile. Anyone who thinks compiling *.cpp is a good idea should never be allowed to touch a build system again.
Admin
Admin
Admin
Most folks don't always find it necessary to give all the details, history, context and modifying factors with every statement they make. That kind of stuff is generally implicit in the statement and understood by the listener/reader. Otherwise, every sentence would become a book.
Admin
[quote user="Andrew]Computer Science departments really need to add a a course on builds & source control![/quote]
I'm not going to disagree that source control is important, but it hardly falls under "Computer Science". A CS degree doesn't (and shouldn't) mean someone knows how to program - aren't there technical schools for that?
Where I'm from, CS == theory.
Admin
Every single Universe in the Multiverse is horrible and stupid, except one.
But this isn't it.
Admin
Clicking Reply when you meant to click Quote is horrible and stupid.
Admin
Admin
There's no "right" or "wrong" way of doing this...
Source control is one of the many tools you use, and you use it in such a way that fits your development strategy.
If you're on the kind of team/project that doesn't try to integrate everything until it's all "ready" to go, then not adding things to the build but shoving it in source control anyway is fine.
If you take the approach of developing in parallel with your teammates or in parallel with other teams, you can get shit done a whole lot faster if you write skeleton code, put some preprocessor warning directives in, and THEN check in, as it will compile and exposes interfaces for the other developers/teams to use, so that integration isn't its own step in the process.
I may absolutely hate that first philosophy, but that doesn't make it "wrong."
Admin
Admin
Admin
Admin
Right; I too find the practice of keeping a code for a month without submitting and/or backing it up extremely horrible and stupid. By the way, the guy could have lost it without the help of others, just as a result of disk crash.
Admin
Admin
I constantly have to fight with developers about putting unfinished work into a source control system. It's needed for at least the following reasons:
Development history is lost. The reason for changes is never recorded. Code you decided you no longer needed is permanently lost.
It is impossible for managers to keep track of what you are doing. If the developing code isn't what they wanted, they won't be able to tell you until you've wasted days.
If you die or your hard drive crashes, your work may never be found.
Commit notices keep people informed of what you're doing and what issues you are running into. No commit notices makes it impossible to know how you're spending your time.
The arguments presented against doing so are bogus. You can create a branch or a private development repository. You can add special code to keep the program from running unless it's on your machine, or whatever is needed.
Admin
How can anyone say Windows is "A Horrible and Stupid System"? I mean, everyone knows Windows is the best system ever writte
*** STOP: 0x00000050 (0x37DFEF3D, 0x00000001, 0x42FE1256, 0x00000000)
*** SPCDMCON.SYS (Address FB3DE7E5 base at FBFE5000 Datestamp 3dd37cd3