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.

mormegil , in Easy choice
@mormegil@programming.dev avatar

Tells you exactly what and at which line the problem is?

Syntax error: unmatched thing in thing from std::nonstd::__map<_Cyrillic, _$$$dollars>const basic_string<epic_mystery,mongoose_traits<char>, __default_alloc_<casual_Fridays = maybe>>

0x0 ,

Java has entered the chat…

chevy9294 ,

Does your compiler not do that? Maybe you should breakup with it and get rustc compiler.

Andromxda OP ,
@Andromxda@lemmy.dbzer0.com avatar

rustc is truly awesome

RustyNova ,

Well until you are deep into trait/future/generic territory. Because then you’ll go in big fuck (full type being in a separate file) not being correct somewhere in this shit.

Don’t get me wrong, I love rust. But those area really need some love

5C5C5C ,

Still much better than C++ templates, and I say that as someone who used to genuinely love C++ template metaprogramming. Admittedly Rust traits+generics are far more limited than C++ templates, but very often I find that to be a positive. The list of things that I feel traits+generics are missing is small and rapidly shrinking.

Ephera ,

I was going to respond with “Segmentation fault”. Truly a classic.

(Yes, that’s not a compile error, but well, it should be.)

palordrolap ,

Well, it is theoretically possible for code to cause a compiler to segfault. As for how, well that's a different matter. You'll need deep knowledge of the compiler, or else the assuredness that it can't possibly happen. Because then it will.

Wappen ,

Oh God the horrors. The only part of these errors I ever remembered was “basic_string” everything else was the syntactic gibberish you wonderfully demonstrated.

pivot_root ,

The “++” in C++ stands for extra verbose.

ThePantser , in Easy choice
@ThePantser@lemmy.world avatar

You fuck your complier?

pivot_root ,

You don’t?

1984 , in Easy choice
@1984@lemmy.today avatar

Sure, if we didn’t have the need to procreate or the need for a life companion, the computer would be the perfect partner.

But since we are not machines quite yet…

UndercoverUlrikHD ,

the need for a life companion

Don’t worry, computers got that covered too now !aicompanions

bolexforsoup , in Easy choice

Boomer humor

Zorque ,

Wife bad.

cheddar , in Easy choice
@cheddar@programming.dev avatar

needs a few seconds to run

Depends on what you’re compiling!

gnutrino ,

It’s always true for sufficiently large values of “a few”

asyncrosaurus , in break fast 🥣 move things 🛒

Always remember, the silicon valley ethos of “break things” wasn’t about their applications, it was about breaking industry, society, laws and your ability to oversee or regulate them.

ArtVandelay , in break fast 🥣 move things 🛒
@ArtVandelay@lemmy.world avatar

“we’ve had one break fast, yes. What about second break fast?”

nifty ,
@nifty@lemmy.world avatar

Do you work in devops?

elvith ,
ArtVandelay ,
@ArtVandelay@lemmy.world avatar

Dev oops

jubilationtcornpone ,

I believe we call that a “fast follow”.

LouNeko , in Start ups when that VC funding kicks in

Did you say “Dogs at work”? Deal.

dimath ,

Some of them are your coworkers though.

Cipher22 ,

And not all of them are house trained.

TOModera ,

It’s nice, but it comes with micromanagement. They are like fleas, though the biting is more painful.

Seraph ,
@Seraph@fedia.io avatar

If you WFH all work is dog at work.

Empricorn ,

Do they provide the dogs?

LouNeko ,

You have to bring your own. You may play with the other dogs if they approach you.

tempest , in Happens all the time

I do enjoy the rust compiler error messages. They are nicely formatted

Shameless ,

I’m trying to learn rust and so far this has definitely made it so much more accessible.

Not to mention their super useful “rustlings” training which has these nice little challenges to get you used to language and syntax

30p87 ,

Yeah, but to observe such error messages you’ll basically need to wait for 20 mins for it to compile.

PlexSheep ,

No? The steps are compiled once and afterwards your project just gets compiled. Besides, rust-analyzer exists.

SpaceCowboy , in Repeat after me "this problem isn't bothering me". There! fixed it
@SpaceCowboy@lemmy.ca avatar

Apparently I’m Neutral Evil. But I consider myself to be Chaotic Neutral.

I’ll fix the problem only when it’s actually a computer problem and when you can explain what the problem properly. I don’t care if it’s a ticket or an email. Though I might not get to the email today and tomorrow I might forget about it, so you might want to put a ticket in that’ll stay the until it’s closed. But the ticket system sucks, so I might not log into it and see your ticket for a few days. If you send an email, I might do it right away, but you might have to remind me about it in a few days because I might’ve forgotten about it.

I don’t care about your job title. If you VP of whatever the fuck and think you’re important or if you were hired yesterday to an entry level position, you’re all users to me. But the issues aren’t fixed based on the order they come in, it’s based on how much effort you put into describing the problem. If you think you’re too important to describe the issue properly, you’re low priority. If you want a meeting to describe the issue verbally, oh you better believe you’re low priority, I’m not your fucking secretary that’s going to take down your dictation. You got a keyboard in front of you, use it. I might eventually get around to asking you for more details about the problem, but only after I’ve fixed all of the problems reported by people that made an effort. Your priority is based on your effort.

Ok so maybe I’m Lawful Evil? But everyone thinks I’m Chaotic Evil because they don’t understand why some people get stuff done right away while they have to wait.

Venator ,

Yeah I think chaotic neutral and neutral evil should be swapped.

your_mom , in Start ups when that VC funding kicks in

I misread the last one as “Drugs as work, happy hours”.

Karyoplasma ,

My last job offered free beer after 4pm on fridays.

It was smart as fuck if you think about it. For the small price of a few crates of beer, you got 20+ people talking in their free time, and on the weekend, without additional pay. It was officially off-work but since most of your coworkers were there, there was a lot of work-related exchange going on.

ICastFist ,
@ICastFist@programming.dev avatar

Alcohol, the strongest bonding chemical of mankind

Aux ,

That’s pretty much every office in London before the pandemic. Some even had taps with draught ales.

Semi_Hemi_Demigod ,
@Semi_Hemi_Demigod@lemmy.world avatar

No that’s WFH jobs

embed_me , in Happens all the time
@embed_me@programming.dev avatar

That’s what makes us humans different from computers. We don’t ask how high, we just do it. Now, if it were a C pointer it would jump anywhere from 0 to 2^32-1. That’s why C is more suited for artificial intelligence than it might initially seem. Thanks for coming to my tedx talk

crispy_kilt ,

Pointers are ackshully 48 bits on amd64 (which is most PCs and servers)

___qwertz___ ,

Well ackshully newer CPUs support 5-level-paging which uses 56 bits.

embed_me ,
@embed_me@programming.dev avatar

I was mostly joking about a stray pointer of type uint32_t*

So the size of the pointer itself doesn’t matter

BassaForte , in Start ups when that VC funding kicks in
@BassaForte@lemmy.world avatar

The only happy hours are the hours you don’t work by going home early. About 2 hours per work day, to be exact.

sukhmel ,

Was going to comment that 😅

trxxruraxvr , in Happens all the time

Height should be a float

ParanoiaComplex ,

I don’t know Rust but jump typically moves the program counter, where the height represents the number of instructions to move

trxxruraxvr ,

Afaik rust doesn’t have functions like that as they lead to unsafe code that’s impossible to check variable lifetimes for. I think OP created the jump function.

RustyNova ,

They created it. The compiler says the jump function is in src/main.rs

fossphi ,

Chad quantised rust

Klaymore OP ,
@Klaymore@sh.itjust.works avatar

It’s height in centimeters

SatouKazuma ,

But then wouldn’t it be fly(height: f64) instead of jump(height: i32)?

crispy_kilt ,

Never use floats.

bappity , in Repeat after me "this problem isn't bothering me". There! fixed it
@bappity@lemmy.world avatar

I’m guilty of pushing massive commits with several different changes and just commenting “bump version”

virku ,

Worked the first six years of my career using no version history tracking or backups at all on one of our main systems. Nobody knew we didn’t have backups and I didn’t know how to use git and figured it wasn’t so important since I was maintaining it alone anyway.

(I don’t do any of those things anymore)

SatouKazuma ,

All hail “squash and merge”

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