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
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
@zachweinersmith.bsky.social Thank You For Smoking is my go-to example of "winning the argument for the wrong reason" https://www.moviequotedb.com/movies/thank-you-for-smoking/quote_23377.html

My guess is that a 2hr debate is not a format in which you need to […]

[Original post on fosstodon.org]
October 24, 2025 at 11:55 PM
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'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
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
Fractional exponents are a thing

x ^ z

where z is not an integer. For example x ^ 0.5 is the same as taking the square root, sqrt(x).

I must have either not learned, or forgotten that this only applies to positive values of x and spent a bit of time […]

[Original post on fosstodon.org]
June 19, 2025 at 7:44 AM
A brilliant talk from Aaron Hsu (not on Fedi, AFAICT) https://youtu.be/V8sACAhg4vM

I'm left wondering though, is his lack of satisfaction in types due to #apl having so few of them? I absolutely see the benefits of typing things more strictly, and at the same […]

[Original post on fosstodon.org]
June 15, 2025 at 9:28 AM
{ggeasy} has now been updated to 0.1.6 on CRAN https://cran.r-project.org/package=ggeasy to align to an upcoming {ggplot2} release, but in fixing the revdep issue I discovered that easy_labs() (which used column labels as axis labels if present as attributes) […]

[Original post on fosstodon.org]
June 15, 2025 at 6:49 AM
Help me, #rstats fans: bug, or not a bug?

It looks like format(x, "%s") ignores the set timezone on a Date and assumes it's local, converting back to UTC even if it is explicitly already UTC. Should it ... not do that?

I got bitten by this because it didn't […]

[Original post on fosstodon.org]
June 4, 2025 at 7:59 AM
I'm at the R IDE. I'm at the Python IDE. I'm at the combination R and Python IDE.
May 10, 2025 at 1:17 PM
It might survive long enough to have a 10th birthday next year, but my silly little #rstats :rstats: package {ggghost} has been updated on CRAN to fix some broken documentation (and long-overdue cleanup)

https://cran.r-project.org/package=ggghost

I really […]

[Original post on fosstodon.org]
April 15, 2025 at 7:24 AM
Part book review, part package review, part comparison between :rstats: and :python: in my latest blog post

https://jcarroll.com.au/2025/02/13/book-review-pandas-workout/

Adelaide - we know all about "import pandas" 🐼
February 12, 2025 at 11:44 PM
I'll be at EverythingOpen2025 this week #eo2025 #everythingopen looking to chat with anyone interested in data, programming languages (esp. R, Rust, Haskell, Julia, APL), or just about anything you're in to.

I plan to have my profile pic on my badge - say hi if you see me!
January 19, 2025 at 1:50 AM
Interesting to try out the DataFrame module in #haskell :haskell: with some #dplyr familiarity https://github.com/mchav/dataframe - it's definitely not somewhere I'd start for analysing data, but I've been curious as to whether or not it was even possible with strict typing. It looks like it is!
January 9, 2025 at 4:58 AM
@bthalpin I found this example to be very interesting and wanted to see if I could golf it down a little with Distances.jl - I think it come out quite clean.

https://gist.github.com/jonocarroll/8180c068fa46fb3a3be4d7bbf0fd146f
January 9, 2025 at 2:13 AM
I love #rstats :rstats:, and believe that vectorised operations simplify code by making x + y do what it looks like it should.

#julialang :julia: has a more explicit approach; a 'broadcasting' operator `.` to distinguish scalar and vector operations, so x .* […]

[Original post on fosstodon.org]
December 16, 2024 at 10:17 AM
Just once, could I please read a book by an American who doesn't assume that I, the reader, is American?

There are - I'm am told - more than a few of us.
December 14, 2024 at 12:23 PM