michael 📈 👨‍💻
banner
mikedecr.computer
michael 📈 👨‍💻
@mikedecr.computer
Quant finance researcher/developer.
Former political scientist, sometimes bike rider.
Long form mikedecr.computer
One bewildering piece of condescending Apple UI is that, while you *can* attach files to iMessage, you can't do it with the obvious UI element that should do it.

If you're audacious enough to realize that your computer has these things called "files" there's drag-and-drop or the menu bar?
October 28, 2025 at 11:40 PM
weird idea: map in terms of reduce
September 27, 2025 at 6:59 PM
Look, I ride a bike and I want better bike infrastructure, but this is magical thinking. If every car disappeared there would be way more bikes, way more bikers who don't ride as fast as you want to go, so way more bike traffic
September 21, 2025 at 7:16 PM
will anybody ever want this? idk. a cheaper / better way might be to just define the fns with lambdas
September 21, 2025 at 4:18 PM
I re-published this post about "lazy" pipeline functions: mikedecr.computer/blog/lazy-dp...

Basically, exploring how to make pipeline-style R code more re-usable and composable by abusing partial function application
September 21, 2025 at 4:01 PM
I wrote a "lazy pipe" operator %=>% that lets you build function compositions from partial function expressions in a linear way.

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
September 14, 2025 at 3:05 PM
good slide from this talk: www.youtube.com/watch?v=EGLo...
September 1, 2025 at 7:45 PM
i'm chewing on this

fly.io/blog/youre-a...
June 14, 2025 at 6:11 PM
at a high level it's basically this
May 11, 2025 at 6:07 PM
...which will let me figure out why the checking for legal moves is broken. The existing code lets you just bring a piece out of bounds to the left, then when the piece settles it is somehow chopped between left and right sides of the board
April 19, 2025 at 7:53 PM
- I had to add a few missing pieces? Originally S and Z were somehow blended into one piece, so had to be separated. We had an L but not a J? O needed to be added entirely.
- I am now running main() using typer, which lets me easily pass CLI args. This is very convenient for activating "debug" mode
April 19, 2025 at 7:53 PM
The game display looks like this. I have already fixed a few things about it:

- 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
April 19, 2025 at 7:53 PM
not my cat, not my balcony
March 29, 2025 at 12:03 AM
if you can remap keys with either firmware or software I put the EQ here on key tap, and ctrl/cmd on key hold, so it’s on the thumb
March 12, 2025 at 1:57 PM
i let myself get nerd-sniped by this and I looked up the marginal rates and computed the weighted avg tax rate for some income blah blah
January 26, 2025 at 7:47 PM
I want a way to search / interact with my archive of tweet data so I began a little project for parsing & presenting the data. extremely WIP, no designs are finalized, just kinda goofing around for starters

github.com/mikedecr/twe...
January 20, 2025 at 7:05 PM
it’s Saturday
January 18, 2025 at 4:46 PM
I saw some people talking about "No syntactically significant whitespace Python" which was enticingly evil...

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!
December 3, 2024 at 4:48 AM
Test post from BlueSky python client bsky-bridge
November 15, 2024 at 7:53 PM
"the terminal is a vibe" but playing with personal website themes.

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...
November 9, 2024 at 2:08 AM
the terminal is a vibe, what else is there to say
November 9, 2024 at 1:56 AM
progressive academics went insane about (a) Silver not using comma-robust or (b) accusing him of finding excuses to invent bad news for Democrats (?) instead of, idk entertaining the face validity that inflation might be a big part of a future story of Dem loss. Lefty derangement about NS is so odd
November 9, 2024 at 1:39 AM
February 7, 2024 at 12:42 PM
julia is a delight. an in-your-face type system is good, folks
December 30, 2023 at 1:01 AM
quick recursive take on AOC day 9
December 28, 2023 at 7:11 PM