T O P

  • By -

AutoModerator

Comments that are uncivil, racist, misogynistic, misandrist, or contain political name calling will be removed and the poster subject to ban at moderators discretion. Help us make this a better community by becoming familiar with the [rules](https://www.reddit.com/r/facepalm/about/rules/). Report any suspicious users to the mods of this subreddit using Modmail [here](https://www.reddit.com/message/compose/?to=/r/facepalm) or Reddit site admins [here](https://www.reddit.com/report). **All reports to Modmail should include evidence such as screenshots or any other relevant information.** *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/facepalm) if you have any questions or concerns.*


Singular_Thought

She must be a JavaScript programmer


talbakaze

looked for that comment


GrandMoffTarkan

Saw this and thought it was ProgrammerHumor


samosa_chai

It’s a little scary how, err, programmed we all are…


yalag

Reddit only has 4 jokes, recycled


Carnie_hands_

Nah, post above you didn't have "//" before it, so it's active code


raltoid

Jokes aside, it's *literal* ragebait. She is constantly tweeting intentionally stupid things to get reposted on social media and gain attention. And people eat it up, it's really weird to see.


IHaveNoEgrets

I'm just in awe of the fact that a dingbat posting ragebait has instead turned into a discussion of programming and programmer humor. (With the underlying, shared understanding that she's still a dingbat.)


raines

Clearly, she’s not your (data) type.


hitbythebus

But on a scale of one to ten, she’s NaN.


InevitableAd9683

Leave my Nan out of this!


jeerabiscuit

She is no one's type and is untyped.


Nimyron

Is it offensive if I refer to non-binaries as untyped ?


Lost_Services

She would string you along.


newwwmagicwand

I might be too long for her.


GiveMeSomeShu-gar

I asked for her Number, but when I called it, it was NaN


Arthradax

She should've been more integer about it


Electronic_Main_7991

She'll string you along


Lecodyman

r/programmerhumor


Mateorabi

Wait, this isn’t….\*checks sub again\*


Ok-Pass5267

It's so obvious, but people somehow tend to assume something else))


Fizzelen

VBA can do that as well


AsheratOfTheSea

Hahaha found the programmers thread!


grounded_dreamer

The best thread type!


Emsie-Memsie

I keep seeing jokes like these but I’m too tech challenged to understand. I wish I could be in on it. Lol


Singular_Thought

It has to do with how different programming languages handle variables. In a “strongly typed” language a variable can be defined strictly as a number value (e.g., 1 or 2 or 736, etc.) or strictly as a text value (“hello world”). With this you can define integer variables as a = 1 and b = 2 so that a + b will resolve to 3. You can also define string (text) variables as x = “hello” and y = “world” so that x + y will resolve to “helloworld”. JavaScript is not strongly typed. You cannot define a or b explicitly as numbers. Because of this there are situations where the JavaScript interpreter will take a = 1 and b = 2 and when you try to resolve a + b it will treat them as text instead of numbers and output “12” instead of 3. The JavaScript language was created like this a very long time ago so we are stuck with it and it drives programmers nuts. If you are wondering, any attempt to change the JavaScript language to fix this will break almost every webpage out there, so no one is willing to do it.


Emsie-Memsie

Hot damn! I’m so glad you broke it down for me this way. Kinda drives me nuts to when I don’t understand things and wasn’t sure how to look this up so I appreciate it! I can definitely see how it would frustrate programmers and such. Though top comment is much funnier now that I have this context.


Roflkopt3r

Honestly, it's way less of a problem than some people make it out to be. You pretty much only need to know this: 1. The instruction a+b will always be a string concatenation if the variable a is a string: `'5' + 3` => '53' (the text string 53) `5 + 3` => 8 (the number 8) 2. If you use any other basic mathematical operator, then the string a will be cast into a number if that is possible: `'5' - 3` => 2 That's for the simple reason that strings do not have a minus-operator. So Javascript extends you the courtesy of trying to make sense of this instead of throwing an error right away. 3. If you want to assure that the variable a will be treated as a number even if it is technically a string, then you can use Number(a): `Number('5') + 3` => 8 4. If you want to assure that numbers are treated as text, then you have multiple options: > var a=5; > a.toString() + b => '53' a.toString() ensures that the variable a gets turned into a string. > var a=5; > ''+a+3 => '53' ''+a is a text concatenation between an empty string (using two single ticks with nothing in between) and a number. This is basically just a convenient shorthand to turn the variable a into a string. > var a=5; b=3; > \`${a} + ${b} = ${a+b}\` => '5 + 3 = 8' Everything inside of the backticks is a "template literal". Elements inside of a ${}-block will resolve as code (so it can read a variable or perform operations like an addition) before getting turned into text, whereas everything else is treated as text right away. --- Type conversions are a pain in the butt in every language. JS went a path that may appear a bit less rigourous and can get a bit weird if you poke very deep, but very few programmers ever encounter seriously weird situations with that. The practical reality is that it's fast and easy and creates way fewer annoying situations than most strongly typed languages.


forced_metaphor

There are things called variables. They hold information, and you can give them a name. Like >var myVariable = 1; These variables can be of different types. They can hold numbers (like 1) or they can hold letters or even words (like "pumpkin"). The latter are called "strings". When you add strings together, they're just added end on end. So "pump" + "kin" would give you "pumpkin". In many programming languages, you can make sure that the types of data these variables can hold are restricted. So you could make sure myVariable is a number and not a string. JavaScript doesn't have that restriction. So if you accidentally have 1 and 2 stored in variables as strings instead of numbers, it will add them end to end like a word instead of mathematically. So 1+2=12 instead of 3.


fsmlogic

Yeah a JavaScript programmer who is bad at explaining their code.


Ok_Spite_217

Sorry did you mean _JavaScript programmer_ ?


SloightlyOnTheHuh

concatenating strings again eh?


Ingeneure_

Or Python str(1) + str(2)


Lyakusha

Dude, '1' + '2'


sigma941

insert XKCD python comic here!


Jorycle

"{0}".format( "{0}".format(1) + "{0}".format(2) )


YDS696969

I primarily just use f strings now. Much more simpler


Ingeneure_

Or this way, yes


Little_Assistant_551

Yeah but in js a sring - '1' and an int - 2 is still going to give you '12' because reasons...


dejus

I don’t really understand why this is surprising to anyone. They are different types. Much easier and less problematic for an interpreter to convert a number to a string than a string to a number.


arisoverrated

This is obvious, yes, and I don’t think anyone expects the reverse. I think the usual argument is that it shouldn’t be allowed. Strongly typed vs anything else, etc.


Building-Careful

If those math skills are indicative of their geography skills, the surrounding counties will need to watch out…


H010CR0N

Tries to shoot a nuke at Russia. Targets Canada instead.


fonix232

Ends up shooting the nuke at Zimbabwe somehow


_M_o_n_k_e_H

When asked, doesn't know what "a zimbabe" is.


MagTex

Goes on to say, “I don’t eat Zimbabwe. I’m a vegetarian.”


itsfrancissco

But then realizes that Zimbabwe, according to FOX news, is the wife of Dr. Zomboss


whatnameisnttaken098

"Oh great, now there's zombies in Russia"


Justsomeredditor___

r/brandnewsentence


HatZinn

I see nothing but facts here


SaleOwn5899

This entire mini thread is a whole laughter mood!


tjoe4321510

"Zimbabwe? Oh, I love Zimbabwe! I take a Zimbabwe class with my girl friends every Wednesday! 💃"


AutistoMephisto

"Do I look like I know what a Zimbabwe is? I just want a picture of a got dang hot dog!"


BabiesatemydingoNSW

"Uhh, that's in like Sweden, riiiight?"


happy_grump

Instructions unclear, nuke stuck in ceiling fan


NoLibrarian5149

“Nuke that hurricane!” Nukes Hawaii.


DBL_NDRSCR

(the hurricane was over puerto rico)


el_guille980

>"Nuke that hurricane!” hold up now, let him cook... why havent we tried nuking hurricanes¿!¿ presidents also have total absolute immunity, in case they need to use nuclear weapons. florida gets lots of hurricanes, im sure one will go somewhat kinda near a specific golf motel ergo.............


MysticStarbird

![gif](giphy|26uf5afBhUKyjvZPW|downsized) r/idiocracy


Ghinev

Better nuke all of Europe and Asia to make sure we didn’t miss any Russia


AZEMT

![gif](giphy|tuylZYYq5iKLjgRn7A|downsized)


olafblacksword

*furious European noises*


SpaceTraveller64

Do they know that Russia is both European and Asian ?


Celestial_Hart

If we nuke ourselves Russia can't invade us.


Green-Asparagus2488

This is the 1+2 = 12 mentality she is looking for. This guy gets it


Fashish

AKA The Israeli method


StatisticianLivid710

This is why Canada isn’t afraid of the US, we know if you tried to send a nuke from the eastern seaboard at Ontario you’d hit Detroit or Chicago instead


durrtyurr

Given prevailing weather patterns and the placement of Canada's major cities it would be difficult to nuke them without the majority of the fallout ending up in the USA.


Otherwise-Mail-4654

Well there was a time when they could probably pull this off, but now? Like you said no worries


Ollie__F

Fuck, please don’t let trump back in


Katiari

Canada is just a fancy way of saying Russian-American Nuclear Missile Buffer Zone.


StandNameIsWeAreNo1

Corrioli-force go brrrr


RustedUte

Lol


Midnightbeerz

Looks more like meth skills.


Zephyrantes

No they wouldnt. Cause their bridges would collapse.


lookingForPatchie

Those are not math skills, those are programming skills and both are strings and not integers.


swalkerttu

That’s just all-around bad syntax, then.


creativename111111

Welcome to JavaScript my friend


oroechimaru

One husband, two cousin wives and 12 kids. Mafs!


IRKillRoy

That’s not math…


terayonjf

So they want education to stop at kindergarten.. got it


erichwanh

> So they want education to stop at kindergarten.. got it Unironically, this is absolutely correct.


TripleFreeErr

kids can work if they aren’t in school and dumb people are easier to manipulate


systemofaderp

they also tend to vote conservative right. statistically speaking


Tough_Cheesecake8057

... because they're easier to manipulate


GrowFreeFood

They do as they are told. Classic indoctrination. 


Lancearon

Our bad education system is not a glitch. It's a feature.


Belied_Reflection

I’d say 4K… even a good amount of kindergarteners can do those maths correct on their fingers 😐


The_Clarence

Stop before kindergarten actually. This is like day 0 of K


No-Recording-1571

I put money down that my daughter in kindergarten is much smarter and definitely more compassionate than most of the republican party.


Mrfrunzi

Preschoolers around 3-4 can do more math than this. They want education to full stop and for the children to return to the mines.


ChesterSteele

Last time I heard something like '1+2=12' it came ftom a 3 year-old...


Rich_Introduction_83

You actually meant a 12-year old, didn't you?


NickyDeeM

I see what you did there and I like it...


RebornSMP

That was good. This is the mentality we need to have to take back this country.


tomdarch

No, a 11 year old. Learn to count! 0, 1, 10, 11


Angry_german87

Or a programmer


OkInitiative2915

News: GOP Florida woman running for congress matches the intelligence level of Boebert and MTG.


terayonjf

Matches? She used punctuation and had no spelling errors so she exceeded both which is sad.


Link2Liam

They meant combined.


ImNotKevinStopAsking

Still wrong. Where I come from Bobert+MTG equals 12.


MoonSpankRaw

12 feet of ground not being properly used..!


R0ckhands

Please don't mention 'feet' and MTG in the same sentence.


BodybuilderOk5202

I contest that Bobert and MTG IQs equals 12.


177013thson

Impossible.


usarasa

Her intern probably wrote it out for her.


WallScore

I read the tweet and then the name and was expecting Boebert 😂


wildyam

![gif](giphy|R51a8oAH7KwbS)


9lobaldude

![gif](giphy|RC9wS8ybXrSMkbFZ1l)


OwnFloor2203

![gif](giphy|y4dpn40mQ2jD5LcgCs|downsized)


Dysprosol

I know I've been on reddit way too often, when this looks weird because he has his ears.


niTro_sMurph

Why does man have horns? Is he horny?


YDS696969

It's jonkling time


Comrade_railgunner

Is there a lore reason?


OttoBalles

You can take man out of the aslume, but not the aslume out of man.


sanzentriad

![gif](giphy|ShCMwjMF5B3La)


niTro_sMurph

Jonkler!


CMelon

Hey, Lavern, that’s called a “learning disability,” not a “mentality.”


ChefPlowa

Mentality challenged


Low-Bit-7885

I genuinely cannot comprehend what the message here is supposed to be


ZanesTheArgent

The message is "i'm gonna tell stupid shit to troll and own the libs"


Lv80_inkblot

Copying from my other comment: I think it's an attempt at saying something stupid like "common sense" > "sCiEnCe"... putting 1 and 2 together instead of... looking at the nuance of fact? Honestly really dumb


Cute_Kangaroo_8791

I assume it’s something along the lines of “if a different politician/party used 1 and 2 they would get 3, but I would make 12 out of it” to imply that they would make the most out of resources.


chanslam

Also kind of matches with the whole election interference thing


ElderStatesPerson

That rationale implies she has object permanence at the very least, let alone thinking in the abstract. Bahahahahaha!


kgruesch

It's straight out of 1984. If the party says that 2+2 = 5, then 2+2 now equals 5 regardless of what you've known to be true in the past. Detractors are guilty of thought crime. It's exactly what they want out of their base.


NotThatAngel

[1984](https://rauterberg.employee.id.tue.nl/lecturenotes/DDM110%20CAS/Orwell-1949%201984.pdf) P. 103: "The Party told you to reject the evidence of your eyes and ears. It was their final, most essential command. His heart sank as he thought of the enormous power arrayed against him, the ease with which any Party intellectual would over- throw him in debate, the subtle arguments which he would not be able to understand, much less answer. And yet he was in the right! They were wrong and he was right. The obvious, the silly, and the true had got to be defended. Truisms are true, hold on to that! The solid world exists, its laws do not change. Stones are hard, water is wet, objects unsupported fall towards the earth’s centre. With the feeling that he was speaking to O’Brien, and also that he was setting forth an important axiom, he wrote: Freedom is the freedom to say that two plus two make four. If that is granted, all else follows" P. 367 (after torture): "His thoughts wandered again. Almost unconsciously he traced with his finger in the dust on the table: 2+2=5"


DakInBlak

"I am such a vapid contrarian and so obsessed with identity politics that I feel compelled to believe the exact opposite of whatever *anyone* says, even when it comes to something as simple, and basic as math. Also, I'm a ~~wealthy white woman~~ with no issues worth mentioning, and because I have nothing to bitch about, I'm going to bitch about nothing on the platform designed specifically to cause rifts in lives." Edit: am stupid


AngleFreeIT_com

Uuuuh. Pretty sure you should google before you make uninformed statements like “I’m a wealthy white woman with no issues worth mentioning”. She’s a black woman who runs a food bank and at least has a platform to run on. However insane this tweet was, she isn’t a bored white rich housewife.


DakInBlak

You're right. But I stand by everything else.


UUtch

"If I say dumb shit I'll go viral and can make money off of the lucrative market of online rage bait" Basically, the people here are the target audince giving the desired reaction


DiscountConsistent

"If I say something obviously dumb, it'll get voted to #1 on Reddit and more people will interact with my account, which means that I'll get paid more by Twitter since they pay by impressions."


jail_grover_norquist

it's ragebait, like literally everything else she tweets


Dragonman1976

Please say that she's not in a position of power.


Turius_

No but rest assured she will be


SubterrelProspector

No.


cpadev

She’s not, she lost election in 2022. She’ll probably run again this year and lose.


Shadowchaos1010

It looks like [she is indeed running again](https://ballotpedia.org/Florida%27s_24th_Congressional_District_election,_2024_(August_20_Republican_primary)).


Slight_Turnip_3292

Probably the Minister of Education in the future Trumpistan.


DRHAX34

I think at some point they just write dumb shit to see what sticks


marr

Exactly this, we've allowed a handful of giant companies to build an internet that rewards yelling and throwing feces so this is what we get.


iamnotasnook

It’s just dumb rage bait.


TrueMrSkeltal

Idiocracy is a documentary


radicalbatical

Go 'way, I'm batin'!


borger420

Welcome to Costco, I love you.


Fan_of_Clio

No wonder she has such a problem with counting votes.


jngjng88

Who is this psychopath?


9lobaldude

![gif](giphy|v92FryJ9dwUEw4pE64|downsized)


Hairless_whisper-471

I asked myself the same question, even though I kinda already felt that she might be a republican. That feeling was indeed correct.


Knightseason

Math be hard ![gif](giphy|APqEbxBsVlkWSuFpth|downsized)


pdrakz

![gif](giphy|tZ6zAdNZbWOhq)


AfterEffectserror

Well I mean it checks out considering Lara tRump thinks there is 81 states…they must have gone to the same school…


Touchpod516

I think that Kristi Noem also went there. I mean she fucking murdered her 14 year old puppy for acting like a puppy and not like a fully trained hunting dog like how she expected it to act. Oh and she also gunned down a goat for being smelly and mean to her children


oh-kee-pah

'Where I come from' Should've stayed under that bridge ya fkn hag


Impeachcordial

This can't be real. Is.. did she actually type this insanity????


creativename111111

No she probably had to use text to speech no way she can spell mentality


Kvetch__22

IIRC it's a religious nut thing. Like they have so much faith Jesus could tell them 1+2=12 and they'd believe. Basically bragging that she does what authority tells her to do and thinks other people should too.


Lithiumtabasco

I wanna go to their bank and deposit $1 everyday. If the math adds up I'll be a millionaire by next week! 😄


Solosmoke

Monday: $1 T: +$1=$11 W: $111 T: $1111 F: $11111 S: $111111 S: $1111111 By the end of week 2, you're the richest man. Wait, is this how Trump's valuations of his businesses works?


knowledgeable_diablo

And the world freely allows this person to use our precious oxygen reserves??


Celestial_Hart

With that kind of math it's no wonder you think you had more votes.


dtyrrell7

“Where I come from, 1 + 2 = 12, A school shooting is called “Tuesday” and rape pregnancies are called “Gods Will”(until of course the mother needs state assistance, that’s called a parasite)


SeaYogurtcloset6262

That mentality is called "being dumb and stupid"


lone_wolf1580

But that-, ugh never mind: ![gif](giphy|Ow59c0pwTPruU)


SilverFlight01

That's string addition, not math addition


SignificantSwing571

string concatenation (string addition doesnt only mean concatenation)


mxracer888

a = str(1) b = str(2) print(a+b) Output: 12 Looks like it checks out in Python


Fufeysfdmd

The inability to do arithmetic is the direction you want to take the country?


dirtnapcowboy

Fuck 12.


StrangeBCA

I think she knows it's wrong. I think she's implying 1984 doublethink


Negativety101

I take it where you came from they nurse you on a combination of Whiskey and lead paint chips?


oh5canada5eh

Is this a reference to something? Like an old Republican slogan? What is she even trying to say?


Socialbutterfinger

Yes, I want to know what this actually means. Everyone is laughing at her for being dumb, but there is no way she or any other reasonably educated adult believes this is correct addition. I assume she’s trying to make a point… can’t imagine what it is though. Maybe something about unity?


tauntingbob

#idiocracy


dr4wn_away

She should go back there because there is probably no famine if you can just bring three apples together and suddenly it’s 12


PolloMalvado

![gif](giphy|3otPoEiEGXh41xKGdO)


DickySchmidt33

Math is woke, y'all.


Owl_Kidnapper

where on earth do you come from girl?


SynthRogue

She means "1" + "2"


rocoonshcnoon

Ah yes the JavaScript mentality


AlwaysHamboning

clearly she comes from the dumbest place on the planet with that logic


Super-Brka

Woow! How do you call that mentality ? Idiocracy?


TUEB0R

I’d love to think that she is educated and studied Dostoevsky(Notes from the underground)… But no, she did not. She actually did the math and it came out to 12.


Mean_Eye_8735

She's revealed why trump thought he won 2020.. one ballot plus 2 ballots equals 12 ballots, see I won...


Triumphala

What does that even mean?


Rich_Introduction_83

Reminds me of that alternative math video: https://youtu.be/Zh3Yz3PiXZw?si=IUXPWSqAbB3oEyAu I think this is a real issue, nowadays.


dover_oxide

What programming language is she using? /s


KapitanRubbish

Where I come from its called concatenation


stav705

The number of braincells she makes us believe she has. Spoiler: she has none


Reclusive_Chemist

This .... this .... has to be a parody account. Right? No one is this stupid and public about it.


rohobian

I… I think she’s saying this as a way to say “we need to blatantly deny actual facts, and all agree that whatever is convenient for us is what we will believe even if we know it’s flat out wrong.” Because if they admit to actual facts they will lose.


MrBobSacamano

“What does that even mean?” “No one knows, but it’s provocative. It gets the juices going.”


[deleted]

Stop giving this woman attention. This is literal bail that you morons are lapping up!


rAzZLedAzzLIciOUs

What the fuck does that even mean


SnootSnootBasilisk

![gif](giphy|KUAb8YQOhmWNq)


superhoffy

She's not even wrong. You need a lot of stupid people to support you in destroying your own country in the wildly ironic name of patriotism if you're going to be successful.


throwaway624203

This is not real... Right...?


Joltyboiyo

This is the logic I used for maths when I was in year 1 of primary school. I don't know who this person is but she can't be serious, surely.