Wednesday, June 27, 2018
grimoire@muc.metronome.im
June
Mon Tue Wed Thu Fri Sat Sun
        1
2
3
4 5 6
7
8 9 10
11
12
13
14 15
16
17
18
19 20
21
22
23
24
25
26
27
28 29 30
 
             
Metronome IM "cook" book room | Support and Dev talk about the Metronome XMPP server.

Latest stable version build is: 4.0.3

For more information you can visit: https://metronome.im

Room logs can be found here: https://muc.metronome.im/logs/grimoire/

* Links *
<==========================================================>
- Building & Installation:
https://metronome.im/building
- Documentation:
https://metronome.im/documentation
- Issues Tracker:
https://github.com/maranda/metronome/issues
<==========================================================>

[13:29:17] <Maranda> hmm so https://xmpp.org/extensions/xep-0045.html 6.2 example 4 is wrong too
[13:29:23] <Maranda> no disco#info in there
[13:50:08] <Echo1> maranda committed --
muc.lib: add missing disco#info feature. (see #383)
-> https://github.com/maranda/metronome/commit/81f91bb04b2c5d929db4cd186823f5e0922ed083
[13:57:25] <zinid> Maranda: oh, I made you busy!
[13:58:30] <Maranda> zinid: apparently, but to my excuse half the examples don't have the feature in 'em
[13:58:54] <zinid> Hehe
[13:59:19] <Maranda> zinid: i pointed that out in the xsf room and the answer was they're "excerpts"
[13:59:34] <zinid> Lolwut
[14:00:20] <zinid> For excerpts usually `...` is used
[14:00:27] <Maranda> ...and excerpts my ass because there's no punctuation or whatever
[14:00:43] <Maranda> zinid: yes I pointed that out too
[14:01:09] <Maranda> zinid: answer was "submit a patch if you like"
[14:01:24] <zinid> So you know they are excerpts only by asking dudes in the XSF room
[14:01:53] <zinid> Maranda: sure, submit it, because you have nothing more to do 😁
[14:01:59] <Maranda> Apparently
[14:05:10] <zinid> I actually think that XSF members/council/clowns should have some responsibility for this, I don't think such policy is productive. What if you write no code and on issue/feature request only replies "make a PR"? Very convenient!
[14:05:43] <zinid> Ah, and also bash people submitting PRs
[14:05:59] <zinid> On endless meetings 😂
[14:07:19] <Maranda> I don't really intend posting a PR for that, that's editors work, I'm not one not my role to correct such evident errors
[14:07:35] <zinid> Agreed
[14:07:43] <Maranda> More if you answer with such excuses
[15:56:41] <Maranda> I think that was the last bit of disco info code to sort though
[16:02:51] <zinid> good
[17:07:33] <Maranda> zinid, ejabberd uses some library to generate captcha images?
[17:07:57] <zinid> Maranda, just an imagemagick script
[17:08:14] <zinid> https://github.com/processone/ejabberd/blob/master/tools/captcha.sh
[17:08:28] <zinid> also https://github.com/dotdoom/gd-captcha
[17:08:35] <zinid> both are ejabberd compatible
[17:08:51] <zinid> the latter is just an external binary
[17:09:24] <Maranda> 🤔
[17:10:21] <Maranda> zinid, for now I just use a simple math challenge where I need a captcha but I may implement the captcha xep first or laters
[17:10:43] <Maranda> zinid, I don't want to feed data to google tbh.
[17:11:16] <Maranda> (for reCAPTCHA)
[17:18:43] <Maranda> uhhh traceback
[17:18:45] <Maranda> Jun 27 17:17:24 c2s106cdb0 debug Received[c2s]: <message id='purpled50fd0f7' type='chat' to='asternitix'>
Jun 27 17:17:24 general warn Attempt to read a non-existent global 'host_session'
stack traceback:
/usr/lib/metronome/modules/mod_router.lua:203: in function '?'
/usr/lib/metronome/util/events.lua:67: in function 'fire_event'
/usr/lib/metronome/modules/mod_router.lua:188: in function '?'
/usr/lib/metronome/util/events.lua:67: in function 'fire_event'
/usr/lib/metronome/modules/mod_router.lua:128: in function '?'
/usr/lib/metronome/util/events.lua:67: in function </usr/lib/metronome/util/events.lua:63>
(tail call): ?
[C]: in function 'xpcall'
/usr/lib/metronome/modules/mod_c2s.lua:131: in function 'cb_handlestanza'
/usr/lib/metronome/util/xmppstream.lua:148: in function </usr/lib/metronome/util/xmppstream.lua:135>
[C]: in function 'parse'
/usr/lib/metronome/util/xmppstream.lua:200: in function 'feed'
/usr/lib/metronome/modules/mod_c2s.lua:220: in function 'data'
/usr/lib/metronome/modules/mod_c2s.lua:241: in function 'onincoming'
/usr/lib/metronome/net/server_event.lua:611: in function </usr/lib/metronome/net/server_event.lua:561>
[C]: in function 'loop'
/usr/lib/metronome/net/server_event.lua:767: in function </usr/lib/metronome/net/server_event.lua:766>
[C]: in function 'xpcall'
/usr/lib/metronome/../../bin/metronome:324: in function 'loop'
/usr/lib/metronome/../../bin/metronome:388: in main chunk
[C]: ?

[17:18:56] <zinid> Even if I wanted, I think I cannot use recaptcha because it requires JavaScript engine
[17:18:59] <Maranda> now this is new
[17:19:41] <Maranda> hmm
[17:19:57] <Maranda> zinid, well for web forms I can
[17:20:02] <Maranda> in band then not.
[17:20:15] <zinid> Well yea
[17:20:31] <zinid> I meant captcha XEP
[17:22:00] <Maranda> zinid, the only thing that I need captcha is the spim block form, but previously the spammers needed to just make a POST request with the token, which means about nothing, and yet it took 'em months to adapt, now they'll need to retrieve the form each time and parse it
[17:22:50] <Maranda> which I guess will suffice for a long time
[17:23:25] <Maranda> I don't want to add anything until it's not needed, captchas are annoying for people.
[17:23:38] <Maranda> or challenges in general
[17:35:08] <Echo1> maranda committed --
mod_router: fix traceback.
-> https://github.com/maranda/metronome/commit/1ec310bf5833cdbbca006600cf609ec06ee11a5b
[17:50:08] <Echo1> maranda committed --
mod_router: don't route error, send over session pipe directly.
-> https://github.com/maranda/metronome/commit/4765f098565e079a7df29f33bcfcb3bf6c22a8b1
[20:05:08] <Echo1> maranda committed --
mod_{bosh/c2s}: append stream xml:lang attr to stanzas. (Fixes #385)
-> https://github.com/maranda/metronome/commit/cc71998f10e54e22f294b97d1d999b2e5ddfdac9
[20:15:17] <Maranda> .
[20:20:08] <Echo1> maranda committed --
metronome.release: set version to 3.9.9.
-> https://github.com/maranda/metronome/commit/5503141793e702a66bd97911f8a647a9c88b885b
[20:20:09] <Echo1> maranda committed --
mod_{bosh/c2s}: qualify only routable payloads.
-> https://github.com/maranda/metronome/commit/258b9a36b8133d8762f2fa0fb06f40380b68b837
[20:38:41] <Maranda> @version metronome.im
[20:38:41] <Echo1> Maranda: metronome.im is running Metronome version 3.9.9 on a Neural Network