« first day (75 days earlier)      last day (4937 days later) » 

12:04 AM
hmm
really i just want to be able to call .click() to trigger it
 
Yeah, I'm not sure what the issue is.
To the jQuery source!
 
.live probably binds to document. but .click should work. i even tried .trigger("click")
 
12:25 AM
I hate you Firebug -_-
 
ok, so the .click() wasn't doing anything because i was using span.action-link rather than .action-link
 
I wasn't able to get it to work using $('#message-(id) .action-link'), did you do something different?
 
yeah, that's what i meant by ^^^. i was using "#message-id span.action-link"
 
@TimStone that's becoming a meme for you
 
It's evil!
 
12:31 AM
hehe
 
I typed something different in the console and it gave me the same output as if I had retyped what I had tried before.
 
span.action-link not working but .action-link working is weird. both report a length of 1 though
 
Then I tried to deactivate it for this page and reactivate it, and the window said "Well screw that" and just closed, heh.
 
hrm
seems to work on SO's chat but not here
 
Yeah, I still don't get anything to show up, heh.
 
12:34 AM
$("#message-10597 .action-link").click() works fine in chat.stackoverflow.com/rooms/103/script-testing though
 
Wow, what an ugly stack trace.
makes note to write extensions for Firebug
I like how I expand items in the DOM tab and then after 20 seconds they decide that they'd rather not be expanded and automatically close so I can't read them anymore.
 
):
$(document).data("events").click[6] appears to be the handler in question
 
Not a huge deal, it just...doesn't make sense. :P
Hmm
 
now as to why it doesn't seem to be firing... |: heh
 
Oh, I see what the issue is.
...Well, with Firebug, not that that helps us, heh.
 
12:47 AM
q:
 
It's all of your faults! :P
 
):
 
But no, every time any event happens that modifies the DOM, the DOM tab (in its infinite "I must give you a live view" wisdom) decides to refresh automatically.
This is similar to the behaviour that caused me to become enraged yesterday ;)
 
so i just need to wait for you to load it
and then say something?
i'm on it! let's go!
 
Hahah
To be fair, it makes sense in some degree because I might want to watch DOM values change, but it's really obnoxious when I'm viewing stuff that is in no way impacted by the events on the page and it still wants to refresh. Ah well, maybe I can hack at that later..on to this click event nonsense.
 
12:50 AM
@rchern @TimStone What are you guys working on now ;)
 
doing just .click rather than .click() seems to provide the same output from where it does work vs doesn't work
@YiJiang, edit
 
@rchern Eh... what does that mean?
 
We're trying to add a shortcut for editing a given (non-last) message.
 
anyway, my idea in case it isn't clear, is to trigger the click to bring up the popup, then the click of the edit link, and hopefully that happens enough the popup appearing/disappearing will be too fast to see? heh
 
I actually think that we can even do better than that, although in case not I do want to figure out why this isn't working.
 
1:01 AM
@rchern Shouldn't we be able to trigger .click() on the hidden a too?
 
the a isn't hidden. the popup is generated when you click on the arrow.
(if that's what you were talking about)
 
@rchern Ah, I see. Right, that makes sense
 
hrm ):
@radp i'm not sure your script works fully on WA. seems like the rep number changed but i don't see the notification
also, this is annoying me >_>
in the test room on SO it works both with a new message and immediately after an f5 with a message loaded on page load
 
1:29 AM
WTF?
In the source code I took from chat and jsbeautified, the event handler for that link is called ta()
But it seems to have undergone an identity crisis and become ua() now.
They're wise to our schemes!
 
haha
 
Okay, I've got a scoping issue here.
 
Anyway, it's possible to call the handler reliably, but for some reason it's lying to me.
 
must be a different version from a different checkin or build that got re-obfuscated
 
How do you do variable hoisting here?
 
1:31 AM
variable hoisting?
 
@rchern Can always see if @balpha or somebody else is in the Chat Feedback room on SO
 
The name is largely irrelevant to us anyway, as long as they don't start changing classes and such ;)
 
@rchern I'm defining click event handlers in a loop, and the variable i doesn't stick
 
But it would explain why I couldn't find it when I searched :P
 
but again, we want to be triggering .click events
 
1:33 AM
5
Q: Javascript closure "stores" value at the wrong time

badpI'm trying to have a counter increase gradually. The following works: function _award(points){ var step = 1; while(points){ var diff = Math.ceil(points / 10); setTimeout( "_change_score_by("+diff+");" /* sigh */, step * 25); points -= diff; step++; } } ...

(Possibly related)
 
@YiJiang, hard to know what you're doing unless you pastebin some code (;
 
@TimStone Sounds like my problem. Me and ECMAScript's scoping issue goes way back
 
Heheh
I'm annoyed that this is being mean to me, I don't get it.
 
@radp, never mind. i was under the impression the notification stayed around. if i'm not looking at the page for 10 minutes, i had no idea it showed and disappeared
hmm are there other .live events we can test manually triggering?
 
var x = $(document).data('events').click,
    y = null,
    z = null,
    w = null;

$('#chat .message:last .action-link').click(function(e) { w = e; }).click();

for (var i = 0; i < x.length; ++i) {
    y = x[i];

    if (y.selector == '.action-link') {
        z = y.origHandler;
    }
}

if (z) jQuery.proxy(z(w), $('#chat .message:last .content')[0])();
//jQuery.proxy(function() { console.log($(this).closest(".message")); }, $('#chat .message:last .content')[0])();
//console.log(z.toString());
So, I don't get what's up here. When I call the proxied method, it tells me that "o.attr("id") is undefined".
But if I call my test proxy method, I get the results that I expect, and the div clearly has an ID..
o in ua is $(this).closest('.message')
Oh
Hahah
That's rather obvious, heh.
 
1:42 AM
$("#my-rooms li:first-child a:first-child").click() works fine for me
which is added with .live() >> $("#my-rooms > li > a:first-child").live("click", function (h) {
 
Hmm
 
1:56 AM
Hm, I wish that the debugging tools were more powerful..
 
2:27 AM
@rchern HAHAH
I figured out what the problem is.
 
o:
which problem? (;
 
the problem ;)
 
@TimStone Wooooooooo....
 
See, the code is working fine.
It just happens to make use of a little thing called page coordinates..
 
oof
 
2:28 AM
Guess what's missing when the mouse doesn't create the event? ;)
 
it did work in the test room though
 
@TimStone My God, you are a genius
 
@rchern Yeah, I'm not sure what was different there.
I'll have to check to make sure the code is indeed called when you click()
But when I invoke the handler directly, everything executes fine
 
Hmmm... but shouldn't mouse coordinates affect where the box appears, and not whether it appears at all?
 
Content is added to the appropriate place.
But c = popUp(c.pageX, c.pageY, o); must not work out, heh.
 
2:30 AM
That is, the code should still work?
 
are you guys really still mucking with this user script?
 
isn't c the message though?
 
@MarkE As you can see, we have no life
 
or am i think of the wrong code block
 
@rchern c is the event passed in.
 
2:30 AM
@YiJiang honestly....this has been going on every time i stopped into chat
 
@MarkE, the time spent on this now will be well worth the mouse usage it'll eliminate!!
 
I'm not sure what's worse, that I know you guys have been doing this all weekend, or that you've been doing it all weekend
 
i've done other stuff this weekend too >_>
 
@MarkE Ouch, or as @rchern would say, oy.
Hello @PopularDemand
 
i'm just kind of seeing it as a consistent chat, that's all
 
2:32 AM
@YiJiang Hello yourself.
 
didn't mean any harm by it
 
Maybe we should get our own chatroom, and leave the Tavern back to it's original quiet, serene state
 
i was kind of leaning towards that, but then this place would actually be dead
and that'd be sad
=(
 
@YiJiang A little while ago you were going on about code; perhaps move to SO?
(General "you," not you personally.)
 
@PopularDemand Hmm...? What do you mean by that?
 
2:35 AM
@YiJiang I popped in a little while ago and people were discussing code. Possibly jQuery, but I'm not sure. (I've never used jQuery, but its syntax seems pretty distinctive, just from seeing samples here and there on SO and in chat.)
Looks like that's still going on, Mark E's comments aside.
 
@PopularDemand actually my comments are about that specific chatter
 
Seems to me that belongs on SO chat now that SO chat, um, exists.
Not that I care.
 
@PopularDemand Well, half of this conversation is happening in the Javascript room on chat.so
 
@rchern, @YiJiang and @TimStone have been working on a chat userscript, which definitely qualifies as meta
 
The interesting part about that being that it's only the three of us having the chat in both places. We're cool like that. :P
 
2:37 AM
haha
 
@PopularDemand Did you get your Eclipse setup taken care of by the way?
 
calling .click() on an event should have it come from the message and have the event, shouldn't it?
 
nicely done @TimStone
 
@TimStone No, but thanks for asking. I installed the default and haven't played with it more yet.
 
@MarkE ;)
@PopularDemand Ah, alright.
 
2:38 AM
Grad school has to take priority at the moment.
... stupid inscrutable algorithms.
 
Ah, that's probably a good prioritization then, heh. I'm still on the fence about grad school, but right now there's business stuff to worry about, so it's on hold either way.
 
@TimStone Ah. Well, at least you have work.
 
Yeah, I'm satisfied with that for the moment at any rate. :)
 
 
2 hours later…
4:22 AM
Anyone awake?
 
Of course
 
nope, definitely not.
 
Hey @TimStone - Thought you were on holiday?
or was that @TheUnhandledException
?
 
He is, heh. No holidays for me. ;)
 
Poor Tim!
 
4:25 AM
@AidenBell 'Ello there
 
Hello :)
 
i'd go for a vacation! (:
 
I've got a vacation lined up in my head for December...but I should probably line that up in reality too.
 
Yea me too, but between work and the startup ... no luck for Aiden
 
Hey guys
I just put out my next version of Triton
 
4:26 AM
'Ello
 
Hello @Chacha102!
 
Feedback?
ignore the text box on the bottom
That is 'Dev Box', my command line for hacking into my app
 
hmm
 
It doesn't like Firefox, heh.
 
what version
?
 
4:28 AM
Crap, imghost down
 
3.6.10
 
@Chacha102 I get:
'0' :
{
  'id' : '7cafc385-47e2-09fd-9152-c0446dddcc1a',
  'title' : 'Thread Title'
}
and 'new post' doesn't work
;)
 
Oh, I see.
 
New Document first
those are out of order..
 
If I do New Document then New Post it works
Yeah :P
 
4:30 AM
@Chacha102 - It would be good if it were like a local-blog engine, and you could keep blog posts in local storage and push them in different formats ie: push-to-twitter, push-to-facebook
push-to-all
 
Theres an idea
 
sync-with-gmail
 
I actually had a similar app running not too long ago
the idea was you could blog a post somewhere
err
on an install
and then you can push it to any wordpress blog
 
Good thing would be, if I get fedup with Wordpress you could do "Sync to Tumblr account"
or whatever is hip-and-cool these days
 
k, quick update going out to fix the object output
 
4:32 AM
@Chacha102 is it using the HTML5 stuff?
 
Yes
 
cool
 
HTML5 tags and localStorage
if you click on the logo it brings open the list of documents
 
oh n/m >_>
 
I need to get a better button for that..
and once this actually starts running I'll get all the JS cached, minifed and condensed.
right now it has to load like 12 script files and a CSS file
lib.js, jquery.js, json.js, autogrow.js, hotkeys.js, Thread.js, ThreadEncoder.js, ThreadIndex.js, ThreadManager.js, TritonSidebar.js, TritonKUI.js, TritonEditor.js
I don't think there are too many more parts though..
I haven't tried it at all in FF
First I want to make something that works for me, then I'll figure out how to make it convinent for the rest of ya.
 
4:38 AM
@Chacha102 As @rchern would say, oy!
 
>_>
 
@rchern But of course she uses Chrome, so she won't
 
i won't what?
hrm
 
@rchern Say "oy!" because you're annoyed that he hasn't gotten round to support Firefox ;)
 
oy!
 
4:53 AM
................
2
16
Q: Is it possible to cook a whole fish in a dishwasher?

AttilaNYCI heard that there is a way to cook a whole fish in a dishwasher - any techniques, tips??

What the...
 
@TimStone Hahaha... that's one of the top rated questions on Cooking
 
It's by far one of the most bizarre, yet serious and legitimate, questions I've ever seen.
 
@TimStone Other than "How do I know if a corpse is safe to eat"? ;)
 
@YiJiang Heheh :P
 
in The SO Tavern (General) on Stack Overflow Chat, 1 min ago, by Jeff Atwood
wait a second, what are you all doing here? did @rchern reveal the password for chat.stackoverflow.com
 
5:12 AM
@TimStone The answer is yes innit? I mean... I did see it on Red Green, so it must be true
 
Hahah :P
 
in The SO Tavern (General) on Stack Overflow Chat, 16 mins ago, by Jeff Atwood
why did we trust @rchern ? WHY OH GOD WHY
I'm going to start taking pictures from failblog and adding speech bubbles that say that
2
 
@MichaelMrozek Evil, but brilliant.
 
|:
 
5:46 AM
Hello @MichaelMrozek
 
In other news I had to bring up the polling period to 60 seconds
8
Q: Conscientious use of the API

Kevin MontroseWhat constitutes abuse? Making an undue number of requests in a short span of time, or regularly exceeding a request quota during "normal" use. Guidelines for polling We realize that a great many applications will need to regularly make calls to see if some event has occurred on one of the Tri...

> If you're application is making identical requests more than once a minute it is probably going to be considered abusive.
Technically none of my request were identical but...
 
Heh, whoops :P
 
@radp - Crap, that question counter Python script from @MichaelMrozek is still running :P
 
Need to be ready for 2m
 
for more epic fail
im gonna post the same question
just to reassert my point
 
6:56 AM
cools off
Getting heated in there
getting heated in there
 
@AidenBell Should just rename that room "The Great Jeff vs. IRC debate"
 
I just had a small issue with Google indexing. Now it has all kicked off. Thought I better get out before I mentioned question 1m
 
Heh. :P
 
@TimStone - lol :P
 
I've mostly ignored it all in favour of working on this script. ;)
 
7:00 AM
Isn't the SO Tavern IRC-like ATM anyhow lol
 
@AidenBell Yes it is! /kick @AidenBell
 
Crap I just dived in to call someone retarded. Time for breakfast
@TimStone - @rchern is kicking off over in that direction with Jeff
@rchern - Take it easy :P
 
hrmph.
 
@rchern It's OK, I use IRC too. Jeff just isn't one of the cool kids. ;)
 
@rchern @TimStone @YiJiang - im off, had enough for one day! take it easy.
 
7:11 AM
Have a good day @AidenBell, see ya.
 
adios
 
@AidenBell Byeee
 
I'm having a hard time finding it worth tabbing back over to see what's new in that channel right now, heh.
 
@TimStone @rchern Tell me when it's done so I can bookmark it as the "Great IRC Debate"
 
@YiJiang Now with CSS sidebar!
 
7:27 AM
@rchern api limits are per-IP, not per-key
 
gah, that's right.
 
There, I've got the IRC debate wrapped up in a bookmark
 
I'm not sure you can really call that a debate, but.. :P
It's like if I boycotted an airline because of a few loud passengers, heh.
 
@TimStone ;P
 
Just sayin' ;)
@YiJiang Heh, time to go table hunting!
 
7:34 AM
They've moved on to using <table>. After this they should discuss if goto is ever ok, and then maybe which editor is best
Hmm. Yeah, that conversation was fairly ridiculous. I blame @YiJiang for bookmarking it
 
@MichaelMrozek Hehe
 
@MichaelMrozek I was just disappointed it didn't have more jQuery.
 
I get confused on IRC now, I try to star messages and realize I can't
6
 
Hahah, well played @YiJiang
 
8:08 AM
 
 
5 hours later…
1:15 PM
Good Morning
 
@Chacha102 To you as well, if temporally appropriate.
 
oh its morning alright. 6 am in the bloody morning...
 
@Chacha102 What're you doing here?
 
I don't feel like getting out of bed yet...
 
While you are here, be useful and spam-flag the top two, eh?
 
1:19 PM
sure
 
1:47 PM
@PopularDemand which top two? (I assume some may have been removed already.)
also I flagged the entire question for being offtopic
 
@radp Yeah, they've already been blasted. I got that link from an MSO post, so I figure it got a lot of attention quickly.
I dunno about off-topic, he is asking how to do it programmatically.
But I see where you're coming from.
 
2:10 PM
 
2:28 PM
yo
 
@rchern Ah, the venerable "reverse-oy."
 
hahah
 
Open request: anyone know a good place to buy replacement laptop AC adapters?
 
2:44 PM
dunno sorry
 
Man, it's quiet today.
 
aye
 
Is everyone hanging out in SO chat?
 
I think there's a holiday we're not aware of
This is the deadest I've ever seen SO chats
 
3:00 PM
Hello
 
3:16 PM
hi
 
@spoulson Must be.
 
In other news, I learned Direct 3D today. Nifty stuff.
 
@spoulson For a project you have to do, or you just decided to learn something new and tossed a dart at a list of technologies?
 
Decided to learn something new
Had the urge to reinvent some old code of mine from the DOS days.
But the old 16-bit exe didn't want to run in WinXP, so I rewrote it in GDI. Painfully slow. Rewrite it in direct 3d 9 and it's pretty nice.
 
Good times.
 
3:28 PM
Just a little rotozoomer.
In GDI, even with offscreen buffering, was taking ~600ms to update a 400x200 view.
 
3:51 PM
0
A: Timestamps: why not human readable?

kenI'm going to accept my own answer on this, which is going to be as worthless as the entire discussion thus far has been. I can't believe you all are so pedantic and dogmatic that you can't see how absurdly broken that this is. Like they say, "you can't help someone who doesn't want to help themse...

Heh
"I can't read a simple international date format, and therefore no one else can either!"
 
When I saw the title I thought he was referring to a unix timestamp, not one that's completely human-readable. That was odd
 
@MichaelMrozek Everything's UNIX this and Linux that with you.
 

« first day (75 days earlier)      last day (4937 days later) »