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.

420stalin69 , in ifn't

array.whomst(element => element === needle)

cornshark , in DO NOT MERGE

Heh, a funny collision of terms.

The green Merged means that the pull request was submitted into the branch.

The DO NOT MERGE text is an instruction for automerger. Android is developed in a truly startling amount of related git branches. Automerger is the tool that propagates commits back and forth to make sure pull requests get to all flavours, versions and devices.

DO NOT MERGE tells Automerger not to propagate that pull request to newer versions of Android, i.e. it’s a fix for the currently released version that’s not relevant to the next development version of Android for whatever reason.

Also seen, although more rarely, is DO NOT MERGE ANYWHERE which tells Automerger not to propagate the pull request to any other branch other than where it was originally submitted, including branches for related products on the same version of Android.

leds OP ,

Interesting, thanks for explaining. Like someone else was saying it is already in AOSP not introduced in lineage which makes sense since it is just a cherrypick

CodeMonkey ,

Out of curiosity, any idea what automerger they use? I have always been on the lookout for one for hobby projects.

taanegl , in ifn't

I’m just hoping this paves the way to code with Southern dialect


<span style="color:#323232;">iffun is == true
</span><span style="color:#323232;">iffun ain't == false
</span>
timetravel ,

May I introduce you to the joys of and creating your own horrible sub language

frezik ,

That reminds me of an old paper about how to create a compilable C program out of old game ROMs. Decompile to assembly. Implement a bunch of #define statements that implement all the ASM statements. Now compile it to a native binary on whatever platform.

Won’t likely be faster or more accurate than regular emulation methods, but it’s a neat idea considering that the source code on all this stuff was lost a long time ago.

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.

MagicShel , in ifn't

Reduce exclamation marks!? Great Scott!!! Is there a shortage of punctuation in the future!?

SubArcticTundra ,
@SubArcticTundra@lemmy.ml avatar

All known deposits were depleted

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

You could have saved two, all you had to do was use the interrobang. You’re a monster.

fsr1967 ,

Kernighan, what was I thinking?

jaybone ,

1.21GB!!!

Luvon , in Sometimes things do go your way

The bug is in the library of a library that the library owns. They fixed it and published it in the library of the library but the library hasn’t been updated in 2 months.

sneaky_hecker , in DO NOT MERGE
@sneaky_hecker@lemmy.world avatar

Even if it was merged I’d be more concerned how on earth you have infinite Firefox tabs open

lone_faerie ,

It’s when you have more than 99 tabs open

DreadPotato ,
@DreadPotato@sopuli.xyz avatar

What kind of psychopath has that many tabs open!?

CrypticCoffee ,

I take personal offense to that. How do you not?

Kusimulkku ,

I close all the tabs regularly. Bookmark for those that I need to save for longer than one session

DreadPotato , (edited )
@DreadPotato@sopuli.xyz avatar

I bookmark stuff I need at a later time, or will need again, and read the stuff I want to read now and close the tab when I’m done.

Daeraxa ,

I got to that once, on mobile I’ve never worked out the rule for when FF opens a new tab vs opening a site in your current tab. They just kind of silently accumulate.

DreadPotato ,
@DreadPotato@sopuli.xyz avatar

Yeah it’s a bit weird with FF, I just purge open tabs for unnecessary tabs daily.

loutr ,
@loutr@sh.itjust.works avatar

There’s a setting to auto-close tabs after a certain amount of time.

DreadPotato ,
@DreadPotato@sopuli.xyz avatar

I like to be in control of what gets closed and when, so nothing gets closed before I bookmark it if need it.

mexicancartel ,

“Oh no! What if I need it later”

~ me, more than 99 times

leds OP ,

Yeah that’s the problem I have, started while ago. It opens a new tab instead switching to existing tab.

poplargrove ,

I keep tabs open as a sort of “read page later” list. I never seem to get to reading them though.

DreadPotato ,
@DreadPotato@sopuli.xyz avatar

So do I, for a few days. If I haven’t read it by then, I’ll either bookmark for later or just close. I pretty much never have more than 10-15 active tabs ever.

ripcord ,
@ripcord@lemmy.world avatar

As we know, scientists have not yet discovered any numbers past 99

Michal , in Sometimes things do go your way

And the library update isn’t published for 6 months

jtk , in ifn't
@jtk@lemmy.sdf.org avatar

<span style="color:#323232;">ifn't (myNum don't= 3 && myStr ain'tnull'rblankish)
</span>
felbane ,

Please remain calm, we are sending paramedics to your location.

ripcord ,
@ripcord@lemmy.world avatar

I genuinely lol’d

SubArcticTundra ,
@SubArcticTundra@lemmy.ml avatar

I hate seeing colloquial terms like ‘ain’t’ in non-comment (ie. standardized) parts of code

aCodeCrafter , in WDYM your terminal isn't a test suite?

Welp, just did this to see what -c does…

Excuse me whilst I cry myself to sleep

sabreW4K3 OP ,
@sabreW4K3@lemmy.tf avatar

🥺

lugal , in Sometimes things do go your way

Your deadline is tomorrow

Dempf ,

Time to compile it myself.

lugal ,

I’m tired, I thought it’s published next week

bleistift2 OP ,

Time to write a ‘Known limitations’ section.

leds OP , in DO NOT MERGE

But thanks for keeping my phone up to date, it is appreciated ♥

infinitevalence ,
@infinitevalence@discuss.online avatar

Same, I run 3 devices all on Lineage and its great. Who know that you could still get updates and support for a device from 10 years ago, suck on that apple.

DreadPotato ,
@DreadPotato@sopuli.xyz avatar

It’s just kind of sucks that updates consistently breaks banking apps and other stuff relying of passing safetynet. Every time I update I have to do the Magisk workaround again which is really annoying.

fckreddit , in Sometimes things do go your way

And then you wake up.

superfes , in Sometimes things do go your way

This has happened to me once, in 20 years of development.

That’s pretty good.

lung , in ifn't
@lung@lemmy.world avatar

ifn’t(!valid) halp?

Deconceptualist ,

I believe that resolves the same as

ain’t!(!untrue)

RagingHungryPanda ,

ain’t (nothin)

elvith ,

<span style="color:#323232;">{
</span><span style="color:#323232;">  put(a, "heartache")
</span><span style="color:#323232;">  tell(me, "why")
</span><span style="color:#323232;">  ain't(nothing)
</span><span style="color:#323232;">  {
</span><span style="color:#323232;">    put(a, "mistake")
</span><span style="color:#323232;">    //...
</span><span style="color:#323232;">  }
</span><span style="color:#323232;">}
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines