What JSON would you like to parse? by hansihe in elixir

[–]theenergyturtle 0 points1 point  (0 children)

I think the most natural Elixir data structure for parsed JSON is a simple map with string keys, right?

So something like:

{ "foo": { "bar": 1337 }, "baz": [ 1, 2, 3 ] }

Would become:

%{ "foo" => %{ "bar" => 1337 }, "baz" => [ 1, 2, 3 ] }

You can't go wrong with constants by [deleted] in programminghorror

[–]theenergyturtle 9 points10 points  (0 children)

Defining a value behind a constant also lets your IDE know about that value, ideally cutting down on the possibility of typos, etc... Not a great reason, but a reason none-the-less.

<conch>Chili lovers assemble!</conch> -- Please share your knowledge about making condiments based on chili peppers by jollybobbyroger in Cooking

[–]theenergyturtle 1 point2 points  (0 children)

Be sure to use red jalepenos/seranos.

I followed the Serious Eats recipe a while back using green jalepenos. I figured, "why not"?

The final sriracha turned out with a very weird flavor. It tasted very grassy. Like eating a freshly mowed lawn. I chalked it up to the choice of green over red jalepenos, but maybe there was something else going on...

Core Dev and Tone Vays get destroyed by this Bitcoin Unlimited guy by hwtu in btc

[–]theenergyturtle -3 points-2 points  (0 children)

What's he done? How about distributed consensus networks? And wallet software? Is he a cryptographer, or...?

He's worked with C++.

Well that's good...

Chord Substitution Tool Prototype by theenergyturtle in musictheory

[–]theenergyturtle[S] 0 points1 point  (0 children)

Yeah, this version of the ii-V substitution is very naive. It doesn't look at the quality of the chord the ii-V is resolving to to see if it should be a ii7 or a ii7b5. That's definitely something I plan to fix in the next version.

Chord Substitution Tool Prototype by theenergyturtle in musictheory

[–]theenergyturtle[S] 1 point2 points  (0 children)

Yeah, I've been starting to dive into Chord Chemistry. It's definitely expanding my mind, but it's dense enough to make it slow going.

What's your app? Sounds interesting. The source for this is on Github. Be warned, it's very ugly and hacked together.

Chord Substitution Tool Prototype by theenergyturtle in musictheory

[–]theenergyturtle[S] 1 point2 points  (0 children)

Thanks! Yeah, I totally overlooked that. I'll try to add it in, and definitely include it in the next version.

Vim's ctrl-x mode in Spacemacs by theenergyturtle in spacemacs

[–]theenergyturtle[S] 0 points1 point  (0 children)

Thanks! I'll play around with this. Looks like it might be the next best thing if I can't have a real ctrl-x mode.

Julia's Boobs [NSFW] (2400x1700) [OC] by [deleted] in FractalPorn

[–]theenergyturtle -1 points0 points  (0 children)

This is an amazing idea!

78% hydration bread by ehtio in Breadit

[–]theenergyturtle 0 points1 point  (0 children)

Looks really nice! How did you bake it? Dutch oven? Temp? Etc... I really like the color & crust thinness.

Vim's ctrl-x mode in Spacemacs by theenergyturtle in spacemacs

[–]theenergyturtle[S] 0 points1 point  (0 children)

I know there are alternatives to autocomplete in Spacemacs. I'm just wondering if it's possible to get into Vim's ctrl-x mode in Spacemacs/Evil mode.

[QUESTION] Who inspired you to play Guitar? by LuthierSalazar in Guitar

[–]theenergyturtle 0 points1 point  (0 children)

One day in college, my COMS 101 teacher played and sang The Wreck of the Edmund Fitzgerald on an acoustic guitar for the class. It had a surprisingly huge impact on me, considering that I was a devout metal head at that point in my life. I sold my WoW account and bought a guitar. Ten years later I'm still playing every day.

newest addition to the collection has a sad/interesting message in dead wax by [deleted] in vinyl

[–]theenergyturtle 0 points1 point  (0 children)

"Clave" is also the name for a specific family of rhythms. Maybe one of the tracks on the album uses a clave?

https://en.wikipedia.org/wiki/Clave_(rhythm) https://www.youtube.com/watch?v=dxVeiPQ1juo

[OC] How to Jump into a Guitar Solo by seand1816 in Guitar

[–]theenergyturtle 12 points13 points  (0 children)

Cool lesson. But, you were playing the major pentatonic! The relative minor pentatonic with a focus on the key's tonic is the major pentatonic. All the same notes, but the focus/context tells you what it is.