marcos

joined 2 years ago
[–] marcos@lemmy.world 6 points 20 minutes ago* (last edited 18 minutes ago) (1 children)

Hum... No it won't.

It's something you only really learn from C or Rust, but your operations will set both to the same list. If you go and change the list, you will change both, but if you set one to a different list, you won't change the other list.

In other words, if you do list1.push(4), you will change list2. But list1 = [3, 2, 1] won't.

[–] marcos@lemmy.world 1 points 32 minutes ago (1 children)

Mind sending him here for the burning?

[–] marcos@lemmy.world 8 points 21 hours ago

Yes, because I also have a Windows installation and use it at work. So yeah, I do think it's unreliable.

[–] marcos@lemmy.world 2 points 21 hours ago

He didn't even tell the exact coordinates and depth...

[–] marcos@lemmy.world 2 points 23 hours ago* (last edited 23 hours ago)

Oh, it can happen when you do calculations with compile-time constants...

But the GP's claim that it's a "frequent" thing is suspect.

(Crashing is also useful when you are writing and-user applications, but you'll probably want .expect like in the meme.)

[–] marcos@lemmy.world 9 points 23 hours ago (1 children)

Vibe-coding is absolutely protecting real programmers from the constant bombardment of wannabe entrepreneurs that just need a tech person to write their idea.

[–] marcos@lemmy.world 4 points 23 hours ago

Somehow, 10% of the acronyms reduce to "TLA". Including the very nice self-explanatory "three letter acronym".

[–] marcos@lemmy.world 15 points 23 hours ago (1 children)

Yeah, just to say it more clearly: that kind of thing is why lots of people out there insist that operator overloading is a bad idea.

And yeah, it's a C++ thing that mostly doesn't happen in other languages.

[–] marcos@lemmy.world 27 points 23 hours ago

Reminds me of the recent reaction to the director of the Supermen movie, and the people calling the xenophobia "barbaric".

I mean, it's nice when it falls back at the same meaning, but it reaching its antonym is just great.

[–] marcos@lemmy.world 3 points 1 day ago

And so much of that money isn’t real money.

Guess what, a large part is government debit.

And also, WTF, nobody said anything about splatting the money. What are you talking abut?

[–] marcos@lemmy.world 14 points 1 day ago

Well, when you said "we have a deployed branch", you could just have stopped there. All the rest is just what happens after you decide to rename your master branch.

 

As a developer that learned it once, a long time ago, naturally I sign to the pledge...

I have some doubts if I should mark it NSFW.

 

All those student protests on the US seem to be about stopping their universities from supporting the Israel government. But supporting a foreign government is not a normal thing for a university to do, why do they do it?

Is there some educational or research resource they get?

 

The links like !NoStupidQuestions@lemmy.world.

I have had a pretty bad time making those work. I have tried searching for them at the communities page, and removing the exclamation mark and pasting them on my instance (lemmy.world/c/NoStupidQuestions@lemmy.world).

Some times one of those works, other times my instance finds nothing. And if I go directly to the home instance of the community, it doesn't bring my login.

What is the recommended way to use those?

view more: next ›