Re:Show HN: Groundhog AI Spring API
by jarvuschris on Sunday February 02, 2025 @03:36PM
(#42911546)
Such an over-engineered API and then you use 1 and 0 instead of boolean for the fundamentally boolean thing that's the whole fking point lol, I'm out
[ Parent
| on HN ]
Sorry to hear you are out.
I've found "T/F" vals are not always portable between languages ("True" in Python vs "true" in JS) whereas integer comparisons are always interpreted correctly.
> I've found "T/F" vals are not always portable between languages ("True" in Python vs "true" in JS)
What? Booleans are booleans, they are converted to/from the language's boolean type when you encode/decode to JSON.