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.

onlinepersona , in Crunch time

Just curious, why work in such a toxic industry in the first place?

DrakeRichards ,

Because I am addicted to solving puzzles.

onlinepersona ,

Couldn’t you do that at job without crunch though?

DrakeRichards ,

Every job will have some sort of crunch time. Even just staying in a programming position, the definition of “crunch time” will vary wildly. I’m lucky enough that “crunch time” just means that I set aside all my other tasks until I fix whatever is on fire, but I still get to go home on time unless I really want the overtime pay.

I don’t envy positions with forced 80-hour workweek crunch times. That’s a sign of bad management.

onlinepersona ,

In the video game industry, crunch (or crunch culture) is compulsory overtime during the development of a game. Crunch is common in the industry and can lead to work weeks of 65–80 hours for extended periods of time, often uncompensated beyond the normal working hours.

This is the crunch time I’m talking about. Not a few hours overtime or being oncall.

sbv ,

“crunch time” just means that I set aside all my other tasks until I fix whatever is on fire, but I still get to go home on time unless I really want the overtime pay

I get the feeling that this is what the industry is moving toward. Most crunches are due to poor planning, so it’s stupid to pin them on devs.

Or maybe I’m just working for a good employer.

the_artic_one ,

Me: it’s never good to work late

Also me: I know I was supposed to go home an hour ago but I’m so close to fixing this bug

lseif , in GitHub Desktop or Git CLI?

using LazyGit in tmux has changed my workflow.

instead of: git add . git commit -m ‘foo’ fg

i just: g ac foo q

and it displays everything neatly

Edit: apparently greater/less than symbols dont render properly on lemmy. so imagine a few (CR)'s and (C-b)'s sprinkled in

alphabetsheep ,

Are you able to fall back to normal git commands if you don’t know the shortcuts? This sounds awesome until I can’t remember the syntax to do something I don’t do everyday.

lseif ,

you can run shell commands with :, and there may be a nicer way for git-specific commands which i dont know about.

each ‘pane’ (such as ‘changed/staged files’, ‘commit log’, etc) has its own keybinds, which you can see with ?

Metype , in GitHub Desktop or Git CLI?
@Metype@lemmy.world avatar

I’d use Desktop if it worked, unfortunately recently it decided that I don’t have read/write access to a repo I’m working on. Works fine in git CLI so idk what the problem there is.

smeg , in GitHub Desktop or Git CLI?

I feel those captions are the wrong way round

xmunk ,

There are much better git UIs out there.

smeg ,

Definitely, last time I used github’s one it could barely do more than push and pull. I’ll almost always use a (good!) UI over the git CLI though.

expr ,

No matter the GUI you use, you’re leaving a lot of useful functionality on the table. By their nature, you only get a small fraction of git’s features. There are many useful commands I use regularly that are impossible to replicate using GUIs.

smeg ,

A good UI (for you personally) should do all the things you regularly do. Git is a complex and messy enough beast that when I have to use the CLI I’m going off the golden path and copy+pasting something arcane.

0ops ,

It’s not like you lose access to the cli when you use a gui. I personally use both

CarbonScored , in Manager: This task only takes 30 minutes. Why did it take you the whole day?
@CarbonScored@hexbear.net avatar

Forward three hours, me using thesaurus.com to try fit the whole gist of my change into the first line.

crackajack , in Manager: This task only takes 30 minutes. Why did it take you the whole day?

That’s in any bloody workplace! Especially if there is o synergy between different teams.

fruitycoder , in Need a rust version too.

You have rust, you decide to rewrite the C plan but the only library that supports it uses unsafe code so you go back and rewrite it. Wait what were you working on?

DoucheBagMcSwag , in :q! to quit the Force

This is how I played guitar hero III on PC but upside down. I wasn’t allowed to play it back at my house so I pirated it and improvised

turbodrooler ,

“No son of mine is going to play a fake guitar!” - Your dad, Robert Fripp or somebody

DoucheBagMcSwag ,

No it was more of rock music being the devil or something like that. N

stufkes , in I'll just be a quick 3h

Garcia From Criminal Minds: consider it done 😂

reverendsteveii ,

Enhance

nintendiator ,

Hang on, what’s that? Click on the ip_address column!

pkill , in 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate. this wouldn't have happened if Bill forgot to comment on his code

This is Bill.

Bill doesn’t need to minify his code, he names things using a single character even in compiled languages.

Bill is a heckin chad who can guess what the code does merely by looking at types and control flow.

Be like Bill

ChickenLadyLovesLife ,

I started coding with TurboBasic. My favorite thing about TB was that you could have variable names of any length but the compiler only used the first two letters - and case insensitive at that. So “Douchebag” and “doorknocker” looked like different variables but were actually the same thing.

Zagorath ,
@Zagorath@aussie.zone avatar

Is the Greek question mark a legal identifier for variable names?

ShitOnABrick OP ,
@ShitOnABrick@lemmy.world avatar

I’m no heckin chad like bill ima soyjak :(

GissaMittJobb , in the myth of type safety

It’s all bits in registers at the end of the day, and they all have the only type a bit can have

idunnololz , in Debugging
@idunnololz@lemmy.world avatar

Hey. Sometimes the bug is in a third party library. I didn’t do it. I swear!

petey , in me_irl

Yeah, this is my colleagues waiting for me, poor bastards

Cheesebaron , in me_irl

This always happens to me when I’ve written some genius code. Takes so long to review it, because my caveman colleagues don’t understand it.

nottheengineer ,

If you wrote good code, even a caveman would understand it.

magic_lobster_party ,

Are you sure your code isn’t just overly convoluted?

sbv ,

I’m pretty sure that’s what they just said.

Cheesebaron ,

Caveman no understand

Cheesebaron ,

It is amazing how many cavemen didn’t understand the sarcasm of my comment, and in their rage had to downvote it to hell. 😂

sbv ,

I feel like we Lemmites are not great at humour and we are quick to downvote. 🤷

Were you referencing grugbrain.dev ? I only ran into that recently, and I got a real kick out of it.

Cheesebaron ,

I read that recently as well, it is a great read. I can relate to a lot of the things. While it is meant as a humor piece, there is some solid advice in there.

I didn’t exactly have it in mind when I wrote my comment, but maybe subconsciously 😅

sbv ,

I’ve recently started dealing with architects. A lot of the comments hit close to home.

bellsDoSing ,

Great read, certainly had more relatable things in there than I’d expected.

1984 ,
@1984@lemmy.today avatar

With this attitude, the problem is you actually. Sorry.

vrkr , in Merge then review
@vrkr@programming.dev avatar

Something like that happened to me yesterday. I reviewed one PR, then some Important Guy came in and said:

  • it is nice you reviewed my work, but we need to push this to production right now.
  • just fix these things, I described you how. Just copy/paste these snippets
  • these are cosmetics, I don’t care
  • "cosmetics", huh? Your shit may just crash
  • gfy and push this to production right now
  • well, ok

Of course, lack of these “cosmetics” caused crash in production. It’s my fault of course.

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