Another #Music post. "Scales as Multipermutations of 0 and 1 into Twelve Places", written in #ElixirLang.
https://petecorey.com/blog/2025/06/25/scales-as-multipermutations-of-0-and-1-into-twelve-places/
| website | http://www.petecorey.com/ |
| tweets | https://twitter.com/petecorey |
Another #Music post. "Scales as Multipermutations of 0 and 1 into Twelve Places", written in #ElixirLang.
https://petecorey.com/blog/2025/06/25/scales-as-multipermutations-of-0-and-1-into-twelve-places/
I'm back, and I'm rebuilding my guitar chord tool, Glorious Voice Leader in Elixir.
Related, I wrote a post on how to generate musical scales:
https://petecorey.com/blog/2025/06/22/generating-musical-scales/
Oban Web to be free and open source
https://youtube.com/shorts/mKp30PNM_Q4?si=ucNUsS5PkVsXSC5o
Discussions: https://discu.eu/q/https://youtube.com/shorts/mKp30PNM_Q4?si=ucNUsS5PkVsXSC5o
TIL you can expand a visual selection in #vim by just tacking on more nouns or modified nouns.
{{{}}}
If you're in the middle braces, you can `va{` to select the middle set. Then you can `a{` to select around the next most outer set, and `a{` to select around the outermost set.
🤯
Dear #Elixir and maybe #Security friends, there are multiple CVEs marking the `jose` package as vulnerable for _all versions_, but the vulnerability was patched in 1.11.7.
How do I, a mild-mannered developer just wanting my CI to stop complaining, get these CVEs to recognize that a fix exists in version 1.11.7?
https://www.cve.org/CVERecord?id=CVE-2023-50966
https://nvd.nist.gov/vuln/detail/CVE-2023-50966
https://security.snyk.io/vuln/SNYK-HEX-JOSE-6468183
Dear #ElixirLang friends, I'm trying to find a way to tell me if ExAws can resolve credentials (so I can switch certain functionality on/off in the presence of AWS).
Is there a straight forward way of doing this? I seem to be going into some deep weeds.
Does anyone play #guitar using an open diminished or diminished seventh tuning? I had the thought while driving home today.
After some googling, apparently it’s a thing for harmonica, but I haven’t seen much for guitar.
#postgresql friends - I'm trying to create a trigger that fires on "true inserts," but not on ON CONFLICT DO UPDATE upserts. So it only fires when a new row has been inserted into the table, and not when an existing document has been updated on conflict.
Is this possible? I was naively hoping I could do something like WHEN (OLD IS NULL), but INSERT triggers can't reference OLD.