• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

ChatGPT has calculated the last digit of Pi (maybe)

The problem with that code block, is that it doesn't calculate the last number of pi at all.

It has a string representing pi. By definition of a string in code if you are declaring it like that, it has to have finite characters.

All that code is doing it telling you the last character in a string it defines.

It's a stupid code block that does nothing really.
 
The problem with that code block, is that it doesn't calculate the last number of pi at all.

It has a string representing pi. By definition of a string in code if you are declaring it like that, it has to have finite characters.

All that code is doing it telling you the last character in a string it defines.

It's a stupid code block that does nothing really.

So, this is a nothing burger?
 
I always thought pi was infinite? Kinda like dividing 1 by 3 is 0.333333.... and it does not actually end.

Only in our present (flawed) counting system.

In the new realm of physics and math called Terryology, ChatGTP is totally logical
 
The fact that it can generate code that is semi proper is still quite impressive though. I have not actually gotten around to playing around with it, but I might have to. I wonder if you can actually feed it code and then ask it to make a change or to look for a bug or security issue or what not. I might have to play around with that.
 
I finally got around to making an account and playing around with it. I can see people using this for coding homework. I made some code that crash intermittently and it was able to figure out why. It was rather simple so in theory a syntax checker that checks for this sort of thing could probably catch that, but considering it's AI doing it and not just a purpose built tool it's still pretty cool.
 
Dave from EEVblog tries to get ChatGPT to write code and it's actually pretty impressive what it can do. I don't think it's actually replacing programmers any time soon but it can definitely aid in doing some of the more tedious part of getting a program started. There is also a certain art in coming up with the right syntax of what to ask of it. Actually pretty impressive as it still worked like 95%.

 
Back
Top