302 reputation
1312
bio website survivalgearo.com
location San Francisco, CA
age 35
visits member for 3 years, 5 months
seen 2 days ago

I've been in software professionally since 2001, mostly in enterprise business apps. Lately, I've been involved in running several e-commerce sites:

I've had varying degrees of success. My e-commerce empire is a work in progress.

I also blog about my experience with Leangains.


Sep
16
comment Should I include HTML markup in my JSON response?
@JackManey: Also a good point. But the true cost of additional bandwidth isn't all that much after you already eat the cost of the HTTP request. And I can imagine some setups where you know the client machines are so crappy that it would cost you more to generate the DOM real-time using JavaScript. Think: Internal apps with users on ancient machines/browsers.
Aug
11
comment How far should I take email address validation when the cost of bad emails is high?
Thanks for the link. This article is what got me thinking about this question in the first place. What I got from it is that in practice it doesn't make sense to allow the full set of crazy possible email addresses, because it's more likely someone mistyped an email address that doesn't match a much-simplified pattern.
Aug
11
comment How far should I take email address validation when the cost of bad emails is high?
Yes, 15% all because of bad email addresses. In addition to that, 10% of people aren't home if you don't remind them by email. These are actually manufactured numbers for the sake of the question, but the real problem is very similar.
Aug
11
comment How far should I take email address validation when the cost of bad emails is high?
We can and do call them before we roll out to the house. The email is just a double-whammy.
Aug
11
comment How far should I take email address validation when the cost of bad emails is high?
Hah! Taking a hard line like that would be great. Unfortunately I don't really work for the electric & gas company, or any other monopolistic organization that could get away with that. My guess is that you'd be the first person to say, "Did you get my signature when we agreed to that over the phone?"
Aug
11
comment How far should I take email address validation when the cost of bad emails is high?
Validation emails are usually a good solution. However, here the customer is not on the web; she's on the phone. In a call center scenario, where "average handle time" is a big focus, most organizations would be unwilling to have their agent sit idly on the phone while the caller retrieves an email. And that's all assuming that the caller is near her computer.
Aug
9
comment How did Git and Mercurial develop so similarly at the same time?
Well that explains it. I did a quick check of the BitKeeper commands, and it does seem like both Git and Mercurial "borrow" terminology from there.
Jul
26
comment How are multiple values returned in Java?
So this answers Chris Farmer's question (in the Q's comments) that real Java people don't necessarily create getters and setters for little internal classes. You are a "real" Java person, right?
Jul
25
comment Should I include HTML markup in my JSON response?
Great point about the reuse. Everyone seems to be voting for the Ajax request to only contain data, and no markup, for various reasons. But this one is a big one. Thanks.
Jul
25
comment Should I include HTML markup in my JSON response?
I like your idea of burning the JSON data into the page -- not here since I don't fetch the additional data until I know what item you're adding to your cart. Making a request for the page layout, then a second for the data seems to be common these days. Having the data in a JavaScript variable eliminates the need for the second HTTP request without having the have two different bits of rendering code (i.e, client and server).
Jul
25
comment Should I include HTML markup in my JSON response?
Thanks for the reply. That's actually what I meant in option 1. The lightbox as a container would be burned into the page but hidden. The JSON data from the Ajax request would be used to generate the content in the container. Some of that content would be marked up using HTML. How did you interpret option 1? Maybe that can be my third option.