Now that I’m already using maildirs again, I could fulfill the lacking feature from #aerc (compared to #mutt) using #notmuch, which de-duplicates my emails:
#!/usr/bin/env bash
#
# Copyright (c) Jarkko Sakkinen 2024
# JSON queries ripped from https://github.com/esovetkin/notmuch-deduplicate
set -e
QUERY='*'
notmuch show \
--format=json \
--entire-thread=false \
--body=false \
"${QUERY}" | \
jq \
-n \
--stream 'fromstream(1 | truncate_stream(inputs))' | \
jq -r '.. | .filename? //empty | @tsv' | \
grep '\t' | \
awk -F'\t' '{for (i=2; i<=NF; i++) print $i}' | \
xargs -I{} rm -v "{}"
notmuch new
# vim: filetype=vim ts=2 sw=2 et
Improved my #email workflow a bit with #isync.
So the basic config in ~/.mbsyncrc
is:
IMAPAccount kapsi
Host mail.kapsi.fi
User jjs
PassCmd "pass show imap/mail.kapsi.fi"
SSLType IMAPS
IMAPStore kapsi-remote
Account kapsi
MaildirStore kapsi-local
SubFolders Verbatim
Path ~/.mail/kapsi/
Inbox ~/.mail/kapsi/INBOX
Channel kapsi
Far :kapsi-remote:
Near :kapsi-local:
Patterns *
Create Both
Expunge Both
SyncState *
Essentially only other change I had to do was repeal and replace sources in ~/.config/aerc/accounts.conf
(I was already using msmtp since many many years ago):
[personal]
source = maildir://~/.mail/kapsi
outgoing = msmtp -a iki.fi
default = INBOX
from = Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
copy-to = Sent
[kernel]
source = maildir://~/.mail/kapsi
outgoing = msmtp -a iki.fi
default = INBOX
from = Jarkko Sakkinen <jarkko@kernel.org>
copy-to = Sent
folder-map = ~/.config/aerc/folder-maps/kernel.map
For the record kernel.map (also existed previously unrelated to this change) is just:
personal = INBOX
INBOX = kernel
I use this magic given that @kernel.org routes to a sub-address of the same account.
Have been planning to level up here for a long while so thought now is the time given tomorrow is first workday after holidays.
#Bitwig 5.2 is best update since I started because it replaces so many external plugins with stock options:
It is the first version at least where I’m actually able to draft a track without VSTs. Especially lack of proper bus compressors has been an itch when migrating from #Ableton Live.
Cool got some response from rust-vmm/vm-memory
people, asking to give more details, which I will provide next week.
#Enarx is a kind of hybrid #VMM, and I think this is exactly where I think the overall rust-vmm umbrella has the best opportunities. I.e. instead of just hosting guests with QEMU you might want to do a tailored VMM below to get the optimal characteristics in performance, security and whatnot for your use case.
Enarx hosts #WebAssembly payloads in confidential computing environment. To realize those it:
/dev/sgx
to partition address space for boostrapping a wasm run-time inside an #Intel SGX enclave.The first one is very surgically constructed VM with all access outside it disable, and the second is not actually VM at all.
My take is here that any commercially viable memory API should first of all scale to all possible types on VM’s, and also address stuff “on the edges of universum”, e.g. SGX enclaves, which in many ways resemble VM’s (at least to some level).
Security Firm Discovers Remote Worker Is Really a North Korean Hacker —
"The incident occurred at KnowBe4, which develops security awareness programs to teach employees about phishing attacks and cyber threats. The company recently hired a remote software engineer who cleared the interview and background check process. But last week, KnowBe4 uncovered something odd after sending the employee a company-issued Mac." https://www.pcmag.com/news/security-firm-discovers-remote-worker-is-really-a-north-korean-hacker
#Oops
Climate Change Actions Are Far More Popular Than People in U.S. Realize
https://www.scientificamerican.com/article/climate-change-actions-are-far-more-popular-than-people-in-u-s-realize/
“False social reality” obscures widespread U.S. support for climate protection measures
Not just the US, this is a global problem #DontLookUp
#holiday activities (last week ongoing).
I learned how to compile DOS COM executables with the latest GCC. It can be done with a trivial LD script, i.e. dump to 0x100. It has a memory topology of single 16-bit code and data segment.
I also learned that event with ELF toolchain “-nostdlib” is still required because crt0.o is not compatible with MS-DOS.
I also implemented couple of features for this “not for profit MS-DOS framework”:
Not sure what I’m going to do with this next but no rush with MZ EXE (I have idea how approach that w/o sacrificing modern tools) because 64 kB is enough for some time, and I have no data limit ;-)