#mood
That early part of the year where you feel if you just had a new, really nice pen that it would make all the difference and bring much success
#mood
That early part of the year where you feel if you just had a new, really nice pen that it would make all the difference and bring much success
Hey all, we're looking for 1 speaker for March and more for April onwards. If you're keen or curious about speaking, please get in touch!
#RStats #DataScience #Edinburgh #MeetUp #Tech
My semi annual posting of the prescient song by Melbourne electro outfit "b(if)tek" - Machines Work
"People can do the work so machines have time to think."
https://www.youtube.com/watch?v=955dZpR7QwY
#AI #retrofuturism
#norway #logic
Rtinycc is an R interface to TinyCC, providing both CLI access and a libtcc-backed in-memory compiler. It includes an experimental FFI inspired by Bunβs FFI for binding C symbols with predictable type conversions and pointer utilities. The package targets Unix-alike systems and focuses on embedding TinyCC and enabling JIT-compiled bindings directly from R. Combined with treesitter.c, which provides C header parsers, it can be used to rapidly generate declarative bindings.
#RStats Rtinycc : Builds 'TinyCC' 'Cli' and Library for 'C' Scripting in 'R'
Package Link for Segfault lovers: github.com/sounkou-bioi...
#RStats the comparison results with #{quickr} is expected since tinycc is not an optimizing compiler like gfortran/flang, but still since you don t need an additional compiler at runtime and you can iterate (more segfault :D) very fast ! (no windows support for now/never)
time_slices <- 300 # 300 days block_length <- 14 # 2 weeks n_samples <- 200 # 200 resamples block_idxs <- make_block_indices( n_time = dim(r5to10)[2], time_slices = time_slices, block_length = block_length, n_samples = n_samples ) plan(future.mirai::mirai_multisession, workers = 10L) tib_vario_params <- purrr::map( asplit(block_idxs, 1), \(x) { estim_params_vgm(x, dat = r5to10) } ) |> futurize() |> list_rbind() mirai::daemons(0)
Can't get much simpler than that. Yeah, {futurize} is nice.
#rstats
#norway #logic
The onion of R from The R ByteCode Book by Mike Chen Describing Levels of R code interpretation to compilation
The #RStats ByteCode Book by @coolbutuseless.fosstodon.org.ap.brid.gy for lovers of esoterica
coolbutuseless.github.io/book/rbyteco...
A code snippet that shows how to connect to an encrypted DuckDB database via in-memory database and then attach with key
Visualization of an unencrypted DuckDB: Mostly black, a few colored strips at the top.
Visualization of an encrypted DuckDB: Fully randomized points, no pattern.
Since November 2025, DuckDB databases have built-in encryption. This is great news for IT-security in data journalism.
A short post on how to work with an encrypted @duckdb in R:
https://katharinabrunner.de/2026/01/how-to-use-an-encrypted-duckdb-in-r/
The [β¦]
[Original post on mastodon.social]
In the movie "Goodfellas", Tommy enters a room expecting something good to happen
With an open mind
I check an email from CRAN
Surprise awaits me
#RStats #Haiku
In the movie "Goodfellas", Tommy enters a room expecting something good to happen
With an open mind
I check an email from CRAN
Surprise awaits me
#RStats #Haiku
# A quine in R. Running this code produces an R plot that shows the contents of the string variable x arranged along a sine wave x = 'y=1:nchar(x);plot(0,type="n",xlim=range(y),ann=F,ax=F);text(y,sin(y/9),strsplit(x,"")[[1]])' eval(parse(text = x))
Genuary 2026 - 11: "A Quine"
A quine is a program that outputs its own source code. Below is an attempt to write a quine as an R plot. Here is how it works: Write whatever it says in the image into a single-quoted string variable x (that is, x <- 'y=1:nchar [β¦]
[Original post on mastodon.social]
The interior of the Bureau of Standards of the Galactic Empire showing a vast space filled with programmers with dual monitors and individual cubicles
Two men walking through the Bureau of Standards. in the background are programmers in individual cubicles using deal monitors.
Say what you will about The Empire, but even low-level programmers get their own cubicle and a dual monitor setup ...
#StarWars #Andor
The point of the doing is the doing.
Not what gets done.
https://design.scotentblog.co.uk/the-point-of-the-doing-is-the-doing-not-what-gets-done/
#Rstats gurus is there a way to declare a package linux only ? I know the OS_type unix specification but I need to restrict to linux. Because i use linux specific things and can't/don't want to put up with macos nonsense. Plus the packages are for genomics ETL I.e going to be on linux servers
#Rstats treesitter.c: a 'data' package providing the #C grammar for use with the treesitter package. Since the CRAN submission, i ve added the fake libc headers from the Eli Bendersky's pycparser eli.thegreenplace.net/2015/on-pars... and some ridiculously slow R's installed headers parsing utils
For my(misguided)project of #RStats CFFI gen along the lines of Rffi package, which in hindsight is becoming a poor C user's Rcpp reproduction, i came across this nice device for getting offsets and the horrible macros that go with it (but what can we do, this is C )
en.wikipedia.org/wiki/Offsetof
partitioning an 18x20 rectangle into smaller rectangles using seed points.
partitioning an 18x20 rectangle into smaller rectangles using seed points.
Experimenting with shikaku puzzle generation in #RStats
I'm looking for a simple way to randomly partition a rectangle into smaller rectangles which does *NOT* use binary partitioning.
Suggestions welcomed!
partitioning an 18x20 rectangle into smaller rectangles using seed points.
partitioning an 18x20 rectangle into smaller rectangles using seed points.
Experimenting with shikaku puzzle generation in #RStats
I'm looking for a simple way to randomly partition a rectangle into smaller rectangles which does *NOT* use binary partitioning.
Suggestions welcomed!
image of t.v. character blanche deveraux in a red dress holding a microphone with the caption 'call me'
time to revisit recursion. #adventofcode day 3 in base #rstats: https://gist.github.com/ursulams/744cc54e18d764b675151c27edf7366e
#RStats wiith a little bit of codegen and libffi via RSimpleFFI, quick and dirty binding of the #Bioinformatics htslib library
package : github.com/sounkou-bioi...
You can tell The Matrix (1999) is science *fiction* because Neo is a programmer with his own freakin' cubicle!
A shikaku puzzle
Solution to shikaku puzzle
Shikaku solver in #RStats
WIP
https://www.nikoli.co.jp/en/puzzles/shikaku/
3 Knights contributing their swords to a common goal. The goal is "a mailing list for a programming language" The three Knights are labelled: * Being dicks * Condescension * Not replying at all
A mailing list for a programming language = ?
#RStats
Segmented font rendered in R showing the alphabet in color
#RStats Dev Diary {lofifonts}
Latest font-sheet in white I've fixed the letter 'V' !
Simple #RStats Foreign Function interface using libffi, inspired by the Rffi package by Duncan T Lang. A fair amount of "conscious" memory leaks and experimention with S7 on my side. Despite the overhead compared to .Call, calling arbitrary C functions at runtime is nice.
github.com/sounkou-bioi...
Example of dodged pointrange (tiny)plot, with aligned ribbons layered on top.
Happy `tinyplot` v0.6.0 (codename "Thanksgiving") release day to all those that celebrate. Some new features, but mostly bug fixes and internal improvements.
grantmcdermott.com/tinyplot/NEW...
#rstats
knitr::opts_hooks$set(fig.cap = function(options) { if (!is.null(options$fig.cap)) { options$fig.cap <- glue::glue(options$fig.cap) } return(options) })
New knitr / #QuartoPub #RStats trick. Add this to your setup to add automatic string interpolation to your captions.
Segmented font rendered in R showing the alphabet in color
#RStats Dev Diary {lofifonts}
Latest font-sheet in white I've fixed the letter 'V' !