4,260 reputation
927
bio website hierax.org
location Minneapolis, MN
age 36
visits member for 3 years, 9 months
seen 1 hour 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 software engineer in Edina, MN.


May
29
comment How can I create a data model to efficiently answer the question of - where to place my db-interaction code I am about to write?
Fowler outlines various techniques in Patterns of Enterprise Application Architecture. It's worth the read.
May
20
comment REST API design: POST (implicit userId) vs PUT (explicit userId)
We're in agreement on server-side authorization. Accepting a userId filter as in your example for a news resource is confusing at best; collection filters don't belong in the path, they belong in a GET parameter. If an ID is supported as a child resource of a /news resource, it should be interpreted as a specific news ID.
May
20
comment REST API design: POST (implicit userId) vs PUT (explicit userId)
Filtering has to happen on the server side based on authentication info, otherwise a user sending requests outside of the UI would be able to access to more than they should.
May
18
comment Design suggestions for converters in Java
Could you provide an example?
Apr
24
comment Automatic builders/chain setters for Java?
Project Lombok has (along with lots of other great annotations) @Builder.
Apr
20
comment Difference between Throttling and Rate limiting in API Management
It looks like you're trying to clarify your question; instead of adding an answer to do so, edit the question. You may want to check out the help center to understand this site better.
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 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.