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

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 10 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.

What's the difference between a programmer, a developer, and a software engineer?

Asked by Artamus about 11 years ago

"Programmer" and "developer" are pretty much synonyms, and refer to anyone who writes code, whether for love or money. "Software engineer" implies that the subject programs for a living, and that they've mastered what we call "programming in the large." What that latter refers to is the fact that making a large software system is not the same as making a small system, only with more of it. There are certain techniques and principles that help prevent a big system from becoming a giant unmaintainable mess, and a "software engineer" should ideally be competent in those.

I need to be able to convert a flow chart into a program using visual basic. What is the quick and easiest way to do this?

Asked by StrcuturesGirl over 10 years ago

  1. Learn to program in Visual Basic.
  2. Write a Visual Basic program that corresponds to the flowchart.
Seriously? A flowchart?

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 almost 11 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 11 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!

Assume that video store employee works 60 hours.she get paid GH4.10 for the first 40 hours; she get 2 times the regular pay rate for hours up to 50hours; and she gets 3 times pay for all hours over 50. Assume the tax rate of 28%, write a c program

Asked by mose over 9 years ago

Sure thing. Here you go, you'll just need to fill in some details:

int main(int argc, char *argv[]) { [...calculate payment here...] return(0);}

hi i have a problem to open .D file plz tell me how to open it .

Asked by shahbaz over 9 years ago

It really depends on what language you're using. Reading a file is something almost every program has to do at some point, but some languages make you jump through more hoops than others.

For instance, this one line of Ruby:

data ="filename")

replaces the many lines of C you need to accomplish the same thing.