Go to Post There is no charge. We just want to help. We are family… - emnasson303 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #106   Spotlight this post!  
Unread 19-12-2007, 00:21
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Programming jokes

It probably requires DirectX 10 though. No way I could run that "Reality" engine
__________________
  #107   Spotlight this post!  
Unread 19-12-2007, 12:52
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Programming jokes

Quote:
Originally Posted by basicxman View Post
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!
I just found the episode online, and took the screenshot.






Jacob
  #108   Spotlight this post!  
Unread 20-12-2007, 04:17
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Re: Programming jokes

Quote:
Originally Posted by artdutra04 View Post
The only downside to this algorithm is that there is no rand() function of any kind on our controller.

The best way I've found to generate "random" numbers on Vex/FRC controllers is to start a timer at the beginning of your program, and whenever you need a random number get the modulus of the timer value when divided by a number of your choice.
That is a pretty bad idea because you are bound to get high periodicity given this method if you need to generate random numbers sequentially.

a really simple way of doing it is to use a LCG (Linear Congruential Generator ... this is what the lcg_value function in php does)

X.0 is your seed

X.n+1 = (a*X.n + c) mod m

wikipedia suggests:
a = 1664525, c = 1013904223, m = 232

this is *still* not a great way to generate random numbers if you are doing simulations, but as far as FIRST applications go it should be pretty sufficient.
__________________
Team 701

Last edited by Salik Syed : 21-12-2007 at 03:32.
  #109   Spotlight this post!  
Unread 20-12-2007, 04:22
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Re: Programming jokes

Quote:
Originally Posted by JesseK View Post
Maybe he lacked the proper people skills. Many a great idea go mutiliated or unknown because someone doesn't speak up enough or that someone lacks the insight into how to be pushy enough to make the idea become a success.

(Java-C-MPLab pseudo-goullash code)
Code:
int rand = Math.rand() * 127;
int pos_neg = Math.rand;
if(pos_neg > 0.5) 
pos_neg = 1;
else 
pos_neg = -1;

//Drive Motors
pwm_04=pwm_05=(rand + 127);
pwm_06=pwm_07=(rand * pos_neg + 127);

//Arm
pwm_08=255; //Arms up!
pwm_09=(rand/2*pos_neg + 127);  //Wavy hands
This isn't a joke; this will be our autonomous algorithm next year if our students don't come up with anything to do in autonomous. Students be warned!
I can tell you that was definitely not the case with this guy, he is one of the most gregarious outgoing guys I have ever met... I think this was more a case of microsoft being microsoft. The primary problem was that they did NOT track previous user interactions with the paper clip, and by presenting the paper clip as a "living" character they created expectations of that from the user without ever delivering it.
__________________
Team 701
  #110   Spotlight this post!  
Unread 09-03-2008, 23:35
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Programming jokes

After saying "this is it, I have the right answer!" countless times only to discover that it was not the right answer, I developed my universal programming qualifier:

"In my perhaps slightly correct opinion, I think I may have possibly estimated what I believe could maybe be almost somewhat close to a semi-decent approximation of the nearly-correct answer."
  #111   Spotlight this post!  
Unread 10-03-2008, 08:41
ComradeNikolai ComradeNikolai is offline
Registered User
AKA: Nicholas
FRC #2603 (Team Hornet)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Medina, Ohio
Posts: 203
ComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to behold
Re: Programming jokes

I was in the back of our room doing the programming (I use the computer in the back, MPLAB is on it, and then the computer in the front downloads it), so I told my coach is was ok to go ahead and download the autonomous, which he did. He consequently tested it and Fluffy raised her arm and lunged forward, nearly killing our coach's projector.

After that, he learned where the "robot reset" button was.
__________________
I cut myself shaving with Occam's razor.

  #112   Spotlight this post!  
Unread 10-03-2008, 10:11
cerberus170 cerberus170 is offline
Registered User
FRC #0522
 
Join Date: Oct 2006
Location: Staten Island
Posts: 2
cerberus170 is an unknown quantity at this point
Re: Programming jokes

here are a few i thought of:

1. Right code, wrong robot

2. Oh, it wasn't supposed to do that?

3. I think something is wrong, I keep getting "build succeeded"

4. Digital inputs on the robot controller are not the same as the oi

5. I thought you were programming

6. Sure I can write my own game, but I think asking me to make the robot go forward 10 feet without setting itself on fire is a little too much to ask.
  #113   Spotlight this post!  
Unread 10-03-2008, 12:58
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Programming jokes

Quote:
A friend and I were standing around the grill, watching the burgers cook. You know, if you don’t watch them they don’t get done.

Another friend walks up and comes up with this immensely clever line:

“How many programmers does it take to grill hamburgers?”. (I should mention said friend is a salesman. )

My first reaction is to offer a mocking half-laugh at this ‘joke’ (though admittedly, most of my jokes are worse). However, the programmer in me can’t resist the challenge of providing a technically correct answer.

“1″… Even though there are clearly two of us standing there.

From the salesman I receive a confused look and a “Huh?”. Moments later, my programmer friend starts laughing.

The salesman asks “What, is that some inside joke or something?”

The griller explains. “Let’s say you have an array of 10 numbers. You would expect them to be numbered 1 through 10. But the computer will number them 0 through 9 instead.”

I’m not sure if the next look from my salesman friend was more confusion, disgust, or some potent mixture of both.
something i found on the internet
  #114   Spotlight this post!  
Unread 11-03-2008, 18:22
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Programming jokes

A joke based on arrays. Now I've seen everything.
__________________
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 06:33.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi