« first day (153 days earlier)      last day (5024 days later) » 

1:02 AM
The original still works.
Sorry, should be deleted.length there in the for loop. Stupid me not fully woken up yet
right, makes sense
Yay, my commit message can be:
"Fixed bug introduced by @YiJiang"
It works!
Well, I haz the original github "Redacted" repo.
:-D
OK, let's see... nope, not working
1:04 AM
Hmm.. looks at the clock and sighs
@Moshe So you're OK now, you got it working?
Yep.
OK. I'll give up on my system then :-)
Socks, please share the final (non working, not bothering to fix it) code...
var Chat = new (function(){
  var public = {
    pollTime: 0.5
  };

  var myObservers = {
    messagePosted: [],
    messageEdited: []
  }

  var myMessageCount = 0;

  var myFireEvent = function(eventName)
  {
    var pass = arguments;

    for(var i=0,l=myObservers[eventName].length; i<l; ++i)
      myObservers[eventName][i].apply(this,pass);
  }

  var myPollForEvents = function()
  {
    var messages = $('#chat .message');

    if(messages.length != myMessageCount)
    {
      for(var m = myMessageCount; m < messages.length; ++m)
@TheNeedsMoarJqueryException - You can download (my) @YiJiang's userscript from my GitHub repo.
It even has a variable so you can customize the phrase.
1:08 AM
OK. I can't let this go, LOL
To demo for anyone who is interested:
I will fix this script...
@JoshsSocks - Oy.
Why "oy"?
1:14 AM
@JoshsSocks - It's a bit of a meme here.
Oh, LOL, my script does work
it was my event handler with an exception!
scrolls up to see the code
(test)
awesome
var Chat = new (function(){
  var public = {
    pollTime: 2
  };

  var myObservers = {
    messagePosted: [],
    messageEdited: []
  }

  var myMessageCount = 0;

  var myFireEvent = function(eventName)
  {
    var pass = arguments;

    for(var i=0,l=myObservers[eventName].length; i<l; ++i)
      myObservers[eventName][i].apply(this,pass);
  }

  var myPollForEvents = function()
  {
    var messages = $('#chat .message');

    if(messages.length != myMessageCount)
    {
      for(var m = myMessageCount; m < messages.length; ++m)
Chat.on('messagePosted',function(eventName,msg){
console.log("messagePosted",arguments);
msg.innerHTML += " -- Oy!!!"
});
(example usage)
scrolls down to see the code
heh
omg ppl. and codez. Great day for chat.
1:17 AM
Hello!
@Moshe my code uses no deprecated / browser specific functions
take that @YiJiang!
head-desks
Note that, modifing .innerHTML as I did in my example, will totally break chat, LOL
1:18 AM
@TheNeedsMoarJqueryException ... but is a lot more inefficient. Tosh.
@YiJiang It's more inefficient, yes
must... work...
if I could count .message elements faster, it wouldn't be too bad at all
OK, someone figure out what I changed that's causing bugs, gogogo!
I'm on it
1:19 AM
@TimStone The event out of range errors in Firefox?
@TheNeedsMoarJqueryException - sounds like you solved this: chat.meta.stackoverflow.com/transcript/message/426128#426128
I'm not a webdev, but looking at my list of blocked scripts in my browser here, I'd say your code needs more Superfish. And Synchronicity.
Aaccht. My name keeps appearing the chat log. "never had it happen with him though. Only Petrotta." Disconcerting.
OK this Oy script is now really annoying me
Yeah, you do that, I'll just... yawn... get some sleep
1:20 AM
@YiJiang Nah, this is in work code, heh.
Which, at the moment, is not JS.
@MichaelPetrotta Run now, while you still can.
And that's how @RebeccaChernoff irons the socks!
@JoshsSocks .message .content:after { content: 'Oy.'; font-weight: bold; } That that you old fool! Muhahahhahah
@YiJiang but that's css
@YiJiang That would have been better. I was quickly hacking crap together
1:21 AM
@Moshe Which is actually more efficient than modifying the DOM on the fly like this
ok
hehehehe, sorry about that @MichaelPetrotta
I do still think a Chat object which you can attach event handlers to is a good idea
@RebeccaChernoff Hmmm... our new dev girl's display name still not blue.
@YiJiang what we should do is pool our talents, if your method is available the Chat object uses it, otherwise it polls
1:23 AM
@YiJiang I got tired of refreshing her meta profile hours ago
@TheNeedsMoarJqueryException Userscripts typically only work in browsers that work, so it's generally a non-issue. :P
@RebeccaChernoff: no worries, really. Just... weird, is all.
@MichaelMrozek Also, no diamond. You can set up chat to do this - just poll the API once every hour and pop this here
@MichaelPetrotta It's your fault for having the same as me. Also @MichaelMeyers. Perhaps you two should choose new names
1:24 AM
@TimStone I write few UserScripts. I'm a bid fan of compatibility
@MichaelMrozek: I'll get right on that.
@YiJiang Well, I didn't think it would take this long. Nick has a diamond on SO; I assume it's user-controlled and she hasn't bothered to do it yet
@RebeccaChernoff procrastinating? That doesn't sound like her at all.
He does indeed! Hmmm...
1:25 AM
I didn't know he was from Winston-Salem!
Userscripts can run in Chrome/Firefox/Opera/Safari/IE. This isn't just a Firefox with a helping of Chrome on the side thingadongdong.
Lies!
@RebeccaChernoff shrug IE what's that? Sorry, I can't hear you. Speak louder! (ducks)
ducks?
, rubber.
1:26 AM
Beavers.
Can anybody else see associated accounts in user profiles on SO/MSO?
@mootinator Yes, running userscripts in IE is only slightly more insane than running userscripts on a duck.
4
@RebeccaChernoff I just noticed that about an hour ago; a bunch seem messed up on meta
Mine shows up fine though
@RebeccaChernoff I can, why?
1:27 AM
@RebeccaChernoff I could as of 1 hour ago, lemme check again
I've only looked at me/Nick
@RebeccaChernoff I can't see yours, I can see @Tim 's
Hahah, I really like @Shog9's SA gravatar :P
And I have no idea what's up with my access. I didn't really notice until y'all mentioned it.
1:28 AM
@RebeccaChernoff Your lack of power-hungry madness disappoints me
The Daglas's profile shows no associations for SO or Meta.SO
Things that make you go oy.
Can you see mine or Nick's?
Since those are the only 2 I tested. >_<
SO devs: UNSUPPORTED.
1:29 AM
is a thorough tester!
@TimStone I enjoyed that meal
@RebeccaChernoff: no, I can't see yours, from meta
"No accounts matching this OpenID found in the network"
@Shog9 What'd it end up being?
@RebeccaChernoff Can't see your's or his. (tried typing in rchern, before scratch head and wondering why it didn't work)
@TimStone Hamburgers. And beef stew
1:30 AM
Ah, nice.
All this talk of food is making me hungry
That's one of my regular meal-plans: buy a roast, cube it, grind half for burgers & make stew with the rest
That sounds delicious
Roasts are often cheap, but I hate cooking roasts
> 35 categories. 165 sources. 18,056 unread articles.
I think I have some catching up to do. ;)
1:31 AM
Extended food preparation makes my stomach sad.
TIME TO HEAD TO SCHOOL IN MY #STACKOVERFLOW T-SHIRT
Hahah
@TimStone Hence the burgers - quick meal while stew cubes are marinating
@George: "Mark all as read" Feel the relief.
@Shog9 Eh? Pop it in the crock-pot, hurry up and wait.
1:32 AM
@GeoffDalgas That's great
@MichaelPetrotta Yes, I was considering exactly that.
Freshly prepared burgers are always the best, too.
@GeorgeMarian and then, several hours later... A big hunk of meat.
Hmm, SO and MSO are on 2011.1.2.1 while WA (where it works) is on 2011.1.3.1.
Gotta make some mashed potatoes to go with it, maybe some steamed veggies, fresh rolls... It's a good meal, but a ton of work
1:33 AM
@Shog9 That falls apart as soon as you touch it. :)
@Shog9 Fair enough.
@RebeccaChernoff Doesn't it have more to do with the server locations?
Now, throwing it on the barbecue and letting it smoke for half a day while drinking cheap beer...
I know meta's associations broke when they moved meta to NY
MMM....real BBQ....
Ok you guys are torturing me with all this food talk. I'm going to go get dinner now
1:35 AM
I'm hungry, but also don't feel like eating for some odd reason. Damn you, conflict.
@TheNeedsMoarJqueryException Heh. Enjoy.
@TimStone This is when thick, dark beer comes into its own.
@TimStone This confuses me
@GeorgeMarian Thanks! Later everyone.
@Shog9 Perhaps this will finally be the motivation I need to go restock my fridge..
Night Moar.
1:36 AM
@TheNeedsMoarJqueryException It confuses me too!
@TimStone If you drink it at room temperature, you can say you had a hot meal...
I'm hungry and too lazy to forage.
Gah...if your web interface needs JS, you should always inform users of that
You inform them by breaking badly when they disable JS
Especially, when it's the admin interface to your equipment...
1:38 AM
@GeorgeMarian I didn't do it.
Cheap router. =/
Though my equipment would have been a horrible PITA to use sans JS, not my problem.
Just replaced my crappy NetGear router with a somewhat less crappy Buffalo model
DD-WRT is like a breath of fresh air
btw, if everyone uses my script, we will all see different things. It'll be as if we're all drunk!
@Moshe I have a feeling it won't feel nearly as fun.
1:39 AM
@Shog9 Yeah, I've heard good things about it.
Speaking of crappy web interfaces...
@TimStone - So I need to make it a little more fun.
Avoid this brain-damage if at all possible.
Ah, good ol' Buffalo. I remember my first Buffalo wireless router back in 2002, heh.
@Moshe In this particular case you might be over-reaching. :P
@Shog9 SharePoint, is..um...interesting...
1:43 AM
@George: gangrene is interesting. Sharepoint is pure pain.
4
Yeah... My employer's installation is now my home page in IE8... Because it's the only thing I need to use IE8 for. Way to give me a bad impression right off the bat - like going to a bar where you need to have syphilis to get in the door.
@MichaelPetrotta lol
@TimStone - i was thinking of other replacements...
@Shog9 Wow...really? WTF for?
Reversing smileys
replacing the @ symbol
FizzBuzz IE references, perhaps?
1:45 AM
@GeorgeMarian Project management (but I can't add or define my own projects), time tracking (where again, I have to assign my time to general-purpose projects that have only a tenuous connection to what I'm actually working on)
Wow...not only does this router require a reboot with every settings change...it reset the time when it reboots and clears the log. WTF?
@GeorgeMarian Ninja!
@Shog9 I meant why require IE8. :)
Presumably because it's a MS product?
Besides product tie-in, of course...
:)
1:47 AM
> 123 right, 5 wrong, 0 ignored, 0 exceptions
Oh thank god..
@TimStone At least it's stopped rebooting on me. Now I'm trying to figure out if it was the firmware upgrade that fixed it or the channel change.
@GeorgeMarian I gotta assume it's gonna load up Office in the background somewhere along the line, but why it needs to is anyone's guess.
@GeorgeMarian That's good, at least. I'm inclined to say the firmware, but at this point who knows. :P
@TimStone Heh. Yah, me too. I just changed the channel to verify it, hence my grubbling about the time and log resets.
I guess I could find a free time server to use, instead of manually setting the time on the stupid thing.
1:53 AM
Yep
oh chit
My auto oy starring script was being promiscuous
is he drooling?
It's kinda crap, but I was just messin.
1:56 AM
@MichaelPetrotta Hahah
I just don't want to admit I don't know how to write a good regexp for finding oy.
@mootinator: oy
Hey, @YiJiang! IT's not working.
Finding oy, oy! etc, but excluding boy and Olive Oyl, rather.
can you assume all oy will have either punctuation or a space before it? (or will appear at the beginning of the line)
2:02 AM
Does \b work in js?
Can't you exclude stuff in regex?
However, what about oyoyoyoy does that count as an oy?
@drachenstern I don't think so.
I'm a purist.
Does anybody else get tired of JG Wentworth commercials, no matter how cute they are?
But the one at the end counted.
2:04 AM
well of course
I'm so sorry, I couldn't help myself.
Not working.
lol
Whay about if somebody's making a pun with "blue OYster cult"? :p
share your code mate
2:05 AM
var chat = document.getElementById('chat');

chat.addEventListener('DOMNodeInserted', function(evt){
	if(evt.target.nodeType === 1){
		if(evt.target.id.match(/message-(\d+)/)) {
			if (evt.target.querySelectorAll('.content')[0].innerHTML.match(/oy/i))
			{
				var star = evt.target.querySelectorAll('.stars .img')[0];

            			$(star).click();

			}
		}
	}
}, false);
0
Q: What is regular expression would I use to find the word "oy"?

MosheWhat is regular expression would I use to find the word "oy"? I need it to work in a userscript. Also, I have to make sure it doesn't remove words that contain "oy", like "Olive Oyl".

/facepalm
Kev does it work on my next line? (tell me when you're ready)
@mootinator - so anyone using my script and your script would be starring every deleted post.
2:06 AM
I'm busily un-starring this convo :P
(My default replacement is "redacted - oy")
Ha!
oy, it works
shakes head
2:07 AM
lol
refreshes
where is @YiJiangs script that made the "haha" text?
We can use that for "oy" generation
A total mess, it will be!
@Moshe he wants to autostar the posts
whoever just starred me remove those stars! :p
@drachenstern - I know, but @YiJiang had a script that posted "haha" every so often.
@RebeccaChernoff they're not listeninggggg</whine>
2:09 AM
@Moshe Oh, right. Hmmm... well that'll need jQuery
I want to change that to "oy", to lead @mootinator's script on a chase. starring oy.
yeah...let's not.
If we end up with battling bots in here...
I unloaded it already :P
I would prefer it if we didn't do that @Moshe
2:10 AM
@mootinator - i have it in memory 8-P
(Copied)
@drachenstern - ok
What I would prefer is to instead FAKE the starring so that people can't star those ;)
how so?
hijack the click on posts containing OY and make it seem that the click took, but stop it instead
So to make it seem like it took to highlight the star, add a random number, etc
I thought I had used /\boy\b/gi and it was highlighting oys in the middle of words.
2:11 AM
Yes that would be awkward, but so is seeing fifteen OYs on the right
Of course now that I've said it ... defeats the purpose of actually doing it :S
I got some answers
@RebeccaChernoff can just have the chat ignore your star events on the server side. ;)
0
Q: What is regular expression would I use to find the word "oy"?

MosheWhat is regular expression would I use to find the word "oy"? I need it to work in a userscript. Also, I have to make sure it doesn't remove words that contain "oy", like "Olive Oyl".

@Moshe Let me know how that works out O_o.
2:13 AM
2 Answers.
@nebukadnezzar Yo!
Oh, son of a...
hey-ho @mootinator
2:17 AM
whistles innocently
Do the answerers to my question know about the meme here?
i doubt it :P
Heh.
Most likely not
2:21 AM
grumbles angrily
IMHO, btw, all of the upvotes on that question almost do seem like a voting ring.
People up voted that question?
Well, yea, but the answer got 7 upvotes.
@Moshe, why are you teasing SO?
@MichaelPetrotta - I'm sorry.
I removed my comment if that's what you were referring to. Although I couldv'e just as easily linked to all of the "oy"s here in Chat.MSO
2:23 AM
yep.
@TimStone shakes head slowly
@GeorgeMarian puts words in @TimStone's mouth
@GeorgeMarian Aye
wait for it...
.Are you seriously planning on running this? I mean, it is pretty much past the line of when to stop I'd say.
2
2:26 AM
@RebeccaChernoff - No, I wasn't planning on running it.
I was referring to a correction of @TimStone's "Aye" to "oy".
@RebeccaChernoff I'm not even sure if you could still see the line from how far over it that is. >_>
2
Agreed. I'm not running it.
No, I definitely meant aye.
whoa whoa whoa chill guys
new year = new memes
@Reno Apparently @Moshe is starting "wait for it"
2:28 AM
Cheese is good. Who doesn't like cheese? Something cheese-related, maybe.
Hah
@Moshe I thought the 7 votes were just a regular feature of simple questions.
Dunno
but since im such a noob i actually learnt something from that question, its all good
@mootinator they are ...
2:34 AM
also this doesnt catch 0y i.e with a zero
@Reno - Why should it? That's zero-why, not oy.
@Reno why should it?
@drachenstern - jynx
Well, time to see if my library "uncorruption" paid off .. resyncing my phone for the first time ;)
@MichaelPetrotta Cheese is pretty delicious. But food memes would make me hungry, which I'm not 100% on.
2:35 AM
133t
...wait for it...
gotta catch em all
@TimStone: that's fair.
So I chat more than I realize, I thought it would take till tomorrow to surpass ArdaXi, but no, the message after this one does it ...
Speaking of cheese, I'm thinking chicken cordon bleu for dinner.
2:41 AM
Oooh, I have some little pre-made chicken cordon bleu's in my freezer ... that would be nom nom-my
Yeah, me too :D
but what to pair it with ...
And heh, wow...I'm up to 1K messages a week. I know I don't have that much to say that's worth reading. >_>
scalloped potatoes?
eh I'm 935/wk
Also, I'm catching up with you on MSO :D
Yeah, I haven't been poking my nose in things lately, heh.
2:45 AM
anybody know off the top of their head the latest version of handbrake?
I have 0.9.4 (c) 2009
"HandBrake 0.9.5: Released!"
I was gonna say, I'll be a sunuvagun
what are the odds that today I choose to rip some vobs, and today there's a new version?
I just realized most of my contributions to the MSO community are trolls.
are trolls, or are to trolls?
2:50 AM
So what does it mean that on the front page are 18 active users, 9 of which work for SOIS, 9 of which don't?
that actually does clarify it.
@drachenstern nothing?
Oh sure, so you say :p
I think my dog is dreaming. She's laying beside me on the couch and her head is in my lap and shes jerking and I feel REM
she has her head buried under my arm
^^^^^ I see why I have ~1k messages/week ...
@TylerChacha hello Tyler!
2:56 AM
room topic changed to The Tavern (General): Here we have our fill of bread and wine, and then tell of tales of other times we've had our fill of bread and wine.
@TheNeedsMoarJqueryException There you go
That message seems less that counterfeit-proof
room topic changed to Whatever I Want
I just built my first cloverleaf! Yay!
"The Tavern: If nobody else is working the tap, then you probably should be" ...
"The Tavern: Feel free to talk shop or talk personal, just join in and talk" ...
"The Tavern: Welcome one and all, to the greatest show on Earth" ... <-- no
"The Tavern: If it aint worth sharing ... ahh who are we kidding, come on in" ...
4
@YiJiang woohoo (or: toot toot! ??? )
@drachenstern Did you just have those laying around?
2:59 AM
@YiJiang \o/
@TylerChacha no, spontaneous

« first day (153 days earlier)      last day (5024 days later) »