News for hackers. Stuff that matters.
Re:Show HN: Groundhog AI Spring API by pcraig3 on Sunday February 02, 2025 @03:43PM (#42911606)
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.

Re:Show HN: Groundhog AI Spring API by bakugo on Sunday February 02, 2025 @03:50PM (#42911690)
> 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.