HN user

tim_h

46 karma

Problem solver, generalist, full-stack programmer

http://hnofficehours.com/profile/tim_h/

Posts0
Comments25
View on HN
No posts found.

The difference between doctors and programmers is that programmers get to build/leverage tools that are abstractions of other tools, hence you can have orders-of-magnitude differences in productivity between programmers who use the best tools and those who don't. I assume that there's not that much variation between the way two different doctors carry out the same task like there is with programmers.

IBM 1959 Job Post 14 years ago

Probably the availability of people with 5+ years of programming experience. It was 1959! :)

Event Buffering 14 years ago

Basically, in a client-server relationship, use persistent buffering on the client-side so that the client can tolerate server downtime.

I like the simplicity of this approach. It's best to keep the low-level stuff as simple as possible when building distributed systems. It will get complicated soon enough at the higher levels.

Just curious, what specifically is the indicator that a person doesn't care for the company? I didn't get that impression from reading the GP.

Is it not paying attention to the news cycle? Or knowing that the company is on a bad trajectory but still working there? Surely it's not the focus on work-life balance.

I could see myself working at Yahoo. I bet they still have interesting problems to work on. Yahoo Research does awesome stuff with computational advertising. Hypothetically speaking, would this opinion disqualify me from your hiring consideration?

I wasn't suggesting that that C++ is somehow outdated or inferior. I'm just wondering if the percent usage of C++ is declining with respect to other languages.

I'm trying to estimate the chance that me not knowing C++ will pose a problem later in my career. I normally pick up languages quickly, but the C++ learning curve seems a bit steeper, both in terms of language nuances and libraries. So my normal approach of "wait until I need it" may not work that well.

Is C++ usage on the decline? I've used a lot of different languages, but I've never had the occasion to learn C++. I work in web search and we tend to use interpreted languages. The argument is that Java or C# is much easier to write/maintain and that we can make up for performance shortcomings by scaling out.

The right balance between technical and pragmatic is project specific. Here are a couple of heuristics I use to find it.

1) Minimize the overall time investment required to have an acceptable solution to the problem. Time investment includes maintenance and debugging.

2) Make sure the marginal benefit to additional time spent in one area of the project exceeds the opportunity cost of focusing on other areas. E.g. It's good to spend a lot of time on getting the overall architecture right but it matters far less to optimize the business logic (for one thing it tends to change more often and for another it's hardly ever the performance bottleneck).

In software engineering the "thinking beforehand" approach is probably riskier than the "think as you go" approach. For example, often the requirements aren't well-defined when the project starts.

Contrast this with physical-stuff engineering (which I think is what you're referring to by saying "engineering background"), where the requirements tend to be better-defined and the cost of experimentation/refactoring is a lot higher.

This resonates:

> The most important characteristic of a suffering-oriented programmer is a relentless focus on refactoring. This is critical to prevent accidental complexity from sabotaging the codebase.

I can't tell you how many times I've seen accidental complexity creep in because someone adds a new feature without taking the time to refactor to the simplest set of abstractions. But - and here's the flaw in the approach - you have to be an expert in the code to produce such a set of abstractions, which is a potential bottleneck when your codebase is big enough to require multiple developers. Not everyone has the time/capability to be an expert.

The article mentions that "Tokyo" DC was taken offline by disconnecting the data center from the "New York" and "Paris" DCs. Then writes were performed, Tokyo was reconnected, and the writes replayed, effectively re-syncing the DCs.

My question is: how was consistency maintained? What mechanism prevented the same record from being changed both in Tokyo and in New York while the network was split? Or, what mechanism resolved the conflicts? I think the article might be glossing over some details here. I'm guessing that either one side of the split was offline (or at least read-only) during the outage or that the writes were made without guarantees.

Ritalin Gone Wrong 14 years ago

I don't know how similar/dissimilar Dexadrine and Adderall are, but they have really different effects on me. Adderall made me feel high, and seemed to encourage me to focus like a laser beam on low-level details. Dexadrine, on the other hand, has a very subtle effect on me. I've never felt high when taking it. It's more like a gradual transition into being able to focus at will. When it wears off I can no longer focus easily. On weekends I usually take half the usual dosage, and sometimes I skip taking it all together. When I skip it, aside from difficulty paying attention/focusing, I have mild withdrawal symptoms like feeling tired, headache and an increased appetite.

Having said all this, I want to point out that my doctor told me that different medications work for different people. I may just be lucky enough to have the right body chemistry for a drug like Dexadrine to work well for me.

Why is it that people will hold against you an immature act that you did years ago, ignoring the fact that people tend to mature as they age?

Perhaps the timeline will help overcome this tendency. By making everyone's history more visible, maybe people will become less sensitive to seeing past examples of immaturity and therefore weigh them less when making judgements about a person.

Ritalin Gone Wrong 14 years ago

First, even if natrius cannot answer your question, absence of a counter-example does not constitute proof of your argument. Second, I've been taking an ADD medication called Dexadrine for about 10 years now, and in my opinion the effect on me has not diminished.

Ritalin Gone Wrong 14 years ago

I was diagnosed with ADHD at age 18. At that point in my life I had developed pretty much a hatred for school, and had resolved to never go to college. Spending 8 hours/day at school was akin to torture for me. I found it to be mind-numbingly boring.

My doctor had me try various medications. Adderall was too intense. It got me high and gave me a tendency to focus too much on the wrong level of a problem (I would obsess over details). Worse, my body acclimated and I found that I needed a higher and higher dosage to have the same "benefit".

Everything turned around for me when I found out about a different medication from a friend - Dexadrine. My doctor never mentioned it to me but once I asked him about it he agreed to let me try it. Boy am I glad he did. To make a long story short, I finally went to college, graduated at the top of my class, then went on to Stanford to earn an advanced degree. Now I have a job that I love.

I've been on this medication for almost 10 years. I never acclimated to it (in the sense of needing a higher dosage for the same effect) and the side effects are very mild (slight loss of appetite, slightly harder to sleep).

Recently I decreased the dosage by almost 50%. I've found that over the years I've somehow learned how to concentrate better, and that therefore my need for the med has decreased. This makes me think that my brain has somehow changed for the better. Perhaps all the concentrating I did while on a higher dosage served as practice and that the benefits from all this practicing apply even without the medication. Maybe some day I'll be able to get off of it completely. But for now I still have a tough time concentrating without it.

There's a sad real-world example of people who are willing to shorten their lives in order to earn more money: the sulphur miners of East Java ( http://www.bbc.co.uk/news/world-asia-pacific-12301421 ). The motivations are a bit different in this case - the miners are doing this to be in a little less poverty - but the net effect I think is to make things a bit harder for the people who choose to take lower-paying jobs and not to put their lives at such risk (since the miners who have more money presumably get first dibs on available food to purchase).

It sounds like you have to be wearing the device in order to benefit from it. Do you work from home while "plugged in"? Or, can you just use it while thinking about a tough problem or while learning something new and then when it's turned off still have the insights/new knowledge you gained?

ChristianMarks said in one of his comments that he believes the device has allowed him to overcome a bias in the valley against hiring older engineers. Why would he want to reveal the details of a device that if widely used could erode his advantage?

At first I wasn't going to mention this (lest it become the reason he doesn't share the details), but then I realized, here's a smart guy who has a device that makes him even smarter, so I figure he probably already knows. :)

What if Curebit had an important demo/presentation that was botched as a result of this? I think the response should be tailored to provide them with a learning opportunity rather than to hurt their startup. A private naming/shaming like betageek suggested would probably do the trick.

Why the downvotes? The parent poster used $3.8 billion to come up with the $60 billion estimate (3.8 * 16.2 is approx 60). Isn't it true that we don't officially know what Facebook's revenue is? I was merely trying to point out that 3.8 may not be an accurate number. Then I went on to say approx how much revenue Facebook would need in order to have a 16x ratio given the current estimated valuation of $100 billion.

The reported $3.8 billion in FB revenue is not an official number. It came from a CNBC reporter who cited undisclosed sources. Official revenue would have to be about $6 billion for FB to have the 16x ratio.