Skip to content

Instantly share code, notes, and snippets.

@lazywithclass
Last active March 21, 2017 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lazywithclass/921a258ee46ae066d2ca4aa7036f2f96 to your computer and use it in GitHub Desktop.
Save lazywithclass/921a258ee46ae066d2ca4aa7036f2f96 to your computer and use it in GitHub Desktop.
[RC Diary] Stratovarius paced day, and oh, yes, CVs (-71)

[RC Diary] Stratovarius paced day, and oh, yes, CVs (-71)

Programming democracy

Started contributing to https://github.com/edgi-govdata-archiving, here.

Project lamp

We tried rewriting it in PureScript. Fail.

The Little Schemer chapter 4

The First Commendment (Always ask null? as the first question in expressing any function) is incomplete, or better, it could be more generic.

For example in

(def +
  "adds to numbers"
  (fn [a b]
    (cond
      (zero? a) b
      true (+ (sub1 a) (sum1 b)))))

We are not evaluating for an empty list, instead we are using zero?, but that's ok because it represents the base case for the recursion. So one might see the First Commendment as "Always ask is_base_case? as the first question in expressing any function"

Ah yes, it seems like the First Commendment went through a revision later on, good that I thought of it.

I don't know how many times as of now I've written

(def function-name
  "function-name does this and that"
  (fn [a b]
    (cond
    
    )))

...one too much I suppose. The Little Lisper really forces muscle memory in you.

Sending CVs out

Tedious and time consuming. The worst is when you spend 30-45 min to fill in an application and then you don't even get a "no" back. Code a button that sends an email to the person with a standard body, it shouldn't be too hard and definitely better for the receiving end, which is us developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment