« first day (5159 days earlier)      last day (13 days later) » 

00:06
@kishi personally I would enforce ISO 8601 for any API
 
1 hour later…
01:25
Is there a chatroom for general programming and computer science? (but not some frozen abandoned chatroom.)
01:45
Probably over at the compsci SE site.
There is theoretical Computer Science but seems it hasn't seen much activity. There is also Computer Science but most of the activity are the RSS feeds and a couple of users complaining about the lack of activity.
Thanks, Yeah it seems those rooms are abandoned unfortunately.
 
2 hours later…
03:54
@JacobMiller Depends do you want to ask a question about language design? coding style? commercial/career aspects? etc. Yes, much of SO is withering away.
^ I meant "ask specific question" not just chat. The $$ oxygen is being sucked out of (free, freemium/advertising-supported) chat forums on the internet by AI. Everywhere from Reddit to SO to elsewhere... You might like to lok at Software Devpt Codidact, they haven't reached critical mass yet.
04:10
^ open (free, freemium/advertising-supported) non-paywalled/subscription-walled chat forums, i.e. everything that AIs can and will scrape.
Another fallback is (in-person) user groups.
@kishi Yes, use try...except and iterate through a list of possible date-formats. Ths is the approach I suggested on Is there a Python equivalent to C#'s DateTime.TryParse() i.e. avoids throwing exception on parse failure?
 
4 hours later…
08:04
@VLAZ of course there'd be an xkcd for this :) A tale as old as datetime
As fair warning; libraries like pandas have engines to infer datetime formats and it used to be that it could just switch from mm/dd/yyyy to dd/mm/yyyy midway through parsing and chaos ensued. I don't know whether it still has that behaviour but for any API of mine it's ISO or get the yam out. I don't have the energy for these shenanigans any more
08:35
@smci I hate this approach for the reasons in my previous message. The one thing you get to do as an API developer is specify a standard. Even better - colleagues or customers will probably actually like the fact that you specify strict standards, so it's win-win. It's up to the API user to get their mystic runes in order to meet ISO standards before they send the data
 
1 hour later…
10:00
Why can I not edit this question properly. If I try to drop the code formatting on the text, the entire code formatting collapses and I can't get it back for the actual code. Has the markdown been changed on SO?
Something has definitely changed. It used to be {} for code blocks but that icon has changed, and you can't remove a code block in pieces - it seems to be all or nothing and there is no actual markdown to make a quick fix on a question. <slow clap>
 
2 hours later…
12:16
@roganjosh The {} button still uses indentation for code blocks, even though code fences are preferred these days. Also, the Stacks Editor still has various issues... See meta.stackoverflow.com/search?q=stacks+editor
13:04
I found a bug in the code that generates/parametrizes test cases, and now I have 57 more failing tests than I did 3 seconds ago. Sigh.
 
2 hours later…
15:33
@PM2Ring this issue is broader. Code fences don't appear by default and, in the editor, you can see that the "code block" button is highlighted. So, in theory, one should simply be able to unhighlight the feature and reverse it where wanted, just like bolding or italics. But no, it just nukes the whole question :(

« first day (5159 days earlier)      last day (13 days later) »