View Full Version : Programming Tasks for GLG
Lenny
2009-07-21, 12:58 PM
You claim to be a good programmer who knows seventeen languages (nine fluently), but none of us have really seen this in action. So we have decided to set you three tasks to complete, and prove you're worth your salt.
Your tasks, if you choose to accept them (in which case I'll post full specifications) are:
1. Program seven basic data structures, which a command line interface that allows you to add data to all seven (from a file or within the interface) and display them in the command line.
2. Build a program that takes a list of vertices linked by edges and creates from them a graph, upon which various actions can be performed. Again, this should have a command line interface, and display the graph in the command line.
3. Build a program that suits an office environment. It must have a calendar, text editing package and a drawing application. It must also include an instant messenger that works over a network and the Internet, which allows sharing and collaborative use of the three applications above, as well as a multiplayer game or two for when the workers are bored.
- Either one or both of tasks #1 or #2 MUST be written in Java.
- Task #3, and the non-Java task can be written in any language (other than the web-based ones. The cloud is a brilliant thing, but we don't want it cluttered up with programs that deal solely with data structures or simple graph theory).
Do you accept?
---
A note to other members: if you want to add anything to task #3, I'm still accepting submissions.
We've got a Tech HELP forum, and a Tech NEWS forum, but not a Tech TECH forum! It makes Lenny sad. :(
!King_Amazon!
2009-07-21, 01:01 PM
This should be entertaining.
GLG disappears for a few months
I would like to see the outcome of this.
This appeals to my interests.
!King_Amazon!
2009-07-21, 01:37 PM
Just curious, how many people were in on this other than me?
I did not submit any challenges since I have no education in programming.
!King_Amazon!
2009-07-21, 03:45 PM
I didn't either.
-Spector-
2009-07-21, 04:42 PM
Is he hiding?
Thanatos
2009-07-21, 09:11 PM
I did not submit any challenges since I have no education in programming.
same
not bullshit
Skurai
2009-07-21, 11:49 PM
GLG'll show up!
He's got too... I'm sure he wasn't lying, since he was so helpful in the RPG maker forums...^_^
Lenny
2009-07-22, 10:48 AM
I did not submit any challenges since I have no education in programming.
Which is why none of you have any say on the first two tasks. ;)
The third task is the one that you can all add to - think of things you'd see on an office computer, or tasks you do in an office and would like a program for. Or even just things you'd like a program to do, which you could get away with in an office (like a countdown timer that works out how long you have until the drugs are out of your system).
Asamin
2009-07-22, 11:07 AM
This couldn't be.... naw.... you guys wouldn't make GLG make these programs for your own gain. Plus, he is currently programming an iPhone app. so I think that is enough.
Lenny
2009-07-22, 11:14 AM
For our own gain? Hardly. Tasks #1 and #2 are pretty useless, and the program for task #3 contains far too much fluff to be useful in everyday life - all three are simply there to test his programming skills.
A programmer can have multiple things on the go - I'm currently programming an Ant-Farm, a drag-and-drop programming tool, and working on an assignment. I've done the first two tasks over the course of the first year of my degree, and when the final specification is decided, I'll also program the third task.
Some of my friends want me to program a couple of iPhone/iPod Touch apps for their gain, too.
Multiple projects keeps things from going stale.
It looks like we aren't going to have to, the codemaster is missing.
Lenny
2009-07-22, 11:20 AM
Nah, he's lurking - last activity was a few hours ago.
He's always around at the weekend, too.
Skurai
2009-07-22, 12:26 PM
Codemaster...?
GLG, right? Yeah, I've noticed he lurks alot more then posts. :rolleyes:
!King_Amazon!
2009-07-22, 12:34 PM
then
than.
!King does not need a ! before King.
Skurai
2009-07-22, 01:35 PM
than.
Whatever. :rolleyes:
Jessifer
2009-07-23, 09:00 AM
Just curious, how many people were in on this other than me?
I was in on it, though I have little to contribute.
Lenny
2009-07-23, 03:15 PM
I think I sent the PM to nine people in total, but only eight wanted to be part of it.
---
Has no-one got any contributions for the third task? Come on, anything! I don't care if it's daft (I just won't include it ;)) - suggest something and we can see if it fits the bill.
!King_Amazon!
2009-07-23, 03:36 PM
If he actually shows an interest in this at all I might bother myself to come up with stuff, but as it is I don't think it would matter either way.
Lenny
2009-07-24, 03:26 PM
Hopefully he'll take a rest from Perfect World and post tomorrow.
If anyone sees him around, try and get his attention - if he's in the chatbox, say, spam it with this thread.
Jessifer
2009-07-24, 04:54 PM
Has no-one got any contributions for the third task? Come on, anything! I don't care if it's daft (I just won't include it ;)) - suggest something and we can see if it fits the bill.
I've suggested all I can suggest, which apparently was already something you had thought of. ;)
Goodlookinguy
2009-07-25, 03:42 AM
I haven't been visiting Zel much if you hadn't noticed. I only saw this because of D3V.
You claim to be a good programmer who knows seventeen languages (nine fluently), but none of us have really seen this in action. So we have decided to set you three tasks to complete, and prove you're worth your salt.
Your tasks, if you choose to accept them (in which case I'll post full specifications) are:
1. Program seven basic data structures, which a command line interface that allows you to add data to all seven (from a file or within the interface) and display them in the command line.
No, there's no reason for me to have to prove myself to you. I don't know you and you don't know me. To build these data structures would take thinking that I don't wish to do. So, no.
2. Build a program that takes a list of vertices linked by edges and creates from them a graph, upon which various actions can be performed. Again, this should have a command line interface, and display the graph in the command line.
I hate geometry just so you know. So, a big fucking no!
3. Build a program that suits an office environment. It must have a calendar, text editing package and a drawing application. It must also include an instant messenger that works over a network and the Internet, which allows sharing and collaborative use of the three applications above, as well as a multiplayer game or two for when the workers are bored.
Sounds entertaining, but why? Give me a good reason and I'll think about it.
- Either one or both of tasks #1 or #2 MUST be written in Java.
- Task #3, and the non-Java task can be written in any language (other than the web-based ones. The cloud is a brilliant thing, but we don't want it cluttered up with programs that deal solely with data structures or simple graph theory).
I hate Java. Java can burn and die.
Do you accept?
I really don't, no.
At this time I have several projects going as well as I'm freelancing for people. So this stuff would clutter my work time. Don't suddenly try to bring about drama by going and writing this without a thought as to what I do in my own time. It's very annoying and I must say is unthoughtful on your part.
I bid Zelaron a good day with this thought. I've been meaning to leave for a while, and I've succeeded. Here's my big, BYE!
Oh yeah, see my sig, it runs off a data structure I designed last year.
Multiple mounts of data can be stacked into groups.
pwi = on|2:02|NRGLG;
Like that, I just don't want to. No reason for me to, I think the status is enough.
!King_Amazon!
2009-07-25, 04:10 AM
cool story bro
Wed-G
2009-07-25, 07:08 AM
Did he say he's leaving for good?
Cause that would be---what the fuck? Has that screwdriver been sitting in front of me this entire time? I was looking for that---great. Can we ban him to be sure?
Lenny
2009-07-25, 07:38 AM
I haven't been visiting Zel much if you hadn't noticed. I only saw this because of D3V.
+1 rep for the next D3V post I see. :)
No, there's no reason for me to have to prove myself to you. I don't know you and you don't know me. To build these data structures would take thinking that I don't wish to do. So, no.
You wouldn't believe the number of people who think you can't do anything, and that you just boast. This would have been a chance to prove them wrong.
Thinking that you don't wish to do? Seriously? You're supposedly a programmer - the data structures I was going to give you are seven of the most basic data structures, that every programmer should be able to explain without thought! They were:
Singly Linked List, Doubly Linked List, Binary Tree, Heap, Set, Queue, AVL Tree.
You can't get much simpler! If you can't even be bothered to put the tiniest bit of thought into something so easy, then why do you even bother programming?
As a point of reference, this task took me a day to complete, and that's with hour-long breaks every few hours for a meal, or to go to the bar.
I hate geometry just so you know. So, a big fucking no!
No geometry involved at all.
Depending on the field of Computing you go into, Graph Theory could be extremely useful. It's the one part of my course that I despise completely. Yeah, I know all the basic theory, but I can't apply it for shit.
Building a program that implements a lot of the theory is, and I hate to use that word again, simple. You have a set for edges, and a set for vertices. Each vertex and edge is assigned a number and a name, and the edge is assigned two vertices - the one it starts at and the one it finishes at. The actions performed compare the edges and vertices with a given edge or vertex, and return either a boolean value, or a vertex or edge.
Representing the graph in the command line is simple, too - a few tables, and a graph in which each vertex is plotted on a circle, with the edges going between them (you do this by dividing 360 by the number of vertices, to get the angles between them, and drawing the circle, stopping at every calculated angle to draw a point which you use as the vertex).
Maybe I lied a tiny bit about there being no geometry.
Another way to do the plotting of points is to treat the space between each vertex as a segment - by calculating the size of the arc, you could use that to work out the co-ordinates of the next vertex.
As another point of reference, this took me about 24 hours over three days to program.
Sounds entertaining, but why? Give me a good reason and I'll think about it.
For fun?
There is no reason to program something like that. Sure, you could pass it off as practice, and even say that the various components (such as communication over a network using TCP or UDP) can be lifted out and put into your personal code library for use in programs in the future, but really it's just for fun, and to see what you can do.
As I said earlier, I'm programming an ant farm. The reason? For fun. Sure, it gives me chance to practice drawing graphics to a frame, implementing algorithms for shortest paths (amongst other things), and of building a model to mirror reality (to a small degree), from which I can then take snippets of code for later use, but the real reason is for fun. I get such a buzz from taking a problem and solving it by building a program.
I hate Java. Java can burn and die.
I must say I agree - I hate Java, it's just that I can't be bothered reading through a different language to see how you've done things (for that is another thing I love about programming - everyone does things in a different way. I've learnt so much by simply reading through the source code of a solution to a problem that someone else has written).
I really don't, no.
This saddens Lenny. :(
At this time I have several projects going as well as I'm freelancing for people. So this stuff would clutter my work time. Don't suddenly try to bring about drama by going and writing this without a thought as to what I do in my own time. It's very annoying and I must say is unthoughtful on your part.
Nevermind, this amuses Lenny. :D
As I said in a post above - multiple projects means shit. If anything, it means that should you hit a wall whilst doing one thing, you can move onto something else.
Task #1 and #2 would have taken no time at all (I'd have given you a week to complete both, which is more than enough time). Task #3 was the big one (I'd have given you a few months to do it in).
I bid Zelaron a good day with this thought. I've been meaning to leave for a while, and I've succeeded. Here's my big, BYE!
Toodles.
Oh yeah, see my sig, it runs off a data structure I designed last year.
Multiple mounts of data can be stacked into groups.
pwi = on|2:02|NRGLG;
Like that, I just don't want to. No reason for me to, I think the status is enough.
Care to post the code to that data structure? I'm interested, that's all.
Jessifer
2009-07-25, 10:09 AM
I am slightly dissapointed, and a bit more amused.
Skurai
2009-07-25, 03:55 PM
Did he say he's leaving for good?
Cause that would be---what the fuck? Has that screwdriver been sitting in front of me this entire time? I was looking for that---great. Can we ban him to be sure?
Someone give me his password! :D
I'll make goooood use of his account! :grin:
Lenny
2009-07-26, 02:22 PM
Well, I might as well un-sticky this now. :(
Does anyone else want a crack at any of the three tasks?
jamer123
2009-07-26, 02:25 PM
wish i could
Lenny
2009-07-26, 02:27 PM
I seem to remember you started learning a programming language, right?
The first task isn't at all hard (I'll gladly explain each data structure for you), and would be great as reference for future projects - good data structures are very useful.
EDIT: I'll also throw in a number of useful sorting and general purpose algorithms.
jamer123
2009-07-26, 02:58 PM
thank you Lenny ill start on it once i get home aka a couple of days
!King_Amazon!
2009-07-26, 03:02 PM
thank you Lenny ill start on it once i get home aka a couple of days
lies.
jamer123
2009-07-26, 03:02 PM
seriosly im up in cleveland at my dad's intill tuesday
!King_Amazon!
2009-07-26, 03:07 PM
You're just chickening out jamer321. We'll probably never hear from you again.
jamer123
2009-07-26, 03:09 PM
im not chickening out but saying i dont have the right computer for it
!King_Amazon!
2009-07-26, 03:10 PM
Stop talking to yourself jamer321.
Senesia
2009-07-26, 06:07 PM
Leave jamer321 alone.
Skurai
2009-07-26, 06:51 PM
Jamer321 is a noob!
Wait... who changed his name to jamer123?
Babylon
2009-07-26, 07:49 PM
Wait... who changed his name to jamer123?
I thought WW was the one who established the rule against name changes? Perhaps extreme circumstances were involved?
WetWired
2009-07-26, 09:35 PM
If Jamer's name was changed since 2008, then someone went to the trouble to go directly to the database to do so. I have not changed his name, therefore, either Chruser changed it, or a hacker did.
!King_Amazon!
2009-07-26, 09:47 PM
If Jamer's name was changed since 2008, then someone went to the trouble to go directly to the database to do so. I have not changed his name, therefore, either Chruser changed it, or a hacker did.
Stop being a fag.
Skurai
2009-07-27, 01:44 AM
If Jamer's name was changed since 2008, then someone went to the trouble to go directly to the database to do so. I have not changed his name, therefore, either Chruser changed it, or a hacker did.
IIiiiii Did it!
AND I'D DO IT AGAIN!!!!! o_O
GLG has a point, but it's still a copout.
Jessifer
2009-07-27, 12:22 PM
This forum needs more jamer and less Skurai, imo.
!King_Amazon!
2009-07-27, 12:31 PM
This forum needs more jamer and less Skurai, imo.
Agreed 100%. Jamer is a lot more entertaining.
It's funny you say that. I think it's the other way around.
Lenny
2009-07-27, 02:10 PM
I agree with Grav - I find Skittles a lot more entertaining.
Having said that, it's also worth noting that jamer doesn't post as often as h used to.
Thanatos
2009-07-27, 07:18 PM
Jamer is comedy gold without trying or knowing. Skurai tries too hard.
!King_Amazon!
2009-07-27, 07:32 PM
Jamer is comedy gold without trying or knowing. Skurai tries too hard.
*and fails constantly.
Wed-G
2009-07-28, 09:38 AM
*and fails constantly.
He's got a point. His hair is a bird.
Jessifer
2009-07-28, 11:05 AM
Time for a poll.
Mantralord
2009-07-28, 12:11 PM
programming tasks
Lenny
2009-07-28, 01:34 PM
GLG has a point, but it's still a copout.
Now how did this slip under the radar? I've read through this thread a few times, but this is the first time I've read this post.
You agree with which point GLG made?
Now how did this slip under the radar? I've read through this thread a few times, but this is the first time I've read this post.
You agree with which point GLG made?
No, there's no reason for me to have to prove myself to you. I don't know you and you don't know me. To build these data structures would take thinking that I don't wish to do. So, no.
This is a cop out. If you claim to know how to do something and could atleast show a small example of how to do so after boasting so much, it would just be nice to prove your worth or atleast go into more detail of your knowledge. Because without proof, it's all just talk.
At this time I have several projects going as well as I'm freelancing for people. So this stuff would clutter my work time. Don't suddenly try to bring about drama by going and writing this without a thought as to what I do in my own time. It's very annoying and I must say is unthoughtful on your part.
I can somewhat agree with this. If he is telling the truth, and really is too busy to be working on other issues, especially for one for a random gaming forum, then I can side with that somewhat. It's a tricky scenario really. You are just trying to get him to show what he's made of, or says he is made of, and he's claiming that he doesn't have time, doesn't care, etc. It's a copout at the same time as he really may not be able to do anything.
What really gets me though is that this thread was his deciding factor on leaving, which is where I feel his biggest failure is giving up and running away with his boyfriends. But that's all good and fine, I never really had any issues with GLG or anything, and I was actually looking forward to him writing some scrips and proving that he could do some great work, that really would be awesome being that he could show a whole group of people that they are wrong. But hey, that's just me.
Goodlookinguy
2009-07-29, 01:15 PM
I couldn't help but laugh at all of this. How many times have I told you people I'm not actually going to leave? Geez. Anyways, hi! You've been tricked for a 3rd time. God damn I'm good.
!King_Amazon!
2009-07-29, 01:16 PM
Uh huh.
Thanatos
2009-07-29, 01:22 PM
I couldn't help but laugh at all of this. How many times have I told you people I'm not actually going to leave? Geez. Anyways, hi! You've been tricked for a 3rd time. God damn I'm good.
blah blah blah I'm the best person in the world blah blah blah you are all inferior blah blah blah stick up my ass blah
Lenny
2009-07-29, 01:24 PM
If you're that good, do the tasks.
Goodlookinguy
2009-07-29, 01:26 PM
blah blah blah I'm the best person in the world blah blah blah you are all inferior blah blah blah stick up my ass blah
You've got it right Thanatos, you bitch. Especially when it comes to telling about other people. Oh wait, wouldn't that imply that you, yourself, think of yourself better. Feeling mightier because you can make fun of someone via words. Oh, wait, you're just a pansy. Here's my present to you :sex:. I'm in quite a lovely mood right now.
Lenny
2009-07-29, 01:28 PM
You are? Who died?
Do the tasks.
!King_Amazon!
2009-07-29, 01:36 PM
blah blah blah I'm the best person in the world blah blah blah you are all inferior blah blah blah stick up my ass blah
LOL. That is all.
I love seeing people get called out.
Jessifer
2009-08-02, 03:15 PM
blah blah blah I'm the best person in the world blah blah blah you are all inferior blah blah blah stick up my ass blah
I'm a little late but...
...Lulz.
vBulletin® v3.8.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.