IRC log of #schooltool for Tuesday, 2005-05-03

*** Aiste has quit IRC00:08
*** ignas has joined #schooltool00:19
*** ignas has quit IRC00:37
*** GaryPoster has quit IRC01:13
*** ignas has joined #schooltool02:31
*** GaryPoster has joined #schooltool03:23
*** GaryPoster has quit IRC05:44
*** SteveA has quit IRC10:20
*** mgedmin has joined #schooltool11:19
*** c0al has joined #schooltool11:23
*** c0al has quit IRC11:32
*** thisfred has joined #schooltool12:04
*** ignas has quit IRC13:14
*** Aiste has joined #schooltool13:18
*** bska|mobile has joined #schooltool14:03
mgedminsomebody decided to import locale twice in schooltool's app.py14:22
mgedmin"just to be extra sure"? ;-)14:22
bska|mobiletwo locales is better than one14:23
bska|mobile;)14:23
bska|mobileI caught that playing with pylint guess I never committed that stuff14:23
* mgedmin is torn between two choices14:30
mgedminshould the TermService (a container for Terms) be an attribute, or an item?14:30
mgedminapp.terms or app['terms']?14:30
mgedminthere are pros and cons for both14:31
mgedminitem: symmetric with groups/persons/resources, we get traversal and ILocation for free14:31
*** ignas has joined #schooltool14:32
mgedminattr: differs from groups/persons/resources, the interface is more explicit, code looks nicer14:32
bska|mobilemgedmin: what is a Term?14:41
bska|mobileI like it as an attribute14:44
bska|mobile(found it in the glossary)14:44
mgedminwe used to call it 'time period'14:49
mgedmina range of dates + an indication which days are schooldays and which are holidays14:49
* bska|mobile nods14:51
*** alga has joined #SchoolTool14:57
*** faassen has joined #schooltool15:20
*** tvon has quit IRC15:39
*** ignas has quit IRC15:39
*** auxesis has quit IRC15:39
*** faassen has quit IRC15:39
*** th1a has quit IRC15:39
*** munkee has quit IRC15:39
*** Ricey has quit IRC15:39
*** bska|mobile has quit IRC15:40
*** GaryPoster has joined #schooltool15:40
*** faassen has joined #schooltool15:40
*** ignas has joined #schooltool15:40
*** tvon has joined #schooltool15:40
*** auxesis has joined #schooltool15:40
*** th1a has joined #schooltool15:40
*** munkee has joined #schooltool15:40
*** Ricey has joined #schooltool15:40
*** auxesis has quit IRC15:40
*** bskahan has joined #schooltool15:41
*** auxesis has joined #schooltool15:41
*** GaryPoster has quit IRC15:48
*** mgedmin has quit IRC15:53
*** alga has quit IRC15:53
*** Aiste has quit IRC15:54
*** Aiste has joined #schooltool16:07
*** GaryPoster has joined #schooltool16:23
*** Aiste has quit IRC16:48
*** Aiste has joined #schooltool17:17
*** mgedmin has joined #schooltool17:20
mgedminwoohoo, we have a new SchoolTool logo17:23
mgedmintwo things: shouldn't SchoolTool be BiCapitalized?17:23
mgedminand the second one: the background color in the picture differs from the background color set in CSS17:24
bskahandamn17:24
mgedminwould that be some sort of color profile adjustment that Mac OS X does, but Firefox on Linux doesn't?17:24
mgedminor gamma correction?17:24
bskahanwhat's the official policy OnBumpySchoolTool17:24
mgedminMaybe we should put the text in HTML where it is easy to change17:25
bskahanI made that in gimp and it matched17:25
mgedminand make png contain the zebra but no text17:25
bskahanyeah, that's what it will have to be17:25
mgedminxmag tells me this: picture background is #efebe6, html background is #eae8e317:26
bskahaninteresting17:26
bskahanok17:26
mgedminwe could just use a transparent png if it weren't for MSIE :(17:26
bskahanmicrosoft should really pay me for the time spent on that headache17:27
mgedminmsie under wine renders two different colours as well17:27
Aistebut aren't there workarounds for MSIE?17:27
bskahanAiste: yes17:27
bskahanits a hack though17:28
Aistewell, sort of universally accepted hack17:29
bskahanyeah, I'd rather avoid it if we can17:29
mgedmingif?17:30
bskahanI'll try seperating the logo from the text17:30
mgedminthe patents expired already, didn't they?17:30
bskahanthe text edges won't anti-alias right in gif17:30
mgedminbut if we remove the text from the image...17:30
bskahanyeah17:30
bskahanthat's what I'm going to do now17:31
mgedminbtw what happened to the logo that was in 0.9?17:32
bskahanhttp://source.schooltool.org/svn/branches/schooltool-0.9.x/src/schooltool/browser/www/logo.png17:34
mgedminhttp://source.schooltool.org/viewcvs/tags/schooltool-0.9/src/schooltool/browser/www/logo.png?rev=2760&view=markup17:34
mgedminoh, you did that already ;)17:34
bskahannot sure why i didn't use it in the first place ......17:35
* bskahan goes to make coffee17:35
bskahanoh yeah, I think 0.9 was broken in IE17:36
bskahannot sure thougj17:36
bskahans/j/h/17:36
mgedminah, maybe it was transparent17:38
bskahannot going to use HTML for the text after thinking about it (and making coffee)17:40
ignaswell, one can allways create a png without alpha transparency, we know that the background will not be changed17:40
bskahanignas: yeah, that was my original plan, maybe I just set the color wrong17:41
ignasset it right and leave it at that, or you want to change the background ?17:41
bskahanI thought I set the image background to match ...17:42
mgedminsuccess!17:45
mgedminI made a transparent png with a background colour that renders correctly in MSIE17:45
mgedminshould I commit it?17:45
mgedminor will I step on your toes if I commit it?17:45
mgedminoops, it is not transparent at all17:46
mgedminbut nevertheless it renders correctly ;)17:46
bskahanheh17:47
bskahanI just committed one that should look right17:47
bskahantry it, if its not right please do17:48
mgedminnow I did it!17:48
bskahanheh17:48
mgedmin(not commit -- I made a transparent png with a fallback background color that is rendered in msie)17:49
*** GaryPoster has quit IRC17:52
*** tvon has quit IRC17:54
bskahanAlternatively, with the Gimp you can make a normal (unindexed, RGB image with alpha channel) PNG and select the option to save the background-color. This way IE will display the saved background color while better browsers will display transparency as intended.17:59
bskahanif anyone knows where that option is in gimp ...17:59
bskahanwell, its in the png export dialog, but doesn't appear to work as expected18:01
ignasbskahan, well i do ... selecting background color must be performed in the default fg/bg color box18:02
ignasi mean you must select the bgcoloryou want to become the fallback color18:02
ignasand then (without even using the color) save the png18:02
bskahanignas: thanks18:04
mgedminI just did that, 15 minutes ago18:05
mgedminit worked18:05
bskahanyeah, setting the background as a layer worked on 2 out 3 computers here18:06
bskahanbut that seems to work on all of them18:06
bskahanyay18:06
bskahanhate@ie18:07
* bskahan can't wait to see what's broken in ie718:07
mgedminI suppose there's not point in making a transparent png with saved background color18:07
mgedminif you can just make a nontransparent png with background color18:07
bskahanno18:07
bskahanthat's what I did a few minutes ago18:07
bskahanthe background rendered correctly in IE and Firefox on a desktop, and right on safari, but wrong on firefox in linux18:08
* bskahan shrugs18:09
bskahanthe save background version seems to work on everything here18:09
bskahanchanged it to SchoolTool while I was at it18:09
* mgedmin searches for uses of add_url in schoolbell's container views18:12
* mgedmin finds none18:12
mgedminI noticed that container views have a delete button at the bottom18:12
mgedminperhaps they should have an add button too?18:12
mgedminbut it would duplicate an action item from the sidebar18:13
mgedminso I'm not sure18:13
*** ignas has quit IRC18:14
bskahanI'd like to move many of the thing from the action menu into the frame, similar to plone18:14
bskahanso that the actions that directly impact the thing your viewing are in the fram with that 'thing'18:15
bskahanwhile the actions in the sidebar are more generic18:15
bskahanbut plone's design for that is a little confusing ...18:15
bskahantom's worked on a few variations but none have worked out18:16
bskahanthat would put Add and Remove both in the frame on a container view and not in the sidebar18:19
th1aThe distinction between the menu and the sidebar in Plone sites can be pretty arbitrary.18:37
bskahan?18:39
bskahanth1a: how so?18:40
bskahanor maybe, which menu18:40
th1aOh, by "menu" I meant "tabs."18:41
bskahangmail is actually a better example of what I'm thinking of in some ways18:41
th1aI'm feeling more than a little flustered because my trip to Spain wasn't confirmed until this morning.18:42
bskahanthe controls that affect a piece of content are located immediately around the content18:42
bskahanheh18:42
bskahanwhen do you leave?18:42
th1aTonight.18:42
bskahanhah18:42
th1aAnd I had a hard time motivating myself to write the presentation without knowing for sure I'd even be there.18:43
*** alga has joined #SchoolTool18:44
bskahanwhen's the actual presentation?18:45
mgedminsparklines without matplotlib (but with PIL instead): http://bitworking.org/news/Sparklines_in_data_URIs_in_Python18:46
bskahanthat's exciting, I wasn't thrilled about a matplotlib dependency18:47
*** SteveA has joined #schooltool19:34
bskahanhttp://people.etria.com/~bskahan/schooltool-logo-cached.png happy accident19:46
mgedminlooks kinda nice19:50
bskahanits the browser cache sticking between schooltool and schoolbell19:51
bskahanmay try to implement it for real later on19:52
*** alga has quit IRC20:10
mgedminare there any switches for starting day of the week (sun/mon) in schooltool/bell?20:15
bskahanyes20:16
bskahanin user preferences20:16
mgedmincan you give me a name to grep for in source code?20:17
bskahanweekstart20:18
bskahanin browser.cal20:18
mgedminI was actually hoping for the interface name, but this will do20:18
bskahanor IPersonPreferences in app20:18
mgedmina TextLine???20:19
mgedminwhy isn't it a Choice?20:19
* mgedmin was hoping for an attribute containing an integer constant, such as calendar.MONDAY or calendar.SUNDAY (import calendar)20:20
bskahanI can refactor it that way, I need to get rid of the Form in browser.app anyway20:21
mgedminthat'd be nice20:22
* bskahan nods20:23
bskahandoing it now20:23
*** thisfred has quit IRC20:24
bskahanmgedmin: committed20:57
mgedminbskahan, thanks!21:02
bskahannp21:09
bskahancommitting an evolution for it in a minute21:09
*** Aiste has quit IRC21:12
mgedminsee ya!21:12
*** mgedmin has quit IRC21:12
*** th1a has quit IRC21:45
*** faassen has quit IRC21:45
*** bskahan has quit IRC22:16
*** FarcePest has quit IRC23:33

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!