*** replaceafill has quit IRC | 00:24 | |
*** replaceafill has joined #schooltool | 00:36 | |
*** dlobo has joined #schooltool | 00:46 | |
*** dlobo has quit IRC | 00:58 | |
*** pcardune has joined #schooltool | 02:02 | |
*** pcardune_ has joined #schooltool | 02:15 | |
*** pcardune has quit IRC | 02:18 | |
*** pcardune_ is now known as pcardune | 02:18 | |
*** ignas has joined #schooltool | 02:41 | |
*** mgedmin has quit IRC | 03:08 | |
*** pcardune has quit IRC | 03:16 | |
*** replaceafill has quit IRC | 03:19 | |
*** dlobo has joined #schooltool | 03:53 | |
*** th1a has quit IRC | 04:08 | |
*** dlobo has quit IRC | 04:18 | |
*** dlobo has joined #schooltool | 04:54 | |
*** pcardune has joined #schooltool | 05:04 | |
*** dlobo has quit IRC | 05:06 | |
*** ignas has quit IRC | 05:28 | |
*** dlobo has joined #schooltool | 05:54 | |
*** dlobo has quit IRC | 07:25 | |
*** ignas has joined #schooltool | 08:01 | |
*** replaceafill has joined #schooltool | 08:15 | |
*** ignas has quit IRC | 08:15 | |
*** replaceafill has quit IRC | 10:27 | |
*** yvl has quit IRC | 10:31 | |
*** pcardune has quit IRC | 10:46 | |
*** yvl has joined #schooltool | 11:34 | |
*** alga has joined #schooltool | 11:53 | |
*** ignas has joined #schooltool | 12:23 | |
*** Aiste has joined #schooltool | 12:45 | |
*** mgedmin has joined #schooltool | 13:21 | |
*** menesis has quit IRC | 14:00 | |
*** Aiste has quit IRC | 14:06 | |
*** menesis has joined #schooltool | 14:59 | |
*** th1a has joined #schooltool | 15:41 | |
*** yvl has quit IRC | 15:42 | |
*** yvl has joined #schooltool | 15:50 | |
*** dlobo has joined #schooltool | 16:53 | |
*** replaceafill has joined #schooltool | 17:01 | |
*** alga has quit IRC | 17:07 | |
replaceafill | yvl, could you check the XXX in the render method in schooltool.skin.skin.OrderedViewletManager? | 17:17 |
---|---|---|
replaceafill | i'm trying to understand why viewlets are rendered twice :| | 17:18 |
yvl | to hide viewlets with no content | 17:19 |
yvl | when filtering: if content and content.strip() | 17:19 |
yvl | a bit above the XXX | 17:19 |
replaceafill | couldn't we just store content for not rendering twice? | 17:20 |
replaceafill | i mean, it's not a big deal, but for example the courses viewlet was kind of expensive | 17:21 |
replaceafill | and their two heavy methods were called three times | 17:21 |
replaceafill | s/their/its | 17:21 |
yvl | hmm | 17:22 |
replaceafill | putting and update method in the viewlets fixes this | 17:22 |
yvl | I don't remember why ignas had to render them twice | 17:22 |
replaceafill | s/and/an | 17:22 |
yvl | really | 17:23 |
replaceafill | well, i was just curious :P | 17:23 |
*** dlobo has quit IRC | 17:23 | |
yvl | I hope to remake nav bar at some point | 17:23 |
yvl | so this part of code will be obsolete | 17:24 |
ignas | yvl, not sure it was my idea, it might have been old srichter code reused | 17:24 |
yvl | :))))) | 17:24 |
yvl | replaceafill, you can try out bzr+ssh://bazaar.launchpad.net/~justas-pov/schooltool/dev/ | 17:54 |
yvl | updated catalog registration mechanism | 17:54 |
replaceafill | great! branching... | 17:55 |
replaceafill | cached catalogs! | 17:59 |
yvl | basic idea - if you modify, say basicperson.person.PersonCatalog's version string or attributes tuple, it will be recreated on next application start up | 18:00 |
replaceafill | ah | 18:00 |
replaceafill | ah you need version in case the object itself changes | 18:10 |
yvl | yes | 18:11 |
yvl | also, if values get recalculated in some way that does not trigger reindexing | 18:12 |
replaceafill | for example? | 18:12 |
yvl | umm, title | 18:15 |
replaceafill | keepalive is what it tells to remove the catalog or not? | 18:15 |
yvl | yes | 18:15 |
yvl | if keepalive is not set to True when the cleanup comes | 18:15 |
yvl | catalogs are removed | 18:15 |
replaceafill | it can be 'expired' too? | 18:15 |
yvl | so catalogs that are no longer registered get auto-removed | 18:15 |
yvl | I just called them expired in the test | 18:15 |
replaceafill | yes | 18:15 |
yvl | that's confusing I guess... | 18:16 |
replaceafill | print_catalogs | 18:16 |
replaceafill | cool! i'll play with it ;) | 18:17 |
yvl | good luck ;) | 18:23 |
*** alga has joined #schooltool | 18:30 | |
yvl | ah, replaceafill, I remembered: | 18:36 |
yvl | be wary if your indexed value can be None | 18:37 |
replaceafill | :O | 18:37 |
yvl | some places in schooltool use documents_to_values[obj_id] instead of documents_to_values.get(obj_id) | 18:37 |
yvl | I think there may be bugs in at least schooltool table sorting code | 18:38 |
yvl | maybe some searches | 18:38 |
replaceafill | :( | 18:38 |
yvl | just... if you get tracebacks with documents_to_values and it bothers you, change the code there to documents_to_values.get() | 18:40 |
yvl | and I'll fix that some time | 18:40 |
yvl | soon, probably :) | 18:40 |
replaceafill | ah ok | 18:41 |
*** dlobo has joined #schooltool | 18:46 | |
*** mgedmin has quit IRC | 18:47 | |
*** pcardune has joined #schooltool | 18:54 | |
*** dlobo has quit IRC | 18:56 | |
*** dlobo has joined #schooltool | 18:57 | |
aelkner | yvl: ayt? | 19:04 |
yvl | yes | 19:04 |
aelkner | hi | 19:04 |
yvl | hi | 19:04 |
yvl | but I won't be very long here... | 19:04 |
aelkner | a question | 19:04 |
aelkner | https://bugs.launchpad.net/schooltool.gradebook/+bug/513407 | 19:04 |
aelkner | will you be able to look at this any time soon? | 19:04 |
aelkner | your last question was about how to recreate it in the gradebook | 19:05 |
aelkner | if you put a .serve() in report_card.txt | 19:06 |
aelkner | after changing it to deploy a comment score system | 19:06 |
aelkner | i'm guessing some resource in the fckeditor space is not being found | 19:08 |
yvl | ok, I'll look at it a bit later | 19:09 |
yvl | say, until Mon meeting | 19:09 |
aelkner | that would great, thanks | 19:10 |
yvl | I'm kind of having trouble running SchoolTool on python 2.6 now | 19:10 |
replaceafill | yvl, is the next release moving to 2.6? | 19:10 |
yvl | I guess | 19:11 |
yvl | no python 2.5 in Lucid | 19:11 |
replaceafill | :| | 19:11 |
yvl | good new everyone! :| | 19:11 |
aelkner | is tomorrow a holiday? | 19:12 |
yvl | ? | 19:13 |
aelkner | good friday, right? | 19:13 |
yvl | ah, Easter | 19:13 |
yvl | no, not a holiday here, AFAIK | 19:13 |
aelkner | i won't be talking off | 19:13 |
aelkner | so what does 'goo new everyone' mean? | 19:14 |
aelkner | good | 19:14 |
yvl | that's a mistyped quote from Futurama | 19:14 |
aelkner | :) | 19:14 |
yvl | the professor there always started with a greeting 'good news everyone!' | 19:14 |
replaceafill | :D | 19:15 |
yvl | when sending his crew to a certain doom | 19:15 |
ignas | yvl, have 2 minutes? | 19:36 |
ignas | or anyone who can check whether there in fact exists a "function" test in tal templates | 19:37 |
ignas | that can be used in tal:content="python: test(here)" | 19:37 |
ignas | that does the same thing as foo == 5 and x or y | 19:38 |
ignas | but without shortcircuiting | 19:38 |
* ignas wants to find out whether it is a builtin feature of tal templates | 19:38 | |
ignas | or a zope2 feature | 19:38 |
yvl | ignas: ok | 19:41 |
yvl | NameError: name 'test' is not defined | 19:42 |
ignas | thanks | 19:42 |
yvl | aelkner: we'll be definitely moving to python 2.6 soon | 19:42 |
yvl | if you're using Ubuntu without python 2.6, you'll have to upgrade eventually | 19:43 |
yvl | ok, me off | 19:44 |
*** dlobo has quit IRC | 20:02 | |
*** dlobo has joined #schooltool | 20:05 | |
* replaceafill wishes we could specify a single doctest in the bin/test command line... | 20:06 | |
menesis | -t flag | 20:15 |
menesis | bin/test -t scoresystem.txt | 20:15 |
menesis | for example | 20:15 |
menesis | or bin/test -t doctest_SchoolToolFooBlah_test | 20:15 |
replaceafill | :| | 20:16 |
replaceafill | menesis, nice! it works!!! | 20:22 |
replaceafill | thanks | 20:22 |
*** menesis has quit IRC | 20:39 | |
*** dlobo has quit IRC | 20:43 | |
*** pcardune has quit IRC | 21:56 | |
*** menesis has joined #schooltool | 22:04 | |
*** menesis has quit IRC | 22:09 | |
*** menesis has joined #schooltool | 22:13 | |
*** dlobo has joined #schooltool | 22:14 | |
*** pcardune has joined #schooltool | 22:15 | |
*** povbot has joined #schooltool | 23:06 | |
-holmes.freenode.net- [freenode-info] why register and identify? your IRC nick is how people know you. http://freenode.net/faq.shtml#nicksetup | 23:06 | |
*** povbot has joined #schooltool | 23:12 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!