tags:

views:

2996

answers:

62

I work at a small company full of software Nerds. Our wives have decided to put a Co-Ed softball team together called "The Nerds", rightfully so. One of the wives happens to be a Graphical Designer, she has come up with the brilliant idea to put Code on the Jersey (How this wasn't my idea, I have no clue).

The only rule is, she wants Nerds to be a part of the code. I've been racking my brain to come up with something clever, but really haven't been able to. So I decided to open it up to my online family. Where better to ask than SO?

Update:

Thanks to you everyone for your suggestions. The final decision was:

alt text alt text

As you can see we had nerd nicknames, my favorite nerd nickname was "PC Overload". Because I played a lot of FPS in college they gave me the nickname of "Headshot".

It was an overall fun Softball season. Unfortunately, like true nerds are record was 2-10-0. The only team we were able to beat was the nurse team! At least the Nerds beat the Nurses! :)

+6  A: 

select count(wining_games) from games where score > 0 and team = 'NERDS'

100 rows returned

Joe Pitz
how come `count()` returns 100 rows?
Grzegorz Oledzki
I know, I know, I have been thinking about this all night.I was originally going to show just winning_games scores
Joe Pitz
+2  A: 
if(nerd_score >= (your_score + 10))
  game_over();
Matt J
Nerds has to be part of the code
Joe Pitz
`if(Nerds_score >= (Opponent_score + 10)) \ game_over(); ` maybe?
glasnt
+36  A: 
while (innings_count <= 9 || teams[0].score == teams[1].score)
{
    Nerds.Play(ball);
}
Brian Ensink
But this expression can terminate the game early. You don't want that unless there is lots of beer involved.
slugster
@slugster that is what I get for not writing a unit test :)
Brian Ensink
+1 Instant classic. Even non-nerds *may* get it.
Mark Brittingham
@mark - no, they won't
Antony
@mark. Change the || to "or" and the "==" and maybe the vb guys will get it. Personally, I just barely get it ;-) I still gave it a +1 as it's my favorite.
Dayton Brown
@Dayton Yeah, I'd definitely use "OR" for this context.
Andrew Coleson
@Dayton/@Andrew - man, the "||" is part of what makes it a classic to me. And yeah, you and @Antony are probably right about people not getting it. On more than one occasion I've tried to explain programming or database queries to otherwise intelligent people and finding that I just couldn't make any headway at all.
Mark Brittingham
+10  A: 

Pick something that mashes up LOLcats and the iconic phrase "all your base are belong to us".

This is subtle on a couple of levels - softball has bases. The phrase "all your base are belong to us" means you have been pwned or beaten. LOLcats just rock any time anywhere, just referring to a LOLcat is symbolic of geekdom.

References:

LOLcats here and here

"All your bases" saying here

slugster
+1 I'm not going to lie, this is about as nerdy as it gets. If only I could think of a way to tie it to code.
jsmith
+1 "LOLcats just rock any time anywhere" Best SO answer, ever.
Jeffrey L Whitledge
+1 But if we're going to go the cat route, can't we atleast go with trollcats? http://trollcats.com/2009/12/hang-on-just-let-me-wash-my-paws-and-check-the-locks-one-more-time-trollcat/
Frank Krueger
then lolcode is obviously the language you are after... :-)
David Johnstone
I can haz all ur base? kthxbai!
Robert
Definitely - *kthxbai* has to be on the shirt :)
slugster
Altered from another answer: "Nerds in ur diamond stealing all ur base" (a cat with glasses ought to do).
Michael Myers
`us = new Team( 'Nerds' ); YourBase.all().areBelongTo( us );`
fireeyedboy
+8  A: 
for each player in team {    
    if (player.isAthletic)
        return false;
    else
        nerds.append(player);
}
Jason
Perpetuating stereotypes much?
Michael Myers
`return false;` should be `continue;` I believe.
fireeyedboy
oh stop. i'm a nerd and athletic. it's a joke, silly. and it's `return false;` because according to the stereotype i'm perpetuating, an athletic person isn't a nerd.
Jason
But the return exits the loop. So a team that looks like `[non_athlete1, athlete1, non_athlete2, non_athlete3, athlete2]` results in a nerd team of `[non_athlete1]` when it should be `[non_athlete1, non_athlete2, non_athlete3]`
Wallacoloo
+3  A: 

How about...

var ball = new Ball();

try{     
   while(u.feelReady())
   {
      Nerds.hit(ball)
   }

} catch(anything){

   // you wish
}
sgreeve
You could also do something similar with throws: `throw (YouWish)` The parenthesis are intentional there so that it's read as: throw, *you wish*
Wallacoloo
Nice. :) Thought about using throw, but couldn't make it work with the hit needing to come immediately after the pitch.
sgreeve
Maybe `if (Nerds.pitching) { throw (YouWish) } else { Nerds.hit(ball) }` inside the try block.
Wallacoloo
Nice work - I like it.
sgreeve
I guess I'll make that it's own answer then :D
Wallacoloo
+6  A: 
while (Ball.Altitude> 0) base++;
aslum
I like this one
johnc
+3  A: 

What about:

score++

or

++nerds.score;
james
or perhaps win++
Zeus
+7  A: 

Maybe something along these lines?

#include <nerds.h>

if nerd_swing() == HIT
{
    cout << "Run, Run, Run!"
}
else
    strike++
Jonathan
What language is that?!
chpwn
+1  A: 
IF ($IQ > $heightCM) {
    $teamNerd[] = $player;
} ELSE {
    $teamLoser[] = $player;
}

ok, seriously, the following answer is the one you MUST use:

SWITCH($nerd.sex)
    case "m":
        $nerd.team = ΛΛΛ;
        break;
    case "f":
        $nerd.team = ΩΜ;
        break;

optional bonus output:

echo "HNU- HNUH HNUH HNUH HNUH!" // nerd laugh
Andrew Heath
I only know PHP. If the same basic idea looks better in another language, feel free to use that! :-)
Andrew Heath
+22  A: 
Nerd pitcher = new Nerd();
if (pitcher.isBellyItcher) {
  throw WeDontWantHimException();
}

EDIT: I'd like to support my idea further by pointing out that there is already precedent for putting this phrase on a shirt. ;)

gnovice
Is that infield chatter?
Michael Myers
@mmyers: Since it isn't spoken, but just displayed, I think it falls into the category of "infield spam". ;)
gnovice
Actually, I was asking because that sounded vaguely familiar -- but having never played organized baseball or softball, I wasn't sure.
Michael Myers
This is the most humorous, IMO.
jsmith
It should be surrounded by a function called GetPitcher() or NeedPitcher()
jmucchiello
+17  A: 
function old_ball_game() {
    while(1) {
        me.take_out(ball_game)
        me.take_out(crowd)
        me.buy(peanuts)
        me.buy(cracker_jack)
        if (rand() >= .5) {
            break
        }
    }
    Nerds.root()
    Nerds.root()
    Nerds.root()
    if (!(Nerds.score() > Opponent.score())) {
        return(shame)
    }
    if (Nerds.strikes() == 3) {
        out++
        exit
    }
}

EDIT: For a shorter version, I think this stanza would get the point across:

    Nerds.root()
    Nerds.root()
    Nerds.root()
    if (!(Nerds.score() > Opponent.score())) {
        return(shame)
    }
bmb
That'd need a large jersey
johnc
(JohnC sort of beat me to it D:) If it were my jersey, I'd like something a bit shorter. But treating "me" as an object was an excellent idea!
Wallacoloo
This is the correct answer.
Michael Petrotta
@johnc ...or a small font
steamer25
Way too long... but brilliant.
Michael Myers
OK, I guess maybe a shorter version is needed.
bmb
Really want to change the third `root` to `beer`, as that’s how I always sung it.
jleedev
+13  A: 
while(!gameOver){
     pitch();
     hit();
     run();
}

nerdWins++;

or, more simply:

if( gameOver ) {
  nerdWins++; 
}
scottm
+1 for brevity.
MPelletier
I like the second one the best. Short and sweet, good jersey material.
Phil
Yea, I know the short and sweet is going to go over well with the Jersey creator.
jsmith
+23  A: 
Nerds.exit(0); // Success
sgreeve
short and sweet
scottm
The code is nice, but it's the comment that makes it art.
sgreeve
+1  A: 
try{
    Nerds[PITCHER].throw();
}catch(flyBallException f){
    Nerds[BATTER].out();
}
Cam
If you have to explain it... you're not nerdy enough. Laugh and leave them confused - it means you're smarter than them. Well, no, not socially smarter I suppose, but who cares about that ;-)
Steve314
That is the first truly nerdy suggestion. It's actually a code pun or something.
Yar
Thanks yar :) ... and @Steve, I agree. Took out the explanation sentence :)
Cam
+7  A: 

My third and final attempt. Not strictly code, but "Nerds" is there if you speak geek.

78 69 82 68 83

or in Hex, for the slightly more geeky "N":

4E 45 52 44 53

sgreeve
Hah. I thought about this one myself.
jsmith
go with the hex version, prefix the numbers with 0x, and print it in traditional jersey lettering style.
lincolnk
Fantastic idea!
sgreeve
+6  A: 
until game.eof?
  cheer_for "Nerds"
end
thorncp
+37  A: 
Nerd_Bases.add(Your_Base.all());

(thx @slugster)

quixoto
This is probably my favorite. But when I have the other Nerds in the office vote on one, I bet they won't get this one.
jsmith
I don't get it.
Jim G.
Shouldn't this be: `YourBase.all().areBelongTo( Nerds );` ?
fireeyedboy
Or even better: `us = new Team( 'Nerds' ); YourBase.all().areBelongTo( us );`
fireeyedboy
@fireeyedboy I like the subtlety of the original.
NomeN
@NomeN: Hmm, yeah, you got a point there.
fireeyedboy
+4  A: 

Make all the numbers hexidecimal.

And if Java is okay as a language:

boolean isHit = true;
Thread nerd = new Thread(new Runnable()
{
    void run()
    {
        while (true)
           System.out.println("Go!");
    }
});

if (isHit)
{
    nerd.start();
}
duffymo
+1 for jersey numbers, but why not binary?
bmb
I wish.. League requires 2 digit numbers only allowing numbers 1-4.
jsmith
`boolean isHit`... or `boolean iShit`? :)
Mark Rushakoff
D'oh! Could get somebody tossed from the league. Two digit hex allows a bigger team than decimal.
duffymo
@bmb - two digit binary would leave you with only four players - 00, 01, 10, and 11. Could make it even harder for the Nerds to win.
duffymo
@jsmith, it would only allow numbers 0-3 (inclusive). Do they allow 0's, or would 01, 10, and 11 be the only usable numbers?
Wallacoloo
+6  A: 
Base.find(:all).each do |b|
  b.owner = "Nerds"
end
thorncp
A: 
bool alwaysYieldsTrue()
    for each Nerds as Nerd
        if Nerd.isntPro()
            return false
    return true
Cam
+2  A: 
while (season.HasGames)
{
    nerds.Dominate(season.CurrentGame);
    nerds.Victories++;
    season.NextGame();
}

while (true)
    Console.WriteLine(nerds.Victories);
Phil
+11  A: 

Print "Nerds" in Brainf*ck:

+++++[<+++>-]<[>+++++>+++++++>++++++++<<<-]>+++.>----.>------.<-.>+.
Mark Rushakoff
+1 for beating me to it.
Cam
Why is everyone so obsessed with brainfuck :D
Helper Method
because it's awesome!
Matt S.
+1  A: 
while (Nerds.Score++)
{
   You.Score=null;
}

Obviously, Score is a nullable type.

MPelletier
+2  A: 
nerds += ↑

(That's an arrow pointing at the players head...)

detly
How about `nerds↑↑` (like `nerds++`)?
Wallacoloo
The joke was meant to be that it's pointing at the players head :P
detly
Ohh... Sorry. So obvious now :D
Wallacoloo
+4  A: 

Inspired by sgreeve's post

if (nerdTeam.batting) {
    for each (nerd in nerdTeam.players) {
        nerd.swing(bat);
    }
} else {
    for each (nerd in nerdTeam.players) {
        try {
            if (nerd.hasBall) {
                throw ball;
            }
        } catch (ball) {
            nerd.switchTeams();
        }
    }

An explanation for catch (ball) { nerd.switchTeams(); } in case nobody gets the humor:

If a nerd is able to catch the ball, he's on the wrong team.

Wallacoloo
+4  A: 

We're in ur base stealing ur base

tsilb
should be: we're in ur diamond stealing ur base
Antony
@Antony: close, just add an 's' to 'base'
Wallacoloo
@wall - 1 base is enough for anyone...
Antony
@Antony: 1 base may be enough for anyone, but for "us" only "all" will do.
Robert
+10  A: 
Nerds.hackScoreboard(100, 0);
Nerds.leave();

I just thought of a slight variant:

Nerds.hackScoreboard(100, 0);
sleep(3600);
Wallacoloo
Gotta say - I think this totally gives the wrong impression.
justkt
A: 
The N3RD$

while(innings < 9) 
  runs++
drush
A: 
GameBoy.setCartridge(SlugFest);
Nerd.play(GameBoy);
Wallacoloo
+1  A: 
Nerds.Balls > Your.Balls == true
Robert
+13  A: 

Come on, the only true answer is BINARY!

01010100 
01101000 
01100101 
00100000
01001110 
01100101 
01110010 
01100100  
01110011 
Zerofiz
Haha, pretty good. I wonder how many people would actually translate it **in their heads** out on the field.
Wallacoloo
Or go even more obscure and just make it a binary waveform around the bottom of the jersey. Good luck with anyone really getting it though.
Robert
Or you could go with hex for a more compact rendition: 546865204e65726473On second thought, not enough letters in there. The binary looks better.
jcdyer
@wallacoloo: If the other team is full of nerds also, you'll get an advantage while they're distracted trying to figure out what your jerseys say.
Michael Myers
+2  A: 

I'll apologize beforehand for this...

class equipment {};
class Base : equipment {};
class Ball : equipment {};
class Baseball: Base, Ball {}

It's a baseball inheritance diamond. Don't use it in real life C++ if equipment has virtual functions!

I tried to find something that involved popping a variable called "fly" but couldn't come up with anything..

James McLeod
+51  A: 

Plain and simple:

  <Nerds/>
Gautam
+1, nice, clever.
AMissico
On the front, have `<Nerd name="whoever">` and on the back `</Nerd>`.
Wallacoloo
@wallacoloo. Now that is the correct answer.
AMissico
@wallacoloo: Could have <Nerd id="shirt number" name="their name"> back </Nerd>Don't want to forget the jersey number and all.
Hazior
@wallacoloo, @Hazior, shouldn't there be a `class` as well, for the team name?
David Thomas
+1 @ wallacoloo
Cam
@wallacoloo: win!
quixoto
+10  A: 

¡spɹəu

¡spɹəu

AMissico
+1 for getting that to print upside down, you know i just had to check how you did that!
slugster
˙sɹəʇɔɐɹɐɥɔ əpoɔıun əɹɐ ʎəɥʇ
AMissico
¡əɯosəʍɐ sı ɹəʍsuɐ ʎɯ ʎɥʍ sı ʇɐɥʇ
AMissico
How did you get that upside down d
jbrennan
Check out charmap utility. Start>Run>CharMap
AMissico
+1  A: 
#include <assert.h>    
assert(Nerds > opposingTeam);

or elaborating on the "all your base" thing

for_each(base in YourBase) { base.setBelongTo(us); }
Graphics Noob
`base.setOwner(Nerds)` sounds better to me.
Wallacoloo
that would make sense if the original phrase was "all your base are owned by nerds"
Graphics Noob
+2  A: 
nerds.Dominate();
Phil
+1  A: 
foreach (var player in players)
{
    ITeam team;
    if (player.IsWhite && player.IsNerdy)
    {
        // They see me mowin' my front lawn...
        team = nerds;
    }
    else
    {
        team = anti_nerds;
    }
    team.Add(player);
}
Skinniest Man
A: 
ocdcoder
+4  A: 

I think I'd go with a fork bomb, simply because it's so cool:

int main ()
{
  for(;;)
    pid_t nerd = fork();
}
FX
+2  A: 

sudo make me a N3RD

Phill Pafford
A: 

what about SQL:

select count(*) as counter from teams where name <> 'Nerds' and status = 'Good'

result counter = 0

Jay
+1  A: 

/* */

(No Comment)

SaberUK
A: 

life=fn(fun)

or

ReadReverse(uoYkcoRlliWeW)

Sam at TVentures
+2  A: 
CREATE PROCEDURE HaveFun
@Pitch VARCHAR(10);
@MyStrikeCount INT;
AS
SELECT Nerd, RAND(@MyStrikeCount) AS HomeRuns
FROM Inning.Nerds
WHERE Inning.Nerds.BeerCan IS NOT NULL AND @Pitch NOT IN ('FastBall','Dirt','Ball','HitBatter','Stands','Wild')
AND @MyStrikeCount < 3
GO
Mark Schultheiss
+1 NOTHING is nerdier than sql.
Yar
A: 

Command Line:

[[email protected] name]#./team_member_name.sh
Phill Pafford
+13  A: 

C:/Ball
C:/Ball/Run
Run/Nerds/Run

IrishJoker
+4  A: 
var Softball = {
 team  : "Nerds",
 player: "Smith",
 number: 10,
 nerd  :  true
}

or just simply

/* Nerds
 * Smith
 *  #10
 */
fudgey
+4  A: 

How about some plain black-and-white (or red-and-white) jerseys with some css?

    #Jersey
    {
        background-color: #CC0000;
        color: #FFFFFF;
        font-family: Script MT Bold;
        font-size: 50pt;
        text-align: center;
        width: 16in;
        height: 24in;
    }
    #Jersey:before
    {
        content: "Nerds";
    }

Assuming, of course, that your colors are red and white.

(CSS3 not compatible with IE ;-) )

Aaron
this one is absolutely the geekiest
Şafak Gezer
+7  A: 

I like Yoda's saying from thinkGeek:

$DO || ! $DO ; try
try: command not found

http://www.thinkgeek.com/tshirts-apparel/unisex/itdepartment/9e4a/

Seems apt as a sports metaphor: trying is just an excuse for quitting before being successful.

James
A: 

How about...

  if Team = 'Nerds' then
    Ump.Shout('Ball!')
  else
    Ump.Shout('Strike!');
Warren Markon
A: 
while(1) {
   cout<<"Nerds";
}
mfperzel
A: 

{ball1,ball2,ball3,ball4} = home.run

Myster October
+2  A: 

My suggestion:

this.game(() => nerds);

...as in "no arguments, this game goes to the nerds"

Gordon Mackie JoanMiro
+1 Including a Lambda is pretty Awesome. Not to mention it's Short and Sweet, and clever.. Nice!
jsmith
cool idea, too obscure without the explanation though
Şafak Gezer
A: 
Dim name As Nerds
Vicheanak
+2  A: 

Nerds++

Simple, readable from a distance of more than a foot away, and applicable in many programming languages.

Roger Pate
+6  A: 

I got my inspiration from two sources: sgreeve's answer and this site.

    /// <summary>
    /// Team Nerds
    /// </summary>
    public static void Main(string[] args)
    {
        Opponent losers = new Opponent();
        losers.Burninate();
        Environment.Exit(0);  // Success
    }

    class Opponent
    {
        public void Burninate()
        {
            Console.WriteLine(@"                                                 :::                 /n" +
                              @"                                              :: :::.                /n" +
                              @"                        \/,                    .:::::                /n" +
                              @"            \),          \`-._                 :::888                /n" +
                              @"            /\            \   `-.             ::88888                /n" +
                              @"           /  \            | .(                ::88                  /n" +
                              @"          /,.  \           ; ( `              .:8888                 /n" +
                              @"             ), \         / ;``               :::888                 /n" +
                              @"            /_   \     __/_(_                  :88                   /n" +
                              @"              `. ,`..-'      `-._    \  /      :8                    /n" +
                              @"                )__ `.           `._ .\/.                            /n" +
                              @"               /   `. `             `-._______m         _,           /n" +
                              @"   ,-=====-.-;'                 ,  ___________/ _,-_,'`/__,-.        /n" +
                              @"  C   =--   ;                   `.`._    V V V       -=-'#==-._      /n" +
                              @" :,  \     ,|      UuUu _,......__   `-.__A_A_ -. ._ ,--._ ,`` `-    /n" +
                              @" ||  |`---' :    uUuUu,'          `'--...____/   ` `.   `            /n" +
                              @" |`  :       \   UuUu:                                               /n" +
                              @" :  /         \   UuUu`-._                                           /n" +
                              @"  \(_          `._  uUuUu `-.                                        /n" +
                              @"  (_3             `._  uUu   `._                                     /n" +
                              @"                     ``-._      `.                                   /n" +
                              @"                          `-._    `.                                 /n" +
                              @"                              `.    \                                /n" +
                              @"                                )   ;                                /n" +
                              @"                               /   /                                 /n" +
                              @"                          |\ ,'   /                                  /n" +
                              @"                  .,_A_/\-| `   ,'                                    /n" +
                              @"                    `--..,_|_,-'\                                    /n" +
                              @"                           |     \                                   /n" +
                              @"                           |      \__                                /n" +
                              @"                           |__                                         ");
        }
    }

Makes a nice team logo for the front of the jersey, no?

Phil
Wow Phil, that will lead to hours of conversations: What is that thing at the bottom right?
Yar
If someone asks what it is, just scream at the top of your lungs "TROGDOOOOOOOOR!!!"
Phil
He was a, Dragonman!!! I think the graphical artist is in love with homestarrunner. You may have hit a homerun, pun intended..
jsmith
I feel like if this answer would have come out right away. It would have a lot more votes. This is extremely clever. And I like the logo idea.
jsmith
Consumate Vs! Consumate! You wouldn't know majesty if it hit you in the face!
Paul Sasik
A: 

jquery style

 $('.nerds').baseball();

or

 $('.nerds').game();
mcgrailm
A: 

I can't believe no one thought of HEX yet!?!? write out Nerds in HEX

0x4E 0x65 0x72 0x64 0x73
used2could
A: 

Your team members should have the following jersey numbers:

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
bta
A: 
All your base are belong to Nerds!
Kerido
A: 
foreach(Player p in YourTeam)
{
   p.GetOwned();
}

if (nerds.Score > YourTeam.Score)
{
   do
   {
     Gloat();
   }
   while(NerdsRule == true);
}