💾 Archived View for bbs.geminispace.org › u › drh3xx › 16398 captured on 2024-07-09 at 05:31:18. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-16)

➡️ Next capture (2024-08-18)

🚧 View Differences

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

Comment by 🐐 drh3xx

Re: "I've been enjoying using Pascal for my Farkle game, but one..."

In: s/pascal

bug report: 2 triples only gave me 1500 not 2500. afraid I can't remember the two values as didn't anticipate an issue. Could be straight up bug in double triple case or could be parse issue consuming part of the double before fully matching the case.

🐐 drh3xx

Apr 26 · 2 months ago

2 Later Comments ↓

🍀 gritty [OP] · Apr 27 at 00:03:

@drh3xx thanks for the report! getting all the edge cases down was a bit challenging. I'll see if I can run some more on the triples and spot it when I get some time. currently working on a monthly leaderboard feature.

🍀 gritty [OP] · Apr 30 at 00:45:

@drh3xx it was a simple bug, I just had the wrong value in there. Thanks for id'ing. fixed.

Original Post

🌒 s/pascal

I've been enjoying using Pascal for my Farkle game, but one recent annoyance is timezones. On Linux I can't find a function that properly respects the local timezone of the machine. universaltolocal() doesn't work because tzoffset() is always 0. I just have to manually set the offset, but I feel like I shouldn't have to. Anyways, other than that, it's been fun.

💬 gritty · 9 comments · 1 like · Apr 12 · 3 months ago