Tag : #devnotes

relman

02 Mar 2021   software   0

I can never remember the name of the son of my cousin (first cousin, once removed?). Heck, quite a number of my cousins are married now and I don’t always remember the name of their partners. While I don’t care too much being labelled as a “terrible human being” by my cousins, I do feel bad for their partners, even though I don’t care if they remember my name.

READ MORE >>

Rethinking the handling of dark mode

22 Mar 2020   siteupdate   0

Those familiar with this site and myself know of my obsession with dark mode: I have a dark background on my terminal, I install dark usercss for sites I frequent, I make dark-mode-first PDFs, and I configured by PDF viewer to recolor documents to be dark by default. For 2019 to be the year of dark mode, I felt like I was truly blessed by whatever omnipotent deity there is.

With 2019 now in the past, I figured it’s probably a good time to revisit how I’ve did my color scheme swapping. I recognize that it wasn’t a good idea to load all of my styles in one file, have two completely separate files with a lot of similarities, and swap the two “big” files while changing themes. There were two reasons why I employed that decision;

  • CSS variables was not widely used at the time; and
  • CSS preprocessors do not work very well with CSS variables.
READ MORE >>

Enpitsu - Dev Note #1

16 Jan 2020   coding   0

For quite some time now, I have been writing a command-line-based personal task manager, mostly as a hobby project where I plough forward with my learnings about computing, programming, and the science behind them. I have decided to start writing about it, and make it a habit writing down my learnings, my findings, my rationale, my reactions, etc. I think it would make for a good record of what I have done, tried, and experienced.

First to give a brief coverage about the origins of Enpitsu. The name enpitsu is the romanization of the Japanese word 鉛筆(えんぴつ), which means pencil. I figured that I wanted a simple name for the tool, which sort of acts like a trusty pencil used to jot down things to do. I wanted the tool to be simple to use, to understand, and to build.

READ MORE >>