« first day (562 days earlier)      last day (3259 days later) » 

1:36 AM
@KevinBrown I'm just speaking from experience
 
 
4 hours later…
user4639281
5:08 AM
0
Q: How to add custom tags in contenteditable?

SandrikI'm working on a WYSIWYG redactor using contenteditable and execCommand. Bold, italic an other things are working just fine, but I'm confused about how to add custom tags (e.g. "<span style="white-space: nowrap;">", etc.). It seems like there's no standart tools for that (which is really strange)...

 
user4639281
I voted to close the original because there was no code, and it was overly broad (possibly asking for tutorial or off-site resource). Once the code was linked in the comments I found a duplicate and posted in the comments
 
7:54 AM
the user scripts in the FAQ are gone?
 
8:12 AM
@StephanMuller really, let me check?
@humble.rumble voted as duplicate
@StephanMuller they were (correctly) renamed to add the .user part but that change didn't get noticed until now, thanks for reporting, fixed.
 
Sam
@Rene Do you have any preference on how I should plug-in SOCVR.Net's new UserWatcher class?
 
What are my options?
@TylerH me too... ;)
Hmmm this became true but only two hours ago...
 
Sam
8:34 AM
@rene Create an internal static class for managing a collection of these new classes (which'll mean the end program (the CLI) won't know anything changed), or, create a normal public class and make the end app instantiate it.
 
No static classes please
 
Sam
Ok.
 
Sam
8:48 AM
Actually, nvm.
 
see, fixed
 
Sam
lol
 
 
3 hours later…
Sam
12:04 PM
... forgot to create the PR. lol
 
12:16 PM
> Failed. Build finished.
 
Sam
I just saw that.
> warning : Reference 'ChatExchange.Net, Version=2.2.4.0, Culture=neutral, PublicKeyToken=null' not resolved
sigh
@ProgramFOX Fixed.
Oh, and while we're at it. Can we close #67 yet?
 
12:49 PM
@Sam this looks fine
@Sam if two or three can run this in the test room and none are missed I would say so
 
Sam
@rene Ok, I'll do that now.
 
let me join
 
Sam
k
I'll start it in the testing facility.
 
Sam
1:20 PM
@rene I forgot to mention, these two lines also need calibrating.
 
20
Q: How many requests are too many?

DoorknobI'm writing a small script that makes a large amount of requests in order to obtain data that can't be acquired via the API (for example, getting a user's network profile URL, scraping the network reputation graph, scraping moderator election pages, etc.). However, I am aware that it is possible...

 
Sam
@rene Those timeouts don't control polling (or anything like that), they help determine when a user has finished reviewing.
 
Oh, oops
 
Sam
Basically, the duration is how long to wait for the user to review a new item before automatically ending the session. (So, if inactive > x, end the session.)
 
Well, an event is for an hour, I've so far only seen one person taking over 2 hours. So let's assume doing 40 votes in 120 minutes => 3 minutes max, 40 in 60 minutes => 1,5 as a minimum. I would settle for 2 minutes
 
Sam
1:34 PM
Ok, sounds good.
I think eventually it would be a good idea to base the duration on the user's average reviewing speed (as the timeouts are user dependant, not global).
 
yep, true
oh boy... I've managed to write a cmd script that keeps calling its self...
 
Sam
lol
 
How on earth do I gain control again...
it was meant to stress test an external site, not my own box...
 
Sam
Just kill it.
@rene I'll probably write up an issue in a min.
 
there are no resources left to bring up the kill process dialog
 
Sam
1:48 PM
Oh. :|
This is where process priorities come in handy...
 
sure
Looks like it's trying to show a BSOD now...
 
2:09 PM
OK, I had 2838 processes started...
 
Sam
:o
 
Sam
2:36 PM
@Rene Should I try creating a CompletedTag event to the UserWatcher?
 
How will that work?
 
Sam
It'll check the last x reviews if they all share a common tag (or multiple tags, depending on the user's filter).
So if the count of common tags is above the noise floor it'll consider it to be targeted by user.
We could ask users to review one tag at a time to further improve accuracy.
 
Still don't see how you figure that a tag is completed based on observing users?
 
Sam
Well once the tag has been determined, if the user reviews an item without that tag it'll fire the TagCompleted event.
 
Hmmm... not sure if that isn't going to tie in our reviewers to much in an harness
 
Sam
2:44 PM
How so?
 
I tend to use more tags in my filter if I'm near the end of the tag/ if stuff gets to slow
 
Sam
Oh, right.
We could just increase x.
7 mins ago, by Sam
It'll check the last x reviews if they all share a common tag (or multiple tags, depending on the user's filter).
 
Yeah, that is true... we might need it sooner or later so, give it go
 
Sam
Alright, I'll start work on it now...
(And add it to the PR.)
 
 
3 hours later…
Sam
6:10 PM
@Rene After some testing, it appears this mechanism is indeed too inaccurate when reviewing multiple tags.
So we have two options.
1, let users review as many tags as they want, but only monitor a single (dominate) tag, ignoring the others.
2, ask users to review one tag at a time.
 
I'm not a big fan of option 2.
If I'm the only one to choose I would say we go for option 1 for now, unless @gunr2171 comes with a solution we didn't see...
 
Sam
Sure, ok.
 
afternoon, give me a sec to make some lunch and read the above
 
Sam
6:29 PM
Ah, he returns.
Welcome back.
 
ok, back
so want to give me the short version of what's going on?
 
Sam
Sure.
First off, you need to review this.
 
@gunr2171 the world is coming to an end.
Short enough?
 
yup
 
Sam
Second, what are your thoughts on this. (I'm creating an event for when a user has finished review CVs under a specific tag.)
 
6:37 PM
ok, reading through the pull request now
 
Sam
k
 
pull request seems fine, let me spin up a test database so we can run it
 
Sam
woot
 
starting it up...
let's hope this works
 
 
1 hour later…
8:06 PM
@Closey starting
 
@rene May the Vote be with you!
 
@Closey next 5 tags
 
Refreshing the tag listing. Please wait...
@rene The next 5 tags are: 174, 111, 111, 100, 86
 
passed javascript audit
 
8:41 PM
passed url-routing audit
Thank you for reviewing 40 close votes today; come back in 3 hours to continue reviewing.
 
@rene Thanks for reviewing! To see more information use the command last session stats.
 
9:22 PM
I'm out... need sleep....
 
user4639281
9:33 PM
have fun
 
11:14 PM
Put 50 more [open-source] questions in the close queue, for those cleaning up.
 

« first day (562 days earlier)      last day (3259 days later) »