home.social

#b4 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #b4, aggregated by home.social.

fetched live
  1. B4 - инструмент обхода разноуровневых DPI на Go с удобной веб-мордой. Работает на уровне ядра Linux через NFQUEUE - перехватывает сетевые пакеты и применяет к ним техники обхода.

    habr.com/ru/articles/1055056/

    #b4 #proxy #go

  2. B4 - инструмент обхода разноуровневых DPI на Go с удобной веб-мордой. Работает на уровне ядра Linux через NFQUEUE - перехватывает сетевые пакеты и применяет к ним техники обхода.

    habr.com/ru/articles/1055056/

    #b4 #proxy #go

  3. B4 — сетевой мультитул по обходу блокировок

    С момента написания первой статьи о B4 прошло полгода. Казалось бы, не очень много времени, но софтина получила ну очень большое количество фич, о которых хочется рассказать подробно. Не буду скрывать: хабраэффект сделал своё дело, и благодаря большому интересу после первой статьи очень многие не разочаровались в отсутствии какого-то функционала, а активно помогали - коммуникацией, запросами, тестированием, - благодаря чему все эти фичи в B4 и появились. В итоге на сегодняшний день B4 - это не инструмент для обхода блокировок (коим и задумывался изначально), а полноценный сетевой мультитул с гибкой и продвинутой маршрутизацией таргетированного трафика.

    habr.com/ru/articles/1055056/

    #golang #netfilter #nfqueue #b4 #zapret #dpi #rkn #tspu #packet #sni

  4. Our Table has just started playing B4 - The Lost City (Goodman's 5e version).
    Our GM has *finally* got around to putting his long-awaited Mystara campaign together, and we're using this is a starting point.
    I'm playing an Elf Wizard out of Glantri.
    So far, we've entered the Pyramid, and encountered a swarm of Giant Fire Beetles!
    Will our Heroes emerge victorious, or be defeated by the 1st Foes?
    Stay tuned...

    #rpg #Dnd #B4 #ttrpg

  5. Our Table has just started playing B4 - The Lost City (Goodman's 5e version).
    Our GM has *finally* got around to putting his long-awaited Mystara campaign together, and we're using this is a starting point.
    I'm playing an Elf Wizard out of Glantri.
    So far, we've entered the Pyramid, and encountered a swarm of Giant Fire Beetles!
    Will our Heroes emerge victorious, or be defeated by the 1st Foes?
    Stay tuned...

    #rpg #Dnd #B4 #ttrpg

  6. sooo i tried using the new b4 review TUI for my last U-Boot PR and it was a bit of a disaster. I understand the process being a bit clunky to begin with but the whole process of actually setting up a branch was really involved. It failed to update a bunch of series on pathwork, and the b4 ty emails it generated had completely wrong commit SHAs

    I get that the intention is primarily patch review but even for that it feels less like a tool i can utilise to automate the process and more like an imposed workflow that offers little flexibility

    the thing that really pissed me off in the end though was realising that b4 review was VIBE CODED, kinda explains everything... This tool had so much potential but i struggle to see now how it will deliver when AI is involved in building it

    #kernel #maintainer #b4 #mainline #patchwork #foss

  7. sooo i tried using the new b4 review TUI for my last U-Boot PR and it was a bit of a disaster. I understand the process being a bit clunky to begin with but the whole process of actually setting up a branch was really involved. It failed to update a bunch of series on pathwork, and the b4 ty emails it generated had completely wrong commit SHAs

    I get that the intention is primarily patch review but even for that it feels less like a tool i can utilise to automate the process and more like an imposed workflow that offers little flexibility

    the thing that really pissed me off in the end though was realising that b4 review was VIBE CODED, kinda explains everything... This tool had so much potential but i struggle to see now how it will deliver when AI is involved in building it

    #kernel #maintainer #b4 #mainline #patchwork #foss

  8. Getting more comfy with the email patch workflow again.

    I also wrote some utilities for applying patchsets with #notmuch and #b4 -> codeberg.org/matthiasbeyer/not

  9. Getting more comfy with the email patch workflow again.

    I also wrote some utilities for applying patchsets with #notmuch and #b4 -> codeberg.org/matthiasbeyer/not

  10. #b4 seems to be on a really good path to be _the_ tool you want to have for reviewing in an email-patch based workflow. I think it looks awesome!

    #b4
  11. #b4 seems to be on a really good path to be _the_ tool you want to have for reviewing in an email-patch based workflow. I think it looks awesome!

    #b4
  12. B4 — обход DPI с веб-интерфейсом

    B4 - инструмент обхода DPI на Go с веб-интерфейсом. Хотелось сделать инструмент, который можно поставить на роутер или любой другой linux-девайс, открыть в браузере и получить работающий результат без возни с десятками аргументов командной строки.

    habr.com/ru/articles/982498/

    #go #dpi #dpiсистемы #typescript #nfqueue #netfilter #b4

  13. Re-reading #email patch workflow stuff and the #b4 and #publicinbox docs and ... maaan... that is the only true way of developing software together in large teams.

    I mean, I don't care for your 5 person project, do what you want.

    But for large projects, that really is the only way to develop that truly scales.

    Maybe, just maybe, #radicle can become the second way of doing that. Right now, it clearly is not (mainly because it is too young), but I still have hope!

    That said, #sourcehut is also really nice, but right now I like public-inbox a bit more. I guess you could combine the two, possibly?

    #git #github #shithub #gitlab #shitlab

  14. Re-reading #email patch workflow stuff and the #b4 and #publicinbox docs and ... maaan... that is the only true way of developing software together in large teams.

    I mean, I don't care for your 5 person project, do what you want.

    But for large projects, that really is the only way to develop that truly scales.

    Maybe, just maybe, #radicle can become the second way of doing that. Right now, it clearly is not (mainly because it is too young), but I still have hope!

    That said, #sourcehut is also really nice, but right now I like public-inbox a bit more. I guess you could combine the two, possibly?

    #git #github #shithub #gitlab #shitlab

  15. I want to process 4714 message-id's to collect some patch stats for the last year. I could collect with #b4 which uses the #lore archive but I wonder does it cache or will I end up with lots of redundant mbx files? Worse still would I just be hammering an overloaded server? I guess I should check out the #PublicInbox docs.

  16. I want to process 4714 message-id's to collect some patch stats for the last year. I could collect with #b4 which uses the #lore archive but I wonder does it cache or will I end up with lots of redundant mbx files? Worse still would I just be hammering an overloaded server? I guess I should check out the #PublicInbox docs.

  17. Having gotten through using "b4" once now, I generally like it. It pulls together all the things needed for sending a patch to one of the Linux development groups, making it much more difficult to forget something!

  18. #b4 #linux Having gotten through using "b4" once now, I generally like it. It pulls together all the things needed for sending a patch to one of the Linux development groups, making it much more difficult to forget something!

  19. I installed "b4" using "pipx", which sets up a virtual environment for the "b4" code and its dependencies. I looked for a way to set TMPDIR to the current working directory when running "b4".

    After some research, I found I could create a "foo.pth" file in the pipx virtual environment's site-pakages directory, which a 1 liner:

    import os; os.environ['TMPDIR'] = os.getenv('PWD')

    This did the trick! b4 prep --edit-cover now works with emacsclient and Magit!

    5/5

  20. #b4 #emacs #magit #python

    I installed "b4" using "pipx", which sets up a virtual environment for the "b4" code and its dependencies. I looked for a way to set TMPDIR to the current working directory when running "b4".

    After some research, I found I could create a "foo.pth" file in the pipx virtual environment's site-pakages directory, which a 1 liner:

    import os; os.environ['TMPDIR'] = os.getenv('PWD')

    This did the trick! b4 prep --edit-cover now works with emacsclient and Magit!

    5/5

  21. I'm not sure why Magit really cares. I tried using advice to get around this, but didn't quite get it to work.

    Looking at the "b4", I found the Python code for editing the cover letter. It creates a temporary directory and then "COMMIT_EDITMSG" in that directory. Looking at the documentation for tempfile.TemporaryDirectory suggested using an environment variable like TMPDIR. Okay, this is another idea, set TMPDIR to the current working directory.

    4/5

  22. #b4 #emacs #magit #linux

    I'm not sure why Magit really cares. I tried using advice to get around this, but didn't quite get it to work.

    Looking at the "b4", I found the Python code for editing the cover letter. It creates a temporary directory and then "COMMIT_EDITMSG" in that directory. Looking at the documentation for tempfile.TemporaryDirectory suggested using an environment variable like TMPDIR. Okay, this is another idea, set TMPDIR to the current working directory.

    4/5

  23. The file is showing in Emacs. I tried to exit the emacsclient session with C-x #, and it asked if I wanted to create the directory where the file lived. Sure, I say. But at this point its useless. So I looked for ways to work around or fix this problem. With Emacs, I suspect Magit was involved. Looking at the source code, I found the places where this error was triggered. There was no easy way to get around this, other than put the file in the repository directory tree.

    3/5

  24. #b4 #emacs #magit

    The file is showing in Emacs. I tried to exit the emacsclient session with C-x #, and it asked if I wanted to create the directory where the file lived. Sure, I say. But at this point its useless. So I looked for ways to work around or fix this problem. With Emacs, I suspect Magit was involved. Looking at the source code, I found the places where this error was triggered. There was no easy way to get around this, other than put the file in the repository directory tree.

    3/5

  25. "b4 prep --edit-cover" uses the EDITOR environment variable to figure out which editor to use. Apparently the default for bash on Fedora 42 is to set EDITOR to /usr/bin/vim. While I'm quite versed in vi (the predecessor to vim), I prefer to use Emacs. So I set EDITOR to emacsclient and tried again. But this time I got an error about the file not being in a Git repository, and b4 said the file hadn't changed.

    2/5

  26. #b4 #emacs #magit #linux

    "b4 prep --edit-cover" uses the EDITOR environment variable to figure out which editor to use. Apparently the default for bash on Fedora 42 is to set EDITOR to /usr/bin/vim. While I'm quite versed in vi (the predecessor to vim), I prefer to use Emacs. So I set EDITOR to emacsclient and tried again. But this time I got an error about the file not being in a Git repository, and b4 said the file hadn't changed.

    2/5

  27. I recently found a small typo in some Linux kernel documentation, and posted a patch to get it fixed. There were some problems with the patch, and it was suggested I use a tool called "b4" b4.docs.kernel.org/en/latest/i. I started using it for my next patch revision, but ran into a snag when editing the patch cover file.

    1/5

  28. #b4 #emacs #magit #linux

    I recently found a small typo in some Linux kernel documentation, and posted a patch to get it fixed. There were some problems with the patch, and it was suggested I use a tool called "b4" b4.docs.kernel.org/en/latest/i. I started using it for my next patch revision, but ran into a snag when editing the patch cover file.

    1/5

  29. Today, I presented the b4 tool to the Linux council at our office (talk was geared towards developers only though).

    My colleagues frequently encountered patch corruption issues with mail servers. They were impressed when I introduced the concept of web endpoint submission.

    Thanks to @monsieuricon for such a wonderful tool.

    #b4 #kernel

  30. TIL that you can pass lore links to b4 shazam 🤯

    #b4 #linux #kernel

  31. b4 tool for code contributors:

    The #b4 tool offers features that simplify the process for code contributors submitting patches. Currently, it is increasingly utilized in the #Linux kernel development workflow.

    Below are the commands to install and use it for the development workflow for developers.

    # Installing on Debian based Linux systems
    sudo apt install b4
    
    # Creating separate work branch
    b4 prep -n <patch_series_name> -f <commit_id>
    
    # Preparing the cover letter
    b4 prep --edit-cover
    
    # Retrieve recipients' email addresses
    b4 prep --auto-to-cc
    
    # Set the email subject prefixes
    b4 prep --set-prefixes "RFC RESEND"
    
    # Verify the patch before sending
    b4 send -o /tmp/presend
    b4 send --reflect
    
    # Sending the patch
    b4 send
    b4 send --resend v2
    
    # Updating the commit with review tags
    b4 trailers -u
    

    Detailed explanation:

    References:

    #debian #opensource