Live data from Hacker News

CalcGPT

calcgpt.io

31–40 of 54 posts

Re: CalcGPT

#31
post #29

Entered 42 The 8 solutions I got while clicking on regenerate: 3.33333333333 42, so the point your talking about is 3.3 (Accuracy is 3 Additionally, 3 coincided with John 3:16 , "$3 1 3.33333333333 42 42+1=3+1=4=42+1=43 2×5 Not so sure what I just did. Results are copy-pasted as-is

I got “41 rotten apples = 4444”.

Re: CalcGPT

#32
This neat demo is a year old now, it was first released in July 2023.

Source code and prompt here: https://github.com/Calvin-LL/CalcGPT.io/blob/main/netlify/fu...

    const prompt = `1+1=2\n5-2=3\n2*4=8\n9/3=3\n10/3=3.33333333333\n${math}=`;
    let response: Response;
    try {
      const openAI = new OpenAI();
      response = await openAI.completions
        .create({
          model: "babbage-002",
          temperature,
          top_p: topP,
          stop: "\n",
          prompt,
          stream: true,
        })
      .asResponse();
    } catch (error) {
      return new Response("api error", {
        status: 500,
      });
    }
    return new Response(response.body, {
      headers: {
        "content-type": "text/event-stream",
      },
    });
It's using the old babbage-002 model with a completion (not chat) prompt, which is more readable like this:

    1+1=2
    5-2=3
    2*4=8
    9/3=3
    10/3=3.33333333333
    ${math}=

Re: CalcGPT

#34
post #23

I'm sorry but this falls flat for me. GPT4 routinely can answer impressive math questions for me (college-level): - What diameter steel wire would I need to be rated for a weight of 500lbs? - How many digits would a ID need to be (using 36 characters) to have a 1/10^20 chance of collision over 1 billion random IDs? - If I have a list of a million times (say durations of a web request) and they follow a normal distrib…

It is for sure just a funny hobby project, but your statement had me intrigued: > Suppose in D&D I am told to roll 20 d6, but instead of rolling that many dice I want to roll just two (larger) dice and add a constant. Which standard D&D dice might give the closest variance and what is the constant? Interestingly, ChatGPT 4o tells me to use 2d19 + 51, even after correcting it and asking for larger dice. Impressive mat…

To be fair, I didn't hand-check the answer it gave (and I didn't retype the whole prompt exactly here) - but here's what it gave me [4o model]:

... (lots of calculations)

Final Comparison

    Variance of 20d6: 58.33458.334
    Variance of 1d20+1d12+53: 45.166745.1667
The variance of 1d20+1d12+53 is closer to 58.334 than previous combinations and represents a reasonable approximation for both mean and variance.

[Edit: Just checked it in google sheets, this looks right to me]

Re: CalcGPT

#35
post #24

I’m enjoying experimenting with nonsensical math: > Apple * dog > CalcGPT: Apple Mini − dog or dog. Total= Apple Dog Mini MiniDog=49 I was wondering if math of words would produce the embedding of the operation of those words, but nope :)

> Hot + dog CalcGTP: Three dogs holding a hot dog with tails pointing to infinity

Nice one!

I wonder if the creator modified the output, it’s no longer giving me text answers.

Edit: you just have to keep pressing enter and eventually some text output can be spit out.

Re: CalcGPT

#36
I got the following, slowly appearing character by character in the result field. Due to the slowness, it took a bit to realize it wasn't GPT output.

    
      
      
      
      
    


    calcgpt.io | 502: Bad gateway
    
    
    
    
    
    


    
    
    
    
    
    
    Bad gateway
    Error code 502
    
    
    Visit cloudflare.com for more information.
    
    2024−07−2814:37:25 UTC
    
    
    
    

    
    

    
    

    
    You
    

    Browser

    
    Working
    

    
    
    
    
    
    
    
    Newark
    
    
    Cloudflare
    
    
    Working
    

    
    

    
    

    
    calcgpt.io
    

    Host

    
    Error
    

    
    
    

    
    
    
    What happened?
    

The web server reported a badgateway error. What can I do? Please try againin a few minutes. Cloudflare Ray ID: 8aa59b671c0a41b4 • Your IP: Click to reveal REDACTED • Performance & security by Cloudflare (function(){function d(){var b=a.getElementById("cf−footer−item−ip"),c=a.getElementById("cf−footer−ip−reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf−footer−ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();

@Original author: You may want to fix this. ;)

@Cloudflare: You have a typo there ("againin").

Re: CalcGPT

#38

Cue the comments about criticism of this calculator being unfair as thinking, for example, that 88*10 = 888 is a ‘very human’ mistake to make.

I got 883, which is also very human. They just forgot to write one of the halves of 8

Re: CalcGPT

#39

this is just using a shitty model: calcgpt: input: 88×66 output: 5184 chatgpt: input: 88×66 output: 88 × 66 equals 5808.

also ChatGPT: 9.11 is bigger than 9.9

you can probably get it to answer if you try, but I can't

https://x.com/thisritchie/status/1817615006583738528

Post reply on HN