Posts
-
Complex Unique Constraints with PostgreSQL Triggers in Ecto
I recently needed to enforce a database constraint similar in spirit to a unique index, however the criteria for what should be considered “unique” was more complex than what a simple unique index in PostgreSQL would be able to deal with. Knowing that Ecto works by intercepting an error raised by the database, I set out to see if I could implement the complex unique constraint logic in the database and still be able to use the
Read More →Ecto.Changeset.unique_constraint/3
validation without needing to modify any Elixir code. -
Rodeo Labs Traildonkey 3.0 - Initial Impressions
Read More →The Traildonkey 3.0 from Rodeo Labs is a very capable adventure bike that seems to be begging you to take it outside of its comfort zone. It may not be great at everything, but it is willing to try just about anything once.
-
Using the 27" LG UltraFine 5k Display with Linux
I’m happy to report that we did get the monitor working great with Linux after a lot of trial and error (see below for the details about configuring Linux to work with this setup) and all of the other hardware worked well out of the box.
Read More → -
Sky Departure will be Good for Pro Cycling
Whether they find new sponsorship at the end of 2019 or dissolve completely, I think we’ll find that the era of Sky-dominance has drawn to a close.
Read More → -
Race Report: BCCC 2018 Day 1
I’m back for my second year in a row, racing as number 420 in the Baker City Cycling Classic. After dropping out of the race on the last stage in 2017, because I got dropped early on and then ran out of water between feed-1 and feed-2, I’ve spent the last year training like mad, so that I could come back and actually make it to the top of that last climb on that last day.
Read More → -
Race Report: 2018 Cherry Pie, Men 4/5
This was probably the best-prepared I’ve ever really been for a bike race…For the first lap-and-a-half, my plan worked out great.
Read More → -
34 Weeks to BCCC
My goal between now and the end of the year is to maintain a moderate amount of fitness and to get my weight and body-fat percentage within a range that I think will set me up well to hit my ultimate racing-weight goal. Cyclocross is helping to maintain the fitness, but I’m struggling (as usual) with the diet.
Read More → -
Baker City or Bust
Read More →I had so much fun at this year’s BCCC that I am orienting my 2018 season goals around next year’s edition.
-
MTB Ride from Reehers Camp
Dublin and I went for a mountain-bike ride on the Triple C and Gales Creek trails out of Reehers Camp this weekend, and encountered the most interesting thing I’ve ever seen on a bike ride.
Read More → -
Ride Fuel
Shameless sponsor plug:
One of the benefits of riding/racing with Team Oregon is having access to some pretty sweet deals from our awesome sponsors to help fuel those winter/spring base miles.
Read More → -
Timber Logjam: First Epic Ride of the Year
On Saturday, I went on my first epic adventure ride of the year, the Timber Logjam.
Read More → -
Living Intentionally
“Intentional living is the art of making our own choices before others’ choices make us.” ― Richie Norton
I’ve recently been given an opportunity to take some time and think about the next steps in my career and life, which has lead to some deeper thinking about my purpose and how I want to focus the (roughly) second half of my time on this planet.
Read More → -
Saffron Roasted Potato Salad
This roasted potato salad is equally delicious served hot or cold depending on what works best with your meal.
Read More → -
Portal Adventure: Implementing Commands
This is the second post in an ongoing series in which I talk about the development of “Portal Adventure”, a text-based adventure game that my 10-year-old son and I are writing in order to help him learn about programming. See other posts in this series: 1
Read More → -
Saffron and Bourbon Chicken Soup
This relatively easy to make chicken soup with a delightfully complex flavor will probably become my go-to comfort food for treating winter colds. Serve it with homemade, buttermilk biscuits, of course.
Read More → -
Portal Adventure: Session One
This is the first post in an ongoing series in which I talk about the development of “Portal Adventure”, a text-based adventure game that my 10-year-old son and I are writing in order to help him learn about programming. See other posts in this series: 2
Read More → -
Best Chili Recipe Ever
I’ve had a few requests to share this chili recipe from time to time; most likely because everyone who has ever had it subsequently decides it is the best chili they have ever had. Giving credit where it’s due, this is based on Alton Brown’s chili recipe from his book, I’m Just Here for the Food, but modified to my own tastes. The sauce is rich and spicy, although it’s a nice, even keel that doesn’t get hotter and hotter with each bite.
Read More → -
Kookaburra 0.24.0 Released - Exorcised ActiveSupport
I just released version 0.24.0 of Kookaburra to Rubygems.org. While there were no changes to Kookaburra’s API with this release, it is a minor release rather than a patch release, because I removed ActiveSupport from Kookaburra’s dependencies. Previously, Kookaburra depended on ActiveSupport >= 3.0, and this prevented it from working smoothly with Rails 2.x applications (at least in the same Bundler bundle.) Since Kookaburra only used a small fraction of ActiveSupport, it seemed easiest just to break the dependency, so that your application can use whatever version of ActiveSupport it needs.
Read More → -
tmux and the OSX Clipboard
I started using tmux recently after a) I was informed that GNU screen is basically an outdated POS, and b) an excellent book on the subject was published. I’m glad to have made the switch, as tmux is a wonderful improvement over screen. However, on OSX, I found that the
Read More →pbcopy
andpbpaste
commands (among other things) would no longer work from within a tmux session. -
Kookaburra Rewrite for 0.15.1
After getting some good feedback on Kookaburra since the original release announcement as well as using it in a few more projects, Sam and I decided to treat all of the versions prior to 0.15.0 as a spike and rewrite the framework from the ground up. Although we certainly learned a lot about the approach with the pre-0.15 versions, the problems with continuing to grow Kookaburra from that seed became apparent as we tried to use it in more applications.
Read More →
subscribe via RSS