PDA

View Full Version : Hello World















Wongo
24th August 2005, 06:04 AM
I know we have a lot of programmers here. So lets talk like one and have so fun….. :D

IF interested = true THEN
    Reply
ELSE
    GOTO nextpost
END IF

zathras
24th August 2005, 07:35 AM
class Ubeaut {
private:
. SendPM();
. ViewReputation();
public:
. StartNewThread();
. ReplyToThread();
. HijackThread();
. ImproveReputationOfOthers();
. DestroyReputationOfOthers();
. SendJoke();
protected:
. Ego();
};

The list is endless :D

Wongo
24th August 2005, 08:19 AM
<nerd>zathras</nerd> :D

RufflyRustic
24th August 2005, 08:52 AM
print"Need More Wood"
print"Need Big Shed"
print"Need More Tools"

:D
I only know basic, is that ok Wongo?

Cheers
RufflyRustic

silentC
24th August 2005, 09:04 AM
<insult name="Wongo">Get a life</insult>

<xsl:stylesheet>
<xsl:template match="/">
<html>
<body>
<h1>Insult Wongo</h1>
<xsl:apply-templates select="insult" />
</body>
</html>
</xsl:template>

<xsl:template match="insult">
<p>Hey, <xsl:value-of select="@name" />, <xsl:apply-templates /></p>
</xsl:template>
</xsl:stylesheet>

johna
24th August 2005, 09:32 AM
and here is window xp source code

#include <windows.h>
#include <system_errors.h>
#include <stdlib.h>

char make_prog_look_big[1600000];

main()
{
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 Windoze 3.999 (we might get it right \
or just call it Chicargo)\n");

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

while(1) {
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
if (rand() < 0.9)
crash(complete_system);
}
return(unrecoverable_system);
}

Jack E
24th August 2005, 09:45 AM
NERDS!!!!

Wood Borer
24th August 2005, 10:43 AM
Wongo,

You have been away from your shed, timber and tools for too long. :(

You should beam yourself back Scotty or wear a foilley before the aliens take over completely.

arose62
24th August 2005, 10:48 AM
while (trees)
add_item_to_TODO_LIST;
require(new_tool);
if (money) and !SWMBO then
acquire(new_tool);
select case (time){
weekend|holiday|"sick" -> goto shed;
workhours|night -> { wget("LeeValleyCatalogue.html");
drool;}
while (TODO_LIST)
fiddle;
pfaff;
sharpen;
design;
begin;

Grunt
24th August 2005, 10:49 AM
using System.********;
using System.MoreCrap;

namespace Au.Com.UBeaut.Woodworkforums {

class public {

public () {

while (moreThreadsToRead) {
ReadThread();
if (threadStartedBy.equals(Zed) {
WieldAxe();
}
else if (thread.ContainsBullShit()) {
WieldAxe();
}
else if (thread.ContainsNaughtyPictures()) {
StareAtPicture();
Sleep(10);
WieldAxe();
}
else {
WieldAxe();
}
}
}
}
}

Daddles
24th August 2005, 10:58 AM
******.***=****
**[****]** ****
*** ****-****
********

:D
Richard

edited to complain about the banned words filter messing with my code

HappyHammer
24th August 2005, 11:03 AM
This is sad

Zed
24th August 2005, 11:04 AM
I agree with Jack E - what a pack of geeks!

pau1
24th August 2005, 11:04 AM
#!/bin.bash
#
# Wood Chipper ver 1.0
#

find . | grep "wood" > wood.pile
cat wood.pile | /sbin/thicknesser | /sbin/jointer > dar.pile
$table.top = cat dar.pile | /sbin/tablesaw | /sbin/biscuitjointer | /sbin/clamps
echo $table.top
"woodchips"

Zed
24th August 2005, 11:25 AM
set output wood geek;
set table_name for read_only

select
username as geek
avatar
rep points

from
user_table_name

where

username in ('geek','nerd')
;

zenwood
24th August 2005, 12:54 PM
function weekend(action)
% Version 0.1: Basic framework only.

global(to_do) % Aspirational only

if strcmp(day,'sat') & (wakeup<t &amp="" t="">< t(morning_tea_ind))
Tea_process('make'); % put the kettle on
search_forum;
if kidswakeup % might need process for checking sleepovers, etc.
if mood('pancakes')
makepancakes % might need menu choice here.
elseif check('wallet')
go('maccers')
end
end
if check(swmbo_awake)
Tea_process('make',2)
else
Tea_process('make',1)
end
while drool(catalogue(randchoice({'LV','LN'})))
tea_process('drink')
end
shed('latest_process')

function shed(action)

switch lower(action)
case {'latest_process'}
bumble_about_new = bumble_about('continue');
case {'process_ended'}
step = step - 1;
takepiccies
step = step + 2;
takecloseuppiccies
postforum(piccies)
shed('new')
case {'new'}
to_do = sort(to_do,priorities_list);
bumble_about('new')
if strcmp(interrupt,'need_something')
if strcmp(needtype,'simple') % Need process here to check/predict other needs, and prevent return trips!!
go('Mitre10')
else
go('Bunnings')
end
end
otherwise
trance_mode('What am I doing here?')
end
if t_lunch - 90<t &amp="" t=""><t_lunch +90="">
enquire('lunch')
end
% Rest of day/weekend still to do!!</t_lunch></t></t>

Gingermick
24th August 2005, 06:35 PM
select
username as geek
;

So what's the 'non-human primate' equivalent of the geek then?

Cliff Rogers
24th August 2005, 06:46 PM
Opps someone is stuck in a loop... or is there an echo in here?


@echo off

simon says @echo off

Gingermick
24th August 2005, 07:12 PM
I'm thinking of taking up a job with microsoft

:D

johna
24th August 2005, 07:19 PM
High School/Jr.High
===================

10 PRINT "HELLO WORLD"
20 END


First year in College
=====================
program Hello(input, output)
begin
writeln('Hello World')
end.


Senior year in College
======================
(defun hello
(print
(cons 'Hello (list 'World))))


New professional
================
#include <stdio.h>
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;

for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf("\n");
}


Seasoned professional
=====================
#include <iostream.h>
#include <string.h>

class string
{
private:
int size;
char *ptr;

public:
string() : size(0), ptr(new char('\0')) {}

string(const string &s) : size(s.size)
{
ptr = new char[size + 1];
strcpy(ptr, s.ptr);
}

~string()
{
delete [] ptr;
}

friend ostream &operator <<(ostream &, const string &);
string &operator=(const char *);
};

ostream &operator<<(ostream &stream, const string &s)
{
return(stream << s.ptr);
}

string &string::operator=(const char *chrs)
{
if (this != &chrs)
{
delete [] ptr;
size = strlen(chrs);
ptr = new char[size + 1];
strcpy(ptr, chrs);
}
return(*this);
}

int main()
{
string str;

str = "Hello World";
cout << str << endl;

return(0);
}


Apprentice Hacker
===================
#!/usr/local/bin/perl
$msg="Hello, world.\n";
if ($#ARGV = 0) {
while(defined($arg=shift(@ARGV))) {
$outfilename = $arg;
open(FILE, "" . $outfilename) || die "Can't write $arg:
$!\n";
print (FILE $msg);
close(FILE) || die "Can't close $arg: $!\n";
}
} else {
print ($msg);
}
1;


Experienced Hacker
===================
#include <stdio.h>
#define S "Hello, World\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}


Seasoned Hacker
===================
% cc -o a.out ~/src/misc/hw/hw.c
% a.out


Guru Hacker
===================
% cat
Hello, world.
^D


New Manager
===================
10 PRINT "HELLO WORLD"
20 END


Middle Manager
===================
mail -s "Hello, world." bob@b12
Bob, could you please write me a program that prints "Hello,
world."?

I need it by tomorrow.
^D


Senior Manager
===================
% zmail jim
I need a "Hello, world." program by this afternoon.


Chief Executive
===================
% letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout

Rocker
24th August 2005, 07:31 PM
if {$nick=="Wongo" && $location=="USA"}
then {echo "Whiiiiiiiinge" && $action=="spit dummy"}
while ($returndate<$todaysdate)
whine; $todaysdate++
elif {$location=="Sinny" && $LVorder=="delivered"}
echo "beudy"
endif

Rocker

Wongo
24th August 2005, 11:44 PM
if {$nick=="Wongo" && $location=="USA"}
then {echo "Whiiiiiiiinge" && $action=="spit dummy"}
while ($returndate<$todaysdate)
whine; $todaysdate++
elif {$location=="Sinny" && $LVorder=="delivered"}
echo "beudy"
endif

Rocker

I like that. :D

Zed, try this after Friday

Select LEFT(user_name,2), status FROM ubeaut_user WHERE rep_point < 0

1 Do inactive
2 Ke inactive
3 Ze active

:D :D :D

AlexS
24th August 2005, 11:47 PM
As someone once said...
make it possible for programmers to write in English, and you will find that programmers cannot write in English

Wongo
25th August 2005, 05:03 AM
Server Error in '/Hello_world' Application.
--------------------------------------------------------------------------------


Parser Error
Description: An error occurred during SilentC accusing Wongo for not having a life. Please apologize immediately and modify your comment appropriately.

Parser Error Message: Wongo does have a life and he is a nice person.

Source Error:
Line 1: &lt;insult name="Wongo"&gt;Get a life&lt;/insult&gt;
Line 2: &lt;xsl:stylesheet&gt;
Line 3: &lt;xsl:template match="/"&gt;



Source File: http://www.woodworkforums.ubeaut.com.au/showthread.php?p=189882#post189882 Line: 1

:D

silentC
25th August 2005, 10:58 AM
Works on my machine :p