SuttaCentral

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


#1

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!


#2

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


#3

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


#4

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

#5

And “i” is useless :grin:


#6

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


#7

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