Jared Schwartz
banner
jared-du-jour.bsky.social
Jared Schwartz
@jared-du-jour.bsky.social
Data Scientist @ Utah Medicaid || #rstats User || Train Enthusiast

Developer of RuleMiner.jl— a fast data mining library in #julialang:
https://github.com/JaredSchwartz/RuleMiner.jl
Day 12 of #AdventOfCode with #JuliaLang
December 13, 2024 at 3:33 AM
Day 11 of #AdventOfCode with #JuliaLang

This one felt a lot like the work I do in my data mining package-- Trying to limit the performance impact of exponential growth.

Also another recursive(recursive(recursive())) solution.
December 12, 2024 at 4:53 AM
Day 10 of #AdventOfCode with #JuliaLang

This one was recursion all the way down, with tracking both the total paths and tracking the unique nines in the same function
December 12, 2024 at 4:53 AM
Life happens and I haven't had time to get to #AdventOfCode for the last couple days. Here's me catching up on my #JuliaLang solutions:

Day 9: I was able to unify my solutions by making the block size 1 on the first part and the size of the file on the second.
December 12, 2024 at 4:53 AM
Day 8 of #AdventOfCode with #JuliaLang

Julia's CartesianIndex objects made this problem a lot easier!
December 8, 2024 at 8:49 PM
Spent some time optimizing and parallelizing #AdventOfCode day 7 this afternoon. Part 1 runs in ~15ms and part 2 runs in ~600ms.

The biggest performance boost I found came from this trick where you use modulo and division to generate/track permutations using just two Int values.

#JuliaLang
December 7, 2024 at 11:26 PM
Day 7 of #AdventOfCode with #JuliaLang

We've got functional programming patterns today, folks.
December 7, 2024 at 7:44 AM
Day 6 of #AdventOfCode with #JuliaLang

Gave up trying to be clever and just tuned the step counter maximum manually until the output stopped going down
December 7, 2024 at 1:40 AM
Day 5 of #AdventOfCode with #JuliaLang

Lots and lots of broadcasting today.

Definitely not an efficient solution, but hey, it works.
December 5, 2024 at 4:53 PM
Glad you’re finding value in me screaming into the void haha

I picked up Julia in earnest in June of this year, so I’m still learning new stuff all the time as well!
December 5, 2024 at 2:25 AM
Day 4 of #AdventOfCode with #JuliaLang
Spent some time optimizing to make my initial solution faster. I was able to speed things up ~40x.

Turns out, quick Julia and fast Julia are not necessarily the same
December 4, 2024 at 8:25 PM
Ooh, I hadn't heard of PaddedView.jl before. That's super useful!
December 4, 2024 at 7:52 PM
Day 3 of #AdventOfCode with #JuliaLang

Writing regex always feels like writing some sort of magical spell
December 3, 2024 at 6:34 AM
Day two of #AdventOfCode with #JuliaLang

Broadcasting makes the code so clean! Definitely one of my favorite features in Julia
December 2, 2024 at 7:02 PM
Advent of Code 2024
adventofcode.com
December 1, 2024 at 10:04 PM
Time to restart the discourse cycle about whether it’s okay to harvest data from the Bluesky API
November 28, 2024 at 4:39 AM