windows source code

Συζητήσεις σχετικά με θέματα που αφορούν λειτουργικά συστήματα (Linux, *BSD, MacOS, Windows, κτλ.) .
Post Reply
User avatar
jimmyD
Venus Former Team Member
Posts: 946
Joined: Wed Apr 21, 2004 6:33 pm
Academic status: MSc
Location: στην κοσμάρα μου

windows source code

Post by jimmyD » Wed Sep 22, 2004 11:36 pm

Ε ναι λοιπον μετά από προσπάθεια χρόνων έκανα τις χακιές μου και έχω το βασικότερο κομμάτι του κωδικα των windows

#include <nonsense.h>
#include <lies.h>
#include <spyware.h> /* Microsoft Network Connectivity library */
#include <process.h> /* For the court of law */
#define say(x) lie(x)
#define computeruser ALL_WANT_TO_BUY_OUR_BUGWARE
#define soon next_year
#define the_product_is_ready_to_ship another_beta_version

void main()

{
if (latest_window_version>one_month_old)
{
if (there_are_still_bugs)
market(bugfix);
if (sales_drop_below_certain_point)
raise(RUMOURS_ABOUT_A_NEW_BUGLESS_VERSION);
}
while(everyone_chats_about_new_version)
{
make_false_promise(it_will_be_multitasking); /* Standard Call, in
lies.h */
if (rumours_grow_wilder)
make_false_promise(it_will_be_plug_n_play);

if (rumours_grow_even_wilder)
{
market_time=ripe;
say("It will be ready in one month);
order(programmers, stop_fixing_bugs_in_old_version);
order(programmers, start_brainstorm_about_new_version);
order(marketingstaff, permission_to_spread_nonsense);
vapourware=TRUE;
break;
}
}
switch (nasty_questions_of_the_worldpress)
{
case WHEN_WILL_IT_BE_READY:
say("It will be ready in", today+30_days," we're just testing");
break;
case WILL_THIS_PLUG_AND_PLAY_THING_WORK:
say("Yes it will work");
ask(programmers, why_does_it_not_work);
pretend(there_is_no_problem);
break;
case WHAT_ARE_MINIMAL_HARDWARE_REQUIREMENTS:
say("It will run on a 8086 with lightning speed due to"
" the 32 bits architecture");
inform(INTEL, "Pentium sales will rise skyhigh");
inform(SAMSUNG, "Start a new memorychip plant"
"'cos all those customers will need at least 32 megs");
inform(QUANTUM, "Thanks to our fatware your sales will triple");
get_big_bonus(INTEL, SAMSUNG, QUANTUM);
break;
case DOES_MICROSOFT_GET_TOO_MUCH_INFLUENCE:
say("Oh no, we are just here to make a better world for
everyone");
register(journalist, Big_Bill_Book);
when(time_is_ripe)
{
arrest(journalist);
brainwash(journalist);
when(journalist_says_windows95_is_bugfree)
{
order(journalist, "write a nice objective article");
release (journalist);
}
}
break;
}
while (vapourware)
{
introduction_date++; /* Delay */
if (no_one_believes_anymore_there_will_be_a_release)
break;
say("It will be ready in",today+ONE_MONTH);
}
release(beta_version)
while (everyone_is_dumb_enough_to_buy_our_bugware)
{
bills_bank_account += 150*megabucks;
release(new_and_even_better_beta_version);
introduce(more_memory_requirements);
if (customers_report_installation_problems)
{
say("that is a hardware problem, not a software problem");
if (smart_customer_says_but_you_promised_plug_and_play)
{
ignore(customer);
order(microsoft_intelligence_agency, "Keep an eye on this
bastard");
}
}
if (there_is_another_company)
{
steal(their_ideas);
accuse(compagny, stealing_our_ideas);
hire(a_lot_of_lawyers); /* in process.h */
wait(until_other_company_cannot_afford_another_lawsuit);
buy_out(other_company);
}
}
/* Now everyone realizes that we sell bugware and they are allangry at
us */
order(plastic_surgeon, make_bill_look_like_poor_bastard);
buy(nice_little_island); hire(harem);
laugh_at(everyone,
for_having_the_patience_year_after_year_for_another_unfinished_version);
}

void bugfix(void)
{
charge (a_lot_of_money);
if (customer_says_he_does_not_want_to_pay_for_bugfix)
say("It is not a bugfix but a new version");
if (still_complaints)
{
ignore(customer);
register(customer, Big_Bill_Book);
/* We'll get him when everyone uses Billware!!*/
}
}
Last edited by jimmyD on Thu Sep 23, 2004 1:17 am, edited 1 time in total.
Since I was born I started to decay
now nothing ever ever goes my way...
Image
User avatar
HdkiLLeR
Venus Project Founder
Venus Project Founder
Posts: 4356
Joined: Tue Jan 27, 2004 4:41 pm
Academic status: Alumnus/a
Gender:
Location: New York, NY
Contact:

Post by HdkiLLeR » Thu Sep 23, 2004 12:22 am

l0l :-D :-D Αυτό ήταν το καλύτερο :

Code: Select all

void bugfix(void)
{
 charge (a_lot_of_money);
 if (customer_says_he_does_not_want_to_pay_for_bugfix)
 say("It is not a bugfix but a new version");
 if (still_complaints)
 {
  ignore(customer);
  register(customer, Big_Bill_Book);
  /* We'll get him when everyone uses Billware!!*/
 }
}
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-->--- s+:+ a- C++(+++) BILS++++$ P--- L++++>+++++ E--- W+++ N+ o+ K w--
O M+ V-- PS++>+++ PE- Y++ PGP++ t+ 5+ X+ R* tv b++ DI- D+ G+++ e+++>++++ h r++ y++
------END GEEK CODE BLOCK------

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." -- Dennis Ritchie
User avatar
Einherjar
Venus Project Founder
Venus Project Founder
Posts: 3751
Joined: Tue Jan 27, 2004 4:42 pm
Academic status: Alumnus/a
Gender:
Location: Washington DC, USA
Contact:

Post by Einherjar » Thu Sep 23, 2004 1:23 am

ξέχασες να το βάλεις όλο μέσα σε ένα while(true)
[Better to understand a little than to misunderstand a lot]
User avatar
aNTWNHs
bit level
bit level
Posts: 24
Joined: Mon Mar 22, 2004 8:03 pm

Post by aNTWNHs » Thu Sep 23, 2004 7:10 am

case WHAT_ARE_MINIMAL_HARDWARE_REQUIREMENTS:
say("It will run on a 8086 with lightning speed due to"
" the 32 bits architecture");
Βρήκα Bug (Τελικά όντως πρέπει να είναι ο κώδικας των Windows) :P
O 8086 αν 8υμάμαι καλά είναι 16bit :D
User avatar
TaRaNTuLa
Gbyte level
Gbyte level
Posts: 1598
Joined: Fri Apr 30, 2004 4:54 pm
Academic status: PhD
Gender:
Location: MMLab

Post by TaRaNTuLa » Thu Sep 23, 2004 9:54 am

Code: Select all

register(journalist, Big_Bill_Book); 
when(time_is_ripe) 
{ 
arrest(journalist); 
brainwash(journalist); 
when(journalist_says_windows95_is_bugfree) 
{ 
order(journalist, "write a nice objective article"); 
release (journalist); 
Αυτό το "Big_Bill_Book" είναι σαν τη μαύρη λίστα της Άντζελας;;;; :-D :-D :-D
Η απόλυτη έκφραση της σημασίας του ελεύθερου τύπου....
Πάντως μην πείτε!!!Έχει ολόκληρο module για την αντιμετώπιση των δημοσιογράφων...Μελετημένο το θέμα... ;)
Tamiya rulezZz....

TL-01 Full Carbon, TL-01 Upgraded, FF-01 Upgraded, M03, CC-01, ΤΤ-01 TypeE, Volvo και Scania Trucks και η λίστα συνεχίζεται...
User avatar
Ethel
Venus Project Founder
Venus Project Founder
Posts: 2395
Joined: Fri Mar 19, 2004 10:41 am
Academic status: Alumnus/a
Gender:
Location: New York City, NY
Contact:

Post by Ethel » Thu Sep 23, 2004 10:43 am

Code: Select all

 /* Now everyone realizes that we sell bugware and they are allangry at us */
order(plastic_surgeon, make_bill_look_like_poor_bastard);
buy(nice_little_island); hire(harem);
laugh_at(everyone,
for_having_the_patience_year_after_year_for_another_unfinished_version);
} 
Νομίζω ότι όλη η κοροϊδία περικλείεται σ'αυτό!
Πολύ καλό jimmyD!!
There's no place like 127.0.0.1
User avatar
HdkiLLeR
Venus Project Founder
Venus Project Founder
Posts: 4356
Joined: Tue Jan 27, 2004 4:41 pm
Academic status: Alumnus/a
Gender:
Location: New York, NY
Contact:

Post by HdkiLLeR » Thu Sep 23, 2004 2:16 pm

aNTWNHs wrote:
case WHAT_ARE_MINIMAL_HARDWARE_REQUIREMENTS:
say("It will run on a 8086 with lightning speed due to"
" the 32 bits architecture");
Βρήκα Bug (Τελικά όντως πρέπει να είναι ο κώδικας των Windows) :P
O 8086 αν 8υμάμαι καλά είναι 16bit :D
Πόπο έχεις παρατιρητικότητα!! Όντως 8086-8088-80286 ήταν στα 16bit.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-->--- s+:+ a- C++(+++) BILS++++$ P--- L++++>+++++ E--- W+++ N+ o+ K w--
O M+ V-- PS++>+++ PE- Y++ PGP++ t+ 5+ X+ R* tv b++ DI- D+ G+++ e+++>++++ h r++ y++
------END GEEK CODE BLOCK------

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." -- Dennis Ritchie
Post Reply

Return to “Λειτουργικά συστήματα”