Daniel Higginbotham's adventures in making stuff

Articles

  1. This year's Clojure Conj was a complete blast! I got to meet and reconnect with great, friendly, brilliant people, and had enormous fun the whole time.

  2. If you work on projects that require you to open multiple terminal tabs, then tmux will help you be more productive! This brief guide will show you an easy way to get started.

  3. Here's a list of Clojurers you should follow on Twitter

  4. There's a new chapter up on interacting with Java!

  5. There's a new chapter up on concurrency, parallelism, and state. And zombies.

  6. Clojure for the Brave and True is going to be published! It will remain free online.

  7. I did not expect to have a life-altering insight while tidying my kitchen some night during the winter of 2011. Yet there I was, sponge in hand and mind on idle, when out of nowhere

  8. After many long months I've finished re-writing Grateful Place. The site now uses Clojure as an API server, with Datomic for the database, Angular for the front end, and Vagrant and Ansible for provisioning and deployment. We'll dive into the code base, covering the most important parts of each component and how everything works together.

  9. I've been having a brain-bending good time reading An Introduction to Functional Programming Through Lambda Calculus. Using examples from that book, this article will walk you through the basics of λ calculus. We'll then look at the surprising, counterintuitive way that the λ calculus lets us represent conditional expressions and boolean operations — all with functions as the only values. It was a very different way of thinking for me, and exciting to learn. I hope it's exciting for you, too!

  10. It's time to take a step back and get a high-level understanding of what Leiningen is. It's time to stare deeply into Leiningen's eyes and say "I see you," like Jake Sully in that Avatar documentary.

  11. An explanation of what lein trampoline does and how it does it.

  12. Leiningen reminds me a lot of Major Alex Louis Armstrong from Fullmetal Alchemist:

    • They are both manly
    • They are both artistic
    • Sometimes you don't know what the f* they're saying (but it's amazing anyway)
    • Mustaches
    • Sparkles

  13. If you're at all like me, the moment you got your first Clojure program running you belted out, "SOOO MUUUUUUUCH POOOOOOOWEEEEEEEER!" and thrust one or both fists into the air. Then, fifteen minutes later, you found yourself muttering things like "What's a maven?" and "Classpath what now?" and "What is Leiningen actually doing, anyway? Sure, those are the most handsome mustaches I ever laid eyes on, but can I really trust them?"

  14. Notes and links from Tapestry 2013

  15. Datomic is a unique new database. This article explains it by relating it to existing kinds of databases.

  16. Part of the excitement of working with Clojure is being exposed to Rich Hickey's thoughts on programming. Rich Hickey has a clear, consistent way of viewing fundamental programming concepts that I think any programmer would benefit from. Here is the beginning of my attempt to catalog Mr. Hickey's unique viewpoint.

  17. What will people post if they can't include links and can't use a nickname?

  18. In this post I go over a small refactoring to clean up some code in Whoops by implementing the DCI pattern. I'll cover the actual code changes and include my usual hand-wringing about what could be done better.

  19. Having put together a website using Noir, I wanted to to try and get closer to the metal. Here are some of my findings, including: templating heaven with Enlive and Middleman; using macros to enforce full stack consistency; roll-your-own-validations; more!

  20. Reflections on how embracing love has changed my life.

  21. I've been doing a daily gratitude practice for half a year now and have found it very useful. Here are some suggestions for your own practice.

  22. Aikido is love. You make this great great love of the universe your heart and then you must make your own mission the protection and love of all things. -- O'Sensei

  23. My first ever Mac app is out. Get it while it's hot!

  24. Matt Swanson has shared the secret to improving your running: move your feet! I elaborate on that advice and give a more complete way of figuring out your learning roadblocks and removing them.

  25. You probably already know about the following tools, but I found it useful to be reminded of them.

  26. Recently, I released OMG! SMACKDOWN!!!, which is the dumbest Clojure/Noir app created to date. This post dissects it in excruciating detail.

  27. Rambling thoughts on racism from a mixed-race guy who grew up in the South.

  28. What I've learned so far working with a distributed team in an enterprise environment.

  29. In this post I give a detailed description of a recent refactoring for my site OMG! SMACKDOWN!!! . I make no attempt to enliven the article with "cats" or "memes" or "humor" - it's straight up code and commentary.

  30. Clojure and noir are great fun. This post describes some of the code I wrote and gives some tips and tricks. There's other stuff too but I'm not going to try and summarize it here.

  31. Noir has a helper function, url-for, which you can use to generate URL's when given a named route. The problem arises when you have two different views which need to have links to each other.

  32. What causes frustration? How can we eliminate those causes?

  33. A talk I gave: Why you might want to learn more about visual design and how it's pretty similar to what you already know as programmers.

  34. I'm open sourcing Open Hercules an application I've put a lot of time into. This article explains my motivations, both practical and personal.

  35. Almost seven years since my first exposure to Ruby, I've found another language to be excited about.

  36. Learning about abstract math is rewarding in itself, but it could also be helpful to beginning programmers.

  37. In the year 2000, you will know all there is to know about yourself thanks to technology.

  38. The minimax algorithm is used to determine which moves a computer player makes in games like tic-tac-toe, checkers, othello, and chess. You can think of the algorithm as similar to the human thought process of saying, "OK, if I make this move, then my opponent can only make two moves, and each of those would let me win. So this is the right move to make."

  39. An attempt to describe an approach to programming within an integrated framework.

  40. I don't want to start a startup because of the experiences I've had with working for them. Also, the idea of financial freedom is not as appealing to me as it once was. Finally, there are already big challenges in my life.

  41. Thank you, everyone who has viewed Clean Up Your Mess. Thanks as well to everyone who has passed it on.

  42. If your configuration is convoluted as all hell, Higml might be for you. Also, this is my first attempt at writing first-class documentation.

  43. The learning curve for code libraries is often unnecessarily steep. I frequently feel that if the author had written better documentation, I'd be able to use his work much more quickly, or at least figure out that it's wrong for me and move on. I'm trying to write better documentation myself.

  44. It's been nearly a year since I've added anything to this site. There are a few reasons for that, though for now I'll only mention that I didn't like that the site existed in part to sell an iphone app and possibly future apps. Well, it turns out that I don't really care about overtly selling stuff. What I really want is a place to write about the pursuits I care about most.

  45. The world abounds with wacky models that help actual people actually overcome actual fear. Some people believe their obstacles are put there by God as tests for them to pass. Others believe that mortal life is a game played by immortal energy beings, just for the fun of it. And some folks believe that there is nothing more to life than what we see; when we die, that's the end, so we better make the most of it. Wacky!

  46. My first attempt to give myself super powers merely gave me sore palms. Riding in the back of my mother's beater as a five-year-old, I focused sunlight on the center of each hand using a magnifying glass likely found in a cereal box. After I was "charged up" I would point at trees, cars, fire hydrants, and other hapless objects and think to myself, "In five years, that thing's going to burst into flames."

  47. A few months ago, I was really psyched about some project (don't recall which), and said to myself, "I'm going to finish this thing, and nothing's going to get in my way." Immediately it occurred to me that a better attitude would be, "I'm going to finish this thing -- and I'll take all the help I can get."

  48. Today I finally wrapped up Control Time and submitted it to the app store :-). Hopefully they'll publish it soon.

  49. A lot of people view their motivation as something out of their control. It comes and goes, catlike in its fickleness. By breaking down motivation to its components, however, you'll be able to troubleshoot your lack of motivation and figure out ways to increase it.

  50. I'm a young software developer and caregiver. This web site is about my experimentations in creating and following a system for constant personal growth. This article gives some background on the circumstances that motivated me to start those experimentations and this site.

  51. A quick way to automatically follow people who follow you on twitter.

  52. A way to avoid namespace collisions.

  53. A few years ago I ordered DSL service. The DSL modem came with an ethernet cable, and one end was labeled "this end goes in your computer", and the other was labeled "this end goes in the modem." Obviously, it doesn't matter which end goes where, but the labels undoubtedly eliminated any possible confusion.

  54. I've been learning more about electronics, in part to get a ground-up understanding of computers. In the process I've become interested in learning to build robots.

  55. This is meant to save me from having to write the same boilerplate profiling code over and over.

  56. A tool for finding and fixing mysql bottlenecks in Ruby on Rails

  57. The following code lets you iterate over large collections of Active Record objects without having to load them all at once, thus reducing memory usage. It's allowed me to run cron jobs which iterate over thousands of records without getting the cron'd process killed for using too much of a system's resources.

  58. Give your models javascript-esque prototypal methods. When accessing an attribute on the prototypal object, the attribute's value is returned if not nil. Otherwise, the "linked" object's attribute value is returned.

Projects

  1. Clojure for the Brave and True

    A goofy book for learning Clojure. No functional programming or Java experience required!

  2. Grateful Place

    When we appreciate the good in our lives, the good grows and we have more of it.

  3. Clean Up Your Mess: a Guide to Visual Design for Everyone

    This popular guide will help you communicate with conscious skill. It will show you how to create designs that are easy to understand and attractive.

  4. Whoops: Log Anything

    Whoops is a free, self-hosted tool for logging application events like errors or background worker completion.

  5. Foreman: The $2 Mac Power Tool for Reducing Clutter

    Foreman reduces clutter and helps you focus. It opens the apps you need and closes or hides the rest.

  6. Open Hercules: Productivity, Greek Myth Style

    A free, open-source, keyboard-friendly, social list app