Tech Support > Operating Systems > Leaked code FAQ -- potty-mouths in Redmond
Leaked code FAQ -- potty-mouths in Redmond
Posted by John on February 13th, 2004


http://news.bbc.co.uk/2/hi/technology/3485545.stm

Buried in the article is this:

"Fourthly, for Microsoft to have this code paraded in public
is hugely embarrassing. Not least because the code is littered
with profanity and might show that many Microsoft programmers do
not do a very good job.

"In the past independent programmers that have deconstructed other
Microsoft applications have been shocked at what they found within
the code. Rivals and critics will be able to see exactly how
Microsoft staff do their work."

--
Never hitch your future to just one wagon because you can't tell which one
will go off a cliff.

Posted by Mark Allen Adams, Jr. on February 13th, 2004






WARNING: Foul language ahead. Young children, women who are pregnant or
nursing, and anyone with a heart condition should discontinue reading here.





You still with me? Okay, then. To be totally fair, Linux isn't that clean.
Allow me to illustrate, using Fedora Core:
$ cd /usr/src/linux-2.4
$ grep grep -R fuck .

../Documentation/DocBook/kernel-locking.tmpl:
If you don't see why, please stay the fuck away from my code.

../arch/mips/kernel/irixelf.c:
#if 0 /* XXX No fucking way dude... */

../arch/mips/kernel/irixioctl.c:
* irixioctl.c: A fucking mess...

../arch/mips/sgi-ip22/ip22-setup.c:
/* Init the INDY HPC I/O controller. Need to call this before
* fucking with the memory controller because it needs to know the
* boardID and whether this is a Guiness or a FullHouse machine.

../arch/ppc/kernel/ppc405_pci.c:
/* We prevent us from seeing ourselves to avoid having
* the kernel try to remap our BAR #1 and fuck up bus
* master from external PCI devices

../arch/sparc/kernel/process.c:
/* fuck me plenty */

../arch/sparc/kernel/sunos_ioctl.c:
/* Binary compatibility is good American knowhow fuckin' up. */

../arch/sparc64/kernel/traps.c:
/* Why the fuck did they have to change this? */

../drivers/char/drm/drmP.h:
extern int DRM(release_fuck)(struct inode *inode, struct file
*filp);

../drivers/ide/pci/cmd640.c:
* These chips are basically fucked by design, and getting this driver
* to work on every motherboard design that uses this screwed chip seems
* bloody well impossible. However, we're still trying

../drivers/net/b44.c:
/* ??? What the fuck is the purpose of the interrupt mask

../drivers/net/sunhme.c:
/* Only Sun can take such nice parts and fuck up the programming interface
* like this. Good job guys...

--
mark allen adams, jr.
usenet (at) mark (hyphen) adams (dot) com
fix the e-mail address to reply
yeah, I started signing cola posts. just now.

Posted by Mark Allen Adams, Jr. on February 13th, 2004


I wrote:

Oops, hit the wrong button in KNode. Well, let's make it now.


Posted by Mark Allen Adams, Jr. on February 13th, 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I wrote:

Oops, hit the wrong button in KNode. Well, let's make it now.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFALUCenkcACrrIBtgRAljhAJoDJY6p2t5lOqp8jgvocj xJbV6MqQCcCF1a
8A2ri0vKRItRo+IXNpCoQV4=
=1Xz2
-----END PGP SIGNATURE-----

Posted by Philip Callan on February 13th, 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Allen Adams, Jr. wrote:

|> "Fourthly, for Microsoft to have this code paraded in public
|> is hugely embarrassing. Not least because the code is littered
|> with profanity and might show that many Microsoft programmers do
|> not do a very good job.
|
|
|
|
|
|
| WARNING: Foul language ahead. Young children, women who are pregnant or
| nursing, and anyone with a heart condition should discontinue reading
here.
|
|
|
|
|
| You still with me? Okay, then. To be totally fair, Linux isn't that
clean.
| Allow me to illustrate, using Fedora Core:
| $ cd /usr/src/linux-2.4
| $ grep grep -R fuck .
|

| ./arch/sparc/kernel/sunos_ioctl.c:
| /* Binary compatibility is good American knowhow fuckin' up. */

LOL!

| ./arch/sparc64/kernel/traps.c:
| /* Why the fuck did they have to change this? */

Damn, these are the comments I hate, if the change was commented, then
there wouldnt be these

| ./drivers/ide/pci/cmd640.c:
| * These chips are basically fucked by design,

Microsoft makes chipsets?

| ./drivers/net/sunhme.c:
| /* Only Sun can take such nice parts and fuck up the
programming interface
| * like this. Good job guys...

Ooooohh, I think with the MS code leak, they may have a valid reason for
changing THIS particular comment


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFALUMA5sKixANmEMgRAqpjAKDZsyni2mAtQlIFFCeIpb msyYpeQgCeLysB
ntUPJ1kqbIxxtDXlWlhzvYE=
=tXK1
-----END PGP SIGNATURE-----

Posted by Jan Knutar on February 13th, 2004


Mark Allen Adams, Jr. wrote:


Try grep the linux source for arsehole :-)


Posted by Paul Hovnanian P.E. on February 14th, 2004


Jan Knutar wrote:
Better yet, grep it for Finnish obscenities.

--
Paul Hovnanian mailto:Paul@Hovnanian.com
note to spammers: a Washington State resident
------------------------------------------------------------------
IRS: We've got what it takes to take what you've got.

Posted by Billy O'Connor on February 14th, 2004


Jan Knutar <shadowjksp@yahoo.se> writes:

And this after the big cleanup effort a while back. It used to be
*much* worse.


Posted by Eugene on February 14th, 2004


John wrote:

the comments except for the code that has no comments.


Posted by Jan Knutar on February 14th, 2004


Paul Hovnanian P.E. wrote:

Considering that Torvalds' first language is actually Swedish and not
Finnish, the prospect is slim. Even slimmer considering most programmers
write everything in english.

Indeed, I found no common swedish nor finnish profanity in the Linux
sources.

The closest thing would be the numerous times the word 'satan' is used. This
is in some 68060 specific asm files, which emulate certain op codes not
present in 68060 cpu's, but present in older cpu's. 'satan' in that
context, I guess, short for "signed atan", a mathematical function.

satan(): computes the arctangent of a normalized number
satand(): computes the arctangent of a denormalized number
satanh(): computes the inverse hyperbolic tangent of a norm input
satanhd(): computes the inverse hyperbolic tangent of a denorm input


Posted by Mark Kent on February 14th, 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eugene <nospam@columbus.rr.com> espoused:
I've seen some fairly ripe variable names in my time...

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFALdWG3fSltXWnWJARArugAJ9/1ZYMgSit4sUtDQxCnR/U53MwwwCeKmp4
veRCctfp5V5QucTj6Kx5XnU=
=zfwW
-----END PGP SIGNATURE-----

--
| Mark Kent -- Take out the ham to mail me. |
Keep Britain beautiful. Swallow your beer cans. On second thoughts, don't
drink McBeer which comes in cans - drink real beer.

Posted by John Bailo on February 14th, 2004


Jan Knutar wrote:


goddam reindeer eater

--
Kent Crazy B.V.

Posted by Ilari Liusvaara on February 15th, 2004


Datagram from Paul Hovnanian P.E. incoming on netlink socket
<402D772E.6F0B4E72@Hovnanian.com>. Dumping datagram.
Like what? I counld't find a single one.

-Ilari
--
You have chosen poorly. Now you suffer the consequences of your bad
decisions. -- Ilari Liusvaara
Linux LK_Perkele_IV9 2.4.23-selinux1 #2 Mon Jan 5 20:12:55 EET 2004 i686 unknown
3:51pm up 39 days, 19:27, 5 users, load average: 0.04, 0.21, 0.24

Posted by The Ghost In The Machine on February 18th, 2004


In comp.os.linux.advocacy, Jan Knutar
<shadowjksp@yahoo.se>
wrote
on Sat, 14 Feb 2004 06:55:40 +0200
<cbm0g1-8rb.ln1@breadbin.mine.nu>:
More likely 'single precision', but yeah, here's proof that
Linux is work of the devil. :-) ;-) :-)

And of course 'chmod 0666' is the number of the beast, or at
least one usage thereof. (OK, so it's in octal instead
of decimal. Minor point...)

It's certainly going to bedevil Microsoft...that's for sure.

--
#191, ewill3@earthlink.net
It's still legal to go .sigless.

Posted by spike1@freenet.co.uk on February 18th, 2004


The Ghost In The Machine <ewill@sirius.athghost7038suus.net> wrote:
Don't forget about those little daemons running on every linux box.


Posted by LEE Sau Dan on February 18th, 2004


The> And of course 'chmod 0666' is the number of the beast, or at
The> least one usage thereof.

I use "a=rw" instead. Learn to use {agou}([=-+]{rwxgou})* and you can
forget those cryptic numbers.


The> (OK, so it's in octal instead of decimal. Minor point...)

Who told you the original 666 was not decimal?


--
Lee Sau Dan +Z05biGVm-(Big5) ~{@nJX6X~}(HZ)

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee

Posted by spike1@freenet.co.uk on February 19th, 2004


LEE Sau Dan <danlee@informatik.uni-freiburg.de> wrote:

It is octal.
each level of permission is 3 bits (r,w,x) 0-7, therefore, octal.

Posted by LEE Sau Dan on February 19th, 2004


The> (OK, so it's in octal instead of decimal. Minor point...)

spike1> It is octal. each level of permission is 3 bits (r,w,x)
spike1> 0-7, therefore, octal.

I've got me wrong. I was asking why you assumed that *religious* 666
to be decimal?


--
Lee Sau Dan +Z05biGVm-(Big5) ~{@nJX6X~}(HZ)

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee

Posted by spike1@freenet.co.uk on February 20th, 2004


LEE Sau Dan <danlee@informatik.uni-freiburg.de> wrote:
I didn't
All I said was "don't forget all those daemons running on every linux box".
Besides, it was a joke. (A joke I actually saw a religious troll USE once in
his argument against linux and unix several years ago)

Posted by The Ghost In The Machine on February 21st, 2004


In comp.os.linux.advocacy, LEE Sau Dan
<danlee@informatik.uni-freiburg.de>
wrote
on 18 Feb 2004 22:10:28 +0100
<m3u11ojdq3.fsf@mika.informatik.uni-freiburg.de>:
Heh...well, part of my problem is that I learned all this back
in the 80's; I don't think they had a=rw back then.

I'm also very good with figures. *evil grin*

Who says I was being *serious*? :-) But OK, as far as
I can tell the ancient Greek for '666' (base 10) had an
alternate meaning; back then each digit place had 9 letter
sets, possibly with accents. I don't know the letters but
let's assume for the sake of this argument that they used
a-i for 1-9, j-r for 10-90, s-z and * for 100-900. 666 in
this scheme would be represented "xpf". As luck has it,
"xpf" is almost pronounceable... :-)

For numbers such as 100, one only saw 's'; 105 would be 'se';
150 would be 'so'. I don't remember what they did for zero.

For 1000 and over ticks got involved; 123,456,789 might have
been represented skc"vnf'yqi. 100,000,000 might have been
represented s".

I'd have to dig to see what the actual Greek word was, but
it might have been a reference to Emperor Nero of "fiddling
during burning" fame, according to one post I've read.
Of course I don't know ancient Greek (I might know the letters,
having some training in mathematics :-) ).

It might have been a pithy expletive.

--
#191, ewill3@earthlink.net
It's still legal to go .sigless.


Similar Posts