Home Index Topics
Github Logo LinkedIn Logo Twitter Logo

David's Blog

Yet another blog by a software developer


Index  |  Home |  Topics
  • Headless ZCash Mining Rig

    • 20 Dec 2017
    • crypto

    The materials, code, and references I used to build a 6-GPU, headless ZCash (ZEC) mining rig this past spring.

  • Storing Arbitrary Model Attributes in Rails

    • 16 Jun 2017
    • ruby
    • rails
    • architecture

    Sometimes you might want to have access to an indefinite number of attributes on an object and persist these attributes to a database. Here's how I recently implemented this in Rails.

  • Inline Enumerator Messages in Ruby

    • 06 Apr 2017
    • ruby

    A little-known trick to simplify iterating through enumerators.

  • My Fish Oil Experiment

    • 23 Feb 2017
    • health
    • fitness

    I've spent the last 8 months running a sustained self-experiment on fish oil supplements. Here are the results.

  • Replacing Controller Mixins with Services

    • 14 Jan 2017
    • ruby
    • rails
    • architecture

    How to use Rails services to extract shared behaviors out of controllers. This helps to keep your controllers light on logic, self-documenting, and free of tangled dependencies.

  • What is Logic

    • 20 Aug 2016

    I studied logic. Now I write software for a living. This confuses some people. What is logic? How is it related to computers? This is how I understand it.

  • Buying Ethereum on Coinbase

    • 18 Jul 2016
    • crypto

    How to buy ether through Coinbase's GDAX digital currency exchange.

  • The Single Responsibility Principle, Part 1

    • 19 May 2016
    • architecture

    How I fail to understand it and you can too.

« 1 2 3 4 5 6 »
©2025 - David Laprade