PDA

View Full Version : Attn: SkyWatcher...



Hex
24-01-2009, 08:37 AM
This thread has been specially Pre-Derailed(tm), just for you :biggrin:



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//
// WDS Forum Rule 1: Thou shall not leave SkyWatchers threads untainted by sillyness
// WDS Forum Rule 2: See Rule 1
//
namespace Hex.DerailSkyWatcher
{
class Program
{
static void Main(string[] args)
{
DerailThread();
}

public static string DerailThread()
{
for (int i = 10; i >= 0; i--)
{
if (i == 0)
{
System.Console.WriteLine("There are no green bottles sitting on the wall!!!");
}
else
{
System.Console.WriteLine(string.Format("{0} green bottles sitting on the wall,", i));
System.Console.WriteLine(string.Format("{0} green bottles sitting on the wall,", i));
System.Console.WriteLine("And if one green bottle should accidentally fall...");

if ((i - 1) == 0)
{
System.Console.WriteLine("There'll be no green bottles sitting on the wall.");
}
else
{
System.Console.WriteLine(string.Format("There'll be {0} green bottles sitting on the wall.", (i - 1)));
}
}
System.Console.WriteLine();
}

return "Success!!!";
}
}
}
10 green bottles sitting on the wall,
10 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 9 green bottles sitting on the wall.

9 green bottles sitting on the wall,
9 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 8 green bottles sitting on the wall.

8 green bottles sitting on the wall,
8 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 7 green bottles sitting on the wall.

7 green bottles sitting on the wall,
7 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 6 green bottles sitting on the wall.

6 green bottles sitting on the wall,
6 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 6 green bottles sitting on the wall.

5 green bottles sitting on the wall,
5 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 4 green bottles sitting on the wall.

4 green bottles sitting on the wall,
4 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 3 green bottles sitting on the wall.

3 green bottles sitting on the wall,
3 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 2 green bottles sitting on the wall.

2 green bottles sitting on the wall,
2 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 1 green bottles sitting on the wall.

1 green bottles sitting on the wall,
1 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be no green bottles sitting on the wall.

There are no green bottles sitting on the wall!!!

Hex
24-01-2009, 09:32 AM
oh and that code is actually valid C# code that can be compiled into a working program using "Microsoft Visual C# 2008 Express"

:geekon:

:biggrin:

Dawn
24-01-2009, 10:10 AM
And while he's been sat doing that I've taken the dog on a 2 hour walk. :unsure:

keith
24-01-2009, 11:18 AM
:laugh:

Skywatcher
24-01-2009, 11:19 AM
:geekon:

Thank you sir much appreciated :D

Beccaberry
24-01-2009, 01:08 PM
http://i341.photobucket.com/albums/o368/beccaberry73/Skywatcher.gif


A new smilie I've been working on...

keith
24-01-2009, 01:12 PM
:lol:

Dawn
24-01-2009, 01:17 PM
:laugh:

Skywatcher
24-01-2009, 01:29 PM
That is simply awesome thanks hun :hug2:

Beccaberry
24-01-2009, 01:30 PM
:) I'll have our fearless leader add it to the general population :D

MystikPiglit
24-01-2009, 02:54 PM
http://i341.photobucket.com/albums/o368/beccaberry73/Skywatcher.gif



:wow2: That's the best sign ever!!!!!!!!! :applaudit:

josh.p.
24-01-2009, 09:04 PM
This thread has been specially Pre-Derailed(tm), just for you :biggrin:



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//
// WDS Forum Rule 1: Thou shall not leave SkyWatchers threads untainted by sillyness
// WDS Forum Rule 2: See Rule 1
//
namespace Hex.DerailSkyWatcher
{
class Program
{
static void Main(string[] args)
{
DerailThread();
}

public static string DerailThread()
{
for (int i = 10; i >= 0; i--)
{
if (i == 0)
{
System.Console.WriteLine("There are no green bottles sitting on the wall!!!");
}
else
{
System.Console.WriteLine(string.Format("{0} green bottles sitting on the wall,", i));
System.Console.WriteLine(string.Format("{0} green bottles sitting on the wall,", i));
System.Console.WriteLine("And if one green bottle should accidentally fall...");

if ((i - 1) == 0)
{
System.Console.WriteLine("There'll be no green bottles sitting on the wall.");
}
else
{
System.Console.WriteLine(string.Format("There'll be {0} green bottles sitting on the wall.", (i - 1)));
}
}
System.Console.WriteLine();
}

return "Success!!!";
}
}
}
10 green bottles sitting on the wall,
10 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 9 green bottles sitting on the wall.

9 green bottles sitting on the wall,
9 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 8 green bottles sitting on the wall.

8 green bottles sitting on the wall,
8 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 7 green bottles sitting on the wall.

7 green bottles sitting on the wall,
7 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 6 green bottles sitting on the wall.

6 green bottles sitting on the wall,
6 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 6 green bottles sitting on the wall.

5 green bottles sitting on the wall,
5 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 4 green bottles sitting on the wall.

4 green bottles sitting on the wall,
4 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 3 green bottles sitting on the wall.

3 green bottles sitting on the wall,
3 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 2 green bottles sitting on the wall.

2 green bottles sitting on the wall,
2 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be 1 green bottles sitting on the wall.

1 green bottles sitting on the wall,
1 green bottles sitting on the wall,
And if one green bottle should accidentally fall...
There'll be no green bottles sitting on the wall.

There are no green bottles sitting on the wall!!!
:geekon::geekon::geekon::geekon:

Hex
24-01-2009, 09:20 PM
:) and with a few fairly minor tweaks, it works in Java as well :geekon:

keith
24-01-2009, 09:21 PM
:) and with a few fairly minor tweaks, it works in Java as well :geekon:

just 50 times slower and with 100 times the memory usage :taunt:

Hex
24-01-2009, 09:27 PM
just 50 times slower and with 100 times the memory usage :taunt:

:biggrin: ... i could have written it in VB ... grossly abusing the ancient GOTO statements...

keith
24-01-2009, 09:30 PM
:biggrin: ... i could have written it in VB ...

It's still be faster than Jaaaaaavvvvaaaaaaa :D

Hex
24-01-2009, 09:38 PM
true.

if only some big companies that create enterprise level software would consider this...

I have to deal with HP Service Desk at work, used to manage corporate-wide helpdesk and issue escalation. Darn thing is Java based and takes an age to load screens and carry out simple actions. Really does not help when the server it connects to is in the US. Costs about $7K per user license as well, so you would expect better from it!

Hex
24-01-2009, 09:42 PM
oh i also found a copy of the code i was working on before christmas, and before my HDD died... having reviewed it again, I am going to redo some of it (hindsight is a wonderful thing). I should have a decent version ready for you fairly soon :)

keith
24-01-2009, 09:48 PM
I have to deal with HP Service Desk at work, used to manage corporate-wide helpdesk and issue escalation. Darn thing is Java based and takes an age to load screens and carry out simple actions. Really does not help when the server it connects to is in the US. Costs about $7K per user license as well, so you would expect better from it!

I have a lot to do on a daily basis with some of the guys who "invented" java because of the services we provide and I can honestly say, they completely disagree that it's slow and resource intensive. I don't mean they say it but really hand on heart know it's bad, they really just don't see it. Amazes me every day it really does

I mean great if you have to write something that will work on many platforms, fine, give up a bit of speed for that but otherwise :/

Argh, I could rant all day

keith
24-01-2009, 09:48 PM
oh i also found a copy of the code i was working on before christmas, and before my HDD died... having reviewed it again, I am going to redo some of it (hindsight is a wonderful thing). I should have a decent version ready for you fairly soon :)

OOOOOOOOOOOOOOOOOOOOOOOOOO Now you're talking!!!!!! :D :D :D

Britchick
24-01-2009, 10:13 PM
pmsl!!

Dawn
25-01-2009, 07:59 AM
pmsl!!

Do you actually know what you're laughing at? :lol:

Britchick
25-01-2009, 11:48 AM
Do you actually know what you're laughing at? :lol:

of course, post number 6

mumof2
25-01-2009, 11:52 AM
i would just like to point out that i came in here to have a look and am now leaving because i have absoflippinlutely no idea what you're talking about :lol:

MystikPiglit
25-01-2009, 02:42 PM
Geeks are funny. It's like being on the set of 'The Big Bang Theory'. :lol:


i would just like to point out that i came in here to have a look and am now leaving because i have absoflippinlutely no idea what you're talking about :lol:

:metoo:

keith
25-01-2009, 02:44 PM
Geeks are funny. It's like being on the set of 'The Big Bang Theory'. :lol:


I wish I was, that Penny is cute :yes:

MystikPiglit
25-01-2009, 02:45 PM
I wish I was, that Penny is cute :yes:

:lol:

keith
25-01-2009, 02:46 PM
:lol:

I mean, I'd be WAY too shy to talk to her but she's still cute :lol:

MystikPiglit
25-01-2009, 02:48 PM
I mean, I'd be WAY too shy to talk to her but she's still cute :lol:

You'd be Rajesh then. :lol:

Dawn
25-01-2009, 03:35 PM
At my doctoring place job they think I'm a geek because I know how to reboot a PC. It's a worry really. :rotfl:

MystikPiglit
25-01-2009, 03:44 PM
At my doctoring place job they think I'm a geek because I know how to reboot a PC. It's a worry really. :rotfl:

:lol: Now that is a worry....even I can do that. Don't let them catch on that it's easy though. :wink: :lol:

Dawn
25-01-2009, 03:57 PM
Some of the people I work with can't even open up the internet on the work computers. I'm a genius because one Saturday morning I "mended" 2 phones, 3 'puters and the photocopier. :rotfl:

MystikPiglit
25-01-2009, 04:05 PM
Some of the people I work with can't even open up the internet on the work computers.

:thud:

You should be 'Head of I.T' and have a payrise. :D

Britchick
25-01-2009, 04:47 PM
on the same lines Dawn............ one of my team came into the office and asked 'does anyone have google on their computer'

needless to say she has been mocked to within an inch of her life!!!

Skywatcher
25-01-2009, 04:48 PM
:laugh:

Dawn
25-01-2009, 04:54 PM
:laugh:

Beccaberry
25-01-2009, 05:21 PM
:laugh: :lolchair:

Pssst Keith....if you don't get enough of her on BBTheory, check her out on later episodes of "Charmed" :yes:

Hot.

Skywatcher
25-01-2009, 05:23 PM
:mental: again!

Beccaberry
25-01-2009, 05:25 PM
Dude, you're gonna make yourself dizzy.

Shouldn't you be packing?

Skywatcher
25-01-2009, 05:26 PM
.......and miss this :unsure:........ :mental:

MystikPiglit
25-01-2009, 05:33 PM
Pssst Keith....if you don't get enough of her on BBTheory, check her out on later episodes of "Charmed" :yes:.

Or look here:

http://www.imdb.com/name/nm0192505/mediaindex

Enjoy! :lol:

MystikPiglit
25-01-2009, 05:39 PM
And here's one especially for Skywatcher:

http://www.imdb.com/character/ch0000184/mediaindex

:D

Skywatcher
25-01-2009, 05:42 PM
:lol:

more michelle pffeffefff but thank :D

MystikPiglit
25-01-2009, 05:48 PM
:lol:

keith
25-01-2009, 06:03 PM
:laugh: :lolchair:

Pssst Keith....if you don't get enough of her on BBTheory, check her out on later episodes of "Charmed" :yes:

Hot.

OMG! you're saying, charmed women PLUS penny???????????

To be honest, I'm not sure my heart could take the stress

Beccaberry
25-01-2009, 10:32 PM
:lol: :laugh: