It’s difficult to believe it has only been a couple of weeks since WebR has been around. But that might just be my perception. The spike protein invasion has significantly increased sedentary time, and that has enabled me to focus on this new toy to keep my attention focused on something positive. So, I’ve had… Continue reading
The Road To ggplot2 In WebR, Part 1: The Road Is Paved With Good Base R Plots
I have graphics working in Vanilla JS WebR, now, and I’ll cover the path to that in two parts. The intent was to jump straight into ggplot2-land, but, as you saw in my previous post, WASM’d ggplot2 is a bear. And, I really didn’t grok what the WebR site docs were saying about how to… Continue reading
WebR WASM R Package Load/Library Benchmarking Rabbit Hole
I have a post coming on using base and {ggplot2} plots in VanillaJS WebR, but after posting some bits on social media regarding how slow {ggplot2} is to deal with, I had some “performance”-related inquiries, which led me down a rabbit hole that I’m, now, dragging y’all down into as well. First, a preview of… Continue reading
Almost Bare Bones WebR Starter App
Let’s walk through how to set up a ~minimal HTML/JS/CSS + WebR-powered “app” on a server you own. This will be vanilla JS (i.e. no React/Vue/npm/bundler) you can hack on at-will. TL;DR: You can find the source to the app and track changes to it over on GitHub if you want to jump right in…. Continue reading
WebR IS HERE!
WebR 0.1.0 was released! I had been git-stalking George (the absolute genius who we all must thank for this) for a while and noticed the GH org and repos being updated earlier this week, So, I was already pretty excited. It dropped today, and you can hit that link for all the details and other… Continue reading
“Bizarre” DNS Hacks For Fun And, Um…, Fun
I’ve been (slowly) making my way through FOSDEM `23 presentations and caught up to Peter Lowe‘s “Bizarre and Unusual Uses of DNS • Rule 53: If you can think of it, someone’s done it in the DNS” talk. DNS oddities are items I collect whenever I see them, and while I knew about a good… Continue reading
Do Not Purchase Kucht Appliances
I’ll follow up with a more detailed post in a ~week or so, but if you are considering purchasing a Kucht appliance, please, please reconsider your decision. They have repeatedly lied to us (I have proof) and are incapable of manufacturing functioning equipment. Thanks to them, we are out thousands of dollars and are in… Continue reading
2022 Hanukkah of Data • Puzzle 2
Ref: https://rud.is/b/2022/12/19/2022-hanukkah-of-data-puzzle-1/ library(tidyverse) cust <- read_csv(“~/Downloads/noahs-csv/noahs-customers.csv”) orders_items <- read_csv(“~/Downloads/noahs-csv/noahs-orders_items.csv”) orders <- read_csv(“~/Downloads/noahs-csv/noahs-orders.csv”) products <- read_csv(“~/Downloads/noahs-csv/noahs-products.csv”) orders_items |> left_join(products) -> oip orders |> left_join(oip) -> orders orders |> filter( 2017 == lubridate::year(ordered), grepl(“cleaner|bagel”, desc, ignore.case=TRUE) ) |> group_by(customerid, orderid) |> summarise( ord = paste0(desc, collapse=”; “), n = n() ) |> arrange(desc(n)) # look for bagel… Continue reading