« first day (3748 days earlier)      last day (1273 days later) » 

12:10 AM
@Ollie that's still in use I think
 
12:34 AM
@user400654 that happened to me too a lots...thought it was on my end/the only one to notice :D
 
1:28 AM
 
 
5 hours later…
6:39 AM
-25
Q: I find one of Stack Overflow's business practices disturbing

JMSWhile some of the individual sites are great, and some of the information on the technical sites are terrific; it is the more opinion-based sites which I have had a problem with. I've found twice now (narrow sampling, but one with the depth of years of participation and thousands of posts) that t...

> A democracy, after all, killed Socrates. Plato, Socrates' student, invented the republic to grant individual rights even against a majority. To protect individuals against the tyranny of the majority.
 
@Ollie hey! I want a share too! :D
@AaronHall are you happy?
@Rob I suspect that during USA elections the suspension rate on Politics.SE rise sharply.
Maybe.... make the site Read Only for that period of time? Will save lots of tears, drama, and suspensions...
Well there were bad words, but legit part in the context of the question.
Hmm.... maybe when Smokey is triggered by new answer to old question, when scanning the other answers report as offensive only if the question itself doesn't have any offensive words?
Will prevent some false positives...
 
Rob
7:27 AM
@Shadow10YearsWizard Both the people and the site should remain operational (normal); why suspend the site and all its users because some run amok. They don't suspend the parenting site because some are bad parents, they don't suspend MSE because there's been some ideas put forth the past few days that weren't well researched, ...
People need to be able to behave online the same as they would within arm's reach.
 
7:54 AM
-5
Q: Are 'aliens' humans from the future?

Nicholas Marshall Unidentified flying objects (UFOs) have captured the public's attention over the decades. As exoplanet detection is on the rise, why not consider that star-hopping visitors from afar might be buzzing through our friendly skies by taking an interstellar off-ramp to Earth? On the other hand, cou...

 
8:52 AM
Any idea if there's a better way to add a link to the user card in chat than to 1) monitor the chat body for new popups, then 2) if it's a user pop up, 3) wait until it's populated with links, and then 4) add one of your own?
 
add an listener to the click event?
 
The one that opens the user card? I'd still have to wait for it to populate... and I'd still have to find the popup that'd just opened up
I will look into what the existing click handler does though; good point
 
I assume your click handler runs on the next event loop cycle and that your handler is added last. You might be lucky and the popup is there and populated already.
 
Ugh... all it does is that it generates the popup, sends a JSON request, updates its memory of the user from the response, then dumps a bunch of DOM manipulation instructions into jQuery. Doesn't even bother with HTML fragments.
Most likely it won't be populated 4ms after the click event...
 
But you can do $.ajaxsetup and watch that response come in and after that do your thing, on a setTimeout call.
 
9:07 AM
Then I'd have to check if the response I got was one that populates the popup.
I can't even be sure that the next TCP chatter that happens after a popup is the one I'm interested in... and even then it's already more complicated than two layers of mutation observers.
I was hoping for a chat event generated by SE, but alas no.
 
What you want it for?
@John and what about your color picker? ;)
 
Exactly.
 
?
Link to user card doesn't sound related to color picker... is it?
 
I'm trying to hook the color picker to the chat UI.
 
ohhh
Smart.
But there's a phrase in Hebrew, can be translated to "If you try to catch everything, you end up catching nothing". :)
 
9:57 AM
!!/color picker for John
 
@Shadow10YearsWizard No such command 'color'.
 
Currently I have this monstrosity:
  new MutationObserver(evts => {
	evts.forEach(evt => {
      evt.addedNodes.forEach(node => {
		if(node.classList.contains("user-popup")){
		  new MutationObserver(evts => {
		    evts.forEach(evt => {
			  if(evt.addedNodes.any(node => node.innerHTML.contains("Actions"))){
				...
			  }
			})
		  }).observe(node, {childList: true})
		}
	  })
	})
  }).observe($("#chat-body"), {childList: true})
};
(indentation OK in my editor)
(editor fixed to never ever produce \t's)
 
10:29 AM
Fun fact, the user card doesn't store the user ID anywhere. It does have three links that mention the user ID - one that links to their site profile, and two for their network profile. The network ID can differ from the site ID. You have to use the network ID, otherwise the chat javascript thinks you're talking about a different user. The object you get from the chat javascript doesn't even mention the existence of a site ID, not even inside a URL.
Fun fact #2: what site URL you get depends on where you load the popup. In SO chat, Smokey's user popup points to its SO account. Here it points to his MSE account. In charcoal it points to, you guessed it, software recommendations.
... correction. The ID used by chat is the chat ID. It bears no resemblance to the network ID. It seems to be identical to site ID for SO chat and MSE chat, but not for SE chat. The site ID and the network ID bear no resemblance. The only way to tell if two different chats' chat IDs refer to the same user is to load their respective site profiles. Not even loading the chat profiles will do - those don't point to the network profiles, only to the site profiles.
 
Maybe chat was always meant to be a completely separate product, not really/only meant for SE, hence its own meaning for IDs?
 
Also it appears there's no way to get someone's chat profile from their site profile, even though the server definitely has it?
 
 
2 hours later…
1:12 PM
@JohnDvorak Wrong. github.com/ArtOfCode-/Userscripts/raw/master/stackexchange/…. Links a user's chat profile from their main-site profile.
 
Not wrong - I was implicitly talking about options built into SE itself. Nevertheless, thank you for the link. I'll use it.
uh... the code seems to be very incomplete. In fact, it ends before the most interesting bit of how to actually get the chat link.
Either GitHub serves incomplete files sometimes, or GreaseMonkey editor chops them. The preview code seems complete.
 
1:28 PM
@JohnDvorak yeah on se.com chat the only way I know is to search for the name. It's absurd...
 
Here's an interesting question: should the color picker register when the left mouse button is pressed, or when only the left mouse button is pressed?
 
1:42 PM
@JohnDvorak Well it works.
 
... including installing it in GM even though it doesn't render properly? Tested?
 
Hmm. Maybe it doesn't do what I thought it did.
@JohnDvorak Ah. It's this one moz-extension://be812aac-d718-47a0-a7d0-56660a4b2468/options/index.html#scripts/35. // Add links to a user's chat.so and chat.se profile from their network profile. Apologies.
 
It doesn't seem possible to access the extension page from its moz-extension URL if it isn't already installed, even by googling the UUID
 
// ==UserScript==
// @name         Networked
// @version      0.0.1
// @author       Robert Rudman
// @match        *://*.stackexchange.com/*
// @match        *://*.stackoverflow.com/*
// @match        *://*.superuser.com/*
// @match        *://*.serverfault.com/*
// @match        *://*.askubuntu.com/*
// @match        *://*.stackapps.com/*
// @match        *://*.mathoverflow.net/*
// @exclude      *://chat.stackexchange.com/*
// @exclude      *://chat.meta.stackexchange.com/*
// @exclude      *://chat.stackoverflow.com/*
I've no idea where I got it from ...
 
Interesting... does it redirect to a page that uses the chat ID?
(also, is the URL used here documented anywhere?)
 
2:14 PM
TIL: the user popup for oneself does not have an Actions subheading. There's nothing one can do about themself except to learn who they are and where.
Is it possible for the Rooms subheading to not list the room in which the popup was loaded? Specifically, is it possible for the subheading to be entirely absent, or will it be empty in that case?
 
2:36 PM
Good news: no errors when inserting code or opening user popup
Bad news: the link that should be there isn't.
 
 
1 hour later…
3:51 PM
... how do you call a bug that only exists in the debugging environment?
 
a debugbug
 
Good news: the script now reacts well to a color being selected for a user
Bad news: the color picker can only pick dark gray.
 
4:36 PM
Its a good colour grey.
 
I've got a complaint. I'm not red enough
 
The colors are intentionally toned down a bit to keep readability... but I do plan to add a third dimension to the picker.
 
hmm
AP's called the US elections for biden
 
4:51 PM
Yeah, it was noticed.
I wonder what's next on the 2020 list
 
I kinda have been out of touch :D
 
We're watching TV and it did a breaking news thing
 
@JohnDvorak wow nice! You made it from scratch?
@Tinkeringbell what broke?
 
Most idiotic thing I saw ever, honestly. Worse than the coverage of other breaking things where they just go over and over the same line...
 
I read that armed people try to stop the votes counting.
 
4:54 PM
The cursor is off the Internet, but the color rectangle had to be customized
 
(Trump supporters)
 
Breaking news lets spend 15 minutes telling you that 'ap and cnn called pennsylvania for Biden and so he won'
 
@Shadow10YearsWizard my server :D
 
@Aibobot lol
 
4:55 PM
Just gimme my tv program! I'm watching it because I don't want to know the world for a while!
 
source for the crosshair: uxwing.com/target-focus-line-icon
 
Rob
5:06 PM
@JohnDvorak Yes, it's not very saturated; compared to other color pickers. The reticle is nice, but it would be great if you could go outside the window and grab any color on the screen; I miss that they removed that from my picker.
 
That would unfortunately be impossible for stuff outside the particular tab. Although, picking colors from the user's avatar would be relatively easy and could be useful.
 
ColorZilla, if you're in Chrome
 
Is it still useful if it's confined to a single tab?
 
Rob
That's my screenshot's picker, on my phone.
 
Thoughts on if I were to just expose a textbox to input a hex color into?
(in addition to a stand alone 3d color picker)
 
Rob
5:12 PM
Before the last Android update the picker could look anywhere on the visible screen, assuming that you didn't splitscreen a protected APP, but after that update (and clamp down on permission) you're confined to just the colored box.
 
Presumbly Google wouldn't have it anymore?
 
Rob
Me?, the picker is built-in to the phone's UI's screenshot.
I can screenshot the screenshot of the Settings to show you the UI version and some of the Screenshot Tools:
 
Can it export the color as text in a convenient way?
 
Rob
There's no way to determine the value of the color (in that APP), for that I use: Pixolor.
That can grab any pixel.
 
5:27 PM
Ooh, this looks cool
 
5:45 PM
sdc coffee cool
 
@Shadow10YearsWizard brews a cup of Mocha for @cool
 
sdc tea Cole
 
@Shadow10YearsWizard brews a cup of lemon tea for @Cole
 
Rob
Should have been Affogato for cool
sdc coffee cool
 
@Rob brews a cup of Macchiato for @cool
 
Rob
5:48 PM
No such luck.
 
random is random
 
Rob
sdc coffee random
 
@Rob brews a cup of Mocha for @random
 
Rob
Even random loses.
 
In my teens I use to fill lottery tickets based on random number generator I created. Guess how much I won? ;)
 
Rob
5:50 PM
2-3%?
 
I created it in GW-BASIC.
 
less than you spent? :D
 
@Rob much less
 
Rob
That's unlucky, I get better than that using random.
 
@Rob so use it for lottery and become rich.... :D
 
Rob
5:54 PM
Well, I've spent almost $50, and won ~$30 - if you call that "rich". Another way of looking at it is that I didn't win first prize and lost 1/4B.
That's just this year.
Previous years have been less than 1/2 that, some years.
Still, if you don't play you can't win.
💣💥
 
 
3 hours later…
9:18 PM
So . . . I cleaned my keyboard and no key is working, although the LED works fine and Windows says my keyboard is connected :\
 
9:38 PM
@M.A.R. that's why I never clean my keyboard. (Well, except for dry cleaning, which involves hitting it while it's upside down to have all the dirt fall down.)
I'm well aware that if I'll remove keys from a keyboard, the chances the keyboard will still work after I try to put the keys back are near zero.
So I live happily with my dirty and functioning keyboard. :P
Usually it takes 2-3 coffee accidents before it dies.
huh
Aug 6 '17 at 13:51, by Shadow Wizard
Keyboard is 10 years old, survived coffee attacks before. She will recover.
She didn't recover. :(
Think I replaced another two since then. The more "modern" the keyboard is, the less it survives.
 
That's capitalism for you
@Shadow10YearsWizard actually, check out this weird proposal:
I'll try it tomorrow
 
 
1 hour later…
🚽
 
Rob
11:48 PM
@Shadow10YearsWizard Keyboard.
 
0
Q: UFW firewall preventing updating packages even with less restrictive rules

Nordine LotfiI'm using UFW version ufw 0.36, on 20.04 Ubuntu. Now i noticed that, by using: ufw allow out http ufw allow out https ufw allow in http ufw allow in https ufw default deny incoming ufw default deny outgoing ufw allow out ssh ufw allow in ssh as settings/rules with UFW, even though it allow outgo...

what do y'all use as firewall/firewall rules on linux/Unix?
considering switching to something else if the syntax isn't too weird...
already tried ufw, iptables, and nftables (the weirdest one in term of syntax imho)
 

« first day (3748 days earlier)      last day (1273 days later) »