Skip to content

Instantly share code, notes, and snippets.

View smj-edison's full-sized avatar

Mason Jones smj-edison

  • Provo, Utah
View GitHub Profile
test
└─ run test zicl-test 2 pass, 1 crash (3 total)
error: 'test.try_catch.test.fn command' terminated with signal ABRT with stderr:
Magic sparkles: 13
Magic sparkles: 14
Single dup, src tag 13 dup tag 21
src item: .{ .index = 257, .heap = 0, ._padding = 0 }, tag: .reference, value: *
Magic sparkles: 13
Magic sparkles: 7
Single dup, src tag 13 dup tag 7
test
└─ run test zicl-test 2 pass, 1 crash (3 total)
error: 'test.try_catch.test.fn command' terminated with signal ABRT with stderr:
WARNING: no trace collected as it was disabled in options.
thread 635153 panic: switch on corrupt value
/tmp/zicl/src/Heap.zig:2538:28: 0x1142863 in duplicateSingle (zicl-test)
.str = try dest_heap.duplicateObjString(handle),
^
/tmp/zicl/src/Heap.zig:2698:55: 0x1141e5b in duplicate (zicl-test)
@smj-edison
smj-edison / backup.sh
Last active April 14, 2026 23:09
B2 backup script
#!/bin/bash
# sleep for a bit to give the computer some time to start up (mainly so the notification shows up)
sleep 5
cd /home/mason/scripts/backup
# set up environment
source ./restic-env.sh
export LOG_FILE="latest_log.txt"
[I][22:35:32.803734] pw.context | [ pipewire.c: 581 pw_init()] version 1.4.9
[I][22:35:32.803866] pw.conf | [ conf.c: 415 conf_load()] 0x55dcd624c4c0: loaded config '/usr/share/pipewire/pipewire.conf' with 6 items
[I][22:35:32.803893] pw.conf | [ conf.c: 415 conf_load()] 0x55dcd624d2f0: loaded config '/etc/pipewire/pipewire.conf.d/disable-raop.conf' with 1 items
[I][22:35:32.803903] pw.conf | [ conf.c: 415 conf_load()] 0x55dcd624d2f0: loaded config '/etc/pipewire/pipewire.conf.d/raop-discover.conf' with 1 items
[I][22:35:32.803935] pw.conf | [ conf.c: 1111 pw_conf_section_for_each()] handle config '/usr/share/pipewire/pipewire.conf' section 'context.properties'
[I][22:35:32.803943] pw.conf | [ conf.c: 1114 pw_conf_section_for_each()] handle override '/etc/pipewire/pipewire.conf.d/disable-raop.conf' section 'context.properties'
[I][22:35:32.803947] pw.conf | [ conf.c: 1111 pw_conf_section_for_each()] handle config '/
Module #1
Name: libpipewire-module-rt
Argument: {
nice.level = -11
rt.prio = 88
#rt.time.soft = -1
#rt.time.hard = -1
#uclamp.min = 0
#uclamp.max = 1024
}
Jan 15 16:40:27 username systemd[1273]: Started PipeWire Multimedia Service.
Jan 15 16:40:34 username pipewire[1322]: mod.raop-sink: sess.latency.msec 250.000000 should be an integer multiple of rtp.ptime 7.981859
Jan 15 16:40:34 username pipewire[1322]: mod.raop-sink: sess.latency.msec 250.000000 should be an integer multiple of rtp.ptime 7.981859
Jan 15 16:40:34 username pipewire[1322]: mod.raop-sink: sess.latency.msec 250.000000 should be an integer multiple of rtp.ptime 7.981859
Jan 15 16:40:34 username pipewire[1322]: mod.raop-sink: sess.latency.msec 250.000000 should be an integer multiple of rtp.ptime 7.981859
Jan 15 16:40:34 username pipewire[1322]: mod.raop-sink: sess.latency.msec 250.000000 should be an integer multiple of rtp.ptime 7.981859
Jan 15 16:40:34 username pipewire[1322]: mod.raop-sink: sess.latency.msec 250.000000 should be an integer multiple of rtp.ptime 7.981859
Jan 15 16:40:34 username pipewire[1322]: mod.raop-sink: sess.latency.msec 250.000000 should be an integer multiple of rtp.pti
Dec 24 18:54:35 folk-peridot make[12706]: set new code to # blank
Dec 24 18:54:36 folk-peridot make[12706]: set new code to # blank
Dec 24 18:54:36 folk-peridot make[12706]: q
Dec 24 18:54:37 folk-peridot make[12706]: set new code to # blank
Dec 24 18:54:37 folk-peridot make[12706]: qw
Dec 24 18:54:37 folk-peridot make[12706]: set new code to # blank
Dec 24 18:54:37 folk-peridot make[12706]: qwe
Dec 24 18:54:37 folk-peridot make[12706]: set new code to # blank
Dec 24 18:54:37 folk-peridot make[12706]: qwer
Dec 24 18:54:37 folk-peridot make[12706]: set new code to # blank
test
+- run test zigtcl-test failure
thread 92348 panic: incorrect alignment
/usr/lib/zig/std/mem/Allocator.zig:283:82: 0x1153fff in allocBytesWithAlignment__anon_22535 (std.zig)
const byte_ptr = self.rawAlloc(byte_count, alignment, return_address) orelse return Error.OutOfMemory;
^
/usr/lib/zig/std/mem/Allocator.zig:269:5: 0x11f0754 in allocWithSizeAndAlignment__anon_33200 (std.zig)
return self.allocBytesWithAlignment(alignment, byte_count, return_address);
^
/usr/lib/zig/std/mem/Allocator.zig:245:5: 0x11ebece in alignedAlloc__anon_33057 (std.zig)
set isNumberVerifier {{x} { string is double -strict $x }}
# start of scientific types
Claim type millimeter exists
Claim type millimeter has verifier $isNumberVerifier
Claim type millimeter has alias mm
Claim type centimeter exists
Claim type centimeter has verifier $isNumberVerifier
Claim type centimeter has alias cm
Wish $this is titled "Centroid calculation"
When when tag /tag/ has centroid /any/ on display /any/ /lambda/ with environment /e/ &\
tag /tag/ has quad /q/ &\
display /disp/ has intrinsics /any/ {
set centroid [quad centroid [quad change $q "display $disp"]]
Claim tag $tag has centroid $centroid on display $disp
}
When /someone/ wishes to draw a stroke on display /disp/ with /...options/ &\
display /disp/ has width /width/ height /height/ &\