Miles McBain
banner
milesmcbain.bsky.social
Miles McBain
@milesmcbain.bsky.social
Code hacker, number cruncher, #rstats user, board gamer, road racer, plant eater, bass slapper.

I like big bikes and I cannot lie. #cargobike

Coming to you from AUS / BNE.

https://milesmcbain.com
Sir we are purveyors of quality hand-coded software. Typed out in the traditional way by fingers on mechanical keys. Some backlit by LEDs.

Look here, look at this code. It looks clean, just like shoddy AI work, but let me draw your attention to this unexpected line break here…
November 7, 2025 at 7:54 AM
Going out on a limb here but the most exquisitely designed deeply domain specific functions in the #rstats #tidyverse are probably the tidyr::separate_ family.

separate_wider_regex() is my main. The patterns arg! Beautiful. The debug mode! So sympathetic to the user’s whole process.
November 4, 2025 at 6:35 AM
Reposted by Miles McBain
George I need you to do to these companies what you could never do to your books and finish them.
Massive win and beginning of the end for generative ai
October 30, 2025 at 12:54 AM
One of the greatest things about my job is the things talked about vs not. A whole floor of nerds.

Talked about: R, stats, fantasy leagues, coffee, cycling, running, hiking, urbanism, bargains, the competitive puzzling scene, video games.

Things not talked about: Python, ever.
October 30, 2025 at 4:39 AM
Reposted by Miles McBain
Current demographic trends have long-term implications for care and dependency. Intergenerational inequality is not just an economic issue, but it is also social and democratic issues. #auspol #economy
Five charts that show how young Australians are getting screwed
Australia is becoming increasingly unequal. The story is unmissably generational: young Australians today face a tougher reality than their parents and grandparents.
johnmenadue.com
October 28, 2025 at 10:16 PM
Had cause to share this classic software design talk yesterday: youtu.be/SxdOUGdseq4?...

And wow. What a time of optimism that was compared to now. The false promise of AI doing it all has probably set the field back a decade at least.
"Simple Made Easy" - Rich Hickey (2011)
YouTube video by Strange Loop Conference
youtu.be
October 28, 2025 at 10:13 PM
Reposted by Miles McBain
There's been endless talk about an AI bubble, but less about exactly how, why, and how much it's a bubble. So I turned to the framework put forward by scholars Brent Goldfarb and David A. Kirsch, authors of "Bubbles and Crashes," for assessing tech bubbles.

Spoiler: On a scale of 1 to 8, AI is an 8
AI Is the Bubble to Burst Them All
I talked to the scholars who literally wrote the book on tech bubbles—and applied their test.
www.wired.com
October 27, 2025 at 8:58 PM
Reposted by Miles McBain
Tried to sneak a photo of a cute doggo and accidentally had long exposure on and I believe I have created man’s greatest expression of art
October 21, 2025 at 2:14 AM
Coming across this sitting at kid 1’s piano lesson we got to by cargo bike. 😊🚲💪

www.theguardian.com/australia-ne...
Load and behold: should you opt for an electric cargo bike over a second car?
Cargo ebikes are ideal for the millions of short-distance car trips Australians take every day. Here’s how to make one work for you
www.theguardian.com
October 18, 2025 at 1:20 AM
Reposted by Miles McBain
I tried using AI to help me "speed up" my writing process. I hated every second of it. (I know, "duh")

I dislike reading AI slop, so I don't use AI to write stuff that isn't code. But, while I love writing, I am not fast at it, & I let ✨capitalism✨ convince me that I should maybe SPEED UP.

🧵 1/n
October 16, 2025 at 3:46 AM
Reposted by Miles McBain
Hey #rstats friends! 👋

Only one week to go until my "Introduction to R Packages" tutorial at #WOMBAT2025!

This is a gentle introduction to making R packages, going from initial code to `devtools::check()`

Still plenty of spots available :)

Sign up at: wombat2025.numbat.space
September 19, 2025 at 5:50 AM
The thing is, I feel it’s the {breakerofchains} crowd who are most likely hunt me down if I ever retired the repo.
The GOAT RStudio addin by @milesmcbain.bsky.social
Jonathan McPherson just mentioned datapasta at the opening keynote of #positconf, so I'm sharing this once again to share the magic, for all those discovering it for the very first time ❤️

#databs #rstats
September 18, 2025 at 3:39 AM
Reposted by Miles McBain
In my experience, courage is usually the product of love and/or solidarity. When we are deeply invested in each other, we are more likely to take risks that we wouldn't take out of mere principle, or for the sake of people we feel disconnected from. Our alienation mass produces cowardice.
September 12, 2025 at 4:23 AM
Reposted by Miles McBain
Great video by @ohtheurbanity.bsky.social featuring Brisbane's low cycling mode share. Fun fact: in 2006 Brisbane aimed to more than double cycling from 2% to 5% by 2026.

In 2016 when they reviewed the plan, mode share was...still 2%. What did they do in the 2016-2036 plan?
youtu.be/_DQonhJLKTc?...
The Cycling Potential Hiding in Plain Sight
YouTube video by Oh The Urbanity!
youtu.be
August 27, 2025 at 9:52 PM
Reposted by Miles McBain
Tax breaks for huge, American-style utes cost the Australian government $250 million in 2023.

But it gets worse.

Emissions from passenger cars have fallen since 2005, but that drop was wiped out by the increased use of big utes. #auspol
August 25, 2025 at 6:05 AM
Reposted by Miles McBain
i need politicians to be as mad at housing prices as they are about cracker barrel's new logo
August 22, 2025 at 7:31 PM
Reposted by Miles McBain
new #rstats art series posted
Softer – Art by Danielle Navarro
art.djnavarro.net
August 21, 2025 at 10:36 PM
Reposted by Miles McBain
The next big AI story is going to be that the cost of inference has indeed gone up, that costs are a problem, that, in fact, costs are not magically going to go down, and there are going to be people who pretended they always thought this. I have been watching :)
August 20, 2025 at 4:14 PM
Team Golden or Soda Pop?

Golden here.
August 21, 2025 at 8:40 AM
Reposted by Miles McBain
#rstats Seen over at Mastodon: the `terminalgraphics` 📦 let's you render R plots _directly_ in a terminal window (e.g., R process launched from the command line, neovim or emacs). codeberg.org/djvanderlaan...

Get it: `remotes::install_git(url = "https://codeberg.org/djvanderlaan/terminalgraphics")`
August 17, 2025 at 11:06 PM
Reposted by Miles McBain
We don’t have a productivity problem… we have a lack of productive industries problem. Moving up from 105th in the world will take time. But we have a history of talking about growth and doing no growing. its time to act. Mining examples productivity for other sectors. ...
Productivity roundtable? Ignoring the elephants in the room won’t help. Let’s get them working for us
We are 105th for economic complexity. And without our incredibly productive mining industry we would be even lower down the scale.
johnmenadue.com
August 19, 2025 at 10:31 PM
Reposted by Miles McBain
In the last 48 hours an 84 year old woman with a wheelie walker, and a dad walking with his 4yo son riding his balance bike have been hit and killed by 4WD utes in Brisbane. These vehicles are deadly and we need to address it.
7news.com.au/news/man-and...
Devastating update after father and his four-year-old son are hit by ute
A broken children’s bike was seen lying on the footpath.
7news.com.au
August 17, 2025 at 8:14 AM