[ ...articles ]

  1. rewriting "night light slider"

    I'm the author of the Night Light Slider extension for GNOME Shell. When I originally authored the extension in late 2017, my intention was to simply add a slider, kin to the brightness slider, to manage the temperature of the GNOME Shell "Night Light" feature. A couple of feature requests …

  2. batch renaming numbered files

    The year is 2009 and your minimalist CD ripper, let's say goobox hasn't multi-CD support. The ripped content of both CD 1 & 2 are numbered incrementally from 01 onwards, which isn't a problem if you organised your library by CD 1/2/etc, but you're rather flatten the directory because …

  3. on taking a break

    It is almost poetic justice that the last time I wrote was on Labour Day, 2019. Not long thereafter, I went on a slurry of vacations from Bangkok for 2 bachelor parties, Georgia for a wedding, a multitude of places for Europe, finally ending my streak by attending the Pride …

  4. the error paradigm

    The error programming paradigm comes from the recognition that errors are expected. Consider a function that is meant to parse JSON data. Naturally should the input string not be of valid JSON format, the function would error out. That is because handling invalid JSON data is out of the scope …

  5. Default Title

    The use of default values, also known as optional parameters is a controversial topic in programming. Languages like Go even go so far to outright disallow the possibility of using optional parameters or method overloading, emphasising simplicity instead. But what exactly are optional parameters used for?

    The Wikipedia page for …

page 1 / 2 »