2007-12-02T00:08:09  * dreimark comments on 82
2007-12-02T01:59:41  <ThomasWaldmann> 2007-12-02 01:59:20,169 INFO Timing  6830 0.017s   -B show       moinmo.in/MoinMoinChat/Logs/moin-dev/1997-04-21
2007-12-02T01:59:48  <ThomasWaldmann> wtf!
2007-12-02T02:25:49  <veerz> moin is that old?!
2007-12-02T02:26:09  <ThomasWaldmann> no
2007-12-02T02:28:25  <veerz> good night :)
2007-12-02T02:28:43  <ThomasWaldmann> gn
2007-12-02T08:50:45  <ninnnu> http://code.google.com/p/google-highly-open-participation-moinmoin/issues/detail?id=59&q=label:Code&colspec=ID%20Status%20ClaimedBy%20Summary | Does this mean only the registered users or also the visitors?
2007-12-02T09:40:13  <vpv> I would think it means all users, visitors as well, but I'm not the one who wrote that ;)
2007-12-02T09:59:23  <starshine_away> .o( do people off one IP address count as one user?  do three logins from same login-name from multiple browsers count as different users?
2007-12-02T10:03:00  <ninnnu> I think that one login-name = one user, always...
2007-12-02T10:04:40  <dreimark> one login name is one user
2007-12-02T10:04:55  <dreimark> and you can use it from several browsers
2007-12-02T10:05:10  <dreimark> at the same time or different ip-adresses
2007-12-02T10:18:08  <xorAxAx> ninnnu: only registered ones, because visitors dont have any profile i think
2007-12-02T10:19:41  <ninnnu> xorAxAx: But in theory visiotrs (...everyone) could be got from logs... And what about those ones who uses "browser default"?
2007-12-02T10:21:57  <xorAxAx> ninnnu: yes, because that are most users, that makes the statistics a bit usable. if you like, you could log the browser default into some kind of file and use it in the statistics as well
2007-12-02T10:34:24  <cb22> ok, looks like i finally have a working patch for the caching :) still needs a bit of cleanup though
2007-12-02T10:55:13  <xorAxAx>  the screencast is working fine for me
2007-12-02T10:59:36  <xorAxAx> ThomasWaldmann: can i upload the screencast to moinmo.in?
2007-12-02T11:24:07  <dreimark> xorAxAx: how large is it?
2007-12-02T11:25:13  <xorAxAx> 86 MB
2007-12-02T11:27:08  * xorAxAx uploads it to his machine
2007-12-02T11:27:10  <dreimark> thats large for 7mins, can you check if it could compress it using another codec
2007-12-02T11:27:51  <xorAxAx> it has a pretty high resolution
2007-12-02T11:28:19  <dreimark> with taht size the MM side gets an extending load
2007-12-02T11:28:28  <dreimark> s/taht/that/
2007-12-02T11:32:09  * dreimark comment on 74
2007-12-02T11:55:38  <ThomasWaldmann> xorAxAx: how about youtube/google video?
2007-12-02T11:55:53  <ThomasWaldmann> (we have to pay per GB)
2007-12-02T11:56:01  <xorAxAx> ThomasWaldmann: its already uploaded to my site
2007-12-02T11:56:06  <xorAxAx> and linked from the ticket
2007-12-02T11:56:36  <ThomasWaldmann> is it still that strange format?
2007-12-02T11:57:04  <cb22> mkv?
2007-12-02T11:57:33  <dreimark> currently I download it and I think I do convert it to an other format (if it makes the filesize smaller)
2007-12-02T11:57:57  <ThomasWaldmann> cb22: yes
2007-12-02T11:58:14  <cb22> ThomasWaldmann: afaik mplayer should handle it fine
2007-12-02T11:58:51  <ThomasWaldmann> totem just died when trying it
2007-12-02T11:59:48  * cb22 downloads the screencast
2007-12-02T12:00:53  <dreimark> my mplayer plays only sound
2007-12-02T12:01:04  <xorAxAx> ThomasWaldmann: i asked you a question in the ticket regarding your setup
2007-12-02T12:01:08  <xorAxAx> totem is just  a frontend
2007-12-02T12:01:33  <xorAxAx> mkv is matroshka, pretty common open container
2007-12-02T12:01:34  <cb22> and vlc?
2007-12-02T12:01:40  <xorAxAx> successor of vorbis
2007-12-02T12:01:48  <xorAxAx> umm, ohh
2007-12-02T12:01:49  <xorAxAx> ogg
2007-12-02T12:01:52  <cb22> s/vorbis/ogg/?
2007-12-02T12:02:15  <dreimark> vlc only sound too
2007-12-02T12:03:00  <cb22> ah
2007-12-02T12:03:06  <cb22> it is using theora as a video codec
2007-12-02T12:03:13  <xorAxAx> then you dont have theora, yes
2007-12-02T12:03:19  <xorAxAx> which is an open source codec
2007-12-02T12:03:48  <dreimark> recogn. too
2007-12-02T12:04:28  <cb22> hmm
2007-12-02T12:04:37  <cb22> my mplayer has theora support compiled in but it cannot play it
2007-12-02T12:04:41  <cb22> however ffplay works fine
2007-12-02T12:05:39  <xorAxAx> mine uses ffmpeg for the theora stream
2007-12-02T12:06:08  <ThomasWaldmann> libtheora0 0.0.0alpha7.dfsg-2 < how impressive :|
2007-12-02T12:06:25  <cb22> hehe
2007-12-02T12:06:36  <cb22> maybe it would be a good idea to transcode it to h264
2007-12-02T12:06:53  <xorAxAx> google video doesnt accept it
2007-12-02T12:07:27  <xorAxAx> cb22: yes, makes sense
2007-12-02T12:07:37  <dreimark> can you do that
2007-12-02T12:07:47  <dreimark> have to leave bb ~ 3h
2007-12-02T12:18:38  <ThomasWaldmann> mplayer only gives sound
2007-12-02T12:19:22  * ThomasWaldmann suggests to recode that thing to something that "just works" on most machines
2007-12-02T12:22:03  <cb22> 'just works' would probably be xvid with mp3 audio
2007-12-02T12:23:41  <xorAxAx> does google video understand xvid?
2007-12-02T12:24:29  <dreimark> ThomasWaldmann: just an idea about nesting
2007-12-02T12:24:55  <cb22> xorAxAx: afaik it should
2007-12-02T12:25:54  <dreimark> we can parse everything again what its in parser_lines after we have escaped inner {{{ to { { {
2007-12-02T12:26:22  <dreimark> or similiar
2007-12-02T12:27:05  <dreimark> just wanted to tell that
2007-12-02T12:47:11  <ThomasWaldmann> if we knew what's inner vs. outer, we would not have a problem :D
2007-12-02T12:54:41  * ninnnu claims task 59
2007-12-02T12:59:32  <cb22> 23% of  355 kB  927  Bps 05m00s
2007-12-02T12:59:38  <cb22> :/
2007-12-02T13:01:33  <cb22> ok, my patch for #41 is up
2007-12-02T13:13:17  * ThomasWaldmann looks at it
2007-12-02T13:21:46  <ThomasWaldmann>              _name2id = cache.content()
2007-12-02T13:21:47  <ThomasWaldmann> +            _name2id_mtime = 0
2007-12-02T13:21:54  <ThomasWaldmann>  why 0?
2007-12-02T13:23:32  <cb22> because the mtime could never be 0, ie, invalidate it
2007-12-02T13:24:06  <ThomasWaldmann> further, if you have to create a CacheEntry object in all cases, you should move it to the beginning of the function/method
2007-12-02T13:24:26  <ThomasWaldmann> if you loaded from the cache, shouldnt it be cache.mtime()?
2007-12-02T13:25:37  <cb22> ThomasWaldmann, hmm, yes there it should be
2007-12-02T13:25:40  <ThomasWaldmann> same for arena/key attrs
2007-12-02T13:26:16  * cb22 fixes
2007-12-02T13:26:41  <ThomasWaldmann> you call cache.mtime() twice to get the same value
2007-12-02T13:27:33  <ThomasWaldmann> it could even lead to wrong result in case of a race condition
2007-12-02T13:30:49  <ThomasWaldmann> and please follow pep8
2007-12-02T13:35:35  <rafael> macro formatting changed in v1.6, right? how can i easily develop a macro now? desktop edition is in most recent version only v1.5.5
2007-12-02T13:35:51  <ThomasWaldmann> cb22: why that utime call?
2007-12-02T13:36:29  <ThomasWaldmann> cb22: why do you write {} to the cache (there is c.remove())
2007-12-02T13:37:27  <ThomasWaldmann> rafael: that is a change of the wiki parser and not of how macros are implemented
2007-12-02T13:38:10  <rafael> ok, so i can use it..
2007-12-02T13:38:25  <ThomasWaldmann> (but better test it on both :)
2007-12-02T13:59:04  <cb22> ThomasWaldmann: the reason for the utime call is one i still need to find a better way of solving
2007-12-02T13:59:29  <cb22> mtime is only .00
2007-12-02T13:59:51  <cb22> and on small userlists, it could update it quicker then that
2007-12-02T14:01:02  <ThomasWaldmann> +                    os.utime(fname,None)
2007-12-02T14:01:05  <ThomasWaldmann> i mean this
2007-12-02T14:01:33  <ThomasWaldmann> looks like a touch for me (and there is a blank missing)
2007-12-02T14:09:45  * ThomasWaldmann brb
2007-12-02T14:10:22  <veerz> good morning everyone :)
2007-12-02T14:16:38  <blinx> moin
2007-12-02T14:25:10  <ThomasWaldmann> moin
2007-12-02T15:01:12  <rafael> how can i upload an attachment in a macro?
2007-12-02T15:07:43  <ThomasWaldmann> rafael: for what do you need that?
2007-12-02T15:10:25  <rafael> ThomasWaldmann: for the vcard/hcard support - i want to make [[hcard(file)]] (given in user homepage) and it gets uploaded.. now in the homepage [[vcard()]] should present a link to UserName/hcard
2007-12-02T15:10:30  <rafael> that's my idea..
2007-12-02T15:11:21  <ThomasWaldmann> not sure that is the best/easiest method
2007-12-02T15:12:37  <ThomasWaldmann> rafael: maybe you could do some experiments on 1.6 and some already supported file type (like .py)
2007-12-02T15:13:23  <ThomasWaldmann> i guess {{attachment:test.py}} will show it with the right parser. if there is no test.py yet, you should be able to upload it.
2007-12-02T15:13:55  <rafael> ThomasWaldmann: hm, and what if i modify the editor that it has an extra field if a homepage gets edited.. there you can insert your vcard/hcard
2007-12-02T15:15:20  <ThomasWaldmann> no way
2007-12-02T15:16:21  <ThomasWaldmann> (that's just too exotic to justify a editor change. and if you look at the current editor code, you maybe don't want to hack that anyway... :)
2007-12-02T15:18:52  <rafael> ThomasWaldmann: ok - to the 1.6 experiment.. i'll make a macro that takes as argument the source. but this argument could be {{attachment:myfile}} in 1.6?
2007-12-02T15:19:36  <ThomasWaldmann> no
2007-12-02T15:19:44  <ThomasWaldmann> wait
2007-12-02T15:22:46  <ThomasWaldmann> rafael: http://moinmo.in/WikiSandBox (see the small python src view at the top of the page)
2007-12-02T15:24:12  <ThomasWaldmann> {{ }} means "transclude / embed / show here" - like [[ ]] means "link there" (in 1.6)
2007-12-02T15:24:54  <ThomasWaldmann> attachment: makes it access an attachment (usually attached to same page, but even other pages work)
2007-12-02T15:24:56  <grzywacz> xorAxAx, I have no idea about the state of Polish translation, I think ser can tell us more.
2007-12-02T15:25:06  <grzywacz> xorAxAx, I'm fine with his other changes.
2007-12-02T15:25:16  <xorAxAx> yeah
2007-12-02T15:25:22  <ThomasWaldmann> rafael: and if it detects that it has a special parser for the mimetype of the file, it will use it
2007-12-02T15:25:26  <grzywacz> I see ThomasWaldmann wants him to fix fuzzy, that's ok. Other than that, I feel it's completed.
2007-12-02T15:25:33  <xorAxAx> ser: what do you think, should we have another translation task for ghop?
2007-12-02T15:25:53  <rafael> ThomasWaldmann: so i must support a hcard/vcard parser
2007-12-02T15:26:33  <ThomasWaldmann> rafael: that would be a good idea, except if you find a better/easier way. Just using a parser might also save you quite some work. :)
2007-12-02T15:35:14  <ThomasWaldmann> rafael: check if vcard/hcard is some specific mimetype
2007-12-02T15:35:50  <ThomasWaldmann> and whether it is supported by python stdlib's mimetype code
2007-12-02T15:37:23  <ThomasWaldmann> you also need to find out if there are typical filename extensions for it
2007-12-02T15:39:48  <blinx> ThomasWaldmann: I can't locate the place where the function attachment_image (defined in MoinMoin/formatter/text_html.py begins in line 650) is invoked. Any idea?
2007-12-02T15:43:35  <ThomasWaldmann> grep -r rules :)
2007-12-02T15:47:19  <rafael> ThomasWaldmann: there are no mimetypes for both, hcard of course gets text/html
2007-12-02T15:48:27  <blinx> http://en.wikipedia.org/wiki/VCard -.-
2007-12-02T15:48:46  <blinx> text/x-vcard text/directory;profile=vCard text/directory
2007-12-02T15:50:03  <tuxella> Yeah, I can now extract text from an Sxw file :)
2007-12-02T15:50:36  <rafael> hm ok, but for hcard it's more difficult
2007-12-02T15:52:01  <ThomasWaldmann> n$ grep card /etc/mime.types
2007-12-02T15:52:05  <ThomasWaldmann> application/vnd.groove-vcard
2007-12-02T15:52:07  <ThomasWaldmann> text/x-vcard     vcf
2007-12-02T15:54:41  <ThomasWaldmann> tuxella: are you implementing a new filter?
2007-12-02T15:55:27  <rafael> ThomasWaldmann: is it possible to check the filetype from data from the file and not only the extension?
2007-12-02T15:58:56  <ThomasWaldmann> that would've to be done in the parser
2007-12-02T15:59:12  * ThomasWaldmann suggests beginning with vcard
2007-12-02T15:59:36  <ThomasWaldmann> rafael: btw, be aware of encoding issues
2007-12-02T16:00:57  <tuxella> ThomasWaldmann, yes I am
2007-12-02T16:07:49  <ThomasWaldmann> tuxella: did you look at what we already have?
2007-12-02T16:10:10  <tuxella> ThomasWaldmann, rha, you were right
2007-12-02T16:10:36  <tuxella> I don't know why but I thought the OOo filter depended on external binairies
2007-12-02T16:11:26  <ThomasWaldmann> no, it doesnt
2007-12-02T16:11:50  <ThomasWaldmann> (but word, excel, pdf still do afaik)
2007-12-02T16:12:07  <tuxella> yes, it's pretty much done as I did, but it precises more flags to re.compile
2007-12-02T16:12:36  <tuxella> ThomasWaldmann, and older openoffice file formet too
2007-12-02T16:12:41  <tuxella> format
2007-12-02T16:13:32  <ThomasWaldmann> i am not sure we need to support sdw, that's really outdated meanwhile
2007-12-02T16:14:00  <tuxella> ThomasWaldmann, ok, so I'll focus on pdf and MsOffice documents
2007-12-02T16:15:38  <ThomasWaldmann> at least this was a good training :)
2007-12-02T16:16:35  <tuxella> ThomasWaldmann, even if the filer's API isn't very complex ;-)
2007-12-02T16:17:47  <ThomasWaldmann> as complex as a coffee filter :)
2007-12-02T16:18:22  <tuxella> ThomasWaldmann, ;)
2007-12-02T16:18:23  <veerz> tuxella, you are working on the meta data extraction thing?
2007-12-02T16:18:48  <tuxella> veerz, no, i'm working on data filters
2007-12-02T16:19:05  <ThomasWaldmann> "get out the text from the crap"
2007-12-02T16:19:28  <tuxella> ThomasWaldmann, about metadata, do you think things like extracting "tags" from music/video could be in the field of "data filter" ?
2007-12-02T16:19:43  <ThomasWaldmann> yes
2007-12-02T16:19:54  <tuxella> :-)
2007-12-02T16:19:57  <veerz> tuxella, the gnunet project has a library for this
2007-12-02T16:20:39  <veerz> http://gnunet.org/libextractor/?xlang=English
2007-12-02T16:20:55  <ThomasWaldmann> (of course pdf and MS stuff might be more useful for businesses than extracting mp3 metadata :)
2007-12-02T16:21:41  <tuxella> veerz, that's pretty much the same as this : http://hachoir.org/
2007-12-02T16:22:26  <tuxella> ThomasWaldmann, let's use a voice recognition library to extract *content* from mp3
2007-12-02T16:22:42  <dreimark> tuxella: good idea
2007-12-02T16:22:44  <veerz> that would be überkuhl :)
2007-12-02T16:24:49  <ThomasWaldmann> tuxella: hehe
2007-12-02T16:25:42  <tuxella> ThomasWaldmann, when it is about funny and useless things, you always have great ideas ;-)
2007-12-02T16:28:29  <blinx> ThomasWaldmann:  # properties = {'script_name': '/'}  <- in moin.fcg, is there a ' at the end missing?
2007-12-02T16:28:29  <ThomasWaldmann> especially true if you should work on something completely different, but boring matter (e.g. doing your tax, preparing an exam, ... :)
2007-12-02T16:28:55  <blinx> ThomasWaldmann: ah sorry wrong file version..
2007-12-02T16:29:31  * ThomasWaldmann tries to get some solution for }}} nesting...
2007-12-02T16:35:43  <tuxella> ThomasWaldmann, looks like a parsing problem ?
2007-12-02T16:43:17  <ThomasWaldmann> no, it is a problem of trying to fix the unfixable
2007-12-02T16:43:40  <ThomasWaldmann> s/fix/solve/g
2007-12-02T16:45:01  <tuxella> ThomasWaldmann, and what's this unfixable problem ?
2007-12-02T16:45:10  <veerz> sounds interesting :)
2007-12-02T16:48:59  <ThomasWaldmann> if you have a pre section, you should not do assumptions about its content
2007-12-02T16:49:24  <xorAxAx> basically, the general problem is undecidable
2007-12-02T16:49:34  <ThomasWaldmann> e.g. that if it contains }}} that it will properly nest them
2007-12-02T16:49:57  <xorAxAx> veerz: http://digg.com/tech_news/No_Swiss_DMCA_Help_me_fight_this_law
2007-12-02T16:51:44  <veerz> Its not as bad as the dmca, but thanks for the link :)
2007-12-02T16:52:40  <xorAxAx> veerz: not sure about that
2007-12-02T16:52:54  <xorAxAx> in germany, the laws are stricter than the dmca nowadays
2007-12-02T16:52:58  <veerz> Before January 24th 2008 we have to collect 50.000 signatures against this law.
2007-12-02T16:53:18  <veerz> This guy is crazy
2007-12-02T16:53:41  <veerz> it took the "legalize cannabis" guys close to a year to get 100'000 signatures
2007-12-02T16:53:53  <veerz> how the hell does he think this will work :D
2007-12-02T17:04:05  <tuxella> ok, got an excel filter working :)
2007-12-02T17:04:57  <xorAxAx> 17:04:49 < __doc__> xorAxAx: one word: snowball
2007-12-02T17:05:01  <xorAxAx> veerz: the answer :)
2007-12-02T17:05:40  <veerz> xorAxAx, you wan't to tell me I should join #python.de ? ;)
2007-12-02T17:05:56  <xorAxAx> no, but its a nice channel nevertheless
2007-12-02T17:06:23  <tuxella> xorAxAx, it can't be a nice place : everybody speaks german :-)
2007-12-02T17:06:40  <xorAxAx> tuxella: hah
2007-12-02T17:09:00  <blinx> anyone changed last time something with moin.fcg?
2007-12-02T17:09:34  <blinx> I updated my local moin version hg pull -u && python setup.py install -> now the moin.fcg server crashs every time
2007-12-02T17:11:09  <blinx> I already edited moin.fcg for my farmconfig dir
2007-12-02T17:15:49  <ThomasWaldmann> blinx: > #moin
2007-12-02T17:16:02  <blinx> k
2007-12-02T17:41:04  <ThomasWaldmann> dreimark: I'll try to revert the nesting stuff now
2007-12-02T17:41:55  <dreimark> i cross my fingers
2007-12-02T17:48:34  <ThomasWaldmann> dreimark: you made a diff for that already, where is it?
2007-12-02T17:49:43  <dreimark> http://test.wikiwikiweb.de/ReimarBauer/NestedReverted
2007-12-02T17:50:27  <ThomasWaldmann> dangerous place for keeping stuff :)
2007-12-02T17:50:46  <ThomasWaldmann> (but no need to move that now)
2007-12-02T17:53:12  <dreimark> I know its a backup from the one at home
2007-12-02T17:53:32  <ThomasWaldmann> the 1269 hunk seems to remove useful code
2007-12-02T17:54:18  <dreimark> sorry for mistakes its there to be reviewed too
2007-12-02T17:55:19  <ThomasWaldmann> (that was just asking for your opinion :)
2007-12-02T17:57:14  <ThomasWaldmann> (the .strip() looks suspicious, though)
2007-12-02T18:03:35  <dreimark> indeed this removes a bug fix
2007-12-02T18:03:45  <dreimark> b15b0248e1fa
2007-12-02T18:04:51  <dreimark> that was later changed to the current one
2007-12-02T18:04:57  <ThomasWaldmann> ah, thanks for locating. so I keep this.
2007-12-02T18:32:52  <ninnnu> About Issue #59 (language-statistics): In which language the different languages should be printed? Language's own name, in English or just as en/fi/de/etc.?
2007-12-02T18:34:09  <xorAxAx> ninnnu: in english
2007-12-02T18:34:36  <ninnnu> Ok, thanks
2007-12-02T18:49:20  * dreimark comments on 31
2007-12-02T18:54:25  <blinx> ThomasWaldmann: can I insert html code in text_moin_wiki.py (parser) or where I can do that?
2007-12-02T18:58:04  <ThomasWaldmann> the polish po file looks damaged
2007-12-02T19:04:24  <blinx> ThomasWaldmann: the attachment_image function is called in the text_moin_wiki.py parser and I want to add some html code around the <img/> tag
2007-12-02T19:04:41  <blinx> but I don't know if that is the right place for that
2007-12-02T19:09:21  <ThomasWaldmann> the parser is rather unlikely the right place for html
2007-12-02T19:09:33  <ThomasWaldmann> (the formatter more likely is)
2007-12-02T19:12:07  <tuxella> ThomasWaldmann, have you already worked on filters for MoinMoin ?
2007-12-02T19:12:14  <grzywacz> hm?
2007-12-02T19:14:38  <tuxella> or has anyone tried to use libgsf with python ?
2007-12-02T19:15:26  * dreimark comments on 61
2007-12-02T19:18:35  <dreimark> oh xorAxAx was faster didn't see the comment hiere
2007-12-02T19:25:48  <xorAxAx> sorry
2007-12-02T19:26:14  <xorAxAx> dreimark: so do you assign the claim in 61 or should i?
2007-12-02T19:26:47  <dreimark> better you (please)
2007-12-02T19:27:02  <dreimark> I do read a chapter currently ...
2007-12-02T19:27:29  <xorAxAx> ok
2007-12-02T19:28:12  <ThomasWaldmann> tuxella: yes
2007-12-02T19:28:30  <tuxella> ThomasWaldmann, about filters or about gsf ?
2007-12-02T19:28:41  <ThomasWaldmann> filters
2007-12-02T19:29:37  <tuxella> arf, in fact I was hopng some help about libgsf
2007-12-02T19:48:32  <tuxella> two questions about my task
2007-12-02T19:48:41  <tuxella> 1) who will review it ?
2007-12-02T19:48:59  <xorAxAx> tuxella: somebody of the coreteam :)
2007-12-02T19:49:08  <tuxella> 2) where am I supposed to put it when I think it's finished ?
2007-12-02T19:49:09  <xorAxAx> tuxella: which task are you doing again? filters?
2007-12-02T19:49:18  <tuxella> xorAxAx, yes, filters
2007-12-02T19:49:44  <xorAxAx> then likely ThomasWaldmann
2007-12-02T19:50:11  <xorAxAx> tuxella: it would be best if you put it onto the wikipage on the moin wiki that is linked from your task
2007-12-02T19:50:25  <tuxella> ok, great
2007-12-02T19:50:26  <xorAxAx> but in order to satisfy google, you could attach the page source to the ticket as well
2007-12-02T19:50:51  <tuxella> if this can please Mr Google then ...
2007-12-02T19:51:12  <xorAxAx> hehe
2007-12-02T19:52:29  <ThomasWaldmann> tuxella: Ms Google :)
2007-12-02T19:52:54  <tuxella> ThomasWaldmann, how do you know she is a girl ?
2007-12-02T19:53:58  <ThomasWaldmann> that was rather obvious :)
2007-12-02T19:54:12  <ThomasWaldmann> (google for Leslie Hawthorn :)
2007-12-02T19:56:17  <tuxella> hum, didn't know her
2007-12-02T19:56:41  <xorAxAx> if you win the flight, you will meet her
2007-12-02T19:58:50  <tuxella> xorAxAx, no risk for my gf to be jealous ...
2007-12-02T19:59:16  <xorAxAx> hehe
2007-12-02T19:59:40  <xorAxAx> if she was me, she would read this line in her inbox tomorrow
2007-12-02T19:59:55  <xorAxAx> because at least i have set up a google alert on my name
2007-12-02T20:00:09  <tuxella> lol
2007-12-02T20:00:17  <xorAxAx> (i.e. google sends me an email if somebody talks about me)
2007-12-02T20:00:29  <tuxella> hehe
2007-12-02T20:02:36  <tuxella> xorAxAx, maybe logs of the chan wont be crawled tomorow ...
2007-12-02T20:02:47  <xorAxAx> probably :)
2007-12-02T20:02:57  <xorAxAx> googles spiders dislike moin anyway
2007-12-02T20:04:12  <tuxella> xorAxAx, why ?
2007-12-02T20:08:41  <xorAxAx> tuxella: not sure, one issue is that moin sends a forbidden by default to a lot of request types
2007-12-02T20:09:01  <xorAxAx> maybe we should do a SEO research task about this
2007-12-02T20:09:16  <xorAxAx> and the parent of the child must work for google :)
2007-12-02T20:09:30  <xorAxAx> (as a requirement :))
2007-12-02T20:10:31  <tuxella> :)
2007-12-02T20:35:36  * ThomasWaldmann has found some cure for the parser
2007-12-02T20:48:20  <dreimark> :)
2007-12-02T20:54:37  * veerz thinks he's finished with the icons
2007-12-02T20:55:22  <tuxella> ThomasWaldmann, would you have soe time for a first review ?
2007-12-02T20:55:32  <tuxella> s/soe/some/
2007-12-02T20:58:27  <ThomasWaldmann> a bit
2007-12-02T20:58:42  * ThomasWaldmann wants to have that parser stuff working rsn
2007-12-02T21:00:27  * cb22 notes with a slightly irritated yawn that he just deleted half his home directory
2007-12-02T21:00:31  <tuxella> ThomasWaldmann, http://moinmo.in/EasyToDo/Research_Python_code_usable_for_filters#preview , could you just tell me if this is the kind of thing your are expectig and if it's long enough / half the way / done
2007-12-02T21:00:52  <tuxella> cb22, how can you doo that ?
2007-12-02T21:01:11  <xorAxAx> tuxella: find is pretty handy for that
2007-12-02T21:01:16  <xorAxAx> find | xargs rm
2007-12-02T21:01:19  <xorAxAx> pretty fast as well
2007-12-02T21:01:37  <tuxella> xorAxAx, techincally this removes every files
2007-12-02T21:01:50  <tuxella> problem is deletng half
2007-12-02T21:01:59  <xorAxAx> press ^C in between
2007-12-02T21:02:03  <tuxella> by accident moreover ...
2007-12-02T21:02:07  <cb22> tuxella: tabbing :/ i wanted to type rm -Rf testx*, so i did rm -Rf test<tab>*
2007-12-02T21:02:30  <cb22> not noticing there was no testx, so tcsh, the clever shell it is, adds a space
2007-12-02T21:02:39  <cb22> so my command was rm -Rf test *
2007-12-02T21:02:42  <tuxella> cb22, alias 'rm=rm -i'
2007-12-02T21:02:42  <veerz> cb22, heh, I did find -delete -iname thumbs.db
2007-12-02T21:03:00  <veerz> deleted my whole home dir and outputed the names of all files called thumbs.db
2007-12-02T21:03:12  <cb22> ouch
2007-12-02T21:03:21  <dreimark> once I liked to purge every .dir from  /tmp and did rm -r .*
2007-12-02T21:03:58  <veerz> and cwd was /? ;)
2007-12-02T21:04:04  <xorAxAx> veerz: thats even better
2007-12-02T21:04:14  <dreimark> I was quite surprised seeing /bin/* killed too
2007-12-02T21:04:18  <cb22> hehe
2007-12-02T21:04:27  <dreimark> I stopped just before the mount  was gone
2007-12-02T21:04:32  <cb22> only then did you c-c :)
2007-12-02T21:05:20  <cb22> hmm, i'm too lazy to deal with this mess now, i think i'll play some crysis and sort it out in the morning :/
2007-12-02T21:05:43  <cb22> at least i didnt lose any moin work :)
2007-12-02T21:05:50  <xorAxAx> thats very good :)
2007-12-02T21:05:53  <TheSheep> xorAxAx: find --delete
2007-12-02T21:06:12  <xorAxAx> TheSheep: see above how that can be a problem :)
2007-12-02T21:06:41  <TheSheep> xorAxAx: technically, it's enough to have a file called '-delete' in current directory and call 'find . -name *' :)
2007-12-02T21:08:36  <tuxella> TheSheep, that's why you should always delimitate end options with --
2007-12-02T21:08:40  <xorAxAx> yes, always quote such args
2007-12-02T21:08:51  <xorAxAx> so find does the globbing
2007-12-02T21:10:13  <TheSheep> that's extra keystrokes :)
2007-12-02T21:10:34  <tuxella> TheSheep, that's extra files
2007-12-02T21:11:03  <TheSheep> just don't name your files like that :)
2007-12-02T21:11:13  <ThomasWaldmann> tuxella: we have a std header for src files
2007-12-02T21:11:27  <tuxella> ok, i'll amend that
2007-12-02T21:11:34  <ThomasWaldmann> see MoinMoin/_template.py and use it
2007-12-02T21:12:45  <ThomasWaldmann> and don't name variables "sau" :D
2007-12-02T21:13:20  <ninnnu> is "statisticated" good variable-name? :P
2007-12-02T21:14:07  <ninnnu> (normally I name my variables as foo, bar, foobar etc., but since MoinMoin requires good names...)
2007-12-02T21:15:26  <dreimark> name it alpha in that case
2007-12-02T21:15:43  <tuxella> dreimark, for sau, yes ;)
2007-12-02T21:15:44  <TheSheep> var01, var02, :D
2007-12-02T21:16:43  <TheSheep> I like to put my comments into the variables, so that I don't have to repeat them
2007-12-02T21:17:20  <ThomasWaldmann> btw, filters return unicode objects, not strings
2007-12-02T21:18:16  <tuxella> ThomasWaldmann, yes, this is the case of the excel filter, but I forgot it in the Pdf one
2007-12-02T21:18:25  <ThomasWaldmann> what's that PSYCO=0?
2007-12-02T21:19:04  <tuxella> ThomasWaldmann, a dirty remaining of a test variable :(
2007-12-02T21:19:11  <ThomasWaldmann>   10     if x <= 25:   <-   < 26 would read much better.
2007-12-02T21:19:25  <tuxella> ok
2007-12-02T21:21:00  <ThomasWaldmann> just calling unicode() doesn't help much btw
2007-12-02T21:21:31  <ThomasWaldmann> for anything except ascii, you must specify the encoding
2007-12-02T21:24:34  <tuxella> ThomasWaldmann, for the moment it' not actually a problem for the excel filter since it opens file in ascii mode by default
2007-12-02T21:26:48  <ThomasWaldmann> you mix unicode and str rather arbitrarily, that IS a problem
2007-12-02T21:27:27  <ThomasWaldmann> I suggest you decode early and then only deal with unicode objects.
2007-12-02T21:27:39  <tuxella> ThomasWaldmann, ok, so I can just make it explicit using unicode(myString, 'ascii')
2007-12-02T21:28:48  <ThomasWaldmann> and what about german spreadsheets?
2007-12-02T21:28:59  <ThomasWaldmann> chinese?
2007-12-02T21:29:52  <tuxella> but there isn't any interface in the filter mechanism to allow the user to precise what's the encoding isn't it ?
2007-12-02T21:30:32  <ThomasWaldmann> the filter should find that out from the file contents
2007-12-02T21:30:56  <xorAxAx> tuxella: please do not use unicode()
2007-12-02T21:31:10  <xorAxAx> tuxella: but encode and decode
2007-12-02T21:31:19  <tuxella> ok, i'll do :)
2007-12-02T21:31:54  * ThomasWaldmann continues hacking the parser
2007-12-02T21:32:24  <tuxella> ThomasWaldmann, by the way, pypdf already deals with unicode issues and returns a unicode string object
2007-12-02T21:38:46  <ThomasWaldmann> that's very nice :)
2007-12-02T21:39:09  <tuxella> still to deal with in excel files
2007-12-02T21:39:14  <ThomasWaldmann> the biggest problems one has it the encoding is nowhere specified 8|
2007-12-02T21:39:27  <ThomasWaldmann> s/it/if/
2007-12-02T21:39:46  <tuxella> ThomasWaldmann, it seams that's the case in excel files
2007-12-02T21:40:07  <tuxella> bu the parsr can raise an exception if you precise the encoding and it fails
2007-12-02T21:40:43  <tuxella> s/bu/but/
2007-12-02T21:40:53  <ThomasWaldmann> please make sure that there is no automatic way
2007-12-02T21:41:01  <tuxella> ?
2007-12-02T21:41:17  <ThomasWaldmann> for finding out the encoding
2007-12-02T21:42:10  <tuxella> ThomasWaldmann, and the, would you prefer me to set it to ascii, or to try several encoding, while I'm not sure in what way it may fail ...
2007-12-02T21:43:15  <TheSheep> ascii won't work in most of the world
2007-12-02T21:43:31  <tuxella> TheSheep, I know that
2007-12-02T21:45:18  <tuxella> hum, in fact excel files are in Unicode since excel 97
2007-12-02T21:45:19  <ThomasWaldmann> the problem is that you can't be sure to fail for anything else than utf-8 or ascii in case you get it wrong
2007-12-02T21:45:58  <tuxella> so it will only fail on files done with excel < 97
2007-12-02T21:46:01  <ThomasWaldmann> (maybe also for some other unicode encodings)
2007-12-02T21:46:57  <tuxella> I think that if you don't mind spporting .odt, .xls files older than 10 years won't be a problem, will they ?
2007-12-02T21:49:03  <ThomasWaldmann> tuxella: just do not assume that it will work right. prove it. :)
2007-12-02T21:49:56  <tuxella> extract from the xlrd documentation :  From Excel 97 onwards, text in Excel spreadsheets has been stored as Unicode. Older files (Excel 95 and earlier) don't keep strings in Unicode
2007-12-02T21:50:12  <tuxella> should I caal Bill Gates in person to be sure of that ?
2007-12-02T21:51:28  <ninnnu> Bill Gates has left... You have to ask Steve Ballmer, personally I wouldn't even consider about making the call. :P
2007-12-02T21:51:30  <ThomasWaldmann> make a excel file with some german umlauts and chinese chars and try to filter it
2007-12-02T21:51:43  <tuxella> ok
2007-12-02T21:51:44  <xorAxAx> ninnnu: left?
2007-12-02T21:52:07  <ninnnu> tuxella: He's not Microsoft's CEO anymore
2007-12-02T21:52:32  <tuxella> ninnnu, but he was when Excel began using unicode
2007-12-02T21:53:00  <ninnnu> tuxella: Well, yeah...
2007-12-02T21:53:49  <tuxella> ninnnu, but yes when I said Bill Gates I haden't though about that
2007-12-02T22:00:22  <CIA-33> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2382:404ec48b1dcb 1.6/MoinMoin/Page.py: better no content-length header than a wrong one, fixes truncated action=raw output for non-ascii pages
2007-12-02T22:05:03  * veerz has uploaded the new icons to EasyToDo/DesignNewIconset please review :)
2007-12-02T22:06:02  * dreimark bbl -> home
2007-12-02T22:09:30  * xorAxAx handles 11
2007-12-02T22:16:22  * tuxella begins hating i18n things
2007-12-02T22:17:34  <tuxella> what is the right way of transforming "something" that can be a float, or an unicoded string to an unicoded string ?
2007-12-02T22:18:00  <xorAxAx> unicode(obj)
2007-12-02T22:18:12  <xorAxAx> thats okish usage of unicode()
2007-12-02T22:18:17  <xorAxAx> just unicode(.,.) is bad
2007-12-02T22:18:23  <tuxella> ok :)
2007-12-02T22:25:24  <tuxella> ThomasWaldmann, this is umlauts : ü ?
2007-12-02T22:26:27  <xorAxAx> tuxella: yes, but é is fine as well :)
2007-12-02T22:26:55  <tuxella> so, for "this" kind of strange cars it works
2007-12-02T22:27:00  <tuxella> and ¡¿ too ;)
2007-12-02T22:27:27  * tuxella uses a Spanish keybord, so he can use stange characters easily :-)
2007-12-02T22:28:52  <veerz> :þ
2007-12-02T22:29:03  <tuxella> and even with chineese chars :)
2007-12-02T22:29:21  <tuxella> veerz, what was it supposed to be ?
2007-12-02T22:29:36  <veerz> A smiley
2007-12-02T22:30:12  <tuxella> some kind of Picasso smiley ?
2007-12-02T22:33:07  <xorAxAx> an einstein smiley
2007-12-02T22:34:46  <tuxella> xorAxAx, in an other dimension you mean ?
2007-12-02T22:36:43  <tuxella> http://moinmo.in/EasyToDo/Research_Python_code_usable_for_filters edited according to comments
2007-12-02T22:42:47  <xorAxAx> veerz: nice images. the diff one could be made nicer: make the coloured parts of it a bit larger and increase the width of the box in the picture (there is unused space on the right)
2007-12-02T22:43:16  <veerz> xorAxAx, hm I thought about that, but then it would be bigger than similiar icons
2007-12-02T22:43:33  <xorAxAx> veerz: i dont mean resizing the 16x16
2007-12-02T22:43:44  <xorAxAx> but the contents
2007-12-02T22:43:51  <veerz> yes
2007-12-02T22:43:57  <veerz> I know
2007-12-02T22:44:12  <xorAxAx> the other icons dont have this uneven framing
2007-12-02T22:48:46  <tuxella> ThomasWaldmann, when you'll have some more time to review my article let me know :-)
2007-12-02T22:49:39  <xorAxAx> hi ernestas
2007-12-02T22:49:48  <ernestas> hey!
2007-12-02T22:49:58  <ernestas> how's going?
2007-12-02T22:50:21  <ernestas> I heard there were some problems with the wiki
2007-12-02T22:52:18  <ernestas> I've finished making my presentation. One step closer to your tasks. I'll be presenting ASF on Thursday. :)
2007-12-02T22:59:25  <ernestas> I really like those "Present XXX in your community" tasks...
2007-12-02T23:00:16  <xorAxAx> cool
2007-12-02T23:00:17  <ernestas> It's sad your project has already run out of these.
2007-12-02T23:00:33  <xorAxAx> we could still do another one if you like :)
2007-12-02T23:00:37  <xorAxAx> but we have to think about it
2007-12-02T23:00:44  <xorAxAx> (we still have free slots for new tasks)
2007-12-02T23:01:08  <ernestas> yes, sure. I will not be doing it now anyway
2007-12-02T23:02:04  <veerz> xorAxAx, the new icon has it too
2007-12-02T23:02:08  <veerz> but ok :)
2007-12-02T23:08:22  <veerz> xorAxAx, ok, it looks better!
2007-12-02T23:10:37  * veerz has updated the attachment
2007-12-02T23:38:01  <veerz> xorAxAx, could you have another look at it? :)
2007-12-02T23:39:05  <xorAxAx> no
2007-12-02T23:39:11  <xorAxAx> learning for a test
2007-12-02T23:39:33  <veerz> ok, then I'll wait for ThomasWaldmann
2007-12-02T23:40:05  <xorAxAx> supplying an url only to that image would make it easier :)
2007-12-02T23:40:36  <grzywacz> night
2007-12-02T23:43:18  <veerz> xorAxAx, http://img5.myimg.de/moindiff3ef44.png
2007-12-02T23:43:51  <tuxella> ThomasWaldmann, still awaken ?
2007-12-02T23:45:44  <cb22> damn xorAxAx, you have a hell of a lot more self control then i
2007-12-02T23:46:08  <cb22> if i'm near a computer, i have to play on it, kinda killed my marks at school
2007-12-02T23:46:09  <xorAxAx> veerz: i wonder what the grey bar at the top is
2007-12-02T23:46:25  <xorAxAx> veerz: couldnt it be coloured as well?
2007-12-02T23:47:04  <xorAxAx> cb22: of course i tried to minimise spent time on school stuff back in school
2007-12-02T23:47:19  <veerz> xorAxAx, unchanged text
2007-12-02T23:47:25  <xorAxAx> and even got a good mark in the end
2007-12-02T23:47:33  <cb22> heh :) i'm lucky though, i can still pull off ~70% with no studying
2007-12-02T23:47:34  <xorAxAx> veerz: not sure if that is recognisable at that size
2007-12-02T23:48:26  <cb22> xorAxAx, you ==  webmas...@alexanderweb.de?
2007-12-02T23:49:35  <xorAxAx> yes
2007-12-02T23:50:23  <cb22> are you referring to cache = caching.CacheEntry(...)?
2007-12-02T23:50:30  <xorAxAx> yes
2007-12-02T23:50:33  <cb22> and that i'm setting it a few times?
2007-12-02T23:50:36  <cb22> known issue :)
2007-12-02T23:50:42  <xorAxAx> you call it too often, yes
2007-12-02T23:51:27  <cb22> i've cleaned the code some more, following ThomasWaldmann's suggestions, i'll upload it some time tomorrow
2007-12-02T23:51:45  <cb22> i'm still in denial over my rm
2007-12-02T23:52:10  <veerz> cb22, no backup?
2007-12-02T23:52:31  <cb22> veerz, you backup your home dir?
2007-12-02T23:52:39  <veerz> yes.
2007-12-02T23:52:45  <xorAxAx> mine is backed up every night
2007-12-02T23:52:47  <xorAxAx> automatically
2007-12-02T23:52:49  <veerz> And I know why...
2007-12-02T23:52:52  <cb22> wow, im impressed
2007-12-02T23:52:56  <cb22> maybe i should
2007-12-02T23:53:02  <veerz> My harddrive died a week ago.
2007-12-02T23:53:10  <cb22> i have 3 or 4 old p4s i could use
2007-12-02T23:53:14  <veerz> And I'm really happy I do have a backup
2007-12-02T23:53:15  <cb22> just lack of harddrives
2007-12-02T23:53:50  <veerz> harddrives are cheap :)
2007-12-02T23:54:20  <cb22> heh, run python and then from __future__ import braces
2007-12-02T23:55:09  <veerz> heh, yet another python easter egg :)
2007-12-02T23:55:20  <tuxella> gn8 all
2007-12-02T23:55:25  * tuxella is away: Sleep
2007-12-02T23:55:28  <cb22> night tuxella
2007-12-02T23:55:45  <cb22> that ones my favourite, i gave it to my cs teacher
2007-12-02T23:56:03  <cb22> java :/
2007-12-02T23:56:29  <veerz> cb22, just be happy with you java
2007-12-02T23:56:48  <cb22> lol, be happy with java?
2007-12-02T23:56:48  <veerz> I have an exam in php tomorrow
2007-12-02T23:56:52  <cb22> ouch
2007-12-02T23:56:54  <cb22> never mind
2007-12-02T23:57:04  <veerz> at least it means good grades for free...
2007-12-02T23:57:29  <cb22> hehe same here with java
2007-12-02T23:58:28  <cb22> i got above 10% for my practical.
2007-12-02T23:58:34  <cb22> 100*
2007-12-02T23:58:53  <cb22> and the teacher hates me, generally because i am a smart ass to him
2007-12-02T23:59:23  <veerz> cb22, you get you grades in %?
2007-12-02T23:59:28  <cb22> yep
2007-12-02T23:59:38  <cb22> i'm in south africa, wher abouts are you?

MoinMoin: MoinMoinChat/Logs/moin-dev/2007-12-02 (last edited 2007-12-22 22:45:02 by IrcLogImporter)