Sign in

Riinu Pius

@pius.cloud
187 followers 121 following 130 posts

Senior Data Manager at BBC. If it ain't broke, it's outdated. riinu.me

PostsRepliesMedia
Riinu Pius @pius.cloud · 10/07/2026
Depends on distances covered. Can't ask a two year old to walk 5k
120
Riinu Pius @pius.cloud · 09/07/2026
Things I thought before I had children: - I will only buy one pram/buggy - I will not cut crusts off bread - #rstats is better than Python Only one of these beliefs I still hold 🤓
3334
Riinu Pius @pius.cloud · 28/06/2026
This works really well and is exactly how I make most of my bar plots look anyway so I’ve gone from my own custom function to ggauto and haven’t looked back 👍🏻
0111
Reposted by Riinu Pius
alex hayes @alexpghayes.com · 22/05/2026
i'm looking for interesting teaching examples where (1) random effects/multilevel models predict better than glmnet (2) glmnet predicts better than random effects #rstats #statistics
3115
Riinu Pius @pius.cloud · 20/05/2026
Good pun 😂🔥
000
Riinu Pius @pius.cloud · 16/05/2026
Only two in Scotland. Will keep eyes open for differences 👀 thanks for TIL
010
Riinu Pius @pius.cloud · 16/05/2026
I hadn't realised there was more than one 🙈
100
Reposted by Riinu Pius
Jumping Rivers @jumpingrivers.com · 15/05/2026
Most charities and nonprofits have more data than they know what to do with. The capacity and expertise to use it is the missing piece. That's the gap we want to help close, learn more and apply for our Pro bono support: www.jumpingrivers.com/pro-bono/
072
Reposted by Riinu Pius
Dr. Dominic Royé @drxeo.eu · 04/05/2026
On my way to #EGU26, perfect time to drop a new post! 🗺️ Something I've been wanting to write about: Mercator projections still showing up in high-profile journals. So here it is: projections you should stop using (for most things) 👇 #gis #rstats #dataviz dominicroye.github.io/blog/map-pro...
dominicroye.github.io
Map projections: a practical guide to common mistakes and how to fix them
Researcher in climate science at MBG-CSIC
29242
Riinu Pius @pius.cloud · 24/04/2026
I’d like to call for more vim one-liners, e.g. this is and old one but: “it’s easier for the UK to exit the European Union than it is to exit vim.” I feel like this pattern could bring me similar joy as Chuck Norris jokes did ❤️
110
Riinu Pius @pius.cloud · 24/04/2026
Seconded! ggauto - a new #rstats package - works really well 🥳
040
Riinu Pius @pius.cloud · 17/04/2026
You know AI doesn't write my posts for their typos 🙃
000
Riinu Pius @pius.cloud · 17/04/2026
As someone who already has 5 IDEs on their computer, this sounds like a string contender for 6th. #idepolygamy #rstats #pydata
130
Reposted by Riinu Pius
Frank Harrell @f2harrell.bsky.social · 17/04/2026
I have a new favorite editor/IDE: Zed. Open-source, blazing fast, built-in AI operability, easy to use. Heard that lots of developers are dropping Visual Studio Code for Zed. Has R and Quarto extensions. zed.dev
zed.dev
Zed — Love your editor again
Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
5304
Riinu Pius @pius.cloud · 08/04/2026
It really helped that it recognised RMarkdown chunks so transition was extremely smooth.
000
Riinu Pius @pius.cloud · 08/04/2026
They grow up so fast 🥹 I still remember when Quarto was first released and I hopped on the new wagon immediately of course 🥳
130
Reposted by Riinu Pius
Crystal Lewis @cghlewis.bsky.social · 27/03/2026
Counting the times I thought I was opening a clean dataset that was in fact not clean.
media.tenor.com
a person is writing on a white board with the word strong on it
ALT: a person is writing on a white board with the word strong on it
2341
Riinu Pius @pius.cloud · 25/03/2026
Completed with my new favourite any library: Claude 🥳
010
Riinu Pius @pius.cloud · 24/03/2026
Recommendations for a tidy #rstats package that creates dummy data from a data dictionary? Thank you!
100
Riinu Pius @pius.cloud · 09/03/2026
I enjoyed this tour at work
Smiling and posing for a picture at the BBC Reporting Scotland studio behind the presenters' desk
070
Riinu Pius @pius.cloud · 07/03/2026
Rebase Another Day 😂
040
Riinu Pius @pius.cloud · 20/02/2026
Oh for sure. Not mutually exclusive imo.
010
Riinu Pius @pius.cloud · 20/02/2026
It's a never ending lesson in humility. Just when I think I've got it...I don't.
100
Riinu Pius @pius.cloud · 20/02/2026
I think by visualise you mean something fancier than a flowchart? Anyway I need to mention that library(consort) works well if it is a flowchart that you need.
140
Riinu Pius @pius.cloud · 03/02/2026
Can't wait to try this out. Always an Alpha tester 👋🏻
020
Riinu Pius @pius.cloud · 01/02/2026
Fixed Now fixed Now maybe? Fixed... (True story)
020
Riinu Pius @pius.cloud · 23/01/2026
Distressing
010
Riinu Pius @pius.cloud · 21/01/2026
Aha! This is why it had stopped working for me. Or rather was just stuck on "thinking" forever. Now logged out and back in again and working again. Thanks very much for sharing and the video!
020
Riinu Pius @pius.cloud · 10/01/2026
I was really keen to use IntelliJ IDEA for Python as it looks good and I had a licence anyway (DataGrip is awesome). But the PyCharm data explorer is just shocking. So I kept using Positron to view data, then stubbornly writing code in IntelliJ. Eventually came to my senses and now only use Positron
040
Riinu Pius @pius.cloud · 27/12/2025
Nope, any number of loops spared is a win 🙌🏻 I'm working on Day 10 and have somehow put four maps inside two nested for loops 🤪 sorry not sorry
010
Riinu Pius @pius.cloud · 27/12/2025
I'm revisiting Part II of this one and looking for ideas. Only just saw that you put for loops inside mutate?!? Revolutionary.
110
Riinu Pius @pius.cloud · 20/12/2025
Neat as always 🙌🏻
010
Riinu Pius @pius.cloud · 18/12/2025
#AdventOfCode Day 09 both parts #rstats I used plotly to guide my search. Sue me 🙃
Code from https://github.com/riinupius/advent2025/blob/main/day09/movie-theatre.R
050
Riinu Pius @pius.cloud · 14/12/2025
Also as.matrix() and dist()
010
Riinu Pius @pius.cloud · 14/12/2025
I just solved it too, team igraph 🙌🏻
010
Riinu Pius @pius.cloud · 14/12/2025
MVP: is_connected(g) #igraph #rstats #AdventOfCode Day 08
130
Riinu Pius @pius.cloud · 14/12/2025
#AdventOfCode Day 08 - both parts using igraph! #rstats igraph is superspeedy. pivot_wider() is slow, which to be fair creates 1k columns so that I can get the pairings. Will be a better way, but I was keen to get to igraph asap. First for loop this year 😀 (but I failed Day 03 and skipped Day 04).
Code from https://github.com/riinupius/advent2025/blob/main/day08/playground.Rkmeans in plotlyigraph plot
160
Riinu Pius @pius.cloud · 10/12/2025
My original solution now solves Part II for Test data 😅 1.25 stars in total I award myself for Day 07 🤩
All simple paths and length
000
Riinu Pius @pius.cloud · 10/12/2025
Fixed it!!! With just distances() instead of all simple paths. I tried this earlier too only for the splitters in the last low. Running it on all splitters was the trick 😅 Now on to Part II, which surely requires all paths and therefore can’t be done with my love of graphs? #rstats
Distances function instead of all simple paths
110
Riinu Pius @pius.cloud · 10/12/2025
No I don’t need every single path, but all_shortest_paths() to final row isn’t sufficient as there are some paths to splitters that aren’t shortest. Although maybe if checked shortest paths to all splitters that would work 🤔
000
Riinu Pius @pius.cloud · 10/12/2025
Do I even want the number of paths? Is that for Part II?
000
Riinu Pius @pius.cloud · 09/12/2025
Here for all the tips! (I don’t check Bluesky until I’ve had a good go on my own so by the time I’m here I’m happy to see and hear everything 👀)
010
Riinu Pius @pius.cloud · 09/12/2025
Thank you! Might rewrite it with a matrix if have time but thing is I love igraph so much that if anything smells even remotely graphy that’s what I’ll do. It does work for shortest paths, just that some of the splits are not the shortest possible way for a ray to get down so need all simple paths.
110
Riinu Pius @pius.cloud · 09/12/2025
Ah good shout and I have used memoise happily in the past. Not sure it would work with my solution here as it’s a single igraph function call that gives me all the answers at once.
010
Riinu Pius @pius.cloud · 09/12/2025
#AdventOfCode Day 07 Part I & Test data only Can I please get 0.25 ⭐ for solving it for the test input, but running out of memory for the real input 😅
Code from https://github.com/riinupius/advent2025/blob/main/day07/laboratories.R
9693
Riinu Pius @pius.cloud · 07/12/2025
Wow really well done. So succinct. Rotating crossed my mind but decided to go with the devil I know. But would have been much more elegant to rotate as I can see from your solution.
100
Riinu Pius @pius.cloud · 06/12/2025
I only use fwf for AoC. And I've only ever used it with equal width splits in the past - so with the help of rep(). First time benefitting from the fact that splits can be different width and feeling like a superhero 🤩
020
Riinu Pius @pius.cloud · 06/12/2025
This pipeline is on fire ♨️
110
Riinu Pius @pius.cloud · 06/12/2025
I agree lovely one today. I solved without loops. Have a look at my post.
000
Riinu Pius @pius.cloud · 06/12/2025
#AdventOfCode Day 06 - both parts 🥳💃 Knew I wanted to do today's in #rstats instead of #pydata as soon as I saw it. Nice wrangling. Some duplication in code, but don't have time to reduce. Pun intended.
Code from https://github.com/riinupius/advent2025/blob/main/day06/trash-compactor.R
170