379 reputation
28
bio website
location
age
visits member for 3 years, 5 months
seen 17 hours ago

17h
comment How important is studying algorithms and theory is to becoming a great programmer?
There is a certain abstract "what is an algorithm?" "what makes a good algorithm?" understanding that, if you lack it, you are useless as a programmer. But Algorithm class seems to spend a lot of time on specific algorithms. By and large, if an algorithm is studied well enough to make it to an Algorithm text-book, it's already well-implemented in a library.
Feb
19
comment Naming for a class that consumes an iterator pattern
Certainly all the functions of that category in SQL (AVG, MIN, etc.) are called aggregators.
Mar
9
comment Career Shifters: How to compete with IT/ComSci graduates
@Ramhound -- he can but he doesn't have to. Nothing stops you from just writing software on your own or with friends. The analogous option is not advisable for physicians.
Sep
13
comment How often do you actually use design patterns?
@SF -- I have to think a factory-factory is one of the less-commonly-used patterns but now that we're talking about it, it's virtually guaranteed that one of us is going to use it in next 48 hours.
Sep
13
comment One-line functions that are called only once
Yes, if you can look into the future and determine that such-and-such a function will never be used elsewhere -- and that no one will ever have trouble grasping the code you have written -- go ahead and unroll the function. If, on the other hand, your clairvoyance plug-in isn't working properly...
Jul
5
comment Fellow programmer used worst programming practices
I've got to say, that's a terrible answer. The job of a nontechnical supervisor is not to pull answers out of the air. The job of the senior technical person, when a question is beyond his authority without being beyond his competence, is to honestly outline the costs and benefits of possible choices and make a recommendation.
Jun
30
comment How similiar should the environments of PreProd and Prod be?
Yes, technically, I don't need to duplicate the hardware but even if you dodge that requirement by fooling around with virtualization and such, you either (a) hard allocate resources, such as bandwidth and CPU, to each environment, which would have the same cost as duplicating hardware or (b) share resources, which means your test issues could bring down your production system.
Jun
30
comment How similiar should the environments of PreProd and Prod be?
TECHNICALITY, n. In an English court a man named Home was tried for slander in having accused his neighbor of murder. His exact words were: "Sir Thomas Holt hath taken a cleaver and stricken his cook upon the head, so that one side of the head fell upon one shoulder and the other side upon the other shoulder." The defendant was acquitted by instruction of the court, the learned judges holding that the words did not charge murder, for they did not affirm the death of the cook, that being only an inference. -- Ambrose Bierce
Jun
30
comment How similiar should the environments of PreProd and Prod be?
"It isn't uncommon to hear of a development/testing team fired over an incident" -- yeah, that'll help. The beatings will continue until morale improves.
Jun
30
comment How similiar should the environments of PreProd and Prod be?
Yeah, we used to have a competitor that would test all their stuff on a public-facing computer for a week or so before going live. They never figured out how we always got features out right before they did...
Jun
30
comment How similiar should the environments of PreProd and Prod be?
Is written, that's very expensive. You have to duplicate all the hardware necessary for live production just for test. But yes, cool diagram.
Jun
30
comment How similiar should the environments of PreProd and Prod be?
Wow, that's a silly answer. So in your test environment, if you make a purchase, it should charge the credit card and ship what you bought? If the prod environment consists of 150 servers, the test env should too? I would have said "obviously" there must be differences between prod and test, but it wasn't obvious to ChrisF.
Jun
30
comment Quitting a small start-up where you are a primary developer?
I've been thinking about exactly this problem and it keeps coming back to that: the fact that they cannot provide you the working conditions you need is their fault, not your, and the fact that they need you does not create an obligation on your part. That said, yes, don't be a jerk about it.
Jun
29
comment Be a better programmer or an irreplacable employee?
"The graveyards are full of irreplaceable men" (DeGaulle) "If you want to see how irreplaceable you are, stick your thumb in a bowl of water and then pull it out and observe the resulting hole." (Harvey Mackay)
Jun
29
comment What are the most important languages to localize for on the App Store?
Good thing about Korean (compared to all other Asian languages except Tagalog and Bahasa): very easy to read and write. If you don't already read Chinese or, God forbid, Japanese, don't even try to do the localization yourself. French uses (mostly) the same characters as English of course, and there are a lot of words in common, so it's even easier, but the only places that actually use it are France itself, bits of Canada, and countries (like Benin and Haiti) where owning an iPhone would practically make you a member of parliament.
Jun
24
comment Can we technically un-blur images?
Think of blurring as a function, like rounding. If round(x) is 3, was x 3.1? 2.9? 3.499? 2.501? No way to tell. The information has been removed.
Jun
21
comment How do I publicize a cool bookmarklet?
I submitted it to ykombinator, let's see what happens. (Ironically, there's a ykombinator submission bookmarklet.)
Apr
29
comment Is it wrong to copy ideas from other languages?
@Carson63000 -- hey, I quoted him first! (vide infra)
Apr
29
comment Is it wrong to copy ideas from other languages?
A patent is very different from a copyright. You have to apply for it for one thing, you have to pay (a lot) for it, and it's a lot weaker. It has a short lifespan, and violating a patent is only a tort, it can never be a crime, so the FBI won't help with a "crackdown".
Apr
29
comment Is it wrong to copy ideas from other languages?
@DavidThornley -- yeah, I remember that. Wow, FORTRAN sucked; haven't seen it in 20 years easy and haven't missed it a bit. Strange how some really great, or at least interesting, languages were designed in the '60s (LISP, Pascal, APL), but the really awful ones got all the attention (FORTRAN, COBOL, BASIC).