Quick Hit: Processing macOS Application Metadata Weirdly Fast with mdls and R

(reminder: Quick Hits have minimal explanatory blathering, but I can elaborate on anything if folks submit a comment). I’m playing around with Screen Time on xOS again and noticed mdls (macOS command line utility for getting file metadata) has a -plist… Continue reading Quick Hit: Processing macOS Application Metadata Weirdly Fast with mdls and R

Help Your Mac Stand Between The Darkness And The Light with GreyWatch

Greynoise helps security teams focus on potential threats by reducing the noise from logs, alerts, and SIEMs. They constantly watch for badly behaving internet hosts, keep track of the benign ones, and use this research to classify IP addresses. Teams … Continue reading Help Your Mac Stand Between The Darkness And The Light with GreyWatch

Retrieve Process Run-time Architecture on Apple Silicon Macs On The Command Line with `archinfo`

Apple M1/Apple Silicon/arm64 macOS can run x86_64 programs via Rosetta and most M1 systems currently (~March 2021) very likely run a mix of x86_64 and arm64 processes. Activity Monitor can show the architecture: but command line tools such as ps and to… Continue reading Retrieve Process Run-time Architecture on Apple Silicon Macs On The Command Line with `archinfo`

Getting Into the Rhythm of Chart Typography with {ragg} and {hrbragg} (a.k.a. It’s {ragg}-time}

Horrible puns aside, hopefully everyone saw the news, earlier this week, from @thomasp85 on the evolution of modern typographic capabilities in the R ecosystem. Thomas (and some cohorts) has been working on {systemfonts}, {ragg}, and {textshaping} for … Continue reading Getting Into the Rhythm of Chart Typography with {ragg} and {hrbragg} (a.k.a. It’s {ragg}-time}

Extracting Heart Rate Data (Two Ways!) from Apple Health XML Export Files Using R (a.k.a. The Least Romantic Valentine’s Day R Post Ever)

💙 Expand for EKG code library(hrbrthemes) library(elementalist) # remotes::install_github(“teunbrand/elementalist”) library(ggplot2) read_csv( file = “~/Data/apple_health_export/electrocardiograms/ecg_2020-09-24.csv”, # this is extracted below skip = 1… Continue reading Extracting Heart Rate Data (Two Ways!) from Apple Health XML Export Files Using R (a.k.a. The Least Romantic Valentine’s Day R Post Ever)

Amazon Athena {dbplyr} Implicit Usage of Presto Functions and Making JSON Casting Great Again

I was chatting with a fellow Amazon Athena user and the topic of using Presto functions such as approx_distinct() via {d[b]plyr} came up and it seems it might not be fully common knowledge that any non-already translated function is passed to the desti… Continue reading Amazon Athena {dbplyr} Implicit Usage of Presto Functions and Making JSON Casting Great Again

Making It Easier To Experiment With Compiled Swift Code In R

The past two posts have (lightly) introduced how to use compiled Swift code in R, but they’ve involved a bunch of “scary” command line machinations and incantations. One feature of {Rcpp} I’ve always 💙 is the cppFunction() (“r-lib” zealots have a simil… Continue reading Making It Easier To Experiment With Compiled Swift Code In R