Profile avatar
ataustin.bsky.social
Director of data science, fanboy of #rstats Also at @[email protected]
94 posts 151 followers 102 following
Regular Contributor
Active Commenter

Still recovering from being sick but here's day 7 of #AdventOfCode! Recursion worked but was a little slower than some goofy looping. There must be a way to be clever on part 2 but the brute-force solution ran to completion after a long time 🤷‍♂️ Code on GitHub: github.com/ataustin/adv... #RStats

Day 4 of #AdventOfCode! (XMAS search) There's got to be a unified way to solve both parts but I'm tired 😅 for part 1, search all row, col, and diags of the matrix input for XMAS. For part 2, find the A's and search the nearby diagonals for MAS. Code: github.com/ataustin/adv... #RStats

Baby is sick so I'm temporarily slowing down on Advent of Code. Stay tuned!

L. O. L. blueskyroast.com

Day 3 of #AdventOfCode! Pass gregexpr() to regmatches() as a base #RStats way to do str_extract_all(). For part 1, pull out the muls, then pull out the numbers, then do the math. For part 2, just get rid of stuff between don't() and do() and repeat part 1. Code: github.com/ataustin/adv...

economists could never

Day 2 of #AdventOfCode! Passing the output of diff() to the sign() function helps determine whether a vector is monotonic. For part 2, just remove elements one at a time and do it all over again! Code on my GitHub: github.com/ataustin/adv... #RStats #AdventOfCode2024

I'm not always super bullish on gen AI, but in the right contexts it sparks joy. Today's example: I have to give a short presentation on a book I read three months ago. I used gen AI to remind me of the main points of the book and put together a 5-point outline. My brain can take it from here.

Getting a 500 status from adventofcode.com 😱 the horror!

Day 1 of #AdventOfCode, base #RStats edition! Part 2 looks goofy because of R's default naming conventions. My approach is to get a frequency table of matching IDs, inner join it back to the first set of IDs, and then sum the result. Code on my GitHub: github.com/ataustin/adv... #AdventOfCode2024

Not a competitive coder but I *do* have the #AdventOfCode countdown on in the background to motivate me to get through these year-end performance reviews that are due Monday 🙈

github.com/tjmahr/aoc

Every year I say I don't have time for #AdventOfCode. And every year I cannot resist its allure. So tomorrow I'm not even trying to fight the temptation. 🎅🎄❄️ As I am able, I'll post base #RStats solutions here and at @[email protected]!

With the holidays fast approaching, here's your annual reminder about the {secretsanta} package to help you set up your Secret Santa event! The package performs giver/recipient randomization and sends e-mails to everyone with their assignment. Happy giving! 🎅 github.com/ataustin/sec... #rstats

Data people: what are some signs that your data analysis project is actually a piece of software (with all the associated accoutrements -- requirements gathering, design, testing, packaging, maintenance, etc)? #rstats #python #datascience

With the holidays fast approaching, here's your annual reminder about the {secretsanta} package to help you set up your Secret Santa event! The package performs giver/recipient randomization and sends e-mails to everyone with their assignment. Happy giving! 🎅 github.com/ataustin/sec... #rstats

Me, after going down a rabbit hole of EDA, hounding the data engineers about ETL, and bombarding the business partners with questions about the context of the data collection: