this post was submitted on 08 Feb 2024
837 points (94.6% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lugal@sopuli.xyz 2 points 2 years ago (2 children)

This is all funny and stuff but chatGPT knows how long the German Italian border is and I'm sure, most of you don't

[–] SquirtleHermit@lemmy.world 9 points 2 years ago (3 children)

So I apparently have too much free time and wanted to check. So I asked ChatGPT how long the border was exactly, and it could only get an approximate guess, and it had to search using Bing to confirm.

[–] Kuma@lemmy.world 7 points 2 years ago (2 children)

Here I am wondering why no one made the joke that the answer was not found (404) but chat gpt assumed it was the answer 😂

[–] flathead@lemm.ee 2 points 2 years ago

Presumably, we can expect 404 to eventually replace 42 as the answer to everything.

[–] SquirtleHermit@lemmy.world 2 points 2 years ago

lol, holy shit... I can't believe I didn't notice that.

[–] lugal@sopuli.xyz 3 points 2 years ago

That's a number I never got. I got either 700 something km or 1000 something. It's only sometimes that chatGPT realizes that there are Austria and Switzerland in between and there is no direct border

[–] Blackmist@feddit.uk 3 points 2 years ago

Google's AI gives it as:

The length of the German-Italian border depends on how you define the border. Here are two ways to consider it:

Total land border: This includes the main border between the two countries, as well as the borders of enclaves and exclaves. This length is approximately 811 kilometers (504 miles).

Land border excluding exclaves and enclaves: This only considers the main border between the two countries, neglecting the complicated enclaves and exclaves within each country's territory. This length is approximately 756 kilometers (470 miles).

It's important to note that the presence of exclaves and enclaves creates some interesting situations where the border crosses back and forth within the same territory. Therefore, the definition of "border" can influence the total length reported.

[–] orca@orcas.enjoying.yachts 2 points 2 years ago (1 children)

Make sure you ask the AI not to hallucinate because it will sometimes straight up lie. It’s also incapable of counting.

[–] lugal@sopuli.xyz 2 points 2 years ago (1 children)

But where is it fun in it if I can't make it hallucinate?

[–] orca@orcas.enjoying.yachts 1 points 2 years ago (1 children)

I do feel bad when I have to tell it not to. Hallucinating is fun!

[–] lugal@sopuli.xyz 1 points 2 years ago (1 children)

But does it work to tell it not to hallucinate? And does it work the other way around too?

[–] orca@orcas.enjoying.yachts 2 points 2 years ago (1 children)

It’s honestly a gamble based on my experience. Instructions that I’ve given ChatGPT have worked for a while, only to be mysteriously abandoned for no valid reason. Telling AI not to hallucinate is apparently common practice from the research I’ve done.

[–] lugal@sopuli.xyz 1 points 2 years ago (1 children)

Makes me wonder: Can I just asked it to hallucinate?

[–] orca@orcas.enjoying.yachts 2 points 2 years ago

Yep. Tell it to lie and it will.