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.

namingthingsiseasy , in Naming is hard

Don’t worry everyone, I’m here to help:

Mail

Garbage

Outlook

Hot Garbage

Outlook (new)

Shit-tier garbage

Glad to be of service! Until next time…

lauha ,

Next Outlook will be (Newer)

RobotZap10000 ,

Outlook (1) (5) (13)

cheddar ,
@cheddar@programming.dev avatar

Outlook Final

Outlook Final Final

Jesus_666 ,

Copy of Outlook Final (2) (new)

patak ,
@patak@lemmy.world avatar

Outlook New Grand Final Beta (New)

lauha ,

Outlook (newest)(new)

MajorHavoc , in Perpetual Motion finally achieved!

I do really like C++.

And yes, this would work.

marcos ,

All the noise I see is from people insisting that Rust developers are noisy, and their favorite language is much better types-don’t-solve-bugs-undefined-behavior-is-fine-and-memory-errors-are-not-a-problem.

Actual Rust developers have been silent for years.

MajorHavoc ,

I once shared that I had a bad first experience with Rust and no less than four Rust developers arrived to inform me that I was either hallucinating, or bad at programming, or both.

I haven’t had this much fun winding up a sensitive community since I shared how I really felt about Java Spring, in it’s heyday.

pooberbee ,

I suspect there are a lot of “Rust devs” that are little more than kool-aid drinkers. Common refrains are that Rust is the fastest language, most type-safe language, and most powerful language. Rust certainly seems to move the state of the art forward in some ways, but you can still write garbage code in it.

I’ve worked with lots of different people in lots of different languages, and I think I’d rather good people in a bad language than the other way around by a mile.

realbadat ,

Pfft, that’s only because you write garbage code in rust.

I write garbage code in lots of languages!

sleeplessone ,
@sleeplessone@lemmy.ml avatar

You can write garbage code in rust, but the compiler will beat you with a stick for doing so.

veroxii ,

Bloody hell mate. A little bit of warning before so casually dropping Java Spring out there.

MajorHavoc ,

Sorry. I’ll use the content warning format next time.

Maven OP ,

As a rust dev myself… It’s my right to be obnoxious

WhiskyTangoFoxtrot ,

I tend to stick to interpreted languages so I can’t weigh in on the Rust vs. C++ debate, but I know that if you’re trying to make headway against a language as entrenched as C++ is you’ve got to get loud.

lambalicious ,

Many Rust shills seem to have some rust in their brain…

MechanicalJester , in Dad has the chops to be a project manager.

Geez… Project managers are forbidden from making work estimates- they only get to collect them.

They don’t get to argue estimates either. They can ask questions to gain understanding but the estimates are the estimates.

Wearing an architect or chief engineer hat is sometimes more fun because you get to call bullshit on dumb estimates like “4 to 5 weeks to model a table with 7 fields, with 2 of them being PK, FK” like GTFO we can model it in the next 5 minutes if I talk slowly.

deadbeef79000 ,

I’ve had PM’s complain that our estimates don’t fit into their plan.

I just walked away.

MechanicalJester ,

If the timing is critical then the only reasonable solution is to cut scope and features until it fits.

The triangle isn’t a rubbery floppy thing, it is iron!

deadbeef79000 ,

They fully subscribed to the mythical man month. So they just threw bodies at it and then couldn’t understand why the project got slower.

MechanicalJester ,

I don’t understand your statement. The Mythical Man Month teaches exactly that lesson of more bodies != Faster in many cases.

How long to build the site with 1 full stack dev? 1.5 years.

How long with an existing high performance team of 5? 2 months.

How long if you hire 4 plus the one original (all qualified)? 1 to 1.5 years.

How long if we hire 30 full stack devs? Maybe never.

deadbeef79000 ,

Poorly worded on my part.

They fully bought into the idea of the man-month without realising it was mythical.

MechanicalJester ,

You know? I literally figured that out a minute before I saw your reply. And I rolled my eyes at myself.

That makes sense. Silly me

Cheers

Synnr ,

Based on this interaction alone and his dad deciding the price for him, I’m going to make the wildly assumptious assumption this is a 20s/30s(/40s?) unemploymed guy living at his dad’s house rent free.

If my assumptions are incorrect, sorry mate, you did not win the dad lottery.

Xanis ,

I’m still not sure exactly what Project Managers do. I’ve seen countless job postings and even stories from people claiming to have been one. Yet, more often than not they get shit on, and memes often have a kernel of truth.

JackbyDev ,

Yet when I have a good one versus a bad one I can definitely tell the difference.

trolololol ,

Many roles main responsibility is to report upwards what happens in"the basement". Which includes translating what one person says into that the other can understand. Then there’s roles that do it both ways.

If there’s time to spare, a good project manager can also bring health and common sense to the team they’re part of. That takes pointing out non sense both inside and outside the team, and the hardest part - being constructive about it.

Xanis ,

So essentially taking complex ideas or situations and breaking them down a’la eli5 style to the suits and other personnel that may not otherwise understand. At the same time in other situations or roles, taking expectations and directives from higher up and breaking them down so they’re digestible and workable.

Man, these job descriptions really makes it sound like you’re going to be doing incredibly complicated and potentially invasive team-to-team tasks. When in reality you’re trying to get a bunch of cats to work together without slapping one another.

dgriffith ,

They are supposed to be the glue that binds the internal team together as well as bonding to external groups.

The project manager organises external requirements and steers the project in the direction needed for the business. That direction might change depending on the status of other projects, it’s their job to be on top of that.

They also report progress and roadblocks upstream so that those who manage groups of related projects can work on keeping everything running.

Whether they’re actually competent, well that’s something else entirely.

xthexder ,
@xthexder@l.sw0.com avatar

Exactly this. You don’t realize how useful they are until you’ve had a good one. The amount of BS from other teams they can shield you from can make focusing on your own job so much easier.

Unfortunately the ratio of good to bad PMs leaves a lot to be desired.

MechanicalJester ,

Good ones are pretty rare and good program managers are even rarer.

What they should do, and what most actually do, are different things.

Project managers must be great with humans and communication. If they are not, then they just can’t be effective.

Xanis ,

Oooh. Okay yeah, that explains it. Communication is the number one thing that most people struggle with. I’m constantly pestering my bosses about communicating even slightly important information that could affect me a rung down. Then even when it is reported it isn’t effective or concise, or if it is concise it’s unclear.

Okay. I’m beginning to get a grasp on it.

Buttons ,
@Buttons@programming.dev avatar

I like to put my estimates in writing somehow.

“My initial and unbiased estimate is 3 months.” Put it in an email, nothing will ever change the fact that my initial estimate was 3 months.

MechanicalJester ,

Ideally your estimates would just be complexity points. And those estimates would go on on the stories in Jira/Azure Dev Ops / wherever

And honestly the team should meet up and discuss the estimates

xmunk , in How IT People See Each Other

Gosh the QA column is depressingly accurate for shitty game companies.

The best thing to take away from this meme isn’t “lol QA dumb” or “lol Designers eat paint” it’s “fuck, what kind of toxic asshole legitimately feels this way about their coworkers” and yea, they exist - I’ve met them. Don’t be one of those assholes.

nxdefiant ,

The “qa as seen by dev” pic should be this Jessie meme.

The QA as seen by QA pic should be this Dr strange meme.

zea_64 , in Someone needs to be reminded that anticompetitive practices are illegal

Can a EULA ban fair use? Google v Oracle might have something to say about this.

mp3 ,
@mp3@lemmy.ca avatar

It can say whatever it wants unless invalidated by a court or an existing law saying otherwise.

xmunk ,

Yup, it’s not a question of laws if there is no enforcement.

chiliedogg ,

But until a government steps in there’s potential civil liability for violating the terms. And even winning a lawsuit against Nvidia could be very expensive and take years. And even if they lost it would be worth it to Nvidia to go through the long, expensive process because they’d making sales that entire time.

mindbleach ,

EULAs should not exist.

FluffyPotato ,

Probably depends on your country’s laws. Here in Estonia most EULAs aren’t valid because pressing accept on those isn’t legally binding.

anders ,

@FluffyPotato @zea_64 Nice haha.

mexicancartel ,

What if we don’t accept the EULA? Like why do we need to accept Nvidia’s EULA to create translation layer of cuda?

FluffyPotato ,

You probably don’t but it depends where you are. Reverse engineering software without permission isn’t illegal in most places but in the US I’m pretty sure it is.

mexicancartel ,

So its for reverse engineering it only? They can’t restrict creating a translation layer if no reverse engineering is involved right?

FluffyPotato ,

No idea, I’m not from the US and don’t know the laws beyond what I have previously looked up. Here in Estonia you can make the translation layer without accepting any EULA and even if you did it wouldn’t be legally binding. You can alse reverse engineer anything you want.

mexicancartel ,

Me neither is from us though

backhdlp , in C++ Moment
@backhdlp@iusearchlinux.fyi avatar

Meanwhile Rust: you might get an error at line 45 word 3 because it assumes variable foo is an int32 but it could be (whatever else idk), let’s not compile this before you correct this by changing line 43 in this specific way. Here’s the before and after code snippets so you can just copy-paste the fix.

TxzK ,

Man I fucking love the Rust compiler. Easily the most understandable and useful error messages I’ve ever seen.

skulbuny ,
@skulbuny@sh.itjust.works avatar

Have you seen Elm’s error messages? They were what inspired Rust to have its error messages.

Asudox ,

I like how Elm error messages are like the compiler talking to you as a person.

anton ,

In my IDE there us even a button for accepting the compilers recommend fix. This is only possible because the error messages and recommendations are that good.

agent_flounder ,
@agent_flounder@lemmy.world avatar

Hm. Rust sounds better and better every time I hear something new about it.

TrickDacy , in Tough break, kid...

“prompt engineering”

Sounds made up af

datavoid ,

It is, I believe the correct term is “proompt”

Croquette ,

The US add engineer to everything to sound most prestigious than they are. If you sell your service as a AI prompt writer, you get paid peanuts. If you sell the same service as AI prompt engineer, the C-Suites cream their pants.

TrickDacy ,

So you’re telling me that people advertise themselves as AI programmers? That does not seem like something to brag about in such a manner

SpaceCowboy ,
@SpaceCowboy@lemmy.ca avatar

Yeah right?

I’ve found it helpful in learning things about languages I’m unfamiliar with, but it seems like saying “I’m an AI programmer” means “I don’t really know what I’m doing in this language, I’m still learning.” Which I suppose shows a willingness to learn, but that’s about it.

Croquette ,

Lots of people think that computers are magic box. And now a diffuse entity in the cloud talk to them? Big heads will gobble that shit up.

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

Every time I commit I have to look through git diff, figure out what the hell I actually did, come up with something intelligent to say about jt, possibly split the commit into multiple commits if I changed multiple things, do some shuffling with git reset and git add

For some reason all my personal projects are all like 4K SLoC with 50 total commits, all of which include apologies for not doing more smaller commits

Anticorp ,

There’s a bigger issue than your commit message if you don’t even know what you just coded and are committing.

AVincentInSpace , (edited )

You see, sometimes I code something, go to bed before finishing it, come back, decide not to commit because then I’d have to think of a commit message and I just want to code, start working on an unrelated feature, do that for a couple days, get distracted by life stuff and put the project down for a few weeks/months, rinse and repeat, and then I finally get around to writing a commit message because I’m about to start a huge change and I want a restore point and I’m like. Okay, it’s been like 3 months since my last commit, I’m pretty sure my code can now do something it couldn’t 3 months ago but come on, I can’t even remember what I had for lunch last Thursday

I’m well aware this is terrible practice but I don’t know how to stop doing it

dukk ,

Commit more often. Maybe work in a different feature branch, and don’t be afraid to commit your half-working crappy code. If it’s a personal project/fork, it’s totally acceptable to commit often with bad commit names and small unfinished changes: you can always amend/squash the commits later. That’s how I tend to work: create a new branch, work on the feature, rebase and merge (fast forward, no merge commit). Also, maybe don’t jump around working on random features :P

AVincentInSpace , (edited )

but…but new feature shiny

Fr tho this is all excellent advice

ExtraMedicated ,

Jumping around to random features is how my ADHD brain works most efficiently.

Slotos ,

Good news, TDD is methylphenidate of software development!

Anticorp ,

You can help yourself a lot here by making commits every time you make a meaningful change. A feature doesn’t need to be complete to commit major checkpoints along the path to completion. That’s what feature branches are for. Commit often. It’ll help you think of messages, and it’ll help you recover in the case of catastrophe.

adrian783 ,

you can setup a on-save script to force you to commit when the number of changes is greater than a certain number from the previous commit.

akkajdh999 ,

I just get too excited about actually implementing/fixing something (random things that I see along the way) more than commit ceremony (nobody will care about it in my project anyway other than one random guy who gave the repo a star)

oce ,
@oce@jlai.lu avatar

Nah, I’m that guy, I gave your repo a star for the effort, but I’m not reading your history.

adrian783 ,

it means you commit too infrequently. your commit messages should be able to describe what u just did within 10 words.

PixxlMan ,

I spend much time splitting them up inside visual studio by file and individual lines changed to try and separate my many simultaneous changes into several somewhat usable commits. If I was stupid enough to make some big refactor at the same time I might just have to throw in the towel… It’s really painful after a few weeks to try and pick up the pieces of what I was doing but never commited too lol.

PoolloverNathan ,

^psst,^ ^git^ ^add^ ^-p^

etchinghillside ,

Remind me what -p does.

Edit: never mind - I see it mentioned below.

PoolloverNathan ,

Patch add - it shows you particular changes you made, and you choose whether or not to include them in the commit. (You can then use git stash -k to stash only the changes you did not add, so you can test before you commit.)

suy , in Show me a better text format for serializing

Norway.

Ups. Sorry, I meant “NO”.

Deleted , in Which side are you? Javascript or Typescript

I'd rather stay out of the frontend all together but I'd rather chop my balls off than go back to JS.

SpeziSuchtel ,

Plot twist: You are transgender and love working with JS

MarkusMagMagenbrot , in Father material

I did not notice which community this post is from for way too long.

fkn , in Golang be like

Also Go: exceptions aren’t real, you declare and handle every error at every level or declare that you might return that error because go fuck yourself.

zorro ,

Because that’s sane and readable?

fkn ,

Wow. I’m honestly surprised I’m getting downvotes for a joke. Also, no. It isn’t. It really isn’t.

gornius ,

It is better than in most languages with exceptions, except from languages like Java, that require you to declare that certain method throws certain error.

It’s more tedious in Go, but at the end of the day it’s the same thing.

When I use someone else’s code I want to be sure if that thing can throw an error so I can decide what to do with it.

fkn ,

Java doesn’t have to declare every error at every level… Go is significantly more tedious and verbose than any other common language (for errors). I found it leads to less specific errors and errors handled at weird levels in the stack.

GlitchSir ,

You know it’s social media when the one that’s right is downvoted

eestileib ,

I’m with you, exceptions sound good but are a bug factory.

r1veRRR ,

It’s better than “invisible” exceptions, but it’s still the worst “better” version. The best solution is some version of the good old Result monad. Rust has the BEST error handling (at least in the languages i know). You must handle Errors, BUT they are just values, AND there’s a easy, non-verbose way of passing on the error (the ? operator).

theneverfox ,
@theneverfox@pawb.social avatar

Beyond a quick “hello world” when it came out, I’ve never used rust, but that sounds pretty great

herrvogel ,

There’s nothing sane and readable about how Go insists you format dates and time. It is one of the dumbest language features I’ve ever seen.

onlinepersona , in Play stupid games, win stupid prize

So trying to hack hackthebox is not permitted? Confusion is the name of the game

Anti Commercial-AI license

firelizzard ,
@firelizzard@programming.dev avatar

hackthebox is essentially a puzzle solving platform where the puzzles are designed to teach you hacking. You’re not supposed to hack the platform.

Hawk ,

So trying to hack hackthebox is not permitted? Confusion is the name of the game

Ephera , in I Will Fucking Piledrive You if You mention AI Again

Aside from the technology stack being the embodiment of vendor lock-in and misery, the scamming is really what makes me not want to work on Generative AI tasks, or whatever the next hype thing is going to be.

The worst part is that many people want to be scammed. We have customers come to us, asking for a solution to a problem they’ve had for long time, and asking it to be solved with GenAI.
Then we tell them that there’s really no use-case for GenAI there, that it could be better solved for half the money using traditional methods.

At which point, they ask us to integrate GenAI in some place anyways, because otherwise their boss will not give them the money. And of course, that boss also has a boss who also only frees up budget for GenAI.
And that just repeats upwards, until you have shareholders at the top, who eat up the hype, because other shareholders eat up the hype.

suction ,

And if you tell them “no” too often they’ll choose your scummy competitor who’ll just tell them “yeah we put all the AI in it, whatever” over you who want to actually help them.

frezik ,

<span style="color:#323232;">import tensorflow # we don't actually use this anywhere, but my boss told the client we use AI
</span>
FiniteBanjo , in It's easier to remember the IPs of good DNSes, too.

The problem is we’re projected to run out of unique IPv4 addresses by 2003.

orangeboats ,

And we are facing the effects of it as we’re speaking. CGNAT and protocols like TURN were not invented without a reason.

lambalicious OP ,

Not a big deal. We’re projected to run out of years by 2000 and then the world will end.

PaintedSnail ,

And it took a lot of hard work by a lot of people to adopt new date standards to avoid that problem. Now it’s time to adopt new IP standards, and it’s going to take a lot of hard work by a lot of people.

joel_feila ,
@joel_feila@lemmy.world avatar

Oh god that brings back memories. Reallying dumb ones of people but memories none the less

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