Jonathan Carroll
banner
jonocarroll.fosstodon.org.ap.brid.gy
Jonathan Carroll
@jonocarroll.fosstodon.org.ap.brid.gy
#rstats primarily but learning #haskell, #julia, #rust, #python, #APL, #lisp, and many others

:rstats: :haskell: :julia: :rust: :apl: :python: :bash:

Also […]

🌉 bridged from ⁂ https://fosstodon.org/@jonocarroll, follow @ap.brid.gy to interact
@EvanHahn re: this post
https://evanhahn.com/fizz-buzz-without-conditionals-or-booleans/ how about just relying on lexical sorting?

from itertools import cycle

def main():
fizz = cycle(["", "", "Fizz"])
buzz = cycle(["", "", "", "", "Buzz"])
numbers = range(1, 101)
for f, b, n in zip(fizz […]
Original post on fosstodon.org
fosstodon.org
November 13, 2025 at 3:56 AM
RE: https://fosstodon.org/@jonocarroll/109792390400951308

It's a learning-new-things-about-webcomics-I-love themed day today, I suppose - Oglaf (NSFW but extremely funny) is made by some Australians! And one of them is working with the Umbilical Brothers! […]
Original post on fosstodon.org
fosstodon.org
November 12, 2025 at 10:44 PM
Pepper & Carrot continues to be the most gorgeous webcomic that's also entirely free (libre) https://www.peppercarrot.com/en/webcomic/ep39_The-Tavern.html

Ep39 announcement: piaf.org/@davidrevoy/115538356547302189" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">https://framapiaf.org/@davidrevoy/115538356547302189 by @davidrevoy

It's also very broadly translated (68 languages!) - […]
Original post on fosstodon.org
fosstodon.org
November 12, 2025 at 10:28 PM
RE: https://fosstodon.org/@ataustin/115504431411485061

Neat! Hopefully less clicking-through to gain context on comments now.
fosstodon.org
November 6, 2025 at 10:44 PM
About half way through @daroczig's #user talk recording on {logger}

https://www.youtube.com/watch?v=8R8ulz4MVm0

I was admiring how extensible it was and it struck me that it was a good fit for sending logged errors via {ntfy} - I got a working proof of […]

[Original post on fosstodon.org]
October 31, 2025 at 4:14 AM
The {ntfy} #rstats package has been updated on CRAN with internal improvements and tests thanks to @hadleywickham https://cran.r-project.org/package=ntfy

Send a message to your devices on-demand or when some code completes, including emoji and plot outputs. No […]

[Original post on fosstodon.org]
October 26, 2025 at 9:30 PM
Got a good bird-to-stone ratio going by refreshing my #neo4j #cypher knowledge and warming up for #adventofcode by solving 2024 day 10 entirely via graph queries (including parsing input). I think my theme for this year is going to be 'as many languages as possible'
October 26, 2025 at 2:00 AM
Reposted by Jonathan Carroll
Possibly weirded out my long-suffering colleagues with this idiosyncratic observation last week, and feel like it belongs in a meme.

#rstats #python #ripdavidlynch
October 24, 2025 at 12:07 PM
If you're learning python (as I slowly am) then I recommend Rodrigo's mathspp blog and the daily python drops emails

https://drops.mathspp.com/subscribe?ref=dy06MhyDko

as well as the (free) uv cheatsheet https://mathspp.com/blog/uv-cheatsheet

Lots of helpful hints and tips.
Python drops 🐍💧
Python drops: tips & tricks that trickle into your inbox daily
drops.mathspp.com
October 19, 2025 at 12:04 AM
Oh, no! My R package {safespace} is in a broken state - won't someone (new to PRs) help me fix it???

I'm renewing my offer to guide newbies through the R package building / fixing / reviewing process during Hacktoberfest - see this post […]
Original post on fosstodon.org
fosstodon.org
October 7, 2025 at 11:29 PM
Reposted by Jonathan Carroll
Today I saw someone toot, in dismay, people are posting their everyday life to Mastodon when they could simply buy a diary for $1.99. I can't stop thinking about this.
What if this is all they have? What if they're isolated with or without people in their life? What if the only kind word they […]
Original post on mastodon.social
mastodon.social
October 6, 2025 at 12:46 AM
The latest issue of @rweekly is now live!

https://rweekly.org/2025-W39.html

This week's highlights:
✏️ All the Ways to Programmatically Edit or Parse R Markdown / Quarto Documents by @rOpenSci
🈂️ I Vibe Coded an R Package by @jonocarroll
☑️ Quality Control for Scanned Multiple-Choice Exams by […]
Original post on fosstodon.org
fosstodon.org
September 22, 2025 at 12:17 AM
Reposted by Jonathan Carroll
I Vibe Coded an R Package
and it ... actually works?!?

https://jcarroll.com.au/2025/09/13/i-vibe-coded-an-r-package/

I wanted an #rstats package to exist so I spent $20 and got Claude Code to build it for me.

Plus a shiny app using it: https://jcarroll.shinyapps.io/kanjiexplorer/
September 13, 2025 at 1:41 AM
I Vibe Coded an R Package
and it ... actually works?!?

https://jcarroll.com.au/2025/09/13/i-vibe-coded-an-r-package/

I wanted an #rstats package to exist so I spent $20 and got Claude Code to build it for me.

Plus a shiny app using it: https://jcarroll.shinyapps.io/kanjiexplorer/
September 13, 2025 at 1:41 AM
Nth roots of unity: https://jcarroll.xyz/2025/08/14/nth-roots-of-unity.html

Calculating the nth roots of unity in R and Julia
Nth roots of unity
Calculating the nth roots of unity in R and Julia
jcarroll.xyz
August 14, 2025 at 4:00 AM
I'm not sure where the #user2025 discussions are happening but I'm curious about one slide in particular from @hadleywickham's talk

https://www.youtube.com/live/ctc2kx3LxG8

why the addition of 0 for each term of the multiplication? Is it to have NA values […]

[Original post on fosstodon.org]
August 10, 2025 at 12:08 PM
I have an entry-level vinyl turntable and today I learned:
- a phone app can measure the rotation speed fairly decently just by going for a ride on the platter
- 34.3rpm is 3% faster then the desired 33.3rpm
- I can distinguish the 3% difference by ear; I definitely could hear it was off pitch […]
Original post on fosstodon.org
fosstodon.org
August 5, 2025 at 6:20 AM
The latest issue of @rweekly is now live!

https://rweekly.org/2025-W31.html

Highlights:
📊 Copy the Pros: How to Recreate this NYTimes Chart in R by @MrPecners
⏩ Speed Testing Code: Three Levels by @kellybodwin
🧪 Testing your Plumber APIs from R by @jakub-sobolewski.bsky.social

As always […]
Original post on fosstodon.org
fosstodon.org
July 28, 2025 at 11:04 AM
Today's gripe: I rebuilt my CV using {datadrivencv} which is a nice workflow

https://github.com/nstrayer/datadrivencv/

but the resulting .html is about 5MB because it contains ~30k lines from pagedjs (plus the handful of lines of actual content). Thirty thousand!?!

Developer Tools shows 13% […]
Original post on fosstodon.org
fosstodon.org
July 25, 2025 at 3:53 AM
I'll be in Sydney CBD next week Mon-Thurs for #dataengbytes so will be on the lookout for anyone either in or from Sydney to catch up with esp. Monday afternoon/evening - bonus points if you're also going to that conference and/or you use R/Julia/APL/Haskell
July 24, 2025 at 4:18 AM
What are the odds? @dlakelan @jimbob

Would only have been better with the latter's previous username, or if the supplied landscape picture was of a lake, someone else named Daniel, or Daniel at a lake.

😳
July 21, 2025 at 8:44 AM
I do remote work for several companies who want to claim they are modern and technological, yet in the last 24 hours I've had both of:
- a company-wide service outage leading to dozens of channel-level slack messages (3k+ member) either announcing the outage or adding 'same for me'
- IT person […]
Original post on fosstodon.org
fosstodon.org
July 16, 2025 at 12:21 AM
Reposted by Jonathan Carroll
This week, I learned how to create and explore a data lake with duckdb, using its new ducklake extension. It was surprisingly easy to hand over the creation and management of parquet files with larg(ish) tables to ducklake. I loved being able to explore the data using R, python or plain SQL - […]
Original post on genomic.social
genomic.social
July 11, 2025 at 3:31 PM