Slashdot Mirror


Google Code Jam 2003 Announced

An anonymous reader says "O'Reilly Developer News is reporting details of the newest Google programming contest, Google Code Jam 2003. Prizes range from t-shirts to ten grand and you can use any programming language you want to solve the increasingly challenging problems." Update by J : ... as long as it's Java, C++, C# or VB.NET.

303 comments

  1. Any language? by grub · · Score: 5, Informative


    The submitter writes ".. you can use any programming language you want" but Google's page says "Use Java, C++, C# or VB.NET. Pick any of these programming languages to code your solutions. All are acceptable and none is given an advantage."
    Unless I'm parsing this wrong, it sounds like one can't use any language, only 1 of the 4 listed. (It's also odd that C isn't there but some proprietary languages are)

    --
    Trolling is a art,
    1. Re:Any language? by jonathan_ingram · · Score: 1

      No, it isn't. It's *almost* a subset, but there are valid C programs which are not valid C++.

    2. Re:Any language? by someguy456 · · Score: 1

      Technically, isn't C++ backwards compatible with C? That is, all C programs should compile and work correctly on any C++ compiler. Do compilers actually use the file extension to differentiate? Maybe if you just labeled your code as .cpp, it will all work out.

    3. Re:Any language? by Ruds · · Score: 4, Informative

      Google is running this through TopCoder, which started out Java/C++ only and has recently added C# and VB.NET. TopCoder challenges are object-oriented in nature, although in some cases, this is basically a thin veneer over a non-object-oriented problem.

      Matt

    4. Re:Any language? by Anonymous Coward · · Score: 2, Funny

      Here is some winning code:

      #!/usr/bin/perl

      print "I win!!!!";

    5. Re:Any language? by IvyMike · · Score: 1

      You're correct: one trivial example is any C code that uses identifiers which are C++ keywords.

      But if you're writing new C code from scratch, aware that it will be compiled with a C++ compiler, it's trivial to get it all to work.

    6. Re:Any language? by millette · · Score: 0, Redundant

      c++ started out as a superset of c, but the inverse isn't true any more.

    7. Re:Any language? by Anonymous Coward · · Score: 0

      It's trivial... unless you need to use the new C99 features.

    8. Re:Any language? by PaulBu · · Score: 2, Funny

      Good luck compiling a C program which has a variable named 'new'! ;-)

      Paul B.

    9. Re:Any language? by SeanTobin · · Score: 4, Funny

      Time to break out my perl to C converter! You haven't seen obfuscated perl until you've seen it in C!

      --
      Karma: SELECT `karma` FROM `users` WHERE `userid`=138474;
    10. Re:Any language? by MarvinIsANerd · · Score: 0, Redundant

      C++ is a superset of C. You could code an entire program in C and it would also be valid C++...

    11. Re:Any language? by lederhosen · · Score: 1

      No it is not, just allmost.

    12. Re:Any language? by joe_plastic · · Score: 1

      No it is not strictly backwards compatible. There are a few areas where they a strictly conforming c program will either not compile or give different results if compiled as if it were a c++ program.
      Obviously c++ keywords in a c program would give different results.
      There are also other things like the value of sizeof('x') . Is it 1 or 4?
      There are somethings were being more verbose explicit can lessen the differenrces.
      is f() interpreted as void f(void) or int f(...)

    13. Re:Any language? by Anonymous Coward · · Score: 0
      YOu are an idiot.

      Submitter is Google. One of the most successfull programming outfits out there.

    14. Re:Any language? by IvyMike · · Score: 1

      Which C99 feature do you need to use that:
      1) Isn't also a C++ feature (that covers a large chunk of C99)
      2) Isn't already a vendor-specific extension
      3) Doesn't have a commonly-known (and often-used) workaround?

      C99 is still new enough that compiler support is very spotty (for example, GCC C99 status) anyways.

      Take another look over David R. Tribble's list of C99 v. C++ incompatabilities. I find it difficult to believe that there will be anyone stymied by having a C++ compiler but not a C99 compiler.

    15. Re:Any language? by Megaslow · · Score: 0

      Bob is a person, therefore all people are Bob.

    16. Re:Any language? by Dajur · · Score: 1

      Thats why you can't overload functions based on return values.

    17. Re:Any language? by Anonymous Coward · · Score: 0

      ...therefore you are a dork. The original poster's logic is completely correct, however his premise is false.

      Now that I think about it, his premise is meaningless. A language is not a set, so how can one be a superset of another? Suppose the set 'A' of C++ keywords were a superset of the set 'B' of C keywords (this is no longer the case;) then a C program using variable names from A - B would not be a valid C++ program.

    18. Re:Any language? by swillden · · Score: 1

      Thats why you can't overload functions based on return values.

      Sure you can, it just takes a bit of cleverness and some overloading of operator=.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    19. Re:Any language? by kosibar · · Score: 1

      Maybe the original was showing the bias of the author - as news often does these days. His point could have been that you can use any language that you would want to because nobody would want to use any language other than those listed.

      Then again, maybe it was a mistake. Hard to say.

    20. Re:Any language? by Chundra · · Score: 4, Insightful

      I wonder why python isn't listed...this quote comes right off the python.org front page:

      "Python has been an important part of Google since the beginning, and remains so as the system grows and evolves. Today dozens of Google engineers use Python, and we're looking for more people with skills in this language." said Peter Norvig, director of search quality at Google, Inc.

      VB.NET! Christ!

    21. Re:Any language? by MikeFM · · Score: 1

      I'm tempted to complain about not allowing Python. Or maybe just enter a Python program to compete. Even if disqualified from actually winning it'd be fun to compete.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    22. Re:Any language? by UnknowingFool · · Score: 2, Funny

      I guess it's like Ford and colors for the original Model T. Any color you want as long as it's black. Any programming language as long as it's one of the four.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    23. Re:Any language? by W2k · · Score: 2, Informative

      With a few exceptions, all valid C code is also valid C++ code. The exceptions are listed in section B.2.2 of The C++ Programming Language (Stroustrup), and most of them concern things that most programmers won't usually come across, or which constitute bad style and are thus best avoided even in C.

      I don't see any reason why C code shouldn't be able to compete if it complies with the C++ specifications - I'd just be C++ but without any C++ features. Unless of course you by C mean C99, in which case there would be other differences, as not all C99 features are supported by C++. Still, writing code that is valid in both C++ and C should pose no great obstacle to any programmer skilled enough to compete in a competition such as the one in question.

      --
      Quality, performance, value; you get only two, and you don't always get to pick.
    24. Re:Any language? by JAgostoni · · Score: 1

      Where's your scope and type indicator in that variable name? Why don't you just use the variable named a? What is it a new of? A new car? A new life?

    25. Re:Any language? by Anonymous Coward · · Score: 0

      Actually, this would be an interesting strategy.

      The contest involves a 'challenge' round, where other programmers try to break your code by looking it over and issuing test cases.

      If they can't READ the code, then they're going to have a tougher time breaking it.

    26. Re:Any language? by Validus · · Score: 1

      Oh well,
      it could be fun if I could have uesed functaional lang. you got to love Haskell

      look how simple it is to do quicksort.
      qsort [] = []
      qsort (x:xs) = qsort elts_lt_x ++ [x] ++ qsort elts_greq_x
      where
      elts_lt_x = [y | y = x]

    27. Re:Any language? by adrianbaugh · · Score: 1

      C++ is a superset of C isn't it? So C is allowed too. I think maybe you have to bung some preprocessor macros in to keep the compiler happy but that's about it. Having said that, looking at the choice of languages they've made I suspect the task in question will probably be seriously easier in an OO language.

      --
      "'I pass the test,' she said. 'I will diminish, and go into the West, and remain Galadriel.'"
      - JRR Tolkien.
    28. Re:Any language? by PaulBu · · Score: 1

      Well, as in
      f(int x) { int old, new; /* blah, blah */}
      'new' is a reserved keyword in C++, but an absolutely valid (and even meaningful!) variable name in C.

      Paul B.

    29. Re:Any language? by JAgostoni · · Score: 1

      I got the technicality of it, I disagree on it being a meaningful name. If I were looking deep, deep into your funciton I would (a) have no idea that is was a parameter (b) have no idea what type of variable it is and (c) would potentially not know what it represented. That is just my opinion, of course. I would have named it pnNewWidget or something.

    30. Re:Any language? by jareds · · Score: 2, Informative

      Unless I'm parsing this wrong, it sounds like one can't use any language, only 1 of the 4 listed. (It's also odd that C isn't there but some proprietary languages are)

      Just for the record, although you're parsing that sentence correctly, the way TopCoder works is that there are 3 problems per contest, and you may use any of the 4 available languages for each problem, so you could use 3 of the 4 listed if you really wanted to. I would hope it's spelled out correctly somewhere in the official rules, as opposed to Google's promotional copy.

    31. Re:Any language? by jareds · · Score: 1

      I know you're joking, but since the AC reply says that's an interesting idea, I just wanted to point out that it's against the rules unless you wrote the converter yourself (it's fine to do so ahead of time).

    32. Re:Any language? by goldenfield · · Score: 3, Informative

      What about Jython? Sort of Python...Sort of Java. Does that count?

    33. Re:Any language? by EugeneK · · Score: 1

      Sure a language is a set. It's a set of all the possible strings (programs) in the language. Let A be the set of all C++ programs. Let B be the set of all C programs. A-B is the set of C++ programs that that are not C programs.

    34. Re:Any language? by liquidflare · · Score: 0

      Hopefully I'll win with this (no one steal it plz):

      int main() {
      printf("Hello World!!!");
      return(0);
      }

    35. Re:Any language? by SeanTobin · · Score: 1

      I read through the rules just now.. I didn't notice anything saying publicaly available tools/converters/obfuscators weren't legal. Care to post the section that says that?

      --
      Karma: SELECT `karma` FROM `users` WHERE `userid`=138474;
    36. Re:Any language? by bot · · Score: 1

      Haskell.... oooh. Brings back memories. I did a lot of programming in Gofer (a dialect/implementation) of Haskell for an introductory CS courses.

    37. Re:Any language? by smurfbane · · Score: 1

      I imagine part of the reason they limited the languages was to keep all the Java programmers (who had stayed up for three days straight working on their programs), from committing suicide when they found out the winner was a Perl one-liner that doubled as a JAPH.

    38. Re:Any language? by rnd() · · Score: 1

      VB.NET is equivalent to C#. Both of these were created as an incremental step forward; just as Java has some advantages over C++, the new .NET languages have some advantages over Java. I don't know where Python fits into the continuum.

      --

      Amazing magic tricks

    39. Re:Any language? by jareds · · Score: 1

      There's a bright red section that says all ideas for code and/or challenges must be the coder's alone. Using a tool, which you yourself didn't write, to generate actual code, is thus not permitted because the tool will use ideas that aren't yours to generate the code.

      I grant that this rule is very fuzzy (e.g., code that implements a well-known algorithm is fine, even though the idea for the algorithm isn't yours), but the rules give TopCoder and/or Google the right to interpret the fuzzy rule however they want, and this is how they will, based on a thread in the discussion boards on TopCoder's site a while ago.

    40. Re:Any language? by JDWTopGuy · · Score: 1

      REBOL []

      x: [3 32 45 1 4 0 8 ]
      x: sort x

      --
      Ron Paul 2012
    41. Re:Any language? by jesco · · Score: 1

      I think the general idea is that, while the well-known algorithm may not be your idea, you still have to *code* the damn thing. You wrote each line by hand. Using a converter who writes the code for you, even although you have to provide a meaningful input for the converter, makes it impersonal. It's not exactly your code anymore.

    42. Re:Any language? by bruthasj · · Score: 1

      Most high-level languages can be embedded in the first two, so if you really want to go Python, setup main to call your script right off the bat. Maybe they won't notice! ;)

    43. Re:Any language? by brunes69 · · Score: 1

      Because, as both the article and the guy above JUST SAID, its run by TopCoder.com

      Man learn to read.

    44. Re:Any language? by Chundra · · Score: 1

      Oh right. So it's run by TopCoder.com. Like that's supposed to mean anything.

      P.S. Go fuck yourself.

    45. Re:Any language? by brunes69 · · Score: 1

      Google is running this through TopCoder, which started out Java/C++ only and has recently added C# and VB.NET. TopCoder challenges are object-oriented in nature, although in some cases, this is basically a thin veneer over a non-object-oriented problem.

      Jesus, get a clue

      PS: No thanks I can get others to do that for me

  2. blogs by CGP314 · · Score: 2, Funny

    you can use any programming language you want to solve the increasingly challenging problems

    Like how to stop blogs from screwing with google's results? :)

  3. All right! by anon*127.0.0.1 · · Score: 4, Funny

    Finally, a chance for me to show what COBOL can really do!

    --
    I am NOT a man!
    I am a free number!
    1. Re:All right! by CGP314 · · Score: 1

      Lisp will totally kick cobol's butt. :)

    2. Re:All right! by Anonymous Coward · · Score: 0

      Oh so true, too bad Google is being a language chauvinist here....only C++, Java, VB, C#

    3. Re:All right! by GoofyBoy · · Score: 4, Funny

      (((If (You can ((keep track of) all the)) crazy )) brackets ) !)

      --
      The surprise isn't how often we make bad choices; the surprise is how seldom they defeat us.
    4. Re:All right! by tuffy · · Score: 5, Funny
      (((If (You can ((keep track of) all the)) crazy )) brackets ) !)

      You missed an open-paren

      ;)

      --

      Ita erat quando hic adveni.

    5. Re:All right! by Xzzy · · Score: 1

      That's always what I thought what TinyMUSH was created for.. bracket matching training.

      5 years later and I can still count parenthesis with the best of 'em.

    6. Re:All right! by inkedmn · · Score: 1

      /me whips out brainfuck, all flee in terror

      --
      well, it's nothing one behind the ear wouldn't cure
    7. Re:All right! by Jugalator · · Score: 1

      ... the words of a lisp programmer after a quick glance? :-)

      That reminded me of the old MS-DOS days (eep!) where you got so used to the short file name rules, that it took a fraction of a second to see that the file name IBFDATA01.BIN was one character too long, and you became equally quick to shorten names to optimal length while still being as descriptive as possible. :-)

      --
      Beware: In C++, your friends can see your privates!
    8. Re:All right! by MisanthropicProggram · · Score: 1
      Actually, it would be an interesting contest to see what could be done with langauges such as COBOL. Sure, there are some impressive things that are done with the contest languages, but after all, they're pretty powerful languages in themselves. Or, programming in something really low level - assembly, anyone?

      I still remember the days when there were the programming snobs who didn't think you were a programmer unless you coded in assembly! They even had to program in the snow... uphill... both ways!

      --

      There is no spoon or sig.

    9. Re:All right! by Anonymous Coward · · Score: 0

      I'll see your cobal and raise you qbasic. Why, if I can make a 640x480 menu-driven, mouse-using GUI in qbasic, I don't think this contest will be much of a challenge...

      (Posted anonymously for obvious reasons)

    10. Re:All right! by Schnapple · · Score: 1

      Well, since two of the languages are .NET languages (VB.NET and C#), why couldn't you do it in any .NET language? (COBOL.NET for example)

    11. Re:All right! by rpresser · · Score: 1

      So, start by writing a COBOL interpreter in C++, then put your COBOL program in string data.

    12. Re:All right! by Anonymous Coward · · Score: 0

      (((If (You can ((keep track of) all the)) crazy )) brackets ) !)

      You missed an open-paren ;)


      And you just made it worse... :-)
  4. C++ only? by pigscanfly.ca · · Score: 4, Interesting

    If I write C code that compiles under C++ would that be considerd "C++" (for the purpose of said competition . While I can program C++ if its a timed competition C would be faster for me) .

    1. Re:C++ only? by Anonymous Coward · · Score: 0

      Anything that compiles with a C++ compiler is C++ in my book (ignoring the cries of the "int main" C++ Nazis of course)

    2. Re:C++ only? by Anonymous Coward · · Score: 0

      Think for a second about your question. How exactly would they tell the C apart from the C++?

    3. Re:C++ only? by Reiners · · Score: 1

      Well, no, you can't actually. This is because you'll be required to implement a particular method within a particular class. That being said, all the code within that method can be in C (modulo those picky little C things that won't compile in C++ mentioned in other postings).

    4. Re:C++ only? by HitchHik · · Score: 1
      David trible published a paper on the compatibility of C99 vs C++. It can be found here:
      http://david.tribble.com/text/cdiffs.htm

      ...hh

      --
      -- &&
    5. Re:C++ only? by Lord+Kano · · Score: 1

      If I write C code that compiles under C++ would that be considerd "C++" (for the purpose of said competition . While I can program C++ if its a timed competition C would be faster for me) .


      Would your code compile under a C++ compiler without "using namespace std;"?

      If you include that one statement, your code is no longer standard C and is now C++.

      Problem solved.

      --
      "Hi. This is my friend, Jack Shit, and you don't know him." - Lord Kano
    6. Re:C++ only? by ZorbaTHut · · Score: 1

      Assuming it's like a normal Topcoder match (which I honestly don't know), you'll have to write a class with a member function that takes parameters. The parameters might be ints, or might be strings, vectors, or vectors of strings. Plus, you'll have to return something that might be any of those. However it's pretty trivial to convert from those to whatever C-compatible format you want - so with a little C++ glue around your C code, yes, it would indeed be doable.

      --
      Breaking Into the Industry - A development log about starting a game studio.
  5. Looking for telecommuters? by RobertB-DC · · Score: 4, Interesting
    This is an interesting way of looking for recruits. An individual interview is one thing -- I've seen some real losers get past that process. Google seems to be looking for a way to entice and reward developers who can use their l33t coding sk1llz in a team environment. It's one thing to be able to write good code -- the ability to work with other great coders is valuable indeed.

    Here's what Google values, from their Job Opportunities page:
    What we look for when hiring great people:
    * People with broad knowledge and expertise in many different areas of computer science and mathematics, including distributed systems, operating systems, data mining, information retrieval, machine learning, performance optimization, algorithms, user interface design, statistical inference and information theory, and related areas.
    * People with world-class programming skills.
    * People with excellent communication and organizational skills.
    * People who are passionate about their work and are great colleagues.
    * People who enjoy working in a high-energy, unstructured environment on very small project teams to build amazing products used by millions of people every day.
    * People with diverse interests and skills.
    What intrigues me personally is that this contest takes place in an online collaborative environment. Does this mean that Google is considering opening up to remote working -- as in, I can live in Dallas and "work" in the Googleplex? As much as I'd love to work at a place like Google, there's no way I'm moving to Cali-fall-into-the-ocean-fornia.

    --
    Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    1. Re:Looking for telecommuters? by shralpmeister · · Score: 4, Funny
      As much as I'd love to work at a place like Google, there's no way I'm moving to Cali-fall-into-the-ocean-fornia.

      Yes, yes! Rember folks, California really is falling into the ocean. It is also a nightmare of wildfires, earthquakes, sharks, deadly volcanoes, poison gasses, smog, etc. You don't want to live here! It's horrible... horrible!

    2. Re:Looking for telecommuters? by daveo0331 · · Score: 2, Funny
      That's right. There's also SARS patients, grizzly bears, incompetent politicians, no jobs, horrible traffic, we're right next to the Pacific Ocean (which routinely produces typhoons that kill thousands of people), nuclear power plants, deadly blizzards... we even have a place called Death Valley.



      (if we scare everyone off maybe the housing will actually be semi-affordable someday)

      --
      Remember the days when Republicans were the party of fiscal responsibility?
    3. Re:Looking for telecommuters? by hondo77 · · Score: 4, Funny

      It's even worse than that, folks. Los Angeles has banned lap dancing. There truly is no reason to live here anymore.

      --
      I live ze unknown. I love ze unknown. I am ze unknown.
    4. Re:Looking for telecommuters? by Optic7 · · Score: 1

      You forgot mudslides!

    5. Re:Looking for telecommuters? by RobertB-DC · · Score: 1

      That's right. There's also SARS patients, grizzly bears, incompetent politicians, no jobs, horrible traffic, we're right next to the Pacific Ocean (which routinely produces typhoons that kill thousands of people), nuclear power plants, deadly blizzards... we even have a place called Death Valley.

      Hmmm... maybe I should reconsider. Here in Texas, we have West Nile Virus, alligators (though they leave people alone), incompetent politicians (wish they would), jobs that go away when oil prices dip, horrible traffic, we're in Tornado Alley (with a direct hit on downtown Ft. Worth), cement plants, 120-degree weather, and we have a 32,000 square mile region (larger than all of New England) called the Llano Estacado that is so flat, it slopes just 10 feet per mile, and barely gets 12 inches of rain a year.

      Screw it all, I'm moving to Barbados!

      --
      Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    6. Re:Looking for telecommuters? by rnd() · · Score: 1

      You forgot Gray Davis.

      --

      Amazing magic tricks

    7. Re:Looking for telecommuters? by sootman · · Score: 1

      Luckily LA is an 8 hour drive from Mountain View. BTW, I'm from the bay area originally & visited last week. My mom works across the street from Google. Of course I had to go there and get my picture taken in front of it. I was happy to see their signs--they have buildings 0, pi, and e.

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    8. Re:Looking for telecommuters? by Dumbush · · Score: 1

      then just let the stripper seat on your lap stationary

    9. Re:Looking for telecommuters? by seringen · · Score: 1

      Google's all about doing your own code, but having people around you all the time pushing each other. Plus the food's great there!

  6. Mmm.. by Trolling+for+Profit · · Score: 3, Funny

    Give away your software and ideas for free (or in this case a t-shirt, that's close enough).. and then possibly get a reward afterwards? Sounds a lot like soviet communism with it's quality reward program.

    1. Re:Mmm.. by smittyoneeach · · Score: 1

      Plenty of business models involve a loss-leader, which is what this is, from a personal standpoint.
      I daresay RMS isn't starving; he just isn't shackled with a large company for his effort.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    2. Re:Mmm.. by kfg · · Score: 1

      It sounds more like professional sports to me. Particularly auto racing where the idea that you use to win today is used by all of your competitors to beat you tomorrow.

      You won't find many auto racers who are communists. The structure inherently attracts rabid individualists and fanatical Libertarians.

      Kinda like computer geeks. Gearhead is just a subcatagory of geek, as is bithead.

      Also, never forget the maxim that the only thing sweeter than money earned is money won.

      People will die trying to win a penny where they wouldn't work for a million bucks.

      Much of human behaviour that appears mysterious is hidden in this simple fact.

      KFG

    3. Re:Mmm.. by Anonymous Coward · · Score: 0

      People will die trying to win a penny where they wouldn't work for a million bucks. One word: gambling. If gambling can destroy lives, then surely it can destroy companies that gamble (pardon the pun) on it.

    4. Re:Mmm.. by EastCoastSurfer · · Score: 2, Insightful

      the only thing sweeter than money earned is money won.

      So true, but let me add to it. Money won from someone else just like you is the purest form of what you describe. For example, winning at blackjack in a casino is fun, but beating people at the poker table is a rush that can't be matched.

    5. Re:Mmm.. by lars · · Score: 1

      The problems will have model solutions already prepared beforehand for judging purposes. You don't have to give away anything they don't already know in order to solve the problems.

    6. Re:Mmm.. by Anonymous Coward · · Score: 0

      OK, Mr. Murky. Who are you working for?

    7. Re:Mmm.. by Anonymous Coward · · Score: 0

      In Soviet Russia, idea gives away you!

  7. TopCoder! by Chromodromic · · Score: 5, Informative

    The Google Code Jam is being conducted in conjunction with TopCoder, the coolest, best implemented regular online coding contest. You can go there and download the Arena applet to get an idea of the format of the contest and to get ready by practicing with sample problems. In fact, that's highly recommended since the applet accommodates a very specific kind of contest.

    Also, it would be wise to participate in a few live TopCoder rounds, which are held weekly, if you have any hope of being competitive.

    --
    Chr0m0Dr0m!C
    1. Re:TopCoder! by Thuktun · · Score: 4, Interesting

      The only problem is that TopCoder style programming contests select for speed of implementation over quality, efficiency, readability, and maintainability. Worse, since your code is challenged by other coders, the more unreadable and impenetrable your code, the less likely subtle bugs in your code will be detected in the short challenge period.

      Still, it was nice when they were awarding $300 for first place in your room in Division I for contests every week. When they dropped the prize money for weekly matches, there wasn't a compelling reason to spend my time on it.

    2. Re:TopCoder! by hanssprudel · · Score: 1


      Just out of curiosity, can you give some examples of the type of problems given? I looked around the TopCoders site but couldn't find any examples of past problems.

    3. Re:TopCoder! by Reiners · · Score: 1

      They have examples here: Sample Problem Statements

    4. Re:TopCoder! by veredox · · Score: 1

      Not all TopCoder programming contests select speed of implementation over everything else good.

      One you are a rated member, you are eligable to participate in design or development competitions. These take place over a matter of weeks and emphasize all the goodness we all desire (sound design, clear code and comments, etc). AND first through third place get cash, just like the old days ... *sigh*

  8. Cheap Labor by inputsprocket · · Score: 5, Funny
    When your stuck on how to code something....
    run a competition and let others do the coding for you.

    oh and don't forget to through in a t-shirt or to for all the hard work

    1. Re:Cheap Labor by CGP314 · · Score: 2, Funny

      oh and don't forget to through in a t-shirt or to for all the hard work

      That's more than some coders in the US get :(

    2. Re:Cheap Labor by WIAKywbfatw · · Score: 4, Interesting

      When your stuck on how to code something....
      run a competition and let others do the coding for you.

      oh and don't forget to through in a t-shirt or to for all the hard work


      And lather, rinse, repeat if you're after some original designs for t-shirts for your website...

      To be honest, I like the idea of this Google competition. I'm not going to be winning it (my programming skills aren't fantastic) but it's a great way of fostering relationships between you and your user base, finding good coders (and potential future employees), getting some good code and/or code ideas and, above all, having a little bit of fun with the community as a whole.

      If all companies were like Google then we'd all be happy as Jay and Silent Bob at a weedfest.

      --

      "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
    3. Re:Cheap Labor by MagPulse · · Score: 5, Insightful
      Ha ha. Except:
      1. They pay problem writers to come up with fully tested solutions in all four languages.
      2. These problems are variants of well-known CS problems and distilled to their essence. Real-world problems are 80% special cases.
    4. Re:Cheap Labor by Anonymous Coward · · Score: 0

      " When your stuck on how to code something.... run a competition and let others do the coding for you. oh and don't forget to through in a t-shirt or to for all the hard work"

      When your stuck on grammer, post to slashdot and let all the pedants do the proofreading for you. Don't forget to through or in a t-shirt to for all the criticism

    5. Re:Cheap Labor by blibbleblobble · · Score: 1

      "oh and don't forget to through in a t-shirt or to for all the hard work"

      suggested second prize: a dictionary?

    6. Re: Cheap Labor by Master+Bait · · Score: 1
      When your stuck on how to code something.... run a competition and let others do the coding for you.

      I actually read the terms and conditions. You're absolutely correct: (vi) licenses to TopCoder and Google rights to all information submitted during the tournament (including rights to source code and other executables),

      --
      "Only in their dreams can men truly be free 'twas always thus, and always thus will be."
      --Tom Schulman
    7. Re:Cheap Labor by Anonymous Coward · · Score: 0

      If your real world problems are 80% special cases perhaps you need to spend more time during requirements and design.

      Even in academia you can see it. Sure you can check the data type before every use, but it's much cleaner if you design it up front to use operator overloading.

      I've been in the real world for a couple years now and I see that most people use the special cases all over the place. But I've also designed and coded some systems with far more functionality in less time using a more flexible design that doesn't have to explicitly state every special case.

      Proper abstraction makes special cases not affect the rest of the code and allows "academic" solutions to work in the real world. Your special case changes may be no more complicated than deriving a new class.

    8. Re:Cheap Labor by jamonterrell · · Score: 1

      If they wanted cheap labor they'd use experts-exchange. Seriously, throw a few useless imaginary status points(that mean even less than /. karma) out and see what people would do. And you can pay $9.95/month to get unlimited number of question points to send out... It's like the perfect consultant for $9.95/month.

      Besides didn't I read that google was also giving away 10 grand for this? Hardly cheap labor.

      --
      I can count to 1023 on my hands. Ask me about #132.
    9. Re:Cheap Labor by Anonymous Coward · · Score: 0
      I don't really think that's what he ment, but I can't speak for him. I work with real world data. 95% of my data takes none of my time to process (fully automated). The last 5% takes all my time because I have to research what went wrong because the computer can't access or understand all the meta data I can.

      Ok, a real example. Our airplane flew past the south pole. For some reason the navigation system started outputing latitudes less than -90. Sure, I wrote my code right, it flagged them as errors and reported them to me. But that's just the start. I spent over a week figuring out how the navigation system was messed up and comming up with an program to correct the mess. There are over 30 fields from that instrument and about half were funny. I was able to find a way to fix them and and verify that the results were acceptable. There's no way good programming in advance can prevent that. That was one of about five special case problems I had to deal with in that data set.

    10. Re:Cheap Labor by WIAKywbfatw · · Score: 2, Funny

      When your stuck on grammer, post to slashdot and let all the pedants do the proofreading for you. Don't forget to through or in a t-shirt to for all the criticism

      That's "grammar", not "grammer". D'oh!

      It's pretty sad when the "proofreaders" need proofreaders too...

      --

      "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
    11. Re:Cheap Labor by Anonymous Coward · · Score: 0

      When your stuck on grammer, post to slashdot and let all the pedants do the proofreading for you. Don't forget to through or in a t-shirt to for all the criticism

      Oh no, you fail it!

    12. Re: Cheap Labor by fucksl4shd0t · · Score: 1

      (vi) licenses to TopCoder and Google rights to all information submitted during the tournament (including rights to source code and other executables),

      That's right, and their license to use my code is commonly referred to as the GPL. If they wish to create derivative works from it, or incorporate it into a larger body of work, they will have to GPL the entire work. :) (That'll teach them to try to own *my* code)

      --
      Like what I said? You might like my music
    13. Re: Cheap Labor by nathanm · · Score: 1
      That's right, and their license to use my code is commonly referred to as the GPL. If they wish to create derivative works from it, or incorporate it into a larger body of work, they will have to GPL the entire work.
      Only if they released the binary outside the company. If they only used the code internally, they're under no obligation to release it.
    14. Re:Cheap Labor by MrScience · · Score: 1

      Except the other 80% that aren't.

      --

      You quitting proves that the karma kap worked. The most annoying of the whores shut up. --CmdrTaco

  9. Thank you, captain obvious! by 192939495969798999 · · Score: 1, Funny

    I assumed everyone knew about the contest already, or I would've submitted the story myself! Argh! Oh well. You can all expect to see sir_haxalot take time off from being an artist for a few minutes, in order to use the force and attempt to gain at least a t-shirt.

    --
    stuff |
  10. Not quite ANY programming language... by DrEldarion · · Score: 0, Redundant

    Unfortunately, they won't let you use ANY programming language, your choices are: Java, C++, C# or VB.NET.

    I was really hoping someone would join and attempt to do everything in FORTRAN or assembly.

    -- Dr. Eldarion --

    1. Re:Not quite ANY programming language... by Anonymous Coward · · Score: 0

      Hahaha...right. I aimed a little lower, and thought for sure someone was going to try to use Brainf*ck.

    2. Re:Not quite ANY programming language... by mikeee · · Score: 2, Interesting

      When I was in school, one sick $#%@#$$ did a programming problem set in Postscript. You had to send his code to the printer to execute it. :)

    3. Re:Not quite ANY programming language... by xmath · · Score: 1
      heh, I did that once :-)

      the teacher of some boring statistics course made the mistake of saying ".. in a programming language of your choice"

      here is the postscript file, in case anyone cares

    4. Re:Not quite ANY programming language... by Jellybob · · Score: 1

      Looks like it's time for the ageless anecdote about the guy who wrote a web server in Postscript.

    5. Re:Not quite ANY programming language... by katchins · · Score: 1

      Google Code Jam 2003

      Program in any language that is supported by Visual Studio .NET 2003

      Brought to you by Microsoft, the last word in
      programming languages....

      P.S. - Other language coders need not apply.

      --
      if (!sig) { printf("Signature Unavailable\n"); }
  11. can't wait by kemster · · Score: 1

    while (true) { System.out.println("Don't bother entering, because I am going to win!"); }

    1. Re:can't wait by speakup · · Score: 1
      while (true) { System.out.println("Don't bother entering, because I am going to win!"); }

      You lost precious seconds with the unnecessary braces. Maybe you should rethink your print statement.

    2. Re:can't wait by fucksl4shd0t · · Score: 1

      while (true) { System.out.println("Don't bother entering, because I am going to win!"); }

      Finally, a compelling reason to use C++ instead of Java:

      while(1) printf("Don't bother entering, because I am going to win!\n");

      --
      Like what I said? You might like my music
  12. If you enter "Google code jam 2003" in Google by TasosF · · Score: 5, Funny

    What you get is a page full of Perl Jam.

  13. Re:Please define "any programming language"... by pigscanfly.ca · · Score: 1

    Here here .
    The page says a number of the components (entry rounds and what not) will be timed . For a quick little job perl can cut hours of off C/C++ style work .

  14. Uhhh... Specs, please by Anonymous Coward · · Score: 2, Interesting

    But what are the problems they want solved? It sounds like they want h0xerz/crackers, not real problem solvers/programmers.

  15. Examples of problems by 192939495969798999 · · Score: 5, Funny

    A typical Google sample problem: Suppose there are X lockers in the hallway, and someone is opening every Nth locker where n is a prime number. Write a program to parse all the html files on the internet and return something useful. :)

    --
    stuff |
    1. Re:Examples of problems by Anonymous Coward · · Score: 0

      I don't laugh out loud often on /., but I did for this. Thank you!

    2. Re:Examples of problems by Anonymous Coward · · Score: 0

      Same for me. I don't burst out laughing much ever but that really cracked me up.

  16. You can use any language you want by rk · · Score: 0, Redundant

    as long as it's Java, C++, C#, or VB.NET.

    1. Re:You can use any language you want by Mantorp · · Score: 1

      what, no HTML?

    2. Re:You can use any language you want by Anonymous Coward · · Score: 0

      I could hack any system with my 1337 html scripts.

      You can thank microsoft for that.

      You may argue that linux is safe. I can argue that linux people never mattered, will never matter, and dont matter.

  17. Programming competitions, give me a break by Anonymous Coward · · Score: 5, Insightful

    Google is looking for engineers with the programming skill to rewrite the world's information infrastructure.

    Yeah, right. As somebody who manages a number of programmers, I know that the kinds of people who win competitions like this (such as topcoder) simply won't make very good employees. The best programmers I work with are team players who know how to communicate, document and manage working relationships. The high-intensity macho time-critical programming that these competitions fosters is usually counterproductive in a business environment.

    - W G

    1. Re:Programming competitions, give me a break by Anonymous Coward · · Score: 0

      Very good point!

      -PJ

    2. Re:Programming competitions, give me a break by Anonymous Coward · · Score: 0
      The high-intensity macho time-critical programming that these competitions fosters is usually counterproductive in a business environment.

      Very good point! A company hiring programmers who think that they are the best (fastest or whatever) is just asking for trouble. These programmers are usually bringing conflicts when working in teams... Unless all other members of the team listen to them religiously and shut up, but then this can bring even more trouble if the "best" programmer was wrong and nobody dared criticizing his ideas.

    3. Re:Programming competitions, give me a break by Anonymous Coward · · Score: 1, Interesting

      It's not about hiring people who think they are the best, it's about hiring people who are the best.

      The problems you are described occur because of management problems.

    4. Re:Programming competitions, give me a break by lars · · Score: 3, Insightful
      [i]The best programmers I work with are team players who know how to communicate, document and manage working relationships.[/i]


      Wouldn't you know it, most of the highly ranked TopCoders I've met excel in all of the areas you mention. Just because someone is smart and skilled at one thing doesn't mean they're deficient in other areas. Usually there's quite a strong correlation.


      [i]The high-intensity macho time-critical programming that these competitions fosters is usually counterproductive in a business environment.[/i]


      TopCoder emphasizes (or attempts to) problem solving skills, which tend to be universally applicable.

    5. Re:Programming competitions, give me a break by lars · · Score: 1, Funny

      Well, apparently TopCoders suck at posting properly formatted Slashdot comments. You're right after all -- no real world skills whatsoever!

    6. Re:Programming competitions, give me a break by geekoid · · Score: 3, Insightful

      Gee, whatever you do, don't do the tasks neccessary to see that communication happens. I mean you would really want to manage now, would you?

      Mos of the top programmers I have worked with, hateed meetings, came to work around 9-10 oclock, worked till 6-7 oclock and were very terse when documanting.
      However, I trusted there skills, and respected there experience, and saw to it that they had direction. These guys kicked out some wicked code that blew people away.
      When I was managing, I took the intiative to see that what was needed to be communicated, was communicated.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    7. Re:Programming competitions, give me a break by Vaginal+Discharge · · Score: 1

      Hm... I plan to write documentation for the code that I write during the contest. This way I can confuse other coders with my wildly commented code during the challenge phase. Muhahahaha

      --
      "Glory is fleeting but obscurity is forever" - Napoleon Bonapart.
    8. Re:Programming competitions, give me a break by mess31173 · · Score: 2, Funny

      Like when you communicate there instead of their. You seem like management material to me...

    9. Re:Programming competitions, give me a break by Anonymous Coward · · Score: 0

      This is truly the root of the "software sucks" problem. I partiaally agree with the first poster. I work with a lot of people who can "kicked out wicked code", but other than over-dramtize this situation, this is the type of code that has those obscure bugs that can never be tracked down, because the guy who wrote it was shooting from his hip, and can't remeber what the fuck he did. A mature software developer will use those brainstormin sessions to document, whether that means UML diagrams, prototype code, or text documents, or whatever. But thats what I believe makes a really valuable coder. Someone who can write code that works, and can be passed off the maintinaer level coders to be worked on without wasting their time trying to figure out some fuck-nuts bullshit ego trip.

      I really believe that this is supremely displayed by the fact that a perl programmers skill level is judged by the level of obscurity he or she demostrates in code. A real fucking problem.

    10. Re:Programming competitions, give me a break by fucksl4shd0t · · Score: 1

      Why was this modded troll? I was making a joke about the original poster's username, which is vaginal discharge. Maybe the moderators need to pay more attention...

      --
      Like what I said? You might like my music
  18. Traveling? by -Grover · · Score: 5, Informative

    Hrm...

    Sounds like to win any money you have to travel, so keep that in mind when you sign up.

    "The top 25 performers in Round 2 will be invited to compete for cash prizes in the Championship Round onsite at the Googleplex (Mountain View, CA) on November 14th."

    They are floating the bill though, according to the terms

    " Google will provide travel accommodations for each finalist to attend the Championship Round. In addition, Google will provide overnight accommodations and all travel arrangements to and from the airport, as well as to and from Google's headquarters. All other expenses are the responsibility of the contestant. "

    1. Re:Traveling? by RobertB-DC · · Score: 1

      Sounds like to win any money you have to travel, so keep that in mind when you sign up.

      But like you said, they're paying for the transportation to Mountain View, plus hotel accomodations... I think I can deal with the other expenses.

      --
      Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
  19. Obviously looking for people to hire by Washizu · · Score: 5, Insightful

    Friday, October 17 8:00 AM
    Monday, October 20 8:00 AM
    Friday, November 14 4:00 PM

    Who with a job could participate?

    --
    OddManIn: A Game of guns and game theory.
    1. Re:Obviously looking for people to hire by bmalia · · Score: 1

      No kidding. Why couldn't they do at least the initial round on a Saturday. Sunday's no good, football takes priority.

      --
      There's no place like ~/
    2. Re:Obviously looking for people to hire by What+is+a+number · · Score: 4, Funny


      The same people who read slashdot while at work...

      ---
      I type this every time.

    3. Re:Obviously looking for people to hire by Smid · · Score: 1

      Who with a job, in europe can participate?

      9pm EST = 3am uk time (4 continental europe)

      Then again, less and less of us programmers have
      jobs in europe though.

      Stick with modern tradition, make it Indian time.

    4. Re:Obviously looking for people to hire by GnuPooh · · Score: 3, Funny

      Never met a good programmer that would be awake at this hour, independant of job status.

    5. Re:Obviously looking for people to hire by Anonymous Coward · · Score: 1, Informative

      Friday, October 17 - 8:00 AM - Qualification Round begins
      Monday, October 20 - 8:00 AM - Qualification Round ends


      correct me if i'm wrong, but it seems to me that the initial round lasts the whole of the weekend

    6. Re:Obviously looking for people to hire by Frac · · Score: 2, Informative

      Friday, October 17 8:00 AM
      Monday, October 20 8:00 AM
      Friday, November 14 4:00 PM

      Who with a job could participate?


      Qualification round requires you to complete the problem set between Friday, October 17 8:00 AM and Monday, October 20 8:00 AM. You can complete the problem anytime over the weekend if you prefer.

      The last date you gave out is for the championship round, which is onsite anyways.

    7. Re:Obviously looking for people to hire by Anonymous Coward · · Score: 0

      "Friday, October 17 8:00 AM
      Monday, October 20 8:00 AM"

      They're not looking for students then?

  20. Re:Read up, people! by Anonymous Coward · · Score: 0

    Hello Mr Sams. No, I don't want to buy any of your damned books, ok?

  21. Art contest announced by FuzzyBad-Mofo · · Score: 5, Funny

    In related news, the American Art Foundry(*) has announced an open art contest. Artists are free to use whatever medium they choose, as long as it's oil on canvas.

    * Not a real organization

  22. Re:Read up, people! by cygnusx · · Score: 2, Informative

    > http://www.amazon.com/exe .../inertishomepa-20

    Good luck to your Amazon Associates account too.

    Which of you moderators modded that ad up as Informative??

  23. Free Money by CGP314 · · Score: 1, Funny

    Prizes range from t-shirts to ten grand and you can use any programming language you want to solve the increasingly challenging problems." Update by J: ... as long as it's Java, C++, C# or VB.NET.

    You can withdraw as much money from my bank account as you want!*




    * Must be a deposit of at least $1.

  24. I'll use VB by Anonymous Coward · · Score: 0

    I'll rewrite the google pagerank algorithm in VB.Net. If google starts using it I will have solved microsoft's challenging problem of beating google.

  25. Wheee... by G33kDragon · · Score: 0

    So that means I can use pseudocode, right? #1 Google answer was: "Think about problem. Drink caffeine. Problem solved." :)

  26. For charity ! by Elie+De+Brauwer · · Score: 3, Informative

    As stated in the conditions: (http://www.topcoder.com/pl/?&module=Static&d1=goo gle&d2=google_rules_overview) Participants who do not meet the citizenship requirements to win prize money are still eligible to compete. However these individuals will be required to donate any cash prizes to charity. Participants will choose a charity to receive their winnings from the TopCoder approved list of charities. A prize-winning participant may request a new charity be added to the list, however it shall remain in Google's sole discretion to add that charity after reviewing the proposed charity's credentials. It sucks to be belgian :( while UK and irish residents may enter, hasn't anybody heard of Europe over there ? I wonder what the topcoder approved charity list looks like.

    1. Re:For charity ! by -Grover · · Score: 3, Funny

      TopCoder approved charity list:

      1) TopCoder
      2)

    2. Re:For charity ! by Anonymous Coward · · Score: 0

      TopCoder approved charity list:
      1) TopCoder
      2)

      1) Organize contest with prizes
      2) Make sure some partecipants can't win the money
      3) ??? (let those partecipants win?)
      4) Profit!!!
    3. Re:For charity ! by fucksl4shd0t · · Score: 1

      hasn't anybody heard of Europe over there ?

      Dude, there's no life on Europa.

      --
      Like what I said? You might like my music
    4. Re:For charity ! by Anonymous Coward · · Score: 0

      1. Association for Ignoring Non-Americans
      2. Organization for the Realization that We Are Better
      3. Organization for *OTHER* Countries (Besides Canada) Doing Cool Things for Once
      4. etc etc

    5. Re:For charity ! by Captain+Large+Face · · Score: 1

      3) Profit?

      Sorry, I couldn't resist.

    6. Re:For charity ! by The-Bus · · Score: 1

      You forgot:

      3) Profit!!!!

      --

      Small potatoes make the steak look bigger.

  27. Re:TopCoder! Is Pure Evil by jellomizer · · Score: 2, Interesting

    I don't know if they fixed it or not. But I hated it when I beta tested it a while ago. I found it had trouble compiling anything even a hello world application. The fact that you must get use to using TopCoder is a reason not to use it. Besides I am against programming competitions because they encourage speed in programing not not a good planned layout of thought. The primary reason why most of the code out their is crappie is because their is lack of design and everyone trying to write this super optimized code. So once their is a problem the code is so optimized that it cannot be fixed. But if you win Congrads, if not dont take it seriously you could still be the better programmer.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  28. New definition by Mostly+a+lurker · · Score: 2
    O'Reilly Developer News is reporting details of the newest Google programming contest

    This must be some new meaning of the word details with which I an unfamiliar. The www.topcoder.com page certainly contains details in the normal sense. The O'Reilly page contains what I would call a brief summary. Interesting concept though.

  29. Re:Read up, people! by khr · · Score: 1

    Or better yet...

    Bobs Teach Yourself Java 2 in Less Time Than Anyone Else
    Bobs Teach Yourself C++ in Less Time Than Anyone Else
    Bobs Teach Yourself C# in Less Time Than Anyone Else

  30. no. by pb · · Score: 1

    \\ no, it isn't.

    --
    pb Reply or e-mail; don't vaguely moderate.
    1. Re:no. by Neon+Spiral+Injector · · Score: 1

      You mean: // yes it it, as of C99

    2. Re:no. by lederhosen · · Score: 1

      double false = 3.0;

      try that in c++

    3. Re:no. by Xerithane · · Score: 1

      int new = public * ( true - false ) / class;

      --
      Dacels Jewelers can't be trusted.
  31. great idea by zarniwhoop · · Score: 1, Insightful

    how about running a competition to tackle large, real-world problems? Like efficient search engines, indexing etc - these problems are big problems that need solving.

    1. Re:great idea by BigGerman · · Score: 1

      sounds like cool new development model -
      big biz wants to build a web frontend, edi exchange, etc. They announce a contest and everyone can enter and code it up whether you are EDS or just a kid. Winner gets the prize, EDS gets a t-shirt ;-)

  32. TopCoder competitions low on quality by Agave · · Score: 5, Interesting

    the way to win a TopCoder competition is to not only be analytical enough to figure out the solution but also to able to type quickly and accurately as well as to take shortcuts like using short variable names. I certainly wouldn't want any 'TopCode' in a production system.

    I was disappointed with my experience in the TopCoder competition at Java One because even on day three, when I was comfortable with the TopCoder IDE, knew that speed was king, and I knew the solution right away I was still beaten out by over two minutes. I mean, I knew the solution, typed it in, compiled first time, ran a test case, passed, and submitted the solution. Damn near perfect in my mind but I was very low man on the totem pole time-wise (~4min vs ~2min).

    I guess learning to touch type by MUDing just doesn't cut it :)

    flee
    flee
    flee

    1. Re:TopCoder competitions low on quality by MickLinux · · Score: 2, Interesting

      Is it possible to have code written ahead of time? I mean, it says "ideas must be your own." But if you've put together a large library of useful functions that you've coded yourself (fourier transform; heap sort; Wheeler-Burrows transform; entropic compression; and so on), could you grab those code sections, and throw them in?

      --
      Correct Horse Battery Staple: 72 bits of entropy. Enter "Correct H" into google. When it generates the phrase, that's
    2. Re:TopCoder competitions low on quality by lars · · Score: 1

      Yes, but it's highly unlikely that such code would be useful. The maximum size of input in TopCoder contests is quite small (a 50x50 array at most). Something like Burrows-Wheeler isn't going to be of much use for that kind of input.

    3. Re:TopCoder competitions low on quality by Anonymous Coward · · Score: 1, Interesting

      Yes.

      In fact this is how many of hte early competitions went. The upper echelon of competitors also happened to write problems. Sure they would be exempt from competing when it was their problems on the block, but they freqently cavorted their submitted problems between each other.

      What was worse is that TopCoder used to round robin the top people so that most of them competed in their own rooms. This was eventually changed.

      There were countless other "cheats" to winning with TopCoder.

    4. Re:TopCoder competitions low on quality by Mia'cova · · Score: 1

      I don't think the point of this is to judge the best possible code. I think this is a solid way of finding fast thinking intelligent individuals. Lets face it, anyone Google hires will have to conform to how their organization organizes and manages code. Anyone who can win this sort of a contest is going to be able to indent code the right way with a little practice ;)

    5. Re:TopCoder competitions low on quality by lars · · Score: 1

      *cough* bullshit.

      Can you cite any examples of what you're talking about? Or at least not post Anonymously if you're going to put forth such allegations?

      I've been competing on TC for a year and a half. The closest I've seen to what you describe are a couple of instances where they used problems that had previously been used on ACM ICPC regional contests. However, some of these problems are so simple in concept or well known in the computer science literature that such happenings aren't surprising.

      It sounds to me that you just didn't do as well as you liked and are bitter. Chances are these problems that you think were "frequently cavorted between each other" were solved using standard techniques that you were just ignorant of.

    6. Re:TopCoder competitions low on quality by fucksl4shd0t · · Score: 1

      Is it possible to have code written ahead of time? I mean, it says "ideas must be your own." But if you've put together a large library of useful functions that you've coded yourself (fourier transform; heap sort; Wheeler-Burrows transform; entropic compression; and so on), could you grab those code sections, and throw them in?

      Hell, then I'll enter with this code: solution = SolveAllProblems(problem);

      It's a great little function I worked up back when I was in grade school...

      --
      Like what I said? You might like my music
    7. Re:TopCoder competitions low on quality by Anonymous Coward · · Score: 1, Insightful

      Yes.

      There is an plugin available that wil parse the problem and write out the declarations and such for you, together with a testing harness to run all the sample testcases at once without you having to type them in. It is legal to use it in the contest.

      Also, many of the higher rank coders have a library of macros they use. Bascially a few pages of stuff they paste befroe every solution. (Note: They all agree that this should never be done in production code, so even if you're horrified don't assume they'll be coding like this in the real world).

      Things like:
      #define for_all(it, x) for(it = x.begin();it!=x.end(); ++it)

      The above saves time when writing STL loops (All highly ranked topcoders doing C++ use the STL heavily).

      Register with topcoder and you can look at the high ranked people, and their asnwers to previous problems. You'll see what I mean.

    8. Re:TopCoder competitions low on quality by floydigus · · Score: 1

      the way to win a TopCoder competition is to not only be analytical enough to figure out the solution but also to [be] able to type quickly and accurately as well as to take shortcuts like using short variable names.

      Well, why not? You make it sound like a problem to be able to type well!
      I think you should get paid less if you can't type properly.

      --

      All things in moderation; including moderation

  33. No mention of TopCoder? by leibnizme · · Score: 4, Informative

    Lest we forget, TopCoder is powering this contest. Here's an e-mail I received describing everything in more detail:

    -----------

    Google is pleased to announce the Google Code Jam 2003 competition, powered by TopCoder. Compete against the top programmers in the world for a share of $25,000 in cash and enormous bragging rights. Google is growing and actively seeking top engineering talent to help solve some mind-bending programming challenges on a global scale.

    The competition will consist of a two-week registration period from October 1st to the 15th. All TopCoder members who intend to compete in this competition must register for the event through a new registration path that has been set up exclusively for the tournament.

    All registrants must then participate in the Qualification Round. The Qualification Round will be open from Friday, October 17th at 8:00 AM EDT to Monday, October 20th at 8:00 AM EDT. During this 72-hour period, a competitor must complete one randomly generated problem set. All competitors will be given a score for their performance on that one problem set.

    The top 500 participants from the Qualification Round will advance to the first online round to be held at 9:00 PM EDT on October 24th. All competitors in this round will be sent a t-shirt commemorating the Google Code Jam 2003. The top 250 scorers from Round 1 will advance to Round 2, which will be held at 9:00 PM EST on October 27th.

    The top 25 scorers in Round 2 will win an all expense paid trip to the Googleplex (Google's corporate headquarters) in Mountain View, CA. Here, they will compete in-person in the Championship Round for their share of $25,000 on Friday, November 14th at 4:00 PM EST (1:00 PM PST).

    The grand-prize winner will be awarded $10,000. Second, third and fourth place winners will be awarded $5,000, $3,500 and $1,250, respectively. The remaining finalists in the Championship Round will each receive $250. In order to receive a cash prize, a competitor must be at least eighteen years of age and a lawful permanent resident of one of the nine countries approved for cash prizes. All other cash prize winners will choose a charity to receive their prize.

    Google's engineering organization is pleased to sponsor this contest and is looking forward to meeting the top coders. Participating in this contest propels you to the front of the line for consideration for open positions in our engineering group. You are encouraged to submit your resume for immediate consideration for open positions at any time during this competition. Please visit http://www.topcoder.com/googlecodejam for more information. And remember to register starting on October 1st!

    Best of luck to you in the Arena!

    The Google Team

    1. Re:No mention of TopCoder? by Elwood+P+Dowd · · Score: 1

      All other cash prize winners will choose a charity to receive their prize.

      Sweet! I'm coding for Hamas!

      --

      There are no trails. There are no trees out here.
    2. Re:No mention of TopCoder? by fucksl4shd0t · · Score: 1

      All other cash prize winners will choose a charity to receive their prize.

      I wonder if the FSF and/or EFF are listed in their charity list?

      --
      Like what I said? You might like my music
  34. Re:Please define "any programming language"... by RevMike · · Score: 1
    Wimp!

    If you want to use another language, just write a quick compiler/interpeter in C and then use whatever language you want. Personally, I'm going to write a quick and dirty emulator then code in Z80 machine code.

  35. SPAMMER I says!!! by bigjocker · · Score: 5, Informative

    Glad to see the real identity of the spammer who has been anonimously posting links to amazon products with himself (inertishomepa-20) as referrer.

    Guess you forgot to check the "Post Anonymously" check box this time. Anyway, this is a spammer people, dont click those links.

    On a different note I see you are also the owner of the infamous martin-studio website that has been placing ads on the mirrors for slashdotted stories ....

    --
    Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow.
    1. Re:SPAMMER I says!!! by Bucky+Katt · · Score: 2, Funny
      On a different note I see you are also the owner of the infamous martin-studio website that has been placing ads on the mirrors for slashdotted stories .... Even if you do learn to speak correct English, whom are you going to speak it to? -- Clarence Darrow

      I didn't know Clarence Darrow read Slashdot.

    2. Re:SPAMMER I says!!! by blibbleblobble · · Score: 1

      "Anyway, this is a spammer people, dont click those links."

      If you were to do a "while(1){ wget "link" }, it might activate some alarm bells at Amazon's script-detector, designed to clear the payment account of anyone who runs scripts on an amazon referer.

      Of course, it might only trigger on a purchase.

    3. Re:SPAMMER I says!!! by xchino · · Score: 3, Funny

      He even looks like a prick! Funny, he seems to have mistakenly listed himself as a programmer, instead of spammer.

      In case you want to thank him personally for his services:
      Here's a handy map.
      Anthony Martin, (310) 532-8393, 17450 Van Ness Ave, Torrance, CA 90504

      --
      Everyone is entitled to their own opinion. It's just that yours is stupid.
    4. Re:SPAMMER I says!!! by Anonymous Coward · · Score: 0

      Oh yeah, he's a spammer. Why not just hack his website?

  36. And next... by K-Man · · Score: 2, Funny

    Google Temptation Island!

    --
    ---- "If we have to go on with these damned quantum jumps, then I'm sorry that I ever got involved" - Erwin Schrodinger
  37. Insane offtopick but nice anyway by MTWZZ · · Score: 1

    For the dutch (-speaking) people: Koekel.

    --
    gcc: brain.c: No such file or directory
  38. As the lady said, faster's not better by orthogonal · · Score: 4, Insightful

    Programming with a time limit is not a great indication of how likely someone is to writes= robust, durable, re-usable code.

    My best code usually results from refactoring, and is made up of several small classes made up of small functions, where each function does one thing and does it well, and each class has a well-defined role, usually in collaboration with other classes.

    This is the result of crafting and thinking, not a result of typing as fast as I can, trying for a quick and dirty solution to one specific problem.

    1. Re:As the lady said, faster's not better by lars · · Score: 1

      I am glad you understand some of most basic and well known ideas of software engineering. But I would have to disagree. I think if someone has the problem solving skills and precision of thought (as one member so nicely put it) to do well at TopCoder, they certainly have the skills to write robust, durable, and re-usable code. I would argue that such concepts are in fact fairly trivial relative to the skills TC emphasizes.

    2. Re:As the lady said, faster's not better by Darth_Burrito · · Score: 1

      I've never done Top Coder challenges before... but I just don't buy it. I've known people who excel at solving these kinds of academic problems but lack experience or in solving non trivial real world problems.

      For instance, my old boss did very well academically. He was also an extremely fast coder. Yet he went on to write hundreds of production perl scripts and asp pages without use strict, option explicit, comments, and essentially no abstraction. He didn't declare variables, he summoned them from the aether (sometimes) initializing them in any of a half dozen included files. He thought he was above all of that stuff, after all, he could understand his work perfectly. Maintaining his work was pure hell, especially after it had been modified over the course of a few years.

      I think if someone has the problem solving skills and precision of thought (as one member so nicely put it) to do well at TopCoder, they certainly have the skills to write robust, durable, and re-usable code.

      Can you back this up? What would prevent my old boss from doing well at Top Coder? I can believe that people who can solve academic problems quickly will be more likely to be good software developers, but I don't believe solving these problems quickly implies someone is probably a good developer. The best developers I know tend to work slowly, cautiously, and in paper first, all mannerisms that a Top Coder competition doesn't select for.

  39. C is C++ by ProfessionalCookie · · Score: 1

    Of course you know that C++ is a superset of C.

    would that be considerd "C++"

    That's like saying "We're gonna have a race, you can use bikes.
    Racer #664381: Um can I use a Schwinn since it works like a bike.

    1. Re:C is C++ by divec · · Score: 1
      Of course you know that C++ is a superset of C.

      Not quite. E.g., the following may behave differently:
      printf("%d\n", sizeof('x'));

      In C++ it prints sizeof(char) whereas in C it prints sizeof(int) (I think).
      --

      perl -e 'fork||print for split//,"hahahaha"'

  40. Your choices by 955301 · · Score: 4, Funny

    Yeah, the limit on programming languages reminds me of The Jerk. No, not my grandfather, but the Steve Martin movie. Specifically, a scene where he is working at a carnival stand:

    Carnival Goer:
    What'd I win?

    Navin:
    Uh, anything in this general area right in here. Anything below the stereo and on this side of the bicentennial glasses. Anything between the ashtrays and the thimble. Anything in this
    three inches right in here in this area. That includes the Chiclets, but not the erasers.

    --
    You are checking your backups, aren't you?
  41. CANT WAIT!!! by Serapth · · Score: 1, Funny

    To watch the live telecast on ESPN!

    Hey... if they will televise spelling bee's, they damned well better televise a coding contest!

    Hmmmm.... ok... im a geek, and even I would find that dull as hell.

    1. Re:CANT WAIT!!! by Anonymous Coward · · Score: 0

      It can't possibly be more boring than poker, can it?

    2. Re:CANT WAIT!!! by Jacer · · Score: 2, Funny

      What are you talking about? That would be the event of the....century! Here goes Mr. X, finishing out what looks to be line 100,000, and oh my, what's this? HE'S GOING TO COMPILE! Error, error error, oh the humanity, let's take a look at how Mr. Z is doing. Mr Z appears to have written only 100 lines, but it does compile, and What's this?!?!? It's fully functional! Mr. Z, here's your prize, one XXXL T-shirt. Tune in next week for Linus vs. Bill on the Professional Coder Network. Will be forced to where a M$ sucks shirt to work on Monday? Only one way to find out!

      --
      --fetch daddy's blue fright wig, i must be handsome when i release my rage
    3. Re:CANT WAIT!!! by Anonymous Coward · · Score: 0

      Unless they did interspersed things like interviews.

      "Do you have a family?"

      "My dad disowned me, so I got married."

    4. Re:CANT WAIT!!! by JohnQPublic · · Score: 2, Funny
      Reminds me of the classic:

      Jesus and Satan have a discussion as to who is the better computer programmer. This goes on for a few hours until they come to an agreement to hold a contest, with God as the judge.

      They set themselves before their computers and begin. They type furiously, lines of code streaming up the screen, for several hours straight. Seconds before the end of the competition, a bolt of lightning strikes, taking out the electricity. Moments later, the power is restored and God announces that the contest is over. He asks Satan to show what he has come up with.

      Satan is visibly upset and cries, "I have nothing. I lost it all when the power went out."

      "Very well, then," says God, "let us see if Jesus fared any better."

      Jesus enters a command and the screen comes to life in vivid display, the voices of an angelic choir pour forth from the speakers.

      Satan is astonished. He stutters, "B-b-but how?! I lost everything, yet Jesus' program is intact! How did he do it?"

      God chuckles and says: "Jesus saves."

  42. Bleh, sounds like a regular topcoder compo by autopr0n · · Score: 2, Interesting

    I donno, maybe the problems will be more 'google specific' but it sounds like a regular TopCoder compo. I'm glad TC is able to find some sponsors, but this isn't really all that exciting.

    Anyone remember when TopCoder gave out TONS of money? They would give out cash to 3/8th of the participants like 3x as week. It rocked. And it was distributed to each 'room' so you only had to compete against 8 other people (so in order to get cash you only needed to beat 5 people). Despite this, I only placed once :P. They accidentally sent me two checks though.

    The craziest thing was that they started this after the dot-com crash, so everyone thought they were basically insane, but we were happy to take free money :).

    Anyway I might play this time around. Of course, you'll need to do better then n-249, rather then 3 but it still might be fun :)

    TC used to allow C++ though, I wonder why they gave up on that.

    --
    autopr0n is like, down and stuff.
  43. I use Objective C you insensitive prick! by Anonymous Coward · · Score: 0

    I use Objective C you insensitive prick!

  44. If you use VB to win... by Enrico+Pulatzo · · Score: 4, Funny

    you also get a mask, to protect your anonymity ;) Just kidding!

  45. Re:Not 100% true. by botzi · · Score: 2, Informative
    Of course you know that C++ is a superset of C.


    It's quiet easy to write C code that does not compile on C++ compilers(malloc() casts anyone??? etc.), so the answer to this question is more likely to be:
    "Yes, you may write C code and it'll be accepted as long as it compiles on our compiler package.".

    --
    1. No sig. 2. ???? 3. Profit!!!
  46. Can we use Google to find the solutions? by phamlen · · Score: 4, Funny
    As virtually every good developer can attest, the first thing you do when stuck with a hard computer program is....

    ...Google for the answer!

    I wonder if that violates the spirit of the competition?

  47. Google may be looking... But not for YOU! by Anonymous Coward · · Score: 0

    "Blaw, blaw, blaw l33t coding sk1llz... Blaw, blaw, blaw

    Go home to your mama's tit, script kiddie.

  48. Re:Please define "any programming language"... by Anonymous Coward · · Score: 1, Interesting
    AFAIK all C++ compilers will compile C code; if they're getting picky, just change all structs to public classes.

    But that's not the real problem. The real problem is they've provided a choice of four languages which are all based in the same programming paradigm. What's missing from their list of approved languages? Well, how about any functional languages -- ML/OCAML, Haskell, heck I'd even settle for LISP! Modern functional language compilers now produce code whose runtime rivals that of C or C++ (of course when your bug rate drops an order of magnitude, and you can concentrate on algorithms instead of low-level implementation, that's the least of your concerns!)

    What about Prolog? If runtime speed isn't an issue, it's an ideal fit for many AI problems. I've even found myself using oddballs like Forth in the real world.

    A good programmer, just like a good physician or a good carpenter, becomes fluent in the tools of the trade and selects them according to the problem domain. Having a programming contest in which only OO languages are permitted is like having a cabinet-making contest in which all work must be done with screwdrivers.

  49. Re:TopCoder! Is Pure Evil by tempny · · Score: 3, Interesting

    There are many things that make a coder good. Insightful and elegant design are one. But being able to quickly bang out a solution for a self-contained problem quick and dirty style is just as sure a sign of skill, to me at least.

  50. Outrage! by Anonymous Coward · · Score: 0

    This is outrageous, how am I supposed to write a program if I can't use Visual Python?

  51. Languages by spoonboy42 · · Score: 1

    So in other words, use an OO language or use complete and utter shit (*cough* VB *cough*).

    --
    Anonymous Luddite: "What do you think of the dehumanizing effects of the Internet?"
    Andy Grove: "Not Much."
  52. Python? by PDHoss · · Score: 1

    No Python? I though Google was a biggish pusher of Python? Something new here?

    PDHoss

    --
    ======================================
    Writers get in shape by pumping irony.
  53. Yeah, I saw this in the rules by siskbc · · Score: 1
    When your stuck on how to code something.... run a competition and let others do the coding for you.

    I saw this in the rules:

    1. Function #26 must be called "CheckForSearchKing(char * HTMLpage)." It must accept a pointer to a long buffer of char.
    2. Function #27 must be called "PageRank(char * HTMLpage)." It also accepts a pointer to a char buffer, as shown. Also, it must call Function #26. Function #27 should return 0 if Function #26 returns true.

    --

    -Looking for a job as a materials chemist or multivariat

  54. $100 pc contest by Anonymous Coward · · Score: 0

    This is the real issue:

    Build an off the shelf internet ready brand new pc out of any new components with all legally licensed software for $100.00 or less including cpu, keyboard, mouse, display, etc.

    1. Re:$100 pc contest by avrincianu · · Score: 1

      Man, you've watched "The first 20 million dollars" way too many times... although you do have a point here.

      Anyway, go C ! Go Python ! What's that VB.NET ? Real programmers write in FORTRAN. If not FORTRAN then ASM. If not ASM, then it's not worth writing :D

      Did you people notice that the languages google wants us to write programs in for the contest are all compiled ?

  55. Other fun Google recruiting methods by K-Man · · Score: 2, Interesting
    I've noticed they also bought some of their own keywords pertaining to certain CS topics, eg:

    Inverted Index
    Page Rank
    Suffix Array

    They've even put some individual researchers' names in for sponsored links:
    Udi Manber
    Gene Myers

    It's interesting, as they seem to have some things but not others. The suffix array stuff is useful for full-text indexing, which they may be interested in, but they don't flag searches on more recent topics in the field.

    --
    ---- "If we have to go on with these damned quantum jumps, then I'm sorry that I ever got involved" - Erwin Schrodinger
    1. Re:Other fun Google recruiting methods by foxcub · · Score: 1

      They also place a link that says "Graduating? Come work with us." on their front page when they detect a university IP address (or that's how I assume they differentiate when to show the link).Quite an audience reach there, I would imagine.

  56. this is insane.... by jaal · · Score: 1

    "All individuals who are 18 years of age or older are eligible to register and compete in the Google Code Jam 2003" ...no where it mentons that i need to drive.....u insensitive clod....

  57. Much of the world is ineligible to win by Anonymous Coward · · Score: 0

    From the rules:

    All individuals who are 18 years of age or older are eligible to register and compete in the Google Code Jam 2003. All citizens and lawful permanent residents of the following countries (and all non-immigrants currently residing in the United States with a valid Visa) are eligible to win cash prizes after completing the appropriate affidavit and tax form:

    # Australia
    # Canada (excluding Quebec)
    # China
    # India
    # Ireland
    # New Zealand
    # Sweden
    # United Kingdom
    # United States (including the U.S. territories of Guam, Puerto Rico and the U.S. Virgin Islands)

    How about most of the rest of Europe, Russia, Asia? Some of the most talented coders in the world I've met are from there. Not to say that coders from the eligible countries are bad, but they are shutting themselves from a huge talent pool.

    1. Re:Much of the world is ineligible to win by praxis · · Score: 1

      This probably has a lot more to do with tax laws than anything else.

    2. Re:Much of the world is ineligible to win by ant_slayer · · Score: 1

      So what... you think there was a board meeting where they decided to cut out a bunch of countries because they didn't want "those people" to get the money?

      No, my guess is that there are legal issues. Google is probably limiting the field because of numerous problems that only the lawyers really understand. I'm sure they're not intentionally excluding countries that produce great coders. Besides, if you come from an ineligible country, you can still play -- but your prize goes to charity. You might still get a job offer though =).

      -Josh O-

    3. Re:Much of the world is ineligible to win by fucksl4shd0t · · Score: 1

      This probably has a lot more to do with tax laws than anything else.

      Or they could be trying to keep terrorists out. Heh.

      I've decided to enter, but I want them to have an automatic GPL deal that automatically inserts GPL headers in your code, 'cause I'd really hate to lose just because I had to type out the GPL at the top of every problem solved....

      OH wait, Google's gonna own the code when I'm done? Fuck that.

      --
      Like what I said? You might like my music
    4. Re:Much of the world is ineligible to win by Anonymous Coward · · Score: 0

      I'm sure they don't exclude countries on purpose--in many countries this contest is considered a lottery and you would need to register it etc etc. TopCoder has the same restrictions for their regular contests.

  58. publicity efforts? by jaal · · Score: 1

    "In addition, all prizewinners agree to cooperate with Google's and TopCoder's publicity efforts, without further compensation. "
    u know what? they are gonna print those 2 'o's from google on your bums...or should i dare say....breasts and call "TopLESSCoder"....

  59. Could have predicted tenor of threads.... by drpickett · · Score: 2, Interesting
    I think that this is a neat idea - Of course, nobody here wanted to discuss the pros and cons of the contest, they just wanted to prove to the rest of the world that they could sling senseless esoterica and criticize Microsoft

    Anyhow, all bull$hit aside concerning Lisp, Python, Haskell, Modula-2, Ada, COBOL, ALGOL, FORTRAN, and whatever other nonesense I saw, I'd like to see some of the socially challenged here at /. put their money where their hacking chops are (assuming that their mom's will let them stay up past their bedtime)

    It would be amusing to see those who would engage in mindless holy wars put their programming chops to the test, and earn some legitimate bragging rights

    I agree with a previous poster that it would be useful to have more contests like this - Here is my programming assignment for you:

    Using a computer language of your choice, write a program that will factor a very large integer of arbitrary precision (1024+ digits) in as little time as possible - Points awarded on speed of execution

    8^)

    1. Re:Could have predicted tenor of threads.... by fucksl4shd0t · · Score: 1

      Using a computer language of your choice, write a program that will factor a very large integer of arbitrary precision (1024+ digits) in as little time as possible - Points awarded on speed of execution

      Ok, here goes:

      You will need a Whitespace compiler to be able to run the listing I provided.

      --
      Like what I said? You might like my music
    2. Re:Could have predicted tenor of threads.... by Anonymous Coward · · Score: 0
      def factor (n): return (n,1)

      You didn't specify any factors in particular you wanted, but you can't beat constant time
  60. Bad Naming? by DigitalNinja7 · · Score: 0

    The name reminds me of a traffic jam, as if the code will be a tangled mess. I understand the word "Jam", but as a Software Engineer and musician, I think it best that we left the word "Jam" to the rockers, because it just doesn't carry over well to something that's supposed to beorderly.

    --
    Show your love for the Hacker community
    HackerLogo.com
  61. Boring by codepunk · · Score: 1

    TopCoder stuff is boring ... It consists of a bunch of coding exercises much like you are subjected to in school.

    --


    Got Code?
    1. Re:Boring by lars · · Score: 1

      Why do you study computer science in school if you find it boring?

    2. Re:Boring by Anonymous Coward · · Score: 0

      But you get paid for it. :)

    3. Re:Boring by fucksl4shd0t · · Score: 1

      Why do you study computer science in school if you find it boring?

      To be good at TopCoder.

      --
      Like what I said? You might like my music
    4. Re:Boring by n7ytd · · Score: 1
      It consists of a bunch of coding exercises much like you are subjected to in school

      ...or on the job. If you routinely find that your CS classes are boring, you might want to think twice about making a career out of it...

  62. Re:As the lady said, faster's not NECESSARY better by botzi · · Score: 2, Interesting

    But it can be.
    I've adopted the habit to always search for a rapid solution of a problem and then once I have a functional code I start to optimize,build, rebuild and defragment it in smaller modules.
    I Have a friend who at the same time is uncapable of coding anything at all before writing down some project design notes on paper.
    You'll be surprised how often at the end we arrive at the same solution(at least we're surprised;o))).
    So,back on your point, fast coding != robust, durable, re-usable code, but I don't really see a way to put a note on those for a competition purposes or am I wrong?????

    --
    1. No sig. 2. ???? 3. Profit!!!
  63. Read the article by Anonymous Coward · · Score: 0

    Google is sponsoring this TopCoder Event.

    Topcoder does not utilize anything other than Java, C++, C# and VB.net

    1. Re:Read the article by Anonymous Coward · · Score: 0
      ah yes... VB

      The choice of ummm... well I can't find a nice way to say it, so nevermind.

  64. MOD up funny by Stone316 · · Score: 1

    If I had any mod points, i'd give you a Funny... laughed my ass off when I read that.

    --
    "Thanks to the remote control I have the attention span of a gerbil."
  65. Oh, sure . . . by Tzaquiel · · Score: 1
    You can use any programming language you want to solve the increasingly challenging problems ... as long as it's Java, C++, C# or VB.NET.

    I use Fortran, you insensitive clod !

  66. What About Delphi? by ad0le · · Score: 1

    Why do people always discount Delphi when discussing OOP. I know, I know... it's Object Pascal, but it's surely OO and is a fantastic alternative to atleast two of the languages mentioned in the artice (C# and ceartinly VB.NET)

    --
    My mother never saw the irony in calling me a son-of-a-bitch.
    1. Re:What About Delphi? by the_mushroom_king · · Score: 1

      I agree! Borland's Delphi (Object Pascal) is one of the best languages out there. Ture, it used to be WINTEL only, but is slowly moving cross-patform (starting with Linux). Sadly, in the US at least, it plays second fiddle to Micro$oft's less powerful, harder to us offering. - TMK

    2. Re:What About Delphi? by fucksl4shd0t · · Score: 1

      Why do people always discount Delphi when discussing OOP. I know, I know... it's Object Pascal, but it's surely OO and is a fantastic alternative to atleast two of the languages mentioned in the artice (C# and ceartinly VB.NET)

      Um, maybe it's because Delphi:programming::hamburger:food ?

      --
      Like what I said? You might like my music
  67. Why can't Quebec people participate ? by dom1234 · · Score: 1

    Are they afraid it wouldn't be fair because we're too good ?

    1. Re:Why can't Quebec people participate ? by cameronsto · · Score: 0

      lol

    2. Re:Why can't Quebec people participate ? by Anonymous Coward · · Score: 0

      No...They're trying to keep their employee base politically neutral.

    3. Re:Why can't Quebec people participate ? by JavaScrybe · · Score: 1

      Yeah!!

      Why?
      Pourquoi, tabarnak?

      I would have liked to go, but for that little stupid phrase that goes like "(excluding Quebec)". Is there a law that's not abiding? I recognize my english is not THAT good, but I can certainly manage Java very well...

      Quebec is, after all, one of the best source of IT expertise (regarding the population ratio), first in the publication of french content of the web (yes, OVER France, who's 10 times more populated).

      --
      Lex
      1) /. post 2) .sig 3) ??? 4) Profit!
    4. Re:Why can't Quebec people participate ? by JavaScrybe · · Score: 1

      But that wouldn't "political discrimination" be against the law, even in the 'States? It is in Canada and Quebec...

      --
      Lex
      1) /. post 2) .sig 3) ??? 4) Profit!
    5. Re:Why can't Quebec people participate ? by Anonymous Coward · · Score: 1, Funny

      What an easy question...
      French is not one of the languages listed and Google / Top Coder didn't want to violate any of Quebec's language preservation laws.


      Pourquoi ne pouvons-nous pas employer le Perl?

    6. Re:Why can't Quebec people participate ? by cp4 · · Score: 1

      This is a question that has puzzled me for years. Contests throughout the Internet be they from the United States or based in Canada will exclude Quebec most of the time.

      I've asked all kinds of people but I can never get an answer. Perhaps Quebec has some dumb law which requires contest rules to be bilingual or something?

      It is quite a piss off.

    7. Re:Why can't Quebec people participate ? by Anonymous Coward · · Score: 0

      http://www.topcoder.com/rtables/viewThread.jsp?for um=7167&thread=41364&message=68231#68231

    8. Re:Why can't Quebec people participate ? by Anonymous Coward · · Score: 0

      Well, it's not a question of language, but a question of protection... The dumb law is there to "protect us" of all those evil contest which could help us have more fun or more money or more sex (hmmm maybe not more sex...) The government thinks we can't take care of ourselves. Only Loto-Quebec has the rights to screw us legally...

    9. Re:Why can't Quebec people participate ? by Anonymous Coward · · Score: 0

      Explained here : http://www.racj.gouv.qc.ca/racj_en.asp?ndn=00&txtS ection=faq

    10. Re:Why can't Quebec people participate ? by Anonymous Coward · · Score: 0

      It's Because every state/province/country has their own sweepstakes laws which say what types of contests and what types of prizes are legal. It is common to exclude localities where the contest doesn't meet the legal requirements.

  68. Hahaha by Gay+Nigger · · Score: 1
    The NSA does soemething similar, breaking up a problem into smaller problems which, individually, have no apparent practical application. So not only are you practically giving away your solutions to a for-profit corporation, you don't even get to find out what problem it ends up solving.

    Code away, suckers.

  69. Perhaps you can explain to me... by MickLinux · · Score: 1
    ... the difference between a problem that is Object Oriented in nature as opposed to NotObjectOriented.

    Also, does this contest heavily advantage those who know all 4 languages?

    As far as it goes with me, I can program C, but I get real uncomfortable, real fast, with C++, have never done C#, have done only the most basic Visual Basic (MS Word stuff), and never got JAVA going. For JAVA it's been a problem installing the compiler from Sun -- somehow, it never installed correctly. For the others, it was always a problem of too little money, and good enough morals not to steal the compilers, even when I really really really wanted the compilers and couldn't afford them. So anyhow, I don't read these languages real well, but I could probably read C or JAVA okay in a pinch, enough to identify obvious algorithmic errors. Which all means this probably isn't for me.

    --
    Correct Horse Battery Staple: 72 bits of entropy. Enter "Correct H" into google. When it generates the phrase, that's
    1. Re:Perhaps you can explain to me... by FatSean · · Score: 1

      Um...if you can't figure out how to install the Java Developers Kit, perhaps programming computers is not for you.

      --
      Blar.
    2. Re:Perhaps you can explain to me... by MickLinux · · Score: 1
      Ummm... there were licensing problems that kept it from being on the Debian site, and bandwidth problems that kept me from getting it from the Sun site. I was on a very droppy Lithuanian connection, that -- at the time I had time to do installs -- was advertised at 128 kbaud, and was running at 0.5 - 3 kbaud due to overused bandwidth.

      All of which may be part of the reason that this contest may not be a good choice for me to enter.

      But as for programming, I'm pretty good with C and Assembly. I've written Binary Spatial Partitioning programs from scratch, in C first, and then Assembly to get it to run fast on a 12 MHz machine. My skills aren't so much in coding as algorithms, though: I understand a ton of different algorithms. Related to that: another, better reason not to get into the coding contest: I make typos, and it takes me a while to find them. However, that's probably more due to the fact that I haven't had a lot of time to program these last 5 years.

      Oh yes... my main problem with learning C++, Java, and so on has been not having books that categorize the functions. Those books are how I learn best, but money's been too much of a problem to be able to afford them.

      --
      Correct Horse Battery Staple: 72 bits of entropy. Enter "Correct H" into google. When it generates the phrase, that's
  70. Re:Please define "any programming language"... by Anonymous Coward · · Score: 0

    You're an academic, aren't you?

  71. Any language, but not any nationality by Anonymous Coward · · Score: 0

    I don't understand why they restrict most European participants from winning money (UK, Sweden, Ireland are in). Or Pakistani (Indians can win). Or Israeli ...
    Looks like a pretty substantial form of discrimination to me ...

  72. [OT] Re:Programming competitions, give me a break by Cpyder · · Score: 1, Informative

    However, I trusted there skills, and respected there experience

    Jeez... People, it's really not that difficult!

    There: not here, adverb - at or in that place
    Their: not mine, possessive form of they
    They're: they are

    Your: possessive form of you
    You're: You are

    Its: possessive form of it
    It's: It is

    If you want to exercise, go here.

    Happy spelling!

  73. basic by cyrax777 · · Score: 1

    But all I know is is basic! oh well

  74. Nice by microsoftisass · · Score: 1

    I wonder if I can win with MUMPS!

    1. Re:Nice by smurfbane · · Score: 1
      MUMPS, as the name implies, is a disease of a language and should be vaccinated against.

      /me throws 2 bits at VB, whistles innocently for a moment and then pours penicillin on it.

  75. It's a shame by getnuked · · Score: 1
    ... that a single language wasn't chosen, something that is so prevalent, and widely used such as C. With such diverse programming options you are ultimately comparing apples and oranges.

    I suspect that the languages chosen where based on the topcoder 'marketplace', which is java and .net (topcoder is a retailer of source code, you do know that, don't you?). More than likely they don't care about comparing coding skills; perhaps they are more interested in recruiting coders who can spit out solutions for their clients, in as short a time as possible.

  76. It's the Willie Wonka business model by Anonymous Coward · · Score: 0

    1. Hand out golden tickets
    2. Hold contest
    3. Hire winner
    4. ???
    5. Profit!

  77. No Python? From Google? by DonGar · · Score: 1

    Google has always been rumored to be heavily based on Python. I'm surpised they wouldn't want to use it for the contest.

    Of course, it would put everyone who didn't use Python at a disadvantage.... ;>

    --
    plus-good, double-plus-good
  78. Not to start a political flamewar, but... by Homburg · · Score: 1

    Actually, under Russian socialism, workers were paid a wage. Not necessarily a particularly good one, but that's better than Russian capitalism is managing.

  79. Google Programming Tip #423 by Anonymous Coward · · Score: 0

    It is never a good idea to stuff complex ideas like that onto a single line. This approach is confusing. Instead try giving each operation its own line and temporary variable:

    int temp233422 = public;
    int temp233423 = true - false;
    int temp233424 = temp233423/class;
    return temp233422 * temp233424;

    Even this can still be confusing though, because you forgot to comment! Honestly, how is anyone supposed to figure out what that code does just by looking at it? Try the following:

    /* Do The Math */
    int temp233422 = public;
    int temp233423 = true - false;
    int temp233424 = temp233423/class;

    /* Return */
    return temp233422 * temp233424;

    Undocumented code is the devil's work. Good programming practices will not only make your work easier to read and understand, but will help you maintain this code in the future!

  80. more like reality show by BigGerman · · Score: 1

    where participants are locked up with just vi and gcc, every day are forced into new combinations for pair programming and every week they vote one out. Voted out ones become QA.

  81. Microsoft buys google by dazst · · Score: 1

    Update by J: ... as long as it's Java, C++, C# or VB.NET.

    First, Microsoft Eyes Google: http://www.google.com/search?q=microsoft+eyes+goog le&hl=en&lr=&ie=UTF-8&oe=UTF-8

    Then this ;) :
    http://www.google.com/microsoft.html

    And now, we can only code with Windows-0wned^H^H^H^H^H compati^H^H^H^H^H^H^H (PHP,TCL,etc) 0wned!! code?

    puhlease

    Tell me Microsoft hasen't already bought google...

    1. Re:Microsoft buys google by The+Cydonian · · Score: 1

      No, it hasn't.

    2. Re:Microsoft buys google by damn_hippy · · Score: 1

      Or maybe it has....

  82. Another Contest Idea by nate+nice · · Score: 1

    There should be a contect for sys admins,....you get a Linux server and an account...they "bug" it somehow....give you an idea of whats going on and have you locate patches, remove/add files, kill things etc...all the fun things a sys-admin has to do...and generally quickly. Of course it wouldn't be a good measure of how great a sys-admin someone is, but would be fun for peeps none the less.

    --
    "If you are a dreamer, a wisher, a liar, A hope-er, a pray-er, a magic bean buyer ..."
  83. No Objective-C / COCOA or GNUStep? by tyrione · · Score: 1

    Afraid Apple's MVC paradigm and strong frameworks would make it an unfair competition?

  84. heh, it might work. by pb · · Score: 1

    I've worked with some "C++ compilers" that didn't implement the bool types at all, amongst other things.

    --
    pb Reply or e-mail; don't vaguely moderate.
  85. I guess as long as people are willing to do it. by infobeing · · Score: 1

    Anyway, I think they care as much about the promotional as the code.

  86. Corporate Scheme? by anubi · · Score: 1
    'I mean, it says "ideas must be your own."'
    I wonder if somewhere in the application EULA, there is some clause which assigns any IP, copyright, or patent rights of any entry to the company, much like a RIAA contract. This would be a helluva way of capturing lots of code snippets so that the company could be indemnified for their usage, despite the fact they did not author that concepts. A "sharp business" technique to use the leverage of Modern Copyright Law to see to it that even the coder which coined some innovative technique maybe can't even use it himself in another application?

    As we enter into an economy that appears to be funded by the legal ability to grant permission, instead of the ability to create, I am increasingly skeptical of ulterior motives.

    --
    "Prove all things; hold fast that which is good." [KJV: I Thessalonians 5:21]

  87. What's that with the country list? by dr.matrix · · Score: 1

    I've read the conditions, and it says there quite bluntly that only the citizens of the following countries are eligible for cash prizes:
    Australia, Canada (excluding Quebec), China, India, Ireland, New Zealand, Sweden, United Kingdom, United States.
    Everyone else has to donate everything they win to a charity which TopCoder chooses.
    Why is that? It seems a bit mean that I, just because I live in Germany, wouldn't get a single cent in case I won..
    (More ironic yet, a Canadian from Vancouver gets all the bucks, while one from Montreal doesn't..)

    1. Re:What's that with the country list? by Anonymous Coward · · Score: 0

      They speak English.

      If you want to work in the USA (fuck knows why) you need to speak English

      Ain't You Gotten that yet?

      (Hang on Sweeden, non Euro member..also Uk, hang on Eire (sorry IreLand). So most of Europe, if its Catholic (except Ireland (sorry Eire)) excluding Swiz-a-land, hang on where is Japan? Also India I read an inflight magazine on a trip to Bombay that said they had people who could read but I got bored and ...)

      GET Verb
      I will get
      I got this some time ago

      VERB
      Doing word
      Tense--Related to time
      I had/I got--pass tense
      I have/I gotted(hehe)--present
      I will get/I getted(hehe)--future

      gotten--> some fucked up English only a thick Irish toss-pot would come up with

    2. Re:What's that with the country list? by The+Cydonian · · Score: 1
      Struck me strange too. Tax reasons, perhaps?

      Incidentally, that seems to be TopCoder policy, not Google's per se.

  88. Translation: by Dr.+Photo · · Score: 1

    and you can use any programming language you want to solve the increasingly challenging problems." Update by J: ... as long as it's Java, C++, C# or VB.NET.

    You can have any beer you want.... as long as it's MGD, Horse Piss, Donkey Piss, or Pabst.

    (With apologies to drunken rednecks and Algol-holics everywhere...)

  89. stay tuned for the new development methodology by the-build-chicken · · Score: 1


    FP -- Free Programming

  90. Whats the Quebec problem? by Anonymous Coward · · Score: 0

    Is that *BSD or 'cus they speak FRENCH?

    Also, how can you tell if a Canadian comes from Quebec?

    Is it tatooed on the side of their necks?

    Window-> Old Saxon, hole that lets the wind blow thru.

    Unix-> Pun on Multics, i.e.One sad-O

    Machintosh-> Scots. Raincoat, made of vegitables and twees

    OSX-> Ang. SOX
    SOX-> Ang. OXs
    OXs-> Like a cow or bull, slow, dies young, taste nice

  91. PieMenus started as Postscript! by JohnQPublic · · Score: 1

    Don Hopkins wonderful Pie Menus idea got it's start as an add-on for Sun's aborted NeWS window manager. One of the NeW things about NeWS was that you wrote UI parts in Postscript! P.S. That's not Don in the movie, although he is the one doing the voice-over during the demo.

  92. Model Ts came in several colors by JohnQPublic · · Score: 1
  93. Eligibility: People who don't have day jobs by Anonymous Coward · · Score: 0

    Since the first round of the contest runs from 8 am on *Friday* to 8 am on Monday. Plus the points depend on how soon you submit after the contest begins, so in case you thought you could start on Saturday and still get it done: you're probably out of the running before you've begun.
    Thanks, but I think I'll stick to my current job and show up at work that Friday.

  94. Re:Read up, people! by Anonymous Coward · · Score: 0

    Nice try whore. Just for that:

    Everybody go to this whore's website at http://www.martin-studio.com/ use the password marcie (so incredibly easy to hack that it's sad, just fucking sad) and check out how ugly his wife is!!!.

  95. Re:Read up, people! by randyest · · Score: 1

    Ha Ha!

    --
    everything in moderation
  96. Any country!!! by MonsieurX · · Score: 1
    Since Luxembourg or other EU countries are not supported I will not play. At least these bozos found a way to loose ten thousand other coders too...

    Are countries in Europe (other than england and china !!!!) supposed to be incompetent english speakers in your eyes? Why china and india and not other competent countries?

    Im appaled at their lack of intelligence!

  97. Re:Please define "any programming language"... by Raphael · · Score: 1
    Having a programming contest in which only OO languages are permitted is like having a cabinet-making contest in which all work must be done with screwdrivers.

    I agree. That's why I posted the previous comment and suggested some scripting languages. I am not too familiar with ML, OCAML or Haskell, but there are some problems for which I would use Erlang. It's a pity that this fine language does not get the attention that it deserves.

    A good programmer, just like a good physician or a good carpenter, becomes fluent in the tools of the trade and selects them according to the problem domain.

    And the tools of the trade include not only the languages, but also the toolkits and libraries available for those languages. Although I have done it a number of times for specific tasks that required highly optimized code, I would not implement the sockets code for a client-server or some sorting algorithms, etc. Instead, I would install the appropriate libraries and use them. There is no need to re-invent the wheel every time.

    <rant>And now a minor rant: my original comment was moderated twice as redundant (down to -1) only because I posted it just a bit after a similar comment that got modded up to +5. A bit more than one minute made the difference. Maybe I should not use to preview button and fix the typos? Or maybe I should not take care of formatting my message in HTML for better readability? The interesting thing is that several other redundant messages that have been posted one hour later did not get moderated down. So the conclusion is that one has to post very fast or post late. But posting just a bit too late (e.g., spending one minute previewing and correcting the comment) can kill a comment that would otherwise be as good (or bad) as another one that gets moderated up very quickly. Ah well, this is Slashdot, after all...</rant> ;-)

    --
    -Raphaël
  98. Re:Read up, people! by Anonymous Coward · · Score: 0

    My take on it is

    Firstly you say topcoder isint that job/business/real programming oriented. This is true ...however that does ensure that the programming tasks are more interesting.

    Someone mentioned that one should try to find a solution to factoring large integers.Well for one that problem doesnt require any of the sort of questions that a real world programming job throws up.That a near pure algorithmic problem and will probably be solved properly by mathematicians/computer scienticts who are really bothered about code readability or re usability because all that is relevant with such a question is the algo.

    someone mentioned there is a corelation between topcoder top performers and good industry ppl . I I dont know a lot on this and cant comment .. but I can say I know of atleast 2 high rated (I am certain asking around will reveal much more.. jobs arent generally discussed in such competitions) programmers gainfully employed in industry jobs (one in the gaming industry the other in a biotech firm)

    Yes topcoder.com problems tend to emplasize speed and implementation but this is basically a side effect to make problems a bit more real world.If you like more algorithmic stuff try out the acm contests or the IFPC or if you want more (with less implementation hassles) try out the ioi or usaco problems .If you still arent satisfied you might as well go out and try to solve the factoring problem someone pointed out.I assure you typing wont be a issue if you try to go it in polynomial (of log n) time.

    As far as why some European countries are not eligible and countries like India ,China are eligible its probably because of the fact that these two countries make up a large chunk of hte worlds population and serve as a source of cheap labour (topcoder's aim is to identify and recruit good programmers).There are legal issues involved with winning money in such contest and making a country eligible involved expensive legal hassels and probably that the reason they have been avoided.