- 1/2 lemon
- 1 blood orange
- Your entire purser's ration of @YourBlackMagic
- As much light agave as needed to take drink from "buccaneer" to "cabin boy"
Squeeze into glass, ice, stir.
Simplicity is the primary measurement recommended for evaluating alternative | |
designs relative to reduced debugging and modification time. Simplicity can be | |
enhanced by dividing the system into separate pieces in such a way that pieces | |
can be considered, implemented, fixed and changed with minimal consideration | |
or effect on the other pieces of the system. |
Successive Refinement | |
An approach that relies heavily on subroutines is called “Successive Refinement.” | |
The idea is that you begin by writing a skeletal version of your program | |
using natural names for procedures for data structures. | |
Then you write versionsof each of the named procedures. | |
You continue this process to greater levels of detail until | |
the procedures can only be written in the computer language itself. |
An Englishman, a Frenchman, and a Bavarian were arguing about | |
what is the hardest language. | |
"English!" says the Englishman: | |
"We write 'Leichester' but say 'Lester'" | |
"No, French!" says the Frenchman: | |
"We "write 'hors d'ouvres' but say | |
'Or-derv.'" | |
"That's nothing," says the Bavarian: | |
"We write, 'excuse me Sir, could you repeat | |
youself, I must have misunderstood?' But we say, |
A bear sees a rabbit desperatly running through the woods. | |
The bear says, "what's the hurry?" | |
The rabbit says, "they're shooting ferrets!" | |
"But you're not a ferret," says the bear. | |
"Yeah, OK, and after they shoot you, | |
good luck explaining you're not a ferret," | |
replies the rabbit, and they both start running. |
Why do you think that God intended one-based indexing? | |
Because the He didn't say, "Let there be light!" on the Zeroths Day |
- Too Many Parameters? | |
error: should "howard" should be in quotes? | |
#+HEADER: :dir /etc | |
#+HEADER: :var USER=howard | |
#+BEGIN_SRC sh | |
grep $USER passwd | |
#+END_SRC | |
(defun devtools-test () | |
;;Run test_that on each save by Brian Malehorn | |
;;http://stackoverflow.com/questions/32257685/running-rdevtooltest-that-on-buffer-save-in-ess | |
(interactive) | |
(when | |
(let* ((old (current-buffer))) | |
(string-match (rx-to-string `(: ".R" eos) t) (buffer-name)) | |
(switch-to-buffer "*R*") | |
(end-of-buffer) | |
(insert "devtools::test()") |
## When you | |
require 'test_helper' | |
## and create tests with, for example, | |
class UsersLoginTest < ActionDispatch::IntegrationTest | |
## In your | |
test "verify an important feature" do | |
## you can use assert statements to print out debugging info |
git rm $(git ls-files --deleted) |