5,277 reputation
944
bio website
location
age
visits member for 2 years, 8 months
seen 3 hours ago

Oct
15
comment SQLDatabase: Read a lot of data at once and process in memory or read the data when I need it?
My solution to this was a hybrid: instead of pulling 100.000 lines from the databases at the same time or pulling 1 line a lot of times I pull blocks of 1000 lines at once which gave the best improvement. Beware though, any solution is extremely dependant on what situation you're in.
Oct
15
comment Overwriting and returning the value of the argument used as conditional of an if statement, inside the same if statement
Are there cases when it really matters? : Yes....you logger will log: "the color is blue" even if the color is green.
Oct
13
answered Can one determine the creation date of an email account?
Oct
11
reviewed Approve What benefits are there to native JavaScript development?
Oct
11
reviewed Approve What benefits are there to native JavaScript development?
Oct
11
reviewed Approve What benefits are there to native JavaScript development?
Oct
11
reviewed Approve What benefits are there to native JavaScript development?
Oct
11
reviewed Approve What benefits are there to native JavaScript development?
Oct
11
reviewed Approve What benefits are there to native JavaScript development?
Oct
10
comment When does one hard-code actual data values into the code as opposed to using a DB?
The untold consensus has typically NOT been as such: If it is a single variable or a simple structure, or an array of a few values, put data right in the code.
Oct
10
comment How can I rank teams based off of head to head wins/losses
You're missing a time component. (In sports at least) a recent win is often much more significant then a win in the past.
Oct
10
reviewed Approve Why is #include <iostream.h> bad?
Oct
10
comment Static and not-static: programmer quantum theory
To me the thing you want to do just feels dirty. If having a static method fits your use case, lift it out of the class and use it in a seperate class with static methods and remove it from your original class.
Oct
9
revised Algorithms: How do I sum O(n) and O(nlog(n)) together?
Corrrected an error in a formula.
Oct
8
awarded  Nice Answer
Oct
7
reviewed Approve Why should your code not use 100% CPU?
Oct
7
revised Why should your code not use 100% CPU?
added 15 characters in body
Oct
7
answered Why should your code not use 100% CPU?
Oct
7
comment How to compare two different hashset objects with more than 100,000 records
by comparing each value in set A with each value in set B you get 100.000 * 100.000 comparisons. Which is a lot. Advise to do a sort on both lists and only search forward.
Oct
6
comment What are classes that produce a result, but are necessarily classes because of the complexity of the task?
Do you mean black box?