« first day (213 days earlier)      last day (4803 days later) » 
00:00 - 17:0017:00 - 00:00

5:01 PM
@KlausByskovHoffmann I have a class already set up for that...
ThirdPlace.observe('newMessage',function(event){ /* do something with message here */});
 
@TheOutOfStarsException cool... can I use it?
 
If you're interested
 
@TheOutOfStarsException most definitely interested
 
@KlausByskovHoffmann Sure. It's a early alpha still but it works, I use it for the status script
in Status Script Discussion, Feb 28 at 15:15, by The Renamed Exception
SE Chat status script now available via Subversion. Anyone who wants write access, just ask me for a username.
 
I couldn't get the storage change event handler to fire, so I'm looking at an implementation that uses DOMNodeInserted, but if you already have a class, I could just aswell use that
 
5:04 PM
@KlausByskovHoffmann You'll want this file
Specifically the ThirdPlace namespace
 
@TheOutOfStarsException excellent, thanks!
 
There's classes for common chat objects: ThirdPlace.user, ThirdPlace.message, ThirdPlace.room
@KlausByskovHoffmann Sure. I will be continuing to develop it, so stay tunes for updates
Actually had plans to work on it some this weekend
 
perfect... I'll have a look at it (I'm a bit of a javascript noob)
I'll stay tuned for any updates :-)
 
@KlausByskovHoffmann Ping me in here or the status script room if you have questions, code is poorly commented at present, I'll work on that
@KlausByskovHoffmann I have seen issues with this when you have multiple tabs open; one tab will not fire events but the other tabs will
I will fix that hopefully today
@Nyuszika7H You misunderstood my jokeSQL. I was trying to have my name set to '(-:'
not set the column name to (-:
 
@TheOutOfStarsException I know :P
 
5:08 PM
@TheOutOfStarsException cool, thanks
 
@Nyuszika7H OK. Just making sure. I must make sure everyone understands my jokes for maximum laughability content. ;-)
@KlausByskovHoffmann Here's a more complete example, taken from that status script:
ThirdPlace.observe('newMessage',function(event)
	{
		if(event.message.room_id == statusControlRoomId)
		{
			var userId = event.message.user_id;

			var msgWords = event.message.content.split(' ');

			msgWords.shift();

			var statusType = myStatusTypes.indexOf(msgWords[0]);

			myUserStatuses['u'+userId] = {'type': statusType, 'msg': msgWords.join(' ')};

			console.log('Status change for user:',userId,event.message.user().name);

			myRefreshUserStatus(userId);
		}
	}
So when a new message is posted that function gets called and gets passed a ThirdPlace.Event.newMessage object
that object has a property message which represents the new message posted. That message object has a room_id property which contains the room ID, and a content property which contains the content of the message
 
@TheOutOfStarsException cool, that's just what I need!
yup, I get it :-)
 
it also has a user() function which returns a ThirdPlace.User object, which has properties for the user
@KlausByskovHoffmann Cool. Just making sure because now that I opened the file, I realized "poorly commented" is an understatement, LOL
 
I only need event.messge.content at the moment
 
(@balpha how's that for reverse engineering? ;-)
 
5:15 PM
@TheOutOfStarsException hehe :-)
 
@TheOutOfStarsException one 100% breaking API change coming up as ordered :)
 
@KlausByskovHoffmann perfect. I'll ping you when I update ThirdPlace. When I fix some bugs and comment it, I'll be posting t on StackApps
 
Hahahah :P
 
@balpha so war it is then? ;-)
LET THE API CHANGE WAR BEGIN!
 
Excellent... Will you post the framework and the statusscript as two individual things?
 
5:16 PM
@KlausByskovHoffmann absolutely
 
Hm, I better get on balpha's good side so I can be aware of these updates in advance now that Josh is causing trouble. ;)
 
@TheOutOfStarsException cool
 
so change away @balpha, all you'll do is distract me from town hall/tavern digests ;-)
 
@TheOutOfStarsException but for now, I'll just copy/paste the parts of the script I need. Then when you post the framework seperately I'll link to that (provided I get some pointers on how to do that).
 
@TheOutOfStarsException that's @RebeccaChernoff's problem, not mine :)
strict separation of concerns
 
5:19 PM
|:
 
@KlausByskovHoffmann Yes, the ThirdPlace object is meant to be pasted into a script which requires it
 
We're in a bit of an election break right now anyway (;
 
@TheOutOfStarsException ok, excellent... Just wanted to make sure you didn't think I was trying to "steal" your intellectual property :-)
 
@balpha you're saying I am a problem for @Rebecca? I don't think anyone here would call this news ;-)
 
heh
The man's got a point. q:
 
5:20 PM
@RebeccaChernoff Election break? Cool! Goes to get some coffee and biscuits
 
@KlausByskovHoffmann haha no way, I haven't decided on an official licence but this is all open, meant to give back to the community
 
@TheOutOfStarsException perfect :-)
 
@RebeccaChernoff Oh good, maybe I can finally get that script done now.
 
@RebeccaChernoff funny how @TimStone managed to promise some magical unicornscript right up until after the election season ended ;-)
 
ironic indeed!
 
5:22 PM
@TheOutOfStarsException He should do it before SO's election began, then he'd be magically voted into office :P
 
Hey, not my fault I'm a busy person! ;)
I blame @RebeccaChernoff for being too efficient.
 
that doesn't seem cool ):
 
@TimStone I'm kidding, I was able to handle Unix's THC easily, and you did most of Apple's for me, so...
(You did see Unix's THCD posed right @RebeccaChernoff?)
 
Hahah, I know, I know. :P
 
5:25 PM
@RebeccaChernoff good, just making sure (:
 
@RebeccaChernoff Can you write normal smilies? :)
 
I do. Every time.
 
OK time for lunch for me. @balpha I expect to see chat's code completely redesigned when I return, so that not only the ThirdPlace system but XMPP are both completely broken and require near-complete rewrites. :-)
 
@Nyuszika7H We have no idea what you're talking about (:
 
@Nyuszika7H Don't go there... backwardsmile.info
 
5:27 PM
@TheOutOfStarsException oh dear gawd, don't tempt him
 
@TheOutOfStarsException consider it done!
 
@TheOutOfStarsException I conveniently have the benefit of an "inside" person to notify me of all changes. :D
 
@TheOutOfStarsException LOL
 
@RebeccaChernoff why? poking at the SOIS team is my new favorite hobby :-)
 
5:29 PM
@TheOutOfStarsException your coffin q:
 
@TimStone by this you mean, you don't harass Beckers until she wants you permabanned dead? o=
 
My response to that is: I'm not sure who this "Beckers" person is.
 
@TimStone you're a smarter man than I, clearly ;-)
OK I'm off to get lunch. And after all that was said I will be avoiding my kitchen...
 
5:50 PM
@TheOutOfStarsException what browsers are you using to test? I have everything working perfectly in FF but I'm seeing a lot of uncaught exceptions in chrome and safari
 
My status script isn't working :O
How will everyone know I'm away WINNING now.
 
@mootinator YOUR status script?
 
Yes. I'm assuming @TheOutOfStarsException did such an excellent job on the script that the problem is only affecting mine.
Due to demons, or some other error.
 
Or maybe the script just automatically assumes you're WINNING and decides there's nothing to do.
 
Ah, all better.
 
6:02 PM
Hey
 
@KlausByskovHoffmann have not tested in Safari. I developed/tested using Firefox and am using the script myself in Chrome. (I almost always chat using Chrome, and develop using my sockpuppet in Firefox)
 
So LRU, FIFO and Optimal walk into a bar. The bartender says. "What can I get you two?"
 
@KlausByskovHoffmann and @mootinator please post errors to The status script room
I will review and correct them later
 
Wasn't so much an error as the chat userscript decided /status wasn't a real command again.
 
@mootinator I do see your "available - WINNING" message, but I do not see your gravatar colored border, so I assume it is a known bug:
1 hour ago, by The OutOfStars Exception
@KlausByskovHoffmann I have seen issues with this when you have multiple tabs open; one tab will not fire events but the other tabs will
@mootinator oh. OK. @TimStone told me how to fix that; I will work on that also
Now I see the red border @mootinator
 
6:13 PM
Just one tab. Nifty.
 
@mootinator just one tab will not work
I believe I know why
 
Ahh.
 
OK going AFK again, will update status script when I return @mootinator and @KlausByskovHoffmann!
 
Well, I'm off for a bit.
 
6:42 PM
0
Q: Chat: audible unicorns

Klaus Byskov HoffmannWhen someone starts talking about unicorns you definitely want in on the action. You can now make sure to never miss another interesting chat about these fabled creatures by getting a special audible alert whenever anyone mentions the word unicorn. Simply install this user script and never miss ...

 
unicorns
Owait
There's a sandbox for that.
 
I love unicorns.
(sound not playing – are you using Flash?)
 
cries
 
hmm, unicorns
 
@Nyuszika7H Do unicorns poop rainbows?
 
6:46 PM
Please use quicktime for this, so whenever someone says unicorns it grinds my computer to a halt.
 
@ÓlafurWaage LOL
 
Happens in facebook, when someone messages me for the first time, my browser stops for about 15 seconds while it dynamically loads the virus that is quicktime.
 
Did anyone try the unicorn script with success?
 
Sadly, no.
 
6:53 PM
@mootinator which browser?
 
As far as I know unicorns don't make sound though. Does it make unicorn sounds?
Chrome.
 
ok, thanks
 
sec
 
@mootinator it basically plays this sound: asinex.es/asinex/static/unicorn.mp3
It works for me in chrome
 
Unicorns???
(no it's just an internet radio I'm listening to)
 
7:05 PM
Damn, I'm not sure it works with uppercase unicorns
which is something that I'll fix right away
yay! :-)
 
does it work for you?
 
Not for me :/
> (309) Uncaught ReferenceError: queueObj is not defined
Uh, that's a large number of errors.
 
it uses the ThirdPlace framework, and @TheOutOfStarsException has told me there is a bug when you have more than one chat tab open, and that he'll fix that soon
 
oh yes I have the SO chat open, too
0
Q: Animations with vanilla JS

Nyuszika7HI've used jQuery for a long time, and now I'm going to do some animations with vanilla JS. Here's my code so far: var box = document.getElementById('box'), a1end, a2end, cdend, a3end, a4end, animate1 = setInterval(function() { if (box.style.top === (window.innerHe...

I'm going to do some vanilla ;)
 
7:08 PM
@YiJiang we need your stick to poke @TheOutOfStarsException this time
 
Good ol' Stick of Blame.
 
@TimStone stick? :P
 
Yes, once we've assigned blame, it's important to jab the person responsible.
Otherwise how will they ever learn?
 
Hahahaha!
@TheOutOfStarsException It's your fault!
unicorns, how do I love them…
still nothing
I like unicorns
 
@Nyuszika7H thanks :-)
 
7:13 PM
not working for me :(
 
@Nyuszika7H I'm sorry to hear
I blame @RebeccaChernoff
 
Next spin shows it's rchern's fault… oy!
 
I was born a unicorn..
 
So anyone wants to review my code? (it's vanilla JS!)
 
I missed the ark but I could've sworn you'd wait for me.
 
7:16 PM
0
Q: Animations with vanilla JS

Nyuszika7HI've used jQuery for a long time, and now I'm going to do some animations with vanilla JS. Here's my code so far: var box = document.getElementById('box'), a1end, a2end, cdend, a3end, a4end, animate1 = setInterval(function() { if (box.style.top === (window.innerHe...

 
7:29 PM
@Nyuszika7H;)
 
7:49 PM
@KlausByskovHoffmann |:
 
He's learning quickly ;)
 
@RebeccaChernoff (:
 
:)
How did I earn 2 rep on Code Review?
 
I mean, how good can code be if it's written by someone who is not completely covered in stickers?
 
@KlausByskovHoffmann LOL
 
7:56 PM
@Nyuszika7H you probably got the rep from trying out the unicorn script. It has a hidden feature that gives you 2 rep on a random stack site
 
@KlausByskovHoffmann ORLY?
 
@Nyuszika7H pffft, I wish ;-)
 
UPDATE Users SET Reputation += 2 WHERE DisplayName = "..."
I'm not familiar with SQL, so this might be wrong.
 
@Nyuszika7H You had a suggested edit that was approved.
 
@TimStone :)
I wish I could use single quotes inside single quotes:
echo 'it's nice';
Though it couldn't really work, because what would this do?
echo 'foo'; echo 'bar';
It could either echo:
'foobar'
Or:
'foo'; echo 'bar'
Though if I remember correctly, in SQL you can do that if you start the string with three apostrophes.
It's a bit confusing that you end it with only one…
'''it's nice'
And that's another reason why you shouldn't parse complex HTML with regex.
1. Non-greedy
String:
<img src='http://dummyimage.com/100x100.png&amp;text=<p>'>
Pattern:
/\<img src='(.*?)'\s?\/?\>/
or
/\<img src='[^>]'\s?\/?\>/
Matches:
'<img src='http://dummyimage.com/100x100.png&text=<p>'
And if you do a greedy match, well, it gets too long, you know what happens.
Though you could avoid this with using &lt;p&gt; instead of <p>. That's for HTML. But you could have issues with other strings.
 
8:40 PM
Suggestion for the site SE modifications: disable all 'add comment' buttons for 15 seconds after you click on any.
Bonus points for only doing so if the comment actually is posted.
 
@KlausByskovHoffmann, you posted your script on both StackApps and MSO?
 
No, the MSO "discussion" links to stackapps
 
that seems like quite the technicality.
 
@RebeccaChernoff ok, I'm not sure I understand what your point is. Have I done something wrong, and do you want me to fix it?
 
why the additional post?
I'm picturing this like someone from SO going to MSO "hey guys I posted a question on SO, I need help, so I'll post on this other site telling people to help me"
 
8:52 PM
@RebeccaChernoff well, that was not my line of thought. I considered Meta more suitable for a place to discuss potential bugs/missing features in the script since I did not see a lot of such activity on stackapps. I wanted to post it on stackapps because that's where I feel it "belongs".
 
StackApps absolutely is the place for discussing apps and userscripts and feature requests / bugs for those apps/scripts.
That's like, the point of the site (;
 
Hehe, ok. So you think I should delete post on MSO?
 
Posted by Jeff Atwood on February 18th, 2011

As part of our ongoing improvement to our 1.1 API release, and the site that supports our API, stackapps.com, we’ve extended Stack Apps to support the listing of browser scripts.

Since Stack Overflow began, there have been tons of nifty browser scripts people have created to enhance their experience — and they usually work on any site in our network. In fact, you may remember that the favorite / ignored tags feature now built into every site originally started life as a user script listed on userscripts.org by Jonathan Buchanan aka insin. …

> We’ve already contacted everyone via email who had user scripts posted on Meta Stack Overflow. We’d like to get those all migrated to Stack Apps so the community has one place to go for a centralized directory of cool, useful scripts that make our sites work better.
We did this. We actually sent out emails.
 
Not to me you didn't
 
I don't see a userscript you had previously posted looking at your activity history.
We didn't email every user.
> We’ve already contacted everyone via email who had user scripts posted on Meta Stack Overflow.
 
8:57 PM
@RebeccaChernoff but I'm sorry, if I have used your increasingly entangled web of websites in a manner different from what you imagined ;-)
@RebeccaChernoff but I'm sorry, if I have used your increasingly entangled web of websites in a manner different from what you imagined ;-)
@RebeccaChernoff, yes I understand. I'm a bit of a user script noob, I guess.
 
As for low activity on StackApps, that's part of why I pushed for scripts to be first-class on StackApps - to increase exposure.
 
I have now deleted my post MSO.
With regards to activity... it will be interesting to see if splitting everything to a web site of its own will increase activity or actually decrease overall activity because of the inherit inconvenience.
 
I don't think they're a taboo topic on MSO or anything, but there's a difference between it being a helpful solution and using MSO as an advertising service. (;
 
I wouldn't call that person "crazy". Just... special (:
 
I love how the only time people use my smilies is when they're blaming me for something or saying mean things! (;
 
9:08 PM
oy
 
@RebeccaChernoff , hmm, sorry for "advertising" then... I guess?!?
 
s'all good. You're not the first that has cross-posted MSO<->StackApps and I can imagine you won't be the last.
 
@RebeccaChernoff But I did get various bug feedbacks on my MSO question, and none so far on my stackappps script, so you must admit that despite of your intentions, in reality things work a little differently
and until that changes I'm sure that you'll keep seeing lots of cross-postings
 
StackApps does get activity.
 
9:13 PM
Mind to share the daily hits stats for both?
 
Err, of course MSO will be bigger.
 
I'm overly convinced that the script would get even more attention if I posted it on SO, however I didn't really think that SO was the right audience, but I thought that MSO was. So this was not a case of mindless advertising, but I do admit that I wanted to attract attention to it.
something that I don't feel ashamed of in any way
 
Nah, I get it. It isn't like anyone is reaching for the suspend button here. q:
 
and the script has 16 views and the MSO question got 37 views before I deleted it. just proves that from my view it was "better" to post it on MSO. But I can easily understand why you think it should only be in one of the places. I think it's called a difference of interest what you and I are discussing here ;-)
 
Chicken vs egg. How can StackApps grow if people don't go further than MSO?
And we do want StackApps to grow.
 
9:26 PM
I'm with you. I think that too (though admittedly you are probably a bigger stakeholder in that than I am). But how does a cross post make stackapps grow less? One post linked from MSO to stackapps, so how will stackapps grow less? I'm not even sure I get it...
If anything it would attract more traffic to stackapps
 
I'm trying to find an old post but am not having luck ):
4
A: Should announcements/feedback requests for new Stack Overflow API tools be allowed on Meta?

Robert CartainoAnnouncements regarding tools and applications that use the Stack Overflow API should be posted to Stack Apps. Applications are listed under the 'apps' tab. We used to have API-related discussions on meta, but now that we have a site dedicated for that purpose, application announcements should b...

And now that I've found that, I think I'll go to the gym since it is cold outside. (:
 
@RebeccaChernoff Can has MSO → StackApps migration path then?
 
@badpssockpuppet just FYI: meta.stackoverflow.com/posts/81803/edit
 
@balpha I did give you the +25 :)
Thanks.
 
Hmm, has that been requested? If not, I'd say handle it like I'd handle a migration request on any other site.
 
9:34 PM
@RebeccaChernoff thanks, interesting reading... enjoy the gym
 
@RebeccaChernoff Okay so I'll wait for somebody to give me a list of questions that could've/should've been migrated. :P
 
I thought about migrating my scripts (I haven't moved all yet), but I decided to go with a clean slate on stackapps
 
@balpha well, you should migrate them soon coz they're clearly in violation d-;
 
@badpssockpuppet - thanks for the edit
 
@ChrisF You're welcome
 
9:40 PM
@KlausByskovHoffmann I was speaking of "migration" as in "migration"
 
@balpha, ok, I get it
 
as in: "I didn't click 'migrate to StackApps', but instead opened a new question on StackApps and closed the one meta"
 
+----+  +-----------+   +-----------+
| Oy |  | Double oy |   | Triple oy |
+----+  +-----------+   +-----------+
 
+-      -+
| tag:oy |
+-      -+
 
9:51 PM
You can't say "annoying" without saying "oy".
6
 
@everyone You're annoying. Oy!
 
10:46 PM
hrm... as an anonymous user suggesting an edit, is there any way to get the permalink to your edit suggestion?
 
10:56 PM
@badpssockpuppet I don't think so
 
Thought so.
 
night :)
 
11:27 PM
I wash there was a PHP algo to generate giant primes...
 
collapses on the couch
 
yawns I just woke up, heh.
 
She's worn out from trying to fix the UL election
2
 
A lot of ballot-stuffing that needed to be done, I'm sure.
 
2 hours ago, by Rebecca Chernoff
And now that I've found that, I think I'll go to the gym since it is cold outside. (:
 
11:39 PM
Though I would have gone with the "Free 500 reps for anyone who doesn't vote for Michael Mrozek" notification bar at the top, personally.
Ah, you did that whole "being active" thing instead of "arbitrarily passing out from random exhaustion" like I did.
 
@TimStone I would've not voted for me if I knew I could get 500 rep
 
It would have put me in an awkward position, surely. Without the 500 reps, I couldn't vote for you anyway, but with the 500 reps, I wouldn't be allowed to.
Ah good, I see that people have moved up from putting "Hi" at the beginning of their posts to "Hai". Maybe next time it'll just be a picture of a lolcat.
 
I burned out when it comes to editing that stuff out now. I look at it and sigh and move on
 
Yeah, I just passed it by for the moment. I'm sure it'll come around again on /review later, and hopefully by then I'll have mustered up the will to deal with it.
 
00:00 - 17:0017:00 - 00:00

« first day (213 days earlier)      last day (4803 days later) »