Jump to content


Photo

bored


  • Please log in to reply
13 replies to this topic

#1 Skatecrazy1

Skatecrazy1
  • Members
  • PipPipPip
  • Advanced Member
  • 126 posts
  • LocationSouthern California

Posted 28 October 2006 - 06:19 PM

copy and paste the below code and have fun (i was bored)

<?php

function h1($arg)
{
	echo("<h1>$arg</h1>");
}

function br()
{
	echo("<br>");
}

function generateRandTime()
{
	$randhr = rand(1, 12);
	$randmin = rand(01, 59);
	$times = array("AM", "PM");
	$shuff_arr = shuffle($times);
	if(strlen($randmin) == 1){
	echo($randhr.":0".$randmin);
	} else {
	echo($randhr.":".$randmin);
	}
	echo " ".$times[0];
}

function generateRandomWeapon()
{
	$weapons = array("candlestick", "rope", "knife", "revolver", "pipe");
	$shuff = shuffle($weapons);
	echo($weapons[0]);
}

function generateRandomSong()
{
	$songs = array(
	"Amazing Grace",
	"Taps",
	"Dust in the Wind",
	"Angel",
	"All My Tears",
	"Be Not Afraid",
	"Bullet the Blue Sky",
	"Easter Parade",
	"Emily",
	"Face to Face",
	"Going Home",
	"Goodbye",
	"Home Free");
	$shuff = shuffle($songs);
	echo($songs[0]);
}

function generateRandomAttendance()
{
	$att = rand(10, 50);
	echo($att);
}

function generateRandomSuicides()
{
	$deaths = rand(0, 2);
	echo($deaths);
}

h1("Your Eminent Demise");	
echo("You die at ");
generateRandTime();
br();
echo("You are killed with a ");
generateRandomWeapon();
br();
echo("At your funeral, the song \"");
generateRandomSong();
echo("\" is played.");
br();
generateRandomAttendance();
echo(" people attend your funeral.");
br();
generateRandomSuicides();
echo(" people commit suicide because of your death.");



?>

fuck it or fight it

#2 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 28 October 2006 - 06:22 PM

if you're even bored-er, how about turning that into a class so you can play with it some more.
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#3 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 28 October 2006 - 07:02 PM

i think he is trying to start one of those games where you take the code he made, edit/add to it, and repost it

#4 Skatecrazy1

Skatecrazy1
  • Members
  • PipPipPip
  • Advanced Member
  • 126 posts
  • LocationSouthern California

Posted 28 October 2006 - 07:55 PM

well not really, i just made it out of boredom and wanted to show someone

but yeah i could make it into a class and make it part of something bigger on some profile site.
fuck it or fight it

#5 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 29 October 2006 - 07:16 AM

i think he is trying to start one of those games where you take the code he made, edit/add to it, and repost it


hey that sounds like a cool game! omg you're useful afterall! ;D methinks I shall start a game thread for that.
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#6 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 29 October 2006 - 09:17 AM

you could do what everyone is doing these days for no reason:
add a pointless AJAX interface, some chunky fonts, port it to Ruby on Rails and claim youre a "Web 2.0 expert"  ;D
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#7 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 29 October 2006 - 06:25 PM

"Web 2.0 expert"


LOL..

I really hate that saying. Web 2.0 is about the dumbest thing I have ever heard..

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#8 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 29 October 2006 - 07:28 PM

"Web 2.0 expert"


LOL..

I really hate that saying. Web 2.0 is about the dumbest thing I have ever heard..

yeah. it's not the term itself, its the bandwagon that people jump on. "that's web 2.0, that is! oooh look at that AJAX!".

reminds me of really old people at the bus stop (excuse the ageism here, but i'm talking facts - at least in the UK lol) - every time you here a story on the news with a "media-coined" term, guaranteed you hear the conversations at the bus stop like:

"oooh, all those weapons of mass destruction!"
"oooh, my great grandson taught me to surf that information super-email thing"

i'm sure you get what i mean without elaborating further with more examples. basically its all about bandwagons and being sheep, a knowledge one-upmanship,  and it's annoying ...
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#9 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 30 October 2006 - 03:20 AM

Dude!  Like Web 2.0, is like totally, like gonna be like the next big wave or something, like totally!

That is what I think of when someone says Web 2.0.  Some surfer dude with a limited vocab (i am a surfer but it doesn't apply to me ::)  ) who added a cool twist to an already invented move and stuck a new name on it because a few things were changed up.

#10 Skatecrazy1

Skatecrazy1
  • Members
  • PipPipPip
  • Advanced Member
  • 126 posts
  • LocationSouthern California

Posted 31 October 2006 - 03:33 AM

what in hell are you guys talking about... ?  web 2.0?
fuck it or fight it

#11 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 31 October 2006 - 06:48 AM

what in hell are you guys talking about... ?  web 2.0?


You didn't hear? Microsoft released a new version of the Internet! Unfortunately, it isn't supported by Mozilla, so we will have to start using Internet Explorer again...  :(

#12 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 31 October 2006 - 07:18 AM

You didn't hear? Microsoft released a new version of the Internet! Unfortunately, it isn't supported by Mozilla, so we will have to start using Internet Explorer again...  :(


That is MicroShaft for you..LOL

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#13 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 31 October 2006 - 09:14 AM

what in hell are you guys talking about... ?  web 2.0?

You didn't hear? Microsoft released a new version of the Internet! Unfortunately, it isn't supported by Mozilla, so we will have to start using Internet Explorer again...  :(


LMAO
well in fact, we laugh now, but would anyone put it past them given a chance?
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#14 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 31 October 2006 - 09:48 AM

The web can't be versioned. The Internet Protocol can (and is), but the web is a more general term. Compare it to a term like "The International Community". How much sense does "The International Community 2.0" make?

Sure, if Microsoft would get full control over ICANN and every influencial organization, they would probably manifest their monopolist attitude. But there still wouldn't be versions of the Internet and web.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users