
@petecorey@mastodon.social
Denver, CO
Joined February 2011
- Tweets3.7K
- Following598
- Followers587
- Likes9.5K
Another #Music post. "Scales as Multipermutations of 0 and 1 into Twelve Places", written in #ElixirLang.
petecorey.com/blog/2025/06/2…
I wrote a post on using #ElixirLang to generate #Music-al scales. Part of my rewrite of Glorious Voice Leader in Elixir.
petecorey.com/blog/2025/06/2…
I use in-memory Ecto schemas (the Params library specifically), pretty heavily in my #Elixir applications. This `Jason.Encoder` impl makes it easier to deal with all of the nested schemas I inevitably generate.
I wrote a code generating mix task in #Elixir today, and I feel like a literal wizard.
The best part is, I generated absolute garbage code and just cleaned it up with `Code.format_string!/2`, all from the same script.
This article was a life saver yesterday. Thanks Justin! blog.swwomm.com/2020/12/ecto…
That lasted about 5 minutes. I started to build git from source, and realized that the pain of managing dev headers is probably worse than homebrew pain. Also, how would I manage the dev headers in a sane way without something like homebrew?
TIL you can explicitly unignore files in your `.gitignore`, which makes for a pretty nice way of managing a dotfiles repo:
```
*
!.config/nvim/init.vim
!.tmux.conf
!.wezterm.lua
```
petecorey.com/blog/2023/02/0…
I've been hitting SSL errors when trying to visit mastodon.social for a couple weeks now. Turns out that my new internet provider has an option to restrict access to "malicious websites," and Mastodon was included. Helpful!
Someone emailed to tell me about a typo in this post advocating for #Elixir, and I'm compelled to share them again.
~1.5 years on, and switching to Elixir has been the best technical decision I've ever made.
petecorey.com/blog/2021/02/1…
RT @[email protected]
Inspired by maartenballiauw, I've set up an overengineered solution to having a Mastodon identity on my domain without needing to self-host Mastodon itself
msfjarvis.dev/posts/mastodon…
androiddev.social/@msfjarvis…
