RSSAmplifier

Blog

High Performance Coder

Random Ruminations about Everything

hpcoders.com.auRSS feed ↗10 posts

Latest posts

Disable power button on laptop

The problem is accidentally hitting the power key when reaching for backspace, causing the machine to shutdown. The answer is to add the following two lines to /etc/systemd/logind.conf: [Login] HandlePowerKey=ignore

Cursor disappearing on MacOS Sonoma when using VNC

The following is a answer I posted on the Apple support forums, which was removed with the message: We removed your post No mouse pointer visible when connectingvia VNC because it was nontechnical or off-topic. Weunderstand wanting to share experiences, Continue reading

Code signing is getting more absurd

Recently, my Windows code signing certificate expired after about 2.5 years of unproblematic operation, after a traumatic changeover from the previous code signing certificate. Previously, the drama had to do with the fact that reputation was lost on transferring to Continue reading

Adventures with Windows 11

Like many of you, I have been seeing the press and blog posts about Windows 11, and thinking meh, its not for me, Windows 10 is fine. Of course, to be fair, I m not a typical Windows user my Continue reading

Gates to Hell – Yup!

Somebody else who finds Apple s ecosystem a disaster

“Error: you did not specify -i=mi on GDB’s command line!” (SOLVED)

In a recent update to gdb, emacs gdb mode stopped working. Trawling through the digital dust, the above message appeared to be the most relevant. Googling didn t really turn up much, not even a StackOverflow question, which is why I m Continue reading

Excessive Encapsulation Syndrome

I have seen this occasionally on other code bases, where an object s attribute is declared private, and then both a getter and a setter is provided, effectively exposing the attribute as public. For example class Foo { int bar; public: Continue reading

C++ Reflection for Python Binding

Recently, I have been developing a Classdesc descriptor that automatically exposes C++ classes and objects into Python. I wrote this work up as an Overload journal article if you want to know more.

[SOLVED] osc build complains about can’t open control.tar.xz without python-lzma

This message occurs whenever trying to do a Debian style osc build This one stumped me for a while. There is no python-lzma package available either in zypper or pip. I ended up downloading the source code for osc (which Continue reading

Tramp mode not working on emacs 26

On a recent upgrade to emacs, I discovered that remote editing of files via tramp stopped working. This bugged me a lot, as I use it a lot. After much Googling (much), I came across a workaround using sshfs, which Continue reading