« first day (3901 days earlier)      last day (1047 days later) » 
00:00 - 20:0020:00 - 23:00

8:09 PM
@Aran-Fey Where did this preference get stored in the end? I'm backtracking through the convo but I think I'm missing the relevant link
In the past we've spoken about sessionStorage
 
Stylus is a browser extension, so I have no idea what it uses as storage
 
Fair enough :)
 
It works alright for some SE chatrooms and breaks on others. And I'll have to disable on each SE main site as I visit them. I'll still try to make it work. Light theme is just too annoying.
The "message sent but not yet ACKed by the server" colour is a really deep green that looks weird on a dark background. Can this also be customized?
 
Oof, that'll be hard to find. I'll try to figure it out, but no promises
 
Naaah, don't do any extra work for this. I meant if it's already available :)
 
8:17 PM
In terms of when it's broken, do you mean that it just reverts back to light theme?
 
@roganjosh partly. Starboard is bright, main chat is dark, for instance.
depends on the chatroom's theming
 
I blame caching :P
 
selective caching
but you're free to blame whatever ;)
 
So is selective caching!
 
@Aran-Fey if I recall correctly there's even multiple shades of green normally, so it might be extra difficult
 
8:18 PM
Just right click and choose "inspect element" really really fast
When I disconnect my wifi and send a message, the style window says the element has the class .message.pending
 
Oh, this is interesting. If I take a screenshot in firefox the lightness is gone.
 
The multiple shades might be a css transition effect rather than a dozen hardcoded frames. Hopefully
 
Line 125: here: view-source:https://chat.stackoverflow.com/rooms/6/python we can't see what's attached to that widget)
 
@Kevin No such luck :(
 
8:22 PM
I guess "all single shade of dark" is technically a dark theme
all this talk of themes is distracting me from my procrastination
So I was wondering if picking the green in my screenshot would help...
I suspect anti-aliasing can make that non-trivial
guess I can zoom in like crazy :D
#006400, and based on timing this is probably the second colour
 
Try to get ■ U+25A0 Black Square in your desired text area, maybe the center will be immune to aliasing
Ooh, ⬛ (U+2B1B) Black Large Square is even bigger
Alexa, find the the largest unicode square
 
But is it really black though?
 
Ok, I can't figure it out. First it's .message.pending, then it's .message.posted, and then it's just magically green
 
> .message.posted{color:#006400}.message.neworedit{color:#006400}.highlight{background-color:#ff0 !important}.
 
Mixed results. On my screen it looks like a black square in here, but on google it looks like a white square with a black outline.
 
8:31 PM
I wish I could read minified CSS. Or, you know, CSS.
 
 
@AndrasDeak Wow, how did you find that?
 
Pictured: one white square and one black squircle
 
oooh, smart
 
8:32 PM
And then search in the CSS like a dummy. Luckily there are only 2 instances of that colour, right next to each other.
Also luckily for lazy me, I found the eyedropper feature of firefox dev edition last year.
@Kevin which reminds me: the first one is text-coloured for me, and the second one is #31373d
 
Font designers have gone too far
 
8:56 PM
@AndrasDeak Hmm, I can't repro that
 
as I said it's site-dependent
 
Ah, another addon was interfering, my bad
 
I have some XML like this:
<a/>
<b>
<c>Hi</c>
</b>
<a/>
<b>
<c>Yes</c>
</b>
 
@Aran-Fey None of this is a huge deal, mind you. The SE chatroom I visit most works fine.
@duhaime "a/"?
 
And I want to create a dictionary that stores the index of the last seen a tag as its keys and the text content between that a tag and the next one
yes, a is a "self-closing" tag
 
9:00 PM
aaah, tricky
 
The challenge is that the nesting of c within b goes arbitrarily deep
like c can have children which can have children, etc
 
You're already using an XML parser, correct?
 
yes, bs4
Would it be insane to split the raw file string on <a tags and then feed the content between each pair of a tags to bs4 to extract the text?
there must be a legit way to go about this
 
@duhaime what is the "text content"?
I can see it's "Hi" and "Yes" but can these be defined unambiguously in your general case?
 
by text content I just mean the content not inside tags, e.g. Hi and then Yes
yes, they're well defined
 
9:04 PM
<b>
<c>Hi</c>
Ho
</b>
Can this ^ happen?
 
Oh ya
All sorts of terrible things can happen
 
And you'd need what as the result?
sounds very ununambiguous to me so far
 
but I think I can adapt this kind of strategy: stackoverflow.com/questions/5275359/…
 
@AndrasDeak Try this
 
woah, should I do it in CSS? That's next level
 
9:06 PM
@Aran-Fey trying, thanks
still green
 
Oh, it's customizable
click the gear icon next to the style
 
instructions unclear, got finger stuck in a rhubarb
@Aran-Fey got it
@Aran-Fey thanks again
And not a minute too soon: public lighting just went out outside.
 
9:47 PM
I got the Python gold badge.
 
Nice!
 
@Aran-Fey What is the point of your smurf account, anyway? How much does site behavior change when you are low-rep? (other than the standard stuff)
 
You can't post answers or comments, which results in less time wasted on main :P
 
Also don't have to worry about choosing the right vote reason. I'd require 125 + epsilon rep, though.
Hehe @Aran-Fey message context menus in the transcript and chat search are a bit dissociated
I was looking at chat.stackoverflow.com/search?q=dpaste.com&user=&room=6 and tried to click on a permalink icon
 
Oh, that. I swear I've fixed that at least 2 times now, but the fix always seems to get lost somewhere between my 6 operating systems :|
 
9:59 PM
No worries, I can chase them down easily. It's more amusing than limiting :D
 
You wanna hear what the cause of that is? CSS calculates the position differently if the element has a filter applied to it. So when you hover over it and the filter: brightness(1.1) kicks in, it moves. CSS is bonkers.
 
:|
Now where's that pure-CSS Mona Lisa...
actually, that wasn't it
It was Francine (she was hand-coded)
 
10:36 PM
Woooow, I wasted half an hour because I accidentally used # instead of // to create a comment, and it somehow caused Stylus to silently ignore anything I wrote below it instead of showing an error :|
 
Haha. Two hours ago I wasted half an hour trying to figure out why matplotlib's color cycler mysteriously broke for my specific kind of custom input. It turned out that for 9 lines I created 100 shades of a gradient, so the first 9 colours looked pretty much the same.
Works like a charm, thanks!
 
00:00 - 20:0020:00 - 23:00

« first day (3901 days earlier)      last day (1047 days later) »