Posts
1886
Following
223
Followers
2368
Director of Linux Foundation IT. Currently in charge of kernel.org infra.

This account is for Linux/Kernel/FOSS topics in general: #linux, #kernel, #foss, #git, #sysadmin, #infrastructure.

For my personal account, please follow @monsieuricon@castoranxieux.ca.

MontrΓ©al, QuΓ©bec, Canada πŸ‡¨πŸ‡¦πŸ‡ΊπŸ‡¦
@penguin42 @monsieuricon there's randomness included for this reason.
0
0
1
Custom message-ids with mutt and coolname
Show content

Message-ID's are used to identify and retrieve messages from the public-inbox archive on lore.kernel.org, so it's only natural to want to use memorable ones. Or maybe it's just me.

Regardless, here's what I do with neomutt and coolname:

  1. If coolname isn't yet packaged for your distro, you can install it with pip:

    pip install --user coolname
    
  2. Create this file as ~/bin/my-msgid.py:

    #!/usr/bin/python3
    import sys
    import random
    import string
    import datetime
    import platform
    
    from coolname import generate_slug
    
    parts = []
    parts.append(datetime.datetime.now().strftime('%Y%m%d'))
    parts.append(generate_slug(3))
    parts.append(''.join(random.choices(string.hexdigits, k=6)).lower())
    
    sys.stdout.write('-'.join(parts) + '@' + platform.node().split('.')[0])
    
  3. Create this file as ~/.mutt-fix-msgid:

    my_hdr Message-ID: <`/path/to/my/bin/my-msgid.py`>
    
  4. Add this to your .muttrc (works with mutt and neomutt):

    send-hook . "source ~/.mutt-fix-msgid"
    
  5. Enjoy funky message-id's like 20240227-flawless-capybara-of-drama-e09653@lemur. :)

2
3
2
@securepaul I swear I didn't pick it on purpose! :)
0
0
1

K. Ryabitsev 🍁

At first, I picked an angry thread to analyze. Probably not a good example... or maybe too good of an example? ;)

https://asciinema.org/a/643432
0
0
3

K. Ryabitsev 🍁

Here's a quickie demonstration of using ChatGPT-4 to summarize email threads on LKML.

https://asciinema.org/a/643435
1
1
4

K. Ryabitsev 🍁

Edited 1 year ago
@vbabka @ljs @lkundrak @oleksandr "man of laurel?" weird, I could have sworn it meant "man of yanny"
1
0
2

K. Ryabitsev 🍁

It's a record high of +13Β°C in Montreal today. I'm enjoying it now, but I don't look forward to the forest fire season this summer. :(
2
3
9

K. Ryabitsev 🍁

Is it me? Am getting too old?
0
1
6

K. Ryabitsev 🍁

"This presentation was written by AI" is the modern day's version of "I'm seeing these slides for the first time."
0
0
3
@mpdesouza Do you mean, which lists require being subscribed in order to post?
1
0
0
@0xabad1dea not sure what you mean, the "Ode to Yoch" has always been my favourite piece.
0
0
3
@pixellight oh no worries, they are back at their original spawn point.
0
0
0
@pixellight my sources say they croaked.
1
0
0

K. Ryabitsev 🍁

Happy to welcome two new orange mayhems into our home.

(This is Tater. His brother Wesley is roaming somewhere out of reach of the camera.)
0
0
13
@ljs @a1ba @vbabka writing Perl is easy, you just redirect /dev/urandom into a file and lightly edit until it runs. ;)
0
1
6
Show older