There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

steeznson , to linux in Btw

You should try gentoo as a therapy replacement next. It’s basically the adult version of maintaining a long running Animal Crossing save.

Every morning I wake up, grab a coffee and update my system @world. Almost every day it goes without a hitch and I watch the system evaluate and resolve any incongruities that might emerge from updates by itself. Other times I might need to make a intervention in the dependencies to guide it to a resolution; but it’s a small nudge in the right direction, like tweaking a miniature ship inside a bottle.

This is partially tongue in cheek but I unironically get a lot of joy out of administrating my PC: Having it completely customized and working exactly like I need it to.

milicent_bystandr ,

Gentoo: the Tamagotchi Penguin

nyan ,

Well, you do have to feed, er, update it at least every six months if you don’t want to be left with an unholy mess to clean up.

0x0 ,

I’d advise every week, within six months a lot has changed and you may end up with messed-up inconsistencies.

nyan ,

Six months is the max that’s supposed to be supported. (Longest no-update period I’ve ever sorted out was twelve months. Possible, but time-consuming.)

delirious_owl ,
@delirious_owl@discuss.online avatar

Fucking amateur. Linux from scratch

0x0 ,

USE flags are so addictive…

tal , to linux in Btw
@tal@lemmy.today avatar

<span style="color:#323232;">$ grep ^GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
</span><span style="color:#323232;">GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=5 plymouth.enable=0 init=emacs -- -e doctor"
</span><span style="color:#323232;">$
</span>
Hikermick , to memes in Yeee yee

I don’t know. People will proudy tell you they are staunch conservative anti socialist, all while collecting a check from the government

Cowbee ,
@Cowbee@lemmy.ml avatar

To be fair, social programs aren’t Socialism.

Overshoot2648 ,

I know people that work at an electric consumer cooperatives that are the same way. Nothing says capitalism more than communal ownership I guess. :/

N_Crow ,
@N_Crow@leminal.space avatar

Then, what are them? (Legit question)

Cowbee ,
@Cowbee@lemmy.ml avatar

Social Programs are just functions of government, they don’t necessarily have any direct ties to Mode of Production. There are examples of Socialist social programs, such as Single Payer Healthcare where everyone along the Healthcare chain is a government employee and the Healthcare industry as a whole is owned and run by the Workers via the state, but most single Payer Healthcare programs heavily involve privatized companies that are paid by the state.

ColdWater , to linux in Btw
@ColdWater@lemmy.ca avatar

But I need therapy after installed Arch

Bigoldmustard , to linux in Btw

I tried buying a used thinkpad and putting Linux on it, but then it stopped charging correctly after 2 weeks. So I went back on adhd meds and got a new job and turned my life around.

SturgiesYrFase ,
@SturgiesYrFase@lemmy.ml avatar

By turn your life around you mean bought a new Think pad and put Arch on it, right?

nexguy ,
@nexguy@lemmy.world avatar

The ol’ 360 life turnaround

flashgnash ,

Honestly I thought I was doing good for my technical knowledge by playing with Linux and it has helped but there comes a point where I hit a plateau with that and now I just end up endlessly tweaking and just wasting time on it

HumanBehaviorByBjork , to linux in Btw
@HumanBehaviorByBjork@hexbear.net avatar

honestly just start abusing drugs

PaX ,
@PaX@hexbear.net avatar

I simply do both

It’s not working agony-deep

TokenBoomer , to memes in Yeee yee
UsernamesAreDifficult , to linux in Btw

I mean, if it helps why not! I honestly really do have a lot of fun tinkering with Linux, it’s one of the big draws of the OS to me.

milicent_bystandr ,

Because mumble mumble no Windows into your soul

UsernamesAreDifficult ,

I don’t like Windows. They leak a lot of air, they are expensive to replace, and you usually just end up covering them anyway.

I also don’t like the OS much either. lol

spittingimage ,
@spittingimage@lemmy.world avatar

My submarine functions so much better since I nailed them all shut.

donio ,

Costs a lot less than therapy too.

Simmy , to linux in Btw

Damn I’ve done this stuff. Even installed Gentoo on Raspberry Pi 400 for no reason. Maybe I’m not taking the right meds?

Murvel , to programmer_humor in C++ oop in a nutshell

Ohhh gottem!

She is now legally obligated to sex this man.

edit: programmers code

Goun ,

Normies hate this trick!

spez ,

lmao ‘sex this man’. hahahhaha

Murvel ,

Yup, that’d be the joke

Moussx , to programmer_humor in C++ oop in a nutshell

“Oh, so we’re actually not friends” Walks away, as she should

yrmyli , to linux in Btw
@yrmyli@sopuli.xyz avatar

Yes. You need to won in lottery if you want to go a therapy xD

kofe ,

Just a friendly reminder there are therapists that work pro bono or for discounted rates. I’m paying $60/ session without insurance and it’s an investment for my mental health, future relationships and career.

Ziglin , to programmer_humor in C++ oop in a nutshell

Does C++ actually have something like that? That sounds like something made up for the joke?

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

It’s part of the language: en.wikipedia.org/wiki/Friend_class

Ziglin ,

Huh, do Java and other oop languages have them too and what are some good reasons to use them?

UnfortunateShort ,

It allows for more fine grained access control and to implement afterthoughts.

Think having some private function that can break things if called improperly, but also allow you to avoid significant overhead when calling it the correct way. For example you could be avoiding input validation in a public wrapper for that function. If your friendly class already does it, or cannot produce invalid inputs, there is no need for that.

You could also implement logging after the fact, because your friendly logger object to read private members.

Arguably it’s a questionable design decision tho, as you could do all of this in other ways and it basically breaks any guarantees private would usually give you.

Ziglin ,

That was a problem I saw with it but I guess it’s useful too. I like structs.

5714 , to programmer_humor in C++ oop in a nutshell

Did I misunderstand something or is that an InCel-joke?

Harbinger01173430 ,

…it’s a c++ joke.

5714 ,

Did I misunderstand something or is that an c++InCel-joke?

Harbinger01173430 ,

That would be incel++ instead

lowleveldata , to programmer_humor in C++ oop in a nutshell

What’s the point of having friends when the whole point of private fields is to ensure that you don’t break other parts when changing those?

NightAuthor ,

It’s just another option, don’t gotta use it. Maybe you find yourself needing something like this, and the only other choice is making it public. At least with friend classes, you know which classes are friends so you can go look for any dependencies

lowleveldata ,

It’s just another option, don’t gotta use it

It’s not a choice of mine when I’m trying to read through / modify some legacy code base

owen ,

Meh, that already comes with infinite problems, so what’s one more?

CodexArcanum ,

There’s infinite ways to organize code. In C# or Rust where this isn’t an option, you might use nested classes or traits hidden behind a module/namespace.

Good use cases are data structures with associated helper classes. For example, a collection/tree and an iterator/tree-walker for working with elements of the collection. Or for something like a smart memory allocator (an arena or slab allocator), you might use a friend-class to wrap elements returned from the allocator, representing their connection back to it (for freeing up when done or to manage the allocation structure in ie a heap or sorted tree).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines