276 reputation
210
bio website danrumney.com
location Chicago, IL
age 35
visits member for 4 years
seen Dec 16 at 19:29

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
15
comment Is there any algorithm pattern to protect any content in the web to ensure I am the first one who created it?
You can also include some content in the plaintext that is encrypted via P(content). The true owner of S will be able to decrypt that additional information, whereas a reposter will not be able to do that.
Dec
13
awarded  Citizen Patrol
Dec
6
comment XSLT equivalent for JSON
In case there's any doubt, I think Jonathan's answer is great; I just wanted to add an alternative perspective.
Dec
6
answered XSLT equivalent for JSON
Nov
5
comment How to deal with no code reviews in my new place when I come from that practice?
-1: "The most important thing is that it works correctly." This is a pretty short-sighted view of what's important when it comes to production code. Code is read more often than it is written. The value of a (well performed) code review goes way beyond checking correctness. Among many advantages, code reviews ensure that code makes sense to someone who didn't write it.
Apr
14
awarded  Critic
Dec
19
comment How to represent a geometric line programmatically?
Yup. I'm an idiot. Corrected :)
Dec
19
revised How to represent a geometric line programmatically?
edited body
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
revised How to represent a geometric line programmatically?
Correction
Dec
18
awarded  Yearling
Dec
18
answered How to represent a geometric line programmatically?
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
awarded  Commentator
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.