@kadei
This is one of the worst things I've ever seen
@rolenthedeep @kadei Confluence? It could look like it but unfortunately no, there's way worse…
@kadei this is too fucking funny wtf
@kadei while true; do mkdir --rate ☹; sleep 1; done
@lanodan besides the point but you might find it valuable anyway: you can do while sleep 1;
@dngrs
Oh my god! I'm constantly doing `while true; do ...; sleep x; done` and being able to do it more cleverly and save five characters makes me UNREASONABLY happy. πŸ˜†
Thanks for mentioning it! πŸ’›

@lady_alys @dngrs Thanks for this hint as well. I've experimented with lots of while-conditions and commands and ! commands, but had the sleep _always_ in the loop as well.

In the given case I'd drop the sleep altogether and see how fast the rate limit of the API catches up. :D

@jesterchen @lady_alys
While we're on the topic of shell programming anyway, I feel the need to share this gem of cursed knowledge: https://mywiki.wooledge.org/BashPitfalls
BashPitfalls - Greg's Wiki

0 star, I don't have the permission, that's ludicrous !
πš–πš”πšπš’πš›β€‚--πš›πšŠπšπšŽβ€‚'π™Ύπš–πš’πšπšπš’πš—πšβ€‚"𝚘𝚏"β€‚πš’πšœβ€‚πšœπš•πš˜πš™πš™πš’β€‚πšπš›πšŠπš–πš–πšŠπš›.'
@kadei mkdir --will-cite
@kadei Listen up, Satan....
@kadei i see this and take strangr solace in the fact that I am not a professional computer toucher
My deepest sympathies to you lot
@niedlichenacktschnecke @kadei "computer toucher" sounds gross and perverse.... ewwww
@fiend_unpleasant @kadei a term made up not by me, but by actual touchers of computers (better?)
@kadei how likely are you to recommend `ls` to a friend? ( ) 1 ( ) 2 ( ) 3 ( ) 4 ( ) 5 ( ) 6 ( ) 7 ( ) 8 ( ) 9 ( ) 10
@kadei I think I know just enough bash hackery to make this a thing
@kadei "alias mkdir=mkdir -q" πŸ˜†
@tshirtman what's -q
@zy
usually it's "quiet" on potentially verbose cli tools.
@kadei Please don't encourage them to ask for ratings of the rating function.
@kadei πŸ™ Default is too noisy, needy

@kadei https://git.plux.wtf/ailnoth/_snippets/src/branch/main/zsh/.zshrc_rate

So... I built something for .zshrc because of this....

cc @siina

@ailnoth @kadei @siina great, now do a graph that shows the net promoter score over time for various tools πŸ˜‚
@neverpanic Well,l been thinking about building asome kind of backend in GO. and meybe even build a stupid API server for it. And do really stupid stuff (and see if it is possible to get to work in other shells too, bash does not have as fancy hooks for example) @kadei

@ailnoth @neverpanic @kadei

Love this thread so far. Might I mention you would need some kind of check up on GDPR if you are to collect data like this....?

@n not applicable for what I’m intending to build as I will not host a public server. But provide something you can self-host and play around with. GPDR aside, hosting something to the public that can collect data from the shell is a way to big security risk, as someone, somewhere will accedently end up sending something they should not have. @neverpanic @kadei

@ailnoth @neverpanic @kadei

Surely nothing a license agreement and GDPR consent banner couldn't handle, though. THEN we could make some directories.

I wonder though, this infrastructure has to come at a cost. How would it be financed? Users seem to be accustomed to creating directories at a whim, for free even, so I am thinking that maybe there needs to be a free tier to this, ad-supported I suppose, for low volumes of directory creation.

@n DRM + Cloud Activated Licenses of course.
@ailnoth @kadei @siina bookmarking this for next April fool's Day

@kadei Update! I got it working in bash too by doing weird things:

https://git.plux.wtf/ailnoth/_snippets/src/branch/main/bash/.bashrc_rate

It can have some stuff fixed like filtering out the call to the custom_command function and such... But now it does not matter if your run #bash or #zsh, Y'all can join the #pain

_snippets/.bashrc_rate at main

_snippets - Random Snippets

ChaosGit: Where Ailnoth hosts their code

@ailnoth

Could someone build this into Vi?
"How would you rate your quitting experience?"

@kadei @siina

@rotherstuebs

I mean the current approach would ask you to rate *any command* ... vim / neovim is fuzzy about plugins that hook directly to it, and screw around with :q! for example.

@kadei @siina

@rotherstuebs @ailnoth If you can get it to wait a split-second after "exiting" and showing the shell before putting you right back where you exited from to ask the question, that'd be peak.
@griibor Not in a sane way, as my process will be halted until the shell have exited for whatever reason. Or rather with the .zshrc version no, maybe if I do some ohmyposh like integration into the shell, but that will be annoying for reasons to not collied with other shell stuff. @rotherstuebs

@ailnoth @kadei @siina

Needs more β€œLike and Subscribe!”

@ailnoth small heads-up, the link is no longer accessible due to certificate issues
@mxk yeah. My gitea died in a spectacular fashion and have not had the time to rebuild the containers in my k8s cluster so I guess you are greeted by the fakesigned ingress certificate atm, but work has been insane but some day soon 😹
@ailnoth no hurries 😬
@ailnoth any update? April first is getting closer and I would have use for it πŸ˜‹
@mxk I have the raw git repo, so I can dig it out from there when I'm by a computer. :P
@kadei
....coming to an Ubuntu Pro terminal near you! πŸ˜„
@kadei Rate mkdir 5 stars and get 1 month free!

@kadei

It was :πŸ˜ƒ
Until you asked.
Now it's: πŸ‘Ή

@kadei Atlassian products remain the worst Australian export
@kadei Damals hielten wir die TΓΌren, die "Sie haben eine einfache TΓΌr sehr glΓΌcklich gemacht." fΓΌr reine Phantasie. Douglas Adams hΓ€tte die TΓΌren um feedback heischen lassen sollen.
@reini @kadei
Thank you for making a simple shell command very happy!

@kadei But Linux wont popup "You have asked me to create a folder here, are you sure you want to create a folder here?"

"Are you really sure?"

There is nothing so annoying to me as playing 10000 questions when trying to just DO something.

HEY GIMP, YES, I __ALWAYS__ WANT TO OVERWRITE THE FILE **dont ask again**