![]() |
Programming jokes
Since we're all getting frustated/stressed/excited with our programming, I thought it'd be fun to post some programming jokes to lighten the mood. I'll start off. This one comes from a friend of mine:
if(time == hammer) stop(); (If anyone doesn't get it, don't be afraid to ask :p ) |
Re: Programming jokes
Wielding only a mouse and keyboard, living off Ramen and Mountain Dew, our brave hero and his team begins the daunting 6-week siege against the mighty C monster.
It got to the point where I walked in on one guy on my team constantly compiling the same thing over and over again. When I asked him why, he told me, "I love seeing the words "BUILD SUCCEEDED". I'm banking up the number of sucessful builds I have to make up for all the syntax errors I'll get later." |
Re: Programming jokes
How many programmers does it take to change a light bulb?
None. They'll just say it's a hardware problem. |
Re: Programming jokes
True story: There's a kid in the programming class below us that really looked up to us in terms of style and skill. One day, I decided to search the network drive from another classroom and take a look at this kid's code to see how he was doing.
I start looking through the source and I see variable names: Ben, Pat, Robert, Tsui.... I almost screamed in horror when I realized he was programming using our names as variables!!!! Talk about creepy. To say the least, we yelled at him for awhile and he no longer makes variable names named after us.... |
Re: Programming jokes
Murphy's Law.
No matter how many times you scream "I've got it now! Last time, it has to work now!!!!" after trying to fix a code you've written for 3 hours after 2 AM in the morning, you'll always get a syntax error and an insanly angry mentor waiting for you to finish. Oh, and the best part is, that after you fustrastedly(spelled right?) work on the code the whole night till dawn, you're friend comes at 9 AM, takes the keyboard for 2 minutes, mabye does one more fix to what he wrote and the code works. obviously a true story case. 3 times in a row. Ouch. |
Re: Programming jokes
Quote:
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
Quote:
C's motto: who cares what it means? I just compile it! - The Top 10 Ways to get screwed by the "C" programming language (#9) :p |
Re: Programming jokes
Quote:
|
Re: Programming jokes
The robot's too heavy, take out some code.
|
Re: Programming jokes
A few mentors from another team came to our pits today and were asking about how our pickup mechanism works.
Me: "This wheel spins and causes the tube to rotate up. When the tube hits this switch, the program opens up the grabber and raises the elevator to the selected height. Then when the driver gets to the goal, this IR sensor..." Other team's mentor: "Hey, did you hear that word he used? Sensor!" |
Re: Programming jokes
(random guy at ms) Mr. Gates, Mr. Gates, It Compiled!!!
(gates) Ship it! (whenever our code compiles without a syntax error, thats the first thing I say) ---- "It Works" = 'A' :) |
Re: Programming jokes
Everything on this robot needs to lose weight, I don't care what you gotta do to get it off just lose the weight, start with the code and work your way back to the hardware.
|
Re: Programming jokes
You may have to be an assembly level programmer to appreciate this. This all has to do with registers.
A programmer's cheer: Shift to the left Shift to the right push down pop up byte byte byte |
Re: Programming jokes
What do computers eat for a snack?
Computer chips! :] (so its a bad joke.... whatever) Fixing hardware issues in software... like for instance one motor not having any set screws on the elevator.... or the gear ratio on the traction motors being to fast to be controlled.... priceless! :ahh: -q |
Re: Programming jokes
[not really a joke, but you might appreciate this]
I never could figure out why my auton never worked freshman year; I was just learning C and had written this: Code:
if (counter = 5) {------------- Insults: Go put do loops in your slow loop! (crashes the processor) Go plug your computer into the tether port! (explodes the system board) I'm working on some more, so I'll probably post again, but there's the ones I've got for now. End Post (VB reference) |
Re: Programming jokes
if(1==1)
{ actNormal(); } else { temp = black; black = white; white = temp; temp = up; up = down; down = temp; /*^^^^^^^^^^^^^^^^^*/ //correcting for rip in space time } ok heres a good one. 2 programmers are changing a light bulb. programmer #1 takes out the light bulb then programmer #2 puts in the replacement light bulb. As he does this programmer #1 starts to get an angry look on his face . . programmer #2 stops then says " ohh sorry off by one error". |
Re: Programming jokes
[To a mentor]
In theory, this fix should work great! [robot entangles arm in rack at full speed] Oops. ;) |
Re: Programming jokes
"We need to save weight. Take out all the white space"
"Just one small change and it will work perfectly." "That wasn't supposed to do that." |
Re: Programming jokes
One of our programmers was working for hours on our arm code. He couldn't figure out why it wasn't working. I looked over the code, put it in, turned off the safety switch.... it worked fine.
Thats why you need more then one programmer. :rolleyes: |
Re: Programming jokes
My programmers, not that I know the slightest thing about the wonderful world of C, were talking about the code in the kind of tones that implie one intends to rearrange the others face, so I step in. It seems that the first angry one was unsatisfied with out auton. code. The first practice match we dropped the arm and ran at the other alliance full speed like jousting, hit the wall with a sickening crunch and grinds to a halt. The second programmer, the one who made the code, is very confused by its performance, swearing that he made it correctly. They crack open the code and see that infact it is an open ended code with no stop to the movement!:yikes: The replace it with a code that makes it spin in circles.
Chris |
Re: Programming jokes
So after working for an entire day on our team's auton code with no success I had finally made the simplest auton yet: shift to high gear and floor it in reverse. At the start of the match the robot turns a complete circle then hits the alliance wall and stops. The entire team shooting me angry glances I hurry to the pits to find the error. One mentor in particular states that the robot must have functioned properly and it was my(the caode's) fault. When the robot comes back the mentor takes one look at the transmission, swears, and apologizes. And just once I could say, "I told you so!"
|
Re: Programming jokes
Quote:
Quote:
True. Don |
Re: Programming jokes
dy/dx = robot go foward
The programmer's all found that humorous. I found it as a scary nightmare. |
Re: Programming jokes
some kid dropped an old sensor in some salsa... and i just laughed.
it is also quite humorous to define aliases for the IFI functions... putdata -> cheese getdata -> explode autonomous_mode -> special_mode_to_run_annoying_drivers_over only a programmer would do this, i suppose |
Re: Programming jokes
Quote:
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
1. This one is probably all too common:
visitor/sponsor/etc: "Hi, John, nice to meet you. I saw the electrica, mechanical, (etc...) teams, where is the rest of the programming team?" 2. The ever popular: QUICK! Re-enable the disable switch! 3. I was the play-by-play commentator at the state VEX Championship, where, in the finals, I found myself saying: "That was quite a depressing autonomous period: we just saw four robots sit and waste millions of microprocessor cycles, contributing to organizational entropy in the universe without actually doing any work!" Half the people laughed because they had no idea, and the other half laughed because they knew exactly what I was saying. |
Re: Programming jokes
Quote:
It took several disappointing matches and lots of testing on the floor with a very long tether cable before we discovered that the software was doing exactly what we asked it to, and the trouble was with the hardware (a gear was riding up out of place and disengaging with its partner). I think the final clue was when the driver complained about not being able to turn one direction in reverse. That's about the time I started putting in "defensive diagnostics" so I could easily demonstrate that the code was operating properly, and could quickly determine when undesired operation was due to disconnected wiring or misbehaving mechanisms. |
Re: Programming jokes
Quote:
Jacob |
Re: Programming jokes
Some more:
My autonomous updating function is named AUT_DoScaryStuff(). ------------------ I am the only person on the controls team that isn't a newbie. The newbies were putting together this year's control board, and (name omitted) said he was finished. As he plugged in the battery, a large spark jumped from the terminal, and nothing powered up. We all got an enormous sinking feeling...but it was time to call it a night, and we left. At the next meeting, I found myself using a multimeter to check the resistance of each Victor, Spike, and the RC to see if anything was shorted. I re-checked every wire very painstakingly, but found no fault. I tested each Victor with our bench power supply. Still no dice. I looked over the circuit breaker, testing conductivity all the way through. I could not find anything anywhere that would indicate what the heck was going on. Finally, I inspected the battery we were using. The connection seemed okay; red went to the + side of the battery like it should...but what I saw on the other side was quite humorous, though it coaxed a few "bad words" out of me at the time: the Anderson pair that one of the newbies put together had red running into - and black running into +; when it was plugged in, + went to - and - went to +, causing a large amount of current to be drawn, every breaker to pop, and a large spark to jump off the contact when plugged in. The punchline? This is the second time I've done this. :mad: Always, always check the simple things first! Otherwise you'll feel dumb when your problem isn't in fact a bad Victor, but really just a reverse-polarity battery. --as a side note, I learned that day that Anderson pairs can be taken apart if necessary. You learn something every day, whether you like it or not...:D King of reverse-polarity, JBot |
Re: Programming jokes
We used a USB chicklet ($150) this year with our Xbox 360 controller, which as some of you may know takes up to a 9V DC input (the chicklet, I mean). We got it out one day and were looking through the manual when one of the newbies took it upon himself to power it up. Luckily I stopped him, with half an inch to spare, from plugging it into a 24V DC power supply he found laying around.
In our code this year, one of the students had written to functions for testing/prototype purposes, and named them "ROFLMAO" and "ROFLMAO2"....but we then ended up using them in the final code. |
Re: Programming jokes
Quote:
To legitimize this post, I guess I should include more jokes. Code:
while(!center) {Code:
$ chown -r us ./yourbase |
Re: Programming jokes
Not quite programming, but software related:
After finishing the last of our scouting input, we tried to check and make sure our information was correct. The database showed that we only had 39 forms filled in instead of 300+!:eek: It was about 11:00 at night and we had to wake up 2 mentors because no one could remember how to do a System Restore. I said "I give up! I'm done with computers! I'm going to bed!" About 2 minutes later, I came back to the room. "OK, I'm done being done with computers. What's wrong?" It turned out that the information was all still there and that we had it set under a filter of some sort.:D |
Re: Programming jokes
Quote:
And as for jokes, I still like my signature and title. |
Re: Programming jokes
Quote:
|
Re: Programming jokes
Question: What's a pirate's favorite variable? (I'll leave the answer blank so a few people have a chance to guess)
Answer: |
Re: Programming jokes
Quote:
|
Re: Programming jokes
please pardon the terrible coding, I can't even get matlab to work, so I apologize.
if(night==sleep) disp("off season") elseif(night==FRC) disp("6 weeks left") heres another I'll try if(input=hammer) then(hardwareprob.) if(input=code) then(typelikecrazy) elseif then(getmorementors) Chris |
Re: Programming jokes
Quote:
With the VEX USB to serial adapter, we figured up that we spent more time downloading code than the time we spent building the robot. :ahh: With about 2 minutes per download, it starts to add up |
Re: Programming jokes
Quote:
|
Another "lighter code" joke
Mentor: "We need to save weight more than ever this year."
Programmer: "Don't worry, we are using the smallest font possible." |
Re: Programming jokes
Quote:
I'll have to remember that term, too. "Defensive diagnostics." It's usually not a code problem, but it doesn't hurt to check. Oh, the joke. Code:
meal = ["spam"]*20 + ["eggs"] |
Re: Programming jokes
are you sure you wouldn't like
Code:
meal=["spam"]*20-["eggs"]+["spam"] |
Re: Programming jokes
Quote:
* I am not actually advocating software patents. |
Re: Programming jokes
the IT director at my high school said that the next version of my green team website should be optimized for lynx (its an old Unix web browser run from command line) i found this quite funny as it is like the absolute opposite of modern day browsers as it has no styles and no images.
/forest |
Re: Programming jokes
Quote:
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
Lynx is so out of date any more except for testing. If you actually want to browse in a console, I recommend ELinks. It supports for example, CSS, XTerm mouse support, 256 colors, and JavaScript.
If you want to get really fancy with text-mode browsers, try links-hacked :-P It basically attempts to take the text-mode out of "text-mode browser" by using it's own graphics driver. |
Re: Programming jokes
Quote:
PS I'd recommend that every FIRST team's webmaster try to at least conform to W3C Web Accessibility Level A standards, and AA or AAA if you can, although those standards are significantly harder to meet. |
Re: Programming jokes
thanks for the feedback
after i get the initial site up im going to make a text based one for dial up users, and to meet some of the accessibility standards, also i am seeing how challenging it would be to make a version that can be viewed on mobile devices. i have my summer all figured out lol :ahh: /forest |
Re: Programming jokes
our programers programed the auton with both sides of the drive train motors turning the same way. Needless to say team 342's dancing auton was born!:yikes:
http://www.soap.circuitrunners.com/2.../fl/fl_031.wmv |
Re: Programming jokes
Quote:
Awful I know ;) |
Re: Programming jokes
So the jokes have digressed into funny stories. Here's one of mine.
Last year our autonomous code drove the bot to the middle of the field, where it spun in circles really fast. It made the announcer's job easy: "360 is doing 360s!". Many people thought it was misbehaving, but really it was to hit and turn light-seeking shooters way off their path. In the finals, there was a bot that drove straight up to the low goal and dumped 10 balls. I just took out "254-" in order to drive the robot straight, which with a little alignment and a speed increase shot us across the field and blocked the goal. Somebody came up to me afterwards and said "Hey! I see you fixed the autonomous!" When really it had been working just as I'd wanted all along. |
Re: Programming jokes
I recall the first time we enabled our autonomous last year. We ran it on the practice field, and it seemed to work alright. But somehow, when we brougt it out on the field, all it did was drive out toward the goal, until in the middle of the field, and spin in circles, while also shooting balls randomly into the crowd. Got quite a few laughs.
If our arm sprocket hadn't kept breaking this year, we were going to just drive out into the field and give the crowd a "wave" with our arm. |
Re: Programming jokes
Once upon a time, I activated autonomous mode.. and my laptop flies at 14.4ft/sec...
A new hard drive was required. |
Re: Programming jokes
We had an autonomous bug last year at Lonestar. It was our first test with our autonomous on practice day, and it basically ran straight forward and smacked the side of the playing field and I think it broke the plexiglass. It was pretty ammusing and the robot was unharmed, and it got quite a few laughs. Sounds just like Lamont-a-bot.
|
Re: Programming jokes
We had an autonomous bug last year where we forgot to set our autonomous done flag which got us stuck in an infinite loop, so it kept driving till it hit a wall... over and over again... kind of like pong. Funnily enough, this worked real well and other teams were asking us for this "feature."
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
The only cables we screw in are the ones for the radio transmitter and reciever, simply because it's a waste of time and effort for all other cables :)
|
Re: Programming jokes
The RS232 Port in our laptop is so loose, we can't screw it in anymore because the screw don't reach.
|
Re: Programming jokes
Robots make you do strange things. I never thought I would ever find myself kicking a robot while saying (directly to the robot, of course) "You are a piece of junk!"
Or saying "That way, you stupid robot!" Or saying "What the heck are you doing?" Too many late nights...:D The team has just learned to ignore me when I appear incoherent. |
Re: Programming jokes
Not being a programmer I have received answers to questions in code form.
while(true) no |
Re: Programming jokes
Quote:
|
Re: Programming jokes
I've been known to do this as well.
Quote:
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
The year before my rookie year, the "programming team" took turns sitting on the robot with the OI board (joysticks etc) tethered. They found that rallying around the room worked better if they mounted empty water bottles all around the robot for bumpers.
This year, if it was ever past 11:30 pm or so, I would somehow always end up with a ringer around my neck, pacing around the room thinking about my latest coding problem. |
Re: Programming jokes
Quote:
Of course, the programming team entirely gets yelled at for our brainstorming sessions, which consist of us talking about ideas in a hackysack circle. "Start doing some work!" "We are!" "Your software's not working!" "It's a hardware problem!" |
Re: Programming jokes
The first time I taught programming for FIRST, I took a very hands-off/trust-the-student approach. I have tried to maintain that approach over the years, but now I insist that they put the robot up before they put code in.
It was early in the build season, and the new programmers were just getting to learn the system. As practice, I asked them to put a low pass filter on the motor outputs and then experiment with different parameters. At one point, the parameter put the low passes' knee at .05Hz. At the same time, the variables were accidentally being initialized to all 0 (or was it all 254?). The result was that the robot would turn on, spin, charge. Without fail, it charged me. It did not matter where I was, it would always find me and hit me. Fortunately, the robot had a few really nice foot/hand holds. I would jump on and hit the main breaker before it hit the wall. |
Re: Programming jokes
true story: when we were revising last years robot code. we watched cops and wrote down all the code words they use and we used those in our code our mentor was looking over it and hes gets to the equation pot+driving=jail. Never seen and indians face turn read before but i did that day
|
Re: Programming jokes
Code:
if autonomous = success{ |
Re: Programming jokes
I'm reminded of my 2006 autonomous code. In 2005, we had the senior class' valedic. doing our software (If anyone saw Moonraker's autonomous, you can tell how good he was.) Well, 2006 was my first year by myself, so I thought I'd try some basic autonomous. We used it in only one match, and rammed into our alliance partner so hard that the robot fell on its side,. and stayed there the rest of the match. We joked afterwards that "Well, they're better than us in everything else (mainly sports), but they can't survive our robot." Needless to say, i went up and apologized after the match.
Sorry, 1727. |
Re: Programming jokes
Marketing Team=Self Destruct
I hate you guys...(lucky we didn't finish on time) |
Re: Programming jokes
there are 10 types of people in the world:
Those who know binary and those who don't. |
Re: Programming jokes
Well as it seems this has gone to just programming stories, I'll share one of my own.
This year we decided not to have an autonomous.....I'm not sure why. Our programmers were absent for a lot of meetings so that might have a lot to do with it. However, sometime our robot would spontaneously drive backwards. We don't know why and we occasionally lined up facing our wall. We would end up speeding across the field and then having to come all the way back. Sometimes we would just twitch in place a few times or grind up against the wall. It was kind of scary because we didn't know what caused it, it only happened occasionally, and we're pretty sure we never touched the auton programming.... |
Re: Programming jokes
Quote:
We did get something right...our autonomous scored one time. And one time was enough for me, considering we were doing it blindly (no room for a camera). :cool: |
Re: Programming jokes
No wonder Autonomous doesnt work, our robot is full of bugs!!
this was refering to actual bugs, anyone who went to the FL regional knows what im talking about |
Re: Programming jokes
Quote:
|
Re: Programming jokes
they put me never programed a robot of this size and power to be head programer so know i need to learn to program my thrid year hmmm snap
|
Re: Programming jokes
Quote:
i got a speech synthesizer and started to program it, it tried for months and then fianally realized i had to set the sda pin to high...it didnt show that in the schematic!:mad: |
Re: Programming jokes
We should make a LOLCODE to hex compiler. I so want to write programs like this:
Code:
HAI |
Re: Programming jokes
Quote:
My favorite programming joke: (Shamelessly stolen from a sig here on CD, sorry I don't remember your name!) If it's falling apart, it's a mechanical problem. If it's spewing magic smoke, it's an electrical problem. If it's rampaging around destroying things, THEN it's a programming problem. |
Re: Programming jokes
How to shoot yourself in the foot
C You shoot yourself in the foot. C++ You accidently create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying "That's me, over there." COBOL USEing a COLT 45 HANDGUN, AIM gun at LEG.FOOT, THEN place ARM.HAND.FINGER on HANDGUN.TRIGGER and SQUEEZE. THEN return HANDGUN to HOLSTER. CHECK whether shoelace needs to be retied. BASIC (compiled) You shoot yourself in the foot with a BB using a SCUD missile launcher. Visual Basic You'll really only appear to have shot yourself in the foot, but you'll have so much fun doing it that you won't care. Java You locate the Gun class, but discover that the Bullet class is abstract, so you extend it and write the missing part of the implementation. Then you implement the ShootAble interface for your foot, and recompile the Foot class. The interface lets the bullet call the doDamage method on the Foot, so the Foot can damage itself in the most effective way. Now you run the program, and call the doShoot method on the instance of the Gun class. First the Gun creates an instance of Bullet, which calls the doFire method on the Gun. The Gun calls the hit(Bullet) method on the Foot, and the instance of Bullet is passed to the Foot. But this causes an IllegalHitByBullet exception to be thrown, and you die. Apple System 7 Double click the gun icon and a window giving a selection for guns, target areas, plus balloon help with medical remedies, and assorted sound effects. Click "shoot" button and a small bomb appears with note "Error of Type 1 has occurred." Windows 3.1 Double click the gun icon and wait. Eventually a window opens giving a selection for guns, target areas, plus balloon help with medical remedies, and assorted sound effects. Click "shoot" button and a small box appears with note "Unable to open Shoot.dll, check that path is correct." Windows 95 Your gun is not compatible with this OS and you must buy an upgrade and install it before you can continue. Then you will be informed that you don't have enough memory. CP/M I remember when shooting yourself in the foot with a BB gun was a big deal. DOS You finally found the gun, but can't locate the file with the foot for the life of you. MSDOS You shoot yourself in the foot, but can unshoot yourself with add-on software.:D |
Re: Programming jokes
task main()
{ if (robot == working) {Programmers = happy } else Programmers = sad, depressed, unhappy } save save compile I got one that my programming mentor told me: Question: How are Halloween and Christmas alike? Answer: They happen on the same day. Does any one get this? It is with the decimal number system and the octal number system. when you convert 31 (which is the date of Halloween) from octal to decimal it is 25 (which is the date of Christmas). :p |
Re: Programming jokes
Quote:
|
Re: Programming jokes
Its java, but I couldn't resist adding my favorite function
public int getRandom(int range){ return 4; } Back in 2005, during Triple Play, our head programmer was supposed to make a code for the bot to move for a second or two then stop. So we load the code into the bot at the last minute and put it on the field in one of the outer positions. The second the match starts, the robot speeds away across the field. Luckily, the robot's drivetrain was poorly constructed, so it arced away from ramming the opponent at full speed and instead hit one of the corner goals so hard, it knocked off the hanging tetra, scoring points for the opposing alliance! Long story short, infinite loops are bad. |
Re: Programming jokes
Our Aim High robot had a wish to kill us all.
The night before ship, we were fixing our auto mode. The robot starts the auto, drives towards the goal, camera sees the light, bot turns to the drivers direction (which is exactly the opposite direction of the goal) and shoots the drivers with poofs. after a fix, the bot worked well for a while. Another test a few minutes later (wanted to make the auto quicker). The bot goes to the goal, spins to our direction drives a bit forward charging us. We see that it's shooter mechanism is on, and it's gonna start shooting balls soon. We all duck, in order to avoid te coming balls, when suddenly the robot moves its cannon down, exactly with us ducking. After a few checks we realized why he did it. Someone put the goal in the auto at a height of 1 meter instead of 2. We also had a window in our gym, where we tested auto. the window, apparently, reflected the green light, and one time the bot got the window as its target. By the time we disabled the bot, it already broke the window witha poof. |
Re: Programming jokes
Quote:
|
Re: Programming jokes
a programmer was found dead in the shower. After some investigation the cause of death was revealed.
He simply followed the instructions of the shampoo. 1. wet your hair 2. put the shampoo on it 3. rub it 4 wash your head 5. repeat ... |
Re: Programming jokes
Quote:
Here's another joke: Quote:
|
Re: Programming jokes
|
Re: Programming jokes
i am so glad they took Mr. Clippy out of microsoft office in the new version
has anyone seen family guy when stewies taking over the world and the paperclip asks him if he needs help? that was hilarious! |
Re: Programming jokes
Quote:
I cried when it happened! |
Re: Programming jokes
Stewie: "Stupid paperclip! Nobody likes you anyways!"
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
Quote:
|
Re: Programming jokes
![]() |
Re: Programming jokes
Haha, I know the person who designed/consulted on the paper clip (he's a professor at Stanford). Apparently Microsoft listened to about 2% of his advice and that's why it turned out so badly.
|
| All times are GMT -5. The time now is 11:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi