this post was submitted on 09 Jul 2024
1267 points (99.1% liked)

Programmer Humor

23417 readers
1388 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 196 points 10 months ago (3 children)

It works. Well, it works about as well as your average LLM

[–] [email protected] 175 points 10 months ago* (last edited 10 months ago) (2 children)

pi ends with the digit 9, followed by an infinite sequence of other digits.

That's a very interesting use of the word "ends".

[–] [email protected] 31 points 10 months ago (2 children)

It's like how they called the fourth Friday the 13th movie "The Final Chapter".

[–] [email protected] 14 points 10 months ago

The Rolling Stones doing their final concert for about a hundred and fifty years now.

[–] [email protected] 5 points 10 months ago

True but I think the Fast & the Furious franchise has a better shot at giving Pi a run for it's money.

[–] [email protected] 6 points 10 months ago* (last edited 10 months ago)

TBF, if your goal is to generate the most valid sentence that directly answers the question, it's only one minor abstract noun that's broken here.

Edit: I wouldn't be surprised if there's a substantial drop in the probability of a digit being listed after the leading 9 (3.14159...), even, so it is "last" in a sense.

Edit again: Man, Baader-Meinhof so hard. Somehow pi to 5 digits came up more than once in 24 hours, so yes.

[–] [email protected] 29 points 10 months ago (2 children)

In other words, it doesn't work.

[–] [email protected] 18 points 10 months ago (3 children)

Maybe it knows something about pi we don't.

It's infinite yet ends in a 9. It's a great mystery.

[–] [email protected] 5 points 10 months ago* (last edited 10 months ago) (2 children)

Pi is 10 in base-pi

EDIT: 10, not 1

[–] [email protected] 8 points 10 months ago (1 children)

I saw someone post this a few days ago, and someone else quickly pointed out that it is incorrect. This time I'll point out it is incorrect.

In base-pi, pi would be represented as 10. The place value of the right-most digit would be pi^0, and the next digit is pi^1.

[–] [email protected] 2 points 10 months ago

Indeed. 10 is pi in base-pi

[–] [email protected] 2 points 10 months ago (1 children)

Mathematicians are weird enough that at least one of them has done calculations in base-pi.

[–] [email protected] 2 points 10 months ago

That's pretty much what radians are. Well, they combine base pi with whatever base you're using for the coefficients.

[–] [email protected] 4 points 10 months ago

The answer to life, the universe, and everything is 42... +9.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

Hyperreal numbers go brrr.

I'm kind of curious what ways exactly using this in place of actual pi would change/break geometry. Obviously, it wouldn't become noticeable until you try to involve infinite structures.

[–] [email protected] 3 points 10 months ago

I mean, it depends on what you're doing. Supervision always required, though.

[–] [email protected] 15 points 10 months ago (1 children)

GPT-4 gives a correct answer to the question.

[–] [email protected] 19 points 10 months ago* (last edited 10 months ago) (1 children)
[–] [email protected] 14 points 10 months ago (1 children)

No clue what Amazon is using. The one I have access to gave a sane answer.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

There's probably some finetuning at play for Amazon's thing which makes it tend to always give a straight answer, instead of stepping outside of the box and doing something like correcting an implicit assumption.