Problem Recently Filelight hasn’t been displaying pie chart visualization. Instead it showed a blank gray background. This makes the program almost unusable. Here we fix it.
Solution Below you can see how it is rendered: To fix this we need to set an environment variable for Filelight using KDE Menu Editor. I just learned this tool existed! It’s a handy way to modify application launch parameters without editing desktop files manually.
Problem I fixed filelight rendering when launching from the menu, however, a good amount of the time I want to launch it from dolphin. I noticed that my did not solve the issue.
Solution When running a find on .desktop files we get the following:
dru@TheArchBeast:~$ sudo find / -name '*.desktop' | grep filelight find: ‘/run/user/1000/doc’: Permission denied /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-24.08/ca531f435f2a16f9487cdce9727d7f20c9fd1c489bf89c2a581e3aa47c4772a3/files/share/kf5/kmoretools/presets-kmoretools/org.kde.filelight.desktop /home/dru/.local/share/applications/org.kde.filelight.desktop /usr/share/applications/org.kde.filelight.desktop /usr/share/kio/servicemenus/filelight.desktop /usr/share/kf5/kmoretools/presets-kmoretools/org.kde.filelight.desktop My solution was to find the Exec=filelight line in each of these and insert env QT_QPA_PLATFORM=xcb before filelight and after Exec=
Problem There’s nothing quite as infuriating as setting up a large data transfer over SSH before bed, expecting to wake up to completed files, only to discover that Windows decided 3 AM was the perfect time to force a restart for updates. I learned this the hard way when transferring several gigabytes of project files last night.
Windows Update’s aggressive restart behavior has become increasingly problematic in recent versions. When you’re doing serious data management or running long-running processes, this behavior is simply unacceptable.
Problem I’ve been using Cursor IDE for a while now and overall it’s been a fantastic experience. However, I started running into some really annoying UI freezing issues on my Arch Linux setup. The editor would randomly become unresponsive for several seconds, making it nearly impossible to maintain a good coding flow. The mouse cursor would turn into a spinning wheel, and sometimes the entire interface would lock up completely.
Problem This will be a quick post. If you run arch you will be familiar with pacman or yay. You subscribe to a mirror and fetch the list of latest packages which then get downloaded and installed onto your computer. The issue I had recently was that my mirror updates its package list once every 4 hours. And by sheer luck the discord package went out of date just after one such update.
Problem For my UoT Continuing Education program we regularly do things in jupyter notebooks. I made a script to launch these notebooks in a local docker container.
Solution Full Command:
docker run -it --rm --gpus all -v "${PWD}:/tf/notebooks" --user root -e CHOWN_HOME=yes --name tensorflow -p 8888:8888 tensorflow/tensorflow:latest-gpu-jupyter /bin/bash -c "source /etc/bash.bashrc && cd /tf && pip install jupyterlab-vim && find /tf/notebooks -type f -name '*.ipynb' -exec jupyter trust {} + && jupyter lab --notebook-dir=/tf --ip 0.
Problem I want to connect my home and my parents’ house. For the time being I only need to access resources on their network. The best solution for this is to use a site-to-site vpn and use masquerading to facilitate communication on their network.
Solution To solve this I need dynamic dns setup and two pis connected via ethernet to the router at each house.
DDNS First I need to be able to get the ip address for either house from anywhere in the world.
Problem I have a pi camera already setup. It watches my 3D printer and I can check its webpage from anywhere to see if the print is done. The problem is that I had recently bought a Pi Zero 2 W with the idea that I would make it a “pireguard” device. This device would act as the vpn endpoint between my house and my parent’s house. However, after buying it, I thought that I would like the pireguard device to be plugged into the network via ethernet.
Problem My buddy’s birthday is coming up and he’s really gotten into an online video game called Once Human recently. I played with him for a while and we had a great time!
While considering what to get him for his birthday, I decided that 3D printing a figure from the game would be perfect. However, the game’s models are not publically available. So some data mining needs to happen.
Problem I’m a big fan of google buckets. You drop your hugo public folder in a bucket, point the DNS servers to that bucket and your done. Static website is live!
However, this only works for non secure HTTP. If I want HTTPS I need to pay google monthly for certificate signing and redirecting. I don’t want to pay for a static website. If I’m paying for webhosting I’ll just run my own droplet with full control over everything on Digital Ocean.