Note: this article is an answer to a previous one, about the same topic: a tool for a faster site generation while developing / writing articles, using octopress 2.
Introduction Octopress 2 packs, out of the box, some tasks to speed up the site generation while you’re writing articles:
Isolate a post:
# usage rake isolate[my-post] desc "Move all other posts than the one currently being worked on to a temporary stash location (stash) so regenerating the site happens much more quickly.
Deliberate Practice: What It Is and Why You Need It I’ve read this article by Corbett Barr on what is deliberate practice and why it is needed to become an expert in a given domain field.
The four essential components:
Motivation Tailored (practice) Feedback Repetion Tags: corbett-barr, deliberate-practice, expert, practice, anders-ericsson, talent, professional-development, career
10 Features I Wish Java Would Steal From the Kotlin Language I’ve read this list of features that the Kotlin Language has that would be an improvement for the Java language.
Books I’ve read this quarter1:
101 cosas que ya sabes, pero siempre olvidas by Ernie J. Zelinski; in Spanish Structure and Interpretation of Computer Programs by Abelson, Sussman, and Sussman, with the ‘@deAprendices’s reading club’. Blog posts under the tag sicp. Only chapters 1 and 2. Books started, not yet finished (WIP):
Building microservices, by Sam Newman, with the ‘@deAprendices’s reading club’. Blog posts under the tag building-microservices Why programmers work at night by Swizec Teller Readings in Database Systems, 5th Edition by Peter Bailis, Joseph M.
Learning Programming Isn’t That Hard, Deep Work Is Hard I’ve read this article by Benedict Fritz on two types of work (i.e., deep and shallow) and how programming is of the deep type. He links the difficulty of learning to program to the difficulty of practicing deep work.
Tags: analogy, benedict-fritz, deep-work, shallow-work, learn-to-program, psychology
BeCodeWeek by Yeray Darias I’ve read this category of posts by Yeray Darias about his BeCodeWeek, a desk-surfing experience at BeCode.
TortoiseGit part Go to a repo right button, Settings Git -> Credential Add a creadential Config type: global Helper: wincred Sync once using your HTTPS password
CLI part Open the $REPO/.git/config and add
[credential] helper = wincred Remote git operations should not ask for credentials anymore
Little Johnny is inspecting a PHP source code that contains comments. These comments contains words that he doesn’t understand, as it written in another language.
Rules and constraints The source code in the PHP files does not need to be correct.
A comment (a subset of PHP comments) is defined as:
A line containing C-style comment delimiter, except when it is within a string // hello C-style is a valid comment echo "//"; is not a comment echo '//'; is not a comment A line containing Perl-style comment delimiter, except when it is within a string # hello Perl-style is a valid comment echo "#"; is not a comment echo '#'; is not a comment There are no multi-line comments /* .