Discuss Scratch

ToastersUnited
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?



Sign on the M18 Motorway warning that horses, horse-drawn vehicles, pedestrians and bicycles are forbidden.

Road signs in the Republic of Ireland do not differ greatly from those used elsewhere in Europe – with the notable exception that hazard or warning signs follow the “New World” style of a yellow diamond. The symbols used on these warning signs do, nevertheless, resemble much more closely those used (on red-bordered white or yellow triangles) in the rest of Europe than many of those seen in the United States.


Typical road signs in rural areas of the Republic of Ireland. Here, a fingerpost with old road number and Bord Fáilte logo. Signpost located in Rathangan, Co. Kildare.

Regulatory signs (relating to limits and prohibitions) differ very little from those used in the rest of Europe.

The system of directional signs is based upon, and is very similar to, that employed in the United Kingdom, but is bilingual everywhere except in the Gaeltacht, where only the Irish language is used on signs.

In Ireland, the highest category of road is a motorway (mótarbhealach, plural: mótarbhealaí), indicated by the prefix M followed by a one- or two-digit number (the number of the national route of which each motorway forms a part). The motorway network consists entirely of motorway-grade dual carriageways and is largely focused upon Dublin. There are also several three-lane motorways, while Ireland's busiest road, the M50, incorporates four-lane, five-lane, and six-lane stretches.
alvu075
New to Scratch
1 post

What are some funny programming/mathematical jokes?

To convert https://daprofitclub.com/ml-to-grams (ml to gram), the conversion depends on the density of the substance. Hence, it is essential to have knowledge of the substance's density to accurately carry out the conversion.

Last edited by alvu075 (June 17, 2023 07:10:14)

DifferentDance8
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

liavka wrote:

javascript.
true + true; // -> 2
(true + true) * (true + true) - true; // -> 3

Last edited by DifferentDance8 (June 17, 2023 08:38:26)


R.I.P Zydrolic, 2023-2024
mybearworld
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

DifferentDance8 wrote:

(#2303)

liavka wrote:

javascript.
true + true; // -> 2
(true + true) * (true + true) - true; // -> 3
To be fair, this happens in every language where booleans are really just integers.
>>> True + True
2
>>> (True + True) * (True + True) - True
3
JavaScript can be far weirder

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

What are some funny programming/mathematical jokes?

DifferentDance8 wrote:

true + true; // -> 2
(true + true) * (true + true) - true; // -> 3
that isn't a joke at all, its just how math works
1 + 1 = 2
(1 + 1) * (1+1) - 1 = 3







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
DifferentDance8
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Chiroyce wrote:

DifferentDance8 wrote:

true + true; // -> 2
(true + true) * (true + true) - true; // -> 3
that isn't a joke at all, its just how math works
1 + 1 = 2
(1 + 1) * (1+1) - 1 = 3

mybearworld wrote:

DifferentDance8 wrote:

(#2303)

liavka wrote:

javascript.
true + true; // -> 2
(true + true) * (true + true) - true; // -> 3
To be fair, this happens in every language where booleans are really just integers.
>>> True + True
2
>>> (True + True) * (True + True) - True
3
JavaScript can be far weirder
How's this for JS weirdness?
(![] + [])[+[]] +
  (![] + [])[+!+[]] +
  ([![]] + [][[]])[+!+[] + [+[]]] +
  (![] + [])[!+[] + !+[]];
// -> 'fail'

R.I.P Zydrolic, 2023-2024
Catzcute4
Scratcher
100+ posts

What are some funny programming/mathematical jokes?

sqrt(-1)8Σπ (from the simpsions, not that I watch it) says “I ate some pie” (I didn’t)

Last edited by: A cat. ERROR: Reality already slightly broken.
Gravity simulatorRed ball recreationsChargedMDThe stackMy assets
Hi! I have a command block that kills all evil kumquats in it’s range of 1 light year. It does this by making antimatter. Otherwise, have a kumquat free day!

Sign out
^ click it if you don’t believe it works
JingusTheRingus
Scratcher
54 posts

What are some funny programming/mathematical jokes?

99 little bugs in the code, 99 little bugs, you take one down and patch it around, 125 little bugs in the code

Only speaks English unfortunately. Am I a forum member?

Blame the evil forum kumquats from eating this siggy!

I do not know why I think the word forum is funny. Wait. Am I on a forum right now? FORUM
Jonathan50
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?


I wonder how many other people made the connection in the top left…
Nothing against people who use these


Edit: My signature is oddly appropriate to this post

Last edited by Jonathan50 (July 1, 2023 09:57:33)


Not yet a Knight of the Mu Calculus.
1Draven
Scratcher
100+ posts

What are some funny programming/mathematical jokes?

I CODE'nt tell you any more than this
cs2627883
Scratcher
100+ posts

What are some funny programming/mathematical jokes?

jokebookservice1 wrote:

Two strings walk into a bar.
The first string says “Can I have a befcghjkfdjtdfghjkjytfdfghjklkjff”
The second string says "Excuse my friend, (s)he isn't null terminated

Technically, shouldn't it be "Can I have a beer?fcghjkfdjtdfghjkjytfdfghjklkjff"? Even if the string's not null terminated, the actual content should still finish before the garbage begins.
cs2627883
Scratcher
100+ posts

What are some funny programming/mathematical jokes?

TheSecondGilbert wrote:

BreadcatGames wrote:

colinmacc wrote:

chess IRL 24 hour challenge
How would captures work though
They are killed by the capturer
cs2627883
Scratcher
100+ posts

What are some funny programming/mathematical jokes?

Caroix wrote:

#include <iostream>
int main() {
  std::string myFunction() {
    return "Of course I know what a function is\n";
  }
  myFunction();
}

Technically, you can't have nested functions in c++ (some compilers support them, but the c++ standard says they are not allowed). myFunction() should be top-level (i.e outside of main()).
cs2627883
Scratcher
100+ posts

What are some funny programming/mathematical jokes?

qloakonscratch wrote:

TheSecondGilbert wrote:

qloakonscratch wrote:

I love <div>. Glad it made the cut.
<span> fans:
I will go to war with <span> enjoyers. <div> is superior.
Can I join your army?
cs2627883
Scratcher
100+ posts

What are some funny programming/mathematical jokes?

BreadcatGames wrote:

that's valid python, however what you wrote up there is a fake library (or something badly obfuscated, which is less likely)
The joke was that the code was hard to understand, and when he came back to it he completely forgot what it did. It's not “real” code; the joke is that forgetting what your code does is very relatable to a lot of programmers.
Rendangbike2
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?



a particular extension




DifferentDance8
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Rendangbike2 wrote:


kid named “sing JavaScript”:

R.I.P Zydrolic, 2023-2024
ajskateboarder
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

ideapad-320
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

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

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

What are some funny programming/mathematical jokes?

DifferentDance8 wrote:

Chiroyce wrote:

DifferentDance8 wrote:

true + true; // -> 2
(true + true) * (true + true) - true; // -> 3
that isn't a joke at all, its just how math works
1 + 1 = 2
(1 + 1) * (1+1) - 1 = 3

mybearworld wrote:

DifferentDance8 wrote:

(#2303)

liavka wrote:

javascript.
true + true; // -> 2
(true + true) * (true + true) - true; // -> 3
To be fair, this happens in every language where booleans are really just integers.
>>> True + True
2
>>> (True + True) * (True + True) - True
3
JavaScript can be far weirder
How's this for JS weirdness?
(![] + [])[+[]] +
  (![] + [])[+!+[]] +
  ([![]] + [][[]])[+!+[] + [+[]]] +
  (![] + [])[!+[] + !+[]];
// -> 'fail'
'1'=49
because we can prove it with c++.
1/48=49/48
0=1
1=2
1+1=3

Last edited by ideapad-320 (July 8, 2023 03:38:10)


This is my siggy.
Can't wait for FRC water game!

Powered by DjangoBB