Every action that you take sets a standard from which you may pull from to justify how to move forward in life. Take every opportunity that you have to move, and to act, in a virtuous, kind, and cheerful manner. At the very least, do it when it is easy. At the very worst of times, it will serve you both as an example, and as an excuse, to behave in the same manner. In our North American culture today, some people may become quite insulted when you don’t react to their misery with meanness, cruelty, and gloom with matching feelings. Know though, that you are doing the right thing in staying virtuous, kind, and cheerful.
Author: grant
Training and practice
The onus of responsibility to better oneself lies entirely upon the individual. Her efforts must be applied in a disciplined, perseverant, and self-controlled manner. Laziness must be banished, and cheerfulness welcomed. When you are new to a topic, train smart and well. When you become an expert on a topic, practice daily. Set high, high standards and expectations for yourself and others; and be forgiving when they are failed to be met. If you never fail reach them, then you are setting your goals too low. Take joy and satisfaction from your effort, alone, and let go of anything else that it yields (bad or good).
Gain instead of give up
As we grow, we naturally graduate from things (ideas, people, practices). Often we are encouraged to give them up, often too soon and quite inappropriately. Instead, stay the course and the new things in your life will look quite naturally like gains, accept them as they come.
Return to instead of escape from
Often the focus of meaningful action is to escape the various evils of something. Instead, try to focus on the virtues of that to which you are returning. It is more cheerful, and yields the same result (and often better).
Spacetime
In physics, spacetime (also space–time, space time or space–time continuum) is any mathematical model that combines space and time into a single interwoven continuum.
Indenting new curly bracket blocks with smartparens for R
Emacs speaks statistics handle indentation for curly bracket blocks quite well. My preference was to have, after inserting matching opening and closing curly brackets, a newline with the cursor indented one block in. This post in particular describes the solution; it worked fine as of today.
Addendum: 2014-04-17
Here is the code snippet from the above link:
(sp-local-pair 'c++-mode "{" nil :post-handlers '((my-create-newline-and-enter-sexp "RET")))
(defun my-create-newline-and-enter-sexp (&rest _ignored)
"Open a new brace or bracket expression, with relevant newlines and indent. "
(newline)
(indent-according-to-mode)
(forward-line -1)
(indent-according-to-mode))
Addendum: 2014-05-06
Here is a link to the documentation on using pre and post pair handlers.
On doing things
Learn how to be happy, and then how to do things (take action).
Failure and success, hard work and vacation, and life suddenly begin to take on a different role.
imenu-anywhere
A mistake that I made too often in life was to focus too much on the specific implementation or realization of a thing instead of learning about the valuable generalizations and abstractions that may be learned from it and applied elsewhere. That was then, this is now.
imenu is actually a nice feature for Emacs. When I learned about it way back when, having quit using the menu bar, I dismissed it as not-helpful. That was a stupid thing for me to do because there ought to be a way to use it with the keyboard. Of course there is.
Thank you vitoshka, for imenu-anywhere.
Polymode
Recently learned about Polymode from the ESS user manual.
It looks like a nice option for working with code that didn’t start out in org-mode; which is likely pretty common.
Starving juice with dead food
Who calls a diet Pepsi with some kimchi a “starving juice and dead food”?!