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.

tiredofsametab , in ifn't

die unless $keyword == "unless";

DieguiTux8623 ,

I personally have a gut feeling of rejection for every language having the unless keyword. This is why I hardly know any PERL and Ruby for example.

I have mixed feelings towards Kotlin’s takeUnless scope function (I nearly always use takeIf with a negated predicate) because my mind forgets the unless version exists.

devfuuu ,

For me I don’t know if it’s because I’m not english native, but reading and understanding code using unless or similar negated boolean operators makes my mind stop computing amd becomes very hard to read.

UnfortunateShort , in DO NOT MERGE

That’s why there are draft merge requests nowadays. Although I kinda miss the “DONT MERGE WE GONNA DIE” comments.

Cwilliams , in git commit -m "minor fixes" +26858 -69429

<span style="color:#323232;">do_the_thing() {
</span><span style="color:#323232;">  git commit -am "$(date)"
</span><span style="color:#323232;">  git push
</span><span style="color:#323232;">} 
</span>
marcos , in git commit -m "minor fixes" +26858 -69429

And I’d bet stuff is still broken!

MajorHavoc ,

Yeah. Definitely. If it was fixed there would be a commit with log ‘works now. WTF?!’

topinambour_rex , in My coding skill V/S My GitHub Repositories
@topinambour_rex@lemmy.world avatar

Why the “/” between VS ?

emptyother ,
@emptyother@programming.dev avatar

Seems like its a common mistake, maybe brought on by its use as a stylistic choice in entertainment. “Myguy vs/ Yourguy” became “MyGuy v⚡s Yourguy” became the abomination that is “v/s”. Probably. I’m no etymolog.

wreckedcarzz , in Fitbit Clock Face
@wreckedcarzz@lemmy.world avatar

But a json file is used for storing settings and the like, not for providing real-time data, yeah?

Winter8593 ,

I think:

  1. that’s the joke
  2. this is just a watchface template, not an actual file being updated constantly
felbane ,

API calls often return json. It’s just a data format.

TexasDrunk ,

deleted_by_author

  • Loading...
  • aniki ,

    You mean programming an ingestion routine to process json, surely, right?

    eerongal ,
    @eerongal@ttrpg.network avatar

    That’s friend’s name? Jason Parsor

    Turun ,

    /sys/: am I some kind of joke to you?

    To be fair you won’t find Jason there. But plenty of files that provide real time information about the system!

    Daxtron2 ,

    No it’s used for all types of data transfer and real time data as well.

    A_Very_Big_Fan ,

    I mean, I’ve never used JSONs before but I imagine you could still write to them in realtime at least, as inefficient as that sounds lol. So you could probably get the same results on an actual text editor if you could modify it to update the text automatically when it detects a change instead of prompting the user

    starkzarn , in My coding skill V/S My GitHub Repositories

    I don’t know how you got a picture of me, but I demand it is removed!

    hypnotic_nerd OP ,
    @hypnotic_nerd@programming.dev avatar

    Nailed it 😜

    lseif , in Always

    visual studio finished starting

    brokenlcd , in Always

    I’m not sure why but i just flat out work better at night when everyone is asleep, pretty mutch all of the “last modified” time on my project files is from 10 pm to 3 am

    xor ,

    no distractions…
    one metaphor i heard is, holding a program in your head is like building a house of cards, every time a phone rings or something breaks your concentration, you have to rebuild the house

    ripcord ,
    @ripcord@lemmy.world avatar

    every time a phone rings or something breaks your concentration, you have to rebuild the house

    Holy moley.

    I guess this is why programmers generally don’t do construction.

    xor ,

    house of cards

    Croquette ,

    Some people are more diurnal, some are more nocturnal.

    My productivity peak is between 8PM and 11PM, but with kids this is impossible.

    lurch , in When you forget to set a boundary conditions in your logic

    Did you live on a very fast spaceship maybe?

    … or did you travel back to the start of 2023 multiple times, trying to fix the world? It would explain a lot of things.

    1984 , in Happy New Year Coders.
    @1984@lemmy.today avatar

    At least we know how to make fun of ourselves.

    Can’t get dates, but we have humor. :)

    LetterboxPancake , in Happy New Year Coders.

    I spent the last day refactoring code for a (private) project. But I drank coffee. This isn’t accurate at all!

    Kolanaki , in Good luck web devs
    @Kolanaki@yiffit.net avatar

    How many minor operating systems support it? 🤔

    backhdlp ,
    @backhdlp@lemmy.blahaj.zone avatar

    I’m assuming most that can run Xorg.

    jol ,

    There’s ReactOS and BSD off the top of my head.

    redcalcium , in Good luck web devs

    Not on wayland, right? Time to pester wayland devs to add this important missing features!

    nickwitha_k ,

    Probably would fall into scope of a compositer in Wayland, rather than the protocol. I suspect it originated with old CRT displays. Sometimes they can appear scan diagonally.

    Even without that usecase, I think it’s great to have around in order to support novel displays and display-like devices.

    JoYo , in no.. just no
    @JoYo@lemmy.ml avatar

    still more readable than sqlalchemy exceptions

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