|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#76
|
||||
|
||||
|
Re: Programming jokes
there are 10 types of people in the world:
Those who know binary and those who don't. |
|
#77
|
||||
|
||||
|
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.... |
|
#78
|
||||
|
||||
|
Re: Programming jokes
Quote:
(There's my cheesy pun for the day).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). ![]() |
|
#79
|
||||
|
||||
|
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 |
|
#80
|
||||
|
||||
|
Re: Programming jokes
Quote:
|
|
#81
|
||||
|
||||
|
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
|
|
#82
|
|||
|
|||
|
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! ![]() |
|
#83
|
|||||
|
|||||
|
Re: Programming jokes
We should make a LOLCODE to hex compiler. I so want to write programs like this:
Code:
HAI
CAN HAS API.H?
PLZ OPEN FILE MAIN.C
AWSUM THX
I HAS A VAR PWM_1 = 127
IM IN YR LOOP
UP VAR!!1
IZ VAR BIGGER THAN 254? KTHX
VISIBLE "ROBOT CAT CANNOT GO PAST 254"
IM OUTTA UR LOOP
O NOES
VISIBLE "COMPILER CAT IS NOT AMUSED"
KTHXBYE
![]() |
|
#84
|
||||
|
||||
|
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. |
|
#85
|
||||
|
||||
|
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. ![]() |
|
#86
|
|||
|
|||
|
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). ![]() |
|
#87
|
|||
|
|||
|
Re: Programming jokes
Quote:
![]() |
|
#88
|
||||
|
||||
|
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. |
|
#89
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Jokes | Branden Ghena | Chit-Chat | 42 | 14-05-2006 14:06 |
| Arrrr!! It be robot pirate jokes!! | superbeano2004 | Games/Trivia | 21 | 20-09-2005 09:06 |
| Science jokes..... | Adam Y. | Chit-Chat | 20 | 10-12-2004 11:55 |
| Practical Jokes & Mr. M | Jack | Chit-Chat | 1 | 21-04-2003 13:40 |
| FIRST JOKES | AntiCrombieDuck | Chit-Chat | 20 | 21-02-2002 15:09 |