| [00:00:02] |
* |
birkenfeld could invite guido_g |
| [00:00:49] |
<Leonidas> |
and give him operator-permissions? ^^ |
| [00:01:59] |
* |
Leonidas would need to switch the tab, then. |
| [00:02:41] |
<birkenfeld> |
mitsuhiko: argh -- the JS function isn't even used anymore |
| [00:02:42] |
<mitsuhiko> |
birkenfeld: btw. _ = foo.bar in js != the same code in python |
| [00:02:45] |
* |
leche has quit IRC |
| [00:02:59] |
<birkenfeld> |
mitsuhiko: -v please |
| [00:03:00] |
<mitsuhiko> |
yeah. noticed that |
| [00:03:19] |
<mitsuhiko> |
birkenfeld: foo = blah.blah makes foo an alias to bound method blah |
| [00:03:35] |
<birkenfeld> |
ah |
| [00:03:36] |
<mitsuhiko> |
in javascript there are no methods, just functions |
| [00:03:46] |
<mitsuhiko> |
foo.bar() -> foo.bar.call(foo) |
| [00:03:50] |
<birkenfeld> |
well, I just copied that from zine... |
| [00:04:05] |
<mitsuhiko> |
(x = foo.bar); x() -> x.call(window) |
| [00:04:14] |
<mitsuhiko> |
birkenfeld: i know, it works in that case, just wanted you to know |
| [00:04:21] |
<mitsuhiko> |
because that's really a giant pitfall |
| [00:04:46] |
<birkenfeld> |
okay... |
| [00:04:57] |
<birkenfeld> |
I'll keep in mind that there was something strange |
| [00:05:22] |
<mitsuhiko> |
:) |
| [00:08:29] |
<CIA-49> |
python-doctools: georg.brandl * r66355 /doctools/branches/0.4.x/ (sphinx/htmlwriter.py CHANGES): #3746: fix duplicate id generation with docutils 0.5. |
| [00:08:39] |
* |
highwaychile has joined #pocoo |
| [00:11:04] |
<CIA-49> |
python-doctools: georg.brandl * r66356 /doctools/ (trunk trunk/sphinx/htmlwriter.py): |
| [00:11:05] |
<CIA-49> |
python-doctools: Merged revisions 66355 via svnmerge from |
| [00:11:05] |
<CIA-49> |
python-doctools: svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x |
| [00:11:05] |
<CIA-49> |
python-doctools: ........ |
| [00:11:05] |
<CIA-49> |
python-doctools: r66355 | georg.brandl | 2008-09-10 00:06:51 +0200 (Wed, 10 Sep 2008) | 2 lines |
| [00:11:07] |
<CIA-49> |
python-doctools: #3746: fix duplicate id generation with docutils 0.5. |
| [00:11:09] |
<CIA-49> |
python-doctools: ........ |
| [00:12:12] |
<birkenfeld> |
mitsuhiko: already found a solution for the jinja install problem on platforms that can't build the C modules? |
| [00:13:22] |
<birkenfeld> |
.oO( zzz ) |
| [00:13:35] |
<aa_> |
I can think of a solution. Build binaries :) |
| [00:15:17] |
<mitsuhiko> |
birkenfeld: no, but i got some more error reports like that :-/ |
| [00:15:29] |
<mitsuhiko> |
in multiple different versions now |
| [00:15:39] |
<mitsuhiko> |
some of them are probably caused by older setuptools version |
| [00:16:07] |
<mitsuhiko> |
somehow some setuptools versions build wrong native.txt files or how they are called |
| [00:16:50] |
<mitsuhiko> |
birkenfeld: do you know a less hackish way to build extensions that disable themselves if there is no compiler? |
| [00:23:15] |
* |
Kaelten has quit IRC |
| [00:33:15] |
<xorAxAx> |
mitsuhiko: use ctypes and patch the bytecode randomly in memory |
| [00:33:23] |
<xorAxAx> |
(of setuptools) |
| [00:33:27] |
<mitsuhiko> |
... |
| [00:34:04] |
<xorAxAx> |
radical monkey patching |
| [00:46:45] |
<CIA-49> |
Werkzeug: mitsuhiko default * 616:fae7dbfef6af /werkzeug/contrib/atom.py: Fixed wrong license header in atom.py |
| [01:49:44] |
* |
izibi has quit IRC |
| [01:58:00] |
* |
highwaychile has quit IRC |
| [02:43:44] |
* |
M3ntor5 has quit IRC |
| [02:45:30] |
* |
marchon has joined #pocoo |
| [03:04:33] |
* |
Rogi has quit IRC |
| [04:11:04] |
* |
lakin has joined #pocoo |
| [04:33:40] |
* |
marchon has quit IRC |
| [04:47:33] |
* |
Rogi has joined #pocoo |
| [05:07:23] |
* |
james_027 has joined #pocoo |
| [05:09:19] |
* |
james_027_ has joined #pocoo |
| [05:18:55] |
* |
lakin has quit IRC |
| [05:26:51] |
* |
james_027 has quit IRC |
| [05:32:39] |
* |
Rogi has quit IRC |
| [05:37:26] |
* |
james_027_ has quit IRC |
| [06:10:00] |
* |
james_027 has joined #pocoo |
| [06:48:03] |
* |
james_027_ has joined #pocoo |
| [07:05:08] |
* |
james_027 has quit IRC |
| [07:06:23] |
* |
pete__c_ has quit IRC |
| [07:07:50] |
* |
pete__c has joined #pocoo |
| [07:13:01] |
<asmodai> |
Monkey patching, so we patch the monkeys. So question becomes, is mitsuhiko the monkey? |
| [07:25:46] |
* |
aconbere has quit IRC |
| [07:40:01] |
<aat> |
monkeys! |
| [08:00:52] |
* |
james_027__ has joined #pocoo |
| [08:01:05] |
* |
james_027__ is now known as james_027 |
| [08:18:24] |
* |
james_027__ has joined #pocoo |
| [08:18:58] |
* |
james_027_ has quit IRC |
| [08:19:32] |
* |
james_027__ has quit IRC |
| [08:28:09] |
<davidcramer> |
<3 monkey patching |
| [08:28:13] |
<davidcramer> |
its so useful in some situations |
| [08:37:19] |
* |
james_027 has quit IRC |
| [09:02:49] |
* |
marchon has joined #pocoo |
| [09:13:10] |
* |
marchon has quit IRC |
| [09:42:01] |
<mitsuhiko> |
davidcramer: if an api is broken, yes |
| [09:42:13] |
<asmodai> |
if not it's a hideous crime |
| [09:42:19] |
<asmodai> |
which will result in death |
| [09:42:30] |
* |
Rogi has joined #pocoo |
| [09:53:21] |
<mitsuhiko> |
wtf? http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=147088837 |
| [09:53:32] |
<mitsuhiko> |
crappy music |
| [09:54:20] |
<asmodai> |
mmm Little BIG Planet looks like a great game |
| [09:56:54] |
<mitsuhiko> |
if they would only release it for 360/wii/pc |
| [09:57:11] |
<asmodai> |
http://kk.org/ct2/2008/09/heinleins-fan-mail-solution.php |
| [09:57:16] |
<asmodai> |
fuck the 360 |
| [09:57:22] |
<asmodai> |
:P |
| [09:57:25] |
<asmodai> |
It's just a PC |
| [09:59:00] |
<asmodai> |
ohhh, today is the LHC day \o/ |
| [09:59:54] |
* |
Tik-Tok has quit IRC |
| [10:01:22] |
<aa_> |
ok, you want monkey patching! |
| [10:02:24] |
<aa_> |
gwt translates java to javascript. And you can define "native" javascript methods in java itself. Since javascript has no member protection etc, you can use it for all sorts of evil |
| [10:03:25] |
<mitsuhiko> |
asmodai: http://ca.youtube.com/watch?v=woO4WKrxXW0 |
| [10:03:27] |
<mitsuhiko> |
first 6 seconds |
| [10:03:29] |
<mitsuhiko> |
where is that from? |
| [10:07:38] |
<asmodai> |
that riff sounds familiar |
| [10:10:14] |
<asmodai> |
http://web.me.com/guriboy/OMGWTF/Blog/Entries/2008/9/9_American_Express_-_Intentionally_weak_password_requirements..html |
| [10:10:17] |
<asmodai> |
rofl |
| [10:14:01] |
<birkenfeld> |
mitsuhiko: how's sphinx js? |
| [10:14:51] |
<mitsuhiko> |
birkenfeld: i'm trying to refactor the builder to generate a searchindex.js right now |
| [10:14:54] |
<asmodai> |
birkje! |
| [10:14:55] |
<mitsuhiko> |
without losing the ability to dump json |
| [10:15:01] |
<asmodai> |
birkenfeld: how far along are you? :) |
| [10:15:03] |
<birkenfeld> |
ah ^^ |
| [10:15:06] |
<asmodai> |
mitsuhiko: btw mstsc? |
| [10:15:16] |
<birkenfeld> |
asmodai: page250 |
| [10:15:19] |
<mitsuhiko> |
asmodai: what's with it? |
| [10:15:26] |
<asmodai> |
you asked me! |
| [10:15:36] |
<mitsuhiko> |
i did? |
| [10:15:44] |
<asmodai> |
< mitsuhiko> asmodai: mstsc? |
| [10:15:53] |
<asmodai> |
last night |
| [10:15:57] |
<mitsuhiko> |
asmodai: oh. s/asmodai/apollo13/ |
| [10:16:20] |
<asmodai> |
ohhh |
| [10:18:04] |
* |
Rogi has quit IRC |
| [10:18:36] |
<asmodai> |
http://www.smashingmagazine.com/2008/09/09/the-hr-contest-results-download-your-fresh-hr-line-now/ |
| [10:18:38] |
<mitsuhiko> |
birkenfeld: i want a searchindex.js but it currently writes a searchindex.json/pickle etc. by just dumping to indexer_format which is a serilization module |
| [10:18:40] |
<asmodai> |
some nice ideas there |
| [10:19:01] |
<birkenfeld> |
mitsuhiko: well, writing a wrapper that has dump/load? |
| [10:19:22] |
<mitsuhiko> |
guess that's the best way |
| [10:21:46] |
* |
Rogi has joined #pocoo |
| [10:23:58] |
* |
Rogi has quit IRC |
| [10:25:24] |
<ivan> |
i'm kind of dumb and can't figure this out easily |
| [10:25:30] |
<ivan> |
is there a way to get the raw headers exactly? |
| [10:25:34] |
<ivan> |
with the \r\n cruft and all |
| [10:26:00] |
<ivan> |
or does the WSGI kill that |
| [10:27:55] |
<mitsuhiko> |
ivan: fortunately wsgi kills that :) |
| [10:28:01] |
<mitsuhiko> |
http header parsing is terrible complex |
| [10:28:16] |
<mitsuhiko> |
actually, the server already kills it |
| [10:28:24] |
<mitsuhiko> |
ivan: why do you need that? |
| [10:29:06] |
<ivan> |
fingerprinting |
| [10:29:39] |
<ivan> |
there's a PHP script that does it based on header order |
| [10:29:49] |
<ivan> |
and i'm doing something similar and wanted to know if WSGI was "crippled" |
| [10:30:43] |
<mitsuhiko> |
ivan: php doesn't have the raw http headers either |
| [10:32:27] |
<ivan> |
you are right, i misassumed |
| [10:35:22] |
<mitsuhiko> |
ivan: the best you can get is request.headers in werkzeug or extracting them from the wsgi env on your own |
| [10:36:31] |
<ivan> |
thanks, will do |
| [10:40:39] |
<ivan> |
yeah, at least in php you get the original header order :) |
| [10:40:44] |
<ivan> |
php strikes again |
| [10:42:53] |
<ivan> |
hm, this php stuff makes no sense |
| [10:45:14] |
* |
davidcramer has quit IRC |
| [10:48:14] |
<mitsuhiko> |
birkenfeld: btw. i fixed a bug in babel, it's now possible to extract _("foo" + "bar") in the js lexer |
| [10:53:18] |
* |
leche has joined #pocoo |
| [10:54:34] |
<leche> |
hey, any idea what this could be? http://rafb.net/p/Dzam1j33.html |
| [10:57:43] |
<asmodai> |
If I say 'a paste' will you kill me? |
| [10:57:53] |
* |
real-dev has joined #pocoo |
| [10:57:58] |
<leche> |
lol |
| [10:58:15] |
<leche> |
no, i got koffee, i wont kill anybody :-) |
| [10:58:21] |
<leche> |
coffee* |
| [10:59:28] |
* |
maze has quit IRC |
| [10:59:29] |
* |
CIA-49 has quit IRC |
| [10:59:29] |
* |
sebner has quit IRC |
| [10:59:29] |
* |
dev has quit IRC |
| [10:59:29] |
* |
damjan has quit IRC |
| [10:59:29] |
* |
TheSheep has quit IRC |
| [10:59:29] |
* |
chrisberlin has quit IRC |
| [10:59:29] |
* |
maddiin has quit IRC |
| [10:59:29] |
* |
KAeL has quit IRC |
| [10:59:29] |
* |
hads has quit IRC |
| [11:00:05] |
* |
real-dev is now known as dev |
| [11:00:24] |
* |
CIA-49 has joined #pocoo |
| [11:00:24] |
* |
sebner has joined #pocoo |
| [11:00:24] |
* |
TheSheep has joined #pocoo |
| [11:00:24] |
* |
maze has joined #pocoo |
| [11:00:24] |
* |
damjan has joined #pocoo |
| [11:00:24] |
* |
hads has joined #pocoo |
| [11:00:24] |
* |
chrisberlin has joined #pocoo |
| [11:00:24] |
* |
maddiin has joined #pocoo |
| [11:00:24] |
* |
KAeL has joined #pocoo |
| [11:07:04] |
* |
maze has quit IRC |
| [11:07:04] |
* |
maddiin has quit IRC |
| [11:07:04] |
* |
chrisberlin has quit IRC |
| [11:07:04] |
* |
hads has quit IRC |
| [11:07:04] |
* |
damjan has quit IRC |
| [11:07:04] |
* |
sebner has quit IRC |
| [11:07:04] |
* |
TheSheep has quit IRC |
| [11:07:04] |
* |
KAeL has quit IRC |
| [11:07:04] |
* |
CIA-49 has quit IRC |
| [11:07:32] |
* |
CIA-49 has joined #pocoo |
| [11:07:33] |
* |
sebner has joined #pocoo |
| [11:07:33] |
* |
TheSheep has joined #pocoo |
| [11:07:33] |
* |
maze has joined #pocoo |
| [11:07:33] |
* |
damjan has joined #pocoo |
| [11:07:33] |
* |
hads has joined #pocoo |
| [11:07:33] |
* |
chrisberlin has joined #pocoo |
| [11:07:33] |
* |
maddiin has joined #pocoo |
| [11:07:33] |
* |
KAeL has joined #pocoo |
| [11:11:58] |
<mitsuhiko> |
birkenfeld: svn up |
| [11:12:18] |
<mitsuhiko> |
i'll try to clean the javascript up a bit later, it's quite chaotic in there :) |
| [11:12:23] |
<mitsuhiko> |
2 or 4 spaces btw? |
| [11:12:30] |
<mitsuhiko> |
we're currently using both ^^ |
| [11:12:54] |
<CIA-49> |
python-doctools: armin.ronacher * r66360 /doctools/trunk/sphinx/ (5 files in 3 dirs): Improved search system. The search index is now a regular javascript file which should speed things up because browsers can cache it. Removed unused code from doctools.js |
| [11:14:35] |
<asmodai> |
4! |
| [11:14:37] |
<asmodai> |
PEP 8 :D |
| [11:15:01] |
<mitsuhiko> |
asmodai: pah. looks ugly in javascript imo :) |
| [11:15:45] |
<asmodai> |
pussy |
| [11:15:59] |
<birkenfeld> |
mitsuhiko: whatever you like best |
| [11:16:09] |
<birkenfeld> |
haha |
| [11:16:20] |
<asmodai> |
birkenfeld: I mean, he asks, then you give an answer and he's like: yeah but that sucks |
| [11:16:28] |
<asmodai> |
so pick the other choice already then *rolls eyes* |
| [11:16:29] |
<mitsuhiko> |
i know ;) |
| [11:16:34] |
* |
asmodai throws peanuts at mitsuhiko |
| [11:16:56] |
<birkenfeld> |
as long as you don't throw rotting oversized dutch tomatoes... |
| [11:19:55] |
<mitsuhiko> |
birkenfeld: your project, your decision :) |
| [11:20:11] |
<birkenfeld> |
mitsuhiko: your javascript files, your decision. use 2 spaces already |
| [11:20:30] |
<mitsuhiko> |
okay :) |
| [11:20:52] |
<mitsuhiko> |
birkenfeld: btw. do you want to search to search in titles before text or an option to only search in titles? |
| [11:21:07] |
<birkenfeld> |
both ^^ |
| [11:21:58] |
<mitsuhiko> |
grml ;) |
| [11:27:48] |
<birkenfeld> |
mitsuhiko: the searchindex is now loaded at page start? |
| [11:28:03] |
<mitsuhiko> |
birkenfeld: i was lazy, i'll move it down later |
| [11:28:07] |
<birkenfeld> |
ok |
| [11:28:57] |
<leche> |
http://rafb.net/p/Dzam1j33.html |
| [11:29:02] |
<leche> |
whats wrong here? |
| [11:31:27] |
<mitsuhiko> |
leche: no idea |
| [11:31:38] |
<leche> |
hmk, thx |
| [11:31:39] |
<mitsuhiko> |
is that a tip version of zine? |
| [11:31:53] |
<leche> |
i think yes |
| [11:31:53] |
<mitsuhiko> |
if yes, i wouldn't wonder. tip is very unstable right now |
| [11:32:10] |
<leche> |
but i didnt touch it for days |
| [11:36:32] |
* |
leche has quit IRC |
| [11:37:36] |
<mitsuhiko> |
"under under name or double under or d-under how i call it". dunder module, dunder name |
| [11:37:48] |
<mitsuhiko> |
-- alex martelli |
| [11:37:50] |
<mitsuhiko> |
that's nice :) |
| [11:44:17] |
* |
bake_a_cake has joined #pocoo |
| [11:55:11] |
<asmodai> |
bake_a_cake: You're a lie. |
| [12:08:57] |
<aat> |
heh |
| [12:09:42] |
<asmodai> |
aat! |
| [12:09:46] |
<asmodai> |
Where YOU been hiding? |
| [12:12:21] |
<ronny> |
moin |
| [12:12:23] |
<asmodai> |
you did see this one I guess http://img220.imageshack.us/my.php?image=hlhk9.jpg |
| [12:13:25] |
<maze> |
http://blog.reddit.com/2008/09/crowbar-headcrab-and-half-life-strategy.html |
| [12:15:29] |
<asmodai> |
yeah, saw that |
| [12:15:55] |
<maze> |
it's hilarious :) |
| [12:17:30] |
<mitsuhiko> |
i wonder where they've got the headcrab |
| [12:17:52] |
<mitsuhiko> |
http://store.valvesoftware.com/productshowcase/productshowcase_HL2HeadCrabHat!.html |
| [12:17:53] |
<mitsuhiko> |
nice :D |
| [12:19:10] |
<asmodai> |
I wanted the weighted companion cube |
| [12:19:21] |
<asmodai> |
<3 |
| [12:21:59] |
<aat> |
asmodai: how you doing? |
| [12:22:17] |
<asmodai> |
aat: Pretty decent! Girl's arriving tomorrow afternoon. |
| [12:22:30] |
<asmodai> |
So I'll have about 10 days of holiday lined up |
| [12:23:00] |
<aat> |
japan girl from way back? |
| [12:23:24] |
<asmodai> |
Girl I met when my ex and me broke up a year and a half ago, before my emotional chains dragged me back to said ex. |
| [12:23:34] |
<asmodai> |
aat: http://www.in-nomine.org/~asmodai/makiko1.jpg |
| [12:23:41] |
<aat> |
aah, so not the ex then :) |
| [12:23:51] |
<asmodai> |
oh no |
| [12:24:02] |
<aat> |
awesome! where in japan is she from? |
| [12:24:09] |
<asmodai> |
Osaka |
| [12:24:17] |
<aat> |
i've been there!!! |
| [12:24:20] |
<asmodai> |
Which is quite nice, since I like the kansai area |
| [12:25:44] |
<asmodai> |
I speak a bit of kansaiben and osakaben (dialect of Japanese). |
| [12:26:30] |
<aat> |
how different is it? |
| [12:27:01] |
<asmodai> |
mmm, noticeable different |
| [12:27:11] |
<asmodai> |
normal Japanese (tokyoben) would be something like: |
| [12:27:14] |
<asmodai> |
sou desu ka |
| [12:27:19] |
<asmodai> |
kansai would be: sou dekka |
| [12:28:10] |
<asmodai> |
nihongo-wo hanashimasu ka? (do you speak japanese) -> |
| [12:28:19] |
<asmodai> |
nihongo-wo hanashimakka? |
| [12:28:48] |
<asmodai> |
normally people use baka playfully to others as 'silly, idiot' |
| [12:28:58] |
<asmodai> |
in kansai you use aho, baka is quite an insult |
| [12:29:02] |
<aat> |
not really, only tourist japanese |
| [12:29:08] |
<asmodai> |
sore -> sora |
| [12:31:00] |
<asmodai> |
aat: oh, you can use baka playfully, but in informal settings and depending on the tone and all that |
| [12:32:07] |
<asmodai> |
sou desu -> sou yanen |
| [12:32:14] |
<asmodai> |
hontoni -> honma kaina |
| [12:32:25] |
<asmodai> |
and honto stays honma ;) |
| [12:38:14] |
<birkenfeld> |
re |
| [12:38:28] |
<asmodai> |
:) |
| [12:39:54] |
<asmodai> |
~the friend of the devil is a friend of mine~ |
| [12:44:34] |
<mitsuhiko> |
i'm too stupid for search :) |
| [12:44:43] |
<asmodai> |
that's ok |
| [12:44:50] |
<asmodai> |
you cannot be very good at everything. |
| [12:45:07] |
<mitsuhiko> |
lol: http://hasthelargehadroncolliderdestroyedtheworldyet.com/ |
| [12:47:36] |
<aat> |
hahaha |
| [12:47:41] |
<asmodai> |
that's odd |
| [12:47:45] |
<asmodai> |
someone in another channel gave me this |
| [12:47:46] |
<asmodai> |
http://www.hasthelhcdestroyedtheearth.com/ |
| [12:48:47] |
<asmodai> |
but |
| [12:48:50] |
<asmodai> |
if it did |
| [12:48:54] |
<asmodai> |
would you have time to adjust that page? |
| [12:49:13] |
<aat> |
this comment in the first one: |
| [12:49:14] |
<aat> |
<!-- if the lhc actually destroys the earth & this page isn't yet updated |
| [12:49:14] |
<aat> |
please email mike@frantic.org to receive a full refund --> |
| [12:49:19] |
<asmodai> |
lol |
| [12:49:32] |
<aat> |
and it has an atom feed! |
| [12:49:42] |
<aat> |
presumably so you can subscribe to said events |
| [12:53:42] |
<ronny> |
apollo13: i need some help for understanding git ls-files |
| [12:56:28] |
* |
v2punkt0 has joined #pocoo |
| [12:57:06] |
<v2punkt0> |
hi, is zine == textpress? |
| [12:57:28] |
<ronny> |
v2punkt0: yup |
| [12:57:31] |
<ronny> |
v2punkt0: got renamed |
| [12:57:38] |
<v2punkt0> |
k |
| [12:58:46] |
<v2punkt0> |
it's useable so far or really on the bloody edge? just want to set up an blog and cant decide yet which system to use |
| [12:58:54] |
<asmodai> |
Next release we will take a new name. |
| [12:59:13] |
<asmodai> |
and then a new one and a new one |
| [13:02:29] |
* |
leche has joined #pocoo |
| [13:07:27] |
<aa_> |
v2punkt0: I use r265, it's very very stable |
| [13:08:07] |
<aa_> |
current tip is like 493 or something :) |
| [13:08:45] |
<aa_> |
not suggesting you do the same, or anything, but :) |
| [13:10:12] |
<asmodai> |
I was using textpress until I upgraded werkzeug |
| [13:10:16] |
<asmodai> |
then things went boom |
| [13:10:21] |
<aat> |
why was it renamed? |
| [13:10:31] |
<asmodai> |
aat: too much like wordpress |
| [13:10:41] |
<asmodai> |
but he picked a name that's so darn generic |
| [13:10:57] |
<asmodai> |
I officially took mitsuhiko off of my christmas card list after I gave him dozens of name proposals |
| [13:11:08] |
<asmodai> |
And he still picked this unimaginative name. |
| [13:11:14] |
<asmodai> |
</3 and all that |
| [13:12:53] |
* |
mitsuhiko removes asmodai from his christmas card list |
| [13:13:05] |
<asmodai> |
mitsuhiko: hahaha |
| [13:13:12] |
<asmodai> |
I was still on there? |
| [13:15:25] |
<mitsuhiko> |
surely :) |
| [13:15:32] |
<asmodai> |
\o/ |
| [13:27:09] |
<CIA-49> |
python-doctools: armin.ronacher * r66361 /doctools/trunk/sphinx/ (templates/search.html static/searchtools.js search.py): Moved searchindex to the bottom to not lock the search page, prepared index for title searching. |
| [13:28:34] |
<aa_> |
zine is a pretty good name though |
| [13:28:41] |
<aa_> |
not as good as "blogasm" |
| [13:28:52] |
<aa_> |
by half! |
| [13:40:49] |
<Leonidas> |
wow. the gnomecanvas documentation is crap. |
| [13:41:19] |
<Leonidas> |
and half of it does not apply to the python binding, where only one third of everything is implemented. |
| [13:42:19] |
<mitsuhiko> |
ROOOOFL: http://www.spiegel.de/video/video-35843.html |
| [13:47:26] |
<asmodai> |
dem schwarzem Loch? mmm, I guess that works |
| [13:51:26] |
<mitsuhiko> |
the moment where he takes the knife and stabs the earth is hilarious :) |
| [13:52:01] |
<aa_> |
Leonidas: I heard some people were using goocanvas |
| [13:53:03] |
<Leonidas> |
aa_: there are dozens of canvas widgets, http://live.gnome.org/ProjectRidley/CanvasOverview Currently I need something that is at least a bit popular, so gnomecanvas. |
| [13:53:23] |
<Leonidas> |
But at the moment I have another problem, not canvas related. |
| [13:55:42] |
* |
rafael_ has joined #pocoo |
| [13:56:06] |
* |
rafael_ is now known as rafael |
| [13:59:21] |
<rafael> |
hiho |
| [14:04:01] |
<CIA-49> |
Jinja 2: mitsuhiko trunk * 562:6e7719a9941b / (CHANGES jinja2/lexer.py tests/test_syntax.py): It's now possible to use ``{{ foo.0.0 }}`` |
| [14:04:11] |
* |
mitsuhiko <3 sre |
| [14:08:04] |
<Leonidas> |
yay! foo.0.o |
| [14:09:18] |
<asmodai> |
0.0 |
| [14:09:38] |
<mitsuhiko> |
xorAxAx: hab gerade nir soffer auf reddit entdeckt :) |
| [14:09:44] |
<mitsuhiko> |
zumindest glaub ich, dass er das ist |
| [14:19:39] |
<rafael> |
mitsuhiko: the zine parser engine isnt refactured yet, isn't it? |
| [14:19:56] |
<mitsuhiko> |
nope |
| [14:20:36] |
<rafael> |
so where can i help zine? |
| [14:21:49] |
<mitsuhiko> |
rafael: port forms in the admin panel to the new form validation system |
| [14:22:08] |
<mitsuhiko> |
there are already three example forms in zine.forms |
| [14:24:23] |
<asmodai> |
http://iftheworldcouldvote.com/ |
| [14:26:20] |
<xorAxAx> |
mitsuhiko: und, rantet er rum? :) |
| [14:28:04] |
<mitsuhiko> |
xorAxAx: verteidigt apple |
| [14:29:07] |
<xorAxAx> |
aso |
| [14:29:30] |
<prencher> |
just in case you're not sure, http://www.hasthelhcdestroyedtheearth.com/ |
| [14:29:36] |
<prencher> |
can use that to check |
| [14:29:47] |
<birkenfeld> |
prencher: rofl |
| [14:29:48] |
* |
asmodai points prencher a bit higher up in the log |
| [14:30:00] |
<prencher> |
hey screw you i was sleeping asmodai |
| [14:30:01] |
<asmodai> |
around 12:45 :P |
| [14:30:07] |
<asmodai> |
tsss |
| [14:30:08] |
<asmodai> |
slacker |
| [14:30:18] |
<birkenfeld> |
oh, sorry |
| [14:30:22] |
<birkenfeld> |
asmodai: rofl, then |
| [14:30:29] |
<asmodai> |
http://www.hasthelhcdestroyedtheearth.com/ http://hasthelargehadroncolliderdestroyedtheworldyet.com/ |
| [14:32:04] |
<asmodai> |
Greasemetal is a userscript runtime for Google Chrome. The runtime hosts userscripts (tiny javascript files that modify the webpages being displayed) to be executed on Google Chrome, similar to what Greasemonkey does for Mozilla Firefox, or Greasekit does for Safari. |
| [14:32:24] |
<prencher> |
oh sweet, the second one has a feed |
| [14:32:57] |
<prencher> |
asmodai - so wheres greasemetal-adblock? |
| [14:33:03] |
<prencher> |
until that becomes available, chrome is useless |
| [14:33:11] |
<asmodai> |
http://greasemetal.31tools.com/ |
| [14:34:43] |
<prencher> |
the other part is.. to use search autocompletion, it has to send everything typed in the history bar to google (or another provider) .. unlike suggestions in e.g. firefox which is search box only |
| [14:35:25] |
<prencher> |
not that i care about zomgprivacy, but.. firefoxes 'awesomebar' seems faster because of it, at least here |
| [14:36:07] |
<asmodai> |
mitsuhiko: your next project will be called 'Mr Miyagi' |
| [14:40:30] |
<birkenfeld> |
mitsuhiko: do you know how to split _(strings) so that the lines don't get that long? |
| [14:40:45] |
<mitsuhiko> |
birkenfeld: see above |
| [14:40:58] |
<mitsuhiko> |
[10:48] <mitsuhiko> birkenfeld: btw. i fixed a bug in babel, it's now possible to extract _("foo" + "bar") in the js lexer |
| [14:41:27] |
<birkenfeld> |
ah |
| [14:41:29] |
<birkenfeld> |
didn't see that |
| [14:41:41] |
<birkenfeld> |
asmodai: I hope I am still on your christmas card list... |
| [14:42:26] |
<asmodai> |
birkenfeld: :D |
| [14:43:46] |
<mitsuhiko> |
wtf. cern on twitter? |
| [14:43:47] |
<mitsuhiko> |
http://twitter.com/cern/statuses/916122478 |
| [14:44:55] |
<asmodai> |
"started LHC" |
| [14:45:01] |
<rafael> |
mitsuhiko: how to make a select field? i would guess SelectBox.. but where to put the choices? |
| [14:45:10] |
<asmodai> |
"Still alive, no resonance cascade" |
| [14:45:17] |
<mitsuhiko> |
rafael: static or dynamic choices? |
| [14:45:18] |
<asmodai> |
"computer started talking" |
| [14:45:56] |
<mitsuhiko> |
"headcrabs are eating our leading scientists" |
| [14:46:10] |
<rafael> |
mitsuhiko: what do you mean with it? i mean http://dev.pocoo.org/projects/zine/browser/zine/templates/admin/basic_options.html#L19 |
| [14:46:33] |
<mitsuhiko> |
rafael: i just wanted to know if the choices are set if the form is initialized or before |
| [14:46:34] |
<mitsuhiko> |
sec |
| [14:47:03] |
<asmodai> |
"no sign of Gordon Freeman" |
| [14:47:21] |
<asmodai> |
birkenfeld: http://code.google.com/p/stringencoders/ would that be interesting for Python's core? |
| [14:47:38] |
<mitsuhiko> |
rafael: http://paste.pocoo.org/show/84914/ |
| [14:48:26] |
<rafael> |
mitsuhiko: ah. thanks |
| [14:48:32] |
<mitsuhiko> |
# fast ascii upper/lower case conversion, 2-66x faster than stdlib! (yes, 66x faster) |
| [14:48:55] |
<mitsuhiko> |
*which* stdlib :) |
| [14:49:03] |
<asmodai> |
gnu libc of course :P |
| [14:49:29] |
<mitsuhiko> |
apparently not: http://code.google.com/p/stringencoders/wiki/PerformanceAscii |
| [14:49:32] |
<mitsuhiko> |
what's g4? |
| [14:49:36] |
<asmodai> |
a CPU |
| [14:49:46] |
<asmodai> |
PowerPC G4 |
| [14:50:27] |
<mitsuhiko> |
sure. but no compiler listed |
| [15:07:00] |
<rafael> |
mitsuhiko: in BasicOptionsForm i have to check if self.user.is_admin havent i? |
| [15:07:18] |
<mitsuhiko> |
rafael: no |
| [15:07:25] |
<mitsuhiko> |
rafael: why is there self.user anyways? |
| [15:07:33] |
<mitsuhiko> |
you don't need the user there |
| [15:07:44] |
<mitsuhiko> |
rafael: @require_role(ROLE_ADMIN) |
| [15:07:50] |
<rafael> |
mitsuhiko: but its also in NewCommentForm |
| [15:07:52] |
<mitsuhiko> |
that on the view function already ensures that the user is an admin |
| [15:07:57] |
<mitsuhiko> |
rafael: that's a different story |
| [15:08:02] |
<rafael> |
ok |
| [15:08:04] |
<mitsuhiko> |
that form is used in the blog by admins and non admins |
| [15:08:17] |
<mitsuhiko> |
that's a lot more complex :) |
| [15:11:08] |
<rafael> |
mitsuhiko: is there a list_all_languages function somewhere? |
| [15:11:29] |
<mitsuhiko> |
rafael: sure, just look into the existing hand written form validation code |
| [15:11:31] |
<mitsuhiko> |
that calls it |
| [15:11:44] |
<mitsuhiko> |
probably zine.i18n.list_languages |
| [15:14:47] |
<CIA-49> |
Zine: mitsuhiko default * 495:6a7e53dbdfc5 /zine/ (10 files in 5 dirs): Removed widget configuration code, akismet plugin uses form validation system now. |
| [15:18:23] |
* |
pocoo has joined #pocoo |
| [15:20:52] |
* |
rafael has quit IRC |
| [15:21:01] |
* |
pjenvey has quit IRC |
| [15:21:05] |
* |
pjenvey has joined #pocoo |
| [15:21:16] |
* |
mq has quit IRC |
| [15:21:19] |
* |
mq has joined #pocoo |
| [15:29:47] |
<CIA-49> |
Zine: mitsuhiko default * 497:82f10950077d / (3 files in 2 dirs): Fixed forms/validator unittests |
| [15:52:37] |
<Leonidas> |
Am I the only one who thinks that http://arstechnica.com/journals/linux.ars/2008/09/09/ars-at-djangocon-what-django-can-learn-from-zope sounds pathetic? |
| [15:59:36] |
<Leonidas> |
apollo13: let me know if you have a generic-admin. Then I could drop basically all of Django and change ship. To Werkzeug/Glasshammer or Pylons. |
| [16:05:08] |
* |
prencher has quit IRC |
| [16:07:21] |
* |
prencher has joined #pocoo |
| [16:10:21] |
* |
marchon has joined #pocoo |
| [16:30:38] |
<ivan> |
why not use django admin but not django? |
| [16:31:07] |
<ivan> |
it's just an interface to your database with semi-outdated model cruft |
| [16:36:25] |
<mitsuhiko> |
gnabber: http://www.rediff.com/news/2008/sep/10end.htm |
| [16:36:39] |
<mitsuhiko> |
that's ridiculous |
| [16:36:44] |
<mitsuhiko> |
well done media |
| [16:38:01] |
<plaes> |
heh.. she was a bit too anxious.. |
| [16:39:41] |
* |
_paneb has joined #pocoo |
| [16:43:45] |
* |
marchon has quit IRC |
| [16:43:47] |
<ivan> |
wow not so soon let the LHC do the killing |
| [16:44:10] |
<_paneb> |
i read an blog post about werkzeug being an anti-framework (as opposed to pylons being a framework) - can someone clarify what is meant? |
| [16:44:53] |
<mitsuhiko> |
_paneb: best explained with the "hollywood principle" |
| [16:44:59] |
<mitsuhiko> |
a framework calls you |
| [16:45:03] |
<mitsuhiko> |
but you call a library |
| [16:45:48] |
<mitsuhiko> |
in pylons you have a ready made system where you add a controller with methods and the framework calls them |
| [16:46:05] |
<_paneb> |
right |
| [16:46:06] |
<ivan> |
in practice you get to decide how your response dispatcher works and don't get any crappy design decisions rammed down your throat |
| [16:46:41] |
<asmodai> |
oh nice |
| [16:46:48] |
<asmodai> |
Issue #3811: The Unicode database was updated to 5.1. |
| [16:58:30] |
* |
[diecast] has quit IRC |
| [16:59:06] |
* |
Rogi has joined #pocoo |
| [17:09:47] |
<_paneb> |
how do i get access to the Content-type header that came with a request? |
| [17:11:47] |
<birkenfeld> |
mitsuhiko: hear, hear |
| [17:11:52] |
<birkenfeld> |
(coderay) |
| [17:14:15] |
* |
[diecast] has joined #pocoo |
| [17:15:55] |
<mitsuhiko> |
birkenfeld: hah |
| [17:17:13] |
* |
Rogi has quit IRC |
| [17:20:04] |
<_paneb> |
i just use the request.headers to access it? |
| [17:20:20] |
<mitsuhiko> |
_paneb: request.headers['Content-Type'] |
| [17:22:32] |
* |
Kaelten has joined #pocoo |
| [17:33:56] |
* |
Tik-Tok has joined #pocoo |
| [18:02:40] |
* |
Rogi has joined #pocoo |
| [18:31:19] |
<mitsuhiko> |
birkenfeld: why have you visited the coderay website? :) |
| [18:31:24] |
<mitsuhiko> |
out of curiosity? |
| [18:32:50] |
<apollo13> |
Leonidas: of course, but I might need help ;) |
| [18:33:02] |
<apollo13> |
and it would be very basic for the beginning |
| [18:37:35] |
* |
leche has quit IRC |
| [18:45:46] |
* |
stifal has joined #pocoo |
| [18:47:09] |
<birkenfeld> |
mitsuhiko: I got a mail |