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.

akkajdh999 , in GitHub Desktop or Git CLI?

lazygit:

dukk ,

Freaking love TUIs, it’s like they took the convenience of a GUI and the efficiency of the CLI and merged them. As a Neovim and Lazygit user myself it’s amazing what I can accomplish in but a few keypresses.

Jesus_666 , in GitHub Desktop or Git CLI?

Fork.

scottyjoe9 ,

All hail the fork!

zarlin ,
@zarlin@lemmy.world avatar

Fork is great!

syd ,
@syd@lemy.lol avatar

TIL. Looking great but no Linux support 😐

Jocarnail ,

Fork is great. I just wished there was a linux version

fl42v , in git commit -m "hotfix"

Yeah, I believe that won’t work. The tape is supposed to be blue

neuracnu , in It's that time of the year again!
@neuracnu@lemmy.blahaj.zone avatar

I was reading that to the tune of the chorus of The Distance by Cake. It worked until the last line.

Cwilliams ,

Lol that actually works so well

agent_flounder , (edited ) in what's the difference?
@agent_flounder@lemmy.world avatar

That…isn’t quite right.

Git is a distributed version control system for software development^1.

Version control allows you to manage code versions and changes to code. You take snapshots, so to speak, of every change you make.

Distributed, in this context, means multiple developers can write code on each of their development computers and merge the changes, usually to a centralized git server.

GitHub runs a web-based git server at GitHub.com so teams can store their code in a central location on the internet.

  1. Ok, technically, even though It’s often used for software source code, it can be used for any set of files and directories.
kernelle ,

If you read it as “a website providing a service, but that service is also available elsewhere” the analogy makes perfect sense.

kevincox ,
@kevincox@lemmy.ml avatar

I don’t see anything you said that it isn’t quite right.

Porn is a distributed form of entertainment.

Porn allows you to get your rocks off. You take views, so to speak and do your thing.

Distributed, in this context, means multiple enjoyers can watch porn on each of their entertainment computers and share the videos, usually to a centralized porn server.

PornHub runs a web-based porn server at pornhub.com so viewers can store their porn in a central location on the internet.

agent_flounder ,
@agent_flounder@lemmy.world avatar

So in the analogy porn corresponds to git? Or to source code?

spiderplant ,

In this analogy it could be that:

  • the filesystem is git and the porn is source code
  • the file is git and the data is source code
  • you don’t consider the source code because you can host anything on github
  • we shouldn’t be reading into the analogy this deeply because its a silly analogy meant for absolute beginners
Rodeo ,

Ok, now explain the part you think is not right.

agent_flounder ,
@agent_flounder@lemmy.world avatar

Git is a tool. GitHub is one implementation of a git server. Git is used to manage source code. GitHub hosts / manages source code.

Porn is content. Pornhub is one service that hosts content. Porn is not a tool. Git isn’t content. Source code is content.

So porn isn’t really analogous to git.

Maybe a better analogy would be… Git is to GitHub as outlook mail client is to outlook server–or Gmail app to Gmail server.

Rootiest ,
@Rootiest@lemmy.world avatar

GitHub runs a web-based git server at GitHub.org so teams can store their code in a central location on the internet.

Wait… it’s GitHub.org?

I always assumed it was GitHub.com…

Edit: GitHub.org only seems to support HTTP and then it just does a permanent redirect to GitHub.com

agent_flounder ,
@agent_flounder@lemmy.world avatar

Ugh I’m an idiot. Thanks.

Rootiest ,
@Rootiest@lemmy.world avatar

All good 😊 you had me going for a minute though

remotedev , in Need a rust version too.

Ruby: there is a built in method called free_the_princess()

karmiclychee ,

On Castle, no less.

CmdrKeen ,
@CmdrKeen@lemmy.today avatar

<span style="color:#323232;">require 'castle'
</span><span style="color:#323232;">
</span><span style="color:#323232;">begin
</span><span style="color:#323232;">  Castle.attack
</span><span style="color:#323232;">rescue Princess
</span><span style="color:#323232;">  puts "Done"
</span><span style="color:#323232;">end
</span>
tehmics , in Not mocking cobol devs but yall are severely underpaid for keeping fintech alive

I’d be happy if I could land a web dev role for 40k at this point

doctorcrimson ,

I think the mention of fintech in the text makes an implication of online store of some sort, where I could see it being profitable because it’s a lot more work to be able to generate listings and accept payment and shipping information.

CrayonRosary ,

It means banking. Finance tech.

doctorcrimson ,

That was never in question. Online payment portals are Fintech. You don’t have to work at IBM to be in Fintech, it includes the entire process built on top of their platform as well.

CrayonRosary ,

But COBOL is famously used in legacy banking systems, not modern internet payment systems.

doctorcrimson ,

I’m saying that the mention of Fintech in the First Case would IMPLY that the WebDev also deals with Fintech. If both devs have comparable skillsets then it makes sense to compare their pay rates.

IDK, maybe I’m reaching with this one.

kGdMKhy8Wa5s ,

That’s crazy. If you have the skills don’t under value yourself. Don’t be afraid to walk away from an offer. Never tell a potential employer your current salary and never give them a number if they ask in interviews. Ask what their range is as a response and if that matches your number, proceed. Then negotiate for the max of their range. If you get to that point, they already want you, so you have the upper hand in negotiation.

pinkdrunkenelephants , in Not mocking cobol devs but yall are severely underpaid for keeping fintech alive

Where do you learn this… Cobol?

dipshit ,

My grandmother could teach you it, but she’s dead.

pinkdrunkenelephants ,

RIP

jwt ,

My cobolences.

janus2 ,
@janus2@lemmy.zip avatar

at university in the 1980s

pinkdrunkenelephants ,

Wait, so there’s nowhere you can learn it now?

janus2 ,
@janus2@lemmy.zip avatar

Doubtful, I was just joking about how it’s an older language that has become rare

Probably a few CS programs offer courses in it, if nothing else because it’s historically important. And I’m sure one could teach it to themself via books and documentation

lemmesay , in Programmer tries to explain binary search to the police
@lemmesay@discuss.tchncs.de avatar

image transcription:

Afterwards I found a chatroom thread among Cambridge computer scientists, one of whom had also been told that unless he could pin down the moment of theft no one would look at the footage. He said he had tried to explain sorting algorithms to police - he was a computer scientist, after all. You don’t watch the whole thing, he said. You use a binary search. You fast forward to halfway, see if the bike is there and, if it is, zoom to three quarters of the way through. But if it wasn’t there at the halfway mark, you rewind to a quarter of the way through. It’s very quick. In fact, he had pointed out, if the CCTV footage stretched back to the dawn of humanity it would probably have only taken an hour to find the moment of theft. This argument didn’t go down well.

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

It’s OKAY to say no.

DinosaurSr ,

I’ve gotta get better at this…

kubica , in Walking Desk Is More Annoying Than A Standing Desk
@kubica@kbin.social avatar

The kind of walker I want for when I'm older.

Smoogs , in Bill is a pro grammer

Wow the comments here sounds like you’re all a bunch of antisocial nightmares to deal with in rL.

DontTreadOnBigfoot ,
@DontTreadOnBigfoot@lemmy.world avatar

Welcome to Lemmy

frezik ,

That would be the type of people attracted to programming, yes.

nailbar ,

I consider myself social. I’m a programmer because I love making things, and because I’m lazy, and I hate doing repetitive tasks.

drolex , 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

Wow this job has massive amounts of unnecessary stress, I wonder what the cause can be.

The cause is me, 6 months ago.

(Written for comedic purposes only. Managers are my single source of stress)

agent_flounder ,
@agent_flounder@lemmy.world avatar

Me: writes code^1, doesn’t comment

Me, six months later: what idiot wrote this shit?!

  1. Only developer on project
drolex ,

Time to plan a 3-day workshop with yourself at the pub to get it together

xav , in GoOn

I’ll start.

0.0.0.1: Sophie

Your turn.

starman2112 ,
@starman2112@sh.itjust.works avatar

0.0.0.2 is Bob

tamiya_tt02 ,

0.0.0.3 is Clarence

1847953620 ,

0.0.0.4 is Darryl

v81 ,

127.0.0.1 is you

xusontha , in The app doth protest too much, methinks

The server’s embrace, it turns cold,

An SSL error, its tale is told

Spaghetti_Hitchens ,

The server balks, digital hands doth sunder,
Thine client's refused for its handshake blunder.

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