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.

programmer_humor

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

unreachable , in Dad has the chops to be a project manager.
@unreachable@lemmy.world avatar
ResoluteCatnap , in Review Please

My team lead: “I’ll 🙈 review”

jwhardcastle , in Skill issue

Layer 8

bjoern_tantau , in I just ask my problem bro...chill....
@bjoern_tantau@swg-empire.de avatar

Skill issue.

Daxtron2 ,

most people don’t know how to properly formulate questions and it shows. 90% of new questions on SO are just bottom barrel which is why the rules are so strict about quality.

RadicalEagle ,

Absolutely true, but it’s also more difficult to ask a good question when you don’t know anything about what you’re asking.

People who know a lot about a topic can ask very good questions about that topic.

The problem I see with most questions people post online is that they make too many assumptions that their audience will will magically understand the context of their question.

Good questions require relevant context.

Determining relevancy requires expertise.

Expertise comes from experience.

No matter how many questions you ask and answers you get you’ll never “understand” something until you do it.

Instead of asking questions like “How do I do X?” people should be asking “I’m trying to accomplish X, I’ve tried Y, but I’m encountering Z. How could I resolve this?”

I guess my rule is that you should never ask someone a question without first trying to answer it yourself.

Daxtron2 ,

100% agree, and the new question page on SO makes most of those points but generally people dont read it. It would be kinda nice if they integrated an LLM to double check if questions need improvement before they get submitted.

tourist , in Aaargh....my eyes......my eyes......
@tourist@lemmy.world avatar

lgtm

merged

xmunk ,

I’m assigning all my PRs to you, buddy, your performance metrics will be over 9000!

lowleveldata , 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).

kryptonianCodeMonkey , in Tattoo Idea

Now do '0000: 0000: 0000: 0000: 0000: 0000: 0000: 0001" across both knuckles like the classic “LOVE HATE” tat.

gravitas_deficiency ,

Or just a big


<span style="color:#323232;">::1
</span>

on your hand

kryptonianCodeMonkey ,

On your chest. Much more macho.

gravitas_deficiency ,

Get it as a throat tattoo or get out

TopRamenBinLaden ,

Get a null tattoo on your forehead if you are really about that life.

nxdefiant ,

DEAD BEEF

snaggen , in Songs about Vim
@snaggen@programming.dev avatar

I have been a vim user for more than 20 years. I tried to quit for a couple of years, but now I have just accepted my faith.

RustyNova ,

Vim enthusiasts are just people with late stage Stockholm syndrome

swab148 , in Songs about Vim
@swab148@startrek.website avatar

Just because this is a vim meme, does anyone know how to copy text from one instance of vim to the other?

Traister101 ,

Instance of Vim? Swap buffers fool

swab148 ,
@swab148@startrek.website avatar

Would this work if one of those instances was in a VM?

embed_me , (edited )
@embed_me@programming.dev avatar

You can yank text to system clipboard buffer ie +. Then paste (put) from the clipboard to any other vim process.

Keep in mind you should have clipboard support in your vim. If you’re on ubuntu, install vim-gtk and you should be good

swab148 ,
@swab148@startrek.website avatar

I’m on Debian, but my VM is an Ubuntu server, so that should work!

Semi_Hemi_Demigod ,
@Semi_Hemi_Demigod@lemmy.world avatar

Copy the text to a local clipboard, then paste it into your terminal in the other instance

IDK I only use vim over ssh

Mohaim ,

Install xclip then press "+y (double-quote plus-sign y) to yank to system clipboard then "+p to put from sys clipboard

docAvid ,

Just use a single instance of Emacs to edit everything everywhere all at once. You can even use vim keybindings if you have no taste.

swab148 ,
@swab148@startrek.website avatar

Emacs is more for devs though, yeah? I’m just a lowly sysadmin in training.

docAvid ,

I think Vim is more popular with sysadmins because, historically, you could count on Vi or Vim being available on just about any server you had to do some work on, while Emacs might not be. That’s still probably somewhat true, although in the world of clouds, containers, and source-controlled, reproducible configuration, it’s probably less common to edit files in place on a server.

However, with Emacs tramp, you can edit files just about anywhere you can access, by any means, even if there is no editor installed there at all, using your local Emacs, with all your accustomed configuration. Like popping open a file inside a container running on a remote server by ssh, something I’ve done a lot of lately, debugging services running on AWS ECS.

theFibonacciEffect ,

I think you can just use y and p

MashedTech ,

Fuck it, use neovim and copy to the system clipboard.

Darkassassin07 , in As someone not in tech, I have no idea how to refer to my tech friends' jobs
@Darkassassin07@lemmy.ca avatar

Digital wizard.

The_Picard_Maneuver OP ,
@The_Picard_Maneuver@lemmy.world avatar
ramius345 , in POV: Working at Google

Don’t need an if, just set the variable and collect the data. Saved you a jump instruction. The compiler is going to optimize it out anyway, but simpler code is better and some people forget the -O flag.

Sibbo ,

Yeah but the last requires you to explicitly distinguish between the two cases.

masterspace , in How IT People See Each Other

The great promise of the cloud was to outsource sysadmins to be Microsoft and Amazon’s problem.

maynarkh ,

At the cost of getting new sysadmins who are less numerous, but ask for more money, and best of all, you get to pay Microsoft and Amazon to train them!

Unforeseen ,

Not only that, but it’s no longer your problem when its in the cloud. You can blame the cloud for everything!

hemko ,

“Yeah we’re familiar with this issue design, and have opened 17 support requests and upvoted 5 user voice posts to Microsoft about it. But hey we have this workaround that is not maintainable that you can use meanwhile”

wizardbeard ,

That absolutely was a huge part of the marketing pitch, but as one who supports his company’s cloud infrastructure…

Lol. Rofl. Lmao even.

Maybe that works for places that don’t have heavy tech needs. Maybe.

hemko ,

Sounds oddly familiar. Cloud ops at an msp BTW

ed_cock ,

It’s almost like marketing makes it sound like it’s a fully-managed, worry-free service where users can just call up Bill Gates himself instead of hundreds of management portals someone has to babysit.

Passerby6497 ,

Microsoft when you don’t pay out the ass for support:

Microsoft when you don’t pay out the ass for support

MadMadBunny ,

They said that about computers going to make books disappear forty years ago… They never printed so many books that attempted to explain how those damn computers worked!

invertedspear , in Improved Version

The problem is you have comp sci majors who learned .Net or Java handed react, so they do their damndest to turn react into .Net or Java.

I have seen many travesties committed in react and angular from people trying to turn them into what they know instead of letting them be good at what they are.

Anticorp ,

I have seen many travesties committed in react

That’s a complete statement on its own.

Anticorp , in Yup sums up all my project

My spoon’s too big.

ProfessorProteus ,
@ProfessorProteus@lemmy.world avatar

I am a banana!

NaibofTabr ,

Tuesday is coming… did you bring your coat?

ramius345 ,

I am the queen of France!

EchoCranium ,

For the love of god! My anus is bleeding! (-Yay! Hooray!-)

daellat ,

Insert dick!

This is a reference I’m wondering anyone would get please let me know if you do

SturgiesYrFase ,
@SturgiesYrFase@lemmy.ml avatar

Sorry/your welcome.

Edit: I misread your comment. facepalm
W.e I’m leaving the link to Rejected.

flying_sheep ,
@flying_sheep@lemmy.ml avatar

Surgeon simulator. The funniest video ever

daellat ,

That video sent me back in the day

WldFyre ,

youtu.be/AYjCXjIeNJk?si=1uuDhlOE4RrKLbeV

3:45

One of my favorite vids ever lolol

1luv8008135 , in When data training goes wrong

This is 100% a flex.

AFC1886VCC ,

“Not only did I have sex, but I was having sex for more than an hour!”

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines