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.

nailbar , in Need a rust version too.

PHP 8 makes it finally possible to rescue the princess, but you accidentally princess the rescue instead.

ISMETA ,

PHP 8 makes it possible to rescue the princess but your 83 legacy princesses are all still PHP 5.

nailbar ,

I did not want to be reminded of that today 😡

4onen , in what's the difference?

Git is a program your computer runs to have a single folder have source control. It does all the hashing and commit chaining that you’re used to, branches, that sort of thing.

But if you want it to be on more than one computer, you need to do this complicated “Bare” repository setup on a server computer to do the “git push” stuff you’re used to.

Most people, being too lazy to learn bare repositories and the general sysadmin necessary to host a git server themselves, instead just use Microsoft’s Github which is a web interface for the server use of git the program.

Microsoft then proceeded with their classic mantra of “Embrace, Extend, Extinguish” and started slapping on more and more features that are incompatible with any other git hosting service: actions, CI, their web VSCode instances, etc. That’s all in GitHub too. But it’s all just web interface for git the open source program, at the end of the day.

rtxn ,

GitHub was independent from Microsoft for a long time, and was only acquired in 2018.

xmunk ,

I like shitting on M$FT as much as the next bloke but if you believe Github started being evil when Microsoft entered the picture then your memory is pretty awful.

From it’s inception github pushed proprietary tagging and issue numbers that have no meaning outside their platform and a difficult export process to trap projects - especially commercial ones - on their platform.

4onen ,

I was being diplomatic because I was uncertain how people felt about the issue and PR tracking, considering how Bitbucket and GitLab replicate it. Felt simpler to focus on the since-M$ft egregious steps.

Phen ,

I remember moving a project from github to gitlab years ago (before MS) and the process to move all the non-git data from github was just as easy as moving the git repo itself. Thanks to gitlab’s efforts perhaps, but I didn’t expect github to have made it difficult for them based on the experience I ended up having.

Archr ,

Just a few comments on this. Most people aren’t “lazy”, they just understand that the effort to run a bare repository is greater than basically any other solution. Also your incompatible features list implies that other git repo sites (gitlab, codecommit, bitbucket, etc) don’t have their own form of proprietary stuff that you have to learn. In fact the newest version of gitlab actually changes their web ide into vscode web, because of the obvious, it is much better than their old ide.

Gobbel2000 , in Need a rust version too.
@Gobbel2000@feddit.de avatar

Rust:

Cannot move princess out of castle which is behind a shared reference

Octopus1348 ,
@Octopus1348@lemy.lol avatar

It will also complain that trying to break into the castle is unsafe, so you have to tell it that you know.

Rodeo ,

That just means you designed your castle unsafely.

Hazzia ,

Skip the castle and call the princess directly!

CanadaPlus , (edited )

“Alright, but you better be outside of a properly locked up and OSHA-compliant castle with the princess by the time I get back, or I’m not compiling”

And then you do that, but you miss a smoldering ember from one of the castles torches, and everything including the horse and princess catches fire. Next time, pick an escape plan that only requires unsafe for the drawbridge.

There’s a totally safe way to do it too, I guess, but it involves building a series of replacement castles, and it’s also totally ugly and sinfully slow.

magic_lobster_party ,

You can’t rescue the princess, but you can borrow her.

cactusupyourbutt ,

…good enough.

Ill get her back in 3 minutes

marcos ,

Just clone the princes and get on with your day.

EnderMB , in Need a rust version too.

Always good to see Jon Skeet get some love. I’d love to know in terms of quantity just how many people he’s helped over the last decade or so.

thedirtyknapkin ,

if we count the number of people who have used products with code helped by him; we’re probably around 50% of all humanity by now. at least…

Honytawk ,

I just wonder how many he would have saved if he didn’t write the language in the first place

revlayle ,

wat

Skeet did not write or create c#

magic_lobster_party ,

He has used this comic as his profile pic on Twitter and StackOverflow for quite a while.

Daxtron2 ,

Literally every time I’ve ever posted a question on SO that’s related to .NET, Skeet comes to my rescue.

smeg , in Need a rust version too.

Here is the original comic, it’s got the word fuck in it! Direct link to higher-quality image.

PixxlMan ,

NOOOOOOO NOT THE FUCK W*RD!

killeronthecorner ,
@killeronthecorner@lemmy.world avatar

I can’t fucking believe you’ve done this

MajorHavoc ,

Yeah. I thought we all agreed that we don’t fucking swear here. What the fuck…Shit. Darn-it. /s

Octopus1348 ,
@Octopus1348@lemy.lol avatar

You fucking moron. Oops…

squaresinger ,

Flipping H E double hockeysticks! You aren’t supposed to use such fucking swearwords here!

Klear ,

Oh no! Don’t say the fuck word!

shotgun_crab ,

Now I can’t let my cats see this comic :(

MaliciousKebab OP ,

Changed the image link, thanks.

LillyPip ,

You seem very excited so now I have to check it out.

e: holy shit, it does

PhlubbaDubba , in Need a rust version too.

Rust:

You crushed the princess under the weight of all the crates you imported

fallingcats ,

Nothing against the singularity that is a node_modules directory

flumph , in Need a rust version too.
@flumph@programming.dev avatar

I’m going to have to print out the Go version for all future “it’s idiomatic” and “but the community!” debates at work

SnipingNinja ,

I’m curious about this but I’m barely a programmer now, so if anyone is up to explain

flumph ,
@flumph@programming.dev avatar

The go community is strongly opinionated in unique ways. For example, using libraries is generally frowned upon. You either use something included in the language itself (standard library) or copy/paste the code you wrote in another project. There’s also advocacy for shorter variable names which generally seems counter to the normal “write descriptive variable name” mantra.

All in all, I hope the ideas / opinions came from a good place and then some people took them as black & white rules. But they also come off as one or two people’s pet peeves who got to build a language around them.

killeronthecorner , in Need a rust version too.
@killeronthecorner@lemmy.world avatar

Swift: Apple releases a new version of the castle and deprecates the princess before you finish your implementation

turing_spider574 ,

the author did another comic with swift and it’s pretty much what you said lol

toggl.com/blog/kill-dragon-comic

moomoomoo309 ,
@moomoomoo309@programming.dev avatar

I love the Lua one because it’s so true, LuaJIT is magic and Mike Pall is the only one who understands it as its creator.

fossilesque ,
@fossilesque@mander.xyz avatar

The Python one should have been an environment joke.

akash_rawal , in Need a rust version too.

You have rust.

You get a horse and arrive at the castle within seconds but the horse is too old and doesn’t work with the castle.

You remove the horse, destructure the castle and rescue the princess within seconds, but now you have no horse.

While you’re finding a compatible horse and thinking whether you should write your own horse, Bowser recaptures the princess and moves her to another castle.

HiddenLayer5 , in Need a rust version too.

You have Rust.

Forget rescuing the princess, that’s unsafe. Lock her down even more!

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.

uid0gid0 , in Need a rust version too.

The Patsy from Monty Python in the PHP section got me

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

“Message for you sir!”

argh

troyunrau ,
@troyunrau@lemmy.ca avatar

I have that as my cell phone notification. It’s amazing.

Here’s a download link if anyone else wants it: drive.google.com/file/d/…/view?usp=sharing

Hazzia ,

Thank you for your contribution to the betterment of society.

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

Duh. I can’t believe I never thought of it, just because it was a model.

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

agent_flounder , in Need a rust version too.
@agent_flounder@lemmy.world avatar

Omg Lisp. I’m dying. Our object oriented programming class in college involved programming in Scheme. This was… a while ago.

Saving this forever.

lastunusedusername2 ,

I did the same thing in Scheme. It was mine expanding.

Lawyerator ,

Yup, Scheme was the only programming language taught in our comp-sci department so we could “learn how to learn.” Two years and a broken parentheses button later, and I switched to being a theatre major.

Today, my legal career stands as a testament to the pointlessness of a declared major.

BilboBargains , (edited ) in Not mocking cobol devs but yall are severely underpaid for keeping fintech alive

There is no relationship between what you earn and your skill level. If there were, theoretical physics would be a top paying field. The reason is, this is capitalism and we are horrible negotiators. If you want to earn top money in a technical field, the best you can do is insert yourself in a revenue stream. Roles that are critical to revenue like a billing system or associated with a intrinsically valuable commodity e.g. petrochemical, are more lucrative than other similarly skilled professions.

linuxdweeb , (edited )

It feels like blaming everything on capitalism is a Lemmy meme.

EDIT: smh look at all the capitalists smashing the downvote button as if it were a poor.

bugsmith ,
@bugsmith@programming.dev avatar

They’re not really blaming capitalism for anything though? They’re just explaining how it works, and they’re right. In a market driven economy, you are paid for having a skill or some knowledge based on the demand of that skill or knowledge and nothing else. In the same way as the quality of your house has little bearing on it’s value when compared to it’s location. Not a criticism of capitalism.

porgamrer , (edited )

SIGH. Capitalism is a fringe conspiracy theory. Next you’ll be claiming that billionaires earn their money through “capital gains” instead of salary, or that every corporation answers to a shadowy cabal of “shareholders” who only care about profit.

Well you won’t fool me. Unlike you, I have educated myself by reading newspapers.

wildginger ,

TIL repeating the definition of capitalism is blaming capitalism

BilboBargains ,

It wasn’t capitalists, it was the invisible hand of the market.

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