Funniest thing to happen to you while programming

  • (2 Pages)
  • +
  • 1
  • 2

22 Replies - 2238 Views - Last Post: 10 July 2012 - 11:02 AM

#16 NeoTifa  Icon User is online

  • Whorediot
  • member icon





Reputation: 2586
  • View blog
  • Posts: 15,617
  • Joined: 24-September 08

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 04:08 PM

I have shitty memory.
Was This Post Helpful? 0
  • +
  • -

#17 ishkabible  Icon User is offline

  • spelling expret
  • member icon




Reputation: 1622
  • View blog
  • Posts: 5,709
  • Joined: 03-August 09

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 04:23 PM

...and coding skills






ok, I'll stop
Was This Post Helpful? 0
  • +
  • -

#18 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5185
  • View blog
  • Posts: 26,895
  • Joined: 10-May 07

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 05:11 PM

View PostNeoTifa, on 29 May 2012 - 05:58 PM, said:

I don't recall you having ever seen my codes before.

Shit, everyone's seen your codes...
Was This Post Helpful? 0
  • +
  • -

#19 e_i_pi  Icon User is offline

  • = -1
  • member icon

Reputation: 789
  • View blog
  • Posts: 1,676
  • Joined: 30-January 09

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 07:17 PM

Well, it didn't happen to me, but I found this amusing, especially given the username. I can just see this small wild-haired being frantically typing "DELETE WHERE TRUE" while cackling maniacally.
Was This Post Helpful? 1
  • +
  • -

#20 WinkyCode  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 9
  • View blog
  • Posts: 155
  • Joined: 23-February 11

Re: Funniest thing to happen to you while programming

Posted 06 June 2012 - 11:33 AM

When I got my simple Java program working.

import java.util.*;
//This is for the ability to make an input
/*
Writer: Leopold Birkholm
Date: April 8th 2012
Sweden
*/
public class BMI235{
/*
BMI is calculated by:
Vikt(kg)/(längd*längd)=BMI
*/
//This is to start the input
public static void main(String args[]){ //Here starts the program
Scanner keyboard = new Scanner(System.in);
System.out.println("\n***************\nHello\nWelcome to BMI235 program"); //Just welcome the user to the program
double kilo, high, bmi;//Inform the program of what will go in (kilo, high) and the output (BMI)
System.out.println("Enter your weight in kilogram"); //Here goes the input of the user's weight, mesured in kilogram
kilo = keyboard.nextDouble(); //input method is called for the weight
System.out.println("Enter your length in centimeter"); //Here goes the length of the user, mesured in centimeters
high = keyboard.nextDouble(); //input method is called for the length of the user
bmi = (kilo/(high*high))*10000; //The BMI is now calculating
System.out.println("Please wait.\nYour BMI is " + bmi);//The BMI is now showed
System.out.println("***************\n");//Well, stars is always nice =)
}
}


Was This Post Helpful? 0
  • +
  • -

#21 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7573
  • View blog
  • Posts: 12,725
  • Joined: 19-March 11

Re: Funniest thing to happen to you while programming

Posted 06 June 2012 - 02:20 PM

The "please wait" is a nice touch...
Was This Post Helpful? 2
  • +
  • -

#22 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,499
  • Joined: 16-March 11

Re: Funniest thing to happen to you while programming

Posted 06 June 2012 - 03:43 PM

I was working on an important project, and my computer's fan had just recently begun crapping out on me. So I had the computer sitting opened just below my desk exposed. I had also just taken the time to make myself a tasty sandwich with the last of my favorite ham! I was so pumped to eat it. I sat down, placed my apple juice on my desk, and began to sit down. I stubbed my toe ridiculously hard shaking the desk, trying to slide back into my desk, knocking the apple juice over which spilled onto my wonderful sandwich and then fed bits of my now apple juice sandwich into the top fan on my computer. I heard a clicking, a loud beep, and then... nothing. Fortunately I did my best to clean everything up after and left my computer to dry all night after going through it. It started up like a boss next morning, but I lost all my work for the night.
Was This Post Helpful? 1
  • +
  • -

#23 AnalyticLunatic  Icon User is offline

  • D.I.C Lover

Reputation: 221
  • View blog
  • Posts: 1,030
  • Joined: 25-June 12

Re: Funniest thing to happen to you while programming

Posted 10 July 2012 - 11:02 AM

I was working with my buddy one late morning and after a few hours we were encountering some errors so we decided to switch laptops for a bit and see if any help could be given. I was blown away by how we were using about 80% the exact same variable names and attacking the program logic in the same manner!

End result, he couldn't figure out mine and started playing XBOX, 3 Hours later, I fixed his, and we successfully were able to turn in our PHP/MySQL Finals! We were going to go to Steak N' Shake 30 min away to celebrate, that it just happened to be the night a huge ice storm came through, so after 40min of trying to go through the 5 mi. town, we ended up back at McDonalds. I passed out on the floor and about an hour later went to class for Networking :wacko:
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2