Configuring wkhtmltopdf on MacOS and Linux
I've been using wkhtmltopdf in Rails projects for years. After upgrading to Rails 6 and Ruby 2.6, PDF creation started failing for me. This post documents what I did to get it to work again.
I've been using wkhtmltopdf in Rails projects for years. After upgrading to Rails 6 and Ruby 2.6, PDF creation started failing for me. This post documents what I did to get it to work again.
Some Racketeers mentioned the Advent of Code 2020, and I thought it would be fun to give it a shot this year. I'll be discussing my solution to Day 1 Part 2, so if you haven't completed it yet, you may want to hold off on reading further.
I added a advent-of-code-2020 directory within my LearningRacket repository where I'll be adding my solutions.
Someone on the Julia Slack mentioned this interview with Peter Norvig on the Gradient Dissent podcast.
The 4th edition of Peter's book, "Artificial Intelligence: A Modern Approach" was released earlier this year.
When asked, "Do you think that Python will continue to be the main programming language for ML for the next decade?", Peter replied, "Looking at where we are today, I guess I would be happier if Julia was the main language" ! (40:34)
I occasionally compile some statistics on programming language popularity by running a bunch of Google searches to rank programming languages according to the number of results. I wouldn't read too much into these stats, but they are not without value.
This time, I've included the code I use (written in Racket) and the raw data.
I made the following Google searches and summed the results:
After thirteen years with Wordpress, I decided to switch to static site generation for this blog. As a Racket programmer, Frog was a natural choice. This post highlights some of the lessons I learned in the process. I'm running MacOS locally and deploying to Ubuntu Linux.
I made a number of Google searches of the forms below and summed the results:
I made a number of Google searches of the forms below and summed the results:
I made a number of Google searches of the forms below and summed the results:
I previously wrote a post about switching from Carbon Emacs to Gnu Emacs. Upgrading is pretty simple now, so I thought I’d record the procedure for installing Emacs from source on OSX for future reference:
In September, 2008, I translated Peter Norvig’s spelling corrector into Ruby. My current favorite language is Racket, so I thought it would be a good exercise to port it to Racket. After some helpful tips by Vincent St-Amour and Sam Tobin-Hochstadt in the #racket IRC channel, I came up with the following. I’ll show it two different ways, the first minimizes the line count (without sacrificing too much stylistically) to 27 lines, and the second is closer to how I’d normally format it: