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.
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:
"implemented in <lang>"
"written in <lang>"
"developed in <lang>"
"programmed in <lang>"
I made a number of Google searches of the forms below and summed the results:
"implemented in <lang>"
"written in <lang>"
"developed in <lang>"
"programmed in <lang>"
I made a number of Google searches of the forms below and summed the results:
"implemented in <lang>"
"written in <lang>"
"developed in <lang>"
"programmed in <lang>"
I made a number of Google searches of the forms below and summed the results:
"implemented in <lang>"
"written in <lang>"
"developed in <lang>"
"programmed in <lang>"
For the last few years (since 2009), I’ve been pitching the idea to my peers that language speed & concurrency/parallel capabilities will become more important as CPU clock speeds plateau and manufacturers add more CPU cores instead of advancing clock rates. My 2+ year old Macbook Pro has 4 cores and 8 hyperthreads.
I stumbled upon a programming challenge a company was using for recruitment purposes and thought I’d create a Haskell solution as a learning exercise. The first problem was to find the longest palindrome embedded in a text string.
Update 11/23/2020: The ultimate winner for my primary programming language was Racket.
The 2008 Programming Language Plan didn’t go as well as I hoped, so I’m regrouping for another go at it. I did make progress learning some Logo and teaching it to my daughters, and I worked through seven chapters of “Programming in Haskell” which was very enjoyable, but I also spent way too much time trying to decide which language(s) to learn without actually learning them.
I recently obtained a mobile broadband device that has a built in GPS receiver and can emit NMEA sentences. My old Garmin portable GPS can emit NMEA also, but it’s a pain to hookup to the laptop. Combining a GPS unit in a mobile broadband device is a great idea.
Ruby is a very flexible and expressive language. A recent question posted by a Ruby newbie got me looking through my IRC logs for a discussion about the performance of various dynamic method invocation approaches, so I thought I’d share some performance results.