4,851 reputation
21827
bio website
location
age
visits member for 2 years, 5 months
seen 21 hours ago

Engineering Manager for Sony Network Entertainment who wishes he was doing Python but is instead managing a web development team.


Oct
14
comment UNIX stdout redirection
Reasonable question, but for stack exchange, not programmers.
Oct
11
comment Disallow non-local storage of an object
It sounds like what you really want is a singleton
Oct
11
comment Disallow non-local storage of an object
I'm curious what the motivation for only allowing one "local" instance is. Are you trying to prevent multiple references to the underlying hardware?
Oct
10
comment I/O bound or CPU-bound
Modern CPUs run at the nanosecond level while network IO runs at the millisecond level. If a program whose primary purpose is to deal with the network is CPU bound, you are doing something very, very wrong.
Oct
9
awarded  Nice Answer
Oct
8
awarded  Nice Answer
Oct
8
answered How to avoid large function arity / exposure of underlying implementation
Oct
8
comment How to avoid large function arity / exposure of underlying implementation
Well, you could change the declaration to def start_job(self, **kwargs), but that's probably going against the spirit of the thing.
Sep
24
awarded  Autobiographer
Sep
18
comment Onshore / Offshore (Team and Testing)
I think there's a subtlety in your definition of "In-house" in that sometimes companies bring contractors in to work on in-house teams as if they were employees. "Outsourced" means that in some sense responsibility for delivering a product is placed outside the company, as opposed to contracting companies that are merely contracting out developers.
Aug
31
comment Is this a good design in C++?
If you are returning a reference, you might as well just make the thing public and be done with it. You are just making people do p.Name() = foo; rather than p.name = foo;.
Aug
21
comment What would you call the concept of CofeeScript or Sass to be?
Originally, C++ was compiled to C, not assembly. There's definite precedent for initially converting a new language to some existing one in order to more quickly get it out. If CoffeeScript took off, we could very well see direct CoffeeScript interpreters.
Aug
17
comment Is it an anti-pattern to use void* and enums to enable type-checking?
Under the covers, it probably just boils down to a bunch of comparisons anyway.
Aug
17
comment Desktop client server application, limiting text area field compromise with customers
While sometimes customers ask for unreasonable things, as a general rule, you should strive to answer any request with "this is how long it will take" rather than "we can't do that". I don't know your application, but it strikes me that if you are having issues managing 10k blocks of text, there may be design issues that can be resolved.
Aug
17
answered Is it an anti-pattern to use void* and enums to enable type-checking?
Aug
14
reviewed Approve suggested edit on Pseudocode for Appel's algorithm implementation
Aug
10
comment C/C++: Which conversion warnings make sense in practice?
In C++, if you divide the int 7 by the int 2, getting 3 is neither a bug nor a buffer overflow. If you don't want integer math, you should convert everything to float.
Aug
6
comment Should the check correctness of a time constrained puzzle game application be done on the server side?
@KilianFoth If I understand the poster correctly, he's only using the hash to determine whether to check the full solution server side. Still, I agree with kevin cline that latencies people will see don't make this necessary.
Aug
4
comment Why do VMs not execute the assembly directly?
It's worth noting that disassembling an executable (translating back to assembly language) is a trivial operation. So not only is it slower, but it is pointless.
Jul
30
comment Customer is “deeply disappointed” in software because of one bug. How to reply?
Instead of dismissing the customer, look at the sorts of bugs that are causing them unhappiness and redirect your testing efforts there. They may indeed have unreasonable ideas of quality, but that's hard to say without details. It may be that you are focusing your quality efforts in the wrong areas, spending lots of time testing features they don't care about, and not enough on their business critical features.