jinty | tvon: also waiting for the meeting? | 00:08 |
---|---|---|
tvon | jinty: meeting? today? | 00:19 |
jinty | aargh, forget about wrong timezone, think wrong day | 00:19 |
tvon | heh :) | 00:20 |
jinty | I think it's time for bed | 00:20 |
*** jinty has quit IRC | 00:20 | |
tvon | talk to you tomorrow ;) | 00:22 |
povbot | /svn/commits: * srichter committed revision 5020: | 00:38 |
povbot | /svn/commits: Add viewlet dependency. | 00:38 |
th1a | srichter: ayt? | 01:08 |
srichter | th1a: yeah | 01:12 |
srichter | th1a: btw, you realize that the testbrowser recorder from Brian is in a Zope 3 sandbox these days, right? :-) | 01:13 |
th1a | I'm trying an example from Philipp's book, so perhaps I should be bugging him abou this ;-) | 01:13 |
th1a | I | 01:13 |
th1a | am unaware of the testbrowser recorder. | 01:13 |
th1a | Anyhow, did IPluggableAuthenticationService cease to exist? | 01:14 |
srichter | yes | 01:14 |
srichter | it is replaced with zope.app.authentication | 01:14 |
srichter | the old code is still in pluggableauth, but should not be used anymore | 01:15 |
th1a | Hrm. Well, it doesn't appear to be in the rc of 3.1 I'm using. | 01:16 |
srichter | really? | 01:17 |
srichter | that would be bad! | 01:17 |
srichter | please report it on the mailing list | 01:17 |
th1a | Well, I should probably get the latest RC and make sure I'm not smoking dope. | 01:17 |
*** th1a is now known as th1a|dinner | 01:21 | |
*** bskahan has joined #schooltool | 02:13 | |
*** tvon has quit IRC | 02:23 | |
*** tvon has joined #schooltool | 02:24 | |
*** Ricey has joined #schooltool | 02:35 | |
*** Ricey_ has quit IRC | 02:35 | |
*** bskahan has quit IRC | 02:56 | |
*** bskahan has joined #schooltool | 03:14 | |
bskahan | ftp.schooltool.org is now up | 03:16 |
bskahan | th1a|dinner: I'd put the schoolbell stuff under the schooltool directory in ftp | 03:16 |
bskahan | schooltool at that level being the "project" | 03:17 |
bskahan | schoolbell tarballs would just be in http://ftp.schooltool.org/schooltool/releases/schoolbell | 03:22 |
*** bskahan has quit IRC | 03:37 | |
*** th1a|dinner is now known as th1a | 03:48 | |
*** jinty has joined #schooltool | 04:10 | |
*** bskahan has joined #schooltool | 05:20 | |
srichter | man, there are many links in the calendar code that are not reachable from the UI | 06:00 |
bskahan | srichter: what links? | 06:02 |
*** jinty has quit IRC | 06:03 | |
srichter | like calendar.vfb | 06:44 |
srichter | also daily.html, weekly.html, etc are not directly available | 06:44 |
bskahan | do we need daily/weekly/etc? | 06:46 |
bskahan | we have the day/week/etc view links at the top | 06:46 |
bskahan | that use the date in the url | 06:46 |
*** bskahan has quit IRC | 06:56 | |
*** mgedmin has joined #schooltool | 10:14 | |
*** alga has joined #SchoolTool | 10:36 | |
*** ignas has quit IRC | 11:01 | |
* mgedmin wonders what's happening with demo.schooltool.org | 11:05 | |
*** ignas has joined #schooltool | 11:28 | |
*** Aiste has quit IRC | 11:59 | |
*** Aiste has joined #schooltool | 12:00 | |
*** Aiste has quit IRC | 12:03 | |
*** Aiste has joined #schooltool | 12:17 | |
*** th1a has quit IRC | 12:17 | |
povbot | /svn/commits: * mg committed revision 5021: | 12:25 |
povbot | /svn/commits: Merged optimisations from the alga-sb-optimization branch. | 12:25 |
povbot | /svn/commits: - Significantly improved the speed of ACL and calendar views. | 12:25 |
povbot | /svn/commits: - Added some ad-hoc benchmarks for measuring rendering time. | 12:25 |
povbot | /svn/commits: - Hopefully fixed issue 377 (intermittent ConnectionStateError). | 12:25 |
povbot | /svn/commits: - Partially fixed issue 379 (PDF calendars always in UTC), although | 12:25 |
povbot | /svn/commits: end-users will probably not notice (the more visible part of the bug remains unfixed). | 12:25 |
povbot | /svn/commits: Commands used for merging: | 12:25 |
povbot | /svn/commits: svn merge -r 4921:4922 svn+ssh://source.schooltool.org/svn/schooltool/trunk/schoolbell@4922 . svn merge -r 4923:HEAD svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization . | 12:25 |
povbot | /svn/commits: (HEAD was revision 5020 at the time) | 12:25 |
povbot | /svn/commits: svn revert src/schoolbell/app/browser/configure.zcml | 12:25 |
povbot | /svn/commits: (had conflicting changes that added some apidoc directives; not needed in this branch) | 12:25 |
povbot | /svn/commits: * mg committed revision 5022: | 12:31 |
povbot | /svn/commits: Fixed SchoolTool unit tests after the changes applied by the optimization branch merge broke them. | 12:31 |
mgedmin | merge complete | 12:31 |
mgedmin | jinty will be happy | 12:31 |
mgedmin | ignas, the url is svn+ssh://source.schooltool.org/svn/schooltool/branches/schooltool-0.11.x | 12:32 |
*** maharaja has joined #schooltool | 12:46 | |
*** mgedmin has quit IRC | 13:25 | |
*** thisfred has joined #schooltool | 13:25 | |
*** alga has quit IRC | 13:42 | |
*** srichter has quit IRC | 14:04 | |
*** srichter has joined #schooltool | 15:05 | |
ignas | srichter, what might be broken if a test using IUserPreferredLanguages(request).getPreferredLanguages() fails ? | 15:13 |
ignas | i am geting an empty list instead of ('lt',) | 15:14 |
*** bskahan has joined #schooltool | 15:20 | |
*** jinty has joined #schooltool | 15:27 | |
povbot | /svn/commits: * ignas committed revision 5023: | 15:38 |
povbot | /svn/commits: Merged revisions 4932 and 4968 (fix for a bug that appeared after 4932). | 15:38 |
povbot | /svn/commits: Move getAllDayEvents() from CalendarViewBase to DailyCalendarView. | 15:38 |
povbot | /svn/commits: Erradicate it's use in monthly and weekly templates. Refactor view templates. | 15:38 |
povbot | /svn/commits: Commands used for merging: | 15:38 |
povbot | /svn/commits: cd src/schooltool svn merge -r 4931:4932 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell svn merge -r 4967:4968 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell | 15:38 |
povbot | /svn/commits: resolve conflicts in: | 15:38 |
povbot | /svn/commits: app/browser/templates/cal_mothly.pt app/browser/templates/cal_weekly.pt app/browser/tests/test_cal.py | 15:38 |
srichter | ignas: I would have to look as much into the code as you do | 15:42 |
ignas | srichter, well, apparently it was something with the way tests were being run :/ it disappeared eventually ... | 15:44 |
ignas | srichter, got some time ? | 15:50 |
*** alga has joined #SchoolTool | 15:57 | |
*** alga has quit IRC | 15:57 | |
*** th1a has joined #schooltool | 16:05 | |
povbot | /svn/commits: * ignas committed revision 5024: | 16:32 |
povbot | /svn/commits: Merged revisions 4935, 4936: | 16:32 |
povbot | /svn/commits: Added caching to dayEvents function in the CalendarViewBase. Added a missing unit test. Removed cpu hogging tal:define from the inner loop in the daily template. Change the name of the calendar cache attribute in CalendarViewBase to make unit tests look better. | 16:32 |
povbot | /svn/commits: Commands used for merging: | 16:32 |
povbot | /svn/commits: cd src/schooltool svn merge -r 4934:4936 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell | 16:32 |
povbot | /svn/commits: * ignas committed revision 5025: | 16:56 |
povbot | /svn/commits: Merged revision 4926: | 16:56 |
povbot | /svn/commits: Refactored the recurrence expansion from calendar into events. | 16:56 |
povbot | /svn/commits: Commands used for merging: | 16:56 |
povbot | /svn/commits: cd src/schooltool svn merge -r 4925:4926 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell | 16:56 |
povbot | /svn/commits: Still don't know why Stephan skipped it ... | 16:56 |
*** tiredbones has quit IRC | 17:12 | |
srichter | ignas: I only have time for short questions; on Tuesday and Thursday I am doing TA work | 17:28 |
ignas | TA ? | 17:32 |
ignas | oh i see | 17:32 |
ignas | :/ | 17:32 |
ignas | well by thursday i will be done with merging | 17:33 |
th1a | tits and ass | 17:33 |
*** alga has joined #SchoolTool | 17:34 | |
ignas | oh, i see, must be difficult to do any of typing stuff then ;) | 17:34 |
th1a | One handed typing. | 17:35 |
SteveA | territorial army | 17:52 |
SteveA | the british volunteer military reservists | 17:52 |
povbot | /svn/commits: * ignas committed revision 5026: | 17:53 |
povbot | /svn/commits: Merged revisions 4959, 4965, 4969, 4970, 4971, 4972, 5016, 5018. | 17:53 |
povbot | /svn/commits: Benchmarking tools so we could measure the impact of our optimizations (nearly accurately) | 17:54 |
povbot | /svn/commits: Commands used for merging: | 17:54 |
povbot | /svn/commits: svn merge -r 4958:4959 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/ svn merge -r 4964:4965 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/ svn merge -r 4968:4972 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/ svn merge -r 4995:4997 | 17:54 |
povbot | /svn/commits: svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/ svn merge -r 5015:5016 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/ svn merge -r 5017:5018 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/ | 17:54 |
povbot | /svn/commits: And some fiddling to make these scripts actually work. | 17:54 |
*** alga has quit IRC | 17:58 | |
srichter | ignas: so what was your question? | 18:14 |
ignas | why have you skipped revision 4926 ? | 18:17 |
ignas | was there a reason i don't know ? | 18:17 |
srichter | maybe I just forgot | 18:35 |
ignas | strange, it seems that you worked around it ... | 18:36 |
ignas | well, i have merged it now anyway ... | 18:37 |
*** tvon has quit IRC | 18:40 | |
srichter | as long as the tests pass :-) | 18:45 |
ignas | well, imho it would be kind of nice if you reviewed my checkins | 18:46 |
ignas | i might have missed some your branch specific things | 18:46 |
ignas | like - wrong way of doing test setup and the likes | 18:46 |
srichter | I usually look at all the checkins | 18:47 |
*** tvon has joined #schooltool | 18:52 | |
povbot | /svn/commits: * ignas committed revision 5027: | 18:53 |
povbot | /svn/commits: Merged revisions 4947 and 4952 to 4958: | 18:53 |
povbot | /svn/commits: ACL view refactoring and optimization. | 18:53 |
povbot | /svn/commits: Removed an unused import from | 18:53 |
povbot | /svn/commits: src/schooltool/app/rest/relationships.py | 18:53 |
povbot | /svn/commits: Commands used for merging: | 18:53 |
povbot | /svn/commits: cd src/schooltool svn merge -r 4946:4947 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ svn merge -r 4951:4958 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ | 18:53 |
povbot | /svn/commits: * ignas committed revision 5028: | 19:04 |
povbot | /svn/commits: Merged revision 4937: | 19:04 |
povbot | /svn/commits: Optimized weekly and monthly recurrence rules to fast-forward to the interesting time period instead of expanding all recurrences from the very start. | 19:04 |
povbot | /svn/commits: Commands used for merging: | 19:04 |
povbot | /svn/commits: cd src/schooltool svn merge -r 4936:4937 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ | 19:04 |
povbot | /svn/commits: * ignas committed revision 5029: | 19:16 |
povbot | /svn/commits: Merged revision 4966: | 19:16 |
povbot | /svn/commits: ACL view optimisation: speed it up roughly 10 times. | 19:16 |
povbot | /svn/commits: Previously the ACL view computed the set of available permissions for all principals, and then applied batching to show only a subset. The computation was expensive. Now the ACL view first does batching, and only then performs the computation. End result: ACL view rendering time went from 3 to 0.3 seconds, and form handling went from 5 to 0.5 seconds on my laptop (Pentium M, 1.6 GHz). | 19:16 |
povbot | /svn/commits: Commands used for merging: | 19:16 |
povbot | /svn/commits: cd src/schooltool svn merge -r 4965:4966 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ | 19:16 |
povbot | /svn/commits: * ignas committed revision 5030: | 19:48 |
povbot | /svn/commits: Merged revisions 4974, 4975, 4978, 5017: | 19:48 |
povbot | /svn/commits: Added a function that pigeonholes CalendarDay objects into time intervals. | 19:48 |
povbot | /svn/commits: Optimized CalendarViewBase.getYear so it would pass a day cache to the monthly view thus saving us 11 getDays calls. Benchmarks indicate a 2x speedup. | 19:48 |
povbot | /svn/commits: Added "smart" caching for CalendarViewBase.getDays. ~10% performance gain for nonrecurrent event benchmark. A view knows which time range is of interest, so it can call calendar.expand only once for this range, instead of calling calendar.expand five times for smaller, overlapping time ranges. | 19:49 |
povbot | /svn/commits: Marius thinks that local caches in getMonth/getYear, and perhaps in dayEvents also, are now not necessary and could be removed. | 19:49 |
povbot | /svn/commits: Commands used for merging: | 19:49 |
povbot | /svn/commits: cd src/schooltool svn merge -r 4973:4975 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ svn merge -r 4977:4978 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ svn merge -r 5016:5017 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ | 19:49 |
*** pips has joined #schooltool | 19:57 | |
*** mgedmin has joined #schooltool | 20:00 | |
*** pips has left #schooltool | 20:07 | |
*** pcardune has joined #schooltool | 20:20 | |
pcardune | hello all, I am just now trying out the new CanDo svn server... what is my password? | 20:22 |
povbot | /svn/commits: * ignas committed revision 5031: | 20:26 |
povbot | /svn/commits: Merged revisions 5006, 5007 and 5022: | 20:26 |
povbot | /svn/commits: Timezone cleanups in schooltool.calendar: | 20:26 |
povbot | /svn/commits: - Require `first` and `last` arguments to expand to have explicit timezones | 20:26 |
povbot | /svn/commits: (instead of falling back to UTC). | 20:26 |
povbot | /svn/commits: - Do not insist that `first` and `last` have the same timezone. | 20:26 |
povbot | /svn/commits: - Changed parse_datetimetz to accept ISO 8601 dates in UTC (i.e. with a 'Z' at | 20:26 |
povbot | /svn/commits: the end). | 20:26 |
povbot | /svn/commits: - Moved argument checks from CalendarEventMixin.expand to CalendarMixin.expand | 20:26 |
povbot | /svn/commits: (optimisation; about 10-15% speedup in benchmark/nonrecurrent.py). | 20:26 |
povbot | /svn/commits: - Removed timezones and all-day events from "Future goals" section in the README | 20:26 |
povbot | /svn/commits: (they're implemented, although I have some suspicions as to the correctness of the implementation). | 20:26 |
povbot | /svn/commits: - Fixed a corner case description in the CalendarMixin.expand doctest. | 20:26 |
povbot | /svn/commits: Partial bugfix for issue379: PDF calendar views always use UTC. | 20:26 |
povbot | /svn/commits: Fixed SchoolTool unit tests after the changes applied by the optimization branch merge broke them. | 20:26 |
povbot | /svn/commits: Commands used for merging: | 20:26 |
povbot | /svn/commits: cd src/schooltool svn merge -r 5005:5007 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ | 20:26 |
povbot | /svn/commits: Applied 5022 manualy. | 20:26 |
pcardune | tvon, ayt? | 20:39 |
tvon | pcardune: hey | 20:39 |
pcardune | I'm just now trying out the svn server... what is my password? | 20:39 |
tvon | with your ssh keym it should just ask you for your ssh passphrase | 20:40 |
tvon | bskahan: ayt? | 20:40 |
pcardune | is there a particular way to tell svn to use my ssh key? because at the moment it asks for the password of pcardune@69.60.114.114 | 20:42 |
tvon | pcardune: is it asking for your password or a key passphrase? | 20:42 |
tvon | it should figure it out | 20:42 |
th1a | srichter: I posted my problem with IPluggableAuthenticationService to the Zope3-dev list as you suggested. | 20:43 |
tvon | pcardune: you are on the same computer that has your ssh info on it? | 20:44 |
pcardune | yeah | 20:45 |
tvon | pcardune: erm, you don;t seem to have a user on the box | 20:45 |
pcardune | that would do it... I will resend my ssh key to bskahan | 20:46 |
tvon | k | 20:46 |
povbot | /svn/commits: * ignas committed revision 5032: | 20:53 |
povbot | /svn/commits: Merged revisions 4949, 4950, 4951, 4979, 4993: | 20:53 |
povbot | /svn/commits: Removing superfluous ftest -- this should fix issue377 (ConnectionStateError). Removing unused imports. Refactored the hasPermission implementation Removed dead code from CalendarViewBase.getEvents. (The variable was used before this function has been refactored) Clarified a comment. | 20:53 |
povbot | /svn/commits: Commands used for merging: | 20:53 |
povbot | /svn/commits: cd src/schooltool svn merge -r 4948:4951 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ svn merge -r 4978:4979 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ svn merge -r 4992:4993 svn+ssh://source.schooltool.org/svn/schooltool/branches/alga-sb-optimization/src/schoolbell/ | 20:53 |
*** thisfred has quit IRC | 20:56 | |
ignas | th1a, ping | 20:59 |
*** pips1 has joined #schooltool | 21:02 | |
*** pips1 has left #schooltool | 21:04 | |
th1a | pong | 21:15 |
th1a | ignas | 21:16 |
bskahan | pcardune, hey can you resend your ssh key as an attachment, it got linebroken when it was inlined | 21:17 |
ignas | could you check out the most up to date trunk and use it a bit ? | 21:17 |
ignas | i have just merged all the optimisation changes ... | 21:18 |
th1a | OK. | 21:18 |
*** pips1 has joined #schooltool | 21:18 | |
ignas | oh, and Marius merged them into the release branch ... | 21:18 |
th1a | Which should I try? | 21:18 |
pips1 | hi all | 21:19 |
ignas | th1a, well ... any ;) | 21:20 |
th1a | Hi pips. | 21:20 |
pips1 | hi th1a | 21:20 |
pips1 | jinty, ping! | 21:21 |
pips1 | is jinty around? | 21:28 |
pips1 | I understand he is preparing another bug fix release... | 21:29 |
th1a | Yes. | 21:29 |
pips1 | I'd like to contribute a translation | 21:30 |
pips1 | but maybe you can answer my questions too! :-) | 21:31 |
th1a | Via Rosetta? | 21:31 |
pips1 | well... | 21:31 |
pips1 | I was going to use a local app like kbabel... | 21:31 |
pips1 | I exported the po file from rosetta. | 21:32 |
pips1 | and I was planning to import it after i'm done. | 21:32 |
pips1 | is that a good way of doing it? | 21:33 |
th1a | Note that as a monolingual American, my understanding of i18n is weak. | 21:33 |
th1a | But yes, that should work. | 21:33 |
pips1 | (btw, I am having a terrible time with my keyboard at the moment and that's why I am typing so slow. I am running breezy-preview and it has a bug with keyboard layout. ugh.) | 21:34 |
pips1 | I was wondering whether jinty might be able to include my translation into the bugfix release if I hurry up :-) | 21:39 |
th1a | ignas: python test.py -w -s src/schooltool | 21:39 |
th1a | Traceback (most recent call last): | 21:39 |
th1a | File "test.py", line 31, in ? | 21:39 |
th1a | from schooltool.testing import test | 21:39 |
th1a | File "/Users/hoffman/Desktop/schooltool/src/schooltool/testing/test.py", line 244, in ? | 21:39 |
th1a | DocFileCase_classes = (doctest.DocFileCase,) | 21:39 |
th1a | AttributeError: 'module' object has no attribute 'DocFileCase' | 21:39 |
th1a | make: *** [test] Error 1 | 21:39 |
th1a | pips1: We are planning on updating the translations, so I think the answer is yes, if you can get it done in the next couple days. However, we haven't discussed the exact timeline for the release other than ASAP. | 21:40 |
pips1 | ok | 21:40 |
* pips1 will send jinty an email. | 21:41 | |
pips1 | cu l8r | 21:41 |
*** pips1 has left #schooltool | 21:41 | |
th1a | ignas: otoh, the server seems to start. | 21:42 |
*** ignas has quit IRC | 21:45 | |
*** pips1 has joined #schooltool | 21:49 | |
pips1 | I forgot to ask: do I need to translate both schoolbell and schooltool po files? | 21:50 |
* pips1 is still confused about the two packages | 21:50 | |
th1a | I'm not sure. | 21:51 |
pips1 | pov? | 21:53 |
pips1 | anyone? | 21:53 |
th1a | ignas: Much better! | 21:53 |
mgedmin | pips1, I think the answer is yes | 21:53 |
mgedmin | schooltool.po definitely contains strings that aren't in schoolbell.po | 21:53 |
mgedmin | I'm not sure if there are many overlapping strings | 21:54 |
mgedmin | th1a, I wrote that line of code | 21:54 |
th1a | Which line? | 21:54 |
mgedmin | I think I know how to fix it | 21:54 |
mgedmin | DocFileCase_classes = (doctest.DocFileCase,) | 21:54 |
th1a | Ah. | 21:55 |
mgedmin | quick fix: change the if above to check whether hasattr(doctest, 'DocFileCase') | 22:04 |
mgedmin | if there isn't an if, add one | 22:04 |
* mgedmin busy firefighting a server that hasn't come up | 22:04 | |
pips1 | mgedmin: ok. another question: in rosetta, there are already several (partially) translated po files. In s.bell, there are de, de_DE, de_CH. In s.tool, there is only 'de'. How do I add/get de_CH for s.tool? | 22:05 |
* mgedmin knows not | 22:07 | |
jinty | hoi pips1 | 22:07 |
th1a | That's a Rosetta question? | 22:07 |
pips1 | hoi jinty :-) | 22:08 |
th1a | You can ask on hm... #launchpad? Perhaps there's a rosetta channel? I thought there was... | 22:09 |
pips1 | jinty, do you know how it works with the po files for the various dialects of a language? | 22:09 |
jinty | If you import the translation into rosetta, I can use it with the 0.11.2 debian/ubuntu packages. | 22:10 |
jinty | I think you use the locale | 22:10 |
jinty | i.e. es | 22:10 |
jinty | i.e. es_AR | 22:10 |
jinty | so es contains the most neutral translations | 22:10 |
jinty | es_AR contains argentinian specific stuff | 22:11 |
pips1 | hm I guess I'll just go for 'de' rather than 'de_CH' to start with... | 22:11 |
jinty | yep, normally it is better to get a good de before de_CH | 22:12 |
pips1 | 'de' is my mother tongue, 'de_CH' is what I spoke with my local chums :-) | 22:13 |
pips1 | ok, I'll start with 'de' | 22:13 |
jinty | if you set the locale to de_CH, it'll first try de_CH, then use de as a fallback | 22:13 |
pips1 | right | 22:14 |
jinty | If i remember correctly | 22:14 |
jinty | will you be using the packages? | 22:14 |
pips1 | sure! | 22:14 |
jinty | ok, then ping me when you are done... | 22:15 |
pips1 | ok | 22:15 |
*** ignas has joined #schooltool | 22:17 | |
jinty | anyone know anything about/has used sqlos? | 22:21 |
*** jelkner has joined #schooltool | 22:21 | |
jelkner | jinty: hi brian | 22:21 |
jelkner | i just sent you an email | 22:21 |
jinty | yeah, got it. | 22:22 |
jinty | busy sending a very positive reply;) | 22:23 |
jelkner | cool | 22:23 |
jelkner | i have a question for anyone here | 22:24 |
jelkner | we are having *serious* performance issues with CanDo | 22:24 |
jelkner | it is big time slow | 22:24 |
jelkner | on the order of taking 35 seconds to display a screen | 22:24 |
th1a | Well, we just fixed the performace problems with SchoolBell. | 22:24 |
th1a | By "we" I mean POV. | 22:25 |
jelkner | hi tom! | 22:25 |
jelkner | so we need to get that into cando | 22:25 |
th1a | So it is probably similar issues. | 22:25 |
jelkner | that will be the first item on the agenda at 4... | 22:25 |
jinty | I should be relasing a new schooltool bugfix release with these optimizations shortly. | 22:26 |
th1a | Oh, yeah, it is tuesday. | 22:26 |
th1a | But CanDo will probably need its own set of optimizations. | 22:26 |
th1a | You're going to have to figure out exacly what is causing your poor performance. | 22:28 |
jelkner | so we can talk about that too | 22:28 |
jelkner | exactly | 22:28 |
jelkner | i want to make sure paul knows how to go about that in a clear, systematic way | 22:28 |
th1a | It is a bit late in the day to ask POV about it today, but they're the ones with experience doing profiling and optimization in SchoolBell. | 22:28 |
jelkner | as long as we can tell paul who to ask, he should be able to take it from there | 22:29 |
th1a | I think it is safe to say that the problems you're having are solvable. | 22:29 |
jelkner | me too | 22:29 |
jelkner | i told dave not to worry about it | 22:29 |
th1a | I just sent an email to the SchoolTool list outlining the improvements in the upcoming release. | 22:29 |
jelkner | after all, good xp practice says "no premature optimization"... | 22:30 |
jelkner | it is not premature now | 22:30 |
jelkner | we know what we need and we have real data to test it with | 22:30 |
th1a | These are the (very unscientific) before and after times: | 22:31 |
th1a | > 2005: 2 seconds | 22:31 |
th1a | now: .5 seconds | 22:31 |
th1a | > 2006 10 seconds | 22:31 |
th1a | now: 1 second | 22:31 |
th1a | > 2007: 19 seconds | 22:31 |
th1a | now: .4 seconds | 22:31 |
th1a | > 2008: 30 seconds | 22:31 |
th1a | now: .6 seconds | 22:31 |
th1a | > 2009: 40 seconds | 22:31 |
th1a | 1 second | 22:31 |
th1a | Year view for 2010: | 22:31 |
th1a | 1 second | 22:31 |
th1a | Month view for July 2005: | 22:31 |
th1a | .75 seconds | 22:31 |
th1a | That's for April 12 of each year. | 22:31 |
th1a | With a bunch of repeating events. | 22:31 |
jelkner | what do the years mean? | 22:32 |
ignas | your computer is fast :) | 22:32 |
th1a | April 12 of each year. | 22:32 |
th1a | This thing usually runs SchoolTool very slowly. | 22:32 |
th1a | It runs the test suites SUPER slowly. | 22:32 |
th1a | As you can see, the expansion of repeating events used to be brute force. | 22:33 |
ignas | well benchmark of recurrent events (we have benchmarks now) used to run like 15-30 minutes on my laptop | 22:34 |
ignas | before optimization | 22:34 |
th1a | Oh, this isn't your benchmarks. This is just ab of one page request. | 22:35 |
ignas | th1a, if you want to compare the old release with the new one you should just copy the benchmarks folder into the old release and run it there ... | 22:38 |
ignas | and compare the results with benchmarks executed on the optimized version | 22:38 |
th1a | How does one run the benchmarks? | 22:38 |
jelkner | pcardune: hi paul! | 22:46 |
jelkner | glad you're here | 22:46 |
jelkner | i've already started asking about a few things, and i really needed your input | 22:46 |
pcardune | jelkner, hello | 22:52 |
jelkner | we were discussing the speed issue | 22:54 |
jelkner | the top item on our agenda | 22:54 |
jelkner | are you familiar with the problem? | 22:54 |
pcardune | yes, i saw that... I have a few ideas up my sleeve | 22:54 |
pcardune | yes | 22:54 |
pcardune | i did some optimization before for different things | 22:54 |
pcardune | I guess it would just be useful to know what specific stuff to watch out for... | 22:55 |
jelkner | they've recently made some schoolbell changes that dramatically improved performance on that end | 22:55 |
jelkner | that might be part of the problem | 22:55 |
pcardune | for example, I assume that tales loops run slower than python loops... | 22:55 |
pcardune | I don't think so... I think the problem has to do with a lot of relationship look ups | 22:56 |
jelkner | thla: tom, paul is here | 22:56 |
tvon | Hello all | 22:56 |
jelkner | who can he talk to about optimizations for speed? | 22:56 |
jelkner | tvon: hi tom! | 22:57 |
pcardune | bskahan, ayt? | 22:57 |
tvon | jelkner: heya | 22:57 |
th1a | th1a: Sorry I was distracted by some hot gossip about my old school. | 22:58 |
th1a | The relationship lookups are brute force at this point, I think. | 22:58 |
*** ffsnoopy has joined #schooltool | 22:59 | |
th1a | So that would be a good place to do some work. | 22:59 |
povbot | /svn/commits: * jinty committed revision 5033: | 22:59 |
povbot | /svn/commits: Use the latest zpkgtools feature to fix loading of resources via subversion over http. | 22:59 |
jelkner | ffsnoopy: hi mitchell! | 22:59 |
ffsnoopy | jelkner: hiya | 22:59 |
pcardune | yeah, it is deffinitly having to do with relationship look ups | 22:59 |
th1a | There was a long thread on the Zope3-dev list about optimizing libraries that are similar to our relationship library. | 23:00 |
jelkner | ok, it's 4 pm | 23:00 |
jelkner | pcardune: do you know where dave is? | 23:01 |
pcardune | he is on skype... downloading mirc at the moment | 23:01 |
jelkner | he could just use his ubuntu-live cd ;-) | 23:01 |
pcardune | he says, "yeah, but I don't want to" | 23:02 |
jinty | is there an agenda for the meeting somewhere? | 23:04 |
jelkner | i'm about to post it here | 23:04 |
jelkner | 1. the performance issue and what to do about it | 23:04 |
pcardune | (I still can't check out from svn... it still asks me for a password) | 23:04 |
jelkner | 2. the general development environment and making sure all is working | 23:04 |
*** Welsh has joined #SchoolTool | 23:05 | |
jelkner | 3. involving mitchell foral (ffsnoopy) in the development process | 23:05 |
Welsh | welsh here | 23:05 |
jelkner | Welsh: hey dave, you made it | 23:05 |
Welsh | mIRC, I'm a believer! | 23:05 |
tvon | Welsh: hello | 23:05 |
jelkner | ubuntu is better! | 23:05 |
Welsh | Also believing in Carduner about right now! | 23:05 |
jinty | hoi | 23:06 |
jelkner | how is that for an agenda? | 23:06 |
jelkner | additions? | 23:06 |
tvon | jelkner: sounds good | 23:06 |
*** pips1 has left #schooltool | 23:06 | |
jinty | 4. place to put the tarballs | 23:07 |
jelkner | let's start with 1. then: the performance issue | 23:07 |
jelkner | we need a way to fix this fast | 23:07 |
Welsh | quick resent of agenda for | 23:07 |
Welsh | Welsh | 23:07 |
ffsnoopy | how about describing it briefly? | 23:07 |
ffsnoopy | so i have some idea of whats going on | 23:07 |
jelkner | dave, you want to handle that | 23:07 |
jelkner | ? | 23:07 |
bskahan | pcardune, try now | 23:07 |
jelkner | 1. the performance issue and what to do about it | 23:08 |
jelkner | 2. the general development environment and making sure all is working | 23:08 |
jelkner | 3. involving mitchell foral (ffsnoopy) in the development process | 23:08 |
jelkner | we are on 1 | 23:08 |
Welsh | gothca | 23:08 |
Welsh | Performance relates to lookups of student spreadsheets | 23:08 |
jelkner | do you have any other issues? | 23:08 |
Welsh | and student competency records | 23:08 |
jelkner | how bad is it? | 23:09 |
Welsh | Paul says there are a lot of relationship lookups on those two pages. | 23:09 |
Welsh | I'm concerned because the wait is 35 secs. | 23:09 |
Welsh | way, way, way too much | 23:09 |
pcardune | bskahan, it works, thanks | 23:09 |
Welsh | could we get it down to something like 10 secs. | 23:09 |
Welsh | that's a long wait, but at least bearable | 23:10 |
th1a | We should be able to do much better than that. | 23:10 |
Welsh | The good news is that the main spreadsheet lookup is ok | 23:10 |
Welsh | Maybe 5-10secs. | 23:11 |
Welsh | Buy the student spreadsheets also are important | 23:11 |
jelkner | so, what to we do? | 23:11 |
Welsh | What can we do in the near term to improve? | 23:11 |
jelkner | good question | 23:12 |
Welsh | My nearterm is next Tuesday, when I demo all this at Virginia Beach Advanced Tech Center | 23:12 |
Welsh | The nearterm after that is the sooner the better. | 23:12 |
jelkner | the main thing is for paul to know who to talk to | 23:12 |
jelkner | thla: who do you suggest? | 23:12 |
pcardune | I have a few things up my sleeve to try beforehand (I'm not at a total dead end yet) | 23:13 |
th1a | alga is less gumpy than mgedmin. | 23:13 |
jelkner | pcardune: do you know alga? (less grumpy is better ;-) | 23:13 |
jelkner | that's great, but you need a backup plan, someone to turn to... it is crunch time! | 23:14 |
jelkner | so, do you know alga? | 23:15 |
jelkner | ok, i want to move this forward and not waste folk's time, so... | 23:15 |
pcardune | no i don't | 23:15 |
pcardune | i can hear you | 23:16 |
jelkner | thla: could you email paul his contact info? | 23:16 |
th1a | Yes. | 23:16 |
jelkner | thanks! next item... | 23:16 |
jelkner | we need to figure out how the early adopters should run CanDo so that developer fixes can be easily incorporated into their systems | 23:17 |
jelkner | apt-get update is great, but only if we build a new package everytime we fix something | 23:17 |
jelkner | is that the way to go, or would something else be better? | 23:18 |
jelkner | anybody? | 23:19 |
jinty | in the near term? | 23:19 |
jelkner | yes | 23:19 |
tvon | deb packages are pretty standard for this | 23:19 |
jelkner | and certainly the easiest from the users point of view | 23:19 |
Welsh | VA Beach would like a list of steps of whatever we come up with | 23:19 |
Welsh | They've got pretty savvy tech folks over there | 23:19 |
jinty | for very early adopters with technical knowledge a subversion checkout is good | 23:20 |
jelkner | that works for me, it would work for dave, and it sounds like it would work for va beach | 23:20 |
tvon | Developers should use subversion... the trunk checkout gives them a working setup after a 'make' | 23:20 |
th1a | pcardune: This thread may be relevant to you: http://mail.zope.org/pipermail/zope3-dev/2005-August/015279.html | 23:21 |
jinty | the next level down is tarballs. nightly builds would be good. | 23:21 |
pcardune | tvon, my make fails with error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory) | 23:22 |
jelkner | keep in mind that we are in a working environment, a school, which is a pressure cooker | 23:23 |
jelkner | teachers come to dave and say, "this isn't working" | 23:23 |
jelkner | he tells paul | 23:23 |
jelkner | paul fixes it | 23:23 |
jinty | pcardune: apt-get install python{,2.4,2.3}-dev | 23:23 |
jelkner | and then dave needs to apply the fix | 23:23 |
jelkner | we need this to be *easy* | 23:23 |
jelkner | the great thing about jinty's package is that after apt-get install cando the thing is running | 23:24 |
jelkner | that's great | 23:24 |
jelkner | and it runs after a reboot of the machine | 23:24 |
*** flint_ has joined #schooltool | 23:24 | |
pcardune | hmm... i think the Breezy upgrade changed some things | 23:24 |
jelkner | so a power outage won't break it | 23:24 |
jelkner | it makes the admin's life bareable | 23:25 |
jinty | jelkner: it is possible to apply patches to a package and re-build, without the effort of re-building the tarball | 23:26 |
jelkner | on your own machine? | 23:26 |
jelkner | or do we do this and update the package? | 23:26 |
jinty | no, to the package, it is stored in the .diff.gz | 23:27 |
jelkner | and then apt-get update applies it, yes? | 23:27 |
jinty | yes | 23:27 |
jelkner | i like that the best | 23:27 |
jelkner | so if no one objects, the next question is: can we make this easy for paul to do? | 23:28 |
jinty | pcardune: know how to use arch? | 23:28 |
pcardune | afraid not | 23:28 |
tvon | is CanDo going to follow the move to arch/baz? | 23:29 |
jelkner | CanDo will go where thla and the rest of you folks says it goes | 23:29 |
tvon | th1a: is ST moving to baz along with the rest of canonical/ubuntu/etc? | 23:30 |
* jinty imagines mgedmin becoming even more grumpy | 23:31 | |
tvon | heh | 23:31 |
jelkner | well, this is all well and good, but it won't effect the next few weeks, so what do we do now? | 23:32 |
jelkner | i'm willing to assume the roll of package builder | 23:32 |
jelkner | if that makes sense | 23:32 |
th1a | tvon: Eventually. There is no timeline. | 23:32 |
jelkner | someone needs to do it | 23:32 |
jelkner | and pcardune is busy fixing bugs | 23:32 |
tvon | jinty: can you get the changes you made for your package into svn? | 23:32 |
jelkner | jinty: so, does that make sense? | 23:32 |
jinty | tvon: arch makes some things really easy, like keeping track of the package specific changes | 23:33 |
flint_ | we can refer to him as "package-roll elkner" (like the bluesman Jelly Roll Morton) | 23:34 |
* tvon hasnt messed with arch/baz in a while | 23:34 | |
jinty | jelkner: I can teach you how to update the packages, yes | 23:34 |
jelkner | great, then i'll assume that responsibility | 23:35 |
jelkner | i'll start by reading the docs you sent me, and then get back to you | 23:35 |
jelkner | so, one last thing | 23:35 |
flint_ | give a man a package and he can do, teach a man to package and he cando more.... | 23:35 |
tvon | so we need to get the packaging bits into SVN, probably make a branch for our current release and jelkner needs to know how to update packages from that branch | 23:35 |
tvon | sound right? | 23:36 |
jelkner | that sounds great | 23:36 |
jelkner | i could do an svn update and build the package from that, then just put it where it needs to go | 23:36 |
jelkner | yes? | 23:36 |
tvon | thats the idea | 23:36 |
* jinty thinks | 23:37 | |
jelkner | then users can apt-get update and we are good to go | 23:37 |
tvon | jelkner: you'll need to get a shell acct setup with bskahan | 23:37 |
jelkner | how do i do that? | 23:37 |
bskahan | jelkner, send me your ssh public key | 23:37 |
jinty | that can work | 23:38 |
bskahan | bbiab | 23:39 |
*** bskahan has quit IRC | 23:39 | |
th1a | I have to go buy food. Catch you later. | 23:40 |
jelkner | ok, that takes care of item 2 for now | 23:40 |
flint_ | Is Elkner yet another package manager (YAPM)? | 23:40 |
*** th1a is now known as th1a|way | 23:40 | |
jelkner | pcardune: what is up with your svn access? | 23:40 |
pcardune | it works | 23:40 |
jelkner | cool | 23:40 |
jelkner | ok, item 3 | 23:40 |
jelkner | mitchell is interested in working with you on this | 23:41 |
jelkner | i was thinking of asking him to complete eldar's import stuff as a first step | 23:41 |
jelkner | does that make sense to you? | 23:41 |
jelkner | and can you point him at the existing code? | 23:41 |
pcardune | yes, i can do that | 23:42 |
jelkner | ffsnoopy: mitchell, you still here? | 23:42 |
ffsnoopy | yes | 23:43 |
tvon | if he wants to dev, have him send a ssh key to bskahan | 23:43 |
tvon | ah | 23:43 |
jelkner | ffsnoopy: do you have a public ssh key you can send to bskahan? | 23:43 |
ffsnoopy | nope | 23:43 |
jelkner | ok, i'll set that up with you tomorrow | 23:44 |
Welsh | can we make a decision on ports | 23:44 |
Welsh | i.e. the ports SchoolTool/CanDo will run on | 23:44 |
ffsnoopy | jelkner: sounds good | 23:44 |
jelkner | Welsh: done | 23:44 |
Welsh | for the nearterm | 23:44 |
jelkner | it runs on 7280 | 23:44 |
Welsh | is that the port I should ask to be opened, along with ww | 23:45 |
jelkner | but i can make it run behind apache using port 80 for you | 23:45 |
Welsh | er, 22 | 23:45 |
jelkner | actually, yes | 23:45 |
jelkner | that would make things even easier | 23:45 |
Welsh | so, 7280 plus 22 | 23:45 |
jelkner | yup | 23:45 |
Welsh | will try. | 23:45 |
jelkner | great | 23:45 |
Welsh | cando | 23:45 |
Welsh | done did | 23:45 |
jelkner | ;-) | 23:45 |
Welsh | got paid | 23:45 |
Welsh | had fun | 23:45 |
jelkner | sounds like we are finished here then | 23:46 |
Welsh | I mean, did for FREE, remember audience | 23:46 |
jelkner | no, this audience wants to get paid to | 23:46 |
Welsh | you guys deserve it | 23:46 |
jelkner | we want freedom, not poverty | 23:46 |
Welsh | money only creates freedom to a very limited point | 23:47 |
Welsh | but that's another chat | 23:47 |
jelkner | ok then, it's a wrap | 23:47 |
flint_ | or more or less another rant... | 23:47 |
jelkner | pcardune: can i talk to you on gaim? | 23:47 |
jinty | we want to do something that makes us feel good, but not starve... | 23:47 |
pcardune | sure thing | 23:47 |
* tvon tips his hat | 23:48 | |
flint_ | believe me brian I am thinking hard about the getting paid part. Talking with mdz. | 23:48 |
jelkner | see ya all next week, same time, same #schooltool channel | 23:48 |
*** tiredbones has joined #schooltool | 23:48 | |
ffsnoopy | later | 23:49 |
pcardune | bye | 23:49 |
*** jelkner has quit IRC | 23:49 | |
jinty | cheers | 23:49 |
*** ffsnoopy has quit IRC | 23:49 | |
*** jinty has quit IRC | 23:49 | |
Welsh | elkner, what phone are you at? | 23:49 |
*** Welsh has quit IRC | 23:50 | |
flint_ | ghost flint flint | 23:53 |
*** flint_ has left #schooltool | 23:56 | |
*** flint_ has joined #schooltool | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!