bew :nixos:​:neovim:

Happy french developer hacking some projects ;) Mainly playing with NixOS, neovim, and a bit of Rust!

bew :nixos:​:neovim:bew@floss.social
2025-06-26

We nicely landed some documentation generation in markdown & vimhelp from Lua annotations for the #Neovim LuaSnip plugin, the best snippet engine!
github.com/L3MON4D3/LuaSnip/pu

This is the big step toward having better in-editor LSP docs and type checking for arbitrary complex snippets definitions 🚀

Absolutely loved the collaboration on the PR !

bew :nixos:​:neovim: boosted:
Julia Evansb0rk@jvns.ca
2025-06-24

delighted to announce that my new zine "The Secret Rules of the Terminal" is out today!!

You can get it for $12 USD here: wizardzines.com/zines/terminal

The Secret Rules of the Terminal, by Julia Evans - The cover illustration depicts three people doing arcane terminal magic in a temple with a smoking censer in the background. Each of the three people has curly brown hair and light brown skin. They are all wearing dresses, billowing cloaks, and utility belts with keyboard symbols on them. The one on the left holds a palette of paints and a brush. The one on the right has a staff with a $ symbol on it and a starfish at the top. The one in the centre has a sword and is reading from a book whose cover says “>_” and “./”, which rests on a lectern with a smiling snake wrapped around it.
bew :nixos:​:neovim:bew@floss.social
2025-06-24

@jbz I'm so waiting for this, my OnePlus 5 is getting old 😄

bew :nixos:​:neovim:bew@floss.social
2025-06-21

@kde Thank you for not just pushing Wayland down our throat like some distros & another DE starting with G 😬

bew :nixos:​:neovim:bew@floss.social
2025-06-21

@wez So now you're in EU timezone 😃
Hope you're well, good luck with the move!

bew :nixos:​:neovim: boosted:
Julia Evansb0rk@jvns.ca
2025-06-20

here's the final version of the "redirects cheat sheet" draft I posted a while back!

("The Secret Rules of the Terminal" is finished! 95 beta readers have read it! the copy editor is done! technical review is done! the illustrator has made the cover! It's going to be out on *****Tuesday June 24*****")

cmd > file.txt
cmd >> file.txt
cmd < file.txt
cmd 2> file.txt
cmd > file.txt 2>&1
cmd1 | cmd2
cmd1 2>&1 | cmd2

three gotchas:

1. cmd file.txt > file.txt  will delete the contents of file.txt

some people use set -o noclobber (in bash/zsh) to avoid this

But I just have "never read from and redirect to the same file" seared into my memory.

2. sudo echo blah > /root/file.txt doesn't write to /root/file.txt as root. Instead, do:

echo blah | sudo tee /root/file.txt

or

sudo sh -c 'echo blah > /root/file.txt'

3. cmd 2>&1 > file.txt  doesn't write both stdout and stderr to file.txt. Instead, do:

cmd > file.txt 2>&1

panel 3: cat vs <

I almost always prefer to do:

cat file.txt | cmd

instead of

cmd < file.txt

it usually works fine & it feels better to me

using cat can be slower if it's a GIANT file though

panel 4: &> and &|

some shells support &> and &| to redirect/pipe both stdout and stderr

(also some shells use |& instead of &|)
bew :nixos:​:neovim: boosted:
Xe :verified:cadey@pony.social
2025-06-20

I have the domain probably-not-malware.lol, what is the most suspicious thing I can put on it?

bew :nixos:​:neovim:bew@floss.social
2025-06-19

@cpages Nice j'avais loupé l'info, jvais essayé de venir (1ere fois)

bew :nixos:​:neovim: boosted:
2025-06-18

@madkiwi @brazel you are both of.course correct. Whatsapp very likely wants email addresses to improve.meta's tracking machine accuracy and reach, and sell it under "for your security" because it sounds much better.

bew :nixos:​:neovim:bew@floss.social
2025-06-18

@ariasuni saw the same today, was very puzzled for a minute ^^'

At least they made sure everyone knows they started their enshitification process for that

bew :nixos:​:neovim:bew@floss.social
2025-06-18

How is it that the App Killer app on my #supernote Nomad made the stylus & gesture support bug sometimes... For example in Atelier app, the palm detection was basically non-existant but it worked well in the default Note app.
After discussion with the support they told me to try to remove it and things suddenly started working better.

The question is _WHY_ ?

And how do you people close sideloaded apps if not using that app? (since there is no 'recent apps' screen on their custom Android OS) 🤔

bew :nixos:​:neovim:bew@floss.social
2025-06-18

@changelog yay another 'how to stop procrastinating' method I can checkout to continue procrastinating 😅

bew :nixos:​:neovim:bew@floss.social
2025-06-16

@luj oh nice!

bew :nixos:​:neovim:bew@floss.social
2025-06-16

@luj Why not? 😄

joke aside, what is it?

bew :nixos:​:neovim:bew@floss.social
2025-06-16

@John_Livingston ah oui alors là tu cherches la difficulté x)

bew :nixos:​:neovim:bew@floss.social
2025-06-16

@John_Livingston la meilleur solution c'est quand même de n'avoir que des paires de la même couleur ..

stackoverflow.com/questions/14

bew :nixos:​:neovim:bew@floss.social
2025-06-16

@ploum
Pour les pouces (sur 2 touches de chaque côté, ZSA Voyager) c'est plutôt simple:

A gauche: Alt & OS (nav layer: Shift, pratique pour avoir tous ses doigts pour faire des majuscules)

A droite: Backspace (hold: nav layer) & Espace

Perso j'ai pas de altgr, tous les symboles sauf `,;:!` sont sur un layer dédié que j'accède avec la touche q (hold)

De l'autre côté de la main j'ai:

A gauche: Escape (hold: Ctrl)
A droite: Enter (hold: Enter)

configure.zsa.io/voyager/layou

bew :nixos:​:neovim: boosted:

YouTube rolls out more unskippable ads that make viewers wait even longer to watch videos - Dexerto

dexerto.com/youtube/youtube-ro

> YouTube is testing a series of new unskippable 30-second ads that will appear far more often for viewers.

Go @peertube and help fund them. Donate now to improve the mobile app!

#youtube #google #GoogleIsSpyware #ads #enshittification #peertube

bew :nixos:​:neovim: boosted:
musicmatze :rust: :nixos:musicmatze@social.linux.pizza
2025-06-12

#followerpower needed:

Does someone have a #gitlab workflow that is able to open backport MRs for successfully merged MRs that have a specific label?

For example: My MR has a label "backport::release-0.1.0". That MR is merged to master.
Now the workflow creates a new MR, targeting the "release-0.1.0" branch with the changes from my original `git cherry-pick -x`ed, or if that fails it comments on my original MR with a message indicating that cherry-pick failed.

Please boost for maximum visibility!

#developersOfMastodon #softwaredevelopment #devcommunity

bew :nixos:​:neovim:bew@floss.social
2025-06-10

@nebucatnetzer @jeremy for the second record, adding them to the index is enough, no need to stage them. This can be done with `git add -N` (`-N` being the short flag for `--intent-to-add`)

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst