« first day (55 days earlier)      last day (683 days later) » 

6:19 PM
Cleaning up XMPP code now, preparing for first commit
 
 
3 hours later…
9:06 PM
Best XMPP comment of the day:
  # I'm not sure exactly what this does, it was in the example and it's necessary.
  # Don't mess with it unless you understand this project better than I do.
  def handle_iq(iq)
    puts "iq: from #{iq.from} type #{iq.type} to #{iq.to}: #{iq.queryns}"
  # I understand this even less well than handle_iq. Again, I know things break
  # horribly without it. Again, don't mess with it unless you understand XMPP or
  # you want this project to fail.
  def handle_disco_info(iq)
    if iq.type != :get
 
@rchern and @RogerPate: First commit coming momenratilly
 
9:28 PM
...test...
The very first version of SOXMPP has been committed to subversion. Anyone can check it out from https://svn.smart-safe-secure.com/soxmpp/trunk. It's very basic: there's no write support, it's probably very buggy, and only this room and The Tavern work. But, it's a working proof of concept
2
 
And it shows I'm not as much of a slacker as @rchern thought!
 
Hey. (Or was that directed to your sockpuppet? :p)
 
@çağdaş LOL. Was directed to you :-)
I've grown bored of talking to my sockpuppet
 
HEY!
Don't be mean!
 
9:40 PM
@JoshsSocks Quiet
 
:D
 
@çağdaş Did you happen to see the first release announcement or did you just wander by coincidentally?
Well, I use the term "release" very loosely :-)
 
Well, I saw this room was active and wanted to check.
 
You're just in time
Well, sort of. I'm having trouble making SVN world readable
but I just committed working code
 
Can we browse the source on the web? Or do we have to checkout. I don't know much about ruby but I'd like to understand more about how this chat works.
 
9:45 PM
I'm trying to make it so that you can browse the source on the web
 
@çağdaş You can browse from Trac: trac.digitalfruition.com/soxmpp/browser/trunk
 
Thanks. Maybe you should put that link into the room description.
 
@çağdaş It's starred at the right, but that's a good idea
Sep 11 at 17:39, by The Unhandled Exception
 
Ah, ok.
 
I'll add it to the room description as soon as I make svn readable :-)
Feel free to ask me about how it works. This has been one of the most fun projects I've done in a long time
 
9:52 PM
Well, actually, what I'm wondering is how they handle the events on the server. Like ; Do they just keep a big list of all the events? Though I know that's not something you need to figure out for this project.
 
I think they do
What I do is poll /events
which returns a JSON feed of events for each room, and for each room, gives me a value, t.
I then pass that t value back on my next poll, and i get all events since the prior poll
 
Hmm... I didn't know what t was about. There's also a sync value every now and then.
 
I figured that out using Firebug, with help from @rchern and @balpha
Yeah, I'm not sure what sync does. I do think that since (which sometimes appears) is unused
 
This is what they do on the client side : if (c.sync) SERVER_TIME_OFFSET = c.sync - (new Date).getTime() / 1E3;
 
9:58 PM
And `SERVER_TIME_OFFSET` is used in a function called `now()` :
`return (new Date).getTime() / 1E3 + SERVER_TIME_OFFSET`
Maybe your client should also take a similar approach to "sync things". But it's hard to figure out what's really happening there.
 
I'm sure my client has a lot of bugs right now :-)
If you figure out any information or improvements please feel free to share! :-D
 
I will :)
 
10:17 PM
OK, I think code can be checked out now
 
10:29 PM
@çağdaş You can now browse the source directly from SVN
Thanks to @Zoredache over at SF chat
 
10:54 PM
what the heck
you're back from vacation and working already @TheUnhandledException
FAIL.
:p
 
@TheUnhandledException Thanks. Though the web interface is good enough to just read the source.
 
@Sathya LOL. Sure am
How are you @Sathya?
@çağdaş Yeah I far, far prefer Trac's interface
 
11:10 PM
@TheUnhandledException I'm good, thanks!
 

« first day (55 days earlier)      last day (683 days later) »