| [00:10:56] |
* |
davidcramer has joined #pocoo |
| [00:12:12] |
* |
jpcw2002 has quit IRC |
| [00:41:59] |
* |
Kaelten has quit IRC |
| [00:59:23] |
* |
thatch has quit IRC |
| [02:14:50] |
* |
leche has quit IRC |
| [02:56:00] |
* |
Kaelten has joined #pocoo |
| [03:16:18] |
* |
aconbere_ has joined #pocoo |
| [03:24:31] |
* |
thatch has joined #pocoo |
| [03:34:24] |
* |
Kaelten has quit IRC |
| [03:47:48] |
* |
Kaelten has joined #pocoo |
| [04:28:54] |
* |
mhansen has joined #pocoo |
| [04:29:35] |
<mhansen> |
Hello all, I was wondering if there's a way to define global substitutions and references in Sphinx. |
| [04:58:04] |
* |
Baumichel has quit IRC |
| [05:41:42] |
* |
davidcramer has quit IRC |
| [05:46:48] |
* |
pete__c has joined #pocoo |
| [05:48:59] |
* |
davidcramer has joined #pocoo |
| [05:57:16] |
* |
pete__c_ has quit IRC |
| [06:32:39] |
* |
pete__c has quit IRC |
| [06:32:44] |
* |
pete__c has joined #pocoo |
| [07:44:47] |
* |
davidcramer has quit IRC |
| [07:50:45] |
* |
davidcramer has joined #pocoo |
| [07:51:07] |
* |
jpcw2002 has joined #pocoo |
| [07:57:09] |
* |
davidcramer has joined #pocoo |
| [08:26:17] |
* |
CIA-49 has quit IRC |
| [08:46:37] |
* |
leche has joined #pocoo |
| [08:46:55] |
* |
mhansen_ has joined #pocoo |
| [08:48:30] |
<leche> |
morning |
| [08:48:35] |
<leche> |
"Error: The plugin guard detected that the plugin “Milk Theme” causes problems (No module named milk_theme in /home/milk/zine-leche/zine-main/zine/pluginsystem.py, line 134) and deactivated it. If you want to debug it, disable the plugin guard." whats wrong here? i copied the theme to my instance/plugins dir and wanted to edit it. i changed the metadata.txt and the __init__.py |
| [08:48:58] |
<leche> |
traceback: http://rafb.net/p/pqFuRu37.html |
| [08:49:24] |
<davidcramer> |
adding composite primary keys to django = most difficult task in my life |
| [08:52:05] |
* |
mhansen has quit IRC |
| [08:55:37] |
<birkenfeld> |
mhansen_: no, not really |
| [08:57:19] |
<birkenfeld> |
mhansen_: (for global substitutions) |
| [08:57:25] |
<birkenfeld> |
I'm not sure what you mean by global references |
| [08:59:34] |
<mhansen_> |
Having one rst file where you define things like ".. [Python] http://www.python.org" and be able to use it in multiple rest files. The same thing with ".. |foo|" substitutions. |
| [09:03:22] |
<birkenfeld> |
mhansen_: the references are planned |
| [09:03:47] |
<birkenfeld> |
the substitutions could be done easily too -- would you prefer defining them in a source file, or in the conf.py file? |
| [09:04:35] |
<mhansen_> |
Either is fine. |
| [09:07:19] |
<mhansen_> |
If there's already something planned for the references, handling the substitutions in a similar manner would seem to make the most sense. (But, I haven't thought of it from an implementation point of view.) |
| [09:08:47] |
<davidcramer> |
mitsuhiko: did you decide about including that template tag as a built-in (capture) btw ? |
| [09:08:55] |
<birkenfeld> |
mhansen_: quite right |
| [09:09:20] |
<birkenfeld> |
mhansen_: the difference is that references will show up at the place they're in the source file |
| [09:10:02] |
<mhansen_> |
Ahh, I see. |
| [09:10:10] |
* |
aconbere_ has quit IRC |
| [09:11:49] |
* |
CIA-49 has joined #pocoo |
| [09:14:30] |
<mitsuhiko> |
davidcramer: nope. won't happen |
| [09:14:56] |
<mitsuhiko> |
leche: disable the plugin guard and debug it |
| [09:15:34] |
<leche> |
mitsuhiko: i did, the traceback is the result of it |
| [09:16:08] |
<mitsuhiko> |
the traceback said you do "import milk_theme" somewhere |
| [09:16:20] |
<mitsuhiko> |
do you? |
| [09:16:40] |
<mitsuhiko> |
or "from milk_theme import ..." |
| [09:18:17] |
<david`bgk> |
hello, we're thinking about switching from django templates to jinja for a big project, how hard is it to rewrite all templates? are there any utilities to help? |
| [09:18:41] |
<mitsuhiko> |
david`bgk: how many custom tags? |
| [09:19:29] |
<david`bgk> |
a lot, about 100 |
| [09:19:36] |
<mitsuhiko> |
wow |
| [09:20:03] |
<mitsuhiko> |
i've never seen more than say 20 of these little buggers in one project :) |
| [09:20:22] |
<leche> |
mitsuhiko: i just changed some values in __init__.py and the metadata.. the plugin is recognized by the pluginsystem, but theres no module.. i have no idea what could be wrong here. do i have to create a module and copy it somewhere? |
| [09:20:23] |
<mitsuhiko> |
david`bgk: you *could* fully automate the process |
| [09:20:41] |
<mitsuhiko> |
leche: can you paste the __init__.py code? |
| [09:20:42] |
<david`bgk> |
there are about 30 of them just for rendering dates |
| [09:20:50] |
<leche> |
sure |
| [09:21:10] |
<mitsuhiko> |
david`bgk: django's template system is just a large ast evaluation thingy |
| [09:21:15] |
<mitsuhiko> |
(ast stands for abstract syntax tree) |
| [09:21:23] |
* |
andihit has joined #pocoo |
| [09:21:29] |
<mitsuhiko> |
because of that you can fully reverse the process and create template code out of django ast nodes |
| [09:21:40] |
<mitsuhiko> |
(if you write a ast -> jinja converter) |
| [09:21:46] |
* |
andihit has quit IRC |
| [09:22:07] |
* |
andihit has joined #pocoo |
| [09:22:28] |
<david`bgk> |
ok, and no one had already done that I guess (ping davidcramer :) |
| [09:22:31] |
<leche> |
mitsuhiko: http://rafb.net/p/c1mw7v96.html |
| [09:23:07] |
<mitsuhiko> |
david`bgk: most of the project i know switched either a) pretty early, b) converted manually over a week or more, c) never had that much tags |
| [09:23:13] |
<davidcramer> |
O.o |
| [09:23:24] |
<davidcramer> |
what'd i do |
| [09:24:02] |
<birkenfeld> |
mhansen_: I've written a mail to the list, let's see what people prefer |
| [09:24:12] |
<leche> |
mitsuhiko: i took the myrtle theme |
| [09:24:24] |
<mitsuhiko> |
leche: that should work |
| [09:24:30] |
<david`bgk> |
davidcramer, I just wonder if you already switch from django templates to jinja with an existing project and if you automatize the process |
| [09:24:32] |
<mitsuhiko> |
checked the permissions of the files? |
| [09:24:46] |
<davidcramer> |
if by automatize you mean find/replace a bunch of crap, ya :P |
| [09:24:52] |
<david`bgk> |
mitsuhiko, thanks for your answer |
| [09:24:55] |
<davidcramer> |
i use jinja from the start ever since curse |
| [09:25:16] |
<mhansen_> |
birkenfeld: Great, thanks. |
| [09:26:01] |
<leche> |
mitsuhiko: the apache user can read and write |
| [09:26:19] |
<leche> |
(its kolab-n here, but thats the apache user) |
| [09:26:20] |
<mitsuhiko> |
leche: try to import the application from the zine shell |
| [09:26:24] |
<david`bgk> |
if there is not yet a big switch, that could be interesting to provide a real benchmark :) |
| [09:26:49] |
<mitsuhiko> |
david`bgk: i think i can bootstrap a module for automatic conversion with some hooks so that you can put your custom tags in |
| [09:27:30] |
<david`bgk> |
oh yes, really appreciated |
| [09:27:33] |
<leche> |
source the /bin/activate yes? |
| [09:29:18] |
<mitsuhiko> |
leche: if you have a venv yes |
| [09:29:21] |
<mitsuhiko> |
and then ./scripts/shell |
| [09:30:56] |
* |
CIA-49 has quit IRC |
| [09:32:06] |
<leche> |
mitsuhiko: http://rafb.net/p/oGrorV36.html |
| [09:32:32] |
<mitsuhiko> |
leche: that won't work |
| [09:32:43] |
<mitsuhiko> |
"from zine.plugins import milk_theme" |
| [09:32:46] |
<mitsuhiko> |
that should |
| [09:33:05] |
<leche> |
yes, that worked |
| [09:33:37] |
<mitsuhiko> |
that's what zine is executing on plugin setup |
| [09:33:58] |
<leche> |
any way i can prove that the module is loaded? |
| [09:34:05] |
<leche> |
correctly? |
| [09:34:21] |
<mitsuhiko> |
leche: activate the plugin the config |
| [09:34:26] |
<mitsuhiko> |
then open the shell again and execute this: |
| [09:34:39] |
<mitsuhiko> |
app.plugins['milk_theme'].active |
| [09:34:47] |
<mitsuhiko> |
if that prints True the plugin was loaded successfully |
| [09:35:14] |
<leche> |
disable the plugin guard before? |
| [09:36:22] |
<leche> |
>>> app.plugins['milk_theme'].active |
| [09:36:22] |
<leche> |
True |
| [09:37:56] |
<mitsuhiko> |
so if it works from the shell, it should work in the server too |
| [09:38:12] |
<mitsuhiko> |
unless of course your server has a different python environment, zine version or i don't know what |
| [09:39:36] |
<leche> |
mitsuhiko: ok, i could activate the plugin now, but why did the plugin guard say those strange things? |
| [09:46:43] |
<mitsuhiko> |
because they were true at the time it was loading the plugin |
| [09:46:53] |
<mitsuhiko> |
why that was the case, you have to figure out for yourself |
| [09:47:11] |
<mitsuhiko> |
usually caused because the plugin crashed on setup or the module was inproperly named or something similar |
| [09:47:21] |
<mitsuhiko> |
maybe also you changed the iid of the application, i don't know |
| [09:51:44] |
<leche> |
ok, thanks |
| [10:57:32] |
<mitsuhiko> |
david`bgk: woa. you made me find another django template engine thread insafety :-/ |
| [10:57:46] |
<mitsuhiko> |
that whole thing is ridiculous |
| [10:58:16] |
<david`bgk> |
mitsuhiko, you are already working on the bootstrap? |
| [10:58:20] |
<mitsuhiko> |
yep |
| [10:58:26] |
<david`bgk> |
great :) |
| [11:00:33] |
<mitsuhiko> |
david`bgk: http://www.bitbucket.org/mitsuhiko/jinja2-main/src/649b9abccee4/ext/django2jinja/django2jinja.py |
| [11:01:47] |
<david`bgk> |
thanks! |
| [11:02:00] |
<mitsuhiko> |
it's a first attempt, feel free to improve it |
| [11:03:28] |
<davidcramer> |
lol |
| [11:03:34] |
<davidcramer> |
did you just write that? |
| [11:03:47] |
<mitsuhiko> |
yes? |
| [11:04:00] |
<davidcramer> |
you are nuts, you know? :) |
| [11:04:04] |
<mitsuhiko> |
^^ |
| [11:04:29] |
<david`bgk> |
100lines/hour wow :) |
| [11:04:32] |
* |
mitsuhiko has a "i don't file django template engine bugs any more" policy |
| [11:04:43] |
<davidcramer> |
haha |
| [11:04:52] |
<davidcramer> |
want to finish composite pks for me? |
| [11:04:56] |
<davidcramer> |
im [----] close |
| [11:04:58] |
<mitsuhiko> |
nope |
| [11:05:11] |
<mitsuhiko> |
i have to finish the sphixn thing now or georg kills me |
| [11:05:53] |
<asmodai> |
so, who remembers Bigfoot (the website) |
| [11:06:13] |
<birkenfeld> |
mitsuhiko: I'll kill my unibib first |
| [11:06:22] |
<davidcramer> |
i do |
| [11:06:27] |
<mitsuhiko> |
birkenfeld: why? |
| [11:06:30] |
<birkenfeld> |
guess how they provide ebooks? |
| [11:06:32] |
<davidcramer> |
i dont remember what they did tho |
| [11:06:48] |
<birkenfeld> |
each page is a separate PDF, and you have to use a web interface that uses javascript to browse it |
| [11:07:19] |
<birkenfeld> |
of course, that makes it unusable if you don't have a working PDF browser plugin |
| [11:11:11] |
<birkenfeld> |
of course, the file names of each PDF are made unpredictable by some form of junk so that you can't mass-download them easily |
| [11:11:17] |
* |
birkenfeld hits head on desk |
| [11:12:39] |
* |
birkenfeld opens firebug |
| [11:12:44] |
<apollo13> |
lol |
| [11:12:48] |
<saptah> |
http://es.youtube.com/watch?v=i6Fr65PFqfk --> Why I hate django. |
| [11:12:52] |
<apollo13> |
I really feel the pain |
| [11:13:06] |
<leche> |
mitsuhiko: im still getting the same errormessages. im going to edit a theme in the venv dir, although its dirty |
| [11:13:34] |
<mitsuhiko> |
birkenfeld: :D |
| [11:14:48] |
<apollo13> |
cal henderson is genious |
| [11:24:41] |
<davidcramer> |
django is a good framework |
| [11:24:50] |
<davidcramer> |
end of story :) |
| [11:25:05] |
<davidcramer> |
i honestly dont know of anything better (thats in lamp architecture) |
| [11:25:15] |
<davidcramer> |
but ya his talk was good |
| [11:31:01] |
<ronny> |
django obliviously cant scale and has hard bugs |
| [11:31:15] |
<asmodai> |
That too. |
| [11:38:11] |
<davidcramer> |
what can scale though? |
| [11:38:25] |
<davidcramer> |
I would say Django manages it a lot better than many if not all of the other frameworks |
| [11:39:01] |
<davidcramer> |
you can even write sharding without *too* much code now |
| [11:39:05] |
<davidcramer> |
since qsrf |
| [11:39:12] |
<davidcramer> |
(i only found this out since i've gone through hell digging into the internals) |
| [11:41:28] |
<birkenfeld> |
mitsuhiko: argl |
| [11:41:49] |
<mitsuhiko> |
birkenfeld: what have you found out? :D |
| [11:42:01] |
<birkenfeld> |
http://paste.pocoo.org/show/85404/ |
| [11:42:43] |
<birkenfeld> |
since we have to access the ebooks via our rechenzentrum, but they are on another server, all that javascript is PROXIED |
| [11:46:27] |
<birkenfeld> |
_proxy_jslib_assign('', _proxy_jslib_handle(_proxy_jslib_handle(null, 'parent', parent), 'location', ''), 'href', '=', ( refurl)); |
| [11:46:42] |
<birkenfeld> |
is that perverse or is that perverse? |
| [11:52:18] |
* |
maze_ has joined #pocoo |
| [11:55:10] |
<birkenfeld> |
hmm |
| [11:56:04] |
<davidcramer> |
that makes me want to tear out my eyes birkenfeld |
| [11:56:07] |
<davidcramer> |
how can you read that :P |
| [11:56:20] |
<apollo13> |
no chance to download the pages and merge them? |
| [11:57:13] |
<birkenfeld> |
apollo13: just doing that |
| [11:57:38] |
<birkenfeld> |
apollo13: only problem, each page has 100 kb due to embedded fonts |
| [11:57:49] |
<apollo13> |
:/ |
| [11:57:55] |
<birkenfeld> |
and it seems that merging the pages duplicates those fonts |
| [11:58:14] |
<birkenfeld> |
at least when using pdflatex+pdfpages |
| [11:58:19] |
* |
maze has quit IRC |
| [11:58:27] |
<birkenfeld> |
do you know another way to merge pdfs? |
| [11:58:34] |
<birkenfeld> |
(without converting to ps first...) |
| [11:58:53] |
<apollo13> |
pdfmerge? |
| [11:59:03] |
<apollo13> |
but don't ask me what it's doing internallty |
| [11:59:08] |
<apollo13> |
-t |
| [11:59:24] |
<birkenfeld> |
which package is that? |
| [11:59:48] |
<apollo13> |
pdfjam |
| [11:59:53] |
<apollo13> |
- pdfjoin concatenates multiple PDF documents |
| [11:59:55] |
<apollo13> |
it was called |
| [12:00:00] |
<birkenfeld> |
ah, nice |
| [12:00:14] |
<birkenfeld> |
let's try |
| [12:01:03] |
<mitsuhiko> |
birkenfeld: that *is* ridiculous |
| [12:01:12] |
<mitsuhiko> |
who comes up with something like that? Oo |
| [12:01:17] |
<mitsuhiko> |
that's worse than scribed |
| [12:03:59] |
<birkenfeld> |
apollo13: turns out pdfjoin uses pdfpages :) |
| [12:04:06] |
<apollo13> |
:/ |
| [12:15:39] |
<birkenfeld> |
looks like I have to use acrobat |
| [12:19:10] |
<mitsuhiko> |
birkenfeld: what about "convert"? |
| [12:19:22] |
<birkenfeld> |
imagemagick's? |
| [12:19:24] |
<mitsuhiko> |
yep |
| [12:19:59] |
* |
CIA-49 has joined #pocoo |
| [12:19:59] |
<birkenfeld> |
unlikely |
| [12:20:21] |
<mitsuhiko> |
well, it can handle pdf |
| [12:20:48] |
<birkenfeld> |
and can it concatenate pages? |
| [12:21:12] |
<mitsuhiko> |
convert page1.pdf -insert page2.pdf -insert combined.pdf |
| [12:21:13] |
<mitsuhiko> |
afair |
| [12:21:26] |
<mitsuhiko> |
or -append |
| [12:22:17] |
<birkenfeld> |
that generates a doublesized page :) |
| [12:22:33] |
<birkenfeld> |
with no embedded fonts |
| [12:24:49] |
<mitsuhiko> |
hmm |
| [12:25:54] |
<mitsuhiko> |
birkenfeld: echo "file1.pdf file2.pdf" | gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=file.pdf |
| [12:26:02] |
<mitsuhiko> |
(untested) |
| [12:27:29] |
<birkenfeld> |
hmm, that's an empty file |
| [12:27:55] |
<mitsuhiko> |
hmm |
| [12:28:29] |
<mitsuhiko> |
i hate the ghostscript interface |
| [12:29:03] |
<birkenfeld> |
me too |
| [12:29:17] |
<mitsuhiko> |
birkenfeld: try gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=file.pdf file1.pdf file2.pdf |
| [12:29:31] |
<Leonidas> |
what are you trying to do? Combine two PDFs? |
| [12:29:43] |
<birkenfeld> |
Leonidas: combine 591 PDFs |
| [12:29:46] |
<mitsuhiko> |
:D |
| [12:30:04] |
<mitsuhiko> |
birkenfeld: don't forget to add the "-q" |
| [12:30:11] |
<Leonidas> |
uh, ok. Have you tried embedding them via pdflatex? |
| [12:30:16] |
<mitsuhiko> |
because crappy qs writes the error messages into the file :-/ |
| [12:30:30] |
<mitsuhiko> |
ah. only stdout |
| [12:30:31] |
<Leonidas> |
the tex-source can be automatically generated. |
| [12:30:43] |
<mitsuhiko> |
(never heard of stderr huh?) |
| [12:31:12] |
<birkenfeld> |
mitsuhiko: wtf? the resulting file is smaller than each of the sources |
| [12:31:15] |
<birkenfeld> |
but it seems to work |
| [12:31:28] |
<birkenfeld> |
Leonidas: did that as first try, but it doesn't merge the embedded fonts |
| [12:31:49] |
<mitsuhiko> |
birkenfeld: maybe it actually references the source pdf files? |
| [12:32:01] |
<Leonidas> |
birkenfeld: with horribly huge documents as result |
| [12:32:06] |
<birkenfeld> |
Leonidas: exactly |
| [12:32:11] |
<birkenfeld> |
mitsuhiko: no, it seems to contain them |
| [12:32:32] |
<birkenfeld> |
don't ask me how it does that... |
| [12:32:46] |
<birkenfeld> |
but it seems gs isn't as crappy as it looks :) |
| [12:34:06] |
<birkenfeld> |
okay... working on 591 file |
| [12:34:29] |
<birkenfeld> |
+s |
| [12:37:34] |
* |
grumpy_ has joined #pocoo |
| [12:38:53] |
<birkenfeld> |
woohoo |
| [12:42:06] |
<Leonidas> |
birkenfeld: can you read through it: http://xivilization.net/flyserver/tex/unicode/unicode.pdf ? |
| [12:42:07] |
<mitsuhiko> |
django is so utter crap on the template system |
| [12:42:10] |
<mitsuhiko> |
it's not funny any more |
| [12:42:54] |
<mitsuhiko> |
the web.py template engine has a less problematic implementation :-/ |
| [12:42:57] |
<Leonidas> |
It is not completely done, but mostly. I changed the structure ab bit, because the original used the slides more or less in random order. |
| [12:43:40] |
<Leonidas> |
mitsuhiko: django is also borked in some other ways, for example the validation: http://code.djangoproject.com/ticket/9076 |
| [12:44:13] |
<mitsuhiko> |
yeah. newforms has also very crappy design if you look in detail |
| [12:44:21] |
<mitsuhiko> |
(foo.choices i'm looking at you) |
| [12:44:38] |
<mitsuhiko> |
but the template system is way worse |
| [12:44:49] |
<birkenfeld> |
Leonidas: sure |
| [12:44:58] |
<Leonidas> |
mitsuhiko: it gets even better. form.errors is so magic that *random* errors appear when you mess with it. |
| [12:45:12] |
<Leonidas> |
mitsuhiko: you cannot reassign it, as it is probably a property. |
| [12:45:28] |
<birkenfeld> |
Leonidas: "Voraussetzungen" |
| [12:45:50] |
<Leonidas> |
but you also cannot remove from it (I tried to remove the bogus validation error), else stuff starts crumbling |
| [12:46:01] |
<birkenfeld> |
"Accents"? |
| [12:46:26] |
<Leonidas> |
birkenfeld: the e accent aigu, the e with the circomflexe. |
| [12:46:29] |
<Leonidas> |
etc. |
| [12:46:36] |
<birkenfeld> |
called Akzente in german :) |
| [12:47:10] |
<Leonidas> |
birkenfeld: ah, you see, five years french in school do damage the mind considerably. |
| [12:48:05] |
<Leonidas> |
birkenfeld: thanks, fixed both. |
| [12:48:22] |
<birkenfeld> |
also, there are inconsistencies ending one list item with a dot and the other not |
| [12:50:34] |
<birkenfeld> |
on page 36 the exception message is clipped |
| [12:50:39] |
* |
Leonidas removing colons |
| [12:51:17] |
<birkenfeld> |
is the colored background of "not" on pg 40 wanted? |
| [12:51:45] |
<birkenfeld> |
pg 43 is clipped |
| [12:53:05] |
<Leonidas> |
birkenfeld: yeah, I have planned to split it. It normaly would fit on one page, but beamer decided to put this menu at the top. |
| [12:53:22] |
<birkenfeld> |
also, isn't it usually "die BOM" in german? |
| [12:54:07] |
<birkenfeld> |
otherwise, looks great |
| [12:54:20] |
<Leonidas> |
birkenfeld: I wasn't sure. I'd say "der BOM", but then I thought about "das Zeichen". |
| [12:54:33] |
<Leonidas> |
or "der Marker". |
| [12:54:39] |
<birkenfeld> |
"die Markierung" ;) |
| [12:54:40] |
<Leonidas> |
I'm not sure, really. |
| [12:54:47] |
<birkenfeld> |
well, wurscht |
| [12:54:54] |
<Leonidas> |
birkenfeld: thanks :) |
| [12:55:09] |
* |
birkenfeld is happy with his usable ebook |
| [12:55:10] |
<Leonidas> |
birkenfeld: Replace that with der/die/das BOM :) |
| [12:55:39] |
<Leonidas> |
birkenfeld: yeah, craped the PDFs from some site and glued it together, right? :) |
| [12:55:54] |
<birkenfeld> |
exactly |
| [12:56:11] |
<birkenfeld> |
Leonidas: see the log above for the reason |
| [12:56:19] |
<birkenfeld> |
our dear uni bib |
| [12:56:29] |
<Leonidas> |
I should save the gs command somewhere, because I think the advanced bash scripting guide is also a bunch of single pdfs. |
| [12:56:58] |
<Leonidas> |
birkenfeld: I don't have backlog in my bouncer, I turned it of, because reading that used up too much time. |
| [12:57:15] |
* |
Leonidas should at least save highlightings, though. |
| [12:57:44] |
<birkenfeld> |
Leonidas: http://paste.pocoo.org/show/85405 |
| [13:01:05] |
<Leonidas> |
birkenfeld: can you give me an url for that? So far, I only found the journal-listing on the LRZ, but it is quite useless as everything that is free to read there can be found for free on the internet, and everythong else (like c't) is not available (but listed) there. |
| [13:04:45] |
* |
grumpy_ has quit IRC |
| [13:14:05] |
<Leonidas> |
Anyway, it would be cool to automate that, so one would only need to point to the book and get a working PDF :) |
| [13:20:37] |
<aa_> |
http://www.heise-online.co.uk/slideshow/image/6/6 check that photo, it's a tutorial on django at pyconuk, kaplan-Moss and Willisson in the foreground |
| [13:20:56] |
<aa_> |
now in the background you can see a little guy not listening, hacking on some code, just using the seat. Its me! |
| [13:22:46] |
* |
maze_ has quit IRC |
| [13:24:46] |
<Leonidas> |
aa_: admit it, you were spying for features that you can add into glasshammer ;) |
| [13:25:15] |
<aa_> |
ahahahah |
| [13:25:33] |
* |
grumpy_ has joined #pocoo |
| [13:28:36] |
<ronny> |
well, i still dont like glasshammer |
| [13:29:15] |
<aa_> |
ronny: right, well, you like PIDA, so i have used up my quota for "software that ronny likes" for one lifetime |
| [13:32:37] |
<ronny> |
aa_: nah, you obliviously dont understand the "ronny likes software" rpg |
| [13:32:43] |
<ronny> |
cause you dont level right now |
| [13:33:23] |
<ronny> |
on the other hand mitsuhiko is like level 99 |
| [13:33:42] |
<ronny> |
to make things i dont like he has to do it on purpose |
| [13:34:06] |
<aa_> |
oh I see |
| [13:34:15] |
<aa_> |
ronny: you are in the same boy band |
| [13:34:44] |
<ronny> |
aa_: uh no, im preparing for awsome beard growth |
| [13:35:05] |
<ronny> |
till next pycon i will look all grown up |
| [13:38:10] |
<aa_> |
ronny: and we really need to get the copyright issues sorted |
| [13:38:22] |
<prencher> |
glashammer needs more mercurial |
| [13:38:29] |
<aa_> |
I strongly believe anything in pida.core and pida.services should be copyrighted to the project |
| [13:39:09] |
<ronny> |
uh channel? |
| [13:39:31] |
<aa_> |
oh whoops |
| [13:39:42] |
<prencher> |
aa_ - i would question your ability to copyright it to "the project" without having a company to do so with? not that i know shit about copyrights, but it seems illogical |
| [13:40:20] |
<hads> |
Copyright would need to be assigned to some legal entity from all the authors. |
| [13:40:25] |
<prencher> |
you would need an entity to manage said copyrights (e.g. a company?) and for people to sign over their copyrights, no? |
| [13:40:31] |
<prencher> |
hads - yeah that's what i'm thinking |
| [13:40:58] |
<prencher> |
you can say copyright the pida project, but that wont make it legal without it being a legal entity |
| [13:41:09] |
<prencher> |
is my understanding at least |
| [13:41:16] |
<hads> |
me too |
| [13:41:42] |
<hads> |
Although I know nothing about licensing/copyright |
| [13:42:08] |
<aa_> |
prencher: it is a legal entity |
| [13:42:18] |
<aa_> |
prencher: by virtue of existing, etc |
| [13:42:35] |
<aa_> |
prencher: it doesn't actually need 3rd party validation |
| [13:43:49] |
* |
maze has joined #pocoo |
| [13:44:30] |
<prencher> |
aa_ - my understanding is that it certainly needs to be tied to either a person or a company, to be a valid copyright.. either way we're both not lawyers and you may quite possibly know something i dont.. i'd just check up on the specific laws regarding it before trying to do something like that, that's all :) |
| [13:44:50] |
<aa_> |
prencher: right, I have an IP lawyer |
| [13:45:08] |
<prencher> |
regardless though, for that to work, you still need people to sign over their rights to you or your company or whatever (e.g. like openoffice) |
| [13:45:36] |
<prencher> |
on more exciting matters, handersons awesome talk from djangocon: http://www.youtube.com/watch?v=i6Fr65PFqfk |
| [13:47:05] |
<aa_> |
prencher: yeah, pida developers don't want to do that ! |
| [13:47:17] |
<aa_> |
prencher: just watching that talk. Its not *that* good |
| [13:47:17] |
<hads> |
Then you can't do it. |
| [13:47:25] |
<aa_> |
hads: I can remove their code |
| [13:47:35] |
<aa_> |
but they will certainly fork |
| [13:47:50] |
<hads> |
Of course you can. Not really the open source philosophy though. |
| [13:48:40] |
<aa_> |
hads: yeah, of coruse I won't do all that, it's good code! |
| [13:49:32] |
<hads> |
Owning copyright and "IP" don't really go hand in hand with open source IMHO. The idea of open source is that it's owned by the developers/people. |
| [13:52:18] |
<prencher> |
aa_ - either way, just change the license ot BSD or MIT if it isn't already, problem solved.. if you can get people to agree |
| [13:52:26] |
<prencher> |
of course if it's GPL it's not like theres an issue in the first place |
| [13:53:33] |
<aa_> |
prencher: nah its not a real problem |
| [13:54:03] |
<birkenfeld> |
Leonidas: try https://docweb.lrz-muenchen.de/cgi-bin/doc/nph-webdoc.cgi/000000A/http/www.myilibrary.com/browse/open.asp?ID=61499 |
| [13:54:15] |
<birkenfeld> |
(credentials are xyz@mytum.de) |
| [13:54:35] |
* |
Baumichel has joined #pocoo |
| [13:55:17] |
<Leonidas> |
birkenfeld: I don't see anything there. just some iframe and scrollbars. |
| [13:55:22] |
<Leonidas> |
Well done, LRZ! |
| [13:55:36] |
<birkenfeld> |
nice, isn't it. |
| [13:55:49] |
<birkenfeld> |
well, maybe you have to take a different entry point |
| [13:57:00] |
<Leonidas> |
birkenfeld: for journals, docweb works just fine. Better than campus.tum.de, where I still cannot sign up with my mytum credentials. |
| [13:57:01] |
<birkenfeld> |
Leonidas: try http://docweb.lrz-muenchen.de/www.myilibrary.com/browse/open.asp?ID=61499 |
| [13:57:20] |
<birkenfeld> |
that is the link accessible from the UB catalogue |
| [13:57:38] |
<Leonidas> |
https://docweb.lrz-muenchen.de/cgi-bin/doc/nph-webdoc.cgi/000000A/http/www.myilibrary.com/ works. |
| [13:59:13] |
<Leonidas> |
not that I can actually access anything, but at least I get a working page :) |
| [13:59:29] |
<aa_> |
mitsuhiko: are you in tough with Amir? |
| [14:00:32] |
<mitsuhiko> |
wholy crap. even node beahvior changes in django templates from node to node |
| [14:00:35] |
<mitsuhiko> |
insane |
| [14:01:02] |
<mitsuhiko> |
aa_: in tough == in contact with? |
| [14:01:05] |
<aa_> |
yes |
| [14:01:10] |
<aa_> |
not physically touching |
| [14:01:18] |
<mitsuhiko> |
sort of |
| [14:01:32] |
<aa_> |
mitsuhiko: hmm, wonder what is happening with skeletonz, did he dump it? |
| [14:02:05] |
<aa_> |
or perhaps he got so rich from "the next facebook" that he retired and moved to the Moon |
| [14:02:56] |
<mitsuhiko> |
no idea |
| [14:03:06] |
<mitsuhiko> |
i'll ask him when he's online |
| [14:03:59] |
<Leonidas> |
birkenfeld: """Ein systematischer Download von Daten ist aus lizenzrechtlichen Gründen nicht gesstattet!""" |
| [14:04:38] |
<mitsuhiko> |
Leonidas: can you look into #django for a moment? |
| [14:05:15] |
<Leonidas> |
sure |
| [14:06:57] |
* |
grumpy_ has quit IRC |
| [14:14:14] |
<mitsuhiko> |
Leonidas: found it out. it's by far the ugliest part of django template :-/ |
| [14:14:26] |
<mitsuhiko> |
they actually change semantics of nodes if they feel like |
| [14:28:30] |
* |
Kaelten has quit IRC |
| [14:31:04] |
* |
grumpy_ has joined #pocoo |
| [14:35:32] |
* |
grumpy_ has quit IRC |
| [15:02:10] |
* |
Kaelten has joined #pocoo |
| [15:12:05] |
* |
davidcramer has quit IRC |
| [15:12:05] |
* |
sebner has quit IRC |
| [15:12:05] |
* |
maddiin has quit IRC |
| [15:12:05] |
* |
chrisberlin has quit IRC |
| [15:12:05] |
* |
hads has quit IRC |
| [15:12:05] |
* |
TheSheep has quit IRC |
| [15:12:05] |
* |
KAeL has quit IRC |
| [15:12:51] |
* |
davidcramer has joined #pocoo |
| [15:12:51] |
* |
sebner has joined #pocoo |
| [15:12:51] |
* |
TheSheep has joined #pocoo |
| [15:12:51] |
* |
hads has joined #pocoo |
| [15:12:51] |
* |
chrisberlin has joined #pocoo |
| [15:12:51] |
* |
maddiin has joined #pocoo |
| [15:12:51] |
* |
KAeL has joined #pocoo |
| [15:24:16] |
* |
stifal has joined #pocoo |
| [15:36:05] |
* |
Kaelten has quit IRC |
| [15:57:22] |
* |
Kaelten has joined #pocoo |
| [16:07:15] |
* |
leche has quit IRC |
| [16:08:49] |
* |
leche has joined #pocoo |
| [16:52:25] |
* |
CIA-49 has quit IRC |
| [17:48:59] |
<birkenfeld> |
Leonidas: so what... |
| [17:59:45] |
* |
aconbere has quit IRC |
| [18:14:23] |
* |
jpcw2002 has quit IRC |
| [18:14:35] |
* |
jpcw2002 has joined #pocoo |
| [18:22:44] |
* |
leche has quit IRC |
| [18:22:58] |
* |
leche has joined #pocoo |
| [18:26:12] |
* |
CIA-49 has joined #pocoo |
| [18:48:45] |
* |
CIA-49 has quit IRC |
| [19:19:35] |
<prencher> |
anybody in here making "nicegear"? |
| [19:30:34] |
* |
CIA-49 has joined #pocoo |
| [19:34:59] |
* |
david`bgk has quit IRC |
| [19:35:12] |
* |
david`bgk has joined #pocoo |
| [19:44:58] |
<CIA-49> |
Jinja 2: mitsuhiko trunk * 568:7bad467025bd /ext/django2jinja/django2jinja.py: Moved django configuration into the __main__ section |
| [19:45:05] |
<mitsuhiko> |
WOW |
| [19:45:11] |
<mitsuhiko> |
that checkin was what, 12 hours ago? |
| [20:03:35] |
<prencher> |
mitsuhiko - didnt you say you didnt want django stuff in jinja2? |
| [20:04:09] |
<mitsuhiko> |
prencher: correct. that's why this is not part of jinja2 |
| [20:04:27] |
<prencher> |
well its in the repo |
| [20:04:41] |
<mitsuhiko> |
yes. lazyness. i'll move that into a separate one in a free minute |
| [20:04:55] |
<prencher> |
what is this exactly? |
| [20:05:03] |
<prencher> |
a jinja backend for django or hooks for jinja in django? |
| [20:06:11] |
<mitsuhiko> |
prencher: it's a module that loads a django template and reverse engineers a django template object into a jinja sourcecode |
| [20:06:49] |
<prencher> |
heh |
| [20:07:22] |
<prencher> |
you're doing this to get jesper on jinja arent you |
| [20:07:42] |
<mitsuhiko> |
nope. david`bgk |
| [20:08:05] |
<mitsuhiko> |
while i would like to see bitbucket using jinja, i think think there are more important things to do there, than switching to jinja |
| [20:09:10] |
<prencher> |
like fixing the stuff that worked before you touched it? :P |
| [20:10:07] |
* |
jpcw2002 has quit IRC |
| [20:10:08] |
<mitsuhiko> |
pah. it works now a lot better than before |
| [20:10:18] |
<mitsuhiko> |
prencher: the bug *you* saw was in jespers code |
| [20:10:30] |
<mitsuhiko> |
my changes are not online currently |
| [20:10:59] |
<mitsuhiko> |
mine was the 500 internal server error, and that was caused because my udiff renderer didn't support "\ No newline here" in udiffs |
| [20:11:06] |
<mitsuhiko> |
:P |
| [20:12:31] |
<prencher> |
tsk tsk |
| [20:12:57] |
<prencher> |
i can just access the code and see you lying you know :P |
| [20:13:21] |
<prencher> |
what was it you worked on anyway, the ever troublesome diff renderer ? |
| [20:13:35] |
<prencher> |
that brought the site to a halt a couple times, due to bots and huge csets |
| [20:15:09] |
<mitsuhiko> |
the thing is troublesome for soo many reasons, i can't count them :) |
| [20:15:24] |
<mitsuhiko> |
but i just wanted to make it look less annoying |
| [20:21:05] |
<prencher> |
mitsuhiko - yeah, when jesper went on vacation we had it go down nightly, because of googlebot and yahoo crawling 60mb csets |
| [20:21:23] |
<mitsuhiko> |
robots.txt |
| [20:21:33] |
<prencher> |
he wanted them crawled |
| [20:21:45] |
<mitsuhiko> |
robots.txt |
| [20:21:50] |
<prencher> |
no. |
| [20:21:53] |
<mitsuhiko> |
you can control the interval there |
| [20:21:58] |
<prencher> |
doesnt help |
| [20:22:17] |
<prencher> |
even with google on the lowest setting it still didnt help |
| [20:22:31] |
<prencher> |
a single cset was enough to bring it down due to how hg works |
| [20:22:46] |
<prencher> |
anyway, a hack was implmented (ps |awk OMGHIGHRSS |KEEEL) and it's been fixed since |
| [20:22:59] |
<prencher> |
as in , a proper fix was put in |
| [20:23:15] |
<mitsuhiko> |
if the proper fix is what i looked at, that proper fix is half broken |
| [20:23:30] |
<prencher> |
well we shouldnt talk about the code here for obvious reasons |