News for hackers. Stuff that matters.
[dead]
Re:We need to tell people ChatGPT will lie to them, not deba... by travisjungroth on Sunday April 09, 2023 @07:42PM (#35507578)
It’s not good at math. It can do stuff sometimes, and you can easily teach it to use a calculator.

What’s similar that it would be good at is extracting what you bought and turn it into a list and formula.

[Me] Extract the list of things that I bought and their prices. Write a shell command to figure out how much I spent.

I spent 200 on groceries and paid my 70 phone bill. I was going to buy three pairs of pants that were $40 each. I didn’t like the colors. I bought a t shirt for thirty. And I did end up buying one pair of pants. But it was 5 dollars more than those other ones. And I bought bag of tea for every day next year, they were a quarter each.

[ChatGPT] List of things bought and their prices:

Groceries: $200

Phone bill: $70

T-shirt: $30

One pair of pants: $45

Bag of tea: $0.25

To figure out how much was spent, you can use the following shell command:

    echo $((200 + 70 + 30 + 45 + 365*0.25))
This command will add up the prices of all the items, including the bag of tea for every day next year. The output will be the total amount spent.