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.

sv1sjp , in Multifactor auth done right
@sv1sjp@lemmy.world avatar

As I Cybersecurity Consultant, I totally agree

MCHEVA4EVA ,

I get my passwords from the collective unconsciousness.

Natanael ,

There needs to be an SCP for a password manager

Hazzia ,

Be the change you want to see in the world

Kissaki ,

One time passwords

Forgotten after one use

JoYo , in no.. just no
@JoYo@lemmy.ml avatar

still more readable than sqlalchemy exceptions

TheFerrango , in no.. just no

Sharepoint queries are written in something very similar 🤢

I still have nightmares from the one time I had to use that.

valen , in Multifactor auth done right
@valen@beehaw.org avatar

Something you only know in a parallel dimension.

Lime66 , in Programming Languages as Essays

TS: "You can’t just say ‘any’ and end the essay expecting I know what the fuck your talking about

backhdlp , (edited ) in GitHub Desktop or Git CLI?
@backhdlp@lemmy.blahaj.zone avatar

I don’t understand git anyway

fckreddit ,

Well, you learn four commands and hope for the best.

Valmond ,

fetch, reset --hard, checkout -b and cherry-pick?

:-D

xmunk ,

Nah, rebase -i, squash, fsck and reflog

Valmond ,

reflog saved my life once after a stupid misshap.

All rebase are belong to us (onto, rebase, and ofc interactive) but what’s fsck (I don’t squash personally)?

xmunk ,

Fsck is File System Check - realistically you should never need to use it.

rikudou ,

Must be an interesting work if you never add, commit or push.

Edit: How the hell did you get the repo without clone?

xmunk ,

Pshaw, real programmers write out the contents of .git by hand.

(Also, it was a joke, the last two commands I listed are ones you’ll ideally never need in your life)

overcast5348 ,

I was scared of reflog too. Had to use it for the first time recently after I accidentally’d a branch that I hadn’t pushed to remote yet. I was so glad that I could recover it all in <5 commands.

muix ,

More like clone, pull, commit, and push --force

>:-D

Valmond ,

push origin head

^^

traches ,

https://imgs.xkcd.com/comics/git_2x.png

Title text: If that doesn’t fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of ‘It’s really pretty simple, just think of branches as…’ and eventually you’ll learn the commands that will fix everything.

popcar2 ,
  • git pull
  • git add *
  • git commit -m “Some stuff”
  • git push

And occasionally when you mess up

  • git reflog
  • git reset HEAD@{n} (where n is where you wanna roll back to)

And occasionally if you mess up so hard you give up

  • git reset --hard origin/main

And there you go. You are now a master at using git. Try not to mess up.

the_artic_one , in Multifactor auth done right

Welcome… to Nightvale

docAvid , in Multifactor auth done right

This has some real “crimson eleven delight petrichor” vibes.

kherge , in Multifactor auth done right
@kherge@beehaw.org avatar

That last one reads like C’thulhufactor.

EpeeGnome , in Multifactor auth done right

Now I want to go play Cultist Simulator or Book of Hours. This list is also a list of the sorts of cards the games use to represent the narrative/puzzle you’re playing through. Highly recommend.

kayazere , in Implemented as requested

There’s some truth to it. I’ve seen devs not clarify something from the designs with other stakeholders due to lack of social skills. You end up with something they implemented to the spec, but makes no sense it reality.

bjoern_tantau , in Multifactor auth done right
@bjoern_tantau@swg-empire.de avatar

They forgot something old, something borrowed and something blue.

muntedcrocodile ,
@muntedcrocodile@lemmy.world avatar

da ba dee da ba di

reflex ,
@reflex@kbin.social avatar

da ba dee da ba di

Mm-mmm, waffles.

lemann ,

🤢

Cannacheques , in Multifactor auth done right

Something random as fuck like what hand your married to and when you broke up with your hand and married your other hand

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

do git commit -v and then just summarize the diff you have in your editor in a human readable form.

KeepFlying ,

Don’t just summarize the content though, summarize the rationale or how things connect. I can read your diff myself to see what changed, I want to know the logical connections, the reason you did X and not Y, etc.

Or just say “stuff” and provide that context in the PR description separately, no need to overdo the commit log on a feature branch if you’re using squash merges from your PR.

deadbeef79000 ,

P1000x this.

I can read a diff.

I need to know why.

No, a code comment isn’t good enough, it’s out of date after the next commit.

KeepFlying ,

Code comments for "why"s that persist. Commits for why’s that are temporary.

If you need to run X before Y, add a comment. If you added X before why because it was easier, leave it in a commit

deadbeef79000 ,

If you need to run X before Y…

Add a test that asserts that.

backhdlp , in We're not the same! (period)
@backhdlp@lemmy.blahaj.zone avatar

I don’t open source my code bc I don’t understand git

HangingFruit ,

We are the same

shaked_coffee ,

Branchophobic

gratux ,
@gratux@lemmy.blahaj.zone avatar

it’s just linked lists of commits (except when merging)

xx3rawr ,

I don’t understand linked lists

Denvil ,

It’s just a thingie

QuazarOmega ,

In internet terms: It’s just a soyjak holding a box with data who is pointing at another soyjak holding a box with data who is pointing at another {insert N-3 of the same soyjaks} soyjak with a box with data without an arm to point with

ibk ,
@ibk@lemmy.world avatar

I don’t understand what a soyjak is.

QuazarOmega , (edited )

soyjaks pointing linked list

Kourtesy of Krita

sheepishly ,
@sheepishly@kbin.social avatar

I still don't understand Git but I like this image

gratux ,
@gratux@lemmy.blahaj.zone avatar

each commit points to the one before. additionally a commit stores which lines in which files changed compared to the previous commit. a branch points to a particular commit.

philm ,

Almost… To be precise it’s a Merkle DAG

nastyyboi ,

So, you don’t “git it”?

I’ll escort myself out.

HamBrick ,

Git push yourself out* to make the obvious joke

jack ,

It’s perfectly fine to just make a zip available

xigoi ,
@xigoi@lemmy.sdf.org avatar

You can open source your code just by uploading it on some kind of cloud storage and setting it as publicly available.

ImplyingImplications ,

git good

frezik ,

There’s a guy out there who made a reversible NES emulator, meaning it can run games backwards and come to the correct state. He made a brilliant post on Reddit /r/programming linking his ideas for the emulator to quantum mechanics.

Then he was asked why he didn’t distribute his program in git. He said that he didn’t know git.

To me, that’s a pretty good example of the difference between computer science and software engineering.

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