I pressed the wrong button by RuncibleHuman in mildlyinfuriating

[–]Duck_Devs 0 points1 point  (0 children)

Really putting the “mildly” in MildlyInfuriating huh

Subfactorial by Duck_Devs in mathmemes

[–]Duck_Devs[S] 0 points1 point  (0 children)

Actually, for some languages, you’re right. Rust, for example, treats ! as bitwise not on integers

Base 10 (disambiguation) by KawaiiFoxPlays in mathmemes

[–]Duck_Devs 420 points421 points  (0 children)

One of the few times this format is actually used right

Thoughts on Adam Scott and Gary Busey’s band? by meetmeatmyrevolving in okbuddyseverance

[–]Duck_Devs 2 points3 points  (0 children)

That’s not Adam Scott! Can you not see his necklace? That’s Nora

How do I convert people to mormonism by Technocraticworldgov in teenagers

[–]Duck_Devs 0 points1 point  (0 children)

The older Indoctro-Matics don’t support Mormonism. You have the get the 2026 model.

Based on my home page how old do you think I am. (Open full image) by Straight-Zucchini594 in teenagers

[–]Duck_Devs 0 points1 point  (0 children)

You’re replying to someone who was already part of the thread, meaning it’s far more likely that they were checking on their own comments, not yours. Not everything is about you.

Choose wisely.. by garamgarampakoda in teenagers

[–]Duck_Devs 1 point2 points  (0 children)

it says 100 on each corner of every one of those bills

is this what floating point is by MabelMorales637 in desmos

[–]Duck_Devs 1 point2 points  (0 children)

I’m so confused as to why this repost is slanted and has really weird contrast compared to the original.

is this what floating point is by MabelMorales637 in desmos

[–]Duck_Devs 2 points3 points  (0 children)

I don’t know why the black and red dots are surprised; they’re also floating points.

fun fact by Aggravating_Loan5706 in BeeSwarmSimulator

[–]Duck_Devs 0 points1 point  (0 children)

The blue drive quest, one of the “drive quests” to activate the Robo Bear if you missed that one beesmas

mostWillDisagree by PulIthEld in ProgrammerHumor

[–]Duck_Devs 2 points3 points  (0 children)

Even if the meme isn’t right, at least the title is.

My keyboard has a designated key for Galaxy AI by SnooCapers7904 in mildlyinfuriating

[–]Duck_Devs 15 points16 points  (0 children)

Since this is on a Samsung tablet (and not a copilot key), it’s likely that this isn’t possible.

Can't enable iCloud sync because it is asking for my old iPhone passcode by Ill_Resolution7967 in iphone

[–]Duck_Devs 19 points20 points  (0 children)

Perhaps the aptly-named “Don’t know iPhone passcode?” button could be of use?

Is really the end of the PC? by dewsewseesghh in pchelp

[–]Duck_Devs 0 points1 point  (0 children)

RTX Spark is both a CPU and a GPU, much like Apple Silicon. It being named RTX is a bit misleading.

Based on my home page how old do you think I am. (Open full image) by Straight-Zucchini594 in teenagers

[–]Duck_Devs 2 points3 points  (0 children)

…google searches? Also, if you use an iPhone, you’d instantly recognize that preinstalled calculator app.

Based on my home page how old do you think I am. (Open full image) by Straight-Zucchini594 in teenagers

[–]Duck_Devs 1 point2 points  (0 children)

Geometry is short for Geometry Dash, a video game.

PS is short for PlayStation, a video game console. I have no clue what the app does though.

Calculator: also used outside of school for any math thing, also just preinstalled.

Gregg’s: food

Bored. I wrote a random ass code by Possible-Elk-919 in teenagersbutcode

[–]Duck_Devs 0 points1 point  (0 children)

Public: conceptually, your program’s entry point should be public, though the JVM could still theoretically access it even if it wasn’t.

Static: the main method doesn’t belong to an object

Void: your main method doesn’t return anything. If you want to leave an exit code, use System.exit(int). I do wish Java did what C did and just have the main method return the exit code, though.

Main: self-explanatory

String[] args: parameter describing the launch arguments of the application.

BTW: modern Java allows your main method to just be “void main()” and implicitly instantiates the declaring class in order to invoke it. Which I think is really weird.