reallychris

joined 2 years ago
[–] [email protected] 1 points 2 years ago

yeah i just read this post header, carried on scrolling, clicked another, and got sent to a sports post. i wouldn't mind knowing how this bug can manifest itself in such an oddly specific way, but only if it can be done in say, a character limit of 300-500 characters.

 

like the title says, i've been trying to replicate the snippet functionality of vim ultisnips, so i can expand "fn" into find ./ '*$1* , and then at $1 i can type "or" to expand to find ./ \( -name '*$1*' -o -name '*$2*' $3 \) $4. if i need to add a third pattern to that i can add onm at $4 to expand into -o -name '*$1*' $2 where i can add yet another onm at $2, or "! or" to add a bunch of patterns i can exclude. i have a bunch of these set up in neovim, for a bunch of commands, and they save me so much time, but when it comes to writing them in the terminal it feels like i'm typing in porridge.

i know i can open the current line in $EDITOR, and this is super useful, but it still breaks my flow more than i'd like, and unless the command is particularly long and awkward it's easier just to bash it out like a caveman.

there's also a tool called "pet", but despite going over the github page a few times, i can't work out whether it will offer the ability to nest snippets like this. it seems like it's just a glorified version of the functions i can set in my zshrc, where i'd need to write all the various combinations of the find command (for eg), rather than the flexibility of ultisnips. if you use pet and can confirm that it does this, then consider the thread closed ha.

sorry for the long post. i'm not really a codey scripty person, i'm just somebody who installed linux mint a few years back and realised that the command line is sort of really cognitively ergonomic (most of the time).

[–] [email protected] 2 points 2 years ago

one that might play better in northern england for me - an ironic "let's 'av it". not the full on "LET'S 'AV ITTTTTTTTTTT woo" just a dead pan 'right, let's 'av it, eh?'

[–] [email protected] 14 points 2 years ago

yeah that one annoyed me especially as the only reason netflix ever made money was because they won the war of convenience against torrent sites.

[–] [email protected] 26 points 2 years ago (5 children)

my expectations weren't very high, given how the twitter exodus played out, seeing some of the people who made very bold statements about never coming back... coming back... and subscribing to twitter blue.

you're never going to take down a giant like reddit, or twitter, or facebook, or whatever, in one swift blow. they're probably going to get through this. and your average social media user doesn't want to bring down the status quo, they just want to look at funny pictures of dogs. and that's fine. the real victory to be had is showing people that things can be done differently. enough people will stay on fedi servers to keep a community going, and by the time the next bunch of disgruntled posters come along there will be more content to keep them engaged

[–] [email protected] 7 points 2 years ago

i vote sub lemmies, because i too keep catching myself say subreddits spits

don't tell anybody but i'm still doing tweets on mastodon.

[–] [email protected] 3 points 2 years ago

glad to help. i've had all the same worries myself. it's different, and far from perfect, but the average user is more empowered in where exactly that line is drawn.

[–] [email protected] 8 points 2 years ago (2 children)

the torrent analogy is pretty good actually, ISPs can block certain connections so a good chunk of users miss out on the swarm, and the swarm misses out on them. where federation differs from choosing an ISP is it's far easier to switch your provider to this service than it is an ISP.

and where a given instance draws the line on censorship isn't the be all and end all of whether other instances federate with them. as i see it, though my understanding of this comes from mastodon, even if one server decides to properly block another, a third server might chose to limit instead, if at all. there are block lists but that requires a very obvious and widely shared red line on freedom of expression, where there are very few places on the open web where you'll see less censorship than that.

in the end, wherever a given instance draws the line, is far more democratic than other social media sites. it's easier to think that twitter, or reddit, or facebook, is more accountable, because there's at least one guy everybody can point to to blame when something goes wrong, and sure, there'd be something in that, if the scrutiny they get actually changed anything.

[–] [email protected] 3 points 2 years ago

neovim is here but i'm still waiting on the expanse!

that's pretty much most of my personality covered.