Discuss Scratch

ToastersUnited
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

ideapad-320 wrote:

ToastersUnited wrote:


Guys a found a way to make your PC free of malware quickly. Simply format the hard drive. Do not copy anything at all off, it could have a virus.
/s
Why did you quote my meme from donkeys years ago

I'm hosting Country Clash Minecraft, a minecraft server where you can join or create a nation, trade, engage in politics, go to war and more!
CCMC is a Country Clash RP spinoff. It is currently in a trial period where CCRP admins will observe the server and see whether or not it should continue.
CCMC uses a custom map with volcanoes, nether and end islands, winding rivers and more!
CCMC will start within the next two days or so. It has a 10 player limit at any time. Anyone can join, as long as you have a copy of Minecraft Java Edition or Minecraft Bedrock Edition

CLARlTY
Scratcher
3 posts

What are some funny programming/mathematical jokes?

ToastersUnited wrote:

ideapad-320 wrote:

ToastersUnited wrote:


Guys a found a way to make your PC free of malware quickly. Simply format the hard drive. Do not copy anything at all off, it could have a virus.
/s
Why did you quote my meme from donkeys years ago
I think ideapad didn't mean to do that.

If you see @DifferentDance8 on the forums, that's common. If you see this account on the forums, however, that's rare.
Jonathan50
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

ToastersUnited wrote:

Why did you quote my meme from donkeys years ago
Donkeys years = top of the previous page (a little over a month ago)?

Not yet a Knight of the Mu Calculus.
mlcreater
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

DifferentDance8 wrote:

How's this for JS weirdness?
(![] + [])[+[]] +
  (![] + [])[+!+[]] +
  ([![]] + [][[]])[+!+[] + [+[]]] +
  (![] + [])[!+[] + !+[]];
// -> 'fail'
Scratch weirdness: all of these are true
[10] > [2]
[2] > [10a]
[10a] > [10]
[1e-1] > [1e]
[1e] > [1]
[1] > [1e-1]
[-Infinity] > [+infinity]
[+infinity] > [+0]
[+0] > [-Infinity]
[ΠΣU] > [ΠΣ~]
[Σ~] > [ΣU]

← there are 3 sig figs and 0 kumquats





ajskateboarder
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?



my life
TheSecondGilbert
Scratcher
100+ posts

What are some funny programming/mathematical jokes?

ajskateboarder wrote:



my life
this isn't funny
this is just true

Hi! This is an alt of my main account.
I'm “back” from a 10-month hiatus.
I forgot the ways of the forums, so I might be wrong.
My first post!
ideapad-320
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

How to COPY a unique_ptr in c++:
(dest and src are unique pointers)
memcpy(&dest,&src,sizeof(&src))
All you need is a simple memcpy.
also because unique pointers automatically free memory when they go out of scope, this will cause a double free.
here is some “better” code:
#include <iostream>
#include <memory>
#include <cstring>
int main(){
	std::unique_ptr<int> first(new int(100));
	std::unique_ptr<int> second(new int(200));
	size_t size=sizeof(first);
	void* oldsecond = malloc(size);
	memcpy(oldsecond,&second,size);
	memcpy(&second,&first,size);
	std::cout << *first << "\n";
	std::cout << *second << "\n";
	memcpy(&first,oldsecond,size);
}

This is my siggy.
Can't wait for FRC water game!
ToastersUnited
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Jonathan50 wrote:

ToastersUnited wrote:

Why did you quote my meme from donkeys years ago
Donkeys years = top of the previous page (a little over a month ago)?
donkeys years can be anything over a week

I'm hosting Country Clash Minecraft, a minecraft server where you can join or create a nation, trade, engage in politics, go to war and more!
CCMC is a Country Clash RP spinoff. It is currently in a trial period where CCRP admins will observe the server and see whether or not it should continue.
CCMC uses a custom map with volcanoes, nether and end islands, winding rivers and more!
CCMC will start within the next two days or so. It has a 10 player limit at any time. Anyone can join, as long as you have a copy of Minecraft Java Edition or Minecraft Bedrock Edition

mumu245
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?


select this text then press Ctrl+Shift+Down to read more
mumu245
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?


select this text then press Ctrl+Shift+Down to read more
mumu245
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?


select this text then press Ctrl+Shift+Down to read more
SonicFanX123_321
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

in FORTRAN, GOD is REAL, unless you declare INTEGER.

this is my page

I'm not active on scratch anymore, I moved on.
skymover1239
Scratcher
500+ posts

What are some funny programming/mathematical jokes?

Not sure if this one counts, but my science teacher came up with this one.

Did you hear about the guy who reached absolute zero? He's 0 K



John 3:16 wrote:

For God so loved the world that he gave his one and only Son that whoever believes in him shall not perish but have eternal life
First time a moderator got ninjaed??
500 Posts
Current Mainline projects
AquaCSS - A CSS framework.
Ink - An editor that does, lots of things.
TheWestStar
New to Scratch
61 posts

What are some funny programming/mathematical jokes?

1 imaginary apple * 1 imaginary apple is not two imaginary apples, but -1 imaginary apples
Vaibhs11
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

TheWestStar wrote:

1 imaginary apple * 1 imaginary apple is not two imaginary apples, but -1 imaginary apples
Wrong, not -1 imaginary ones, -1 real apples.
Similarly, if you multiply an apple by itself 3 times, you'll get -1 apples.
TheWestStar
New to Scratch
61 posts

What are some funny programming/mathematical jokes?

Vaibhs11 wrote:

TheWestStar wrote:

1 imaginary apple * 1 imaginary apple is not two imaginary apples, but -1 imaginary apples
Wrong, not -1 imaginary ones, -1 real apples.
Similarly, if you multiply an apple by itself 3 times, you'll get -1 apples.
oh yeah
mybearworld
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Vaibhs11 wrote:

(#2335)
Similarly, if you multiply an apple by itself 3 times, you'll get -1 apples.

Not necessarily:

1 * 1 * 1 = ³

i * i * i = -1² * i = -1i³

Last edited by mybearworld (Nov. 20, 2023 05:58:44)


Signatures are the only place where assets links still work.
Vaibhs11
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

mybearworld wrote:

1 * 1 * 1 = 3²

i * i * i = -1² * i = -1i³
Your syntax is messed up.
-1² = -1* ²
The correct syntax is "(-1)²“ or”(-)²"
ajskateboarder
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Vaibhs11 wrote:

mybearworld wrote:

1 * 1 * 1 = 3²

i * i * i = -1² * i = -1i³
Your syntax is messed up.
-1² = -1* ²
The correct syntax is "(-1)²“ or”(-)²"
Swift in a nutshell
Redstone1080
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?


const juniper = programmer && musician;
// my pronouns are she/her
// i am trans and bi :P
// you can call me june or juni for short but i prefer juniper
python version:
juniper = programmer and musician
# my pronouns are she/her
# i am trans and bi :P
# you can call me june or juni for short but i prefer juniper

Powered by DjangoBB