Site Moved
September 13, 2025
Blog has been moved to https://zakuarbor.codeberg.page/blog/ and is now hosted by Codeberg. Sorry for the inconvenience.
A random blog by a random human
September 13, 2025
Blog has been moved to https://zakuarbor.codeberg.page/blog/ and is now hosted by Codeberg. Sorry for the inconvenience.
July 5, 2025
Reading the coding standards at a company I recently joined revealed to me the issue with default label within the switch statement and why it’s prohibitted when its being
used to enumerate through an enum
. default
label is convenient to handle any edge cases and it’s often used to handle errors. However, when working with enums, it is often
the case that the prpogrammer intends to handle all possible values in the enum. To catch this mishap, programmers would enable -Wswitch
or -Werror=switch
to their compiler.
For instance, let’s suppose I have an enum named Suit to represent the different suits in a deck of cards.
February 23, 2025
In 2023, I was fascinated in learning about a revival of the old internet where chaos and nostalgia ensues in neocities which is an attempt to recreate the community of the old internet that geocities provided in the past. However, I never progressed much aside from creating an initial introduction page. Almost a year after in the summer of August 2024, I decided to take advantage of the amount of free time I have rececntly due to taking a break from school to start posting shorter content as a way to write something quick and potentially more personal as this blog site has become more of a technical blog rather than a personal blog. Though that doesn’t mean I won’t post random odd blog posts that aren’t technical nor do I guarantee any professional (it is the internet and a blog site that I maintain without any sponsorship nor earn anything monetary). Though any potential chaos or out of context content I may post in the future will be contained in my neocities site while it lasts which should spare this blog site from any weird oddities for the time being.
February 11, 2025
I was recently reminded that the variable this
is an implicit parameter passed to all methods in OOP such as C++. We can observe this by comparing a regular function vs a method
belonging to some class:
January 24, 2025
I recently found out accidentally at work that vim
and view
were the same thing when I happened to be editing a file on view
instead of my beloved vim
editor.
January 20, 2025
Note: This is a follow up post from my microblog
WARNING: I am no expert in Assembly. The last and only time I ever wrote assembly was computing the Fibbonacci Sequences 8 years ago for the MIPS architecture