it only shaved a second off the response time so i reverted it
It is not often that a full one second improvement to the response time of an HTTP request so insignificant that it is not worth committing.
When designing hypertext formats is it better to provide links for every available action or to provided links to related resources and let the client use the protocol interface to achieve particular actions on those related resources?
I have leaned in both directions at various times. I have never fully convinced myself either.
To make the issues [...]
Mr Amundsen’s recent post regarding the design of “semantic machine media types” got me thinking about media type design. One of the commonly encouraged practices, particularly on the REST discuss group, is the use of link elements.
I really dislike this idea. It sets my teeth on edge because it treats links – which are possibly [...]
It seems that more and more are beginning to grasp the hypermedia constraint of REST. This is an unmitigated Good Thing. However, once you get hypermedia the idea of a client persisting links that it has found starts to seem a little odd. For example, Kirk Wylie describes clients that store links as “not well [...]
The idea of creating a functioning application by loosely connecting many small pieces has been around for a long time. Certainly since early in the development of Unix, and probably even before. It has survived because it is such a powerful approach.
This idea is at the very core of the architecture of the web. However, [...]
I have been working pretty extensively with Cucumber for the last couple of weeks. In short, it is killer. You should be using it.
Having just RSpec/unit tests results in a lot of ugly trade offs between verifying the design and implementation of the parts (or units) vs the system as a whole. Using Cucumber completely [...]
Note to self: If you need to revert commits that have already been pushed, or otherwised merged with any other repo or branch, use git
revert.
git reset is exclusively for undoing commits in your local working tree that have not seen the light of day. Attempting to use git
reset to undo changes that exist in multiple [...]
The question of how to communicate events often comes up when designing APIs and multi-component systems. The questions basically boils down to this: should events be pushed to interested parties as they occur, or should interested parties poll for new data?
The short answer: interested parties should poll for new data.
The longer answer is, of course, [...]
That is what you gain when you allow more than one module of software to access any single database. Any integration database confers legacy status on all modules that access it.
For the sake of this discussion we will define a module as unit of software that is highly cohesive, logically independent and implemented by a [...]
Security is a thing at my new job. We follow PCI security standards. We take great care never to have our customers sensitive information on unsecured machines. We make efforts to stay aware of the security risks in our environments.
With that in mind, i decide that storing all my work related files on my laptops [...]