"Death to the Beast": a real thing that exists

Just happened across the following function in the SC source code:

deathToTheBeast() {
    const inputText = this.inputElement.innerHTML;
    let outputText = '';
    if (inputText.indexOf('ṃ') > -1 || inputText.indexOf('Ṃ') > -1) {
      outputText = inputText.replace(/ṃ/g, 'ṁ').replace(/Ṃ/g, 'Ṁ');
    } else {
      outputText = inputText.replace(/ṁ/g, 'ṃ').replace(/Ṁ/g, 'Ṃ');
    }
    this.inputElement.innerHTML = outputText;
  }

Yep, that’s what it’s called: Death to the Beast. What does it do? Changes ṃ to ṁ when you press alt + m. Thanks, Blake!

12 Likes

Eh, yes. I made that! I know Blake made the original one on the legacy site but I made this one.
Also reported here:

12 Likes

let metta = lives.reduce((suffering,life,i)=> :heart: , craving);

2 Likes

If i may intrepret the statement:

  1. craving is the initial suffering
  2. :heart: is the result of applying metta to the accumulated suffering from previous lifes in current life
1 Like

And “i” is useless :grin:

1 Like

get replaced.moment.to.moment. . . :laughing:

1 Like

Whaat, I missed that, too conditioned to see ‘i’ as real rather than imaginary

1 Like