10,516 reputation
42056
bio website
location
age
visits member for 3 years, 5 months
seen 16 hours ago

Apr
19
comment software for spying on staff?
what did the clause about monitoring actually say? Can they move in to your attic? Blood tests?
Apr
16
answered Advantages and disadvantages of building a single page web application
Apr
16
answered How do I make complex SQL queries easier to write?
Apr
12
accepted What services exist for finding someone specific to then run your own peer to peer software with?
Apr
12
comment What services exist for finding someone specific to then run your own peer to peer software with?
I can't easily tell if this would do what I want - the buddy list sounds promising. But I guess leveraging the largest peer to peer network around is probably a way to start.
Apr
12
comment Is it just me or is this a baffling tech interview question?
Well, if they really didn't say what A,B, and C are (like - they are objects) and they put object in quotes, they seem to have there own unique terminology. If they asked how to traverse an object graph where object A references object B which references object C which references object A it would have been intelligible, but why it has to be recursive I don't know. It needn't be infinite if you maintain a list of already visited objects, by the way. But yes, I would be concerned about working for a company using that test - they seem confused.
Apr
12
comment What services exist for finding someone specific to then run your own peer to peer software with?
Sorry if I wasn't clear in the question. I want to find my friend Joe, not any peer or anyone with some asset. I suppose being me friend Joe could be a kind of asset, but verifying Joe's identity is part of the problem too. It could maybe be worked around but only if the bittorrent network can get me to Joe in the first place. I don't know much about how bittorrent works, but I don't think it's really good at that.
Apr
12
comment Technical manager (not lead architect) of development team
@iSid - I'm not familiar with "blows me off". So I'm not quite sure how to interperate the whole comment.
Apr
10
comment Adding dynamic business logic/business process checks to a system
thedailywtf.com/Articles/The_Inner-Platform_Effect.aspx A cautionary tale. This road has been gone down by many, many people before you. It can be a positive thing, but look at all the links in the comments before embarking.
Apr
5
awarded  Nice Answer
Apr
5
comment What advantages are conferred by using server-side page rendering?
Michel K and maple_shaft - You can have an API locked down to one entry point and deliver over https. Of course you sanitize. Just as you have to sanitize when you serve HTTP. Also, it's somewhat easier to sanitize pure JSON than HTML/JavaScript, just because parsing is easier. Not sure why it would be easier to inject API code, given that you have a real parser.
Apr
5
comment What advantages are conferred by using server-side page rendering?
@maple_shaft - MITM is something to think about, but again I'm not sure why it makes a difference for API vs. server generated HTML. I suppose an API is more convenient to program against, so it would be a marginally easier crack, but I doubt that's what you mean.
Apr
5
comment What advantages are conferred by using server-side page rendering?
@Oded - That would be part of the private API implementation. Well, I sincerely hope it would. There is no reason for the API to even reveal what persistence mechanism is used.
Apr
5
comment What advantages are conferred by using server-side page rendering?
@Oded - Why is security easier to do when you render the page vs. in the API? I've always thought that what you have to program is equivalent either way, but it's easier (at least for me) psychologically to remember not to trust the client when doing an API. I'm asking because if I'm overlooking something I really want to know.
Apr
5
comment What to answer to a customer who asks which one of two equivalent technologies must be used?
If I were the client I might answer "I have no idea - but I'd like to think the pilot does."
Apr
3
comment Which is a better design pattern for a database wrapper: Save as you go or Save when you're done?
Also, sometimes if you don't want to lose data but don't want bad data either you can save to some sort of "staging area" then commit it, but whether and how this works is pretty application specific.
Apr
2
comment JavaScript Phone Screen
@TomClarkson - Yeah, I'd buy that explanation in an interview. Though the OP said "insists" it's block level scope. Someone saying "here's why it never came up for me" with a reasonable explanation like yours would be fine. You have good points but I still think it's a relatively good interview "trivia" question.
Apr
2
answered Does not documenting code result in job security?
Apr
2
comment I'm going to quit my job because of our platform: how can I leave a productive explanation of this?
@JeffAtwood - If you ever want to elaborate on specific enough I for one would be grateful. This site takes the Venn diagram pretty seriously - if it applies to programmers and 47 people in the software book publishing industry then it's in danger of getting closed, or so it seems to me.
Apr
2
comment JavaScript Phone Screen
@TomClarkson - But you would probably eventually try to "redeclare" a variable with "var myVar" inside a block, realize it has kept its old value from outside the block, and look up what's going on.