258 reputation
29
bio website danrumney.com
location Chicago, IL
age 34
visits member for 3 years, 7 months
seen Jul 11 at 13:18

Currently Technical Lead at Vodori (http://vodori.com) developing our application Pepper (Dojo/HTML 5/CSS 3/Spring/Java)

Was Software Engineer with IBM from 2002-2012, specialising in Storage (Disk and Tape).

Big nerd: http://podcast.nerdnite.com


Dec
19
comment How to represent a geometric line programmatically?
Yup. I'm an idiot. Corrected :)
Dec
18
comment How to represent a geometric line programmatically?
Well, V and L are parallel, so both statements are true, but V may be a more practical choice for implementation. Conceptually, L makes more sense to me.
Dec
18
comment How to represent a geometric line programmatically?
Thanks... I was answering this on a bus on my cell phone; surprised that was the only typo :)
Dec
18
comment How to represent a geometric line programmatically?
@Morwenn, quite so, but you never know if something that is obvious to you is obvious to another :)
Dec
18
comment How to represent a geometric line programmatically?
Are you looking for a bound line of finite length? Or an infinite line?
Dec
17
comment Managing false positives in TDD or BDD
Writing tests well is very hard This is part of it; making sure your tests completely describe the desired behaviour so that changes to the behaviour that are undesirable result in a test fail.
Dec
17
comment Managing false positives in TDD or BDD
The test shouldn't pass if it's written correctly. What you're describing is an incomplete test. If it must have 5 of 5 properties set then you would test 1) that there are 5 properties and 2) that they are all set. If you tested that way, having 6 of 8 set would fail.
Dec
17
comment Managing false positives in TDD or BDD
One thing to avoid is thinking of your tests as second class code. They are as valuable as your shipping code and you should expect to spend as much time tending tests as writing features and fixing bugs.
Dec
17
comment Managing false positives in TDD or BDD
If you're doing TDD or BDD, then your tests should already be linked to code, since they define a desired behavior. Assuming your tests are correct, all passing tests will continue to be valid and not misleading.
Aug
27
comment What does it mean for the JSON interchange format to have a license?
@apsillers, I was probably unclear. The flurry of comments lead me to do some research which lead me to the conclusion that JSON had a license. Since json.org/license.html has no links to say otherwise, I concluded that it was a license for the exchange format. It seems I was in error
Aug
26
comment What does it mean for the JSON interchange format to have a license?
Yeah... it just occurred to me that the license refers to documentation and software. Since JSON is neither, does this license make any sense?
May
25
comment In languages that don't allow underscores in integer constants, is it a good practice to create a constant for 1 billion?
@Joren, my experience has been the people tend to use US to indicate microseconds, for the purposes of constants. It's unambiguous when used in a context where the constant represents some sort of measurement.
Jan
16
comment How do you handle measuring Code Coverage in JavaScript
I can't really agree with this. Trying to establish 'code coverage' is not counter to effective testing; rather, it's complementary to it. Sure, blindly believing that 100% code coverage is identical to comprehensive testing would be foolish, but dismissing a desire to measure code coverage isn't the answer. It's a very useful metric when coupled with well written unit tests for identifying unexpected gaps in a test suite.
Jun
27
comment How do you handle measuring Code Coverage in JavaScript
Unfortunately, these solutions either instrument your code, or require a browser plugin. I'm updating my question to rule browser plugins out.
May
17
comment Can I market an application I wrote at work?
I work for a company where the contract I signed is very skimpy, but within that contract, I assert that I will abide by this corporate document and that corporate document. Check to see if you signed up to some such blanket clause.