Posts
2041
Following
230
Followers
2517
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 πŸ‡¨πŸ‡¦πŸ‡ΊπŸ‡¦
@trini Run "which b4" to make sure you don't have some alias or symlink you forgot about. :)
1
0
0
@trini Hm... I notice that it's missing from the manpage, but 0.13 does certainly have it if you look at `b4 shazam --help`
1
0
0
@trini --merge-base HEAD should do what you need, no?
1
0
0

Broke: Licensing personal projects as AGPL so mega-co's can't use them.

Woke; Writing personal projects in C, so mega-co's can't use them.

1
8
1

K. Ryabitsev 🍁

NTS: before getting frustrated that ntp is refusing to set the correct time on the server, maybe check if it's actually your laptop that has a 30-minute clock skew...
0
0
9
re: Conspiracy theory: TikTok is operating a Chinese cyberweapon
Show content
@drewdevault 100%. At least they still use the bot identifier in the user-agent, making it possible to do a string match and 403 them to all heck.
0
0
2
@drewdevault Ffffffuuuuuuu
0
0
1

LWN.net is now @LWN@lwn.net

[$] LWN.net Weekly Edition for February 29, 2024 https://lwn.net/Articles/963168/

0
1
0

K. Ryabitsev 🍁

I feel terrible, but I haven't laughed this hard in a long time.
7
23
67
@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
Show older