559 reputation
26
bio website
location
age
visits member for 2 years, 11 months
seen Aug 7 '11 at 4:06

Apr
27
awarded  Yearling
Apr
27
awarded  Yearling
Feb
21
awarded  Nice Answer
Aug
7
answered Is it possible to deploy Perl or Python scripts in the same way as PHP scripts?
Aug
7
comment Is it possible to deploy Perl or Python scripts in the same way as PHP scripts?
Dynamic typing has nothing to do with this. Python is compiled (to bytecode) before execution if you are using the CPython implementation. Perl is too, IIRC. Anyway, the type systems of these languages are not relevant here.
Aug
7
awarded  Critic
Aug
6
comment Responding to interview questions involving unknown algorithms
If I ask someone to do something in an interview and they say "well, I'd use the standard library"- OK a point in their favor actually. But if I then ask them "What if the library weren't there?" I expect a real answer. I might be assuming too much if you say "I would never have to implement that," but who cares?. My job, when interviewing, is to disqualify people. Don't disqualify yourself.
Aug
6
answered Short Deadline and QAing Yourself
Aug
6
comment Using Quadratic Bezier Curves to generate a cave that stays within certain bounds
I'm happy to answer simple questions about splines on stackoverflow. I answer hard questions about splines for a living. If you send me your Skype I will talk to you about splines, but I won't think very hard about them. I charge for thinking. and I charge a lot for thinking about mathematical curves. Makes my head hurt.
Aug
6
comment Using Quadratic Bezier Curves to generate a cave that stays within certain bounds
What I mean is that you are not expressing your constraints very precisely. What sort of continuity are you looking for? C0? C1? C2? Do you even understand what I am asking here? Do you understand that the beziers know nothing about your screen coordinates? If your question were a question, I could answer it. But you are not asking a question...
Aug
6
comment Responding to interview questions involving unknown algorithms
If that is unnecessary arrogance we might as well pack it in. I was never a big Ayn Rand fan, but I'd be interested to see the world Darren proposes... imagine if every algorithm were naive ;)
Aug
6
comment Responding to interview questions involving unknown algorithms
"that i will never implement..." See my answer below, but I would never hire anyone who said this, particularly about the sorts of things that people ask in entry level interviews. How do you know you won't have to eventually do a bit of real programming? And why should I hire you if you prefer to remain ignorant since "I won't ever need that anyway." I expect that from 8th graders shirking their math homework. I expect better from programmers- not much better, but a bit.
Aug
6
answered Responding to interview questions involving unknown algorithms
Aug
6
answered How do you stop yourself from bringing work home?
Aug
6
comment Using Quadratic Bezier Curves to generate a cave that stays within certain bounds
I'm about a year and a half into a project that has piecewise cubic beziers at it's heart. I literally spend days talking about splines. But I am not sure what you mean here. My guess is that you want to maintain C2 continuity while constraining the positions of the control points- if that is the case you need to define your problem a bit better before anyone can give you a good answer.
Apr
30
comment How to abbreviate variable names
rigidly following rules is either a cause of or a sign of brain damage. Either way, the important thing is judgment.
Apr
30
awarded  Commentator
Apr
30
comment How do you stop yourself from making mistakes?
1) use an issue tracker. 2) Yes, assuming you have your own tests- make sure there is another layer of testing though 3) use version control and check in often so you can roll back to find bugs, etc. 4) Yeah, sunlight makes for good code. Never hide it until it is "better."
Apr
30
comment How to abbreviate variable names
Not sure I entirely agree. I don't abbreviate much, but I think that abbreviating in some cases is a good idea. I would find long variable names in a short local scope very annoying, actually. I write lots of functions where "p" refers to a point in 3-space. I think that that is as clear as "thePoint," and easier to read, if the function is meant to operate on a point in some fashion.
Apr
30
comment How do you stop yourself from making mistakes?
As a long-time CL programmer I don't think that my CL code is automatically more verifiable (whatever that means) than my Java code is. I do think that having done a lot of Lisp makes my Java code better, and makes me more inclined to write code that is provably correct. Unfortunately it also makes me very frustrated with Java ;). That aside, whether or not it is "OK" to make mistakes is a silly question. I have worked with some godly elite programmers, guys who just put me to shame, and they made mistakes all the time. It is important to catch mistakes though.