Moving blog to ox-hugo

Saturday, Apr 3, 2021

It’s refresh time! Since January 2019 I’ve been blogging on this website and it’s been a rewarding experience. I originally researched many blogging solutions that involved using Emacs Org mode. I settled with org-static-blog and it worked pretty well for the most part. It gave just enough structure and mechanism to enable me to work on authoring content without dealing with the details of website building. Enter 2021, I have used org-static-blog for a couple years, and detailed some of my challenges with it below.

Continue reading…

Snarf YouTube videos off gather.town

Sunday, Mar 21, 2021

Gather.town is a very cool virtual conference platform. You pick an avatar, can voice chat, video chat, and watch presentations all while standing around in a virtual 2D space. A conference which I attended recently had all the talks pre-recorded and played back at live-time. This worked very well because the presenters would take their time and provide the best possible content. Within the virtual conference space, there was a way to play the videos back through moving your avatar into a specific location that is different for each video.

Continue reading…

Some tips when copying, recovering disks

Sunday, Mar 14, 2021

I seem to have a lot of suggestions to share with friends about managing disks on a linux livecd. Here are some of the tips I’d like to share. See the table of contents above for a breakdown of the topics discussed. Some disk related topics are out of scope for this article, as they deserve their own blog post. The topics not covered include partitioning, setting up a boot loader, using LVM2 or ZFS, that sort of thing.

Continue reading…

You want sudo -i or su -

Sunday, Feb 14, 2021

You want to use sudo -i or su - to log into root. sudo su anything is superfluous, because you probably should be using sudo -i or sudo -s, which are roughly equivalent, depending if you want to simulate a login (su - or sudo -i) or not (su or sudo -s).1 When to use su -? You want to log into root using the root password. Typically you must be in the wheel group (check your PAM configuration).

Continue reading…

About my keyboard choices

Tuesday, Nov 3, 2020

Disclaimer: Dvorak, fancy keyboards, whatever, does not replace good lifestyle habits such as computer breaks, good desk ergonomics, and balancing one’s computer life with gasp real life. Dvorak and fancy keyboards can make your life better, but they cannot completely address RSI problems alone. Since sometime 2013 I have faced pain, numbness, and tightness in my hands due to computer overuse. At first I chose to ignore it, but it got so bad I’d take days if not weeks off from prolonged computer use.

Continue reading…

When NAT Bites — Use a Reverse VPN

Monday, Aug 31, 2020

Sometimes I find myself setting up servers on networks with less than ideal network configuration. Most home internets use dynamic IP addresses, which requires extra work to ensure I know the IP address to use when logging into the network from the internet. Another concern is how unreliable home networking gear can be, especially with users tweaking settings without fully appreciating what they’re doing. As a result, I’ve devised an alternate solution to ensure I can always log into boxes hosted on home internet connections.

Continue reading…

Linux dmesg –follow (-w) not working?

Thursday, Apr 30, 2020

For a couple months now, I have noticed that running dmesg -w on my workstation does not appear to print out new kernel messages. In other words dmesg --follow “hangs”. Additionally when running tail -f /var/log/kern.log to monitor new dmesg messages picked up by sysklogd (part of syslogng), the latest messages do not come through until sysklogd periodically “reopens” the /dev/kmsg kernel message buffer. Why is this a problem? This is a problem because I use the dmesg log to monitor important hardware related messages such as the kernel recognizing a USB device or diagnosing bluetooth/wifi issues.

Continue reading…