I came across a neat site that uses a Golang wasm function called from javascript on the page to help you see if your GitHub public SSH keys are “safe”. What does “safe” mean? This is what the function checks for (via that site): Recommended key sizes are as follows: For the RSA algorithm at… Continue reading
Post Category → R
Update On ESC/POS Package Work
The morning before work was super productive and there is a nigh-complete DSL for ESC/POS commands along with the ability to just print {ggplot2}/{grid} object. I changed the package name to {escpos} since it is no longer just plot object focused, and the DSL looks a bit like this: library(stringi) library(hrbrthemes) library(ggplot2) library(escpos) ggplot() +… Continue reading
Turning {ggplot2} Into a PoS (Point-of-Sale) System
At the end of March, I caught a fleeting tweet that showcased an Epson thermal receipt printer generating a new “ticket” whenever a new GitHub issue was filed on a repository. @aschmelyun documents it well in this blog post. It’s a pretty cool hack, self-contained on a Pi Zero. Andrew’s project birthed an idea: could… Continue reading
A zsh Helper Script For Updating macOS RStudio Daily Electron + Quarto CLI Installs
RStudio’s macOS Electron build is coming along quite nicely and is blazing fast on Apple Silicon. I like to install the dailies, well, daily!; and, of late, RStudio and Quarto are joined at the hip. As a result, I regularly found myself having to manually update Quarto CLI right after updating RStudio, so I made… Continue reading
Starting 2022 Off With A Fairly Complex {ggplot2} Recreation Plot
The New York Times had a [tragic] story on Covid deaths today and one of their plots really stuck with me for how well it told that part of the story. NOTE: The red panel highlights are off a bit as I manually typed the data in (I only did the recreation to keep {ggplot2}… Continue reading
2021 Advent of Code Day 02 “Don’t Try This At Home” Edition
The Moderna booster level drained me all day on Dec 1 and did what jab two did during the overnight period (achy enough to wake me up and not get back to slumber easily). To try to wear myself down, I decided to practice a bit of R with the 2021 Advent of Code. There… Continue reading
Creating A Custom MaxMind mmdb File For Cloud Provider Ranges
I’ve been wanting to create a custom MaxMind mmdb file for alternate IPv4 range classifications for a while, and finally had an opportunity to do so for the $DAYJOB. MaxMind mmdb files are small and easy to work with and provide lightning fast lookups. This repo — https://github.com/hrbrmstr/clouds2mmdb — has an R script for pulling… Continue reading
#30DayMapChallenge 2021 Day 2: Lines
The 30-Day Map Challenge is on again, and I’m hoping to be able to scrounge some time to get an entry for each day. Day 2 is lines (Day 1 was posted on Twitter only) and — while I’m hoping to focus on saving U.S. democracy for the majority of the entries, today’s is a… Continue reading