Skip to content

Instantly share code, notes, and snippets.

@elzr
elzr / roam-folding-demo.js
Last active June 16, 2020 11:54
Hacky, brittle code just for a quick demo of multi-folding in Roam. See https://twitter.com/elzr/status/1272400990373924866
//// Inject jQuery by uncommenting this and pasting this in your console
//var jq = document.createElement('script');
//jq.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js";
//document.getElementsByTagName('head')[0].appendChild(jq);
//// ... give time for script to load, then type (or see below for non wait option)
//jQuery.noConflict();
// JS to paste in your console
//

Many of us have a problem following through on our intentions. And it’s more than just a difficulty in predicting our future desires. It’s not like "Gee, I thought I wanted to get in shape but it turned out there was always something really good on TV!" No, even in hindsight, you regret not doing what you said you wanted to do. It’s not even that you’re merely conflicted about what you want. The trade-off you made -- more TV watched, still not in shape -- was patently ridiculous. You somehow don’t do what you genuinely want to do. Philosophers back to Plato and Aristotle have a fancy term for this paradoxical failure of the will: akrasia. It encompasses procrastination, lack of self-control, lack of follow-through, and any kind of addictive behavior. Another way to define akrasia is by generalizing from procrastination to include preproperation as well. Procrastination is the irrational delay of tasks with immediate cost and delayed benefit. *Preproperation is the irrational not delayi

As it is this disposition which forms that difference of talents, so remarkable among men of different professions, so it is this same disposition which renders that difference useful. Many tribes of animals acknowledged to be all of the same species derive from nature a much more remarkable distinction of genius, than what, antecedent to custom and education, appears to take place among men. By nature a philosopher is not in genius and disposition half so different from a street porter, as a mastiff is from a greyhound, or a greyhound from a spaniel, or this last from a shepherd's dog. Those different tribes of animals, however, though all of the same species, are of scarce any use to one another. The strength of the mastiff is not, in the least, supported either by the swiftness of the greyhound, or by the sagacity of the spaniel, or by the docility of the shepherd's dog. *The effects of those different geniuses and talents, for want of the power or disposition to barter and exchange, cannot be br