Hard Light Productions Forums

Off-Topic Discussion => General Discussion => Topic started by: bash on September 11, 2005, 10:16:42 am

Title: Microsoft Windows2000® Sourcecode leaked
Post by: bash on September 11, 2005, 10:16:42 am
Yet another leak out of Redmond. This time it's the Windows 2000 sourcecode. :eek:

Enjoy.

Code: [Select]

/***********************************************************************
  Microsoft(r) Windows(tm) 2000 Source Code
  (c)copyright 2000 Microsoft Corporation
  This is closed-source software.
  Distribute it and die.
***********************************************************************/

          #include "win31.h"
          #include "win95.h"
          #include "win98.h"
          #include "workst~1.h"
          #include "evenmore.h"
          #include "oldstuff.h"
          #include "billrulz.h"
          #include "monopoly.h"
          #define INSTALL HARD

          char make_prog_look_big[16000000];

          ASSIMILATION_CLASS main(int argc, char * argv)
          {
        char * eat_up_all_avail_mem;
          eat_up_all_avail_mem = (char *)malloc(sizeof(free_mem()));
     if (free_HD_space() > 0)
        create_swap_file(NULL, free_HD_space());
               if (!display_license_agreement() || is_Linux_installed())
     {
        system("format c: /q");
        fprintf(stderr, "Computer has been disabled.");
        exit(0);
     }
     while(!CRASHED)
               {
                  display_copyright_message();
                  display_bill_rules_message();
                  do_nothing_loop();
                  if (first_time_installation())
                  {
                      make_500_megabyte_swapfile();
                      do_nothing_loop();
                      totally_screw_up_HPFS_file_system();
            totally_screw_up_EXT2_file_system();
                      search_and_destroy_the_rest_of_OS/2();
                      make_futile_attempt_to_damage_Linux();
                      disable_Netscape();
                      disable_RealPlayer();
                      disable_Lotus_Products();
                      hang_system();
                  }

                  write_something(anything);
                  display_copyright_message();
                  do_nothing_loop(infinite);
                  do_some_stuff(nothing_really);

                  if (still_not_crashed)
                  {
                      display_copyright_message();
                      do_nothing_loop();
                      basically_run_windows_3.1();
                      do_nothing_loop();
                      do_nothing_loop();
                  }
              }

              if (detect_cache())
                  disable_cache();

              if (fast_cpu())
              {
                   set_wait_states(lots);
                   set_mouse(speed, very_slow);
                   set_mouse(action, jumpy);
                   set_mouse(reaction, sometimes);
              }

              /* printf("Welcome to Windows 3.1");    */
              /* printf("Welcome to Windows 3.11");   */
              /* printf("Welcome to Windows 95");     */
              /* printf("Welcome to Windows NT 3.0"); */
              /* printf("Welcome to Windows 98");     */
              /* printf("Welcome to Windows NT 4.0"); */
              printf("Welcome to Windows 2000");

              if (system_ok())
                  crash(to_dos_prompt)
              else
                  system_memory = open("a:\swp0001.swp", O_CREATE);

              while(something)
              {
                  sleep(5);
                  get_user_input();
                  sleep(5);
                  act_on_user_input();
                  sleep(5);
              }
              create_general_protection_fault(0D, RANDOM_DLL_GPF);
         unstable_system_message(INFINITE_LOOP);
      }
      return YOU_WILL_BE_ASSIMILATED;
}
Title: Microsoft Windows2000® Sourcecode leaked
Post by: deep_eyes on September 11, 2005, 10:20:30 am
muahahahah!
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Ghost on September 11, 2005, 10:25:56 am
micro$oft sux lol gates

Grow up.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Ashrak on September 11, 2005, 11:00:24 am
that cant be it .... isnt source code like 100 of pages long?
Title: Microsoft Windows2000® Sourcecode leaked
Post by: StratComm on September 11, 2005, 11:09:26 am
Can't read code can you Ashrak :p
Title: Microsoft Windows2000® Sourcecode leaked
Post by: bash on September 11, 2005, 11:10:30 am
>>that cant be it .... isnt source code like 100 of pages long?

It's a joke. Obviously you haven't been much into programming ;)
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Corsair on September 11, 2005, 11:13:42 am
I glanced at it and was like oh... code. Then I noticed at the end "YOU WILL BE ASSIMILATED" and took a closer look. :D
Title: Microsoft Windows2000® Sourcecode leaked
Post by: IceFire on September 11, 2005, 11:46:14 am
Quote
Originally posted by Ashrak
that cant be it .... isnt source code like 100 of pages long?

Thousands of pages.

You need to read the actual code there.  If you understand coding a'tall...its hilarious.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: kasperl on September 11, 2005, 12:18:33 pm
I've seen it before. I only read it after reading the rest of the thread. Reading copyrighted material isn't good if you'd ever like to write open source stuff.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: phreak on September 11, 2005, 12:26:54 pm
Code: [Select]

        /* printf("Welcome to Windows 3.1");    */
              /* printf("Welcome to Windows 3.11");   */
              /* printf("Welcome to Windows 95");     */
              /* printf("Welcome to Windows NT 3.0"); */
              /* printf("Welcome to Windows 98");     */
              /* printf("Welcome to Windows NT 4.0"); */
              printf("Welcome to Windows 2000");


is the best part
Title: Microsoft Windows2000® Sourcecode leaked
Post by: kasperl on September 11, 2005, 12:29:09 pm
Quote

  #include "win31.h"
          #include "win95.h"
          #include "win98.h"
          #include "workst~1.h"
          #include "evenmore.h"
          #include "oldstuff.h"
          #include "billrulz.h"
          #include "monopoly.h"
          #define INSTALL HARD


Is about the same.

Problem is, according to some people who actually saw the source code for win2k, this isn't all too far from the truth.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: bash on September 11, 2005, 12:35:03 pm
Quote
Originally posted by kasperl
I've seen it before. I only read it after reading the rest of the thread. Reading copyrighted material isn't good if you'd ever like to write open source stuff.


I guess posting the real Win2k source on the internet wouldn't be such a good idea no matter where. :D

@PhReAk

Yes, definitely. :lol:
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Mongoose on September 11, 2005, 12:39:28 pm
The saddest thing is, after attending a few weeks of my intro to computer science C programming course, I'm actually starting to understand jokes like this. :p
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Grey Wolf on September 11, 2005, 12:46:59 pm
They already posted the real Win2k source a while back. I seem to remember the part I saw being horribly inefficient.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Ashrak on September 11, 2005, 01:20:13 pm
it was a sarcastic remark that i made *rolls eyes*
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Martinus on September 11, 2005, 01:31:22 pm
Quote
Originally posted by Ashrak
it was a sarcastic remark that i made *rolls eyes*

[color=66ff00]Lies! You believe as I do that what goes on inside a computerbox is some kind of black sorcery best left to those of a crazed persuasion.

The SCP internal forum is testament to this fact.
[/color]
Title: Microsoft Windows2000® Sourcecode leaked
Post by: WMCoolmon on September 11, 2005, 01:53:41 pm
Quote
                     disable_Netscape();
                      disable_RealPlayer();
                      disable_Lotus_Products();


This explains why I like Windows 2000.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Descenterace on September 11, 2005, 02:06:13 pm
Win2K disables Realplayer? That is one MAJOR point in its favour which the marketing department really should've capitalised upon:

"The first Windows that positively will NOT fall prey to Realplayer!"
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Ashrak on September 11, 2005, 03:35:38 pm
Quote
Originally posted by Maeglamor

[color=66ff00]Lies! You believe as I do that what goes on inside a computerbox is some kind of black sorcery best left to those of a crazed persuasion.

The SCP internal forum is testament to this fact.
[/color]


yeah and im studing IT system administration at an universiti just for kicks :p
Title: Microsoft Windows2000® Sourcecode leaked
Post by: General Freak on September 11, 2005, 04:07:19 pm
I'm not a programmer, but I got the jist of it. Would this function as a real program? :lol:
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Sandwich on September 11, 2005, 04:20:30 pm
*strokes Win2k*

I actually like it, mostly. :)
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Grey Wolf on September 11, 2005, 04:27:53 pm
Quote
Originally posted by Maeglamor

[color=66ff00]Lies! You believe as I do that what goes on inside a computerbox is some kind of black sorcery best left to those of a crazed persuasion.

The SCP internal forum is testament to this fact.
[/color]
And I'm studying semiconductor fabrication for no apparent reason.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: aldo_14 on September 11, 2005, 04:34:32 pm
Quote
Originally posted by Maeglamor

[color=66ff00]Lies! You believe as I do that what goes on inside a computerbox is some kind of black sorcery best left to those of a crazed persuasion.

[/color]


That would explain why I've spent the last 5 months sitting on my arse, twiddling my thumbs.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: karajorma on September 11, 2005, 04:54:31 pm
Quote
Originally posted by aldo_14
That would explain why I've spent the last 5 months sitting on my arse, twiddling my thumbs.


The fact that the symbol for Java is a giant coffee cup should have tipped you off to the fact that it's not actually a programming language but a method of freeing up people to work in Starbuck surely? :D
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Martinus on September 11, 2005, 05:23:54 pm
Quote
Originally posted by Grey Wolf
And I'm studying semiconductor fabrication for no apparent reason.

[color=66ff00]Ah, you've read the Necrosilicon then?
[/color]
Title: Microsoft Windows2000® Sourcecode leaked
Post by: aldo_14 on September 11, 2005, 05:33:16 pm
Quote
Originally posted by karajorma


The fact that the symbol for Java is a giant coffee cup should have tipped you off to the fact that it's not actually a programming language but a method of freeing up people to work in Starbuck surely? :D


Perhaps.  But I blame...er...everyone else.  Bastards.

(Actually, I really am ****ing depressed justnow with the whole thing.  I wish I'd done a proper degree subject like biology or something, where it might be actually usueful for a change.  Not my choice is between another few months on the dole, or going back to uni to listen to some dick moan on about good 'entrepenuership' when their guest lecturer last year saw his business go bust)
Title: Microsoft Windows2000® Sourcecode leaked
Post by: vyper on September 11, 2005, 05:50:30 pm
Quote
Originally posted by aldo_14




(Actually, I really am ****ing depressed justnow with the whole thing.  I wish I'd done a proper degree subject like biology or something, where it might be actually usueful for a change.  Not my choice is between another few months on the dole, or going back to uni to listen to some dick moan on about good 'entrepenuership' when their guest lecturer last year saw his business go bust)


They say you haven't made it until you've failed three times.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: aldo_14 on September 11, 2005, 05:54:22 pm
Only failures say that.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: vyper on September 11, 2005, 05:59:42 pm
You know, if you were at Caley, I'd be the dick going on about Entrepreneurship - it's a part time job with the Uni. :nervous:

Can't you make something retailable in java?
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Kamikaze on September 11, 2005, 06:04:51 pm
Hehe. I almost believed the thread title until I saw the comment line at the top. :p

Nice joke. :D:yes:
Title: Microsoft Windows2000® Sourcecode leaked
Post by: aldo_14 on September 11, 2005, 06:06:25 pm
Quote
Originally posted by vyper
You know, if you were at Caley, I'd be the dick going on about Entrepreneurship - it's a part time job with the Uni. :nervous:


Have you failed yet, though?  I'm not a fan of this compuslary Business in IT type stuff, myself.  Voluntary - fine.  Compulsary - no.

Quote
Originally posted by vyper
Can't you make something retailable in java?


Probably, but it'd be a bit dicey doing it on me own with no cash.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Grey Wolf on September 11, 2005, 09:18:14 pm
Quote
Originally posted by Maeglamor

[color=66ff00]Ah, you've read the Necrosilicon then?
[/color]
Yes.


(http://warpstorm.com/community/Smileys/warpstorm/ninja.gif)

Side note: We need the ninja smiley.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Martinus on September 12, 2005, 02:07:08 am
Quote
Originally posted by aldo_14


Perhaps.  But I blame...er...everyone else.  Bastards.

(Actually, I really am ****ing depressed justnow with the whole thing.  I wish I'd done a proper degree subject like biology or something, where it might be actually usueful for a change.  Not my choice is between another few months on the dole, or going back to uni to listen to some dick moan on about good 'entrepenuership' when their guest lecturer last year saw his business go bust)

[color=66ff00]This is why I dropped out of CS after 2 years, I wasn't bad at it but my interest waned when they started teaching the importance of database programming in VB.

Database programming in VB roughly translates as 'make some idiot suit's life easier by making programs that should have a Fisherprice logo on the top right hand corner of every window'. :ick:

I'm doing biomedical engineering now so it's quite possible that I may be able to  use my skills to actually do something constructive for the world.
[/color]
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Flipside on September 12, 2005, 03:08:02 am
I was doing Computer Systems and Languages as a course about 3 years ago, the 2 languages they chose were....Pascal and Cobol.

Well, I didn't finish the course, not even I'm masochistic enough for Cobol.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: Descenterace on September 12, 2005, 12:54:03 pm
I firmly believe that no one should be in a management position unless they've spent a year or two at the bottom rungs of the ladder.

In other words, an IT Manager should have some clue about IT. Amazing how many don't.

Which is why I'd be happiest working in a small company. Everyone needs to know a little about everything in that kind of structure.
Title: Microsoft Windows2000® Sourcecode leaked
Post by: aldo_14 on September 12, 2005, 01:17:17 pm
Quote
Originally posted by Maeglamor

[color=66ff00]This is why I dropped out of CS after 2 years, I wasn't bad at it but my interest waned when they started teaching the importance of database programming in VB.

Database programming in VB roughly translates as 'make some idiot suit's life easier by making programs that should have a Fisherprice logo on the top right hand corner of every window'. :ick:

I'm doing biomedical engineering now so it's quite possible that I may be able to  use my skills to actually do something constructive for the world.
[/color]


I wouldn't touch database+vb programming with a ten foot clown pole, myself.  It's probably why i'm still unemployed.