diff -urN the_qernel-0.0.1/carrot.x theqernel-0.5.0/carrot.x --- the_qernel-0.0.1/carrot.x 1970-01-01 01:00:00.000000000 +0100 +++ theqernel-0.5.0/carrot.x 2004-04-25 14:57:58.217199416 +0200 @@ -0,0 +1,24 @@ +______________________________________________________________________ + +WE "NEED" CARROTS [TO SURVIVE] +_______________________________________________________________________ + +oh man (i'm so fucking tired) { + i could, sleep, for, years; + + and = i'm (hungry); + i = could (eat, a, horse); +} + +______________________________________________________________________ + +THIS IS ALL ABOUT CONFUSION: + + CONFUSION IS SEX. IF YOU LIKE SEX, YOU LIKE CONFUSION. + CONFUSION IS ART. IF YOU LIKE ART, YOU LIKE CONFUSION. + CONFUSION IS LUV. IF YOU LIKE LUV, YOU LIKE CONFUSION. + +:NOISUFNOC TUOBA LLA SI SIHT +______________________________________________________________________ + +______________________________________________________________________ diff -urN the_qernel-0.0.1/doc/gangsta_programming.txxt theqernel-0.5.0/doc/gangsta_programming.txxt --- the_qernel-0.0.1/doc/gangsta_programming.txxt 1970-01-01 01:00:00.000000000 +0100 +++ theqernel-0.5.0/doc/gangsta_programming.txxt 2004-04-24 19:59:08.000000000 +0200 @@ -0,0 +1,13 @@ +||_slowly the code evolves into a living organism_|| + ||_do not respect the code_|| + ||_bring love to the code_|| + ||_det är bättre att bli utbränd än att tyna bort_|| + ||_as far back as i can remember i always wanted to be a hacker_|| + ||_the code is art in itself. if you like art, you like the code._|| + ||_there are many ways to peel an apple, but there are only three words in rock'n'roll_|| + ||_think of the code as the DNA of the computer, and think of DNA as the miracle of life_|| + ||_humans are useless - they can only give you questions_|| + ||_nothing can be that far from the truth_|| + ||_anything can be understood in terms of carrots_|| + ||_if you're such a fucking smartass, why won't you just die_|| + ||_let love be a transitive relation_|| diff -urN the_qernel-0.0.1/heart.x theqernel-0.5.0/heart.x --- the_qernel-0.0.1/heart.x 2004-04-23 01:27:31.000000000 +0200 +++ theqernel-0.5.0/heart.x 2004-04-24 23:15:59.000000000 +0200 @@ -41,8 +41,6 @@ (* THE RULES *) <--- 'stretch' // socially acceptable - - ------- MODULE: karma --------------| | __ __ | | ( \/ ) | 666 TABS ARE EIGHT CHARACTHRES 999 @@ -51,3 +49,25 @@ | \/ | |-------------------------------------------| +/####################################################################### + # what's the point... getting drunk... getting hungover... getting + # drunk again... + #######################################################################/ + +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) +(* THE RULES *) <--- 'manipulate' // (not really) + +/%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % some input methods for alphabetic scripts work by (in + % effect) remapping the keyboard to emulate various keyboard + % layouts commonly used for those scripts. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%/ \ No newline at end of file diff -urN the_qernel-0.0.1/human.py theqernel-0.5.0/human.py --- the_qernel-0.0.1/human.py 1970-01-01 01:00:00.000000000 +0100 +++ theqernel-0.5.0/human.py 2002-01-12 22:50:14.000000000 +0100 @@ -0,0 +1,109 @@ +# Here is a funny program! + +# And yes, we will need String Theory. + +import string +import types + +class Human: + "Your code." + + def __init__ (self, name): + self.name = name + self.friends = [ "God" ] + self.enemies = [] + self.say ("Hi! I was just born. All I know is God.") + + # Death + + def evaluateTruth (self): + truths = len(self.friends) + lies = len(self.enemies) + + if lies == 0: + self.say ("I have reached Nirvana.") + return 1 + + if truths == 0: + self.say ("I'm an idiot.") + + return len(self.friends) / len(self.enemies) + + # Communication + + def say(self, claim): + print self.name + ": " + claim + + def love (self, lover): + self.say ("I'm trying to love someone.") + + if (lover == "God"): + self.say ("I love God.") + return + + myTruth = self.evaluateTruth () + yourTruth = lover.evaluateTruth () + + if (abs (myTruth - yourTruth) <= 0.5): + self.friends.append (lover) + self.say (str(lover) + " is my friend.") + else: + seff.enemies.append (lover) + + def lie (self, lier): + self.lies.append (lier) + + def teach (self, claims): + + self.say ("I'm learning.") + + for claim in claims: + + self.say ("trying to teach myself " + claim + "...") + + if claim == "God": + self.say ("Oh, that's Good.") + return + + for enemy in self.enemies: + if enemy.name is claim: + self.say ("That's a Lie!") + return + + self.say ("Ok, this MUST be true.") + self.say (claim) + friend = Human(self.name + "'s " + claim) + self.love (friend) + self.friends.append (claim) + + + def show (self, truth): + self.say ("I pray to the God of String Theory.") + + if not isinstance (truth, types.StringType): + self.say ("I already know that.") + return + + self.say ("Trying to comprehend that " + truth) + claims = string.split(truth) + + # Understand. + self.teach (claims) + + def seek (self, lie): + self.say ("I seek the truth, and love the lie.") + self.love (lie) + + +# Now, DON'T PANIC - seek the truth, love the lie :-) +# +# Just play with it. +# +# Remember that you're a Hero, a Hobbit and a Homer - a Gnu, a Gimp and a Gnome.. +# +# Now you need to import everything from the Human in your life, and ask God what to do. +# He is a Human god. And he LOVES Monty Python. + +god = Human("god") +satan = Human("satan") +god.show(satan) Files the_qernel-0.0.1/human.pyc and theqernel-0.5.0/human.pyc differ diff -urN the_qernel-0.0.1/NEWS theqernel-0.5.0/NEWS --- the_qernel-0.0.1/NEWS 1970-01-01 01:00:00.000000000 +0100 +++ theqernel-0.5.0/NEWS 2004-04-25 15:25:56.858007224 +0200 @@ -0,0 +1,9 @@ +2004->04->23... released theqernel 0.0.1 + + very good + - not good enough + +2004->04->25... released theqernel 0.5.0: + + better than before + + documentation about gangsta programming + + code imported from linux and from the human body + - less maintainable diff -urN the_qernel-0.0.1/README theqernel-0.5.0/README --- the_qernel-0.0.1/README 2004-04-23 13:15:26.000000000 +0200 +++ theqernel-0.5.0/README 2004-04-25 15:22:45.047166904 +0200 @@ -1,4 +1,4 @@ -the qernel 0.0.1 +the qernel 0.5.0 Hi! diff -urN the_qernel-0.0.1/scheduler.x theqernel-0.5.0/scheduler.x --- the_qernel-0.0.1/scheduler.x 1970-01-01 01:00:00.000000000 +0100 +++ theqernel-0.5.0/scheduler.x 2004-04-25 15:10:32.231571808 +0200 @@ -0,0 +1,28 @@ +#---------------------------------------------------------------------- +# Scheduler +# +#---------------------------------------------------------------------- + + +def acquire_attention(task): + if task is relevant: + set_focus(task) + +def experience(stimuli): + best_fit_val = +infinity + best_fit_schema = None + for schema in schemata: + fit = schema.calc_fit(stimuli) + if fit < best_fit_val: + best_fit_val = fit + best_fit_schema = schema + if best_fit_schema.assimilate(stimuli) = BAD_FIT: + schemata += best_fit_schema.accomodate(stimuli) + +function schedule { + if (likely(!(current->state & (TASK_DEAD | TASK_ZOMBIE)))) { + if (unlikely(in_atomic())) { + printk(KERN_ERR "bad: scheduling while atomic!\n"); + dump_stack(); +} + \ No newline at end of file diff -urN the_qernel-0.0.1/soul.x theqernel-0.5.0/soul.x --- the_qernel-0.0.1/soul.x 2004-04-23 12:57:51.000000000 +0200 +++ theqernel-0.5.0/soul.x 2004-04-24 23:16:15.000000000 +0200 @@ -3,7 +3,7 @@ void *NULL; - NO + NO!!!! {