553 reputation
414
bio website blog.cubicallycontained.me
location London, Canada
age 31
visits member for 3 years, 1 month
seen Dec 24 at 14:37

A Java Developer who has worked at places ranging from a Fortune 100 company to a small start-up. Using Java for over 12 years, and Linux for over 10. Big KDE fan, OS X too. Also know Python, Perl, and Ruby. Of course C & C++ as well... boo hiss. Completed a Master's degree at The University of Western Ontario.


Dec
18
comment Why can't the Scala compiler give pattern matching warning for nonsealed classes/traits?
If you want it to work with people being able to add to it externally, then call the class and move the logic into those classes.
Dec
18
comment Why can't the Scala compiler give pattern matching warning for nonsealed classes/traits?
@Doval Then you should use some form of delegation and let the class being called decide what to do and invert control. This is what OOP was meant for. If you don't want that then you have your current issue.
Dec
12
comment How do you unit-test code using graphs?
@Dunk We keep thinking that we have all the tricky ones covered and then we realise that a certain structure causes problems we hadn't considered before. Testing every tricky that we can think of is what we are doing, what I'm hoping to find is some guidelines/procedures to generating troublesome examples maybe using reducibility of fundamental forms etc.
Dec
12
awarded  Curious
Dec
11
revised How do you unit-test code using graphs?
or -> xor
Dec
11
revised How do you unit-test code using graphs?
added 180 characters in body
Dec
11
asked How do you unit-test code using graphs?
Dec
5
awarded  Excavator
Dec
5
revised Is there a name for the 'break n' construct?
add syntax highlighting to second example
Dec
5
suggested approved edit on Is there a name for the 'break n' construct?
Nov
5
awarded  Popular Question
Sep
15
comment Scheme vs Common Lisp: Which characteristics made a difference in your project?
@SK-logic what are you doing with macros that is so unhygenic?
Sep
15
comment Scheme vs Common Lisp: Which characteristics made a difference in your project?
In all fairness it sounds like you came to Scheme wanting to write CL instead of trying to approach things from an idiomatic Scheme POV. For example, doesn't scheme encourage recurision rather than using loops?
Sep
15
comment Scheme vs Common Lisp: Which characteristics made a difference in your project?
@Quadrescence what do you mean by "EXISTENCE"? I don't understand what that word has with the text the comes after it. Perhaps you meant "origin" or "genesis" or "inspiration"?
Jun
17
comment How much time should you allow for clock skew?
It's B2B so the real issue is batch jobs where we need to upload a 1,000 records over an hour when the tokens expire after 20 minutes. The phrase 25% increase put it into perspective that 20% seems fine.
Jun
17
accepted How much time should you allow for clock skew?
Jun
16
comment How much time should you allow for clock skew?
But even if they are synchronized to NIST doesn't it depend on how often they sync? If they do it once a month or so, then you can have a a minute or two non?
Jun
16
asked How much time should you allow for clock skew?
Mar
28
comment Forking GPL project: Do I have full rights on the new fork or still dependencies with the original owner(s)
How about just the changes I make? If I fork a GPL project and make some changes, can I make my changes specifically AGPL?
Mar
18
comment How should non-functional changes be committed?
The code wasn't unit testable because it was heavily database dependent and there was no specification of what it should do, so the unit tests would have been "testStillDoesWhatItDoes()" instead of something behaviour or semantic and with layering violations it would have been really hard to mock out as well. Also, a lot of the changes where of opportunity like correcting Engrish method names as I came by them but didn't have time to write tests for and they'd remain in Engrish otherwise.