Former political scientist, sometimes bike rider.
Long form mikedecr.computer
If you're audacious enough to realize that your computer has these things called "files" there's drag-and-drop or the menu bar?
If you're audacious enough to realize that your computer has these things called "files" there's drag-and-drop or the menu bar?
Basically, exploring how to make pipeline-style R code more re-usable and composable by abusing partial function application
Basically, exploring how to make pipeline-style R code more re-usable and composable by abusing partial function application
Instead of passing data up front, you define pipeline steps without reference to the data. You get reusable + composable pipeline steps w/out as much function boilerplate
Instead of passing data up front, you define pipeline steps without reference to the data. You get reusable + composable pipeline steps w/out as much function boilerplate
- I am now running main() using typer, which lets me easily pass CLI args. This is very convenient for activating "debug" mode
- I am now running main() using typer, which lets me easily pass CLI args. This is very convenient for activating "debug" mode
- colors were random which was confusing. I didn't expand it to full colors but did add some classics: I=blue, O=gray, T=yellow
- pieces were rotating counter-clockwise-only so that had to get fixed
- colors were random which was confusing. I didn't expand it to full colors but did add some classics: I=blue, O=gray, T=yellow
- pieces were rotating counter-clockwise-only so that had to get fixed
github.com/mikedecr/twe...
github.com/mikedecr/twe...
I am being too strict about it...function defs aren't even allowed, only lambdas, so the type hints are trying to make it interpretable but now it look messy.
Some of my worst filth yet!
I am being too strict about it...function defs aren't even allowed, only lambdas, so the type hints are trying to make it interpretable but now it look messy.
Some of my worst filth yet!
Quarto is great but I do not like the Bootswatch themes for websites and hacking on CSS is always miserable for me.
Remember the ol' Hugo days? I'm trying to make quarto x hugo go nicely. Theme is github.com/panr/hugo-th...
Quarto is great but I do not like the Bootswatch themes for websites and hacking on CSS is always miserable for me.
Remember the ol' Hugo days? I'm trying to make quarto x hugo go nicely. Theme is github.com/panr/hugo-th...