*** duende__ has joined #schooltool | 01:06 | |
*** duende_ has quit IRC | 01:06 | |
th1a | mobert: ayt? | 04:07 |
---|---|---|
mobert | th1a: yep | 04:26 |
th1a | can you ping wiki.sielibre.com? | 04:26 |
mobert | --- wiki.sielibre.com ping statistics --- | 04:27 |
mobert | 3 packets transmitted, 3 received, 0% packet loss, time 2002ms | 04:27 |
th1a | Cool. | 04:27 |
th1a | I found a perl script that works with my DNS host for dynamic dns. | 04:28 |
th1a | I feel like the script is missing the part where it sends the IP address, but... somehow it works. I guess they can just get that from the packet or whatever? | 04:28 |
th1a | That's my router. | 04:29 |
mobert | I don't know how it works, but it looks like it works. | 04:29 |
mobert | There's nothing happening on port 80 yet. | 04:29 |
th1a | Right. | 04:30 |
th1a | Gonna try some port forwarding now... | 04:30 |
mobert | Cool, I'll stay up a while to help you test it out. | 04:30 |
th1a | aGH... if I could log into the router... | 04:32 |
mobert | Hey, I had a question. In gradebook-toc.rst it says "SchoolTool is designed to be modular and allow customized gradebooks for specific needs. One example of this is the CanDo competency tracking gradebook, which is not currently included in the standard distribution of SchoolTool." Is that still true? | 04:32 |
th1a | No. | 04:32 |
th1a | Take out the whole last sentence. | 04:33 |
mobert | I'll just take out the word "not" | 04:33 |
mobert | "... which is currently included ..." | 04:33 |
mobert | Better yet, what SchoolTool version number was the first to include CanDo? | 04:34 |
th1a | Who cares. | 04:35 |
th1a | :-D | 04:35 |
mobert | Heh | 04:35 |
th1a | We don't need to be pedantic here. | 04:35 |
mobert | I was just thinking I'd say "... which has been included in the standard distribution of SchoolTool since version 2.6" or whatever | 04:36 |
mobert | I took out the "not" for now. | 04:36 |
th1a | OK, try wiki.sielibre.com now from a browser. | 04:38 |
mobert | Well, that was quick | 04:38 |
mobert | Apache2 Ubuntu Default Page | 04:38 |
th1a | Cool. | 04:38 |
th1a | Would have been quicker if I hadn't been trying to log in to the admin interface with the wifi password. | 04:38 |
mobert | "It works!" | 04:38 |
mobert | Port forwarding, fun! | 04:39 |
th1a | I'm psyched I don't ahve to go with some kind of janky dynamic dns setup. | 04:39 |
mobert | Yay, Perl | 04:39 |
mobert | Is that your CuBox? | 04:41 |
th1a | Yeah. | 04:42 |
mobert | Awesome | 04:42 |
th1a | The script is http://edoceo.com/creo/enom-ddns | 04:42 |
th1a | OK, thanks mobert. | 04:44 |
mobert | No problem th1a. | 04:46 |
mobert | I looked at the cron job -- it's a bash script, but it does use Perl to encode url strings | 04:48 |
mobert | The it uses curl to pass those strings to http://dynamic.name-services.com/interface.asp?Command=SetDNSHost | 04:49 |
mobert | I agree that it doesn't apparently pass your IP address to their servers, but they can probably get that from the HTTP request somehow. Cool beans | 04:51 |
*** menesis has quit IRC | 05:39 | |
*** mobert has quit IRC | 05:41 | |
*** menesis has joined #schooltool | 09:51 | |
*** menesis has quit IRC | 10:29 | |
*** menesis has joined #schooltool | 11:16 | |
*** duende__ has quit IRC | 12:40 | |
*** duende__ has joined #schooltool | 12:40 | |
*** menesis has quit IRC | 13:04 | |
*** duende__ has quit IRC | 13:04 | |
*** duende__ has joined #schooltool | 13:04 | |
*** menesis has joined #schooltool | 13:42 | |
*** khildin has joined #schooltool | 14:29 | |
*** replaceafill has joined #schooltool | 16:11 | |
th1a | hi replaceafill. | 16:25 |
replaceafill | hey th1a | 16:25 |
th1a | Try cubox.sielibre.com | 16:25 |
th1a | (I don't think it quite works yet) | 16:25 |
replaceafill | it does | 16:26 |
replaceafill | Cubox High | 16:26 |
th1a | Cool. | 16:26 |
th1a | I think my browser is caching. | 16:26 |
th1a | Ah, got it. | 16:26 |
th1a | Cool. | 16:26 |
th1a | That's coming from the little box on my desk. ;-) | 16:26 |
replaceafill | :D | 16:27 |
replaceafill | + usb? | 16:27 |
th1a | One thing that is especially funny about it is that the cubox has almost no blinkenlights | 16:27 |
replaceafill | or still sd? | 16:27 |
th1a | SD. | 16:27 |
th1a | USB en route. | 16:27 |
replaceafill | ah | 16:27 |
th1a | You can try out the performance. | 16:27 |
th1a | So it really looks like it is just sitting there doing nothing. | 16:27 |
replaceafill | exporting school | 16:28 |
th1a | I get a second or two of lag usually. | 16:28 |
replaceafill | are you running it behind apache? | 16:28 |
th1a | Yes. | 16:29 |
th1a | I just set that up. | 16:29 |
th1a | Our instructions work. ;-) | 16:29 |
replaceafill | we need to fix that in the book | 16:29 |
th1a | Hm? | 16:29 |
replaceafill | request dialogs keep spinning | 16:29 |
replaceafill | with no progress bars | 16:29 |
th1a | Oh! | 16:29 |
th1a | Fix what in the book? | 16:29 |
replaceafill | hold on | 16:29 |
replaceafill | i've been using mod rewrite to fix the issue | 16:30 |
replaceafill | you remember the issue, right? | 16:30 |
replaceafill | ProxyPreserveHost on | 16:31 |
replaceafill | RewriteEngine On | 16:31 |
replaceafill | RewriteRule ^/quiz_demo/schooltool.task_results(/?.*) http://localhost:4444/schooltool.task_results/$1 [P,L] | 16:31 |
replaceafill | RewriteRule ^/quiz_demo(/?.*) http://localhost:4444/++vh++http:dev.schooltool.org:80/quiz_demo/++$1 [P,L] | 16:31 |
replaceafill | it's the schooltool.task_results part what is missing in the book | 16:32 |
replaceafill | and the request dialogs use it | 16:32 |
replaceafill | it's still exporting | 16:33 |
th1a | IT rings a bell. | 16:33 |
th1a | I'm also packing the database now... | 16:33 |
replaceafill | :| | 16:33 |
replaceafill | poor cubebox | 16:33 |
th1a | Probably not a good idea. ;-) | 16:33 |
th1a | That's what happens when you have multiple users. | 16:33 |
th1a | It has enough memory and cpu but probably is io bound. | 16:34 |
th1a | It is not warm at all. | 16:35 |
th1a | I'm installing sysstat. | 16:35 |
replaceafill | i bet the ark folks will be interested in your experiment | 16:36 |
th1a | Looks like your report is done? | 16:38 |
replaceafill | yes | 16:39 |
th1a | OK. | 16:39 |
replaceafill | around 7 minuts | 16:39 |
replaceafill | minutes | 16:39 |
replaceafill | to finish | 16:39 |
replaceafill | not bad | 16:39 |
th1a | Where do I add that text? | 16:39 |
th1a | I'm more worried about interactive performance than big tasks. | 16:40 |
replaceafill | what text? | 16:40 |
replaceafill | apache? | 16:40 |
th1a | Yes. | 16:40 |
replaceafill | are you using the default site config? | 16:40 |
th1a | Actually, something appears to be down... :-( | 16:40 |
replaceafill | keeps working from here | 16:40 |
th1a | OK, my dns flipped back again. | 16:40 |
replaceafill | we can record selenium tests | 16:41 |
replaceafill | and run them from several places ;) | 16:41 |
th1a | True. | 16:41 |
th1a | Can you just update the book? | 16:41 |
replaceafill | yes, branching | 16:41 |
th1a | OK, cool. | 16:41 |
th1a | Take out the middle man. | 16:41 |
replaceafill | sorry, i forgot to do it when i started using mod rewrite | 16:42 |
th1a | So here's a question. | 16:47 |
th1a | Do you think we could use zrs in a production cubox to make the primary Data.fs on the external drive failover to a copy on the sd? | 16:48 |
th1a | If it got yanked? | 16:48 |
replaceafill | can't just a script do it? | 16:49 |
replaceafill | and i guess you could use zrs, but you'd need two schooltool instances ofc | 16:50 |
th1a | Two schooltools or two zeos? | 16:51 |
replaceafill | currently we don't have zeo without schooltool | 16:52 |
replaceafill | unless you create something additional ofc | 16:52 |
replaceafill | like what we've discussed for ark | 16:52 |
replaceafill | you only need the zeo client | 16:52 |
replaceafill | th1a, http://book.schooltool.org/apache.html | 16:54 |
th1a | hrm... | 16:55 |
th1a | What do you mean we don't have zeo without schooltool? | 16:56 |
th1a | I thought zeo was just like an abstraction layer in front of the zodb? | 16:56 |
replaceafill | that the zeo client + configuration is embeeded in the schooltool instance | 16:56 |
replaceafill | you modify schooltool.conf + zeo.conf INSIDE schooltool | 16:56 |
th1a | We welded them together at some point for convenience? | 16:57 |
replaceafill | i guess | 16:57 |
replaceafill | remember when Gediminas was working on supervisor | 16:57 |
replaceafill | i think that was the task | 16:57 |
replaceafill | so all i'm saying is | 16:58 |
replaceafill | CURRENTLY you can't run just the zeo client BY DEFAULT | 16:58 |
replaceafill | ofc you can turn things off in the supervisor configuration | 16:58 |
replaceafill | etc | 16:58 |
th1a | This is a little like my conversations with Steven. | 17:00 |
th1a | I can't tell if it is somewhat inconvenient or impossible. | 17:00 |
th1a | Let's just step back a sec. | 17:01 |
th1a | So in theory, if you had a standard zope/zeo setup. | 17:01 |
th1a | And you wanted to failover using zrs from one Data.fs to another. | 17:01 |
th1a | That's not EXACTLY what zrs is designed to do. | 17:01 |
th1a | You're really failing over from one zeo server to another. | 17:02 |
th1a | That's what it does? | 17:02 |
replaceafill | yes | 17:02 |
replaceafill | i'd say from one zeo server to one zeo "client" | 17:03 |
replaceafill | the second server is a client of the primary | 17:03 |
th1a | So in theory, the primary zeo server, using one port, would suddenly have its Data.fs unmounted, say "OH, SHIT" and die, and then another zeo running on the same machine, different port would take over with the sd card data fs. | 17:05 |
replaceafill | see the last part of your comment | 17:05 |
replaceafill | when primary goes down | 17:05 |
replaceafill | the oh shit part | 17:05 |
replaceafill | the second zeo keeps looking for it | 17:06 |
replaceafill | it has the data sync'ed | 17:06 |
replaceafill | but in our setup it can't act as primary just because | 17:06 |
replaceafill | that's what the dashboard does | 17:06 |
replaceafill | changes the configuration | 17:06 |
replaceafill | of the zeo | 17:06 |
replaceafill | from client to master | 17:07 |
replaceafill | so it can serve the db | 17:07 |
th1a | Well, yes, but essentially setting this stuff up is changes in configuration. | 17:07 |
replaceafill | yes | 17:07 |
replaceafill | it's not impossible | 17:07 |
th1a | Not new programming. | 17:07 |
replaceafill | yes | 17:07 |
th1a | OK. | 17:07 |
replaceafill | that would be one "reliant?" cubox :D | 17:08 |
replaceafill | self-reliant | 17:08 |
th1a | And in fact, you'd need to manually switch the sd zeo to primary if you didn't want to lose the changes when you plugged the external drive back in. | 17:08 |
th1a | So it would still require a bit of care. | 17:09 |
th1a | Might be easier in that respect to just have a script that switches to "OH SHIT, we lost our database, put it back in!" if someone yanks the drive. | 17:10 |
replaceafill | probably | 17:10 |
th1a | Easier insofar as you don't have do deal with re-syncing changes to the sd card version. | 17:10 |
th1a | Hm... you could try RAID mirroring. | 17:11 |
replaceafill | :| | 17:11 |
th1a | That would probably be best. | 17:11 |
replaceafill | dont you think the sd is enough? | 17:12 |
replaceafill | i mean, i guess the use case are small schools, right? | 17:13 |
th1a | Yes. | 17:13 |
th1a | I guess you need special hardware for the RAID mirroring to be hot swappable. | 17:13 |
replaceafill | i thought you needed identical hardware for raid | 17:14 |
replaceafill | never done right | 17:14 |
replaceafill | raid | 17:14 |
th1a | It is probably not practical. ;-) | 17:14 |
th1a | I guess just rsyncing every 5 minutes is probably best. | 17:15 |
th1a | OK! | 17:16 |
th1a | So mobert mentioned two things which had been nagging me too about the school page. | 17:16 |
replaceafill | ah great feedback! | 17:16 |
th1a | Putting the numbers next to the Student/Teachers like People/Contacts | 17:17 |
th1a | (not the other groups) | 17:17 |
replaceafill | ah ok | 17:17 |
th1a | And just moving the School Report Year Report labels above the selector. | 17:17 |
th1a | As regular text, that is. | 17:17 |
replaceafill | not using the scrollable select? | 17:18 |
th1a | Not integrating them. | 17:19 |
th1a | Just a label above -- we just marched down the wrong path because of the widget I grabbed. | 17:20 |
replaceafill | oh you mean the "School Reports" disabled option inside the widget | 17:20 |
replaceafill | that fakes a title | 17:20 |
replaceafill | for the select | 17:20 |
th1a | Yes. | 17:20 |
replaceafill | got it | 17:20 |
th1a | That we were fiddling with. | 17:20 |
replaceafill | is it because it could be confusing? | 17:21 |
replaceafill | i'm ok moving it out btw | 17:21 |
th1a | Yeah, he was like (is there an inactive choice there...?). | 17:23 |
th1a | It isn't a big deal. | 17:23 |
replaceafill | well, adding the numbers to the groups is really easy | 17:24 |
replaceafill | moving the title of the reports too | 17:24 |
replaceafill | out of | 17:24 |
th1a | Yeah, nothing major. | 17:24 |
replaceafill | should i do both? | 17:24 |
replaceafill | or just the numbers? | 17:24 |
th1a | Go ahead and do both, sure. | 17:26 |
th1a | What's up otherwise? | 17:26 |
replaceafill | ok | 17:26 |
replaceafill | i worked on the catalog for section instructors | 17:26 |
replaceafill | it works! | 17:26 |
th1a | Ah, cool. | 17:26 |
replaceafill | i'm going to try it with group members now | 17:27 |
replaceafill | since it's also a relationship | 17:27 |
replaceafill | i've been fixing most of the papercuts i found | 17:27 |
replaceafill | i had one debug "console.log(...)" call in table.js | 17:28 |
replaceafill | which incredibly broke IE8 | 17:28 |
replaceafill | :| | 17:28 |
th1a | Oh...! | 17:28 |
replaceafill | i need to merge the searches i showed you first on this task | 17:29 |
replaceafill | the ones we have for tables | 17:29 |
replaceafill | like /persons | 17:29 |
replaceafill | and /courses, etc | 17:29 |
replaceafill | and adjust them to the new catalogs | 17:29 |
replaceafill | most of them haven't changed | 17:29 |
replaceafill | but we added a couple more | 17:29 |
th1a | Sure. | 17:29 |
replaceafill | other than that... | 17:30 |
replaceafill | i don't think there's much left | 17:30 |
replaceafill | right? | 17:30 |
th1a | No. | 17:31 |
replaceafill | oh | 17:31 |
replaceafill | and i've been asking Isaac for things to help him | 17:32 |
replaceafill | now it seems like they have the same question | 17:32 |
replaceafill | we were discussing yesterday | 17:32 |
replaceafill | about the biiiiig year | 17:32 |
th1a | Question? | 17:34 |
th1a | It should work fine. | 17:34 |
replaceafill | they've requested a hangout | 17:35 |
th1a | Sure. | 17:35 |
replaceafill | do you want me to handle it? | 17:35 |
replaceafill | ok | 17:36 |
th1a | You can set it up. | 17:36 |
th1a | I won't be around Thurs/Fri though. | 17:36 |
replaceafill | oh! | 17:36 |
replaceafill | true | 17:36 |
replaceafill | oh it's a holiday in the US, right? | 17:37 |
replaceafill | so they probably won't either | 17:37 |
th1a | Yes. | 17:38 |
replaceafill | well, i'll ask | 17:38 |
replaceafill | i think that's it from me th1a | 17:38 |
th1a | OK. Thanks replaceafill. | 17:39 |
th1a | I'll try your revised instructions now. | 17:39 |
replaceafill | kk | 17:40 |
th1a | Should the "on" after ProxyPreserveHost be capitalized? | 17:42 |
replaceafill | it doesn't matter | 17:43 |
replaceafill | it should for consistency :) | 17:43 |
th1a | OK, dialogs seem to work. | 17:46 |
replaceafill | cool | 17:46 |
replaceafill | imho that paste configuration will create problems for multiple hosted instances | 17:47 |
replaceafill | i think the server *always* look for /schooltool.task_results | 17:47 |
replaceafill | no matter what domain the site uses | 17:48 |
replaceafill | ah nm, i realized the user can modify the paste.ini :) | 17:50 |
replaceafill | don't know, have to try it | 17:51 |
th1a | OK. | 18:19 |
replaceafill | th1a, no meeting tomorrow, right? | 18:31 |
th1a | Oh, yes, nor Friday. | 18:31 |
replaceafill | ah cool | 18:31 |
replaceafill | enjoy your holiday | 18:31 |
* replaceafill goes get Camila, bb in ~40 | 18:32 | |
*** yvl has joined #schooltool | 19:07 | |
th1a | replaceafill: http://wiki.sielibre.com/view/welcome-visitors | 19:27 |
*** yvl has quit IRC | 19:28 | |
replaceafill | th1a, a wiki? | 19:35 |
th1a | tbh, this isn't for SchoolTool... | 19:35 |
replaceafill | ah ok | 19:36 |
replaceafill | i started to wonder ;) | 19:36 |
th1a | Smallest Federated Wiki is pretty cool though. | 19:37 |
*** mibofra has quit IRC | 19:45 | |
*** mibofra has joined #schooltool | 20:04 | |
*** menesis has quit IRC | 20:53 | |
th1a | replaceafill: Flash drive arrived. | 20:53 |
replaceafill | :D | 20:53 |
replaceafill | more speed!!! | 20:53 |
th1a | I'm going to have to come up with a benchmarking selenium script first. | 20:53 |
replaceafill | ah | 20:54 |
replaceafill | good | 20:54 |
th1a | I should be able to fill down a bunch of grades and attendance records and then run some reports. | 20:54 |
replaceafill | load testing :) | 20:55 |
th1a | We just usually don't have a "try X, and if that is too slow, buy this for $20" situation. | 20:55 |
* replaceafill goes to get lunch, bb in ~1h | 21:08 | |
th1a | replaceafill: Need this... http://esite.ch/2014/04/11/mounting-external-usb-drives-automatically-to-its-label/ | 21:38 |
*** menesis has joined #schooltool | 21:58 | |
replaceafill | th1a, i remember fighting usbmount in my debian days :) | 22:54 |
th1a | lol | 23:09 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!