2,002 reputation
611
bio website
location Tucson AZ
age
visits member for 3 years, 2 months
seen Nov 9 at 3:36

Professional programmer for 12 years, almost all C++, mostly on Windows, though I am just beginning moving to Linux. I've always been slightly more than casually interested in cognitive science and philosophies of consciousness, and am beginning to more seriously study AI and related programming tech. Interested in libertarian/anarchist politics, philosophy, and economics.


Oct
7
awarded  Yearling
Sep
24
awarded  Autobiographer
Oct
7
awarded  Yearling
Oct
7
awarded  Yearling
Jun
19
awarded  Nice Answer
Nov
4
answered Would it be dishonest to use side tools during a phone interview?
Oct
28
comment What is the/Is there a right way to tell management that our code sucks?
@Steve314, or do it a few times and you learn that business requirements are not the same as design requirements, that balancing them is harder than it looks, and that if you really know a better way to do it you ought to be on the other side of the paychecks.
Oct
27
answered Is object oriented really good for kids?
Oct
27
comment What is the/Is there a right way to tell management that our code sucks?
the best way is in an exit interview.
Oct
23
awarded  Guru
Oct
23
comment Industry jobs in artificial intelligence
This question will probably get killed. Try rewording it to something along the lines of "which commercial domains and products are currently using some flavor or subset of AI", and mention within how it relates to your career choices. As to your actual question, "I try to never skate to where the puck is, but to where it is going to be" - Wayne Gretzky.
Oct
21
comment What is the purpose of arrays in C, when pointers could have done the job?
@sylvanaar, see this SO question: stackoverflow.com/questions/1018853/… I'd actually never heard of it before, but it is apparently non-standard and dangerous in the ways I would expect such a thing to be dangerous.
Oct
21
comment What is the purpose of arrays in C, when pointers could have done the job?
Oh, and pass by value for foo1, foo2... gets messy quickly, especially if you want to allow a variable number of members.
Oct
21
answered What is the purpose of arrays in C, when pointers could have done the job?
Oct
20
comment Do object-oriented programming languages exist that are not class-based?
Technically speaking, C. Though oriented is quite a stretch in the sense of the language making it easy. I know that's not the kind of answer you are looking for, but if you care to look into how C can do it, it might provide some insight into what it is that classes actually do and how alternative approaches can work.
Oct
20
comment When do you drop old technologies from your resume?
Yes, I intentionally leave off InstallShield experience, and vehemently deny that I have any.
Oct
20
answered C++ and the use of old Visual Studio versions
Oct
20
comment How do you work with Asynchronous functions, recursively?
@DevdattaTengshe, sounds like a decent approach to me, though I might look at implementing the pending calls as a stack instead of an array, first for cleaner popping, second because it probably works better with filling out your tree. FIlling out your tree as you go, along with maintaining some kind of pointer to the current location in it might be cleaner still. Your query function can go to the bookmark, query with that, add the results, and move the bookmark to the first child. If no children, move it to a sibling, or go up the tree looking for unexplored branches.
Oct
20
answered Why were short, int, and long invented in C?
Oct
19
comment Is there a standard, formal name for an object or class that behaves as if it is a given object?
Name it for what it does. If its a testing mock, name it MockRecord. If its a production object that takes record data and does Foo with it, name it FooRecord. You don't want to have names like "Fake" in production code, because, A) other developers (which includes you six months from now when you forgot what you did) won't know what the class is for, and B) if it ever appears in an error message it might give your users the wrong impression.