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.

ilinamorato , in Need a rust version too.

You have Rust. (the knight in this panel looks very cool, wears sunglasses, and probably has a ponytail)

You’ve been told how easy it is to rescue the princess. Absolutely nothing will get in your way, they say; nobody can possibly get access to your plan, and you can even rescue multiple princesses simultaneously! (in this panel, the knight is imagining rescuing three princesses from three different castles at the same time)

You start working on your plan. It’s elegant and beautiful. You write articles on Medium to tell other knights how to rescue their princess. You tell everyone who will listen about your plan. You become a Rust zealot. You never rescue the princess. (In this panel, the knight is nowhere to be seen, and the princess looks bored in her tower. The knight is across the field, at a festival with the banner “RUSTCONF” flying overhead)

lseif ,

yeah but memory safety tho

WaterWaiver ,

Yeah not one mention of “I’ll never forget you Princess”

ilinamorato ,

Great punch-up. I wish I’d thought of it.

wolo ,

I’ll never std::mem::forget you…

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

Not how that format works, mate.

janus2 ,
@janus2@lemmy.zip avatar

Possibly better suited for Vanya and Five Drive By Each Other

hansl ,

Misusing meme templates is a long programminghumor tradition.

ook_the_librarian ,
@ook_the_librarian@lemmy.world avatar

We need strongly typed memes. This place is chaos.

CrayonRosary ,

Works for me.

doctorcrimson ,

I think the text should be combined into one sentence, which would be run-on but still give the impression that both images refer to one person, as it should be.

CrayonRosary ,

Ah, I understand now

Daft_ish ,

Another meme purist. If you guys keep this up you’re going to spawn a new variety of meme.

doctorcrimson ,

If it’s constructive then it should be interpreted as good faith.

paintbucketholder ,

Is saying “you’re doing it wrong” really constructive?

doctorcrimson ,

I didn’t think a step by step guide was really needed to correct it, but maybe I should?

FlickOfTheBean ,

The first step to correction is understanding there is a problem in the first place. This is quite constructive, it may just not feel like it is because it’s framed combatively.

You’re doing it wrong is the phrase that lets teachers teach at one of the most basic levels.

The public is essentially a self teaching teacher, so this is just the process of public correction happening. It may look/feel like public shaming, and it may be if they’re going too far, but that is the mechanism that I think is playing out here.

Does that framing make it any more palatable to you or does it still seem unnecessarily disrespectful?

paintbucketholder ,

It’s probably just a definition thing.

To me, constructive criticism means that the criticism doesn’t just point out failure, but that it then also shows how to correct that failure.

By itself, “you’re doing it wrong” is just destructive: it takes something apart, it destroys it. Without a subsequent “and here’s how you would do it right,” it doesn’t become constructive, it doesn’t help in putting things back together in the correct way.

Sure, as a first step, “you’re doing it wrong” is completely justified when something is actually wrong.

But without the second step - the constructive part - it just doesn’t constitute constructive criticism. By itself, it’s just criticism.

FlickOfTheBean ,

Ah I get that, like the frustration of a sociological paper pointing out a societal issue but offering no steps on how to solve it due to fixes being out of scope (utterly infuriating lol).

I still think the criticism is valid, but I do think I agree in that the criticism could be more constructive… But I still think laying the foundation of the argument, so to speak, is still constructive even though it may not go as far as one may need for it to cross the threshold back into polite…

I am still convinced this is a knee jerk feeling issue more than anything truly being amiss, but I have been wrong before. What do you think?

I agree it probably is a definitions thing, I’m very pedantic sometimes and it feels like my definition of constructive is much more optimistic/wider/encompassing than yours. That doesn’t mean that my definition is right or that your position is wrong though, that’s just what I think is going on here.

Alph4d0g , in Programmer tries to explain binary search to the police

I’m sure it didn’t go well. If it was somehow framed in a sycophantic way where the police were led to believe it was their idea, I’m sure it would have gone better. Wait that might not be too difficult to do.

tocopherol ,
@tocopherol@lemmy.dbzer0.com avatar

You just have to say there was a weird technique the Nazi’s liked to use.

pressanykeynow ,

They probably already know all Nazi techniques.

andthenthreemore ,
@andthenthreemore@startrek.website avatar

Na. If it’s British police it’s just an excuse. All they’re there for after all these years of Tory cuts is to give you a reference number so you can make an insurance claim.

Lowpast , in the myth of type safety

Sounds like you don’t know how to properly use TypeScript…

Zangoose OP ,

If I had the willpower or time to go through a multi-thousand line (not including the html templates) legacy Angular 6 codebase where almost every property is typed ‘any’ then I assure you I would have, it’s driving me insane 🙃, also why I prefer backend

walter_wiggles ,

Print the code out and burn it

0xSim ,

The boy scout technique: fix your types when you're working on a bug or a feature, one file at a time. Also try to use unknown instead of any for more sensitive parts, it will force you to typecheck.

WhatAmLemmy ,

The fuck the lemons technique: resign and seek an employer that didn’t fail at the most basic level of engineering management and development culture for years and years — because life is short and we’re all running out of time… always.

When life hands you lemons, just say fuck the lemons and bail

DudeDudenson ,

resign and seek an employer that didn’t fail at the most basic level of engineering management and development culture for years and years

So basically change careers

Hupf ,

combustible lemon

roadrunner_ex ,
@roadrunner_ex@lemmy.ca avatar

I kinda feel your pain. A project that I helped launch is written in Typescript technically, but the actual on-the-ground developers were averse to using type safety, so any is used everywhere. So, it becomes worst of both worlds, and the code is a mess (I don’t have authority in the project anymore, and wouldn’t touch it even if I could).

I’m also annoyed at some level because some of the devs are pretty junior, and I fear they are going to go forward thinking Typescript or type safety in general is bad, which hurts my type-safety-loving-soul

Lowpast ,

One file at a time. Make strong pre-commit eslint rules (that way you don’t impact existing code), eventually update tsconfig. You’ll get there :)

Zangoose OP ,

In theory I’m a fan of the inferred but static typing systems that most modern languages use (kotlin, rust, TS, etc.) where most local variable types can be inferred and only return types/object fields/parameters need explicit types.

I just despise typescript because it feels more like someone put a bandaid over JavaScript and all of its oddities instead of making a properly fleshed out language, and allowing the option for an ‘any’ type to be used freely by default emphasizes that.

Zikeji ,
@Zikeji@programming.dev avatar

Based on your description it sounds like you haven’t given it a fair shake. I’ll take TS over JS any day, at least there is room for improvement. I will say however I personally haven’t been unlucky enough to run into projects that abuse the any type. The worst I’ve run into is a JS library with no typings I have to manually type.

Knusper ,

I imagine what they mean is e.g. that TypeScript can tell you something is a Date, but it doesn’t attempt to fix some of the confusing, quirky behaviour with that: developer.mozilla.org/en-US/docs/Web/…/Date#inter…

So, yes, it’s generally better than JS, but it doesn’t actually make it good/attractive, if you’re used to the sanity of backend languages. It very much feels like lipstick on a pig.

Zangoose OP ,

Exactly this. I’d rather use TypeScript than regular JS, but I enjoy using almost any other statically-typed language more (except maybe C++) because TS has the potential to be just as bad as JS for codebases where it isn’t being used correctly (this is true for other languages as well but it’s usually a lot more obvious).

Not that it isn’t possible to have good typescript code, but rather that code becomes a lot harder to maintain because of problems that could’ve been prevented at a language level (truthy/falsey logic, ‘any’ type being allowed by default rather than ‘unknown,’ etc)

Traister101 ,

TypeScript is JavaScript and not in the literal it’s compiled to JS sense but in the think of TS as a linter not a language sense.

michaeljo94 , in GoOn

0.0.0.0/0

Emma_Gold_Man ,

Better hope the goon hasn’t heard of IPv6 either, or you’re toast

oatscoop ,

::/0

Kase ,

Undefined

rainynight65 , in Merge then review

I’m having a hard time figuring out whether this guy is a fucking moron or a fucking idiot.

enitoni ,
@enitoni@beehaw.org avatar

Both?

vox ,
@vox@sopuli.xyz avatar

pete’s a fucking genius

bier ,

Exactly, this is how you pay off your mortgage

Thorry84 , in Its not wrong though

For people interested in the difference between decompiled machine code and source code I would recommend looking at the Mario 64 Decomp project. They are attempting to turn a Mario 64 rom into source code and then back into that same rom. It’s really hard and they’ve been working on it for a long time. It’s come a long way but still isn’t done.

github.com/n64decomp/sm64

altima_neo ,
@altima_neo@lemmy.zip avatar

I thought they were done already?

Thorry84 ,

There is still some stuff that needs documenting, but the original goal of recompiling the created source code into the ROMs has been achieved. People are still actively working on it, so in that sense it’s maybe never done.

arcimboldo , in single binary executable and dlls

When a basic dynamic library needs to be updated because, for instance, there is a big security issue, then all your statically linked binaries will have to be updated. Which means every one of those developer teams need to keep track of all the security fixes, release a new version of the binary and push it, and every user will have to download gigabytes and gigabytes of data.

While if you have dynamic libs you only have to download that one, and the fix will be pushed earlier and all the apps will benefit from it.

muleunchangedstarved OP ,

if users compile the program on their computers (like AUR) then no need to download gigabytes, you just need the source code.

Kache ,

That route already exists today as “the web”, where the “latest” JavaScript source is downloaded and JIT-ed by browsers. That ecosystem is also not the greatest example of stable and secure software.

MechanicalJester ,

Mmmmmmm yes yes can I interest you in a big surprise piping hot dish of Log4J?

milady ,
@milady@lemmy.world avatar

How is log4j related to what they said ? /genuine

PoolloverNathan ,

deleted_by_author

  • Loading...
  • roembol ,

    Log4J is for Java. This is about JavaScript.

    MNByChoice ,

    Gentoo builds take a long time. Plus hard to use the computer during that time.

    (I may be presuming as the comment above yours is about OS wide. And this was how Gentoo handled things.)

    zagaberoo ,

    I use my machine all the time when its updating no problem. You can always configure portage to leave a core or two idle anyway.

    MNByChoice ,

    Oh, thank you! I am realizing I have not used Gentoo in ages. It was the only option on the Xbox at the time, and that didn’t have many cores. I should give it another go.

    chocobo13z ,

    As someone using it as a daily driver, I wish you the best of luck. If you stick with it, I expect you’ll learn a lot about what goes on behind the scenes in other distros that have a lot pre-configured, like greeters, compositors (or DEs and WMs), etc.

    zagaberoo ,

    I use all cores for updating and still have no problems. Doesn’t even make videos stutter. I think you’ll find things much less heinous than they were on Xbox.

    mustardman ,

    Let’s get grandma running Gentoo!

    arcimboldo ,

    Great idea. I’m sure Microsoft, Apple, Adobe, and almost every company that makes money with their software will be super happy to share their source code with me!

    Edit: typo

    exi ,

    But it’s a gigantic waste of energy and time when you could just download a 2mb package and be done with it.

    killerinstinct101 , in using gpu with linux experience

    Oh no, anyway

    Boots into snapshot

    TheTrueLinuxDev ,

    Yup and I am getting sick of hearing this even on Arch Linux. Like, mofo, you could literally run a snapshot or backup before upgrading, don’t blame us if you’re yoloing your god damn computer. Windows have exactly the same problem too and this is why we have backups. Christ.

    On my Arch Linux Install, I literally have a Pacman Hook that would forcibly run backup and verify the said backup before doing a system-wide update.

    neoney ,
    @neoney@lemmy.neoney.dev avatar

    Beating this with NixOS

    TheTrueLinuxDev ,

    Not necessarily, you still need backups or snapshots especially on home directory in case software have a nasty bug like deleting your data.

    igorlogius , (edited )
    @igorlogius@lemmy.world avatar

    in case software have a nasty bug like deleting your data.

    Laughs in isolated flatpak

    … but seriously most of my userspace software cant even access my filesystem? So even if some software blows up i doubt it could do any damage.

    The combination of nixos to have a practical unbreakable system and flatpaks to protect your userspace is pretty great. Highly recommend it. - But having backups is of course still advisable as a 3rd layer of protection, in case of hardware failure.

    TheTrueLinuxDev ,

    Sure until you can’t with flatpak. Flatpak does not safeguard against system binaries and there are always risks associated with that.

    Honestly I think I am going to move on from Programming.dev, it’s filled with script kiddie like you. Good lord.

    Fuck y’all. Good evening.

    igorlogius ,
    @igorlogius@lemmy.world avatar

    Sorry, thought you were talking about userspace software … my mistake.

    I think I am going to move on from Programming.dev Fuck y’all. Good evening

    You seem stressed, hope your mood improves.

    neoney ,
    @neoney@lemmy.neoney.dev avatar

    Unfortunately I think we lost the True Linux Dev. Hopefully someone else comes in to maintain it.

    tiramichu , (edited ) in Account Required, 2FA, Contract Signed In Blood... to see a PDF.

    Any company that hides their documentation has an awful product that they are actually embarrassed about, from a tech perspective. They are hiding it because they are afraid to show it.

    I’ve seen this so many times, and it’s a big red flag.

    These companies work on the basis of selling their product the old-fashioned way, directly to management with sales-people and business presentations and firm handshakes, and then once you’re sold then developers (which management doesn’t care about by the way) have to do the odious task of getting everything working against their terrible and illogical API. And when you need help implementing, then your single point of contact is one grumpy-ass old dev working in a basement somewhere (because they don’t care about their own devs either) and he’s terribly overstretched due to the number of other customers he’s also trying to help, because their implementation is so shitty.

    Conversely, public documentation is a great sign that companies took a developer-led approach to designing their solution, that it will be easy to implement, that they respect the devs within their own company, and they will also respect yours.

    When I am asked to evaluate potential solutions for a problem, Public docs is like the number one thing I care about! It’s just that significant.

    Side story - I once worked with one of these shitty vendors, and learned from a tech guy I’d made friends with that the whole company was basically out of office on a company-paid beach holiday - EXCEPT for the dev team. Management, sales, marketing, finance, they all got a company trip, but the tech peeps had to stay at home. Tells you everything you need to know about their management attitude towards tech.

    FrostyCaveman ,

    Haha sounds so familiar.

    The duality of “we’re a tech company! :D” on the outside and “IT is a good for nothing cost centre >:(“ on the inside

    Buckshot ,

    Been there many times. Had one case where support had to through the reseller who sold licenses in our country. Actual people who knew what they were talking about was tier 3.

    We had a bug and were trying to report it and get a fix or workaround. Just told no, we’re doing it wrong. After a lot of back and forth we had to pay for an “expert” to fly over and show us what we were doing wrong. Turns out he wasn’t an expert, he was a salesmen. Made a demo for us on the flight and the first time he ran it was in our meeting room on projector.

    Failed in exactly the way we had been saying. It was very satisfying.

    Finally he phoned the dev team who confirmed the docs were wrong and we couldn’t do what we were trying.

    tiramichu ,

    Haha yep. Not the support process you want. Glad you managed to let them eat some humble pie at least.

    The support process you want is this: “We’ll make you a channel on our Slack, if you’ve got any issues you can talk with our devs direct!” - yes please!

    Buckshot ,

    Definitely. What I didn’t mention is all that took over a month!

    ByteOnBikes ,

    Fun story! At a conference, I asked this vendor (the company collapsed now) if I can see their documentation. The obvious sales person made a big stink how it’s only for paid customers and I can see it when I paid.

    I told him how stupid it was since his competitors have their docs open.

    During a conference’s event where they parade their sponsors, the vendor got on stage and called me out with “And paid customers will have a wealth of support, like developer documentation… Especially for you [name]”.

    In my nerd rage, I shouted from the audience “What kind of shit software is afraid to share their developer docs publicly?” I was escorted out by security.

    And during the night event when everyone mingles (including sponsors), the guy didn’t show up. And apparently, news got around where by the last day of the event, the entire booth was taken down.

    I dunno if it was me shouting and everyone agreeing with me, or the conference realizing that attacking a paid member of the audience wasn’t a good idea and told him to leave.

    Either way… Tell it to their faces when their product isn’t dev friendly. These charlatans seem to get bolder and bolder with their garbage.

    barsquid ,

    That’s gotta be satisfying that your vengeful anger took down their whole booth.

    Yoooooooo , in The team that pushed yesterday's Crowdstrike update has been identified.

    Hack the planet!

    ZeroCool OP ,

    “Mess with the best, die like the rest.”

    CodingCarpenter ,

    Hack the Gibson

    unreachable , in Boomeram
    @unreachable@lemmy.world avatar
    gibmiser ,

    Jfc is that dog ok? Is he having a seizure? I can’t imagine being so excited about anything

    RamblingPanda ,

    I’m not sure about the being ok part, but I as a human being will never be able to be excited like a Labrador puppy. Except maybe on drugs, but I don’t know which would allow that level of joy and neverending appetite.

    I’m fat already, so that might be a good thing though.

    karthnemesis ,
    @karthnemesis@leminal.space avatar

    The dog has swimmer’s syndrome.

    As far as anyone can tell, the original is from a tiktok animal “funny” explotation/abuse account.

    They have several repeat videos of this dog doing the exact same behaviour, they seem to keep them in tiny enclosures, and keep feeding it milk. Milk is not good for dogs, There’s no guarantee that they feed the dogs regularly or humanely.

    It’s difficult to actually tell context because of the nature of these types of channels. Labradors can have food aggression, especially pound dogs, that needs essentially “dog therapy” over time to abate. Considering animal abuse is rampant on the channel in general, I don’t have high hopes here. The channel posting this specific dog over and over does not give context.

    The last few videos with those two dogs does show some progress with the labrador starting to gain walking ability, so maybe they are trying to rehabilitate, but they’re still giving them insane amounts of milk. They don’t look bone thin, exactly. Again, hard to say with no context.

    If there’s an original source with more information, chances are it’s on some website somewhere in chinese, which can be difficult to convince browsers in english to find :/ Language barrier. I’ve spent a few hours looking, including trying reverse image search. I’ve seen this a few times and memeified animal abuse bothers me, so wanted to know if it’s… not. If someone knows actual context with source links, I’d like to know.

    snooggums , in Corporate America is Just Office Space in Real Life
    @snooggums@midwest.social avatar

    That is backwards.

    Office Space was based on real life corporate America.

    SpaceCadet ,
    @SpaceCadet@feddit.nl avatar

    It’s a documentary.

    ripcord , (edited )
    @ripcord@lemmy.world avatar

    Absolutely.

    Source: I worked there, under a different name

    baggachipz ,

    I actually designed and produced an Initech mug from cafepress and used it in the office. People thought it was funny but I was dead serious.

    jubilationtcornpone OP ,

    Exactly.

    NigelFrobisher , in Happy 30th birthday to RFC 1631 ("NAT"), the "short term solution" we all rely on

    I wrote so many essays and exam answers in the late 90s on how IPv6 would come in and fix everything and I’m really feeling this.

    flying_sheep ,
    @flying_sheep@lemmy.ml avatar

    It did, wherever it’s used. If you can ditch backwards compatibility in your network and just use ipv6, everything gets so much simpler.

    xmunk , in Saw 37 the software Dev

    Heh… but Javascript is so permissive you can just start writing psuedocode and it’ll probably be valid!

    SzethFriendOfNimi ,
    
    <span style="color:#323232;">eval('alert("Yep")')
    </span>
    
    Gork ,
    SzethFriendOfNimi ,
    
    <span style="color:#323232;">for(i=0;i<100;i++){
    </span><span style="color:#323232;">    console.log("Yep")
    </span><span style="color:#323232;">}
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">console.log("uh-huh")
    </span>
    
    NovaPrime ,
    @NovaPrime@lemmy.ml avatar
    Anticorp ,

    Like Dave from Storage Wars?

    UnpledgedCatnapTipper ,
    jubilationtcornpone ,

    “Uh huh.”

    CanadaPlus ,

    And it will do… something.

    whodatdair ,

    Perhaps more than one thing, who can know?

    Anticorp ,

    const notThree = 1 + ‘2’;

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