Pinned post

Newer version of radicale CardDAV server require UID.

grep -r -L ^UID: ~/.local/var/lib/radicale/collections/collection-root/steelman/24b3f858-f15a-46a8-99a8-f306967793d9/ | xargs perl -i -MData::UUID -pe 'BEGIN {$ug = Data::UUID->new;}if (m/^END:VCARD/) {print "UID:", lc($ug->to_string($ug->create())), "\n"}'

time evtest /dev/input/event2 | perl -ne 'next unless (m/EV_KEY\), code \d+ \((KEY_[^)]+)\), value 0/); $stats{"$1"} += 1; END {foreach (keys %stats) {print "$_,$stats{$_}\n"}} BEGIN{ $SIG{INT} = sub { die "Caught a sigint $!" };}'

keyboard stats logger on

The amount of labor required to create (by hand, in Emacs) a PDF file with non-Latin-1 characters (unicode strings, CIDFonts) knocks me down. You need to extract font metrics and cmap from TTF and save them in the PDF regardless of whether you embed the font or not. WAT‽

steelman boosted

"Mummy, Daddy, where do SNEKs come from?"

"Well son, they come from pinecones and they look like this..."

(yes P2P Matrix fans - new pinecone simulator coming to you soon for all your P2P visualisation needs!!!)

Use "git branch --edit-description" and "git format-patch --cover-from-description" to manage your cover letters.

From what I read FIDO2 authentication seems like an interesting thing. Those, who know how TPM works might find this post by James Bottomley helpful in learning about FIDO2. blog.hansenpartnership.com/web

Me: Mom, can we have a center finding tool?
Mom: We have a center finding tool at home.

The center finding tool at home: youtu.be/SGvECUzaxDY?t=57

def mmperpx(x,y,a,d): return (2*d*math.tan(math.radians(a/2))/math.sqrt(x**2 + y**2))

x,y - sensor resolution
a - FOV
d - distance

Returns:

millimeters per pixel at distance d

steelman boosted
steelman boosted

Incredibly exciting to get official confirmation that Germany's health service (@[email protected]) has standardised on Matrix for secure decentralised communications, targeting all 150,000 healthcare organisations in Germany(!!!) 🤯 Read all about it at matrix.org/blog/2021/07/21/ger 💉🇩🇪🚀

steelman boosted

#OtD 6 Jul 1902 German resistance activist Alfons Pilarski was born in Upper Silesia. He helped setup the Schwarzen Scharen (Black Crowds), a militant anti-fascist fighting unit to protect workers' meetings from the Nazis. More info here: libcom.org/history/pilarski-al

Show older
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!