Lanceswitching to using some form of UUID would eliminate having to deal with converting relative/full paths though
Jefwell, it is certaintly more simple
Jefi like it
Lancehonestly, I would probably even go one further and move the <file /> element into the fis namespace
Lancebut, using the existing one does make sense, since you'll want to do file transfer. so idk
Jefyea, it is better to reuse what we have already
Jefand we don't really need to add or remove anything from the metadata defined in jingle
Lanceright. so that works great as is
Jefare you going to Fosdem?
Lanceyeah. the summit and saturday at fosdem
Jefthat's awesome
LanceI also have: https://gist.github.com/4630085
Lanceto play with doing things with disco
arcrileyhey lance
arcrileyare you a PSF member?
LanceI dont think so
arcrileywould you like to be?
Lancesure
arcrileyperk: special members luncheon at PyCon
arcrileyall current and prospective members can attend
Lancesounds like the XSF perks
arcrileypretty much lol except we dont do voting every quarter
Lanceapplication process?
arcrileyvia nomination, and then you're voted in person at the luncheon
Lanceah, ok
arcrileydo you maintain any python packages beyond Sleek?
LanceNot anymore. There were a few personal ones a while back that have been obsoleted and removed
arcrileyok
LanceI may end up with a whole collection of them if I go with making each sleek plugin a separate package
arcrileyheh
Lancethe independent versioning that way is very tempting
arcrileywell i need to writeup a nomination about things you do in the python community. anything else i can add, like speaking at groups, sprints, etc?
Lanceunfortunately, sleek has been my only involvement in the greater python community so far
Lanceall of the groups and hackathons i've done have been at xsf functions
arcrileyoh will you be staying for the sprints at pycon?
arcriley(thats when the real fun at pycon begins, btw)
Lancemaybe. i still have to review the schedules and what my work schedule allows
arcrileythe weekend is for the suits. they go to these massive talks and rub shoulders with us. then the conference suddenly drops to just developers and the booze and shenanegans start up
LanceJef: I sent a link with some disco pondering, in case you missed it in the chat history
arcrileyso much work gets done during the sprints too
Lancesounds good, I'll try to be there then
arcrileywhen fosdem is over we should start hammering out the poster. 4' x 4' infographic.
Lancenods
arcrileyhey lance, quick "which is more pythonic" opinion
arcrileyright now the class decorator for xslt extensions is nodetree.Stylesheet.extension, eg:
@nodetree.Stylesheet.extension('http://example.com/namespace')
class MyExtension:
arcrileythe reason thats a decorator and not a superclass is the decorator registers the class to the namespace url, which a superclass couldn't do in response to defining the class
arcrileywriting a set of method decorators which "register" methods within it as either function or element extensions, which looks more pythonic:
arcrileythe latter is more verbose and an extra level of namespace, but i think it looks cleaner and i like that the association between class and method decorators is clear
arcrileytho four levels of namespace starts to feel like java
Lancewhat are you extending? ie, what is 'hello'?
arcrileyXSLT. so, eg, "<exam:hello/>" in the XSLT would be replaced with an xml text node "hello, world!"
Lanceok, so that's the xpath for the template
arcrileyactually sorry i confused it, function would be xpath yes, where element would be my example
arcrileythe class decorator Element registers the defined class with libxslt and stores it in Stylesheet.__extensions for later access.
Lancewhat else falls in Extension?
arcrileythat's about it. as a type it needs to hold the uri you're defining long enough to wrap, and then its cleaned up. its just a decorator
Lancei'd just go with @nodetree.Stylesheet.extension
Lanceand just do the appropriate thing if given a function or a class
arcrileyeh?
arcrileythe question is how to name the method decorators
Lanceoh, i think i'm confused from too many converstations
arcrileywithout them, there's no way to know whether a method is for a function or element, or potentially other extension point
Lancedo you have an example of a class with these in use?
arcrileyno because im writing the code right now :-)
arcrileyno prob im talking to a few people about this
Ashleyhas joined
Ashleyhas joined
Jefhas left
Ashleyhas joined
Ashleyhas joined
Neustradamushas joined
Neustradamushas joined
arcrileyhas left
arcrileyhas joined
Neustradamushas joined
Neustradamushas joined
Lancehas joined
Alexhas joined
Alexhas left
Neustradamushas joined
Neustradamushas joined
Neustradamushas joined
Neustradamushas joined
Lancehas left
Lancehas left
Lancehas left
Lancehas left
Lancehas left
Nÿcohas joined
Lancehas joined
ralphmhas left
Kevhas left
Zashhas joined
Kevhas joined
Zashhas left
stpeterhas joined
Ashleyhas joined
Ashleyhas left
Neustradamushas joined
Neustradamushas left
Neustradamushas joined
Ashleyhas joined
Lancehas joined
Ashleyhas left
Alexhas joined
Lancesigh, why do most clients display adhoc command forms in the ugliest ways?
Alexhas left
stpeterLance: good question
stpeterLance: clearly someone needs to develop a sleek new client on top of SleekXMPP ;-)
Lancethere's poezio, but its console only
stpeterthe other thing we could do is complete the voting on a website and use the JIDs for XEP-0070 authorization
Lancedo any clients support that?
stpeterI have not tested it in a long time
Lanceor rather, do browsers support it
Lanceclients only have to display a link
Lanceok, looks like just digest-md5, so they should
Lanceputs xep-0070 on short list of new plugins to add to sleek
stpeteryeah, ultra-secure digest-md5!
Lancewhat I really want in a client is one that displays message forms inline with chats
arcrileyis that actually used by anyone?
Lancethey would if they showed up inline
Lanceit would just make interacting with bots so much nicer. an actual form instead of pseudo-form text commands
arcrileyWWW-Authenticate: Basic realm="xmpp"
Do any browsers actually use that? ^^
Lanceooh
arcrileyclient aside thats the big issue I see
Lancewe'd have to test, but I think they would
arcrileythat'd have to use some javascript hook im not aware of
Lanceoh, basic
Lancei was thinking of the digest one
arcrileyeither
Lancegoes to make a test script
Lancethe realm option is pretty standard though, its just not a domain in this case
Lanceoh, but it would also try asking for a password
arcrileyIIRC when you get a authorization request a dialog opens requesting your username/password.
arcrileyand you would then have to script to return your JID, etc etc
Lanceusername would be your jid, and empty password
Lanceer, no. the password is the transaction id
arcrileyhow would the user have a transaction ID?
Lanceit gets sent to your JID via your xmpp client
Lancecopy/paste
arcrileyis there a javascript hook for that?
Lanceit is certainly not the most user friendly workflow
Lancenot that i'm aware of. it would certainly make it a smoother process
Lancebut it can still be done manually
Lancethis really is a case where cridland's 'browsers need to run xmpp natively' idea shines
arcrileyi agree with that.
arcrileyits a chicken and egg problem tho.
Lancechrome already does it for syncing apparently; it would be nice if it was just more exposed and configurable
arcrileythe big problem that needs to be worked out is the javascript security model for it. how to keep malicious websites from sending xmpp spam on your behalf, stealing your contact data, etc while also providing enough functionality to be genuinely useful
Lanceright
bearcouldn't the transationid/password dealio be handled like oauth tokens
bearthat way the owner of the jid could revoke an apps use of their xmpp stream
bearand have it tied directly to a resource part of the jid