Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
10 replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
source | link

Prelude is a very fun language, whose source code consists of several "voices" which are executed in parallel and which I really enjoy solving problems inI really enjoy solving problems in. It is meant to be the ASCII representation of its sister language Fugue, which actually takes .midi files as its source code and encodes the instructions found in Prelude as intervals in the melodies of the voices.

This is "just" an iterative implementation of the Euclidean algorithm. But modulo in Prelude is a bit annoying, mostly because you can't easily check if a number is positive or negative. This code makes use of a signum implementation I wrote a while agoI wrote a while ago. I.e. a large part of the code just turns a number into -1, 0 or 1. This can then easily be turned into a condition for positive or negative numbers by adding or subtracting 1.

Prelude is a very fun language, whose source code consists of several "voices" which are executed in parallel and which I really enjoy solving problems in. It is meant to be the ASCII representation of its sister language Fugue, which actually takes .midi files as its source code and encodes the instructions found in Prelude as intervals in the melodies of the voices.

This is "just" an iterative implementation of the Euclidean algorithm. But modulo in Prelude is a bit annoying, mostly because you can't easily check if a number is positive or negative. This code makes use of a signum implementation I wrote a while ago. I.e. a large part of the code just turns a number into -1, 0 or 1. This can then easily be turned into a condition for positive or negative numbers by adding or subtracting 1.

Prelude is a very fun language, whose source code consists of several "voices" which are executed in parallel and which I really enjoy solving problems in. It is meant to be the ASCII representation of its sister language Fugue, which actually takes .midi files as its source code and encodes the instructions found in Prelude as intervals in the melodies of the voices.

This is "just" an iterative implementation of the Euclidean algorithm. But modulo in Prelude is a bit annoying, mostly because you can't easily check if a number is positive or negative. This code makes use of a signum implementation I wrote a while ago. I.e. a large part of the code just turns a number into -1, 0 or 1. This can then easily be turned into a condition for positive or negative numbers by adding or subtracting 1.

9 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
8 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
7 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
6 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
5 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
4 deleted 7 characters in body
source | link
3 added 2282 characters in body
source | link
2 added 4726 characters in body
source | link
1
source | link