Posts
Linux Remote Desktop Access
TL;DR Here I compare Gnome Remote Desktop, RustDesk and x11vnc.
I ended up using Gnome Remote Desktop for “Desktop Saring”, but not for “Remote Login” because it doesn’t work without Network Manager, and I don’t use Network Manager. Also, it doesn’t allow logging into the physical desktop (see below).
Instead, I use x11vnc for the initial logging in to the physical desktop, which requires GDM to run with wayland disabled and it is a little cumbersome.
read more
Posts
KVM and Remote Desktop Access
TL;DR Lesson learned. I need EDID emulation in a KVM if I want to be able to connect to my desktop remotely with e.g. x11vnc or rustdesk or anything really.
One without EDID works fine unless I need to to connect to it remotely. And I do! 🙂.
So now I’m using a KC-KVM302AS: A 3-Port 2-Monitor HDMI 4K60Hz KVM-Switch with EDID Emulation:
Details A KVM allows me to switch my mouse, keyboard, webcam and monitor between my work laptop and my private desktop.
read more
Posts
shpool - much preferred over tmux and screen
Whats wrong with tmux tmux (and screen before it) are wonderful. They allow me to start a CLI app in a terminal, disconnect from tmux, close the terminal, and reconnect to it again later. Or I can ssh to a remote machine, start tmux and run a critical command without fear of loosing the connection, because I can always ssh in a re-attach if that happens and still see the old “terminal”.
read more
Posts
Python New Module Guide
Python new project guide I’ve written this mostly as a guide to myself. I’m a little new to python (so this is the perfect time for me to write this), but not new to programming.
This is not about the python language or syntax, but about the right modules to use to setup a skeleton project.
This doc came out of painfully learning these things one by one.
Use pipx pipx allows you to install python-based executables without needing root and without directly using virtual environments (venvs).
read more
July 24, 2021
How to use Mathjax in Hugo
Hugo is the static site generator that this site is built with. This is how to enable Mathjax in Hugo so you can write LaTeX in your pages, as I’ve used e.g. in On the Economics of Streaming: Show me the money
Put this in the page source somewhere. I put it in layouts/partials/head-additions.html, but perhaps that is specific to the ananke theme:
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> Now you can put this on your page and have it rendered like you’d expect:
read more
July 23, 2021
On the Economics of Streaming: Show me the money
I’ve never spent as much money on music or TV and movies as I do now by paying my Spotify and Netflix subscriptions. But still artists apparently aren’t getting any money for their art. How can this be? Where is the money going?
Below I’ve done a back-of-the-napkin calculation. If all the premium money went to artists we should be listening 45.5 hours/month, but on average, we actually listen 25 hours/month.
read more
January 12, 2019
Data Visualization: It Matters How we Show Graphs
Should we show graphs using horizontal lines like this:
Or using “slanted” lines like this? :
Notice that these two graphs actually are showing the same data, just differently.
I’ll argue that it does matter which way we show graphs, and that the correct graphical representation depends on the data the graph is showing.
First, keep in mind that the graph shows values for points in time. E.g. in both graphs, the value at 5:40 was measured to be approx 750,000.
read more
June 9, 2015
Perl: Schema for APIs with code generation?
Two things have occurred lately for me in Perl:
I’ve been bitten enough times by un(der)specified RPC and API documentation to make it worth my while to begin documenting the interfaces in schemas. I’ve been bitten by Moose. Using real objects instead of raw hashes. So now all I need to do is find a library that generates Moose classes from JSON schema. ( Nothing on Google ) . Wouldn’t it be great to have:
read more
June 3, 2015
MSDN Blogs: Looking Forward: Microsoft Support for Secure Shell (SSH)
Fantastic news! MS Windows will support SSH both as client and server. This is superb! “… and there’re not exact days yet. However the PowerShell team will provide details in the near future on availability dates.” Source: MSDN Blogs
read more
January 4, 2014
Metadata for beginners
Many people I’ve spoken to seem to think that they don’t have anything to hide, and as long as the government isn’t listening in on the actual phone conversations, then they’re fine with it. As you might guess, I’m not. This slide from 30th Chaos Communication Congress (30C3) hits the head on the nail.
read more