Skip to content

Instantly share code, notes, and snippets.

@dermusikman
dermusikman / gist:f7df5030828dae5d4a3d
Created August 8, 2015 06:58
(╯°□°)╯︵ ןןǝʞsɐɥ
me@le-me $ cat scratch.hs
evenSum :: Integral a => [a] -> a
evenSum l = accumSum 0 l
where
accumSum n [] = n
accumSum n (x:xs) =
if even x
then accumSum (n+x) xs
else accumSum x xs
@dermusikman
dermusikman / ghost.md
Last active February 16, 2017 06:53
A look at Ghost

A Look at the Satanic Messages of Ghost (B.C.)

My personal notes reading the albums

Opus Eponymous

Reading the descriptions in Wikipedia, they seem to communicate the album to have been a sort of channelling. In fact, it sounds like the symbols took form before even the band and music did. Whether that is "part of the show," a faithful retelling, or a mix of both, we may not know. It is, however, consistent with Satanism in general - tricksters extraordinaire!

"Deus Culpa"- Latin for "criminal god" or "guilty god," a play on "Mea Culpa," I presume, which essentially translates to "my fault." Instrumental. The organ calls to mind simple organ which might be played at a small church.

"Con Clavi Con Dio"- Reference made to Lucifer, proclaiming allegiance and requesting his incarnation. Appears to use Italian, "We are with Clavi (claws?). We are with God. We are with our dark god." An invocation, really.

"Ritual"- Bastardization of the Lord's Prayer, and another petition for incarnation,

@dermusikman
dermusikman / synthdefs.md
Last active December 28, 2017 21:38
Unsuccessfully loading synthdef into Sonic Pi 3.0.1

Unsuccessfully loading synthdefs into Sonic Pi 3.0.1

I'm diving back into Sonic Pi after a long absence, and I'd like to load an old synth that was abandoned, the haunting dark_sea_horn. The Overtone definition is here; its original binary is here; and it sounds like this.

Old binary doesn't work

I downloaded the old binary linked above, ran load_synthdefs "/path/to/my/synthdefs" and attempted synth :dark_sea_horn. I get the following error:

Runtime Error: [buffer 2, line 2] - RuntimeError

Thread death!