461 reputation
613
bio website orthogonaltonormal.com
location Johnstown, PA
age 32
visits member for 3 years, 5 months
seen 11 hours ago
//TODO Glorious Lies

14h
comment Should the commit history be used to convey critical information to developers?
@Klors As long as you don't restrict yourself to the most pedantic definitions of unit tests and refuse to do other types of automated tests, a test based on checking the file system/etc for the libraries name (if it has the version encoded in it) or a hash/checksum of the file itself could be used to throw a red flag at anyone wanting to update the library even in cases where the new versions flaw is difficult/impossible to capture in a test. (eg multi-threaded race conditions)
Jul
25
comment Should temporary code be put under version control and how?
@MainMa does that still work when the dll you need to reference is part of an application that needs to be installed conventionally?
Jul
25
comment Should temporary code be put under version control and how?
With VS, you sometimes need to take care to make sure you don't have absolute paths sneaking in. I've ran into more than a few problems with busted references when upgrading to win64 and having libraries for 3rd party platforms move from C:\Program Files\... to C:\Program Files (x86)\...
Jul
14
comment Is it a good idea to “#define me (*this)”?
Why not just go all out, and do: #include "vb.h", #Include pascal.h, or #include FOTRAN.h and have the next person to touch your code submit it to TDWTF.
Jun
7
answered Does it make sense to write tests for legacy code when there is no time for a complete refactoring?
Jan
10
awarded  Good Question
Oct
24
comment What are the safety benefits of a type system?
my misgivings are that you should try for 100% coverage in both types; and the use of a percent is obscuring the key fact: that 100% in a strongly typed language is significantly fewer tests than in a weakly typed one, or that phrased alternately a significant bit of the latter's required 100% is given free by enforcing type.
Oct
24
comment What are the safety benefits of a type system?
The use of 100% bothers me though; since there are lots of types of errors that type compile time type safety can't confirm are missing and which still need to be tested.
Oct
24
comment What are the safety benefits of a type system?
+1 for compiling as the equivalent to writing a lot of tests.
Oct
18
comment Is it acceptable to upload offensive content to GitHub?
@MichaelT and Triple-Double-ROT13 better still.
Oct
10
comment Is it reasonable to insist on reproducing every defect before diagnosing and fixing it?
Related: programmers.stackexchange.com/questions/196105/…
Oct
10
comment Is it reasonable to insist on reproducing every defect before diagnosing and fixing it?
If you're able to find a multi-threaded race condition by code inspection you should be able to to reproduce it consistently by modifying the code with additional locking statements that force the threads to start/stop in a sequence that triggers it. ex Thread1-Startup and pause, thread2-Startup and pause, 1-begin using shared object and pause, 2-modify shared object and pause, 1-try using shared object and barf. The biggest issue with this sort of approach is that while it's something you can demonstrate in a debugger it's not suited for adding to an automated test suite. BTDT-GTTS.
Oct
8
comment Overcoming slow problem solving due to increased knowledge of what might go wrong
@Neil "On time. On budget. On Mars. Pick two."
Sep
23
comment Why are CIL and CLR required in .NET?
While they haven't ported to other OSes (or if they did they haven't released the work anyway), MS has ported the CLR to multiple cpu architectures which is a more difficult task. In addition to x86, they support ARM (winRT), and supported the Itanium in earlier versions (although I think they've dropped it for the newest ones).
Sep
19
comment Are there any valid use-cases for eager boolean evaluation?
also related: stackoverflow.com/questions/11411907/…
Sep
18
comment Is it appropriate for interviewers to ask candidates for their Stack Exchange user name?
Agree on the time point. My SO profile is mostly questions I've asked. In the areas I could answer best simple questions belong to the fastest typists (not me) or require more effort than I want to spend in my free time. My main contribution to the community is in the review queue. Because reviews are only shown to a few users I can give back to the community there in only a few minutes time and without having to push my typing to 80 or 100 words a minute just to avoid getting sniped by someone else.
Sep
18
comment Is it appropriate for interviewers to ask candidates for their Stack Exchange user name?
+1 for "If you want to use this as part of the interview process, I would recommend it as one option of many - github and StackExchange are both popular but not exclusive." Participation on any legitimate developer site/mailing list/etc can provide useful information.
Sep
6
comment Is rotating developers on a project a good or bad idea?
Is the new system intended to replace the legacy system?
Sep
3
comment In reality, a developer also administers DBMS and system?
While @PerfectGundam hasn't explained why his employer has such a diversity of platforms; ending up with significant use of several isn't that hard if you don't have the benefit of rewriting your legacy systems when you change platforms for new development. Cases where outliers are only a small fraction of the total can happen when an occasional niche doesn't have a good option on the companies preferred platform. And if the company is developing software for third parties; creating stuff to fit the customers preferred stack can result in a huge mishmash of platforms each used once or twice.
Aug
21
answered Shared hosting for a PHP application