IRC Logs

2008 8
Mo Tu We Th Fr Sa So
        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 31

17. 08 2008

[00:33:52] <mitsuhiko> tux21b: pong
[00:34:26] <tux21b> mitsuhiko, i have a problem with recursive loops and cycle. do you know a way to continue the cycle? :)
[00:35:17] <tux21b> even {% set odd = not odd %} doesn't work because you cant modify variables in a inner block
[00:36:01] <mitsuhiko> what do you mean by "continue the cycle"?
[00:36:59] <tux21b> calling loop(subelements) now causes loop.cycle to begin from the start again for the inner loop
[00:37:43] <tux21b> i don't like this behavior. should i try to write a patch, or is there any other way to solve this?
[00:38:08] <mitsuhiko> tux21b: do you have an example template showing the problem/behavior?
[00:38:45] <tux21b> mitsuhiko, yep, the default textpress template, with nested comments and a additional odd attribute :)
[00:38:54] <tux21b> but i can write a small example if you want too
[00:40:22] <mitsuhiko> small example would be good
[00:40:25] <sebner> mitsuhiko: mono and C# are cool but isn't vala better since it runs native?
[00:40:36] <mitsuhiko> sebner: nope
[00:40:48] <sebner> mitsuhiko: explanation :P
[00:41:07] <mitsuhiko> the reason why i like c# is not only the language but also the fact that it's *not* native
[00:41:16] <mitsuhiko> but powered by a language agnostic framework
[00:41:59] <mitsuhiko> i can easily fire up ironpython do "from System.Reflection import Assembly; app = Assembly.Load('app.exe');" and explore the application from my python interpreter
[00:42:16] <mitsuhiko> that's something vala can't do
[00:42:31] <mitsuhiko> """There’s no Eclipse-plugin for Mono. So Mono is completely unusable."""
[00:42:34] <mitsuhiko> that's the best one so far ;)
[00:43:34] <sebner> bullshit -.-
[00:44:14] <sebner> mitsuhiko: do you know if vala also can be ported to windows? I suppose, no hmm?
[00:44:29] <mitsuhiko> why shouldn't vala compile on windows?
[00:44:36] <mitsuhiko> after all it's just a c preprocessor
[00:45:10] <sebner> well for now it heavily uses glib and such stuff
[00:46:13] <birkenfeld> mitsuhiko: should I write a troll comment too?
[00:46:16] <mitsuhiko> well. glib is not a linux thing
[00:46:20] <mitsuhiko> birkenfeld: oh sure :)
[00:46:34] <mitsuhiko> there is even a reddit thread now with more than 150 comments :)
[00:47:02] <sebner> mitsuhiko: I'm just thinking about the problems of porting windows c# programs to linux and the other way round
[00:47:12] <mitsuhiko> sebner: that's no problem at all
[00:47:22] <mitsuhiko> unless of course you are using windows api or linux apis not available on windows
[00:47:35] <mitsuhiko> that is Windows.Forms or Gnome.Gconf or something
[00:48:15] <sebner> mitsuhiko: what do you propose for graphical tihngs?
[00:48:16] <sebner> *things
[00:48:24] <mitsuhiko> in .net you mean?
[00:48:26] <sebner> sure
[00:48:46] <mitsuhiko> probably wx.net
[00:48:58] <sebner> hmm
[00:49:17] <mitsuhiko> but to be frank. by now i doubt anyone wants to write one gui for all three platforms
[00:49:19] <mitsuhiko> that just doesn't work out
[00:49:22] <sebner> If somebody would update windows gtk# 2.8 to gtk#.2.12
[00:49:28] <mitsuhiko> there are many more differences than just the toolkits they use
[00:50:06] <sebner> At least for many portability is important and then they use foo java or python
[00:50:18] <mitsuhiko> windows has the infamous "apply" button, os x has a different menu layout, keyboard shortcuts and instant-apply dialogs, and gtk has dbus and other technology you only find there
[00:51:27] * marchon has joined #pocoo
[00:52:05] <sebner> mitsuhiko: so C# seems pretty a bad choise when writing software not only for one platform :\
[00:52:17] <mitsuhiko> sebner: why?
[00:52:25] <tux21b> mitsuhiko, http://paste.pocoo.org/show/82428/
[00:52:28] <mitsuhiko> in what way are python or c superior?
[00:53:23] <sebner> mitsuhiko: so, more or less problems with every language?
[00:53:32] <ronny> hmm
[00:53:34] <mitsuhiko> sebner: sure
[00:53:46] <tux21b> we could add a param to the loop() call, to tell the inner loop to begin from the start or not
[00:53:49] <ronny> vala is pretty much introspectable once compiled
[00:53:55] <mitsuhiko> sebner: which application do you know that looks native on os x, windows and gnome?
[00:53:57] <sebner> mitsuhiko: the question is now what is more and what is less :)
[00:54:07] <tux21b> i am off now. gn8
[00:54:08] <sebner> mitsuhiko: amarok :P
[00:54:12] <ronny> actually i dont really care if its a vm or not, cause anything but win32 has a sane package-distribution system
[00:54:18] <mitsuhiko> sebner: nope
[00:54:24] <mitsuhiko> amarok looks like ass on os x for example
[00:54:30] <mitsuhiko> and it doesn't look native on windows either
[00:54:38] <sebner> well, wx stuff?
[00:54:48] <ronny> wx is hell
[00:54:50] <mitsuhiko> sebner: no, wx application look native pretty much nowhere
[00:54:59] <sebner> ^^
[00:55:09] <mitsuhiko> best on windows maybe, but that's just because windows is an inconsistent user interface hell anyways
[00:55:19] <mitsuhiko> every major microsoft product introduces a new style
[00:55:42] <sebner> mitsuhiko: so, you know an application?
[00:55:56] <ronny> i simply prefer gtk/vala cause its made to be bound by dynamic languages
[00:55:56] <mitsuhiko> sebner: no, i know not a single application that looks native on all three platforms
[00:56:17] <mitsuhiko> firefox is doing a good job i think, but there are limitations too
[00:56:37] <sebner> mitsuhiko: btw, already checked out firefox-qt? look horrible -.-
[00:56:38] <ronny> the main reason for vala over c# is massivly smaller memory footprint
[00:56:45] <mitsuhiko> sebner: firefox-qt is dead?
[00:57:03] <mitsuhiko> ronny: well, there are more reasons i think
[00:57:05] <sebner> mitsuhiko: no, now it's really becomming famous
[00:57:11] <mitsuhiko> sebner: why?
[00:57:21] <ronny> mitsuhiko: for anything else its mostly the same for me
[00:57:22] <sebner> mitsuhiko: a lot blogs/news about it lately
[00:57:35] <mitsuhiko> sebner: why? no development takes place or am i mistaken?
[00:57:40] <sebner> ronny: don't forget the non windows users that don't want a .exe ^^
[00:57:55] <ronny> sebner: who cares
[00:57:55] <sebner> mitsuhiko: AFAIK it's becomming more and more
[00:58:03] <sebner> ronny: really not that less
[00:58:10] <ronny> sebner: anyone whos a pussy about the extension is a troll anyway
[00:58:16] <sebner> hrhr
[00:58:25] <mitsuhiko> sebner: i think the only thing they did was updating the qt port to the latest xul changes for firefox 3 to run
[00:58:27] <sebner> ronny: don't forget the pseudo MS haters
[00:58:45] <ronny> those are trolls, too
[00:59:22] <sebner> mitsuhiko: http://browser.garage.maemo.org/news/10/
[00:59:32] <sebner> ronny: sure
[00:59:43] <mitsuhiko> sebner: that's what's running since 2003
[00:59:49] <mitsuhiko> just updated to firefox3
[01:00:18] <mitsuhiko> i think they revived it somewhat for their mobile browser
[01:00:46] <mitsuhiko> i seriously doubt they will maintain a qt backend on the long run for anything except gecko itself
[01:01:14] <sebner> mitsuhiko: nokia -> trolltech -> ff
[01:01:21] <mitsuhiko> trolltech is nokia now
[01:01:26] <sebner> I know
[01:01:37] <sebner> Isn't nokia behind this ff.qt thing?
[01:01:37] <ronny> but they got webkit thats working way better with qt
[01:01:52] <mitsuhiko> ronny: is it?
[01:02:02] <mitsuhiko> i thought the gtk port is far more stable these days
[01:02:17] <mitsuhiko> i thought the trolltech guys just forked webkit ;)
[01:02:27] <sebner> mitsuhiko: at least ephiphany is more stable with it then with gecko ^^
[01:02:39] <mitsuhiko> sebner: because the gnome guys suck at writing browsers
[01:02:39] <ronny> mitsuhiko: its based on khtml, and is c++ish, there was a stable qt integration since ages
[01:02:59] <mitsuhiko> ronny: well. i thought qt had it's own khtml based rendering engine
[01:03:09] <sebner> mitsuhiko: maybe but also konquerer doesn't seem to be a killer app
[01:03:18] <ronny> but afair every now and then they pull a webkit into qt base
[01:03:29] <mitsuhiko> quite frank i don't care what happens in qt land
[01:04:15] <sebner> mitsuhiko: gnome, gtk FTW!!!!!!! :P
[01:04:26] <ronny> pretty much
[01:04:40] <mitsuhiko> sebner: gtk# for sure
[01:04:43] <sebner> and also GTK#
[01:04:45] <sebner> argh
[01:04:48] <sebner> mitsuhiko: :)
[01:05:01] <ronny> hmm, i think i will prefer vala
[01:05:04] <sebner> hrhr
[01:05:09] <ronny> its more compatible to non .net
[01:05:13] <sebner> lol
[01:05:34] <ronny> and gobject-introspection should fix the rest
[01:05:38] <sebner> mitsuhiko: you surely prefer vim but I think MD is getting better and better :)
[01:05:46] <mitsuhiko> i'm closely watching the development of both
[01:06:14] <ronny> does ironpython expose the c# compiler?
[01:06:22] <mitsuhiko> ronny: in what sense?
[01:06:34] <ronny> as in getting a ast from the source
[01:06:36] <mitsuhiko> sebner: i use monodevelop to create makefiles for my projects
[01:06:48] <sebner> mitsuhiko: nice, and stetic ftw!
[01:06:52] <mitsuhiko> ronny: ironpython exposes all assemblies
[01:07:03] <mitsuhiko> and yes, you can use it to generate code as far as i know
[01:07:23] <ronny> mitsuhiko: pida could use some c# integration, too ;P
[01:07:45] <sebner> ronny: and this gnome with with "A*"
[01:07:45] <ronny> (ie error finder, class browser, project gen)
[01:08:17] <ronny> hmm, i recently started getting into gazpacho
[01:08:27] <ronny> i wonder if i should port it to vala ;P
[01:08:56] <sebner> mitsuhiko: there are plans to integrate mono 2.0 into intrepid if it's in time. finally a reason for you to upgrade :P (Self compiling sucks :P)
[01:09:20] <ronny> i just upgraded to it
[01:09:27] <ronny> gio in pyygtk !!!!
[01:09:27] <sebner> ronny: mono or intrepid?
[01:09:35] <ronny> intrepid
[01:09:41] <sebner> ronny: I never used something else :P
[01:16:05] <sebner> however, gn8 folks
[01:21:39] <ronny> n8 sebner
[01:25:50] * aconbere has quit IRC
[01:37:18] * aconbere has joined #pocoo
[01:49:33] * marchon has quit IRC
[01:56:35] <dennda> infobob on #python uses paste.pocoo.org ;)
[02:41:16] * M3ntor5 has quit IRC
[02:50:17] * izibi has quit IRC
[03:58:17] * rcscomp1 has joined #pocoo
[03:59:34] <rcscomp1> any suggestions for creating a url "slug"? For example, I want to convert "my blog article title & something" to "my-blog-article-title-something". I know I could do this with a regular expression replacement, but I was wondering if there was already something out there
[04:25:48] * marchon has joined #pocoo
[04:39:31] * maicki has joined #pocoo
[04:57:40] * maicki has quit IRC
[04:57:55] * maicki has joined #pocoo
[06:10:37] * rcscomp1 has left #pocoo
[06:11:38] <marchon> .
[06:14:36] * marchon has left #pocoo
[06:53:14] * Kaelten has joined #pocoo
[07:01:12] * kaelten_ has joined #pocoo
[07:05:13] * kaelten_ has left #pocoo
[07:05:54] * Kaelten has quit IRC
[07:10:00] * kaelten has joined #pocoo
[07:10:44] * kaelten has quit IRC
[07:10:59] * kaelten has joined #pocoo
[07:12:03] * kaelten has joined #pocoo
[07:13:07] * izibi has joined #pocoo
[07:13:23] * kaelten is now known as Kaelten
[07:24:55] * robart has joined #pocoo
[07:25:02] * robart has left #pocoo
[08:22:44] * thatch has joined #pocoo
[08:31:21] <thatch> I'm here now, in reference to http://dev.pocoo.org/projects/pocoo/irclogs/2008/08/15#T20:57:10
[08:43:45] <thatch> birkenfeld: ping regarding pygments release
[09:04:41] * maicki has quit IRC
[09:39:30] * pocoo` has joined #pocoo
[09:40:27] * ChanServ has joined #pocoo
[09:40:27] * thatch has joined #pocoo
[09:40:27] * izibi has joined #pocoo
[09:40:27] * Kaelten has joined #pocoo
[09:40:27] * aconbere has joined #pocoo
[09:40:27] * pete__c has joined #pocoo
[09:40:27] * delroth has joined #pocoo
[09:40:27] * pjenvey_ has joined #pocoo
[09:40:27] * Tik-Tok has joined #pocoo
[09:40:27] * DrMegahertz has joined #pocoo
[09:40:27] * prencher has joined #pocoo
[09:40:27] * _P_ has joined #pocoo
[09:40:27] * saptah has joined #pocoo
[09:40:27] * POX_ has joined #pocoo
[09:40:27] * bzed has joined #pocoo
[09:40:27] * KirkMcDonald has joined #pocoo
[09:40:27] * davidcramer has joined #pocoo
[09:40:27] * toMpEr has joined #pocoo
[09:40:27] * CIA-42 has joined #pocoo
[09:40:27] * dennda has joined #pocoo
[09:40:27] * jinks has joined #pocoo
[09:40:27] * leifkb has joined #pocoo
[09:40:27] * birkenfeld has joined #pocoo
[09:40:27] * TheSheep has joined #pocoo
[09:40:27] * rocky has joined #pocoo
[09:40:27] * DrMhz has joined #pocoo
[09:40:27] * mq has joined #pocoo
[09:40:27] * plaes has joined #pocoo
[09:40:27] * maze has joined #pocoo
[09:40:27] * ivan has joined #pocoo
[09:40:27] * AskHL has joined #pocoo
[09:40:27] * brian has joined #pocoo
[09:40:27] * asmodai has joined #pocoo
[09:40:27] * luks has joined #pocoo
[09:40:27] * hoffie has joined #pocoo
[09:40:27] * pjenvey has joined #pocoo
[09:40:27] * aat has joined #pocoo
[09:40:27] * coderanger has joined #pocoo
[09:40:27] * mika has joined #pocoo
[09:40:27] * benoitc has joined #pocoo
[09:40:27] * welterde has joined #pocoo
[09:40:27] * ronny has joined #pocoo
[09:40:27] * xorAxAx has joined #pocoo
[09:40:27] * dev has joined #pocoo
[09:40:27] * zenhase has joined #pocoo
[09:40:27] * apollo13 has joined #pocoo
[09:40:27] * tumult has joined #pocoo
[09:40:27] * mitsuhiko has joined #pocoo
[09:40:27] * david`bgk has joined #pocoo
[09:40:27] * aa_ has joined #pocoo
[09:40:27] * Manni has joined #pocoo
[09:40:27] * hads has joined #pocoo
[09:40:27] * spykid has joined #pocoo
[09:40:27] * irc.freenode.net sets mode: +o ChanServ
[09:47:59] <birkenfeld> thatch: pong
[09:54:28] * Tik-Tok has quit IRC
[09:58:56] * aconbere has quit IRC
[09:59:49] * rafael_ has joined #pocoo
[10:26:22] * EnTeQuAk has joined #pocoo
[10:27:03] <tux21b> mitsuhiko, have you already thought about a solution for the recursive loop + cycle problem?
[10:33:42] * highwaychile has joined #pocoo
[11:45:36] * highwaychile has quit IRC
[12:18:14] * izibi_ has joined #pocoo
[12:25:31] * rafael_ has quit IRC
[12:33:15] * izibi has quit IRC
[12:55:21] * pjenvey_ has quit IRC
[12:58:01] * highwaychile has joined #pocoo
[13:03:31] * stifal has joined #pocoo
[13:05:17] * highwaychile has quit IRC
[13:19:27] * maicki has joined #pocoo
[13:26:15] <asmodai> Kaelten: awake by chance?
[13:37:57] * robart has joined #pocoo
[13:51:24] <birkenfeld> asmodai: peng
[13:53:27] <asmodai> birkenfeld: pengo!
[13:54:19] <birkenfeld> how are you?
[13:55:00] <asmodai> Fine thanks!
[13:55:09] <birkenfeld> great :)
[13:55:22] <asmodai> You? :)
[13:55:48] <birkenfeld> quite well
[13:56:02] <birkenfeld> sun shines again
[13:56:56] <asmodai> not here
[13:57:32] <birkenfeld> rainy day?
[13:58:52] <asmodai> nah, not that either
[13:58:55] <asmodai> overcast
[13:59:04] <asmodai> although seems some minor sun getting through
[14:02:13] <asmodai> couldn't see the lunar eclipse yestereve though
[14:03:54] <birkenfeld> there was one? didn't know that
[14:04:34] <asmodai> yes, last night
[14:07:30] * coderanger has quit IRC
[14:17:14] * coderanger has joined #pocoo
[14:24:18] * EnTeQuAk_ has joined #pocoo
[14:26:25] * EnTeQuAk has quit IRC
[14:26:29] * EnTeQuAk_ is now known as EnTeQuAk
[14:44:14] * EnTeQuAk has quit IRC
[14:48:25] * EnTeQuAk has joined #pocoo
[15:03:17] * delroth_ has joined #pocoo
[15:04:46] * delroth has quit IRC
[15:04:48] * delroth_ is now known as delroth
[15:23:51] * empty has joined #pocoo
[15:37:10] * M3ntor5 has joined #pocoo
[17:13:58] * Tik-Tok has joined #pocoo
[17:20:26] <davidcramer> Anyone know anything about port triggering (in a router)?
[17:22:00] <tux21b> isn't it something where the first outgoing requests sets up triggering for that port, so that future request can use it?
[17:27:42] <davidcramer> thats what i assumed, but it has a from range and a to range
[17:27:53] <davidcramer> where as port forwarding is just the from range
[17:28:07] <davidcramer> just wondering if its going to work the same and i set the to range ot the same thing as the from range
[17:35:42] * EnTeQuAk has quit IRC
[17:36:19] * delroth has quit IRC
[18:05:49] * maicki has quit IRC
[18:15:56] * delroth has joined #pocoo
[18:18:37] * aconbere has joined #pocoo
[18:35:49] * lakin has joined #pocoo
[18:45:55] * aconbere has quit IRC
[18:46:28] * aconbere has joined #pocoo
[18:46:46] * EnTeQuAk has joined #pocoo
[18:54:27] * robart has left #pocoo
[20:19:37] * stifal has quit IRC
[20:22:38] * DrMegahertz` has joined #pocoo
[20:33:52] * DrMegahertz has quit IRC
[20:34:48] * EnTeQuAk has quit IRC
[20:36:14] * pjenvey_ has joined #pocoo
[20:43:37] * DrMegahertz` has quit IRC
[20:44:23] * highwaychile has joined #pocoo
[20:47:31] * lakin has quit IRC
[21:09:00] <Kaelten> asmodai: I'm alive now
[21:13:46] * highwaychile has quit IRC
[21:39:36] * DrMhz is now known as DrMegahertz
[21:52:39] <asmodai> Kaelten: heya :)
[21:52:47] <Kaelten> hi
[21:52:54] <birkenfeld> thatch: there?
[21:53:00] <asmodai> Kaelten: I had a question wrt wowace back then
[21:53:06] <Kaelten> kk
[21:53:47] <asmodai> Kaelten: couldn't remember my action bars addon: bartender
[21:54:59] <asmodai> Kaelten: oh, weird thing
[21:55:33] <asmodai> Kaelten: xparky
[21:55:39] <Kaelten> ?
[21:55:39] <asmodai> Kaelten: doesn't seem to listen to /xparky at all
[21:55:57] <Kaelten> no clue
[21:56:10] <asmodai> yeah, will check it out
[21:56:13] <Kaelten> should ping the author of that addon.
[21:56:22] <asmodai> Kaelten: but damn, some of those descriptions suck ass
[22:29:03] * M3ntor5 has quit IRC
[22:44:19] * redir has joined #pocoo
[23:04:06] <apollo13> mitsuhiko: btw until 200-ok and internal redirect work in mod_wsgi, I am going to use mod_xsendfile
[23:04:19] <apollo13> achieves pretty much the same for me :)
[23:04:27] <apollo13> if you remember our discussion last time
[23:04:35] <mitsuhiko> apollo13: isn't that pretty much exposed through wsgi.file_wrapper?
[23:04:54] <apollo13> hmm let me note it down, I'll take a look tomorrow
[23:07:18] <apollo13> mitsuhiko: yeah looks like to be, and I think sendfile is causing not much overhead, although it's running through your app (which in fact might be the only problem, as the thread/processes would be occupied for normal app-request). Or am I mistaken
[23:07:40] <mitsuhiko> it shouldn't
[23:07:55] <mitsuhiko> mod_wsgi provides the file_wrapper and can kill the process and continue serving it via sendfile
[23:08:01] <mitsuhiko> at least that's what i suppose it does
[23:08:12] <prencher> say the magic word and he appears
[23:08:14] <prencher> grumpy !
[23:08:27] <apollo13> he, fair enough
[23:08:32] <prencher> still waiting for the day where that actually works
[23:12:21] <apollo13> n8
[23:14:17] <tux21b> prencher, *g*
[23:15:29] <tux21b> but i think you must be in a really desperation and he will appear suddenly (or just write a mail)
[23:16:06] <prencher> he has some really lame execuse these days, a baby or some such nonsense ;)
[23:16:40] <tux21b> jap :)
[23:36:58] * delroth_ has joined #pocoo
[23:38:03] * delroth has quit IRC
[23:38:04] * delroth_ is now known as delroth
[23:54:46] <tux21b> mitsuhiko, i am having a tp blog now, when do you follow? :)
[23:54:55] <birkenfeld> tux21b: where?
[23:55:59] <tux21b> tux21b.org
[23:56:08] <mitsuhiko> tux21b: wohoo. custom theme :)
[23:56:45] <mitsuhiko> tux21b: xapian search for core!
[23:57:12] <CIA-42> python-doctools: georg.brandl * r65786 /doctools/trunk/sphinx/directives/other.py: Index quick fix.
[23:57:53] <tux21b> it's currently a plugin. i only added a after-post-saved event. btw, the pluginsystem is great :)