So have at it: What question would you ask in my situation? If you were applying for one of our open positions, what question would you want to be asked to allow you to demonstrate your genius?
The Big Programming Thread - Page 227
Forum Index > General Forum |
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. | ||
AmericanUmlaut
Germany2577 Posts
So have at it: What question would you ask in my situation? If you were applying for one of our open positions, what question would you want to be asked to allow you to demonstrate your genius? | ||
IAMFAPMAN
60 Posts
On January 08 2013 19:38 AmericanUmlaut wrote: If you were applying for one of our open positions, what question would you want to be asked to allow you to demonstrate your genius? thats a pretty good question IMO ^^ | ||
AmericanUmlaut
Germany2577 Posts
You mean that I should literally ask the applicant what they'd like to be asked? I hadn't considered that, but it sounds like it could be an interesting question. | ||
b3n3tt3
595 Posts
| ||
Pecul
Sweden116 Posts
I have a small problem in Python 3.3 GUI I want to have a button, which when you press it, it will close the current window. Here is what I tried: + Show Spoiler + def mDestroy(window): window.destroy() #Should be some whitespace at the beginning here, dunno why it wont show it like that in the post. mGui = Tk() mGui.geometry("510x450+300+300") mbutton6 = Button(text="Quit", command = mDestroy(mGui)).pack() This should work right? But the function seems to mess up my window and the button doesn't work :/ Anyone knows why it doesn't work? ![]() Thanks in advance! | ||
Deleted User 101379
4849 Posts
On January 08 2013 23:43 Pecul wrote: Hello TL! I have a small problem in Python 3.3 GUI I want to have a button, which when you press it, it will close the current window. Here is what I tried: + Show Spoiler + def mDestroy(window): window.destroy() #Should be some whitespace at the beginning here, dunno why it wont show it like that in the post. mGui = Tk() mGui.geometry("510x450+300+300") mbutton6 = Button(text="Quit", command = mDestroy(mGui)).pack() This should work right? But the function seems to mess up my window and the button doesn't work :/ Anyone knows why it doesn't work? ![]() Thanks in advance! Can't help for the specific problem since i haven't done a lot of Python programming but to display the code here, use the code tag:
[/code] | ||
njt7
Sweden769 Posts
On January 08 2013 19:38 AmericanUmlaut wrote: So have at it: What question would you ask in my situation? If you were applying for one of our open positions, what question would you want to be asked to allow you to demonstrate your genius? I do not think that doing only interviews is the way to go for hiring a programmer. A gaming company I applied for a while back gave all of the interviewees a couple of simple questions but then also handed out a programming task. Well obviously for a gaming company this was to create a smaller game with a pretty short timespan(working against a deadline etc.) Just give a simple task that involves a couple of different techniques that you would need in the everyday work at your company. A decent programmer in c/c++ should be able to show his genius this way. The language does not matter it is the solution right? With this way of hiring you will easily get rid of the bullshiters when you can actually take a gick glance at their code and you can see that they are naming all of their variables to pop or vaginaDouble1 - 69. | ||
nyxnyxnyx
Indonesia2978 Posts
| ||
heroyi
United States1064 Posts
On January 08 2013 23:49 njt7 wrote: I do not think that doing only interviews is the way to go for hiring a programmer. A gaming company I applied for a while back gave all of the interviewees a couple of simple questions but then also handed out a programming task. Well obviously for a gaming company this was to create a smaller game with a pretty short timespan(working against a deadline etc.) Just give a simple task that involves a couple of different techniques that you would need in the everyday work at your company. A decent programmer in c/c++ should be able to show his genius this way. The language does not matter it is the solution right? With this way of hiring you will easily get rid of the bullshiters when you can actually take a gick glance at their code and you can see that they are naming all of their variables to pop or vaginaDouble1 - 69. The question isnt a bad thing to ask. The replies would be interesting but I do agree that alone wouldn't give you a very big grasp of their ability. So in conjunction have a little activity ready for them for them to work on and witness their work. Make sure to also ask them to think out loud so that you can REALLY understand how their thought process to see if they are indeed geniuses and genuine coders. on topic : I have never really been big on the whole network topic thus an absolute noob. I was wondering if someone could possibly point me in the right direction with, preferably, free resources on how to start educating myself on such topic. I am somewhat of a beginner/intermediate coder with C++, java, python and some html. Kinda want to start coding while working with networks considering that is where all the big money lies xD...that and am insecure of my skillset for the market | ||
AmericanUmlaut
Germany2577 Posts
On January 09 2013 01:11 heroyi wrote: The question isnt a bad thing to ask. The replies would be interesting but I do agree that alone wouldn't give you a very big grasp of their ability. So in conjunction have a little activity ready for them for them to work on and witness their work. Make sure to also ask them to think out loud so that you can REALLY understand how their thought process to see if they are indeed geniuses and genuine coders. on topic : I have never really been big on the whole network topic thus an absolute noob. I was wondering if someone could possibly point me in the right direction with, preferably, free resources on how to start educating myself on such topic. I am somewhat of a beginner/intermediate coder with C++, java, python and some html What is it you're trying to do? There's a big difference between programming a communications protocoll for a multiplayer game, writing a web application with a RESTful interface and implementing a SOAP API, for example. | ||
njt7
Sweden769 Posts
http://en.wikipedia.org/wiki/Network_socket http://docs.python.org/2/library/socket.html Maybe you could build a irc bot using a socket in python to ease into it. That was my first encounter to sockets. | ||
Savi[wOk]
United States81 Posts
console.log("HelloWorld"); document.write("HelloWorld"); I've been learning to script with using CodeAcademy online and also some books on the matter. Is their a difference between the different wordings in order to get certain things done? | ||
tec27
United States3701 Posts
On January 09 2013 07:29 Savi[wOk] wrote: JavaScript Question console.log("HelloWorld"); document.write("HelloWorld"); I've been learning to script with using CodeAcademy online and also some books on the matter. Is their a difference between the different wordings in order to get certain things done? document.write writes directly to the current window's document (IE: the page the JS is running on), whereas console.log is writing to the web debugger's console. document.write is awful, don't ever use it. If you have a book that's telling you to use it, burn that book immediately, or at least never look at it again. | ||
MisterD
Germany1338 Posts
On January 09 2013 00:46 nyxnyxnyx wrote: i come to you out of desperation. i've failed a Java module twice in a row now and would really appreciate a mentor i could bug with questions. would anyone be up for the challenge? feel free to shoot me pms or contact me on irc (quakenet #teamliquid or #tl.code, same nick as here), due to the geographical distance though i'll likely be asleep throughout half of your day, so i don't know if someone from closer to you would maybe be more suitable. | ||
NukeTheBunnys
United States1004 Posts
Windows APIs (not multi-platform, but oh well - I can encapsulate the code anddeal with porting the code if I ever want to port it) SDL - started working with it but had some troubles getting it set up on windows and visual studio, but otherwise it looks like it would meet all my desires. Allegro - can be used with openGL, but the documentation of using allegro with openGL (2d or 3d) is pretty sparse I have also considered using openAL for 3d positional sound, but that will likely come after I get some of the other systems working Anyone have other suggestions, or experience with the mentioned libraries. | ||
tec27
United States3701 Posts
| ||
Mstring
Australia510 Posts
| ||
berated-
United States1134 Posts
On January 08 2013 19:38 AmericanUmlaut wrote: So here's a question for you all: We've had a lot of discussions about bad interview questions in this thread, but we haven't really talked much about what good interview questions are. My company (in Düsseldorf, in case you're interested) is about to add two new developers, and I'm curious to know what you think I should be asking. We're a web-application company, so we need people who can do HTML, Javascript, PHP, MySQL, and related nonsense. I'm not averse to hiring someone who doesn't have a lot of specific web programming experience (I was a C/C++ guy myself when I started) , but it would obviously be an advantage to have someone who could start writing productive code that much more quickly. So I want to be prepared with enough generalist questions to get a solid picture of someone whose experience is in another field, but also some good tech-specific questions to drill down with someone who represents themselves as an experienced web programmer. So have at it: What question would you ask in my situation? If you were applying for one of our open positions, what question would you want to be asked to allow you to demonstrate your genius? We have an interview process where all developers interview potential new hires since we are a pretty small shop (10 devlopers). I have been interviewing developers for almost 5 yrs and the one question that I'm still looking for a great answer for is "Why are you here interviewing at our company?". It's extremely frank but I can pretty much say with the last couple of people that we have hired their less than enthusiastic answer pretty much correlates with their work. They are solid developers but they don't seem to have the passion, the drive to want to be the best. The thing I've found that I want more in a developer more than any level of expertise or skill or genius is the desire to want to do a great job and want to improve on ones craft. That type of attitude is contagious. | ||
heroyi
United States1064 Posts
On January 09 2013 01:14 AmericanUmlaut wrote: What is it you're trying to do? There's a big difference between programming a communications protocoll for a multiplayer game, writing a web application with a RESTful interface and implementing a SOAP API, for example. how about establishing a basic primitive network 101 | ||
Zeke50100
United States2220 Posts
On January 09 2013 08:51 NukeTheBunnys wrote: Im looking to do some c++\openGL game related programming. Does anyone have any suggestions for a cross platform library (or libraries) that can do windowing, input, and sound. And before someone says I should use an engine like Unity, or a different language - half the point of doing this is I'm interested in the low level game systems like managing the input/threading/audio streams Windows APIs (not multi-platform, but oh well - I can encapsulate the code anddeal with porting the code if I ever want to port it) SDL - started working with it but had some troubles getting it set up on windows and visual studio, but otherwise it looks like it would meet all my desires. Allegro - can be used with openGL, but the documentation of using allegro with openGL (2d or 3d) is pretty sparse I have also considered using openAL for 3d positional sound, but that will likely come after I get some of the other systems working Anyone have other suggestions, or experience with the mentioned libraries. SDL can fully integrate with OpenGL. You just leave all of the rendering up to OpenGL, and just pass the OpenGL flag when initializing SDL (it's different with SDL 2.0, and I have yet to integrate OpenGL with SDL 2.0. It shouldn't be too different, though). I believe lazyfoo's tutorial should be fine for getting started with integrating the two, after which you just let OpenGL do all the rest of the work. I would highly recommend going with the SDL + OpenGL route. OpenAL isn't too difficult to learn, thankfully. I have it running with both SDL 1.2 and 2.0 seamlessly (I'm not even bothering with using SDL's audio subsystem), and it's incredibly similar to OpenGL. If you're going the OAL route, I would suggest picking up libogg (and libvorbis) to handle audio file loading in *.ogg files. | ||
| ||