Logs for jdev
[05:02:28] * johnny left the chat.
[05:19:02] * Treebilou joined the chat.
[05:19:11] * Zash joined the chat.
[05:23:46] * niekie left the chat.
[05:24:18] * niekie joined the chat.
[05:36:12] * Zash left the chat.
[06:01:56] * Zash joined the chat.
[06:04:27] * mlundblad_laptop joined the chat.
[06:17:45] * Asterix left the chat.
[06:17:53] * Asterix joined the chat.
[06:17:57] * Asterix left the chat.
[06:22:52] * Asterix joined the chat.
[06:35:23] * mlundblad_laptop left the chat.
[06:45:14] * mlundblad_laptop joined the chat.
[06:52:38] * johnny joined the chat.
[07:11:29] * Guus joined the chat.
[07:12:38] * luca tagliaferri joined the chat.
[07:31:25] * jprieur joined the chat.
[07:31:36] * jprieur left the chat.
[07:34:24] * Ludovic joined the chat.
[07:39:00] * Ludovic left the chat.
[07:47:23] * Treebilou left the chat.
[07:55:22] * luca tagliaferri left the chat.
[08:00:27] * luca tagliaferri joined the chat.
[08:02:16] * ermine joined the chat.
[08:06:14] * smoku joined the chat.
[08:06:52] * Zash_ joined the chat.
[08:12:54] * nabatt joined the chat.
[08:13:51] * Zash_ left the chat.
[08:25:34] * petermount joined the chat.
[08:33:19] * Treebilou joined the chat.
[08:33:54] * Treebilou left the chat.
[08:35:11] * Treebilou joined the chat.
[08:53:17] * Tobias joined the chat.
[09:09:24] * Guus left the chat.
[09:10:51] * dwd left the chat.
[09:10:52] * dwd joined the chat.
[09:11:25] * dwd left the chat.
[09:11:29] * dwd joined the chat.
[09:19:09] <Gu1> about jingle s5b, the "sid" attribute is not explained in the xep, and i'm not sure i understand its use
[09:19:09] * jkhii left the chat.
[09:22:21] <dwd> Yeah, that spec does seem to be Jingle By Example, doesn't it?
[09:37:00] <Gu1> yes. but it's still experimental...
[09:37:00] * Gu1 left the chat.
[09:37:00] * Gu1 joined the chat.
[09:38:03] * alkino joined the chat.
[09:49:57] * Alex joined the chat.
[09:50:26] * smoku left the chat.
[09:50:31] * smoku joined the chat.
[09:52:32] * Alex left the chat.
[10:13:36] * Link Mauve joined the chat.
[10:38:21] * Guus joined the chat.
[11:09:25] * Treebilou left the chat.
[11:28:36] * niekie left the chat.
[11:29:21] * bear joined the chat.
[11:35:57] * Gu1 left the chat.
[12:04:07] * niekie joined the chat.
[12:09:15] * louiz left the chat.
[12:09:32] * louiz joined the chat.
[12:11:23] * louiz left the chat.
[12:12:18] * louiz joined the chat.
[12:17:56] * Neustradamus left the chat.
[12:26:06] * MattJ joined the chat.
[13:05:12] * louiz left the chat.
[13:05:29] * louiz joined the chat.
[13:22:19] * niekie left the chat.
[13:31:33] * Link Mauve left the chat.
[13:36:48] * Link Mauve joined the chat.
[13:59:29] * Lance Stout joined the chat.
[13:59:29] * Lance Stout left the chat.
[13:59:31] * Lance Stout joined the chat.
[13:59:31] * Lance Stout left the chat.
[13:59:34] * Lance Stout joined the chat.
[13:59:34] * Lance Stout left the chat.
[14:00:32] * Lance Stout joined the chat.
[14:00:44] * Lance Stout left the chat.
[14:09:44] * jprieur joined the chat.
[14:10:43] * jprieur left the chat.
[14:25:05] * dmex joined the chat.
[14:36:27] * mlundblad_laptop left the chat.
[14:48:14] * Neustradamus joined the chat.
[14:48:21] * dmex left the chat.
[14:52:24] * tofu left the chat.
[15:03:51] * hawke joined the chat.
[15:07:33] * smoku left the chat.
[15:08:27] * nabatt left the chat.
[15:33:33] * tofu joined the chat.
[16:01:28] * Guus left the chat.
[16:10:23] * louiz left the chat.
[16:10:27] * louiz joined the chat.
[16:32:20] * Link Mauve left the chat.
[16:32:44] * Link Mauve joined the chat.
[16:34:49] * hawke left the chat.
[16:35:31] * hawke joined the chat.
[16:44:09] * tofu left the chat.
[16:45:10] * louiz left the chat.
[16:45:17] * louiz joined the chat.
[16:49:49] * jkhii joined the chat.
[16:56:07] * luca tagliaferri left the chat.
[16:58:16] * petermount left the chat.
[17:10:58] * Zash left the chat.
[17:12:01] * Link Mauve left the chat.
[17:12:07] * Link Mauve joined the chat.
[17:17:15] * evilotto joined the chat.
[17:19:06] * Link Mauve left the chat.
[17:23:28] * Link Mauve joined the chat.
[17:24:17] * bjc joined the chat.
[17:32:07] * Will joined the chat.
[17:32:17] * Will left the chat.
[17:42:02] * steve-e joined the chat.
[18:03:09] * Alex_G joined the chat.
[18:03:29] * Alex_G left the chat.
[18:03:33] * Alex_G joined the chat.
[18:03:46] * Alex_G left the chat.
[18:05:30] * Florob joined the chat.
[18:09:15] * zanchin left the chat.
[18:18:53] * hawke left the chat.
[18:19:39] * hawke joined the chat.
[18:24:47] * Zash joined the chat.
[18:30:57] * mlundblad joined the chat.
[18:44:04] * zanchin joined the chat.
[18:44:23] * tofu joined the chat.
[18:49:01] * mlundblad left the chat.
[18:49:32] * mlundblad joined the chat.
[19:16:35] * Treebilou joined the chat.
[19:17:25] * justin joined the chat.
[19:18:24] <justin> is there a more up to date app than the perl sendxmpp?
[19:19:09] <Tobias> justin: maybe MattJ's clix
[19:19:54] <Tobias> justin: http://code.matthewwild.co.uk/clix
[19:20:17] <MattJ> I did indeed write it because I was getting too frustrated by sendxmpp
[19:21:04] <Tobias> it's lua though and not some intuitive easy to read perl
[19:21:07] <Tobias> ;)
[19:21:11] <MattJ> :P
[19:21:44] <MattJ> It is however lacking a release and packaging, so it's not as easy to install as I would like
[19:22:07] <MattJ> not that it's hard if you have the dependencies
[19:22:07] <Tobias> yup..that's what i wanted to add..that deployment might not be as easy currently
[19:22:26] <justin> well i'll prefer function over ease of install. so what do i do? :)
[19:22:51] <MattJ> I told someone how to do it this evening and it worked for them, so we can give it a shot
[19:22:55] <MattJ> What platform are you on?
[19:23:00] <justin> ubuntu
[19:23:07] <MattJ> Perfect :)
[19:24:04] <MattJ> sudo apt-get install liblua5.1-socket2 liblua5.1-expat0 liblua5.1-sec1 lua
[19:24:26] <MattJ> Oh, and mercurial if you don't have it already
[19:25:25] <justin> err oops actually this is debian
[19:25:49] <justin> no liblua5.1-sec1
[19:25:56] <MattJ> Ah, ok...
[19:26:00] <MattJ> Is there a -sec0?
[19:26:11] <justin> nope
[19:26:19] <MattJ> Do you need encryption? :)
[19:26:24] <justin> nope
[19:26:30] <MattJ> Then forget it for now
[19:26:47] <justin> Package lua is a virtual package provided by:
lua50 5.0.3-3
lua40 4.0-13
You should explicitly select one to install.
[19:26:55] <MattJ> There's another Debian repository you can grab it from (packages.prosody.im) if you do need it later
[19:27:07] <MattJ> Oh ouch, really ouch... which version of Debian is this?
[19:27:33] <justin> lenny 5.0.5
[19:28:12] <MattJ> Ok, hold a second
[19:28:34] <MattJ> Grr, it's lua5.1
[19:28:45] <MattJ> How intuitive :)
[19:29:20] <justin> done
[19:29:32] <MattJ> Excellent. Did you install mercurial too?
[19:34:17] <justin> yes
[19:34:58] <MattJ> Ok... the easiest way to build most of my projects is using a tool called squish
[19:35:12] <MattJ> so make a directory to work in, and hg clone http://code.matthewwild.co.uk/squish
[19:35:35] <MattJ> then cd squish; make && sudo make install (or copy ./squish to somewhere in your path)
[19:36:32] <justin> done
[19:36:54] <MattJ> cd ..; hg clone http://code.matthewwild.co.uk/verse
[19:37:00] <MattJ> This is the XMPP library clix uses
[19:37:28] <MattJ> don't do anything with it just yet, but clone clix: hg clone http://code.matthewwild.co.uk/clix
[19:37:48] <justin> ok
[19:37:54] <MattJ> cd clix; squish --use-http ../verse
[19:38:16] <MattJ> This builds verse, and fetches some Lua libraries it needs from the prosody.im repo (the project that started all this...)
[19:38:30] <MattJ> and produces verse.lua in the current directory
[19:38:36] <justin> yup
[19:39:00] <MattJ> then squish clix itself: squish --with-verse=./verse.lua
[19:39:28] <MattJ> chmod +x clix.bin, and move it to /usr/bin/local/clix or somewhere convenient
[19:39:37] <MattJ> No fancy make install yet :)
[19:40:22] <MattJ> and with any luck, it "just works"
[19:40:50] <MattJ> it should give some help when you run it if I recall
[19:41:10] <justin> first feature request: ability to specify account params on the command line
[19:42:27] <MattJ> Hmm
[19:42:54] <justin> there are way too many jids that may need to use this
[19:43:19] <MattJ> Ok, fair enough :)
[19:44:31] <MattJ> It looks like it should be easy enough if you don't need to specify anything else other than the JID, otherwise it may get
messy to handle
[19:44:47] <MattJ> Actually, I might have an idea
[19:45:19] * justin left the chat.
[19:46:04] * justin joined the chat.
[19:46:59] <justin> testing now via config file at least
[19:47:11] <justin> is there a way to specify the connect host?
[19:48:24] <MattJ> Yes, 'address' option for the account in the config
[19:49:16] <justin> address=localhost, for example?
[19:50:08] <MattJ> Correct
[19:50:20] <justin> got better results with that, but no message sent
[19:51:09] <justin> 1 send
2 --to=user@example.com/resource
3 test
warn SSL libary (LuaSec) not loaded, so TLS not available
clix: connected as me@example.com/tigase-1
[19:51:40] <MattJ> Hmm, I thought I removed that debugging output :)
[19:51:48] <MattJ> So it's connected, but no message?
[19:52:09] <justin> right. just the connected output, then immediately the unix prompt
[19:52:17] <justin> and no message at the receiver
[19:54:39] <MattJ> Seems to work for me, perhaps it's an issue with Tigase, with which I haven't tested :/
[19:57:35] <MattJ> !version im.flosoft.biz
[20:10:35] * Zash left the chat.
[20:12:08] <MattJ> justin, confirmed that it doesn't send the message on a Tigase server, investigating
[20:13:31] <Tobias> MattJ: you need a pseudo XML serializer to match a pseudo XML parser ;)
[20:13:43] <MattJ> It would not surprise me in the least :)
[20:13:47] * hawke left the chat.
[20:13:50] * hawke joined the chat.
[20:13:56] <MattJ> It's not a pseudo XML parser, it's an "XMPP parser", mind
[20:14:28] <Tobias> can't be an XMPP parser if it fails on some valid XMPP :)
[20:14:46] <MattJ> I highly doubt it's failing to parse something :)
[20:15:23] <MattJ> Well clix sends the message... it just doesn't reach the recipient...
[20:15:27] <MattJ> Strange
[20:16:57] <Tobias> maybe it's waiting in /dev/null for tigase to pick up
[20:19:40] <MattJ> Oh my
[20:19:47] <MattJ> It could be more interesting than that :P
[20:22:36] * Zash joined the chat.
[20:23:03] <MattJ> Yep, it seems that if a stanza is immediately followed by </stream:stream> then Tigase just drops it
[20:23:13] <MattJ> and closes the stream
[20:24:54] <MattJ> I really don't know how I can work around it
[20:25:03] <bear> I have a friend who knows his way around java and has looked into Tigase questions for me - if you need someone to see what
Tigase is doing on the inside
[20:27:24] <justin> maybe i can use iq
[20:27:52] <justin> is there a way to do an iq request and wait for reply?
[20:28:18] <MattJ> justin, using "raw" you could
[20:28:34] <MattJ> Then sending a message with "raw" might work too if you add a delay
[20:28:57] <Kev> MattJ: Well, what I've done in the past to deal with such things is very simple.
[20:29:07] <justin> how does raw work?
[20:29:13] <MattJ> justin, send/receive raw XML
[20:29:17] <Kev> Rhymes with 'sleep'.
[20:29:20] <MattJ> Kev, write a new XMPP server \o/
[20:29:23] <justin> it just hangs open forever?
[20:29:44] <MattJ> justin, yes, with --interactive (actually --interactive should work with 'send' too)
[20:31:32] <justin> hmm, that will require more scripting then
[20:32:07] <MattJ> I could alternatively try a quick hack in clix
[20:32:18] <MattJ> which may or may not work, depending on the nature of Tigase's bug
[20:32:28] <MattJ> Give me a second
[20:32:47] <justin> while you're at it, allow send as any jid :)
[20:32:52] <MattJ> :)
[20:33:22] * Tobias left the chat.
[20:35:34] <MattJ> Ok, hack seems to work
[20:35:49] <MattJ> Oh, with strange side-effects, hold on :)
[20:38:27] <MattJ> sigh
[20:38:40] <MattJ> now it works "sometimes", which is entirely as expected
[20:38:55] <MattJ> so the only thing left is to pick a random "delay" and hope that it will be enough
[20:39:36] <justin> terrible
[20:40:34] * Tobias joined the chat.
[20:45:35] <MattJ> mlundblad, around?
[20:45:58] <mlundblad> yep
[20:46:42] <MattJ> Did you implement the Jingle SOCKS5 transport?
[20:46:51] <mlundblad> yeah
[20:46:59] <Asterix> ha cool :)
[20:47:09] <MattJ> What sid do you use to calculate the hash to auth with the proxy?
[20:47:29] <Asterix> there is one in <jingle> element, and one in <transport> element
[20:47:46] <mlundblad> the one in the session (if I remember correctly)
[20:47:50] <mlundblad> I'll check
[20:53:34] * ermine left the chat.
[21:07:44] * hawke left the chat.
[21:08:28] * smoku joined the chat.
[21:19:44] <Asterix> mlundblad: could you pm me when you have the answer please?
[21:20:31] <mlundblad> sure
[21:21:02] <Asterix> thanks
[21:21:33] * hawke joined the chat.
[21:33:22] <MattJ> mlundblad, thanks for the ML post
[21:33:46] <mlundblad> yeah, this needs clarification
[21:33:52] <MattJ> +1
[21:34:07] <mlundblad> I think the attribute should be required (and used for the hash)
[21:34:16] <mlundblad> I think this makes most sense...
[21:34:34] <MattJ> Agreed, that's how I implemented it
[21:37:17] <Florob> Umm... Is a dataform boolean supposed to be false/true or 0/1 or either?
[21:38:41] <Florob> ah, nvm. It is in mentioned in Appendix G
[21:48:05] * Link Mauve left the chat.
[21:52:15] <MattJ> justin, I've pushed a workaround for clix, you can "hg pull -u" in the clix directory to get the new code, and re-squish to
generate clix.bin again
[21:52:32] * mlundblad left the chat.
[21:59:32] * Zash left the chat.
[21:59:54] * tofu left the chat.
[21:59:55] * tofu joined the chat.
[22:07:37] <MattJ> Forgot to say, it adds a --close-delay=SECONDS option, 1 should probably suffice, but higher values will make more sure :)
[22:08:41] <justin> excellent and sad :)
[22:08:55] <MattJ> Quite :)
[22:24:40] * Zash joined the chat.
[22:30:33] * bjc left the chat.
[22:33:59] * jkhii left the chat.
[22:40:19] * Tobias left the chat.
[22:41:08] * Tobias joined the chat.
[22:41:13] * niekie joined the chat.
[22:45:05] * smoku left the chat.
[23:13:46] * Tobias left the chat.
[23:43:36] * Zash left the chat.
[23:47:01] * alkino left the chat.
[23:50:25] * hawke left the chat.
[00:04:49] * steve-e left the chat.
[00:33:43] * dbanes joined the chat.
[00:34:33] * Treebilou left the chat.
[00:34:36] * Treebilou joined the chat.
[00:45:53] * Florob left the chat.
[00:53:53] * MattJ left the chat.
[00:59:36] * evilotto left the chat.
[01:06:26] * dbanes left the chat.
[01:47:04] * fantasticsid joined the chat.
[02:13:47] * jkhii joined the chat.
[02:16:15] * Treebilou left the chat.
[02:39:28] * fantasticsid left the chat.
[03:49:54] * nabatt joined the chat.
[04:05:38] * evilotto joined the chat.
[04:50:20] * jkhii left the chat.