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.

Lucien , in Twitter/GitHubProjects has no chill 😅

Man fuck that, if I’m in a coma work can suck my dick

Nakoichi ,
@Nakoichi@hexbear.net avatar

probably having some sick ass dreams and not having to work

QuazarOmega ,

…dreaming of all tests passing

erayerdin ,

This is the guy who has 10 years experience on a 1 year old framework.

cupcakezealot , in GitHub Desktop or Git CLI?
@cupcakezealot@lemmy.blahaj.zone avatar
caseyweederman ,

You have my attention

Do they have a Linux client though?

cupcakezealot ,
@cupcakezealot@lemmy.blahaj.zone avatar

sadly no and i don’t think it works through wine

but technically they have a mac client which is basically an expensive version of linux

Aatube ,
@Aatube@kbin.social avatar

Not really. It’s BSD, and even then the layout of the OS is quite far from BSD. Besides that you have a lot more technical stuff. Just use wine.

TrickDacy ,

I wish! The best Linux git gui I have found is SmartGit. I like it, but it’s just a little goofy and not free. Fork is better for its ability to very easily stage and/or stash a subset of the current changeset.

Anyone got any suggestions? I tried git-cola and gitkraken. The former I found obtuse and limited, and the latter is not free in addition to somehow making git harder with a pretty gui.

Aatube ,
@Aatube@kbin.social avatar

Gitkraken is free as long as the repository is public, which seems like an alright compromise to me. The only problem I had with it was that it was electron. What did it make harder for you?

TrickDacy ,

I just really detest the UI. And I have private repos I have to work with as well.

BaardFigur ,

deleted_by_author

  • Loading...
  • TrickDacy ,

    Right and that is how I currently use it

    floofloof , (edited )

    The best ones I have found for Linux are SmartGit and Sublime Merge, but neither are free in any sense. Sublime Merge is slightly cheaper. SmartGit offers a free “hobby license” but it limits which kinds of repos you can work with.

    Gitkraken looks like it might be good but I haven’t used it.

    eluvatar ,

    Been using it for years it’s great

    ramenshaman ,

    I hate coding on Windows, maybe I’ll check that out. (My only option is Windows for my work laptop because I need to use a few Windows-only softwares and IT says I’m not allowed to dual boot)

    jadedwench ,

    Is running Linux off a USB drive possible? It isn’t ideal, but you can still have persistence if needed? There is also WSL, if you don’t need a GUI.

    ramenshaman ,

    After the last windows update WSL gives me a BSoD every time 😭 Pretty sure IT wouldn’t appreciate me running Ubuntu off a USB drive but that’s a good idea.

    Aatube ,
    @Aatube@kbin.social avatar

    Any windows screenshots?

    (Fork is also an awful name in terms of searching for it btw)

    cupcakezealot ,
    @cupcakezealot@lemmy.blahaj.zone avatar
    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.

    reverendsteveii , (edited ) in Bill is a pro grammer

    `//Get CustomerInfo from CustomerRepository by Customer ID or else throw an CustomerNotFoundException

    public CustomerInfo getById(String customerId) {

    
    <span style="color:#323232;">return customerRepository.getById(customerId).orElseThrow(new CustomerNotFoundException());
    </span>
    

    }`

    This is the kind of pointless comment I see in my codebase all the time. Best I can tell, a couple of my coworkers like to plan out their code using comments, then backfill in the actual executable code. That’s fine, but they leave the comments in when they add no value.

    ` public static LocalDate parseEndDateFromString(String dateString) {

    
    <span style="color:#323232;">    try {
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">        String[] split = dateString.split("-");
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">        //In order to get the last day of the desired month, we go to the first day of the next month, account for rollover, then subtract one day
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">        int month = Integer.parseInt(split[0]) == 12 ? 1 : Integer.parseInt(split[0]) + 1;
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">        return LocalDate.of(Integer.parseInt(split[1]), month, 1).minusDays(1);
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">    } catch (Exception e) {
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">        throw new RuntimeException("Invalid date format - must be MM-YYYY");
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">    }
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">}`
    </span>
    

    Stuff like this, otoh, is where comments are useful. The required format is obvious from the error message, the param and return from the method signature, the only part that requires a comment is the fiddly logic of accounting for the edge case where month == 12 and the rationale behind how we determine the last day of the month. As a rule, comments are for why something is being done, if it’s not obvious, and for magic numbers. Code should tell you what code does.

    edit: can anyone spot the bug that I introduced with that parseEndDateFromString() method?

    magic_lobster_party , in 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate. this wouldn't have happened if Bill forgot to comment on his code

    Bill writes spaghetti code.

    Bill is not smart.

    Don’t be like Bill.

    MeanEYE , in Yes
    @MeanEYE@lemmy.world avatar

    I feel like this with Python these days.

    DriftinGrifter ,

    Me when micropython isn’t fast enough to give my microcontroller complex real-time responses

    LiveLM , in Merge then review

    LinkedIn “influencers” are insufferable, dear god

    xmunk , in Merge then review

    At my company we’re so agile that we directly deploy branches from developers’ local machines to customers for A/B testing.

    TheFerrango ,

    Call it “container orchestration” and charge an extra 20% to the customer

    xmunk ,

    As one of our most important customers, we’ve greenlit you for our cutting edge early access. Most people need to wait weeks for the features you get today!

    TheFerrango ,

    We’ve been doing that the wrong way, offering a discount if they were willing to try the early features.

    This is the big money reasoning that I should suggest to the bosses.

    Dasnap , in A box of DevOps
    @Dasnap@lemmy.world avatar

    Me carrying a comically oversized box of compose files.

    Ferk , in Think of the children
    @Ferk@kbin.social avatar

    be nice

    What niceness level exactly?
    The most nice I can be in my system is -20.. but being too nice to one process leaves others with less time and resources in their life.

    Anticorp , in Spooktober meme time!

    Here’s another one: Companies depend on Adobe.

    xusontha OP ,

    That and: Companies are stuck with Adobe

    Aiyub ,

    Off by 1 error

    Anticorp ,

    Usually these things are “or less”. I see looking again that it wasn’t actually said.

    onlinepersona ,

    Governments depend on Microsoft.

    bAZtARd ,

    Governments? Try critical infrastructure…

    Anticorp ,

    That is truly terrifying.

    cm0002 , in Microsoft Edge could use a win

    Fuck no, I’m not particularly a fan of how it forces itself on you like Brock Turner (the rapist).

    It can go and join IE in whatever pit of hell we threw IE in

    If you wanna say that Chrome is trash and people should use Firefox, Opera, Safari or whatever else is currently trending among privacy focused people that I can agree with (Even if I personally won’t make the switch)

    But Edge is NOT the answer, Edge is NEVER the answer. At this point I’m starting to wonder if all these Edge people in here are being paid by MS

    ElBarto ,
    @ElBarto@sh.itjust.works avatar

    There are some things from reddit I hope never come over here, but shitting on the rapist Brock Turner is always welcome in my books.

    SnipingNinja ,

    Welcome to the boat, I tried edge from all the people recommending it on reddit and I hate it

    And the rapist analogy is not enough for how bad it is, it’ll copy everything from your default browser without your permission (or I somehow missed it)

    Like I was caught by surprise when all my bookmarks, passwords, etc were just straight up copied by that privacy intruding piece of crap.

    Fuck edge

    WoodenBleachers ,
    @WoodenBleachers@lemmy.basedcount.com avatar

    Definitely missed it. It doesn’t grab everything without permission, but probably wants to stay out of the way so you do pull it all in

    Nobsi ,
    @Nobsi@feddit.de avatar

    Edge is probably my favourite chromium browser. Seems like you care too much.

    willya , in D or d come on
    @willya@lemmyf.uk avatar

    You know you prefer the D

    Moc ,

    OP can definitely handle a bigger D

    Endorkend OP , in You know Mastodon is going to be big when ...
    @Endorkend@kbin.social avatar

    Best thing is, the accounts that do this get taken down at spectacular speeds.

    PoolloverNathan , in Forgetting the basics look like this.

    At least it isn’t writable… yet.

    akash_rawal OP ,

    Together we can make this happen!

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