Thread: ms source code

  1. #1
    zsaniK Kinasz's Avatar
    Join Date
    Jan 2003
    Posts
    222

    Talking ms source code

    i know this is old but i havent seen it before and there is nothing like reliving the oldies..



    Code:
    /*
    TOP SECRET Microsoft(c) Code Project: Chicago(TM)
    Projected release-date: Summer 1994
    */
    
    #include "win31.h"
    #include "win95.h"
    #include "evenmore.h"
    #include "oldstuff.h"
    #include "billrulz.h"
    #define INSTALL = HARD
    
    char make_prog_look_big[1600000];
    void main() {
    
    while(!CRASHED) {
    
    display_copyright_message();
    display_bill_rules_message();
    do_nothing_loop();
    if (first_time_installation) {
    
    make_50_megabyte_swapfile();
    do_nothing_loop();
    totally_screw_up_HPFS_file_system();
    search_and_destroy_the_rest_of_OS/2();
    hang_system();
    
    }
    write_something(anything);
    display_copyright_message();
    do_nothing_loop();
    do_some_stuff();
    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.11");
    // printf("Welcome to Windows 95");
    printf("Welcome to Windows 98");
    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();
    
    }
    "Assumptions are the mother of all **** ups!"

  2. #2
    Registered User
    Join Date
    Feb 2004
    Posts
    127
    really it's nice but very old

  3. #3
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Old.

  4. #4
    Registered User
    Join Date
    Dec 2003
    Posts
    101
    How about posting the real source? Hu? How bout it? DO you ahve it?
    --

  5. #5
    zsaniK Kinasz's Avatar
    Join Date
    Jan 2003
    Posts
    222
    >>Old

    i know but I'm sure not everyone has seen it and after a few years you can always laugh again....ok maybe not ober... but most can. In light of the recent M$ leaks i think it was appropriate.

    Oh and here's another one, especially for ober and M_Ghani..

    MS Windows and the Borg
    Picard: Mr. LaForge, have you had any success with your attempts at finding a weakness in the Borg? And Mr. Data, have you been able to access their command pathways?
    Geordi: Yes, Captain. In fact, we found the answer by searching through our archives on late Twentieth-century computing technology. Geordi presses a key, and a logo appears on the computer screen.
    Riker looks puzzled: What the hell is `Microsoft'?
    Data turns to answer: Allow me to explain. We will send this program, for some reason called `Windows', through the Borg command pathways. Once inside their root command unit, it will begin consuming system resources at an unstoppable rate.

    Picard: But the Borg have the ability to adapt. Won't they alter their processing
    systems to increase their storage capacity?
    Data: Yes, Captain. But when `Windows' detects this, it creates a new version
    of itself known as an `upgrade'. The use of resources increases exponentially with
    each iteration. The Borg will not be able to adapt quickly enough. Eventually all
    of their processing ability will be taken over and none will be available for their
    normal operational functions.

    Picard: Excellent work. This is even better than that `unsolvable geometric
    shape' idea. . . . 15 Minutes Later . . .

    Data: Captain, we have successfully installed the `Windows' in the Borg's
    command unit. As expected, it immediately consumed 85% of all available resources.
    However, we have not received any confirmation of the expected `upgrade'.

    Geordi: Our scanners have picked up an increase in Borg storage and CPU capacity,
    but we still have no indication of an `upgrade' to compensate for their increase.


    Picard: Data, scan the history banks again and determine if there is something
    we have missed.

    Data: Sir, I believe there is a reason for the failure in the `upgrade'. Apparently
    the Borg have circumvented that part of the plan by not sending in their registration
    cards.

    Riker: Captain, we have no choice. Requesting permission to begin emergency
    escape sequence 3F

    Geordi, excited: Wait, Captain! Their CPU capacity has suddenly dropped to
    0%!

    Picard: Data, what do your scanners show?

    Data, studying display: Apparently the Borg have found the internal `Windows'
    module named `Solitaire', and it has used up all available CPU capacity.

    Picard: Let's wait and see how long this `Solitaire' can reduce their functionality.
    . . . Two Hours Pass . . .

    Riker: Geordi, what is the status of the Borg?

    Geordi: As expected, the Borg are attempting to re-engineer to compensate
    for increased CPU and storage demands, but each time they successfully increased
    resources I have setup our closest deep space monitor beacon to transmit more `Windows'
    modules from something called the `Microsoft Fun-pack'.

    Picard: How much time will that buy us?

    Data: Current Borg solution rates allow me to predicate an interest time span
    of 6 more hours.

    Geordi: Captain, another vessel has entered our sector.

    Picard: Identify.

    Data: It appears to have markings very similar to the 'Microsoft' logo...
    Over the speakers: THIS IS ADMIRAL BILL GATES OF THE MICROSOFT FLAGSHIP MONOPOLY.
    WE HAVE POSITIVE CONFIRMATION OF UNREGISTERED SOFTWARE IN THIS SECTOR. SURRENDER
    ALL ASSETS AND WE CAN AVOID ANY TROUBLE. YOU HAVE 10 SECONDS TO COMPLY.

    Data: The alien ship has just opened its forward hatches and released thousands
    of humanoid-shaped objects.

    Picard: Magnify forward viewer on the alien craft!

    Riker: My God, captain! Those are human beings floating straight toward the
    Borg ship - with no life support suits! How can they survive the tortures of deep
    space?!

    Data: I don't believe that those are humans, sir. If you will look closer
    I believe you will see that they are carrying something recognized by twenty-first
    century man as doeskin leather briefcases, and wearing Armani suits.

    Riker and Picard horrified: Lawyers!!

    Geordi: It can't be. All the Lawyers were rounded up and sent hurtling into
    the sun in 2017 during the Great Awakening.

    Data: True, but apparently some must have survived.

    Riker: They have surrounded the Borg ship and are covering it with all types
    of papers.

    Data: I believe that is known in ancient vernacular as `red tape'. It often
    proves fatal.

    Rike: They're tearing the Borg to pieces!

    Picard: Turn the monitors off, Data, I cant bear to watch. Even the Borg don't
    deserve such a gruesome death!
    "Assumptions are the mother of all **** ups!"

  6. #6
    Much older and wiser Fountain's Avatar
    Join Date
    Dec 2001
    Location
    Engeeeerland
    Posts
    1,158
    Lol. That is still funny to read again.
    Such is life.

  7. #7
    zsaniK Kinasz's Avatar
    Join Date
    Jan 2003
    Posts
    222
    ok ok last one... just a link this time

    http://www.notso.com/msdinner.htm

    the unix part is funny!
    "Assumptions are the mother of all **** ups!"

  8. #8
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    4/10

    Excuse me for not finding your material funny.

  9. #9
    What the hell kind of code is this?

    #define INSTALL = HARD

    and this:

    void main()

    and why is the opened handle file never closed? Why is nothing indented! Save me jeebus!

    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  10. #10
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    Quote Originally Posted by ober
    4/10

    Excuse me for not finding your material funny.
    change 4 to a 2 though...everything else applies in my case.




    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  11. #11
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    u stink at life.

  12. #12
    zsaniK Kinasz's Avatar
    Join Date
    Jan 2003
    Posts
    222
    jeez lighten up guys, you dont like it? dont read it!!
    "Assumptions are the mother of all **** ups!"

  13. #13
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    Quote Originally Posted by Kinasz
    you dont like it? dont read it!!
    But I've already read it

  14. #14
    zsaniK Kinasz's Avatar
    Join Date
    Jan 2003
    Posts
    222
    you read all 3 after you didnt like the 1st one?
    "Assumptions are the mother of all **** ups!"

  15. #15
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    Quote Originally Posted by Kinasz
    you read all 3 after you didnt like the 1st one?
    Sometimes I am blamed to be over-optimistic

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to make a program that prints it's own source code???
    By chottachatri in forum C++ Programming
    Replies: 38
    Last Post: 03-28-2008, 07:06 PM
  2. Replies: 4
    Last Post: 01-18-2008, 07:05 PM
  3. Search for patterns in source code
    By MiamiCuse in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 10-23-2005, 11:28 PM
  4. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 05:50 PM
  5. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM