Funniest thing to happen to you while programming

  • (2 Pages)
  • +
  • 1
  • 2

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

#1 aaron1178  Icon User is offline

  • Dovakiin, Dragonborn
  • member icon

Reputation: 169
  • View blog
  • Posts: 1,303
  • Joined: 22-October 08

Funniest thing to happen to you while programming

Posted 22 May 2012 - 12:59 AM

I was writing a tool that used a batch file to called programs. When I ran this tool in a cmd window this is what I got :bigsmile:

Posted Image

Whoops I forgot the F :D

What has happened to you while programming that's made you laugh?

Is This A Good Question/Topic? 0
  • +

Replies To: Funniest thing to happen to you while programming

#2 Creecher  Icon User is offline

  • I don't care
  • member icon

Reputation: 561
  • View blog
  • Posts: 2,049
  • Joined: 06-March 10

Re: Funniest thing to happen to you while programming

Posted 22 May 2012 - 02:17 AM

*
POPULAR

Something worked for once.
Was This Post Helpful? 8
  • +
  • -

#3 aaron1178  Icon User is offline

  • Dovakiin, Dragonborn
  • member icon

Reputation: 169
  • View blog
  • Posts: 1,303
  • Joined: 22-October 08

Re: Funniest thing to happen to you while programming

Posted 22 May 2012 - 02:27 AM

:D I get like that sometime
Was This Post Helpful? 0
  • +
  • -

#4 Nuko32  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 23
  • Joined: 08-May 12

Re: Funniest thing to happen to you while programming

Posted 22 May 2012 - 05:33 AM

I was watching a Java tutorial on YouTube, when I saw the Error 500
Posted Image
:bananaman: I laughed so hard :bananaman:
Was This Post Helpful? 2
  • +
  • -

#5 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1363
  • View blog
  • Posts: 3,002
  • Joined: 30-January 11

Re: Funniest thing to happen to you while programming

Posted 22 May 2012 - 06:33 AM

Once when I was pulling an all nighter to fix a pretty lethal bug I fell asleep and hit my head on the keyboard. Worst thing was my forehead hit F6 and started a 15+ minute global build. The rest of the team were not happy yet somehow managed to see the funny side of things.

However I did get to take a nap after that so it wasn't all bad.

This post has been edited by Ryano121: 22 May 2012 - 06:34 AM

Was This Post Helpful? 0
  • +
  • -

#6 nK0de  Icon User is offline

  • Catch me As Exception
  • member icon

Reputation: 205
  • View blog
  • Posts: 823
  • Joined: 21-December 11

Re: Funniest thing to happen to you while programming

Posted 22 May 2012 - 07:01 AM

*
POPULAR

This is more like a WTF moment. Happened when I was working at a software shop where I was on maintaining old shitty VB6 systems. An error message saying no error! :blink:

Posted Image

This post has been edited by nK0de: 22 May 2012 - 07:02 AM

Was This Post Helpful? 10
  • +
  • -

#7 Alderdragon  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 50
  • Joined: 06-November 09

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 02:37 AM

Hmm, my first month of learning how to program (12th grade, C#), I asked my teacher how to convert a numeric string to an integer -- such a softball question, but we all have them. It was for a simple GUI calculator.

Anyway, her and I filled half a whiteboard with some pseudocode and after about 20 minutes we had a nice compact for-loop. It took each iteration and... well, I forget the details of it, but we used the index variable as an exponent to find the character at each place value and converted it to an int and added that to a sum.

A few weeks later I realized that you could do this just by invoking a method. Only later did I realize that she did that so I knew how and why the method worked rather than using it at face value. Since then I've taken a similar approach when it's reasonable; understanding the general logic behind something before relying on it too much. Always had a great time learning with her, it's funny how things work out. And that's in stark contrast to my high school calculus teacher, who once spent an entire period telling us that black holes don't exist instead of teaching (and this was in 2009, folks).

Other "funny" moments are just the giddy feeling of learning something powerful or useful for the first time, like objects/classes or even simple functions. I also tend to laugh at myself when I just do something completely stupidly wrong or get something to work out of sheer luck.

Sorry for rambling.
Was This Post Helpful? 1
  • +
  • -

#8 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2778
  • View blog
  • Posts: 15,880
  • Joined: 24-September 08

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 03:02 AM

*
POPULAR

My code actually compiled.
Was This Post Helpful? 5
  • +
  • -

#9 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5382
  • View blog
  • Posts: 27,350
  • Joined: 10-May 07

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 03:18 AM

*
POPULAR

This was how calvinthedestroyer & I met in school :

We were in an electronics elective, & there were Commodore 64 computers. He was working on some code, & I was working some code. Eventually one of us asked the other for help, as we were sitting next to each other. We had good ideas of stuff to add to one anothers' respective program. After enough leaning & reaching & bending to see the monitor, we just swapped keyboards.

Apparently we didn't switch them back.

The teacher screamed at us because they had spent hours troubleshooting why the keyboards didn't work right, & I guess the students of the next class were using them at the same time. None of the right characters were printing.

lol.

View PostNeoTifa, on 29 May 2012 - 06:02 AM, said:

My code actually compiled.


This never happened.
Was This Post Helpful? 8
  • +
  • -

#10 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2778
  • View blog
  • Posts: 15,880
  • Joined: 24-September 08

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 12:06 PM

View Postno2pencil, on 29 May 2012 - 06:18 AM, said:

View PostNeoTifa, on 29 May 2012 - 06:02 AM, said:

My code actually compiled.


This never happened.


Why do you have to call me out like that?! You never let me have anything!!!! fuuuuuuuuuuuuuuu
Was This Post Helpful? 0
  • +
  • -

#11 ishkabible  Icon User is offline

  • spelling expret
  • member icon




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

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 01:02 PM

*
POPULAR

hold on, I've seen Neo's code run before...right after I fixed it :P
Was This Post Helpful? 5
  • +
  • -

#12 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7964
  • View blog
  • Posts: 13,588
  • Joined: 19-March 11

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 01:04 PM

View Postishkabible, on 29 May 2012 - 03:02 PM, said:

hold on, I've seen Neo's code run before...right after I fixed it :P



Oooh, ouch.
Was This Post Helpful? 0
  • +
  • -

#13 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2778
  • View blog
  • Posts: 15,880
  • Joined: 24-September 08

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 02:58 PM

I don't recall you having ever seen my codes before.
Was This Post Helpful? 0
  • +
  • -

#14 The_Programmer-  Icon User is offline

  • Death Scythe
  • member icon

Reputation: 24
  • View blog
  • Posts: 593
  • Joined: 24-October 11

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 03:43 PM

Same thing as @Creecher, one of my games made in Java finally worked!
Was This Post Helpful? 0
  • +
  • -

#15 ishkabible  Icon User is offline

  • spelling expret
  • member icon




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

Re: Funniest thing to happen to you while programming

Posted 29 May 2012 - 03:57 PM

Quote

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


really? about a year ago I helped you with several C++ programs in the C/C++ forum...so ha, I *DID* fix your code!
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2