💾 Archived View for rawtext.club › ~sloum › geminilist › 001380.gmi captured on 2020-10-31 at 02:14:25. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

[Ann] An online arithmetic calculator for Gemini

Luke Emmet luke at marmaladefoo.com

Sat Jun 6 23:05:43 BST 2020

- - - - - - - - - - - - - - - - - - - 

On 06-Jun-2020 22:56, Sean Conner wrote:

It was thus said that the Great Luke Emmet once stated:
You should be able to throw any simple arithmetic calculation at it,
including brackets, scientific notation etc. It will try to help you out
if you feed it nonsense or invalid input. It doesn't have any inbuilt
functions like sine, or mathematical constants like e, i, pi though. So
it's kinda basic, but fun.
So at first, I tried:
3*2+1
It failed, saying I needed to space the operands. Okay. I then tried:
3 * 2 + 1
And it still failed. I wonder if you aren't decoding the query properly.

That should work. It works for me:

gemini://gemini.marmaladefoo.com/cgi-bin/calc.cgi?3%20*%202%20+%201

Is your client url escaping the request?

There could be a mismatch between client and server (molly brown) regarding query params.

Best wishes

- Luke