*** mgedmin has quit IRC | 00:08 | |
*** munkee has quit IRC | 05:54 | |
*** munkee has joined #schooltool | 05:55 | |
*** tvon has quit IRC | 07:11 | |
*** tvon has joined #schooltool | 09:41 | |
*** mgedmin has joined #schooltool | 12:11 | |
*** mgedmin has quit IRC | 12:11 | |
*** mgedmin has joined #schooltool | 12:15 | |
*** ignas has joined #schooltool | 12:21 | |
*** jinty has joined #schooltool | 12:58 | |
*** thisfred has joined #schooltool | 13:02 | |
*** Ricey has quit IRC | 13:02 | |
*** Ricey has joined #schooltool | 13:05 | |
*** Ricey_ has joined #schooltool | 13:14 | |
*** Ricey has quit IRC | 13:15 | |
*** Aiste has joined #schooltool | 13:56 | |
*** Aiste has quit IRC | 13:58 | |
*** Aiste has joined #schooltool | 13:59 | |
*** Aiste has joined #schooltool | 14:00 | |
povbot | /svn/commits: * ignas committed revision 4947: | 14:05 |
---|---|---|
povbot | /svn/commits: Added hasPermissions function for batch permission checking. | 14:05 |
*** didymo has joined #schooltool | 14:12 | |
*** strichter has joined #schooltool | 14:20 | |
*** jinty has quit IRC | 14:20 | |
*** strichter has quit IRC | 14:25 | |
*** srichter has quit IRC | 14:34 | |
*** didymo has quit IRC | 14:57 | |
*** appyR has joined #schooltool | 15:03 | |
*** srichter has joined #schooltool | 15:31 | |
*** strichter has joined #schooltool | 15:32 | |
*** bskahan has joined #schooltool | 15:52 | |
*** tiredbones has quit IRC | 16:16 | |
th1a_ | Hello, all | 16:30 |
srichter | good morning | 16:30 |
th1a_ | Is everyone here and awake? | 16:31 |
srichter | me ;-) | 16:31 |
th1a_ | ignas & medmin? | 16:32 |
th1a_ | mgedmin? | 16:32 |
*** th1a_ is now known as th1a | 16:33 | |
th1a | bskahan? | 16:34 |
th1a | Hello? | 16:34 |
* srichter cracks up... | 16:34 | |
th1a | We actually have a lot of important stuff to discuss today... | 16:40 |
srichter | yep | 16:40 |
srichter | brb | 16:41 |
bskahan | hello everyone | 16:42 |
th1a | Hey. | 16:44 |
th1a | Well, we can get started, I guess. | 16:44 |
th1a | bskahan: How is the server coming? | 16:45 |
bskahan | I ran into a problem creating the demo chroot for schooltool | 16:45 |
bskahan | it didn't work the easy way, so now I have to do it the hard way | 16:45 |
bskahan | ubuntu and debian debootsrap both failed for assorted reasons | 16:45 |
* th1a wishes we could ask mgedmin how they did it before. | 16:46 | |
bskahan | I'd really rather not run a public demo outside of a chroot | 16:46 |
th1a | I'm more worried about getting the Plone site up first. | 16:46 |
bskahan | ok, that can be up quickly | 16:47 |
bskahan | its allready setup and ready to run, I'll install all the packages today and start moving content tomorrow | 16:47 |
bskahan | brb | 16:48 |
srichter | back | 16:48 |
th1a | Actually, I'd like to poke around with the site before we start moving the content over. | 16:48 |
th1a | I think PloneSoftwareCenter and PloneHelpCenter should change the structure of the site quite a bit. | 16:49 |
th1a | But I won't really understand it until I get to poke around with them a bit. | 16:49 |
srichter | what will PloneSoftwareCenter and HelpCenter give us? | 16:50 |
th1a | I haven't been able to get PSC running on my laptop instance. | 16:50 |
srichter | :-) | 16:50 |
th1a | srichter: They're basically the products that manage releases and documentation on Plone.org. | 16:50 |
th1a | The way we publish releases right now is hopelessly haphazard. | 16:51 |
* srichter wonders whether we need this | 16:51 | |
srichter | I am a fan of simple :-) | 16:51 |
srichter | I see | 16:51 |
th1a | It is more a matter of having a structure. | 16:51 |
bskahan | PSC won't get us alot until we have third party packages, but the PEP forms are a good start for proposals | 16:51 |
srichter | but truthfully, I hate the hoops I have to jump through for Zope 3 and wish I could just upload a file | 16:52 |
bskahan | the release part of PSC is geared to "collections" of software | 16:52 |
th1a | Well, right now I don't even handle SchoolBell and SchoolTool exactly the same way, so we've got a lot of room for improvement. | 16:53 |
srichter | I see | 16:53 |
srichter | I open to see how it looks | 16:53 |
th1a | Is Plone running on the server now? What is the URL? | 16:54 |
bskahan | its not started at the moment | 16:54 |
bskahan | add "69.60.114.114 demo.schooltool.org dev.schooltool.org" to your /etc/hosts | 16:55 |
th1a | Will dev.schooltool.org be the Plone site? | 16:55 |
ignas | pong | 16:55 |
mgedmin | hi all | 16:56 |
mgedmin | sorry, I've been detained a bit | 16:56 |
mgedmin | just got back to the office | 16:56 |
bskahan | th1a: yes | 16:56 |
th1a | mgedmin: Detained by the Belorussian secret service? | 16:57 |
bskahan | I have to run unfortunately, I'll ping you this afternoon when they're back online | 16:57 |
th1a | Oy. This is why you have to treat every meeting like it is important, even if it isn't. | 16:57 |
mgedmin | demo server: all is described | 16:58 |
mgedmin | http://source.schooltool.org/viewcvs/trunk/demo/README.txt?rev=951&view=auto | 16:58 |
mgedmin | http://source.schooltool.org/viewcvs/trunk/demo/INSTALL.txt?rev=972&view=auto | 16:58 |
mgedmin | although you probably do not want to use User Mode Linux | 16:58 |
mgedmin | SteveA once told me that some Canonical sysadmin claimed UML is not safe | 16:58 |
th1a | mgedmin: Oh yeah. I forgot you guys used UML. | 16:58 |
th1a | UML is a lot more work, isn't it? | 16:59 |
bskahan | mgedmin: any reason a chroot wouldn't be sufficient? | 16:59 |
th1a | Seems to me that chroot would be fine. | 17:00 |
mgedmin | maybe | 17:00 |
mgedmin | it's up to the admin | 17:00 |
bskahan | heh | 17:00 |
mgedmin | we had the routing set up so that the UML couldn't make outgoing connections | 17:00 |
mgedmin | so that even if someone found a hole in ST and hacked it, they wouldn't get a free spam proxy or something | 17:00 |
bskahan | I'll look over the UML documentation, I hadn't considered doing it that way | 17:01 |
mgedmin | chroot doesn't give you that | 17:01 |
mgedmin | Xen is another option | 17:01 |
* bskahan nods | 17:01 | |
bskahan | true | 17:01 |
mgedmin | but then again -- if we do not trust ST enough to run it on our servers | 17:01 |
mgedmin | how can we ask our users to run it? | 17:02 |
th1a | Yeah. | 17:02 |
th1a | I certainly don't see any reason to think it is more hackable than say, Plone. | 17:02 |
srichter | I agree | 17:02 |
srichter | we are not running external OS-level scripts from within ST? | 17:02 |
bskahan | I think a public demo server is a different case than a project install of schooltool | 17:02 |
mgedmin | hmm, right -- the demo server was not a single ST instance | 17:03 |
SteveA | the main issue was schooltool's use of xmllib on outside input on its REST interface. | 17:03 |
SteveA | um, libxml2, i mean | 17:03 |
SteveA | it's had buffer overruns before | 17:04 |
mgedmin | it was a small web app that could create new demo instances with separate Unix user accounts etc. | 17:04 |
mgedmin | so it was running some scripts as root inside the UML | 17:04 |
th1a | We aren't worrying about resurrecting the full demo system at this point. | 17:05 |
bskahan | just a single demo instance | 17:05 |
th1a | Probably later. | 17:05 |
srichter | maybe we should shut off REST for the demo | 17:05 |
bskahan | srichter: +1 | 17:05 |
th1a | +1 | 17:05 |
ignas | srichter, what is the point of shutting down REST ? | 17:05 |
th1a | Does that protect us from libxml bugs? | 17:06 |
mgedmin | ignas, immunity to libxml2 bugs | 17:06 |
bskahan | ignas: it doesn't seem like that's something people will get alot of utility from in a demo environment | 17:06 |
mgedmin | th1a, yes, I think so | 17:06 |
mgedmin | you can't upload arbitrary XML files via web views | 17:06 |
th1a | OK. We'll do that & chroot is fine for now. | 17:06 |
mgedmin | ... righ? | 17:06 |
* bskahan nods | 17:06 | |
th1a | Let's move on. | 17:06 |
bskahan | ok, sorry I really have to go now | 17:07 |
bskahan | I'll read over the logs and reply this afternoon | 17:07 |
th1a | bskahan: OK. You and srichter need to have a serious meeting soon. | 17:07 |
* bskahan nods | 17:07 | |
srichter | any time today, when I am online | 17:07 |
srichter | :-) | 17:07 |
bskahan | srichter: ok, I'll be back this afternoon | 17:08 |
*** bskahan has quit IRC | 17:08 | |
th1a | How did things go last week at POV? | 17:08 |
th1a | How is optimization coming? | 17:09 |
mgedmin | my one day release-our-product task ate all of my week | 17:09 |
mgedmin | ignas and alga spent the week optimizing things | 17:09 |
ignas | alga finished optimizing recurrent events | 17:09 |
th1a | ignas? | 17:09 |
ignas | i have made normal events a bit faster | 17:10 |
ignas | and now i am working on ACL view | 17:10 |
th1a | Does the ACL view do batching? | 17:10 |
ignas | the things left are - yearly/monthly/weekly views | 17:10 |
ignas | th1a, well it does. not that i does them properly ATM | 17:10 |
ignas | that's what i am working on | 17:10 |
th1a | OK. | 17:10 |
th1a | I'm open to whatever kinds of changes will make that view manageable. | 17:11 |
th1a | So let me know if you have any creative ideas. | 17:11 |
srichter | what's the problem? | 17:11 |
ignas | th1a, well me and alga managed to sped it up like 80 times | 17:12 |
ignas | or so | 17:12 |
ignas | so it kind of makes it bearable | 17:12 |
th1a | Well, that's good. | 17:12 |
mgedmin | s/sped/speed/ | 17:12 |
th1a | mgedmin: When are you going to start on the merge? | 17:14 |
mgedmin | as soon as possible | 17:15 |
th1a | Meaning? | 17:15 |
mgedmin | that probably means when ignas becomes available to help me | 17:15 |
mgedmin | until then I'm pair programming with him | 17:15 |
th1a | Pair programming on optimization? | 17:16 |
mgedmin | yes | 17:16 |
th1a | OK, so that will be a few days at least? | 17:16 |
mgedmin | I'm afraid to say | 17:16 |
mgedmin | I'd like to use this opportunity and ask a question | 17:17 |
mgedmin | is anyone aware of any changes to the current trunk that aren't yet backported to srichter's branch? | 17:17 |
th1a | I'm sure srichter would prefer if you two work on the merge first, since that will speed up his payment for that work. | 17:17 |
mgedmin | I am unhappy that ignas and alga started optimization work before the merge | 17:18 |
th1a | srichter ported changes a few weeks ago, I think. | 17:18 |
mgedmin | now we have three branches that somehow have to be merged instead of two :/ | 17:18 |
th1a | This is inherently messy. | 17:19 |
th1a | We just have to plow through. | 17:19 |
ignas | th1a, what is the deadline for optimizations ? | 17:19 |
mgedmin | thanks for the encouragement | 17:19 |
th1a | ignas: I don't know that there is a specific deadline for the optmizations. | 17:20 |
ignas | i see, well i am pondering whether i should finish all the optimizations | 17:21 |
ignas | or just do the ACL view | 17:21 |
ignas | and go help mgedmin | 17:21 |
th1a | I'd say finish the ACL view, if you've started it. Then you and mgedmin should do the merge. | 17:21 |
mgedmin | fine by me | 17:21 |
srichter | yes | 17:22 |
srichter | Only the optimization stuff needs to be merged | 17:22 |
srichter | mgedmin: I am keeping track of all changes to the trunk | 17:22 |
srichter | I can give you the revs that still need merging | 17:22 |
mgedmin | srichter, THANKS!!! | 17:22 |
th1a | Well, at least we're getting somewhere. | 17:23 |
th1a | Moving on... for a number of reasons, it is looking like it will be best for srichter and bskahan to collaborate on the "pluggable UI" work. | 17:24 |
*** tiredbones has joined #schooltool | 17:24 | |
mgedmin | how about this plan of action: switch trunk and srichter's branch ASAP | 17:25 |
mgedmin | then work on reviewing / merging stuff into the new trunk | 17:25 |
mgedmin | while other people also work on the new trunk | 17:25 |
mgedmin | and try not to step on each other's toes | 17:25 |
ignas | +0.8 | 17:25 |
srichter | yeah, I think this would be good | 17:25 |
srichter | we really need exposure of the refactor stuff to the developers | 17:26 |
srichter | so that we can work out problems ASAP | 17:26 |
th1a | I'm not sure what you mean by "while other people also work on the new trunk." | 17:27 |
mgedmin | pluggable UI work, for example | 17:28 |
srichter | basically we do not want to stall development due to the lack of the merger | 17:29 |
th1a | The merger will happen soon, so I don't think that will be a problem. | 17:29 |
th1a | I would like to stick with the pattern of having work done in branches and then merged into the trunk. | 17:30 |
th1a | It isn't as smooth in svn as it is in bazaar, but I think it is the way to go. | 17:31 |
ignas | th1a, branches are increasing the cost of any refactoring, code improvement efforts | 17:31 |
mgedmin | th1a, it'd work if we're careful | 17:31 |
ignas | and it oposes the continuous integration mantra :/ | 17:32 |
* srichter is not a big fan of branches either, but will do whatever th1a says is good for him :-) | 17:32 | |
* th1a is more or less repeating what SteveA says is good for him. | 17:32 | |
th1a | But it makes sense to me. | 17:32 |
th1a | Perhaps we are making our branches too big. | 17:33 |
mgedmin | SteveA has tools that enable this | 17:33 |
mgedmin | we don't | 17:33 |
th1a | The problem is that I can't really play the role of bdfl on a code level. | 17:33 |
mgedmin | while don't have the time/authority | 17:34 |
th1a | mgedmin, you mean bazaar, or other tools? | 17:34 |
mgedmin | bazaar, pqm, infrastructure for code reviews, established development procedures -- all of it | 17:34 |
mgedmin | when you do extensive refactoring on one branch, merging another branch becomes painful with subversion | 17:35 |
mgedmin | actually, I don't know whether bazaar makes it easier | 17:35 |
th1a | OK. I'll think about it some more. | 17:35 |
mgedmin | but bazaar does support repeated merges, while you have to explicitly keep track of revision numbers in SVN if you want to do that | 17:36 |
srichter | what is bazaar? | 17:36 |
mgedmin | SteveA suggested that we try out bazaar-ng somewhere in October | 17:36 |
mgedmin | srichter, do you know GNU arch? | 17:36 |
ignas | srichter, bazaar is an RCS | 17:36 |
srichter | does it support Windows? | 17:36 |
mgedmin | kinda | 17:36 |
SteveA | baz2 (known as bazaar-ng) does | 17:37 |
srichter | because that's key | 17:37 |
SteveA | it is written in python | 17:37 |
srichter | it's a requirement steve does not have | 17:37 |
mgedmin | that's one of the reasons why we chose SVN rather than arch for schooltool 2 years ago | 17:37 |
*** jinty has joined #schooltool | 17:37 | |
mgedmin | anyway, let's not get carried away | 17:37 |
mgedmin | I'd be happy to participate in a discussion about modern revision control systems | 17:38 |
mgedmin | but after the meeting | 17:38 |
mgedmin | um... are we still in the meeting? | 17:38 |
srichter | right | 17:38 |
th1a | I'll send out an email on these issues. | 17:38 |
* th1a bangs the gavel. | 17:38 | |
mgedmin | I'd buy a beer/$other_beverage if someone wrote a Supybot plugin for announcing meeting start/end times on IRC | 17:39 |
th1a | mgedmin: They don't really change. | 17:40 |
mgedmin | for some reason I can never remember the new time | 17:40 |
srichter | 13:30 UTC! :-) | 17:40 |
srichter | and it's in the title of the channel too :-) | 17:40 |
srichter | okay, anyways, I have to go back to my decision making about my TA | 17:41 |
* mgedmin enters the time into his PDA | 17:41 | |
* mgedmin wonders why he hadn't done that before | 17:42 | |
th1a | mgedmin: I have started using your time tracker from the command line on my Mac. | 17:42 |
mgedmin | you mean timelog.py? | 17:43 |
th1a | I don't know whether I should write a gui for the Mac or my phone. | 17:43 |
th1a | mgedmin: yeah. | 17:43 |
mgedmin | Mac GUI would be awesome | 17:43 |
mgedmin | Aiste would be happy | 17:43 |
th1a | OK. | 17:43 |
th1a | I'll keep that in mind. | 17:43 |
mgedmin | is there a reason why you do not use the Gtk+ one with Apple's X server? | 17:43 |
th1a | Well, I took a poke at it. | 17:44 |
th1a | Probably it would work if I bothered to figure out how to point pygtk to the DarwinPorts GTK. | 17:45 |
Aiste | hm, it works for me | 17:45 |
srichter | BTW, someone reported a failure on the refactor branch | 17:45 |
Aiste | there is a py-gtk2 for darwin ports | 17:45 |
srichter | I just ran all the tests again and they pass for me | 17:45 |
th1a | Are you also using DarwinPort's Python? | 17:46 |
th1a | Hm... | 17:46 |
ignas | srichter, pdf generation is failing :/ | 17:46 |
ignas | how many unit tests does test runner display ? (the count) | 17:47 |
srichter | but I have the directories all setup and it does not tell me that the tests are skipped anymore | 17:47 |
th1a | I had been trying to keep Apple's Python as the main one on my machine to make sure that SchoolTool worked properly with it. But now that it seems like those problems are gone, I guess it doesn't matter. | 17:47 |
srichter | 696 | 17:47 |
ignas | ok, i'll run them once more | 17:47 |
srichter | which test in particular is failing? | 17:47 |
Aiste | th1a: yes, I am using python23 from DP | 17:48 |
ignas | srichter, let me see, it was a long time | 17:48 |
srichter | ignas: oh yes, I fixed the PDF tests last, because I never had the right directory setup | 17:49 |
ignas | ImportError: No module named http | 17:49 |
ignas | that's what i am geting :/ | 17:49 |
ignas | File "/home/ignas/src/schooltool-r/src/schooltool/app/main.py", line 48, in ? | 17:50 |
th1a | Aiste: After I put together a rough .pkg installer for Mac last week, I got a bunch of help from an Apple Education trainer, and he vastly improved it, so it has a controller in the preference pane for the server & everything. | 18:03 |
srichter | then you are in troubles :-) | 18:04 |
srichter | ignas: because this is a Zope 3 import | 18:04 |
srichter | is Zope 3 checked out for you? | 18:04 |
srichter | did you get a fresh checkout? | 18:04 |
Aiste | th1a: cool | 18:05 |
th1a | I'll let you know when you can test it. | 18:06 |
*** muzz2k has joined #schooltool | 18:06 | |
*** muzz2k has left #schooltool | 18:06 | |
mgedmin | yipeee, I finally got the infamous nondeterministic ConnectionStateError myself! | 19:26 |
mgedmin | and it is deterministic | 19:29 |
th1a | What's the cause? | 19:31 |
mgedmin | python test.py -f -w1 -pvvC -s src/schoolbell/app/browser . 'copypas|errors' | 19:31 |
ignas | srichter, i have just rm -rf ed my Zope3 | 19:31 |
ignas | and still - i am geting the import error | 19:31 |
ignas | svn+ssh://source.schooltool.org/svn/schooltool/branches/srichter-refactor/schooltool | 19:32 |
* mgedmin updates http://issues.schooltool.org/issue377 | 19:37 | |
mgedmin | srichter, watch this: | 19:38 |
mgedmin | cd ~/src/srichter-refactor/schoolbell | 19:38 |
mgedmin | svn up | 19:38 |
mgedmin | svn up Zope 3 | 19:38 |
mgedmin | make test ftest | 19:38 |
mgedmin | fails with | 19:38 |
mgedmin | ConfigurationError: ('No such file', '/home/mg/src/srichter-refactor/schoolbell/Zope3/src/zope/app/generations/browser/Zope3/src/zope/app/generations/browser/managers.pt') | 19:38 |
mgedmin | while doing "Extracting translations" | 19:39 |
mgedmin | srichter, LC_ALL="C" python test.py -w1 -pvC gives me 11 failures | 19:40 |
mgedmin | all in schoolbell.app.browser.tests.test_pdfcal | 19:41 |
mgedmin | svn st shows no local changes | 19:41 |
srichter | huh? | 19:41 |
mgedmin | I will set up buildbots for your branch | 19:41 |
srichter | the above directory does not even exist! :-) | 19:41 |
srichter | btw, forget the schoolbell directory on the branch | 19:42 |
srichter | it should simply be removed | 19:42 |
ignas | srichter, and what about schooltool ? | 19:42 |
srichter | everything should be passing in it | 19:42 |
ignas | could you please do "svn co svn+ssh://source.schooltool.org/svn/schooltool/branches/srichter-refactor/schooltool" + make test ftest | 19:43 |
srichter | yep | 19:43 |
mgedmin | ah, ok, forgetting | 19:45 |
mgedmin | $ svn rm schoolbell | 19:48 |
mgedmin | [...] | 19:48 |
mgedmin | svn: Use --force to override this restriction | 19:48 |
mgedmin | svn: 'schoolbell/Zope3' is not under version control | 19:48 |
mgedmin | waah | 19:48 |
srichter | right | 19:48 |
srichter | you have to remove Zope3 normally | 19:48 |
srichter | because it si a checkout | 19:48 |
srichter | not part of the revision control | 19:49 |
srichter | but it has svn entries, because it is a checkout | 19:49 |
mgedmin | oh, right -- but before svn told me that, it went on to list 49 "Performing status on external item at 'schoolbell/Zope3/src/foo'" lines | 19:49 |
mgedmin | it confused me | 19:49 |
povbot | /svn/commits: * mg committed revision 4948: | 19:52 |
povbot | /svn/commits: Removing decoy. | 19:52 |
povbot | /svn/commits: <srichter> btw, forget the schoolbell directory on the branch <srichter> it should simply be removed | 19:52 |
ignas | srichter, so how as the clean checkout ? | 19:52 |
ignas | s/as/was | 19:53 |
srichter | ok, now I get the http problem as well | 19:53 |
ignas | yippie | 19:53 |
ignas | now it's your problem :D | 19:53 |
srichter | oh, and I know why :-) | 19:53 |
srichter | it's from the changes Jim and I did last week I think | 19:54 |
mgedmin | $ make ftest gives me FAILED (failures=5) | 19:54 |
srichter | ye[ | 19:54 |
srichter | yep | 19:54 |
mgedmin | unit tests all pass here | 19:54 |
mgedmin | yay, I'm glad we all reached the same state | 19:54 |
mgedmin | postponing buildbot change until these bugs are resolved | 19:55 |
srichter | so we might have to migrate to WSGI | 19:57 |
srichter | probably trivial | 19:57 |
srichter | I can look at it tonight | 19:57 |
srichter | right now I am really busy | 19:57 |
mgedmin | ok | 19:59 |
mgedmin | we probably won't be able to start on the merge today | 19:59 |
mgedmin | anyway | 19:59 |
th1a | Aiste: Do you have gtimelog running under GTK on Mac? | 20:22 |
mgedmin | she's not here | 20:23 |
povbot | /svn/commits: * mg committed revision 4949: | 20:23 |
povbot | /svn/commits: Removing superfluous ftest -- this should fix issue377 (ConnectionStateError). | 20:23 |
th1a | Do you know if she does? | 20:23 |
mgedmin | yes, she does | 20:23 |
*** alga has joined #SchoolTool | 20:24 | |
povbot | /svn/commits: * mg committed revision 4950: | 20:29 |
povbot | /svn/commits: Oops. Apparently now I have to edit some ZCML when I remove a ftest. | 20:29 |
povbot | /svn/commits: * mg committed revision 4951: | 20:30 |
povbot | /svn/commits: Unused imports. | 20:30 |
povbot | /svn/commits: * mg committed revision 4952: | 20:33 |
povbot | /svn/commits: Don't Repeat Yourself: refactored the hasPermission implementation. | 20:33 |
povbot | /svn/commits: * ignas committed revision 4953: | 20:35 |
povbot | /svn/commits: Refactored common code into ACLViewBase.applyChanges | 20:35 |
povbot | /svn/commits: * mg committed revision 4954: | 20:37 |
povbot | /svn/commits: Removed dead code. | 20:37 |
mgedmin | hasPermissions([perm1, perm2, perm3]) -> [True, False, True] | 20:40 |
mgedmin | or | 20:40 |
mgedmin | hasPermissions([perm1, perm2, perm3]) -> [perm1, perm3] | 20:40 |
mgedmin | ? | 20:40 |
mgedmin | answer: #1 (because we're doing optimization, and do not want to do __contains__ tests in a loop) | 20:41 |
mgedmin | du | 20:41 |
mgedmin | h | 20:41 |
* mgedmin can't even spell duh! | 20:41 | |
*** tiredbones has quit IRC | 20:49 | |
povbot | /svn/commits: * ignas committed revision 4955: | 20:58 |
povbot | /svn/commits: Added a unit test for ACLViewBase.permsForPrincipal | 20:58 |
povbot | /svn/commits: * mg committed revision 4956: | 21:01 |
povbot | /svn/commits: Refactor ACLViewBase to use hasPermissions instead of hasPermission. Ignas claims this gives a massive speedup. | 21:01 |
povbot | /svn/commits: * mg committed revision 4957: | 21:04 |
povbot | /svn/commits: Removed hasPermission which is now no longer used. | 21:04 |
th1a | Hm. While trying to get gtimelog running I discovered a DarwinPorts bug report by Aiste. | 21:19 |
Aiste | yeah, I do not know whether that bug is still valid -- do not have time to install python24 from scratch and then all the py-gtk stuff and so on | 21:21 |
Aiste | it did not work the three times I tried it | 21:21 |
alga | serves you right for choosing such a user-oriented platform :-) | 21:25 |
*** thisfred has quit IRC | 21:29 | |
Aiste | alga: huh, what does DarwinPorts have to do with user oriented? | 21:30 |
alga | Mac is for grannies :-) | 21:31 |
povbot | /svn/commits: * mg committed revision 4958: | 21:33 |
povbot | /svn/commits: Removed unused import. | 21:33 |
Aiste | alga: hello to you too | 21:33 |
*** srichter has quit IRC | 21:36 | |
*** ignas has quit IRC | 21:51 | |
th1a | Aiste: So I still have to manually compile pygtk? | 21:53 |
Aiste | well I did not | 21:54 |
povbot | /svn/commits: * mg committed revision 4959: | 21:54 |
povbot | /svn/commits: Added a script to measure ACL view rendering and update times. | 21:54 |
Aiste | and I use python23 | 21:54 |
Aiste | my py-gtk gets installed against python23 | 21:54 |
th1a | There doesn't seem to be a py-gtk port. | 21:54 |
Aiste | which is ok with some exceptions | 21:54 |
th1a | Only py-gtk2. | 21:54 |
Aiste | py-gtk2 | 21:54 |
Aiste | yes, that is the one that I am using | 21:55 |
Aiste | with glade variant | 21:55 |
th1a | Hm. | 21:55 |
mgedmin | how do you write native Mac OS X apps with Python? | 21:56 |
th1a | In this case I think PyObjC would be the best choice. | 21:57 |
th1a | Or wxPython! | 21:57 |
mgedmin | ACL view rendering: 5 seconds (rev 4937) -> 2.9 seconds (rev 4959) | 21:57 |
mgedmin | ACL view form processing: 10 seconds (rev 4937) -> 5 seconds (rev 4959) | 21:57 |
mgedmin | that's with 100 random users and groups | 21:57 |
mgedmin | on my Pentium-M 1.6 GHz laptop | 21:58 |
th1a | With batching? | 21:58 |
mgedmin | yes | 21:58 |
mgedmin | although batching is only in the UI | 21:58 |
th1a | Oh... | 21:58 |
mgedmin | the view loads and computes stuff for all persons & groups in the backend now | 21:58 |
mgedmin | that's the next item on the list | 21:58 |
th1a | I see. | 21:59 |
th1a | So if it only calculates the objects its displaying it'll be several more times faster? | 21:59 |
mgedmin | I hope so | 22:00 |
mgedmin | let's see... | 22:00 |
*** appyR has quit IRC | 22:11 | |
mgedmin | spike results: with proper batching | 22:16 |
mgedmin | ACL view rendering: 0.35 seconds | 22:16 |
mgedmin | ACL view form processing: 0.5 seconds | 22:16 |
mgedmin | will write tests and commit it tomorrow | 22:16 |
mgedmin | see ya! | 22:16 |
*** mgedmin has quit IRC | 22:16 | |
*** alga has quit IRC | 22:53 | |
*** srichter has joined #schooltool | 23:09 | |
*** maharaja has joined #schooltool | 23:33 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!