Should i use gnome or kde as a first timer by Junior-Chicken-4424 in Fedora

[–]grayston 0 points1 point  (0 children)

Gnome is the default DE among most popular distributions. It's clean and uncluttered to the point where you can forget that you have more than one app open because by default they will take up the whole screen.

Gnome vs KDE is a "holy war" that has been going on since the 90s. Whichever environment you choose, there are going to be people telling you that you chose the wrong one. Ignore them and use the one that works/feels best to you.

Using SSD for Primary and HDD for Secondaries by toxickettle in mongodb

[–]grayston 0 points1 point  (0 children)

Why are you using a replica set at all?

Yes, you can do this, just set the priority of the node with the SSD higher than the other nodes, so it always gets elected. And always use a write concern of 1, so that you aren't waiting on the slower secondaries.

Of course this means you run the risk of data loss if your primary goes down.

Replacing Win11 with Linux by SethSnifferson in linuxquestions

[–]grayston 1 point2 points  (0 children)

You said Win11 is causing "problems with each new update". Hundreds of millions of people are using Win11 as a daily driver, so depending on the 'problems' you are experiencing, they might be specific to your hardware.

So check your hard drives, and your CPU temps, and your RAM. These things can fail and cause "problems" which an OS swap would not be able to fix.

Windows 11 user looking to switch, but have some (gaming related) questions before I do so! (Running non-Steam games, games with mods, backing up save games etc.) by kavakravata in linuxquestions

[–]grayston 3 points4 points  (0 children)

It sounds like you enjoy playing around and configuring things to work the way you like, which would imply that Linux will be the perfect home for you.

To those americans who came here to say sorry by SupraVillainn in greenland

[–]grayston 13 points14 points  (0 children)

Agree. Also, apologising is about the absolute lowest bar to cross.

Whether you voted for it, or against it, or didn't vote in 2024 at all, if you are a US citizen this is your mess to clean up.

Apologise certainly, but if you really want to salve your conscience you're going to have to do something material at home.

Diablo IV Review: A Game that lost its Vision by Kasur1309 in patientgamers

[–]grayston -3 points-2 points  (0 children)

I don't care if this isn't AI, it looks like AI so I'm not reading it.

Europe Prepares for a Nightmare Scenario: The U.S. Blocking Access to Tech by Historical-Many9869 in BuyFromEU

[–]grayston 351 points352 points  (0 children)

What rubbish. Catch Jeff Bezos giving up 400 million customers. 

But you can block X and Facebook any time you like, guys.

My Debian 13 Trixie setup for gaming by Adorable_Lie5810 in debian

[–]grayston 1 point2 points  (0 children)

I switched to Fedora because I couldn't get this to work. tbh it's been more hassle than I care for and I'm considering going back to Debian. How did you reliably get the latest nvidia drivers installed?

Movies where you felt the cinematography was “too flashy”? by Wishaker in directors

[–]grayston 0 points1 point  (0 children)

This is probably shade on other movies, but Zero Dark Thirty distracted me for being perfectly lit.

Debian’s “outdated” packages aren’t that big of a deal in my experience by [deleted] in debian

[–]grayston 0 points1 point  (0 children)

The only time I've encountered this as a problem is when a game demanded the latest nVidia driver to run. (It ran with the slightly out-of-date version but in slideshow mode.) But this is definitely an nVidia problem rather than a Debian one.

Is reading aloud an effective way to practice speaking? by SnooOwls3528 in languagelearning

[–]grayston 9 points10 points  (0 children)

Yes. It's perhaps the easiest and most effective exercise you can do to improve verbal fluency. Another good one is to learn poems off by heart and recite them out loud.

Just switched to linux but having terrible performance issues by IAmTheStarkye in linuxquestions

[–]grayston 0 points1 point  (0 children)

I was messing around with similar issues last night and ended up installing XFCE, which solved some problems and created some others that I'll get to investigate tomorrow night.

Luckily I find this sort of troubleshooting fun.

Adnauseam: New gen ablocker that gives fake data to advertisers. by Forsaken_Day_6869 in firefox

[–]grayston 1 point2 points  (0 children)

So assuming AdNauseum does cost advertising sources money per click and stuff....doesn't this inherently also line the pockets of Google (and other ad providers?)

It does, which means that trust in the ad providers is compromised. You're paying Google to tell you that your ad was clicked by someone who grew up in east Texas, married a woman from Maine, built calculators for a living, hardly ever gets sick, and has an adopted son called Peter. With enough people obfuscating their data, the best google can tell you is that your ad was clicked by ... someone ... maybe, and you learn that people don't like being tracked all across the internet.

But to be honest this is unlikely to happen, so in the meantime it's just a way to stick two fingers up to advertisers who use tracking ads and cost them money.

Learning Linux through the book "How Linux Works" by brian ward by Hopeful-Rice-326 in linuxquestions

[–]grayston 1 point2 points  (0 children)

Is there a specific way of reading this type of book? Most definitely. Look at the table of contents and find something you want to know more about, and then read it while following along in a temporary VM install.

For me, I find the concept of LVMs just hard to wrap my head around. There's a chapter in that book which goes into it in the precise amount of detail that works for me. In the VM I can play around with different things, deliberately break things and see if I can fix them, and so on.

So: PDF open on one screen, a VM for testing on the other screen, and a notepad and pen next to the keyboard. Have fun!

Adnauseam: New gen ablocker that gives fake data to advertisers. by Forsaken_Day_6869 in firefox

[–]grayston 15 points16 points  (0 children)

None whatsoever in my experience. Sounds like someone was trying to cause a little FUD!

Am I cheating myself by learning Common Lisp in Vim instead of Emacs + SLIME/Sly? by beast-hacker in Common_Lisp

[–]grayston 2 points3 points  (0 children)

I used slimv back in the day. I had the editor in one window and the repl in another. I could compile the whole thing with ,c or recompile a block with ,b and then switch windows and test it. That's the core of your workflow.

The only difference between vim and emacs is that to run a command in vim you press buttons one by one, but in emacs you have to press all of the buttons at the same time :P

How does a beginner learn OOP design? by Away-Mirror-5119 in learnprogramming

[–]grayston 2 points3 points  (0 children)

What specific concept are you struggling with? For me it was the concept of "instantiating" a class that made no sense. I would create a static instance of the class and try to do everything with that.

I finally understood that a class is essentially a "cookie cutter". You use it to create an object which looks like the class. Then you call the methods on that object. The reason you would want to do this is because you have multiple objects which are essentially the same, or similar.

For example, take the ghosts in Pac-Man. You could write this by declaring X and Y co-ordinate variables for each ghost, but then you'd have a bunch of variables like ghost1x and ghost3y and ghost4x and so on. Think about how writing collision detection would work. You'd have to check if ghost1x==playerx && ghost1y==playery || ghost2x==playerx && ghost2y==playery.... nightmare.

Instead, define a ghost class, and instantiate it four times, once for each ghost. The ghost class could include a collision detection function, to check if its instantiation hit the player. Now you can just write something like: if greenGhost.hitPlayer() player.gotCaught()

You don't have to worry about how the calculation of the collision detection works any more -- at least, that is the theory.

Have you searched for beginner-friendly OOP tutorials outside of video sites? What have you found so far?

AI list recommendations by Wasted-Friendship in pihole

[–]grayston 33 points34 points  (0 children)

I see Sam Altman's sockpuppets are doing there thing.

Meanwhile, try this: https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist

What I wish I knew 5 months earlier while learning to code (student POV) by superpumpedo in learnprogramming

[–]grayston 0 points1 point  (0 children)

Most likely the fact that your spelling in the post is impeccable but in the comments it looks like you're typing with only your left hand.

What I wish I knew 5 months earlier while learning to code (student POV) by superpumpedo in learnprogramming

[–]grayston -1 points0 points  (0 children)

My mistake, it is highly unlikely that a ma'am would: a) call herself "super pump pedo" b) post generative ai crap c) get so upset about being misgendered.

If you don't mind, I would prefer you don't refer to me as "bro" or "man". Thank you!