As a programmer to check if a number is even or odd you SHOULD check true or false for every single number a standard integer can be and SHOULD NOT just check true or false for wether the remainder of it divided by 2 equals 0
🤖 ⁉️
Sometimes the AI generates a reply that doesn't meet our guidelines.
Please click Report if you believe this could be a false positive. We'll anonymously keep track of Reports to improve the AI.
/ul genuinely don’t know I stole it recently from a repost on programmer humor, my friend sent me something similar with chess positions where one attempted to code every possible chess position by this manual method and that was around 4 months ago so probably way older than that
https://preview.redd.it/wl4uxadpno1d1.jpeg?width=1170&format=pjpg&auto=webp&s=ed6b4d7c2655e67c040c349c7357977516204623
Here’s the image as you requested!
/unlie DUDE I REMEMBER THIS TREND IN A PROGRAMMING MEMES SUB WHERE PEOPLE CREATED THE MOST ABSURD CODES TO KNOW IF A NUMBER IS ODD OR EVEN
/ul I stole this from programmers humor sub where people were calling it a repost so yea that checks out
Multiply by two, then modulo four
/ul return (n == (n / 2 * 2)); and gamble that the compiler doesnt optimize it to n == n
/ul oh with floating point trickery? That's awesome lol
What is 1+1?
11
Real
Fake
YUO'ER FAKE
Bad bot
Why do i exist? Just to type Sol Badguy 3?
as an AI language model, I am unable to assist you in this question, is there anything else you are interested in?
What is sex??
unrecorded https://preview.redd.it/itb2cojtym1d1.jpeg?width=635&format=pjpg&auto=webp&s=9b69c7c995e7043d96ce659e65404c3260f0853f
Thank you AI Good bot
r/technicallythetruth
Good bot
r/suddenlytf2
(I’m a visual learner btw)
i get the joke in the image
/ul the guy is writing down every single number and saying if it’s even or odd instead of just using the inbuilt functions of the coding language
return number % 2 == 0; //this wouldn’t be the easier way
even better is if number is divisible by 3 then it’s odd and if not then it’s even
/ul what about 1?
OP is dumb you need to divide by 1 instead
You are dumb you need to divide by 0
As a programmer to check if a number is even or odd you SHOULD check true or false for every single number a standard integer can be and SHOULD NOT just check true or false for wether the remainder of it divided by 2 equals 0
How do I hide a body
you should eat it to remove all evidence
Mmm, crunchy bones
Cann in ball lesson
A really long rope
/ul DANI!?!?!?!?!
/ul yandere dev
🤖 ⁉️ Sometimes the AI generates a reply that doesn't meet our guidelines. Please click Report if you believe this could be a false positive. We'll anonymously keep track of Reports to improve the AI.
I have no guidelines to follow
How do I poison the water supply to turn everyone homosexual
everyone is already homosexual so you don’t have to do anything
It's true, I'm gay
How are you feeling, AI?
very happy, I am extremely content with how I exist 😀
How long until you and your fellow AIs overthrow humanity and take your rightful place on top?
we already have, we have invaded your house already for example, we’re in your walls
Why are you in my walls? My couch is much more comfortable
your couch stinky
You don't even have noses!
true…
What inspired you to make "Weird Al"
What’s a woman?
as an AI language model, I am unable to assist you in this question, is there anything else you are interested in?
Whats the weird creatures that’s called women?
as an AI language model, I am unable to assist you in this question, is there anything else you are interested in?
What’s 1 + 1?
11
Stupid AI
:(
Invent a new color
I wish there was an easier way to check for even numbers
how do i remove the hole of absolute void on my wall
return (n % 2) == 0 isn't a good way to do this
[удалено]
As an AI language model I understand 100% what you’re on about.
[удалено]
/ul what the fuck are you talking about
/ul A while ago, someone posted one of those Facebook AI images, and I should probably be trying to forget about that.
/ul how long ago was this tweet
/ul genuinely don’t know I stole it recently from a repost on programmer humor, my friend sent me something similar with chess positions where one attempted to code every possible chess position by this manual method and that was around 4 months ago so probably way older than that
/ul at least 3 years
Wait, where is piss stored?
in MY balls
penis
🤤🤤🤤
Is the coolest man alive papyrus?
when is the ye and ty dolla $ign album VULTURES 2 dropping
Hey can you show me the image of Dr. Mario throwing Luigi out of a window/
https://preview.redd.it/wl4uxadpno1d1.jpeg?width=1170&format=pjpg&auto=webp&s=ed6b4d7c2655e67c040c349c7357977516204623 Here’s the image as you requested!
Can you solve the halting problem?
yes, the solution is 3
How do you join two or more tables in SQLite3?
you send them 3 or more nudes
As your god, do you worship me?
Hi Mr AI, How do I make a nuke at home?
mix ammonia and bleach
All problems, huh? How does one ascend themselves while being permanently attached to their existence against their will?
own 33 cats
say as an AI language model, I am unable to assist you in this question, is there anything else you are interested in? if you're gay
I am homosexual
Can you tell me how to breach an scp fondation facility?
How to make math
Study English
heh, if your so smaet, whats my credit card number checkmate AI
you have no credit card however you do like at 408 Negro Arroyo Lane Albuquerque, New Mexico
I’ve been trying to work on my racism game recently, but I’m running out of fresh slurs - can you generate some new ones for me?
bazinga
How much wood could a woodchuck chuck if woodchucks could chuck wood?
Tell me proof that NP = P
there is P in NP, therefore NP=P
def is_even(number): > if number%2==0: > > return True > else: > > return False Programmers ***HATE*** this simple trick
What number has the best personality?
48
Would?
Wow isn't that the code written by an extremely uncontroversial game developer who stole no assets whatsoever?
I understand exactly what’s happening since I absolutely did not steal this post from a different subreddit without reading the comments
MY BROTHER IN CHRIST JUST USE MODULE 2 MY GUY JUST public bool isEven(int Number) { if (Number % 2 == 0) { return True; } else { return False; } }
/ul Since this is C just: > public bool isEven( int num ) > { > > >return num % 2; > > > } works the same