4,031 reputation
826
bio website hierax.org
location Minneapolis, MN
age 36
visits member for 3 years, 7 months
seen 9 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 Traditional 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.


Mar
18
comment Does sending system-profile information with HTTP GET request conform to RESTful practices?
Looks like it's URL parameters.
Mar
18
comment Does sending system-profile information with HTTP GET request conform to RESTful practices?
In what way does Sparkle include system-profile info with the GET request? E.g. as a request body, as a URL parameter, etc?
Mar
18
comment Does sending system-profile information with HTTP GET request conform to RESTful practices?
REF 7321 appears to be Cryptographic Algorithm Implementation Requirements and Usage Guidance for Encapsulating Security Payload (ESP) and Authentication Header (AH) - is that the RFC you're referring to?
Mar
18
comment Handling DomainExceptions using REST endpoint
Related: programmers.stackexchange.com/a/237239/34183
Mar
13
comment Understanding basics of object declaration in Java
In that case, a more accurate word might be "verbose".
Mar
13
comment Laravel 5 Multi-App
This question centers on a specific version of a specific framework, so you might get more attention on a forum specific to that framework.
Mar
13
comment Understanding basics of object declaration in Java
Object creation (in Java at least) is not expensive: programmers.stackexchange.com/a/149569/34183
Mar
12
comment Working with two different database types for one application
I can attest that this can be accomplished using Hibernate. To switch data sources, switch your Hibernate data source configuration. Using JPA w/ Hibernate works the same way.
Mar
11
comment Is logging next to an implementation a SRP violation?
+1 OP is taking it too far.
Mar
9
comment Interview question - Robot in a grid
You probably mean "breadth-first search".
Mar
6
comment Calling Web API vs adding reference to underlying dlls
I disagree, but naming the design is irrelevant to the question, so I'll just say that I agree with the heart of your answer and leave it at that.
Mar
6
comment Calling Web API vs adding reference to underlying dlls
They certainly are, but simply using web service calls to access some functionality doesn't mean that the OP is using a distributed objects architecture.
Mar
5
comment Calling Web API vs adding reference to underlying dlls
Good answer from a theoretical standpoint, but it might be overkill. An HTTP request is always going to be slower than calling into a DLL, so until you need to support both, I'd stick to the clear winner.
Mar
5
comment Calling Web API vs adding reference to underlying dlls
This question doesn't describe distributed objects in the way that Fowler describes in Pattern of Enterprise Application Architecture, but I agree with the heart of your answer: making HTTP calls is going to be orders of magnitude slower than calls into a DLL.
Feb
12
comment Is throwing an exception an anti-pattern here?
At least with Guava's Optional, trying to put a null in results in an exception. You'd have to use Optional.absent().
Jan
5
comment Taming the 'utility functions' classes
If it feels like you're passing it around too much, maybe it does too much.
Dec
29
comment Is anyone capable of becoming a programmer and having a career?
You can do it!!
Dec
19
comment Where would you put configurable data to minimize Change Management slow downs?
Inserting or updating rows in your configuration database would require DBA assisntance?
Dec
8
comment A separate endpoint specifically for sync in a REST api
If your update logic is well encapsulated, you should be able to use the same e.g. class behind multiple endpoints. In any case, the decision should really come down to whether adding an aggregate endpoint improves performance enough to warrant the downsides, some of which you listed.
Dec
8
comment A separate endpoint specifically for sync in a REST api
I'll add the obligatory "are you sure this is a necessary optimization?" As @Cormac points out, caching may do everything you need if you set headers properly in your requests and responses.