Dec 2021

  • :Explorer or short :E will open the file tree in vim again

  • graphqlHTTP support extensions, which can run custom code after resolvers

  • @graphi-tools/compose can be used to build middleware style resolvers

Jan 2020

  • Hugo / Go uses a very “interesting” way to format dates:
Jan 2 15:04:05 2006 MST
=> 1 2  3  4  5    6  -7
  • There is a very handy tool to import markdown to medium: https://markdowntomedium.com/
  • Medium does not have code highlighing, but instead can import Gist’s
  • Writing tests is actually not that difficult, got to 33% code coverage in 1 day
  • cdnjs: For the new library request issue, please make sure it’s not a personal project, we have a basic requirement for the popularity, like 200 stars on GitHub or 800 downloads/month on npm registry.

Dec 2019

Good writing has:

  • Simplicity
  • Clarity
  • Elegance
  • Evocativeness

Nov 2019

  • When import ... from results in undefined in webpack, I probably have a circular dependency.

  • Data that will almost certainly be used in many places, should have a clear interface right from the beginning (goalMeta.getters)

  • The law of demeter aka. “Only talk to your friends”

Oct 2019

  • SceneManager.LoadScene("OtherSceneName", LoadSceneMode.Additive); loads a seconds scene in unity, so level and logic can be separated.

  • Microsoft Paint can actually be used as a level designer for unity.

  • Goalpilot does not manage goals, but tasks. It should actually help me stay on track.

  • Y-Combinator is named after the Y-Combinator from Lambda calculus, which enables recursion (Y-Combinator is a company that creates companies.) It is:

Y := λg.(λx.g (x x)) (λx.g (x x))


1 2 3
x Variable A character or string representing a parameter or mathematical/logical value
(λx.M) Abstraction Function definition (M is a lambda term). The variable x becomes bound in the expression.
(M N) Application Applying a function to an argument. M and N are lambda terms.
  • Booleans are defined as
TRUE := λx.λy.x
FALSE := λx.λy.y
  • If I don’t pay attention I waste a lot of time.
  • Rather then writing a huge blog series, I should aim for < 15 min when writing an article.