UUID Fields in Phoenix
Phoenix is still a young framework. As such, you may encounter problems that no one else has or problems that are just slightly different than others. This is a story of the latter.
I have a model that I want to have a UUID as its id
. After a little...
What I read
Lots of political stuff this week.
The Truth About Anonymous's Activism
Especially enjoyed the historical context at the end. Wonder when the author will be doxed.
Reaction to the Sony Hack Is 'Beyond the Realm of Stupid'
One of the better things...
What I read
Four-Second Test Runs
I don't get the "fast enough" argument. How could you not want your entire test suite to run as fast as possible? For instance, you could have your editor or IDE run your tests on each file save and instantly tell you if you...
What I read
Specialization
The financial demands (and dream of reward) draws a lot of different people into the tech industry. Some (a lot?) of these people aren't in it for the intellectual pursuit of programming or for the craftsmanship. Roy is not one of these...
TDD is a thinking tool
In high school, I had my first real introduction to programming with a class on Turbo Pascal. When we were introduced to recursion, the teacher taught us to debug by writing down on a piece of paper what we thought the values were at any given time...
What I read this week
I read a lot of blog posts throughout the week. This is the first in hopefully a series of posts on what I've been reading. It's intended to be a record for myself, but might also serve to give others context for where I'm coming from.
Hybrid sweet...
On view and controller specs
We don't write [view|controller] specs because that code is exercised by the request specs.
I recently converted all views on a project from ERB to HAML. There were no view specs, and I wasn't entirely confident in my understanding of the project...
Pro tip at Coderwall
I'm trying out Coderwall. Just posted a TDD pro tip. Not sure if it's the best topic for a pro tip, but it was a little programming tid bit I've been thinking a lot about recently.
You have a rescue project
I wish I knew what it was that made people realize that something was terribly wrong with the software they built. I've never met anyone who thought that. I've met people with varying levels of opinions but never anyone who realized that something...