linuxmemes

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

ColeSloth, in Your ads dont work here, brand!

You run into issues where the website detects what you’re doing and blocks your access? It happens if I use ad blocking through my vpn.

vpklotar,

It’s happens sometimes but I must say, not very often. I could probably count on one hand how many times that have happened through my many years of using pihole.

dantheclamman,
@dantheclamman@lemmy.world avatar

If you have a significant other, they will discover said instances after about 5 minutes using the pihole and you’ll hear about it. I think it’s a kind of law of home networking.

Dehydrated,

Ublock Origin should prevent this, it’s better than any other adblocker

Subverb,

Yeah, my wife works in social media. We have to let ads in.

Octopus1348, in Your ads dont work here, brand!
@Octopus1348@lemy.lol avatar

My block ads Magisk module:

Dehydrated,

Bruh you don’t need root for this man. Just set up NextDNS with the Private DNS feature in Android, or use AdAway if you have a free Vpn slot.

chandz05, in Your ads dont work here, brand!

My Raspberry Pi SD card finally died after almost 10 years, and I was hosting Pi-Hole on it. After a year of Pi-Hole I didn’t realize how many things had freaken ads. They pop up everywhere! I really need to get a new SD card :(

swampdownloader,

10 years is a pretty good run for an SD card… was it an endurance SD? That’s what I’m running. Fried a non-endurance one in under a year, replaced it with an endurance and reduced log writing frequency with some config change and have been cruising for 3-4 years so far.

Telodzrum,

Endurance cards are so worth it. They’re what I use in my Pi units and our dash cams. I just whish I hadn’t fried so many normal cards before coming around.

chandz05,

Well I should clarify. I had retroPi on it for a number of years, but hardly used it. I finally repurposed it over the last year for Pi-Hole and Pi.Alert, so yeah I think this last year completely destroyed my SD card

KrapKake,

Then install log2ram to avoid constant writes to SD card. Or install DietPi instead of the stock OS, its installed automatically. Honestly DietPi just rocks for SBCs in general, good text UI and utilities.

chandz05,

Is dietPi the same as PiOS lite? I use PiOS lite with no GUI etc

KrapKake,

Probably not, think of it as a different distro. It is Debian based, and supports many different SBCs and not just the RPi. dietpi.com

chandz05,

That actually looks pretty cool. +1 for sticking with Debian too. I will give it a shot!

DannyMac,
@DannyMac@lemmy.world avatar

Yes! I kept going through SD cards and DietPi was suggested… It’s been rocking for years now.

Sirico,

Go sata m.2 next if you can

chandz05,

That is an absolutely great idea!

Dr_Fetus_Jackson,

Wow! 10 years is a long time for an SD!

Backups are so easy on Raspbian that every couple of years I swap out the SD cards from the old set to a new one, and just keep the old ones around in case one of the new ones decide to croak out.

havokdj, in Your ads dont work here, brand!

NANOMACHINES, SON

xan1242,
@xan1242@lemmy.ml avatar

If you’re so sure senator, why don’t you back it up with a source?

megaLime,

My source is that I made it the fuck up

dannym, (edited ) in :wq!

I prefer the extremely intuitive:

[C-R]=system(“grep -P “PPid:t(d+)” /proc/$$/status | cut -f2 | xargs kill -9”)

or

i:!grep -P “PPid:t(d+)” /proc/$$/status | cut -f2 | xargs kill -9[esc]Y:@"[cr]

It just rolls off the fingers, doesn’t it?

Edit: damn it lemmy didn’t like my meme because it assumes that characters between angle brackets are html tags :( you ruined it lemmy

EDIT 2: rewrote it, just assume that square brackets are buttons not characters

kogasa,
@kogasa@programming.dev avatar

This is how you get buffer files everywhere

Zaros, in A pre-historic city was discovered in the Antarctic.
@Zaros@lemmy.world avatar

I love this. I’ll also probably have nightmares tonight now that I’ve been reminded of Lovecraft’s stories. XD

caseyweederman,

He was so damn racist. Polaris is about those squat yellow people who got in when the kingdom let down its guard for a moment and now they’re all in and polluting the gene pool with their horrifying otherness.

pewpew, in Your ads dont work here, brand!
@pewpew@feddit.it avatar

Does YouTube trigger his anti-adBlock with a piHole?

Ashiette,

No because pi-hole does not block YT ads

LazaroFilm,
@LazaroFilm@lemmy.world avatar

YouTube ads come from the same server as the content so you can’t isolate them with pihole

Breakyfix,
@Breakyfix@lemmy.blahaj.zone avatar

uBlock Origin on Firefox still works great if you keep the filters up to date every once in a while c:

aard, in :wq!
@aard@kyu.de avatar

I always get annoyed when I’m on some system and nano pops up and I need to figure out how to kill that thing.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

Very intuitive - Ctrl + X… unlike vim.

Moshpirit,
@Moshpirit@lemmy.world avatar

Why not just using Micro? Ctrl + Q. Intuitive af

0x4E4F, (edited )
@0x4E4F@sh.itjust.works avatar

Yeah, sure, that works as well.

As long as I get to use modifier keys, almost anything is fine with me. We don’t live in the 70s, that was 50 years ago. If backwards compatibility is what they’re after, I’m sorry but I think they overdid it. Plus, you can just add them, the defaults don’t need to be changed.

voidMainVoid,

Why is Ctrl-X intuitive? Shouldn’t it be Ctrl-Q (for “quit”)?

mihnt,
@mihnt@lemmy.world avatar

CTRL+eXit

voidMainVoid,

In most apps, Ctrl-X means “cut”, not “quit”. Especially when it’s a freakin’ text editor!

I will grant you that it’s more intuitive than vi, but that is a very, very low bar.

GoosLife,

Ctrl-X in Nano is arguably more nonsensical, considering that vi was made in an era long (decades) before many of the conventions we know today came about. They were figuring it out in real time. And the criterium here is much simpler: it must be available on all keyboards so no fancy keys. That’s all.

On the other hand, when nano decided to use Ctrl+X for eXit, Apples Ctrl+X/C/V had already been brought over to Windows and Apple, and was also the de facto way for most Linux apps to handle these inputs although I do think it came before any “official” efforts to standardize these shortcuts in desktop environments.

0x4E4F, (edited )
@0x4E4F@sh.itjust.works avatar

It doesn’t have to be X, just the fact that it uses modifier keys is enough. It could be Q or anything else, just please, for the love of god, we live in the 21st century now, all keyboards have modifier keys, please, add modifier keys shortcuts as well.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

And it’s also an X, like any GUI app in any OS.

Reddfugee42,

I know I always try GUI methods in console

0x4E4F, (edited )
@0x4E4F@sh.itjust.works avatar

That’s normal for people that didn’t grow up in the 70s and 80s and GUI wasn’t the first thing they knew. I was a teen in the late 90s and early 00s, so yeah, we had GUIs for almost everything.

We’re basically trying to do catchup with the cool kids, but let’s face it, they live somewhat in the past regarding modifier keys and vi/vim.

UnfortunateShort,

Because it also sends the kill signal in every terminal I’ve witnessed yet… And you have it right on screen the second you start Nano.

GoosLife,

Can you please elaborate on the first part? It is not standard Linux terminal behavior to send the KILL signal on Ctrl+X.

UnfortunateShort,

Actually, you are right. I will stand by my point that Nano tells you what to press, but I wonder where I got the stuff about Ctrl+X… I am very positive that I have used it at some point (outside of Nano), but maybe my brain is playing tricks on me 🤔

mvirts,

I’m over here using Ctrl c all over the place to kill stuff…

0x4E4F,
@0x4E4F@sh.itjust.works avatar

Yeah, you could use that as well.

mexicancartel, (edited )

Because nano just shows how to exit, as well as some other basic functions at bottom

dipshit, (edited )

gg/un2x?-d/like

FTFY

0x4E4F, (edited )
@0x4E4F@sh.itjust.works avatar

I’m not planning on googling that 😒.

dipshit, (edited )

result: Very intuitive like vim.

  1. gg - top of the file
  2. /un - find “un” place cursor at u
  3. 2x - remove 2 characters
  4. ?- - search backwards for the character -
  5. d/like - delete everything up until the characters like

See, intuitive!

0x4E4F, (edited )
@0x4E4F@sh.itjust.works avatar

I don’t do that much search and replace in any terminal based text editor to actually use that on a regular basis. If I need edits like that, I use a GUI text editor.

dipshit,

Sure, I just hate moving from mouse to keyboard every few seconds as I code.

mvirts,

Same. As a vim user I now can’t quit nano.

jol,

Nano literally tells you all the shortcuts to your face.

aard,
@aard@kyu.de avatar

It shows a message which wastes valuable screen estate, especially on low resolution terminals, containing a message I have to read every single time because the keys are not in muscle memory, and never will because the bindings are stupid.

On systems I have control over the reaction to nano popping up is exiting, removing it, making sure the package system blocks reinstallation attempts, and go back to what I was initially doing in a sane editor.

nixcamic,

My man, most of us aren’t connecting to our mainframes on VT20s these days. Even on my phone screen the three extra lines nano takes over vi aren’t a problem.

Also if you have the time to go through all that you have the time to learn ctrl+x.

jol,

Sometimes I’m on call and all I have is my 3DS! Stop assuming by maximum screen resolution :'(

nixcamic, (edited )

https://lemmy.world/pictrs/image/acee93ba-b3e4-40b5-8986-f7647eb1c59e.png

I know you kid but even the 3ds fits a decent number of lines on screen.

jol,

You have so much pent up emotion over a text editor. Life can be so much more my friend!

dadarobot,
@dadarobot@lemmy.sdf.org avatar

First day on linux?

jol,

You know the bell curve meme? I’m just beyond this.

mariusafa, in A pre-historic city was discovered in the Antarctic.

Kenshi vibes

bruhduh,
@bruhduh@lemmy.world avatar

cdda vibes

Rooki, in Your ads dont work here, brand!
@Rooki@lemmy.world avatar

Tell me, what is your most reliable ad list source?

lemann,

Personally I use Stevenblack’s default one, in combination with a personal one that i’ve curated since 2019. Previously I used to use MVPS, however that list’s included in the SB default.

Stuff that tends to slip through the cracks with a lot of the common lists includes things like admiral 🤬, user session recorders, and app monitoring platforms like sentryio (useful for development, but I didn’t consent my activity being recorded). There’s also Bauer Media Group garbage that I’ve resorted to creating firewall packet inspection rules for, because they’re using a subdomain technique that’s even worse than Admiral’s autogenerated domains - at least with those you can use DNS analysis tools like dnsdumpster to uncover the rest of autogenerated domains in that batch

JGrffn, (edited ) in :wq!

Serious question. Why? No, for real, why? Why are these hard to understand editors still the default on most distros and flavors? Why haven’t they reinvented themselves with easier to understand shortcuts?

I get the feeling my comment will attract heat, but I’m a web dev, studied comp Sci for years, have worked for nearly a decade and have spent over half my 30 year old life using computers of all sorts. I’m by no means a genius and I by no means know enough about this or most tech subjects, but I literally only knew how to close vim with and without saving changes in a recent vim encounter, purely due to a meme I saw in this community a few days prior, and I had already forgotten the commands by the time I saw this post. Nothing about vim and alternatives feels intuitive or easy to use, and you may say it’s a matter of sitting down and learning, which you can argue that, but you can’t argue this isn’t a bit of a gatekeeper for people trying to dip their toes into anything that could eventually rely on opening vim to do something.

I won’t try to deny its place in computer history, or its use for many, or even that it is preferred by some, but when every other software with keyboard shortcuts agrees on certain easy to remember standards, I don’t quite understand how software that goes against all of that hasn’t been replaced or hasn’t reinvented itself in newer versions.

Then again, I have no idea what the difference between vi, vim, emacs, and nano are, so roast away!

camr_on,
@camr_on@lemmy.world avatar

Why would vim reinvent itself? Vim’s functionality has been standard for years, and works as expected. You can always use nano or something similar instead, which is probably a lot more usable to someone who doesn’t want to learn all the advanced functionality of vim or emacs

AngryCommieKender,

Then again, I have no idea what the difference between vi, vim, emacs, and nano are, so roast away!

Lol. Git Gud, Noob.

marcos,

Nano is the default on Debian for more than a decade. Maybe two. I don’t think vim is the default on any largely use distro now.

Are you actually asking why people use them?

captainjaneway,
@captainjaneway@lemmy.world avatar

Vi is meant for old school and modern terminals. Ctrl+S or Ctrl+C had very particular purposes in software control flow. With Vi you can communicate via SSH on almost any unix file system. It’s basically a universal editor that doesn’t require a mouse or a lot of keys on a keyboard. You can get away with just a subset of the ASCII set.

So for one, it’s kind of like having a backwards compatible piece of software that exists on almost any system you might need to remotely control via a keyboard with no GUI.

For two, once you do learn how to use Vi/Vim/Emacs, you’ll be far faster at typing. It has several useful tricks for automating typing (faster copy/paste, copy/paste n-times, jump around lines/chars, go-to lines, search via Regex, etc.) which are particularly useful in a programming context.

Generally, it’s worth a developer spending at least a day or a week typing only in Vi for programming. Yes, you’ll be slow and clunky. But the moment you have to SSH into a server and make meaningful changes to a file, you’ll be happy you spent the time.

taladar,

Ctrl+Q was also in use back then to restart the Ctrl+S flow control IIRC

pipows,
@pipows@lemmy.today avatar

Why are these hard to understand editors still the default on most distros and flavors

I think nano is usually the default nowdays. Nano os pretty minimal and has it’s keybinds always on display so you don’t need to memorize them.

Why haven’t they reinvented themselves with easier to understand shortcuts?

Nothing about vim and alternatives feels intuitive or easy to use

(Neo)vim doesn’t need to reinvent itself to be more accessible, because it does what it does very well. I’m a web dev and have used vscode like anybody else for a long time. I decided to try neovim because vscode was performing badly, but kept me using it because of how good the developer experience is. Once you learned how to use it, there is just nothing better.

but when every other software with keyboard shortcuts agrees on certain easy to remember standards, I don’t quite understand how software that goes against all of that hasn’t been replaced or hasn’t reinvented itself in newer versions

In a way, it has been replaced. Most people will use a user friendly IDE and ignore vim. The thing about vim is that it does things in a fundamentally different way than any other editor, so reinventing itself would mean loosing everything that makes it good, then you better off using something else.

Then again, I have no idea what the difference between vi, vim, emacs, and nano are

Nano is a simple, easy terminal text editor; vi, vim and neovim are three versions of the same quirky and hard, but very good text editor/IDE; emacs is a quirky, but kinda bad editor that has amazingly good extendability.

azertyfun,

Is vi still the default? On Debian it sure isn’t, nano is the default and has been for years, and I can only assume the debian derivatives have all followed suit. That’d already be most new installs taken care of.

If you find something that opens vi unexpectedly, double-check $EDITOR’s value then file a bug report and tell them to follow $EDITOR.

taladar,

Just to add to that some programs also use their own variable like GIT_EDITOR, SVN_EDITOR,…

voidMainVoid,

Some people like vim the way it is. That’s why they haven’t re-invented it. If you want to use a more intuitive text editor, there are plenty available (such as nano or micro).They don’t need to turn vim into a clone of something that already exists.

As for why it’s still the default… It’s the same reason why everybody uses QWERTY keyboards when Dvorak is clearly superior. People already know how to type with QWERTY and they don’t want to take the time to re-learn with a new layout, change their workflows, etc.

It isn’t universal, though. Garuda Linux defaults to micro. The web dev boot camp I was in didn’t bring vim up at all! We only used nano! I think that was a disservice to the students, but the instructors must’ve thought that it would be too confusing.

rtxn, (edited )

To ensure the Unix-like standard of maximum backwards compatibility. Vi (the original, before Vim) was made in an age where computer keyboards might not have had luxury features like arrow keys, but did have alphanumeric keys and minimally competent users. It has worked for almost half a century, so unless you’re Microsoft, why would you change it?

Even today, many people prefer it because you don’t have to move your hand far away from the home row while typing or navigating, and the modality gives the user a much greater toolkit (seriously, I just about nutted when I discovered d i "). Not having to rely on modifiers and the arrow keys also reduces the risk of the repeated stress injury known as Emacs pinky.

lseif,

i mean… skill issue 🤷

johannesvanderwhales,

Because vim (and emacs too!) is a powerful editor that works purely on command line and most people who are experienced in the Unix world are generally familiar with it. There are plenty of easier editors to use, like nano, that are also widely distributed and you are free to change your default. Being really powerful but you kind of need to know what you’re doing is basically unix’s whole thing.

bitwaba,

As a ~20 year vim user, and by no means a proficient power user (any time I end up in recording mode, I just mash ESC repeatedly until this start behaving normally again.), I think it’s just “it’s easier for someone that doesn’t know how to use it to learn, than it is for everyone that already knows how to use it to relearn”.

Like the damn scroll options on laptop trackpads. Multitouch scroll down = scroll down. Then someone decided it needed to match the way phone scrolling works after smartphones became popular, so now there’s lots of scroll down = scroll up software behavior. But the options are still there to behave neither way. If you don’t like the vim commands, you’re free to install something that behaves in a way that you expect. If you do like vim commands, install it and get the behavior that users have come to expect for the last 20+ years.

chris, in :wq!
@chris@l.roofo.cc avatar

<span style="color:#323232;"><ESC>
</span><span style="color:#323232;"><CTRL>+Z
</span><span style="color:#323232;">killall -9 vim
</span>
user224,
@user224@lemmy.sdf.org avatar

Alt+SysReq+O

Hawke,

Just SysRq. Alt+PrtScr is how you press SysRq Just like you wouldn’t write “shift+1” instead of “!”

construct_,
@construct_@lemmy.ca avatar

And then sudo apt install nano

0x4E4F,
@0x4E4F@sh.itjust.works avatar

No no no no, it’s sudo xbps-install -Suv nano 👍.

bitwaba,

If you can remember this, you can remember how to save and quit

chris,
@chris@l.roofo.cc avatar

It’s just a meme. I actually use vim regularly. But this is funnier.

superduperenigma, in Linux too mainstream for some 🤷

Do you fear God?

Yes -> TempleOS

CheshireSnake, (edited )
@CheshireSnake@iusearchlinux.fyi avatar

In puberty? Hannah Montana Linux.

Kim Jong Un is god? Red Star OS. There’s a Linux distro for everyone.

BosnianCevap,

Are you sus?

Yes --> AmogOS

SVcross,
@SVcross@lemmy.world avatar

I thought you were kidding. Can’t believe it is a real thing.

God, I love the internet.

pewgar_seemsimandroid,

catgirl? UWUNTU

Duamerthrax,

Do you make a furry comic from the 90’s?

Yes -> Amiga

KSPAtlas,
@KSPAtlas@sopuli.xyz avatar

Context?

Duamerthrax,
deathmetal27,
caseyweederman, in Very useful tip

sudo rm -fr /* is short for sudo rm --for-real /*

thefartographer,

Super-do real-magic --for-real /* (<- that’s a magic wand)

Tetsuo,

Remember that AI answer that said that adding -f option was to get a confirmation before deletion ?

I’m a bit concerned that this kind of meme will get a lot more real when people will blindly trust AI for commands.

Unfortunately I couldn’t find the post in question but if I recall it was GitHub AI telling boldly that you can add -f to your RM command to get a confirmation…

Read the man people. RTFM is still a good advice.

dipshit, in Linux too mainstream for some 🤷

logic-gate-keeping

PrismMind,

I wonder if we can make a 8 bit adder out of gate keeping

lseif,

no its NOT

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 31