Tag : #devnotes
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.
Rethinking the handling of dark mode
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.
Enpitsu - Dev Note #1
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