Skip to content

Instantly share code, notes, and snippets.

mudlet::closeEvent(...) INFO - called!
TMainConsole::closeEvent(...) INFO - received by "avatar_legend".
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x7bad68454da0 with focusing surface 0x7bad68066e20
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x7bad68454da0 with focusing surface 0x7bad68066e20
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x7bad68454da0 with focusing surface 0x7bad68066e20
mudlet::saveWindowLayout() - Already-Saved: false
Host::saveProfile(...) INFO - called with no saveFolder or saveName arguments for profile 'avatar_legend' so assuming it is an end of session save and the TCommandLines' histories need saving...
TMainConsole::closeEvent(...) INFO - received by "avatar_legend".
AddressSanitizer:DEADLYSIGNAL
======================================
@termie
termie / desc.md
Last active July 6, 2025 01:05
mudlet trigger match error

triggering regex: [[^(?<front>(?:\([^)]+\) |\s+)+)(?<name>[^\[\n]+)(?<label>\[.+\])?]]

for lines like:

( 2) (Humming) the ancient amulet of the grandmaster
     sulfurous ashes
     Dr. Sheaf's Miracle Cure-All Bag [typhus] 
     a plain crate [misc] 
Of Sci-Fi I've liked recently:
- the whole murderbot series so far by Martha Wells (lightweight humorous reads with a side-serving of corporate dystopia)
- all of the A Lady Astronaut books by Mary Robinette Kowal (charming characters, alternate history, light gender and race politics)
- The Ballad of Songbirds and Snakes by Suzanne Collins (a hunger games prequel, that, like the originals I read in pretty much one sitting)
- The Constant Rabbit by Jasper Fforde (humorous socio-political satire, well-written with touches of Nighteen Eighty-Four, Stranger in Strange Land)
- Space Opera by Catherynne M Valente (sensing a theme of uplifting stuff here due to recent times... this one reads like a Hitchhiker's Guide to the Galaxy novel for the pansexual gutterglam generation, some of the scenes legitimately made me cry)
- the Machineries of Empire series by Yoon Ha Lee (amazing epic space stuff that just goes up and up and up, has a neat concept for altering the physical rules of the universe that takes a li
@termie
termie / Fishes Needed
Last active January 16, 2021 22:21
Fishes Need
River
Sunfish - River - SS - 6a-7p - Sun, Wind
X Catfish - River - S F - 6a-12a - Rain
SWood - SS
Witch
X Shad - River - SSF - 9a-2a - Rain
X Tiger Trout - River - FW - 6a-7p
Lake
X Bullhead - Mtn - SSFW - all
@termie
termie / icalendar output.ics
Last active October 5, 2022 21:56
json to ical
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Pycon 2018//
BEGIN:VEVENT
SUMMARY:Complexity Science
DTSTART;TZID=US/Eastern;VALUE=DATE-TIME:20180510T090000
DTEND;TZID=US/Eastern;VALUE=DATE-TIME:20180510T122000
DESCRIPTION:Complexity Science is an approach to modeling systems using to
ols from discrete mathematics and computer science\, including networks\,
cellular automata\, and agent-based models.  It has applications in many
@termie
termie / queue_hopes.txt
Last active March 31, 2017 09:40
is there a job queue that lets me encode these semantics?
Is there a job queue system (or a job queue system plus an approach to using it) that lets
me only process jobs with a maximum concurrency based on some property of the job?
The workload looks like
U1, J1
U1, J2
U2, J3
U1, J4
U1, J5
@termie
termie / stuff.mkd
Last active February 24, 2017 12:34
amsterdam stuff

Here's a google map i've been curating for 8 years or so while google slowly makes the custom maps look worse (you'll have to click on names to get the descriptions now) I marked the new office way over to the left:

https://www.google.com/maps/@52.3694239,4.8723931,15z/data=!4m2!6m1!1szG7FACzpwTmo.k1lO1BUQ4f7Y

Musings:

  • It'll be chilly and wet, if you have water resistant boots you'll want em, ditto for a coat. You can buy umbrellas for a couple euros at the AKO shops around train stations.
  • If your bank is anything like mine they will shut off your credit card and ATM cards a few days into the trip. You can call them beforehand and tell them you are about to travel and it helps, but even still I usually get like 250€ as soon as I arrive so that I have backup.
  • Jetlag-wise the first couple days are usually the hardest, luckily there are a few of us arriving at the same time so we can grab dinner after work, have a beer or two, etc. Keeping to a normal schedule helps and you really want to stay out until
@termie
termie / debugoauth,go
Created June 23, 2016 21:29
debug http requests for oauth
type DebugRoundTripper struct {
transport http.RoundTripper
out io.Writer
}
func (d *DebugRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
outreq, _ := httputil.DumpRequestOut(req, false)
fmt.Fprintf(os.Stderr, "REQOUT:\n%q\n", outreq)
resp, err := d.transport.RoundTrip(req)
Please rise for Andy Smith, CTO in the Holy Order of Wercker, First
Father to Openstack, the Lightly Bearded, Tamer of Gophers, Catcher of Pythons,
Friend to Computer Wizards and Server Wrastlers.
[PHOTO church]
Hi -waves-. You may be seated. Thank you to coming today to this first meeting
of the Church of Reproducibility.
Please pull out your wikipedia, turn to page Reproducibility ... and read
@termie
termie / run.log
Last active May 10, 2016 08:45
mostly able to run sysdig in a rkt container when your docker is hosed
image: using image from local store for image name coreos.com/rkt/stage1-fly:1.5.1
image: using image from local store for url docker://sysdig/sysdig
* Setting up /usr/src links from host
ls: cannot access '/host/usr/src': No such file or directory
* Unloading sysdig-probe, if present
* Running dkms autoinstall
Kernel preparation unnecessary for this kernel. Skipping...