*** menesis has quit IRC | 01:40 | |
*** replaceafill has quit IRC | 01:49 | |
*** mgedmin has quit IRC | 03:39 | |
*** mgedmin has joined #schooltool | 03:42 | |
*** mobert has quit IRC | 07:53 | |
*** yvl has joined #schooltool | 08:04 | |
*** mgedmin has quit IRC | 08:12 | |
*** mgedmin has joined #schooltool | 08:12 | |
*** khildin has joined #schooltool | 08:48 | |
*** khildin has quit IRC | 11:36 | |
*** menesis has joined #schooltool | 11:39 | |
*** khildin has joined #schooltool | 11:49 | |
*** khildin has quit IRC | 12:11 | |
*** menesis has quit IRC | 14:16 | |
*** menesis has joined #schooltool | 14:57 | |
*** replaceafill has joined #schooltool | 17:26 | |
th1a | hi replaceafill. | 17:33 |
---|---|---|
th1a | How long did that take you? | 17:33 |
replaceafill | hey th1a | 17:33 |
replaceafill | ~2.5 hours | 17:33 |
replaceafill | the header was the tricky part | 17:33 |
replaceafill | i didn't want to use a "manual" approach | 17:33 |
replaceafill | because i wanted to know how far table formatters can get | 17:33 |
th1a | So... what is the difference in the two approaches? | 17:35 |
*** replaceafill has quit IRC | 17:38 | |
*** replaceafill has joined #schooltool | 17:39 | |
replaceafill | sorry th1a | 17:39 |
replaceafill | got disconnected | 17:39 |
replaceafill | it took me a while to notice :( | 17:39 |
th1a | np | 17:40 |
th1a | So... what is the difference in the two approaches? | 17:40 |
replaceafill | well, table formatters give you sorting, column handling etc | 17:40 |
replaceafill | for "manual" tables | 17:40 |
replaceafill | you usually end up duplicating that | 17:41 |
replaceafill | just to get the template a little easier to handle | 17:41 |
th1a | "Manual" would just be writing <table><tr>, etc.? | 17:41 |
replaceafill | but i just set three rows for the header in the formatter | 17:41 |
replaceafill | yes | 17:41 |
replaceafill | and used styles to merge the cells | 17:42 |
replaceafill | one thing i did notice | 17:42 |
replaceafill | is that we should move every table to use paragraphs | 17:42 |
replaceafill | when a simple cell | 17:42 |
replaceafill | like <td>foo</td> | 17:42 |
replaceafill | is rendered | 17:42 |
replaceafill | you always have the risk that it'll overflow | 17:43 |
replaceafill | if the content doesn't fit | 17:43 |
replaceafill | i think that's something we can safely land in the core tables | 17:43 |
replaceafill | with a couple of paraStyle definitions | 17:43 |
th1a | That makes sense. | 17:44 |
replaceafill | i mean, i don't see any advantage of using <td>content</td> over <td><para>content</para></td> | 17:44 |
th1a | Yes. | 17:44 |
replaceafill | i also fixed a couple of issues in core tables | 17:45 |
replaceafill | like some fonts getting bigger | 17:45 |
replaceafill | in some cases | 17:45 |
replaceafill | and fixed a feature where you can register a table using just strings in python code | 17:45 |
replaceafill | i tried to use zcml to set the same attribute | 17:45 |
replaceafill | but zcml sets unicode | 17:46 |
replaceafill | not a big deal, but it's something nice you can do | 17:46 |
replaceafill | one thing i did notice today when i was generating the sample to send you | 17:46 |
replaceafill | is that Rick's report has two columns with * | 17:46 |
replaceafill | Needs attention columns | 17:47 |
replaceafill | and they use an area at the bottom of the page for that | 17:47 |
replaceafill | "* Please clarify all checks in columns marked with an asterisk" | 17:47 |
replaceafill | we just need a custom page template to put that in every page, nothing major | 17:48 |
th1a | At this point, it is up to your mood if you want to do that right now. | 17:50 |
replaceafill | i also worked on the journal, fixed the bug on the absences by day report and added a new test for it | 17:50 |
replaceafill | ah ok | 17:50 |
replaceafill | yeah, shouldn't take long | 17:50 |
th1a | OK. | 17:50 |
th1a | Just remember this is a favor. ;-) | 17:50 |
replaceafill | i started the last report, absences for range of dates | 17:50 |
replaceafill | but haven't finished it yet | 17:50 |
replaceafill | :) | 17:50 |
replaceafill | well, it's good training i must say | 17:50 |
replaceafill | real (weird) cases :D | 17:51 |
replaceafill | i'm not scared of headers anymore ;) | 17:51 |
replaceafill | i plan to start on packaging today | 17:51 |
replaceafill | hope to get it done | 17:52 |
replaceafill | that's it from me | 17:52 |
th1a | Yeah, I'm hoping these will start to feel routine. | 17:52 |
th1a | Maybe we can even post some prices. | 17:52 |
replaceafill | i'd say most of these reports have taken ~2h each | 17:54 |
replaceafill | some more, some less obviously | 17:54 |
replaceafill | but that's a good estimate at this point | 17:54 |
th1a | The big thing is counting task switching, setup and teardown. | 17:54 |
replaceafill | yeah | 17:54 |
th1a | I mean, that's what I want to make sure we include that. | 17:54 |
th1a | So assuming the skeleton of a package exists, | 17:54 |
th1a | It is still about 2 hours. You could do three or four in a full day? | 17:55 |
replaceafill | three i'd say | 17:55 |
th1a | OK. | 17:55 |
replaceafill | i mean, at a decent speed | 17:55 |
th1a | Yeah. | 17:56 |
replaceafill | we do need the skeleton | 17:56 |
replaceafill | it's easy to copy schooltool.cando and regexp strings, etc | 17:57 |
replaceafill | but something that does that would be really nice to have | 17:57 |
replaceafill | including a /debian directory | 17:57 |
th1a | Well, I'd like to document that too. | 17:59 |
th1a | So if you automated it, it would be a lot easier to document. | 17:59 |
th1a | We can definitely put that on the to-do list after the School page. | 17:59 |
replaceafill | +1 | 17:59 |
th1a | OK. | 18:01 |
th1a | So we'll release these as 2.8.2? | 18:01 |
replaceafill | yes | 18:01 |
replaceafill | and 2.8.1 for the journal iirc | 18:01 |
replaceafill | and i just used 2.8.0 for schooltool.encinitas | 18:02 |
replaceafill | ah question | 18:03 |
replaceafill | can i create a schooltool-owners ppa to put encinitas in? | 18:03 |
replaceafill | or do you want me to use replaceafill for that? | 18:03 |
th1a | You can use owners. | 18:03 |
replaceafill | kk | 18:04 |
replaceafill | thanks | 18:04 |
th1a | We're doing it as official ST work. | 18:04 |
replaceafill | yeah | 18:04 |
th1a | In appreciation for some good examples of reports we need. | 18:04 |
replaceafill | :) | 18:04 |
replaceafill | oh | 18:05 |
replaceafill | one thing i'd like to try for the journal release | 18:05 |
replaceafill | is Gediminas instructions on how to update translations | 18:05 |
replaceafill | he documented that really well | 18:05 |
replaceafill | and i'd like to test it | 18:05 |
th1a | Sure. | 18:06 |
th1a | There is no screaming rush. | 18:06 |
replaceafill | cool, thanks | 18:06 |
th1a | And I know people have been working on them. | 18:06 |
replaceafill | ah yes, someone is updated the Catallan translation | 18:07 |
replaceafill | i'd love this photo: | 18:09 |
replaceafill | https://pbs.twimg.com/media/ByyVf3IIcAE9Ynl.jpg | 18:09 |
replaceafill | i wonder if it's "real" :) | 18:09 |
replaceafill | i love* | 18:09 |
th1a | What? | 18:10 |
replaceafill | that translation makes no sense :D | 18:10 |
replaceafill | th1a, why the suicide + python tweet? | 18:11 |
th1a | OK, I picked up on that. | 18:11 |
replaceafill | is it because you're getting back to programming? | 18:11 |
replaceafill | or because what you're discovering on the data? | 18:11 |
th1a | So the number crunching is on survey data from students, specifically on depression and suicide. | 18:11 |
replaceafill | ah | 18:11 |
th1a | As it turns out, our high flying charter schools also lead the state in depression and reported suicide attempts in middle schoolers. | 18:12 |
replaceafill | wow | 18:12 |
th1a | So, that's a pretty big deal, especially since I don't think any other state collects and publishes that data every year at the school level. | 18:13 |
th1a | It was just in a bunch of pdf's so you couldn't rank them. | 18:13 |
replaceafill | were you able to parse them? | 18:13 |
replaceafill | i mean, to get all the data | 18:13 |
th1a | Yeah, like I said, the tables I couldn't do, but luckily what I really needed was not in tables. | 18:13 |
replaceafill | ah | 18:14 |
replaceafill | got it | 18:14 |
th1a | I just can't go down the rabbit hole of looking for correlations with all the other data, which is probably a good thing. | 18:14 |
th1a | I'm pretty much done with getting the data now. | 18:14 |
th1a | Took me a while to get the school names sanitized so I could get it in a tidy worksheet. | 18:15 |
th1a | Just school names are a nightmare here. | 18:15 |
replaceafill | :) | 18:15 |
th1a | We keep renaming, merging and splitting schools. | 18:15 |
replaceafill | sounds like an interesting research | 18:16 |
th1a | It is going to be a pretty big deal, actually. | 18:16 |
th1a | This is something that's just been anecdotal up to this point. | 18:17 |
th1a | And we really have years of consistent survey data sitting there. | 18:17 |
th1a | Anyhow, I got through the last of the programming last night. | 18:19 |
th1a | I took me a while to figure out that I had some "ghost" data because even though I'd deleted some CSV files there were still gedit temp files copies of them lying around. | 18:19 |
th1a | That drove me INSANE for about a half hour. | 18:19 |
th1a | "BUT I DELETED THAT!" | 18:20 |
th1a | The parsing is more or less just like this: | 18:21 |
th1a | for count in range(len(l)): | 18:21 |
th1a | if l[count][:6] == "so sad": | 18:21 |
th1a | depressed = l[count+17].rstrip() | 18:21 |
th1a | Find this string and jump down 17 lines. | 18:21 |
replaceafill | you should try pandas | 18:22 |
th1a | You should be encouraging me to stop fiddling. ;-) | 18:22 |
replaceafill | :D | 18:22 |
th1a | OK. Thanks replaceafill. | 18:22 |
replaceafill | thanks th1a | 18:22 |
*** replaceafill has quit IRC | 19:18 | |
*** replaceafill has joined #schooltool | 19:18 | |
*** menesis has quit IRC | 22:57 | |
th1a | replaceafill: Did you see Glenda's email? | 23:05 |
replaceafill | yes | 23:05 |
replaceafill | but haven't checked anything yet | 23:06 |
th1a | OK. Try to have a look today if you can. | 23:06 |
replaceafill | do you want me to switch to it? | 23:06 |
th1a | Yeah. | 23:06 |
replaceafill | kk | 23:06 |
replaceafill | on it... | 23:06 |
replaceafill | th1a, i was able to reproduce it locally | 23:16 |
replaceafill | it's the future again :( | 23:16 |
replaceafill | setting a student as Pending in a future date | 23:16 |
replaceafill | breaks the gradebook | 23:16 |
th1a | The whole gradebook. OK. | 23:17 |
replaceafill | yeah, it's gradebook specific | 23:17 |
replaceafill | (not cando) | 23:17 |
replaceafill | i'll fix it | 23:17 |
th1a | OK. Cool. | 23:17 |
replaceafill | the others errors seem just unauthorized pages asking for password | 23:18 |
th1a | replaceafill: Is there some reason CanDo reports wouldn't work for past years? I know in general they would work. | 23:26 |
replaceafill | not that i can think of th1a | 23:27 |
replaceafill | i mean | 23:27 |
replaceafill | most of them work on the right contexts | 23:27 |
replaceafill | like terms or years | 23:27 |
replaceafill | or sections | 23:27 |
*** menesis has joined #schooltool | 23:36 | |
*** menesis has quit IRC | 23:37 | |
*** menesis has joined #schooltool | 23:37 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!