« first day (1954 days earlier)      last day (3 days later) » 

01:02
@TylerH after which you post a comment saying "December 2024 and I just flagged all these comments as 'no longer needed'", naturally.
3
 
4 hours later…
04:34
 
10 hours later…
14:28
0
Q: How can I prevent custom macros in mathlife from loosing their arguments?

Jan WielemakerI'm trying to use mathlife with "atomic" elements that are generated from the environment. One way to get atomic elements is by defining a macro. So, a defined a macro as prop: { args: 2, def: '\\,\\text{#1}^\\text{#2}\\,{}', captureSelection: true, // not editable expand: fa...

 
1 hour later…
15:28
0
Q: Should I move this question and its answers (somehow) to Unix & Linux?

John Baber-LuceroThis question was just closed because it "does not appear to be about a ... software tools primarily used by programmers". I gather from this meta discussion that "tools primarily used by programmers" now excludes things like tar, less, ssh, git etc. Possibly only things like IDEs and text edito...

0
Q: Interesting posts for you?

Thomas WellerThese are the tags that I'm interested in: And these are the interesting posts for me? Really? Except for one occurrence of python, there's nothing about those posts that draws my attention. And actually, that makes me less engaged with SO. You should really fix this. Usually I think I'm on...

16:22
0
Q: New filters for the question page and some homepage odds & ends

SpencerGOver the next few days, we will be rolling out some additional filter options on the Stack Overflow Questions page. This is a result of the feedback that was received on the original homepage post. Some of these question filter options were on the homepage but now reside on the Questions page. Ne...

17:21
I wonder why this user isn't a staff suddenly? They were staff when they posted that comment which was just 5 minutes ago and now they suddenly aren't.
Ah, ok they just replied, seems like they split their account
18:19
@VLAZ looks like it isn't affected
 
1 hour later…
19:33
2
Q: Why do Staging Ground posts asking for edits get "graduated" to the main site automatically?

Remy LebeauFor example: https://stackoverflow.com/staging-ground/79261289 It had two requests for "Minor Edits", but the history shows those requests are also marked as approvals, and so the post graduated to the main site automatically after 2 days of no edits being made. Is this correct design?

 
1 hour later…
20:38
has the month name in the starboard always been lowercase...?
I think so? I doubt SE shipped a change to chat for just the dates otherwise.
pretty sure it has
@RyanM You might be on to something. Their JSON serializer might be lowercasing some things that were previously uppercase.
But I also can't remember what it used to look like, so...
But that's about properties. I doubt the date is serialised as a property. Moreover, it's about uppercased first letter vs lowercase. C# uses the former and JSON serialisers for .NET used to follow suit (you could override this behaviour). Newer (not sure since when) JSON serialisation does it correctly (IMO) and serialises with starting lowercase by default.
I doubt the date is serialised as a property - DO NOT ASSUME THE LEVEL OF SPAGHETTI IS THIS LOW
20:50
Moreover, I doubt the human-readable format is delivered via JSON. I'd expect that the backend just delivers a timestamp, the frontend then formats it to be human readable.
This is SE chat we're talking about here ;)
@VLAZ I mean ... certainly not intentionally ...
Case resolved: They use a timeSpanString function which uses getMonth().toLowerCase(), which looks like this:
function timeSpanString(e, t, i, s) {
    if (s = s || "",
    60 > e)
        return plural(Math.round(e), "second", t) + s;
    if (3600 > e)
        return plural(Math.round(e / 60), "minute", t) + s;
    if (86400 > e)
        return plural(Math.round(e / 3600), "hour", t) + s;
    var n = Math.round(e / 86400);
    if (2 >= n || !i)
        return plural(n, "day", t) + s;
    var a = i.getMinutes()
      , o = month_name[i.getMonth()].toLowerCase() + " " + i.getDate() + " at " + i.getHours() + ":" + (10 > a ? "0" : "") + a;
okay, that seems pretty straightforward.
Oh boy. Code formatting in chat. One sec.
20:54
Ctrl+K
I can fix it for you if you can't get it in two minutes :-p
but you did :)
Ctrl+K is the secret sauce apparently. Cheers.
K for Korrect Kode, obviously
it's (I assume) the same thing the "fixed font" button in chat (which only appears with multiple lines present) does
It is. I just couldn't remember the button name.

« first day (1954 days earlier)      last day (3 days later) »