Posts
3579
Following
214
Followers
362
Linux kernel maintainer. Compilers and virtualization at Parity Technologies.

Jarkko Sakkinen

#Russian #italo #disco at its best. Video clips are from early/mid nineties post-soviet times, like from rave parties of that time period. https://www.youtube.com/watch?v=X3iGfjpZI2E #digitalo
0
0
0

Jarkko Sakkinen

the circle has closed: https://sound-force.nl/?page_id=2318
0
0
0

Jarkko Sakkinen

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

#email

1
0
0

Jarkko Sakkinen

I used to use #fdm for many years, last few I've simply used #IMAP access a Finnish server, an since yesterday #isync. It gets less in the way than fdm (especially with verbatim folders) but still provides offline access and allows to use #notmuch, which integrated to #aerc. :-)

#email
0
0
0

Jarkko Sakkinen

Edited 5 months ago

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.

0
0
0

Jarkko Sakkinen

Edited 5 months ago
was worth of trouble making this quick little tool for getting millisecond lengths for different divisions.

i think i also add note frequency chart type of thing to it but that is less crucial. Does all calculations with rational numbers instead of floating point numbers as there are no imaginary numbers in this context.

#audio #midi #delay #MusicProduction
1
0
0

Jarkko Sakkinen

Just testing out a #Rug #crate called rug, which seems to give convenient access to libgmp, libmpfr and libmpc.

1
0
0

Jarkko Sakkinen

Understanding #audio and frequency distributions reflects a lot to #quantum gates. Similarly distribution is "the number" and goal is to make distribution to do the job or pursued balance for you by operating it with quantum gates.
0
0
0

Jarkko Sakkinen

#Bitwig 5.2 is best update since I started because it replaces so many external plugins with stock options:

  1. A dedicated clipper called Over (substitutes StandardClip).
  2. A glue compressor Compressor+ (substitutes The Glue).
  3. A a tilt EQ (substitutes Things Flip EQ).

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.

#MusicProduction #audio

1
0
1

Jarkko Sakkinen

Edited 5 months ago

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:

  1. Uses #KVM API to bootstrap wasm run-time inside a #AMD SEV-SNP VM.
  2. Uses /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).

#Linux #Rust #rustlang

0
2
1

Jarkko Sakkinen

Oh great #Bitwig 5.2 has stock plugins for PEQ-1 and MEQ-5 #pultec
0
0
1

vitaut 🤍❤️🤍 🇺🇦

BREAKING: C++26 will add destructive copy

1
2
1

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

1
2
0

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

0
2
0

Jarkko Sakkinen

Great, #Bitwig 5.2 has a stock #compressor, which I don't proactively hate ;-) I think the previous ones were quite horrible but this does the job (also glues nicely).
0
0
0

Jarkko Sakkinen

Found a #Parallax #Propeller 1 #CPU while cleaning up my place ("breadboard" version).

I wonder what I need to do to make that tick and how do you get a VGA adapter for it.
0
0
0

Jarkko Sakkinen

Edited 5 months ago

#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”:

  1. At launch visit in the protected mode and load GDT with code segment according to real-mode, limit for data segment set to 4GB, and return back to the real mode. CPU will just use the latest cached descriptors. This means that BIOS calls continue to work but data can be accessed with the full 32-bit address space, because x86 has opcode prefixes in real mode for 32-bit registers.
  2. Setup 320x240 256 color planar mode based on tweaking various VGA registers (invented by Michael Abrash originally). It has square pixels and can address multiple, and can page flip by setting the new address to CRT index port.

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 ;-)

#x86 #dos #assembly #intel #86box #gcc

1
0
1
Show older