Why MS is Not Opening More Source Code
mario_grgic writes "Apparently inappropriate code comments is one of the reasons according to this story.
I wonder what kind of things developers put in comments that would be so bad for the rest of us to see?"
/* Nothing for you to see here. Please move along. */
The force that blew the Big Bang continues to accelerate.
/* The word 'fuck' is here so you can grep for it */
-mkb
The Spoon
Updated 6/28/2011
// horribly insecure, but we had to meet a ship date...
500GB of disk, 5TB of transfer, $5.95/mo
/* Copyright © 2000 Apple Computer, Inc. All rights reserved. */
- Adam L. Beberg - The Cosm Project - http://www.mithral.com/
/* Taken from the Linux Kernel 2.6 DO NOT RELEASE UNDER ANY CIRCUMSTANCES, VIRAL GPL WILL HARM US */
/* No one from the Debian Project shall ever see the following, lest you want your head chopped off! */
/* These Samba guys figured it out, here's what they wrote */
In all reality though, it's probably littered with expletives, like the Win2000 source code leak was.
Without a proper flamewar, Anonymous was undecided on what shell to run.
Better yet: The word 'fuck' is here so you can graph for it.
/** * * This method will cause system to crash and *fustrate users * */ /**
*
* This section of code will steal personal
* information from users and give us blackmail
* ability
*
*/
what kind of things developers put in comments that would be so bad for the rest of us to see?"
// I don't know what this value is for, but it seems to stop the BSOD from appearing
Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
/* This code is licensced under the GPL. Please read * the license carefully. Enjoy. */
:) )
On the other this is impossible. I havent found any GPL code as bad as the MS code (Well of course I havn't looked at too many GPL programs and a single MS program
/* Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. */
/* It's our TCP/IP thingy. We're gonna patent it. We own the Internet and all it's (sic) protocols. Resistance is fu... is fut... is useless */
;-)
And a little further down...
Resistance is futile. Reactance buggers it up.
This sort of thing isn't that uncommon amongst coders, especially when they don't think the source is going to be seen by the public.
Lawrence Person (lawrencepersonh@gmailh.com (remove all "h"s to mail)
http://www.lawrenceperson.com/
Well, if ya look at the performance, it's pretty obviously not C.
My favorite from the Quake III source // what the fuck?
i = 0x5f3759df - ( i >> 1 );
http://www.google.com/search?safe=on&q=Office+97+e aster+eggs
10 rem this will screw those linux a***oles 20 print "copyright Microsoft 1982-2004" 30 goto 12000 40 rem stolen mac parts 50 for x= 1 to 100000 next 1 60 pause 1000 . . . 1200 goto 40
Seems Netscape had the same attitude before releasing the future Mozilla code in 1998: http://www.jwz.org/doc/censorzilla.html
I had the exact same thought when I read the summary.
:D
A few years ago I was hired to do web application development because of my skills in one language, but I was hired to write in another. So, since I began doing for-production work in a matter of days, I had a lot of simple errors.
I used to step through my code by placing either "Fuck yeah!" or "Shit's broke" inside and outside of different condition statements.
Then one day some idiot on the team decided it would be a good idea to randomly show the clients my incomplete, not live code for whoknowswhy, and in the middle of the page at random was "SHIT!"
Been trying hard to break that habit since
-----
jonathan barket
Two projects I worked on had to deal with 'inappropriate comments':
The first was when a reference to Black Sabbath (a music band) was in some comments. Normally, source is not given to customers, but in this case, it was a shell script, so it did go to customers.
Those who asked for that change were from the useability group. The guy who had to fix it was the archtypical anti-social nerd, but had a strange sense of humor. He entered an issue in the bug/change tracking system saying something like 'change Black Sabbath comment as per customer request'. The irony is, source had the CVS $Log$ tag, which caused all the fix comments of CVS to be in the source [no matter that I thought it was a bad idea, and that 'cvs log ....' would get you the same info, a manager said "this is the standard here"], so the issue description got into the log comments, and Black Sabbath was there again! Ha!
In another case, we had a product that relied on an open source but commerical product. That product was developed by nerds who used programmers' humor all over the help pages, ...etc. The customer was upset by the use of 'conversational English' in the documentation. We had to get someone from the technical writing team to rewrite those pages! Nevermind that the product was geared towards sysadmins and techies! Sigh.
2bits.com, Inc: Drupal, WordPress, and LAMP performance tuning.
Jamie Zawinski has a list of rude words which had to be removed from the Netscape client code before it could be open-sourced. Microsoft's probably looks a bit like this.
http://www.jwz.org/doc/censorzilla.html
I do not represent myself.
Been trying hard to break that habit since :D
;)
I hope you mean breaking that idiot of the habit of showing clients random and incomplete code
I _do_ recall when a particular demo for a big client was going well, I was actually calming down (big mistake), etc. A weird path through the code was taken and what do I see?
***Eat my flaming cock, you hairy scrap of shit clinging to the ass of a decent developer, You should never have hit this exception. Please eat the stack trace, curl up, have massive convusions, and beg me for your life. Bring.a bottle of good scotch. -grs#***
Printed in big, red letters on the app. (We have custom error handling, if that wasn't clear.) Note, this is in front of the investors who were financing the company I was working for.
Learning how to sell that to an SVP and MajorCorp client is only the sort of thing you can learn on your feet. I never want to do it again, but it did, um, learn me real good. And I'm not sure what I did, or why they believed me.
-Coward, guess why.
#Initials changed to protect the guilty. Not like it matters too much now, but the fuckup, the boss and me all read this. Live and learn.
An interesting tidbit, Viaweb (now Y! Store) used to have a program called storef*cker :)
Must have been a b*tch to invoke from the command line, with an asterisk in the name and all.
You know no hell until you use the goatse site as a test url in development and forget to take it out when the code goes live, and a user and then your boss find out before you do.
/* I hope nobody finds those Tiger Beat photos... */
Warning: Could be fatal if taken seriously
This is, of course, how it should be. Everybody knows that no successful author has ever read a book.
Obviously not enuff UKian developers.
This article investigating dubious comments appeared shortly after the Win2k source code was leaked.