The Internet, IP

Male, 37

I've worked at multiple Internet startups of different shapes, sizes and ambitions. Now I'm the CTO (Chief Technical Officer) of another small company with big dreams. I look nothing like the picture above.

If you copy and paste your homework question in here, I will answer with something that will, at best, get you an F on your project, and at worst, will get you kicked out of school. You have been warned.

SubscribeGet emails when new questions are answered. Ask Me Anything!Show Bio +


Ask me anything!

Submit Your Question

76 Questions


Last Answer on September 07, 2015

Best Rated

If a good programmer is someone who writes good code, what would you say makes for a good MANAGER of programmers?

Asked by roooofus about 9 years ago

That's an excellent question, and if you ever find a recipe for one let me know...actually, don't, you could figure out a way to make a ton of money off of it. The one thing I can think of that all good engineering managers I've known had in common is that all of them were current or former programmers themselves. But that's not sufficient by itself.

Given how high the demand has become for programmers, are you starting to see more people in the field who don't fit the introverted / nerdy stereotype?

Asked by --Bo-- about 9 years ago

I believe that you have to be, to some degree at least, introverted to be a programmer. It's a job that would make an extrovert unhappy. I'm not sure what even qualifies as "nerdy" anymore when everyone and their dog has a Facebook account, goes to comic-book-superhero movies, and plays video games. Perhaps it has something to do with living in your mom's basement and never showering, in which case no: we tend to bathe as often as anyone and live in our own homes (sometimes even with a spouse or SO).

How do programmers deal with wrist problems? I am itnerested in learning but my wrists having been having tingling and soreness problems for years, despite being very healthy.

Asked by JackKelly over 8 years ago

Hate to do this, but I'm going to have to cop out and suggest you ask a professional about this. Luckily for me, even though I've been programming for decades, I'm apparently not prone to RSIs.

(RSI = "repetitive stress injury", meaning carpal tunnel syndrome and whatnot).

I have a website with a CMS (1UpSoftware). Most of the pages on the site are behind a paid wall. One of the menu items redirect to another website. Is there a way to keep the redirect behind the paid wall? Is there a script that I could redirect

Asked by Marsha almost 9 years ago

Hard to say for sure without details but almost certainly not. From the browser's point of view there's little difference between a redirect and the user entering the site in their address field directly. Probably your best bet is to figure out how to remove the menu item in question entirely.

My dad always used to tell me "You'd make so much writing code!" Now that I'm older, money sounds like a good sorta thing to have. So, what the heck's a progammer and what's an average day?

Asked by Oblivious High.. Schooler over 8 years ago

Money's pretty handy.


So a programmer is someone who writes programs for computers. And what a program is, at the heart of it, is a list of instructions.

This can be "low-level" stuff where you deal pretty directly with the basic capabilities built into the computer, like: "Get this number from here, get that number from there, add them together, then put the result over there." Or you can build stuff at a "high level," using a lot of other software other people have already written, that would look more like "If Fred logs in to the system between 2 AM and 4 AM, and records show that he had more than 8 beers that night, cut off his access to email until 9 AM."

This is tricky because computers have no brains and no initiative of their own: their strength is in doing really simple, tiny, mechanical operations on information, but doing them extremely quickly and following the instructions they're given exactly. It's "exactly" that gets you, because if you write some code that you think is telling the computer to do one thing, and what it actually tells the computer is something entirely different, the computer is going to do what it's told, not what you meant. So even though we say a bug is a "computer error," it's almost always actually a programmer error.


My day is pretty typical of programmers in a small company: the big company experience is going to be diferent.

I come in to work between 10 and 11 (I'm a night owl), and check in with my co-workers to see if anything notable is happening that day. If something urgent had come up, they'd have called me on the phone already, but now that our site is a little more mature it's gotten a lot more stable than it used to be, and emergencies are a lot rarer. Which is great.

I've got a few people who report to me, so I check on their progress real quick and make sure they have a plan for the day. Then ideally I spend most of the rest of the day actually programming. The key is to avoid a lot of interruptions, because to write code efficiently you've got to concentrate for a long time. You learn to schedule unavoidable interruptions for either the start or the end of the day, so that you're not chopping up your day into lots of little pieces.

About 5 PM we get everyone (there aren't many of us) together in one room and talk briefly about what we did that day. People start to leave after that, and I often have the place to myself for two hours or more, which is a great opportunity to work on hairier stuff that takes some peace and quiet.

I normally try to leave by 7:30 or 8 PM, so I can get home and have a while to hang out with my wife before she goes to bed.

It's not for everyone but I think it's a pretty fun way to make a living.

Hello, I need to somehow convert search results from Hotel websites and return the available rates to the corresponding search dates back into the form of a table or csv doc. I am unsure as to where I should start ? which systems to use or learn ?

Asked by marc over 8 years ago

If you're starting from no experience and want to get this done, your best bet is probably to use Amazon Mechanical Turk, and pay people about five cents per listing they enter.

function named groupPairs inputs a new array thats half the length of the given array. the function then fills the new array by concatenating the successive pairs of elements of given array, how do i write line that concatenates?

Asked by Nathaniel Turner almost 9 years ago

Depends on the language, I suppose. We're talking mutable array passed by reference, so I'm thinking C and I'm thinking strings passed in.

I am not going to do your homework for you, but if my assumptions above are correct, here are some hints to get you thinking in the right direction.

  • There are existing built-in ways to join strings. Use those if you are allowed. Even finding out how you find this out is a useful skill to develop.
  • If you are expected to do the actual concatenation of strings yourself (which you might be if this is a basic exercise), understand how you know a string is over in C.
  • Look at all the parts that go into a for loop and think about what each one really does: this is about getting past looking at the for syntax as a monolithic blob.
Let me know how it goes!