3,427 reputation
723
bio website hierax.org
location Minneapolis, MN
age 35
visits member for 2 years, 11 months
seen 21 hours ago

I love software development, and technology of all kinds. I have a boy and a girl and a beautiful wife, all of whom I adore. I practice Southern Chinese Kung Fu, and hope that my kids will too. I write code and play boardgames in my spare time.

I currently work as a JEE engineer in Edina, MN.


May
21
comment Store history in SQL database column
Belongs on dba.stackexchange.com
May
16
comment Benefits of Java in education?
Java: The Good Parts - shop.oreilly.com/product/9780596803742.do
May
9
comment Single programmer working on a project from different computers: is Dropbox a good solution?
I'd recommend reading HgInit and putting your code in a free version control repository such as at Bitbucket.
Apr
29
comment Should a REST interface include the query ID as part of the response?
Duplicate of: stackoverflow.com/q/11299354/421245
Apr
29
comment Should a REST interface include the query ID as part of the response?
Why do you need to put the store ID in the JSON payload of your PUT request? The REST service ought to be able to figure out the store ID from the PUT request URL.
Apr
8
comment How to avoid excessive method overloading?
Using a dictionary as a parameter is an easy way to reduce the number of apparent parameters to a method, but it obscures the actual dependencies of the method. This forces the caller to look elsewhere for what exactly needs to be in the dictionary, whether that be in comments, other calls to the method, or the method implementation itself.
Apr
7
comment What is meant by change the main routine? The C Programming Language
Sure. It sounds like the challenge was to figure out a solution without changing the subroutines.
Mar
28
comment How to apply IoC (or something similar) to a constant?
Why do you need to inject constants?
Mar
27
comment How to I write tests for code that's driving Robot and other external features?
That's a very long code sample; consider shortening it or describing in words the various 'outside world' parts that are causing you trouble.
Mar
12
comment How to decouple simple factory and default implementation?
This is a great answer describing differences between acceptable and unacceptable coupling. Would you care to elaborate on how to decouple the API from the implementation in this case, since that seems to be what lead to the question?
Mar
4
comment Select custom output formats from database with SQL
Usually the REST service is the interface to any number of client systems; why does your data access layer need to be available for multiple languages? This sounds like a YAGNI situation to me.
Feb
26
comment Keeping Backbone model in sync with editable view
This is usually called data binding. Google "backbone data binding".
Feb
13
comment J2EE - Session swap
To be clear: javax.servlet.Servlets get instantiated once and are used to service requests, so any member variables could be shared by multiple requests.
Feb
7
comment Are (mostly) client-side JavaScript web apps slower or less efficient?
@jwenting - filtering on the client or server is an architectural decision; not all client-side apps request tons of data and filter it on the client.
Jan
29
comment How to properly use Hibernate
@Aaronaught: Sorry, I should have been more clear. I was referring to the idea that a business logic layer should be decoupled from the persistence layer, i.e. the dependency inversion principle. Using a DAO as an abstraction over the ORM allows you to change which you use without affecting your business logic. This may be overkill, but I don't know the OP's situation.
Jan
28
comment How to properly use Hibernate
@Aaronaught - the main reason to wrap the Hibernate session in a repository or DAO abstraction is to avoid coupling your code to Hibernate.
Jan
20
comment Why should I use Bower?
Related: programmers.stackexchange.com/q/174959/34183
Jan
20
comment Why should I use Bower?
I haven't used it all that much yet, so I can only describe what I've found useful so far. I'll update the answer.
Jan
20
comment Why should I use Bower?
I became aware of Bower when I bootstrapped an Angular webapp using the Angular generator for Yeoman. Trying that might give you an idea of how it can be used.
Jan
10
comment Is Convention Over Configuration “Knowledge in the World” or “Knowledge In Your Head”?
@JimmyHoffa - I'm curious to hear your thoughts on it.