IRC log of #europython for Monday, 2008-07-28

*** MrMeanie has joined #europython00:50
*** jlilly has quit IRC01:00
*** jlilly has joined #europython01:00
*** pboddie has joined #europython01:04
pboddieMrMeanie: How's the ambitious project coming along?01:13
*** lenscape has quit IRC01:19
MrTopfpboddie: not sure if you mean me ;-)01:32
MrMeaniepboddie: Hi01:33
MrMeaniepboddie: Its going okay01:33
MrMeanieSort of01:33
TvMrTabTab01:33
Tv(think Shaggy)01:33
MrMeaniepboddie: I was just reading a website on doing mathematical expressions in HTML.01:33
MrMeanieNot pretty or easy.01:33
MrTopfHey MrMeanie  :)01:34
MrMeanieThere was a guy at EP, Henrik, who said that it would be possible to do divide expressions using relative/absolute position using CSS. :-)01:34
MrMeanieBut it does not seem very easy01:34
MrMeanieDoes not seem to practical01:34
MrTopfHey Tv01:34
MrMeanieSo after working for a while to convert my app from using my own DOM/typesetting system to outputting HTML, I am thinking of going back again.01:35
MrMeanieMrTopf: Ho :-)01:35
MrMeanieHi (sorry)01:35
* MrTopf now has the joy to read C# code...01:35
MrMeanieMrTopf: Who are you btw? Were you at EP in Vilnius?01:36
MrMeanie(wondering if I met you)01:36
MrTopfyes, I was01:36
MrTopfI was on the stage asking people for barcamp sessions01:36
MrMeanieAhhhhh01:36
MrTopfand filming here and there01:36
MrMeanieCool :-)01:36
MrMeanieI only did a lightning talk01:36
MrTopfand now I have that funky job of converting all those videos ;-)01:36
pboddieMrTopf == Christian01:37
pboddieMrMeanie == Geoffrey01:37
MrMeaniethe one on the code editor that did the mathematical expressions in python code01:37
MrTopfI wanted to give one and had slides prepared but then time was out01:37
MrMeanieMrTopf: Ahhhh01:37
MrTopfah :)01:37
MrTopf:)01:37
MrMeanieHey Paul01:37
MrTopfI even wrote some python package to make that video stuff easier01:37
pboddieIt's tricky doing HTML+CSS unless you're pretty structured with the elements you're using. There's always a huge temptation to use tables because the CSS is such a pain sometimes.01:38
MrTopfsee http://mrtopf.de/blog/plone/planetplone/announcement-bliptvreader-for-easy-access-to-bliptv-hosted-videos-from-python/01:38
MrTopfindeed01:38
MrMeaniepboddie: Thats the problem. Tables would work. I have no problem with generating whatever it takes01:38
MrTopfI am glad I have some employee who is better at that than me :)01:38
MrMeanieBut HTML is tricky in the way it lays things out01:38
MrMeanieIt tends to place a table on a new line01:38
MrMeanierather than putting it inside the paragraph01:38
MrTopfit tends to do all sorts of funky stuff depending on the browser01:39
MrMeanieI don't know how to override this behaviour.01:39
MrMeanieGreat.01:39
MrMeanieJust what I don't need.01:39
MrMeanieI guess I could make my app specific to one browser....01:39
pboddieThe relative/absolute stuff is something I put in those examples I told you about, although I also use pop-up elements which is a bit confusing when added to the mix.01:39
MrMeanieI wouldn't mind that at all01:39
pboddieI usually forget what the rules are and have to try it out all over again, unless I can dig up an example that works.01:40
MrMeaniepboddie: I have managed to get a table displayed on a line, to the right of some text.01:40
MrMeanieBy putting it in a 'position:absolute' span01:40
MrMeaniethat is inside a 'position:relative' span01:41
MrMeaniebut01:41
MrMeanieproblems occur when you have text that is supposed to come *after* the table01:41
MrMeanieit just overwrites it01:41
MrMeanierather than follows it.01:41
MrMeanieI was using the table to display a divide expression ( a + b**c )  /  d01:41
MrMeaniethat kind of thing01:41
pboddieRight, because the absolute stuff probably takes it out of the flow - great for pop-ups, not great for everything else.01:41
MrMeanieYeah01:42
pboddieThe CSS specifications are baroque about all this. I don't understand how people put up with it all. ;-)01:42
MrMeanieThey have to, they don't have much choice.01:42
MrMeanieI optimised my system a bit.01:42
MrMeanieImporting that large (?) example file takes 22 seconds instead of 45, and uses 250mb of ram instead of 40001:43
MrMeaniebut still completely unacceptable.01:43
MrMeanieProfiling seems to lay the blame for the performance at the door of my typesetting system01:43
MrMeanieSo I am thinking if rewriting that bit in Java01:44
MrMeanieSwitch to Jython01:44
pboddieNeed to look at the CSS specs...01:45
MrMeanieAdmittedly I have mainly been using htmldog.com as a reference01:47
MrMeanierather than the acutal speds.01:47
MrMeanie*specs01:47
pboddiehttp://www.w3.org/TR/REC-CSS2/visuren.html#comparison01:50
pboddie...is quite helpful.01:51
MrMeaniepboddie: Thanks.....01:56
MrMeanieits interesting01:56
pboddieWell, if you have a table in a line of text, is it not enough to write a rule which changes display to inline. For example:01:56
pboddietable.division { display: inline; }01:56
pboddie...?01:56
*** jlilly has quit IRC01:58
MrMeaniepboddie: thanks, I will try it02:01
pboddieIt's tricky to get the vertical positioning right, and it's not up to TeX standards, but here's a snippet:02:02
MrMeaniepboddie: That seems to have done the trick :-)02:03
pboddie<html>02:04
pboddie<head>02:04
pboddie<title>Division</title>02:04
pboddie<style type="text/css">02:04
pboddie.division {02:04
pboddie  display: inline;02:04
pboddie  vertical-align: -100%;02:04
pboddie}02:04
pboddie.division td {02:04
pboddie  text-align: center;02:04
pboddie}02:04
pboddie.division td.num {02:04
pboddie  border-bottom: 1px solid black;02:04
pboddie}02:04
pboddie</style>02:04
pboddie</head>02:04
pboddie<body>02:04
pboddie<p>Test of <table class="division"><tr><td class="num">top</td></tr><tr><td>bottom</td></tr></table> = division.</p>02:04
pboddie</body>02:04
pboddie</html>02:05
TvMrTopf: extra round of thank yous for the ep talk videos02:05
MrTopfTv: yw :) I just need to post them now in the proper places02:05
MrTopfand I guess I have 35 talks to go or so..02:05
MrTopfesp. the keynote and all the lightning talks02:06
MrTopfis Guido's keynote actually online by now?02:06
pboddieMrTopf: Thanks for all the hard work!02:06
MrTopfpboddie: not finished yet ;-)02:06
pboddieEven the first cut of the cocos2d video was well worth watching.02:07
MrTopfthere are actually more by now on the blip.tv page02:08
pboddieAnyway, must be off! Good luck with the CSS, Geoff!02:08
MrTopfand I wrote this bliptv.reader just for making it easy to automatically post this to our blog and to the EP blog02:08
MrTopfpboddie: good night!02:08
pboddieAnd I'll try and take a look at the blip.tv goings on.02:08
pboddieGoodnight all! :-)02:08
*** pboddie has left #europython02:09
*** MrMeanie has quit IRC02:15
*** jlilly has joined #europython02:23
*** MrTopf has quit IRC02:40
*** jlilly has quit IRC05:05
*** jlilly has joined #europython05:38
*** jlilly has quit IRC07:28
*** sverrej_ has quit IRC09:21
*** sverrej has joined #europython09:53
*** pedronis has joined #europython10:14
*** lenscape has joined #europython10:31
*** ccm|mac has joined #europython10:38
*** Aiste has joined #europython10:46
*** Aiste has quit IRC10:46
*** Aiste has joined #europython10:47
*** ccm|mac has quit IRC11:51
*** ccm|mac has joined #europython11:51
*** MrTopf has joined #europython11:59
*** sverrej has quit IRC12:16
*** jlilly has joined #europython12:53
*** MrTopf has quit IRC13:52
*** MrTopf has joined #europython14:28
*** jlilly has quit IRC14:58
*** sverrej has joined #europython15:13
*** jlilly has joined #europython15:42
*** pedronis has quit IRC16:43
*** mgedmin has joined #europython17:19
*** povbot has joined #europython18:37
*** lac has quit IRC19:58
*** lac has joined #europython20:02
*** MrTopf has quit IRC20:25
*** mgedmin has quit IRC20:55
*** sverrej has quit IRC20:59
*** ccm|mac has quit IRC23:29
*** ccm|mac has joined #europython23:59

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