![]() |
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. |
| 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