8,384 reputation
32740
bio website
location
age
visits member for 2 years, 11 months
seen 29 mins ago

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


1d
answered What is calendar time and execution time in terms of reliability testing?
2d
comment Structuring Procedural vs OO code
In C, you know that a + b is at most a few machine instructions. In C++, you may have no idea how much code a + b represents.
2d
comment Structuring Procedural vs OO code
I wouldn't say "totally useless". I would say that thinking about things from an OOP perspective rather than a procedural perspective makes it much easier to deal with large programs. If I am writing a fifty line script, I still often do it in a straight procedural manner. I would say that a functional language is going to push you forward a lot more than trying to do it old-school.
2d
answered Structuring Procedural vs OO code
Apr
20
comment Duplicate Account Detection - New Approach?
It wouldn't. As I said, "Of course, this is something a savvy users can pretty easily avoid".
Apr
17
comment Move Files Using Git mv Or Use File System Instead
mv foo/bar/baz . is so much harder. :-P
Apr
17
comment In C is it possible to change http requests to https
There's no way to answer this as it requires lots of information about what exactly you are doing with HTTP, what libraries you are using, etc.
Apr
17
comment Why do I need to map arguments to instance variables?
An example I am currently working on: The constructor takes two parameters, an IP address and a port, and uses those to create a socket connection. The instance variable is the socket connection and the IP/Port is discarded.
Apr
15
comment Can the author of an MIT licensed project convert it to a commercial licensed one?
Note that author can also release under multiple licenses at the same time, even multiple conflicting licenses. This is a feature of basic copyright law, not of any particular license. For instance, you could release something you wrote under the GPL license, and also separately license it to a company to use in an entirely closed-source manner, if you were the sole author (or all authors agreed).
Apr
13
comment Best data structure to store data sorted alphanumerically AND by weight
Is weight an integer or a float? When you say you want the "top" words, does that mean they will all have the same weight? Or is weight a float, and what you mean is you want to take the N values descending by weight and then sort them?
Apr
13
comment Web applications and homogeneity across users
Whether this is a bad idea or not is entirely a matter of a cost/benefits analysis. Subtract the development cost required to support special pages for one user from the amount the one user will pay, and if you get a positive number, it makes sense to do. You just need to make sure all the real costs are accounted for.
Apr
13
comment Facing MemoryError in Python
Well, maybe the OP can wait until 2035, when 8TB SIMMS are available.
Apr
13
revised How is distribution of PKI certificates allowed?
added 1194 characters in body
Apr
13
comment How is distribution of PKI certificates allowed?
It would be licensed the same way any other text files in the project are licensed. Note that a single file can be licensed by the same author using multiple licenses. (Updating answer.)
Apr
13
answered How is distribution of PKI certificates allowed?
Apr
12
comment Given a tree calculating Max Sum from top to bottom suing DFS? optimization?
Any improvement requires it be a particular sort of Search Tree. If it is just a tree with random data, then you obviously have to check every single node.
Apr
12
comment Given a tree calculating Max Sum from top to bottom suing DFS? optimization?
What sort of tree is it?
Apr
10
answered Agile: How to deal with bottle neck approvals outside of SCRUM?
Apr
9
comment DRY principles vs local-only variable scope in functions (PHP motivated question)
The other thing that strikes me is that your data structures are poor. If you organize it like an array of records ($array1[$1]['appt_id']) then you can create functions that just take $array1[$1] and everything is a billion times cleaner.
Apr
9
comment DRY principles vs local-only variable scope in functions (PHP motivated question)
In any case, your repeated code uses two array references and two index variables. That's hardly much for an argument list. If you want to know why DRY is important, imagine how easy it would be to accidently type $i instead of $j just once.