Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become an Expert!

Join 244,261 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,309 people online right now. Registration is fast and FREE... Join Now!




48 hours of code - discussion

5 Pages V  1 2 3 > »   
Reply to this topicStart new topic

48 hours of code - discussion

Dark_Nexus
25 Jul, 2005 - 08:20 PM
Post #1

or something bad...real bad.
Group Icon

Joined: 2 May, 2004
Posts: 1,318



Thanked: 6 times
Dream Kudos: 625
My Contributions
i <3 dic biggrin.gif

This post has been edited by Dark_Nexus: 25 Jul, 2005 - 08:21 PM

User is offlineProfile CardPM
+Quote Post


Thorian
RE: 48 Hours Of Code - Discussion
26 Jul, 2005 - 06:52 AM
Post #2

Pirate Medic
Group Icon

Joined: 6 Jun, 2002
Posts: 5,750



Thanked: 8 times
Dream Kudos: 275
My Contributions
hmmm tooo bad i dont know how to code


if hardware guy = sad then cry2.gif
print cry2.gif
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: 48 Hours Of Code - Discussion
26 Jul, 2005 - 08:50 AM
Post #3

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,977



Thanked: 116 times
Dream Kudos: 25
My Contributions
Actually, that should be
CODE

if hardware guy == sad

in most languages...but it's already better than anthing I've written! smile.gif
User is online!Profile CardPM
+Quote Post

Videege
RE: 48 Hours Of Code - Discussion
26 Jul, 2005 - 09:09 AM
Post #4

rêvant.toujours
Group Icon

Joined: 25 Mar, 2003
Posts: 1,406



Thanked: 2 times
Dream Kudos: 150
My Contributions
Awesome; glad it starts on a friday so I can participate.
User is offlineProfile CardPM
+Quote Post

pioSko
RE: 48 Hours Of Code - Discussion
26 Jul, 2005 - 01:33 PM
Post #5

still.dreaming
Group Icon

Joined: 6 Jun, 2003
Posts: 1,888



Thanked: 13 times
Dream Kudos: 225
My Contributions
QUOTE(Amadeus @ Jul 26 2005, 06:50 PM)
Actually, that should be
CODE

if hardware guy == sad

in most languages...but it's already better than anthing I've written! smile.gif

Way to make him feel better.

wink2.gif

10:00PM EST = ?? GMT +1:00
User is offlineProfile CardPM
+Quote Post

Nova Dragoon
RE: 48 Hours Of Code - Discussion
26 Jul, 2005 - 01:48 PM
Post #6

The Innocent Shall Suffer, Big Time
Group Icon

Joined: 16 Aug, 2001
Posts: 6,169



Thanked: 27 times
Dream Kudos: 515
Expert In: Python, Linux

My Contributions
QUOTE(Red|5 @ Jul 26 2005, 03:33 PM)
10:00PM EST = ?? GMT +1:00


Eastern Standard Time is Greenwich -5

right now, its Eastern Daylight time which is Greenwich -4

speaking of which, is the competetion EST OR EDT?
User is offlineProfile CardPM
+Quote Post

MarkoDaGeek
RE: 48 Hours Of Code - Discussion
27 Jul, 2005 - 07:43 AM
Post #7

Dirty Technophile
Group Icon

Joined: 13 Oct, 2001
Posts: 11,087



Thanked: 2 times
Dream Kudos: 970
Expert In: Computer Networking, Web Development, Blogging

My Contributions
My guess is whatever is in effect at the time of the contest which would be EDT no?
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: 48 Hours Of Code - Discussion
27 Jul, 2005 - 07:45 AM
Post #8

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,441



Thanked: 117 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
*nods* Whatever time it is in New York at 10:00PM on August 12.
User is offlineProfile CardPM
+Quote Post

pioSko
RE: 48 Hours Of Code - Discussion
27 Jul, 2005 - 09:07 AM
Post #9

still.dreaming
Group Icon

Joined: 6 Jun, 2003
Posts: 1,888



Thanked: 13 times
Dream Kudos: 225
My Contributions
Ok.. got it.. London is 5hrs behind New York.. i'm 6hrs ahead of New York

So for me the competition starts at 4am... thanks lol
User is offlineProfile CardPM
+Quote Post

Nova Dragoon
RE: 48 Hours Of Code - Discussion
27 Jul, 2005 - 09:12 AM
Post #10

The Innocent Shall Suffer, Big Time
Group Icon

Joined: 16 Aug, 2001
Posts: 6,169



Thanked: 27 times
Dream Kudos: 515
Expert In: Python, Linux

My Contributions
QUOTE(Red|5 @ Jul 27 2005, 11:07 AM)
Ok.. got it.. London is 5hrs behind New York.. i'm 6hrs ahead of New York

So for me the competition starts at 4am... thanks lol

London is 5 hours ahead of NYC, but since it is summer it is only 4 hours

10:00pm NYC will be like 2 am in london
User is offlineProfile CardPM
+Quote Post

supersloth
RE: 48 Hours Of Code - Discussion
27 Jul, 2005 - 09:13 AM
Post #11

serial frotteur - RUDEST MEMBER ON D.I.C.
Group Icon

Joined: 21 Mar, 2001
Posts: 20,341



Thanked: 28 times
Dream Kudos: 2147483647
Expert In: being gentlemanly

My Contributions
QUOTE(Red|5 @ Jul 27 2005, 10:07 AM)
Ok.. got it.. London is 5hrs behind New York.. i'm 6hrs ahead of New York

So for me the competition starts at 4am... thanks lol

but you also have till 4am on monday to turn everything in wink2.gif
User is offlineProfile CardPM
+Quote Post

cyberscribe
RE: 48 Hours Of Code - Discussion
1 Aug, 2005 - 05:00 PM
Post #12

humble.genius
Group Icon

Joined: 5 May, 2002
Posts: 1,062



Thanked: 7 times
Dream Kudos: 154
My Contributions
QUOTE(skyhawk133 @ Jul 27 2005, 08:45 AM)
Whatever time it is in New York at 10:00PM on August 12.

EDT is GMT-4 since both the EU and USA are observing the equivalent of DST right now.

For those of you that really wanna know, the UNIX timestamp is:
CODE

1123898400

That's when it starts.
User is offlineProfile CardPM
+Quote Post

WebMasterDefiance
RE: 48 Hours Of Code - Discussion
8 Aug, 2005 - 02:33 PM
Post #13

New D.I.C Head
*

Joined: 7 Aug, 2005
Posts: 8

Sounds interesting. I think I'm going to give it a try. happy.gif biggrin.gif
User is offlineProfile CardPM
+Quote Post

Broly
RE: 48 Hours Of Code - Discussion
8 Aug, 2005 - 02:38 PM
Post #14

New D.I.C Head
Group Icon

Joined: 16 Dec, 2004
Posts: 29


Dream Kudos: 380
My Contributions
Two question about the rules

- Flash (actionscript) is valid as language for solve the problems ?

- All the problems solutions must be in the same language, or a user can send a solution in PHP for 1st problem, in C# for 2nd problem, etcetera?

Thanks for the info smile.gif, the 48 hour of code idea is really pretty smile.gif
User is offlineProfile CardPM
+Quote Post

supersloth
RE: 48 Hours Of Code - Discussion
8 Aug, 2005 - 02:47 PM
Post #15

serial frotteur - RUDEST MEMBER ON D.I.C.
Group Icon

Joined: 21 Mar, 2001
Posts: 20,341



Thanked: 28 times
Dream Kudos: 2147483647
Expert In: being gentlemanly

My Contributions
all of the above are fine as far as i know. as long as you can solve it via programming their shouldn't be a problem with what you did it in. and the same goes for your second question, your not relegated to a single language.
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: 48 Hours Of Code - Discussion
8 Aug, 2005 - 02:52 PM
Post #16

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,441



Thanked: 117 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
If actionscript can read in a file, go over it line by line, character by character, then output back to a file, you'll be just fine.
User is offlineProfile CardPM
+Quote Post

cynic061
RE: 48 Hours Of Code - Discussion
8 Aug, 2005 - 08:26 PM
Post #17

New D.I.C Head
*

Joined: 22 Jun, 2005
Posts: 3

how to participate in this competition

i am from Nepal

And some rules please and about the programming language

thanks

This post has been edited by cynic061: 8 Aug, 2005 - 08:31 PM
User is offlineProfile CardPM
+Quote Post

72dpi
RE: 48 Hours Of Code - Discussion
9 Aug, 2005 - 04:42 AM
Post #18

New D.I.C Head
Group Icon

Joined: 24 May, 2005
Posts: 3


Dream Kudos: 25
My Contributions
QUOTE(Amadeus @ Jul 26 2005, 09:50 AM)
Actually, that should be
CODE

if hardware guy == sad

in most languages...but it's already better than anthing I've written! smile.gif

Well, not quite, but we can make it a simple if else statement:

CODE

<?php
$site = "Dream in Code";
$username = "hardwareguy";
$ability = "0";
$skills = "0";
$feeling = "Sad";

if ($ability == $skills){
   echo "The $username is $feeling";
} else {
   echo "Thanks to $site you have learnt something!";
}
?>


Heh heh. Well that's about the limit of my coding tongue.gif

This post has been edited by 72dpi: 9 Aug, 2005 - 04:43 AM
User is offlineProfile CardPM
+Quote Post

pioSko
RE: 48 Hours Of Code - Discussion
9 Aug, 2005 - 04:53 AM
Post #19

still.dreaming
Group Icon

Joined: 6 Jun, 2003
Posts: 1,888



Thanked: 13 times
Dream Kudos: 225
My Contributions
if $ability = 100 and $skills = 100 then $username is $feeling?
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: 48 Hours Of Code - Discussion
9 Aug, 2005 - 06:49 AM
Post #20

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,977



Thanked: 116 times
Dream Kudos: 25
My Contributions
QUOTE(72dpi @ Aug 9 2005, 07:42 AM)
QUOTE(Amadeus @ Jul 26 2005, 09:50 AM)
Actually, that should be
CODE

if hardware guy == sad

in most languages...but it's already better than anthing I've written! smile.gif

Well, not quite, but we can make it a simple if else statement:

CODE

<?php
$site = "Dream in Code";
$username = "hardwareguy";
$ability = "0";
$skills = "0";
$feeling = "Sad";

if ($ability == $skills){
   echo "The $username is $feeling";
} else {
   echo "Thanks to $site you have learnt something!";
}
?>


Heh heh. Well that's about the limit of my coding tongue.gif

LOL, just to clarify, my post was meant to differentiate between the use of the single equal sign (=), most commonly used for variable assignment, and the double equal sign(==), most commonly used for comparison purposes. The addition of the variable identifier $ is php (and a few other languages) specific.
User is online!Profile CardPM
+Quote Post

5 Pages V  1 2 3 > » 
Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 11:27AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month