4,866 reputation
22247
bio website
location
age
visits member for 4 years, 3 months
seen Sep 16 '13 at 22:05

no blog, no github yet.


Nov
30
comment Which is more maintainable — boolean assignment via if/else or boolean expression?
@Ondra Morský, thanks ... the compiler would have caught this for me.
Nov
30
revised Which is more maintainable — boolean assignment via if/else or boolean expression?
deleted 1 characters in body
Nov
30
answered Which is more maintainable — boolean assignment via if/else or boolean expression?
Nov
30
comment Why do I always think I know much less than others?
@Telastyn that last comment was a strong statement and frankly I think it could be wrong. Care to elaborate?
Nov
30
comment Why do I always think I know much less than others?
Programming is not math. Math is about facts. Programming is about getting shit done. Your keyboard is optimized for a typewriter. If you cannot handle the reality then perhaps you should become a pure mathematician / philosopher. Ultimately life is pointless. Whether you are unconditionally happy is mostly up to you.
Nov
29
comment Programming a trading strategy
Nanosecond trading is a big business. The big boys get to rent server space directly from Nasdaq, etc. They also get to use very freaking fast computers with a very stripped-down version of Linux on it and they get to study the crap out of the specific architecture and they use C++/C/assembly to squeeze every drop of performance out of it ... or they hire hardware engineers to design custom FPGAs.
Nov
28
comment Using machine learning to aim mirrors in a solar array?
That's not publication-worthy though.
Nov
28
comment Using machine learning to aim mirrors in a solar array?
So you solved the problem by putting the horse in front of the carriage, but what's the fun in that?
Nov
27
comment Programming a trading strategy
en.wikipedia.org/wiki/Bloomberg_L.P. has 13000 employees and 7 billion in revenue and they do not have a trading system yet (though they will soon). You work for Vanguard - you understand that it takes a lot of work to make something, right?
Nov
27
comment Looking for a real-world example illustrating that composition can be superior to inheritance
@Robert Harvey, the specific code at hand deals with scraping various sources for data - some data arrives daily, some weekly, some hourly, some by email, some via ftp, some as an excel sheet, some as an html table ... I have all the code that deals with existing sources and urls and credentials, so given enough time I could figure it all out. My problem is that I feel it is wrong to obsessively look for commonalities between CSV files and excel sheets and html and email attachments to the point where classes that deals with this data have three common parents. IMO sometimes code dupl is ok.
Nov
27
asked Looking for a real-world example illustrating that composition can be superior to inheritance
Nov
24
comment Security issue about making my code public in GitHub
Use BitBucket instead. It supports git as well.
Nov
24
comment My father is a doctor. He is insisting on writing a database to store non-critical patient information, with no programming background
@btilly, so she is smarter and wealthier than you ... how do you cope?
Nov
12
comment Immutable Method in Java
Note that D language allows the following syntax: int getA(POD o) pure nothrow { return o.a; } which is very cool, IMO.
Oct
28
awarded  Nice Answer
Oct
17
comment Use of keyword “Using” in C# interface
Since this is the accepted answer, I wanted to mention that StyleCop will complain about references being in the wrong place and also one can edit a template for a new class and a new interface, etc.
Oct
17
comment Use of keyword “Using” in C# interface
One can edit a template file and adjust which using statement get included and where - they should go inside of the namespace by default or else StyleCop will complain, and even worse - bad things can happen.
Oct
16
comment Is this a violation of the Liskov Substitution Principle?
You might want to change it to: public Status Status { get; private set; }; otherwise the Close() method can be worked around.
Oct
15
comment Is there a 'design pattern' type listing of common algorithms?
All you need is this bible - amazon.com/Introduction-Algorithms-Thomas-H-Cormen/dp/…
Oct
11
awarded  Good Answer