[00:03:14] *** RichardG has joined #supybot
[00:47:34] *** fossrox_ has joined #supybot
[00:50:33] *** fossrox has quit IRC
[00:55:30] *** ktabic has quit IRC
[01:35:20] *** Exavion has joined #supybot
[01:41:14] *** RichardG has quit IRC
[01:42:50] -gribble- iSpam has quit oftc (Remote host closed the connection)
[01:43:56] *** RichardG has joined #supybot
[01:44:28] -gribble- iSpam (iSpam!~tingle at 187 dot 15.109.123) has joined on oftc
[01:55:25] <ziplock> is there a currency exchange plugin that keeps up with current rates?
[02:04:19] *** WakiMiko has joined #supybot
[02:34:04] *** WakiMiko has quit IRC
[03:06:31] *** Viper has quit IRC
[03:14:23] *** Out`Of`Control has joined #supybot
[03:14:25] *** Out`Of`Control has joined #supybot
[03:15:08] *** Efreak has joined #supybot
[03:34:05] *** lamer12884024102 has joined #supybot
[03:35:31] *** Efreak has quit IRC
[03:50:26] -gribble- tomaw has quit oftc (resistance.oftc.net charon.oftc.net)
[03:50:53] -gribble- iSpam has quit oftc (Read error: Connection reset by peer)
[03:50:56] *** RichardG has quit IRC
[03:51:56] *** RichardG has joined #supybot
[03:57:31] -gribble- iSpam (iSpam!~tingle at 187 dot 15.109.123) has joined on oftc
[04:03:36] -gribble- tomaw (tomaw!tom at tomaw dot netop.oftc.net) has joined on oftc
[04:03:38] -gribble- iSpam has quit oftc (synthon.oftc.net graviton.oftc.net)
[04:03:39] -gribble- stepnem has quit oftc (synthon.oftc.net graviton.oftc.net)
[04:15:38] -gribble- tomaw has quit oftc (larich.oftc.net synthon.oftc.net)
[04:15:39] -gribble- sifu has quit oftc (larich.oftc.net synthon.oftc.net)
[04:15:40] -gribble- jamessan has quit oftc (larich.oftc.net synthon.oftc.net)
[04:41:46] *** Out`Of`Control has quit IRC
[04:43:10] -gribble- iSpam (iSpam!~tingle at 187 dot 15.109.123) has joined on oftc
[04:43:12] -gribble- stepnem (stepnem!~stepnem at 176 dot 119.broadband10.iol.cz) has joined on oftc
[04:43:18] *** Guest46037 has joined #supybot
[04:44:12] -gribble- jamessan (jamessan!~jamessan at 67-207-128-125 dot slicehost.net) has joined on oftc
[04:44:13] -gribble- tomaw (tomaw!tom at tomaw dot netop.oftc.net) has joined on oftc
[04:44:14] -gribble- sifu (sifu!~supybot at 67-207-128-125 dot slicehost.net) has joined on oftc
[04:50:16] *** Guest46037 is now known as Viper
[04:50:46] *** Viper is now known as Guest72265
[04:51:00] *** Guest72265 has quit IRC
[04:51:01] *** Guest72265 has joined #supybot
[04:52:05] *** Guest72265 is now known as Guest46037
[04:52:07] *** Guest46037 is now known as Out`Of`Control
[04:52:45] *** fossrox_ has quit IRC
[05:28:17] *** lamer12884092654 has joined #supybot
[05:28:19] *** lamer12884024102 has quit IRC
[06:36:17] *** Steve57 has joined #supybot
[08:17:16] *** lamer12884092654 has quit IRC
[08:55:05] *** brainproxy has quit IRC
[09:05:06] *** brainproxy has joined #supybot
[09:10:29] *** Exavion has quit IRC
[10:40:29] *** madpinger has quit IRC
[10:50:30] *** ktabic has joined #supybot
[11:03:05] *** gribble has quit IRC
[11:04:45] *** nanotube has quit IRC
[11:09:19] *** nanotube has joined #supybot
[11:12:40] *** gribble has joined #supybot
[12:05:15] <ProgVal> &help doctype
[12:05:15] <gribble> (doctype <url>) -- Returns the DOCTYPE string of <url>. Only HTTP urls are valid, of course.
[12:05:21] <ProgVal> Why only HTTP URLs ?
[12:10:01] <ProgVal> Yeah, all plugins are now localized
[12:10:15] * ProgVal pushes the changes before his computer crashes
[12:33:17] *** Steve57 has quit IRC
[12:37:05] *** WakiMiko has joined #supybot
[12:38:31] *** KenjiE20 has joined #supybot
[13:08:00] *** RichardG has quit IRC
[13:10:22] *** Gallaecio has joined #supybot
[13:13:39] <ProgVal> pluralize() and depluralize() are harder to implement in French :x
[13:16:36] <ProgVal> there are exceptions to the exception to the rule -_-
[13:17:54] *** WakiMiko has quit IRC
[13:19:17] *** RichardG has joined #supybot
[14:08:16] <ProgVal> but ordinal() is easier :)
[14:08:19] <ProgVal> if i == 1:
[14:08:21] <ProgVal> return '1er'
[14:08:23] <ProgVal> else:
[14:08:25] <ProgVal> return '%sème' % i
[14:10:25] *** nanotube has quit IRC
[14:11:52] *** gribble has quit IRC
[14:26:24] <Hoaas> I have a plugin that returns an url to an image and I have another plugin that checks all messages for image urls and if one is found calls a _downloadImage()-thingy. Is it possible to get the plugin that outputs the image to call the same _downloadImage() method if that plugin is loaded?
[14:30:37] <ProgVal> I think yes
[14:30:52] <ProgVal> sys.modules['PLUGIN NAME']._downloadImage()
[14:31:10] <ProgVal> but, calling protected function from another module is not a good code style
[14:32:48] <Hoaas> :|
[14:33:54] <ProgVal> o.O gribble has left
[14:35:36] *** Out`Of`Control has quit IRC
[14:36:08] <Hoaas> Hm, what other things can I do with sys.module[]? :o
[14:36:21] <Hoaas> Or even better, how do I find out? D:
[14:37:08] <ProgVal> sys.modules is a dictionnary with all loaded modules
[14:37:23] <ProgVal> it it provided by Python, and not by Supybot
[14:37:27] *** Awesome`globule has joined #supybot
[14:37:56] <Hoaas> hmk
[14:43:35] *** Tucos has joined #supybot
[14:48:09] *** nanotube has joined #supybot
[14:51:55] *** gribble has joined #supybot
[14:52:39] <Hoaas> sys.modules['ImgGet']._downloadImg() doesn't work. AttributeError: 'module' object has no attribute '_downloadImg'
[14:52:43] <Hoaas> :(
[14:53:09] <ProgVal> try to strip the _
[14:53:19] <ProgVal> in the both files
[14:54:49] <Hoaas> Still no cookie
[14:55:47] <ProgVal> :s
[14:56:50] <ProgVal> eh, you are right, I have so same problem here
[14:57:06] <ProgVal> I don't understand, I was sure it'll work
[15:06:55] <SteelSide> iirc the _ methods are stashed away somewhere in order to make calling them harder
[15:07:12] <SteelSide> just create another method without the _prefix
[15:08:17] <ProgVal> the _ aren't stashed
[15:08:22] <ProgVal> it is the __
[15:08:44] <ProgVal> more over, the function I use doesn't start with _
[15:10:06] <SteelSide> ohright
[15:10:54] <Hoaas> <module 'ImgGet' from '/home/hoaas/.supybot/plugins/ImgGet/__init__.pyc'>
[15:11:02] <Hoaas> Maybe I have to do magic in __init__.py?
[15:11:45] <ProgVal> putting function in __init__.py is not a good code style
[15:11:57] <ProgVal> functions*
[15:12:01] <ProgVal> you should put it in plugin.py
[15:12:04] <ProgVal> @join
[15:12:05] <Awesome`globule> ProgVal: (join <canal> [<clef>]) -- Dit au bot de rejoindre le canal donné. Si la <clef> est donnée, elle est utilisée pour rejoindre le canal.
[15:12:08] <ProgVal> ><
[15:12:15] <ProgVal> @Relay join
[15:13:07] <Hoaas> Well, yes. But it appears as the module ImgGet somehow point to __init__ … or something.
[15:13:12] <Hoaas> This be magic.
[15:14:42] <ProgVal> that is because the sys.modules['foo'] is a reference to the module at plugins/foo/plugin.py
[15:14:50] <ProgVal> that is a (great) Supybot mechanism
[15:17:06] <Hoaas> ಠ_ಠ
[15:17:22] <ProgVal> what ?
[15:17:52] <Hoaas> But, if it is a reference to plugin.py, why can I only access __init__.py though it?
[15:18:16] <ProgVal> er
[15:18:18] <ProgVal> don't know
[15:18:30] <Hoaas> \:D/
[15:18:34] <ProgVal> I am probably wrong
[15:18:51] <Hoaas> Ah well. Guess I can live without this functionality for now.
[15:19:33] <ProgVal> ok, I need it :x
[15:19:44] <ProgVal> but*
[15:19:46] <Hoaas> :D
[15:20:46] <Awesome`globule> <ProgVal@oftc> Awesome`globule will relay while gribble is offline
[15:36:19] *** FusionX has quit IRC
[15:37:08] *** Mazon has quit IRC
[15:38:09] *** Mazon has joined #supybot
[15:53:23] <ProgVal> @config channel plugins.Relay.noticeNonPrivmsgs False
[15:53:24] <Awesome`globule> ProgVal: Opération effectuée avec succès.
[15:53:57] <ProgVal> @config channel plugins.Relay.noticeNonPrivmsgs True
[15:53:58] <Awesome`globule> ProgVal: Opération effectuée avec succès.
[15:54:08] <ProgVal> I'm stupid -_-
[15:54:14] <Hoaas> :(
[15:54:24] -Awesome`globule- ProgVal est parti de oftc (WeeChat 0.3.4-dev)
[16:05:58] *** FusionX has joined #supybot
[17:14:07] *** meGenius has joined #supybot
[17:33:25] *** Exavion has joined #supybot
[17:33:58] *** cedeel has joined #supybot
[17:39:38] -Awesome`globule- ProgVal est arrivé sur oftc
[17:39:47] -Awesome`globule- ProgVal est parti de oftc (WeeChat 0.3.4-dev)
[17:40:39] <ProgVal> &Later tell nanotube gribble is offline on OFTC, so, I use Awesome`globule to do the relay. I hacked the Relay plugin to disable it while gribble is on the both networks, but I didn't test it.
[17:40:40] <gribble> The operation succeeded.
[17:41:16] <XSlicer> ziplock: Currency?
[17:41:34] <ziplock> money... US Dollars to Euros for example
[17:41:44] <XSlicer> Yes
[17:41:50] <XSlicer> The Currency plugin
[17:42:05] <ziplock> but it it updated daily with the transaction rates?
[17:42:13] <XSlicer> Yes
[17:42:19] <XSlicer> XE in that is broken though
[17:42:19] <ziplock> cool, I'll look for it
[17:42:21] <XSlicer> but yahoo works
[17:43:21] <ziplock> is it a plugin itself, or inside another?
[17:44:06] <ziplock> Im using the +gribble supybot and it's not responding to Currency...
[17:55:33] *** meGenius is now known as megenius
[17:57:29] *** fossrox has joined #supybot
[17:57:29] *** fossrox has joined #supybot
[18:07:46] *** Gallaecio has quit IRC
[18:13:25] *** ktabic has quit IRC
[19:25:36] <zangetsu> hi, how concatenate string in alias add ?
[19:27:01] <zangetsu> with spaces after foo%bar
[19:27:09] <zangetsu> ops before:)
[19:27:20] <Awesome`globule> <jamessan@oftc> ~apropos concat
[19:27:22] <Awesome`globule> <sifu@oftc> jamessan: Format concat
[19:27:25] <Awesome`globule> <jamessan@oftc> ~help format concat
[19:27:26] <Awesome`globule> <sifu@oftc> jamessan: (format concat <string 1> <string 2>) -- Concatenates two strings. Do keep in mind that this is *not* the same thing as join "", since if <string 2> contains spaces, they won't be removed by concat.
[19:27:29] <zangetsu> tnx :P
[19:27:32] <zangetsu> i don't know it
[20:01:19] *** |Florian has joined #supybot
[20:31:31] *** fossrox_ has joined #supybot
[20:33:16] *** fossrox has quit IRC
[20:42:51] <|Florian> What is the best way to do periodical tasks in plugins?
[20:52:57] <ProgVal> I remember a schedule function
[20:53:00] <ProgVal> moment
[20:54:27] *** nanotube has quit IRC
[21:00:50] *** nanotube has joined #supybot
[21:09:12] <ProgVal> yeeeaaaaah ! The i18n for the src/utils/str.py works !
[21:09:31] <ProgVal> I spent 3 or 4 hours on it -_-
[21:13:35] <XSlicer> Yahoo works in that
[21:24:14] <ziplock> XSlicer thanks
[21:43:57] *** Awesome`globule has quit IRC
[21:44:20] *** Awesome`globule has joined #supybot
[21:50:09] *** gribble has quit IRC
[21:51:55] *** nanotube has quit IRC
[21:57:30] *** seanthegeek has joined #supybot
[21:58:43] <seanthegeek> I found a bug. If the bot looses connectivity, and then gains it. It does not request op unless it is cycled.
[21:59:40] <seanthegeek> @time
[21:59:53] <seanthegeek> @list
[22:01:35] *** fossrox has joined #supybot
[22:01:35] *** fossrox has joined #supybot
[22:02:10] *** seanthegeek has left #supybot
[22:03:13] *** fossrox_ has quit IRC
[22:08:26] *** nanotube has joined #supybot
[22:09:58] *** Gallaecio has joined #supybot
[22:16:48] *** gribble has joined #supybot
[22:17:44] <|Florian> Error: dateutil.parser,local.dateutil.parser
[22:17:45] <|Florian> ?
[22:43:23] <|Florian> I tried to load Time
[22:45:57] <ProgVal> What are your Python and Supybot versions ?
[23:00:08] <|Florian> Python 2.6.5
[23:00:30] <|Florian> Supybot 0.83.4.1
[23:06:07] <ProgVal> mmh
[23:06:30] <ProgVal> @load Time
[23:15:25] *** horstle has quit IRC
[23:17:23] *** bburhans has quit IRC
[23:17:23] *** bburhans has joined #supybot
[23:17:23] *** bburhans has joined #supybot
[23:32:53] *** fossrox has quit IRC
[23:34:30] *** fossrox has joined #supybot