Introduction This document takes a look at Event Tracing for Windows (ETW), it’s purpose and the resulting ecosystem that is available to interact with it. What Is it Event Tracing for Windows (ETW) is an efficient kernel-level tracing facility that lets you log kernel or application-defined events to a log file. You can consume the events in real time or from a log file As seen in the above diagram, ETW is broken into four main components:...
Zellij-like Floating Pane in Jetbrain's IDEs
There was something magical the first time I used Zellij’s floating pane feature. With it overlaying what you’re working on, there’s next to no break in context which prevents any break in flow. I’ve been dying since to try to replicate that experience in each tool where it makes sense. I use the floating pane to have an terminal relevant to the work of the main pane I’m focused on that I can show and hide with a single keybind....
Remoting into Freebsd with Alacritty
Whenever running a terminal, alacritty is my main driver. Recently, I’ve been dabbling with FreeBSD and ran into some curious output when SSHing into a server: 1 2 No entry for terminal type "alacritty"; using dumb terminal settings. It turns out FreeBSD doesn’t have a definition for alacritty’s terminal capabilities by default and we have to put that in place. Alacritty defines an alacritty.info file that specifies its terminal capabilities. While FreeBSD doesn’t have support for terminfo, it does have support for termcap....
Library Resolution
Intro I ran into an issue the other day with an executable not finding a library it depended on. I found where the library was and attempted to set LD_LIBRARY_PATH to get it on path for the executable. This had no effect. A little more digging led me to RPATH which I hadn’t heard of til this point. It turn’s out that RPATH takes precedence and can’t be overridden by LD_LIBRARY_PATH....
Customizing PlantUML for a Schema
PlantUML is a tool I’m fond of using to create diagrams from text. While they may not give the same level of customization as a graphical editor, they’re easier to maintain/update. The other day I was working to loosely define a schema in PlantUML and realized that it wasn’t obvious how to customize plantuml to represent this. Skinning Components To start, I’m using PlantUML’s class diagram to describe our schema since it provides a lot of useful relationship and attribute descriptors....