cooper Posted May 25, 2007 Share Posted May 25, 2007 We tried this a while back (season 1 even?) with putting up some assignment, in the hopes people would use their code-fu to solve the problem presented to them. I was under the impression that people on this forum liked doing this sort of thing back then. So today I ran across an article on the (dutch language) Tweakers.net site about their programming contest. Sadly, it had already ended. They put up a challenge to take a large number of words, and you would have to place those words in a grid, vertically or horizontally (irrespective of direction) not unlike when making a crossword puzzle. The goal was to place the words in the smallest grid possible, i.e. have as many letters as possible overlap. Contestants were given a month to create their programs, which would be judged on how well they solved the problem, how fast they did it, and how neat the code was. Rather interestingly, the winner of that particular contest used Visual FoxPro. So what I was wondering. If we were put up a coding challenge assignment here, who would be willing to have a go at it? Quote Link to comment Share on other sites More sharing options...
VaKo Posted May 26, 2007 Share Posted May 26, 2007 Sounds good, but since I know jack about programing I won't be winnng any prizes soon. Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted May 26, 2007 Share Posted May 26, 2007 We tried this a while back (season 1 even?) with putting up some assignment, in the hopes people would use their code-fu to solve the problem presented to them. I was under the impression that people on this forum liked doing this sort of thing back then. So today I ran across an article on the (dutch language) Tweakers.net site about their programming contest. Sadly, it had already ended. They put up a challenge to take a large number of words, and you would have to place those words in a grid, vertically or horizontally (irrespective of direction) not unlike when making a crossword puzzle. The goal was to place the words in the smallest grid possible, i.e. have as many letters as possible overlap. Contestants were given a month to create their programs, which would be judged on how well they solved the problem, how fast they did it, and how neat the code was. Rather interestingly, the winner of that particular contest used Visual FoxPro. So what I was wondering. If we were put up a coding challenge assignment here, who would be willing to have a go at it? If The challenge was interesting I'd try it out Quote Link to comment Share on other sites More sharing options...
Deveant Posted May 26, 2007 Share Posted May 26, 2007 i would try it, wouldnt win, but still would try. Quote Link to comment Share on other sites More sharing options...
stingwray Posted May 26, 2007 Share Posted May 26, 2007 I'm sure if one came up that I would have a good stab at it, depending on how much I have on at the time. Quote Link to comment Share on other sites More sharing options...
deleted Posted May 26, 2007 Share Posted May 26, 2007 I'm sure if one came up that I would have a good stab at it, depending on how much I have on at the time. me the same. Quote Link to comment Share on other sites More sharing options...
metatron Posted May 26, 2007 Share Posted May 26, 2007 The problem is do you leave it open to any language and if so who will judge. I’m sure everyone knows C, C++, C#, Perl, Python, Ruby, Java and a handful of other languages but what happens if someone decides to throw down some Assembly or maybe just for shits and giggles some Fortran. Quote Link to comment Share on other sites More sharing options...
spider Posted May 27, 2007 Share Posted May 27, 2007 i would most likely have a go at it, it doesnt really bother me if you place a language restriction on the contest, but it would be better if there wasnt one. Quote Link to comment Share on other sites More sharing options...
cooper Posted May 27, 2007 Author Share Posted May 27, 2007 The problem is do you leave it open to any language and if so who will judge. I’m sure everyone knows C, C++, C#, Perl, Python, Ruby, Java and a handful of other languages but what happens if someone decides to throw down some Assembly or maybe just for shits and giggles some Fortran. Yes, the idea is to leave it open to any language out there. When people submit code, there's a chance someone doing the judging will get back to that individual to ask how the hell that code should be used/deployed, particularly when using exotic languages. I've got one or two ideas for code challenges, and so far the only interaction with the outside world is a plain text file or two. When judging the quality of some code, I don't think not being particularly familiar with a language is that much of a hindrance. Code comments should be in english though. Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted May 27, 2007 Share Posted May 27, 2007 The problem is do you leave it open to any language and if so who will judge. I’m sure everyone knows C, C++, C#, Perl, Python, Ruby, Java and a handful of other languages but what happens if someone decides to throw down some Assembly or maybe just for shits and giggles some Fortran.I know of all of them does that count? what would you suggestion be to start? Quote Link to comment Share on other sites More sharing options...
Oberon Posted May 27, 2007 Share Posted May 27, 2007 I'm sure if one came up that I would have a good stab at it, depending on how much I have on at the time. Same here. I won't be winning anything, but the challenge would be fun! Quote Link to comment Share on other sites More sharing options...
sharpnyourteeth Posted May 27, 2007 Share Posted May 27, 2007 I'd be interested :) Quote Link to comment Share on other sites More sharing options...
Deveant Posted May 27, 2007 Share Posted May 27, 2007 justy wondering how do u guys actualy judge this though? is it to be the task done in little size, Unique code, Clean Pro Code, or there should be no way its workin but hey it is...? Quote Link to comment Share on other sites More sharing options...
spider Posted May 28, 2007 Share Posted May 28, 2007 just an idea for how you could work out the winning piece of code. Let the judges narrow the it down to say 5 submissions and then let all the users vote on which one they think is the best out of those 5. Quote Link to comment Share on other sites More sharing options...
cooper Posted May 28, 2007 Author Share Posted May 28, 2007 The idea I have so far is that there is no ultimate solution to the problem presented. It'll be a small game where you'd have to supply the game logic. Then the submissions can play against eachother, and he program that wins against the most other programs ultimately wins. Afterwards we could have a vote on cleanest code, funkiest solution or whatever, but since that's more a personal taste kind of thing it should not be main thing to judge by. Quote Link to comment Share on other sites More sharing options...
daedalus Posted May 29, 2007 Share Posted May 29, 2007 I like this idea. So long as the challenges are interesting enough, I would be willing to participate. daedalus Quote Link to comment Share on other sites More sharing options...
FFE Posted June 3, 2007 Share Posted June 3, 2007 I'd give it a try. Quote Link to comment Share on other sites More sharing options...
natural_orange Posted June 4, 2007 Share Posted June 4, 2007 I'm in....i could use a good coding challenge... mabey have diffrent level in the contest? (n00b, 1337, u6er haxor) Quote Link to comment Share on other sites More sharing options...
Wgcorps Posted June 4, 2007 Share Posted June 4, 2007 Sounds fun :) and if u put restrictions on it, hell just put some links to like some simple how-to's or w/e. Isn't it a good idea to increase your knowledge base anyways? :) Quote Link to comment Share on other sites More sharing options...
GonZor Posted June 4, 2007 Share Posted June 4, 2007 I'd fail miserably but id give it a try, i think it would be beneficial to those that want to learn if the winning code was commented and put up somewhere for everyone to take a look and see how it works, could possibly do this with the a few different codes to see how people approached it differently. but its worth a shot and having different categories like natural_orange suggested would be good to get everyone involved. Quote Link to comment Share on other sites More sharing options...
cooper Posted June 4, 2007 Author Share Posted June 4, 2007 Okay, I'll work on setting this up. I'll talk to Darren to see if we can tie the challenge with the Hak.5 Live episode, or if it should happen along-side it. Quote Link to comment Share on other sites More sharing options...
metatron Posted June 4, 2007 Share Posted June 4, 2007 I'd love to see a few more people playing Core War Core War (or Core Wars) is a programming game in which two or more battle programs (called warriors) compete for the control of the MARS virtual computer (Memory Array Redcode Simulator). These battle programs are written in an abstract assembly language called Redcode. The object of the game is to cause all processes of the opposing program(s) to terminate, leaving your program in sole possession of the machine. http://en.wikipedia.org/wiki/Core_War You’re not really doing anything useful with but it’s a fun thing for programmers to compete in. Quote Link to comment Share on other sites More sharing options...
Tamrix Posted June 4, 2007 Share Posted June 4, 2007 codewars would be fun but i dont think everyone in the hak5 communitiy would know assembly with processors n stuff to the point where they can play competitivly and for fun. lets just stick to code challenges Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted June 4, 2007 Share Posted June 4, 2007 I'd fail miserably but id give it a try, i think it would be beneficial to those that want to learn if the winning code was commented and put up somewhere for everyone to take a look and see how it works, could possibly do this with the a few different codes to see how people approached it differently. but its worth a shot and having different categories like natural_orange suggested would be good to get everyone involved.I suggest one of the requirement or part of the grading is how well it's commented. Quote Link to comment Share on other sites More sharing options...
cooper Posted June 4, 2007 Author Share Posted June 4, 2007 I suggest one of the requirement or part of the grading is how well it's commented. The way I see it the winner is determined based solely on how well the problem is solved (as appliccable as this may be to the posed problem). Honorable mention will be for code quality, and whatever else catches the eye (least amount of code, shortest execution time, funky language, cheats, etc.). Oh, and Darren's up for it aswell. I've already sent him the challenge assignment, and work is underway to get it into the Live ep on the 16th. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.