| 00:05 | <yecril71> | Maybe English is better for describing flow charts, but HTML is better for blocks of code. |
| 00:05 | <yecril71> | Such a block of code can become a nested list. |
| 00:05 | <Lachy> | gsnedders, ignore my last comments. I now see that it resets i to 0 for every new id and keeps incrementing it until it reaches "foo-#" where # is a unique number, so my previous interpretation was wrong |
| 00:06 | <yecril71> | HTML is not a programming language; if it were one, it would be called HTPL instead. |
| 00:06 | <yecril71> | HTML is a markup language. |
| 00:07 | <BenMillard> | really? who knew! :D |
| 00:07 | <yecril71> | Calogero apparently did not. |
| 00:10 | <gpy> | its a markup language... |
| 00:14 | <Philip`> | yecril71: Technologies are not defined by their names |
| 00:15 | <Philip`> | e.g. Javascript has very little to do with Java - you have to look at more than the name to work out what something really is |
| 00:17 | <yecril71> | And, moreover, Java has very little to do with Java :-) |
| 00:17 | <yecril71> | They are just codenames. |
| 00:18 | Philip` | unexpectedly discovers that window.location.replace(/pattern/, 'thing') really doesn't do what he intended |
| 00:18 | <Dashiva> | This is where I go "Don't do that" |
| 00:18 | <yecril71> | But the choice of the words in the term HTML is very appropriate. |
| 00:19 | <Dashiva> | You should always use location.href because otherwise you'll get bit in the tail by things like that |
| 00:19 | <Philip`> | Dashiva: The problem is that I don't know I can use location.href without spending ages (multiple seconds) trying to find documentation that tells me I can use that |
| 00:20 | <yecril71> | location is a DOM object, it does not replace |
| 00:20 | <Philip`> | Dashiva: but now I know, so thanks :-) |
| 00:20 | <Hixie> | the name "HTML" says very little about what HTML is |
| 00:21 | <Dashiva> | Philip`: The problem is that you were taught (or otherwise learned) to use just location in the first place |
| 00:21 | <yecril71> | But it covers the basics. |
| 00:23 | <yecril71> | If the browsers tosses the options, the script cannot consider the options between. |
| 00:23 | <yecril71> | That means the browser really cannot toss the options for presentation only. |
| 00:24 | <Philip`> | Dashiva: I've never been taught HTML or JS - I just learned through copy-and-paste :-) |
| 00:25 | <Philip`> | The web is large enough that somebody has already solved any problem you might have, so the trick is just to find that and copy it |
| 00:27 | <Dashiva> | Bad practice breeds bad practice, yes |
| 00:27 | <yecril71> | Unless you are on an "original work" contract. |
| 00:29 | <yecril71> | In that case the trick is to find that and understand it. |
| 00:29 | Philip` | attempts to tweak his vastly-incomplete localStorage test framework so it can handle tests that require the user to exit and restart their browser, as automatically as possible, which seems to be quite reasonable as long as there's an unlimited number of domain names so each test can run independently in parallel... |
| 00:30 | <Philip`> | yecril71: No, in that case the trick is to find some code and copy it and replace the variable names and reformat so nobody knows it wasn't yours |
| 00:30 | <yecril71> | This works only if you copy from one source. |
| 00:31 | <yecril71> | Otherwise it gets too inconsistent. |
| 00:38 | <yecril71> | "Select one" as an invalid option looks rather like a generic help baloon. |
| 00:39 | <yecril71> | This is rather obvious and the browser can do it itself, without HTML. |
| 00:39 | <yecril71> | Anything more specific should be in the label, or perhaps the title attribute. |
| 00:44 | <yecril71> | I do not think CSS can do anything about inheriting attributes that belong to HTML. |
| 00:45 | <yecril71> | A mechanism that would allow this to HTML is closer to templates. |
| 01:52 | <wilhelm> | Is there a Perl version of html5lib yet? |
| 01:54 | <Philip`> | wilhelm: There's http://suika.fam.cx/www/markup/html/whatpm/readme though I have no idea how well it works or whether it works at all |
| 01:55 | <wilhelm> | Thanks. |
| 03:42 | <Lachy> | Hixie, you might find this useful http://hymn-project.org/forums/viewtopic.php?p=19078#19078 |
| 03:43 | <Hixie> | cool |
| 03:44 | <Hixie> | my hacked up 7.x install is still working great |
| 03:44 | <Hixie> | i'll wait til something breaks before updating it |
| 03:44 | <Lachy> | which version of itunes are you running? |
| 03:45 | <Hixie> | latest |
| 03:46 | <Hixie> | i get a weird error message about "constant sized" when decrypting, but the files are still drm-free and work, so... |
| 03:46 | <Lachy> | 8.0.2? I have that, but my backed up 8.0.1 keys don't work with songs downloaded with 8.0.2. |
| 03:46 | <Hixie> | oh haven't tried songs, only video |
| 03:46 | <Hixie> | i'm using the 7.x keys |
| 03:47 | <Lachy> | ok. I haven't tried video. Only the free song of the week |
| 03:47 | <Lachy> | I don't have my 7.x keys any more |
| 03:47 | <Hixie> | where does one get that? |
| 03:47 | <Lachy> | from the iTunes store home page. There's an ad for it in the middle |
| 03:47 | <Hixie> | aah yes |
| 03:49 | Hixie | downloads it and runs dedrmify.sh |
| 03:50 | <Hixie> | decrypting... |
| 03:53 | <Lachy> | did it work? |
| 03:55 | <Hixie> | restarting iTunes... |
| 03:56 | <Hixie> | (sorry my script takes a while because it scans my entire collection for new files) |
| 03:56 | <Lachy> | oh |
| 03:56 | <Hixie> | hm, no error message, but the file is still protected according to itunes |
| 03:56 | <Hixie> | it did say it had decrypted it |
| 03:57 | <Lachy> | try running requiem on the file directly and see if it outputs an error messae |
| 03:57 | Hixie | tries copying it to an unauthorised machine |
| 03:57 | <Lachy> | or try playing it with VLC or some other player |
| 04:00 | <Hixie> | it claims it's protected but it doesn't seem to be |
| 04:01 | <Hixie> | this computer isn't authorised |
| 04:01 | <Hixie> | and it's playing fine |
| 04:01 | <Lachy> | maybe it claims it's protected based on the file extension |
| 04:02 | <Hixie> | maybe |
| 07:12 | <BenMillard> | hsivonen, this survey seems relevant given your work figuring out how ARIA can be integrated with HTML5: http://www.w3.org/2002/09/wbs/32212/axs-API-impl-Org/ |
| 10:18 | <mookid> | http://www.b-list.org/weblog/2008/nov/29/multiresponse/ |
| 11:00 | <gsnedders> | Anolis 1.0RC3 available now |
| 11:00 | <gsnedders> | (nothing has changed since yesterday) |
| 11:43 | <nlogax> | hi. looking at html 5 and playing around a bit. i noticed that html5 "valid global date and time strings" are not understood by the js date object. is there a reason for this? i was trying to make nice dates like everyone else, "2 hours ago" etc, using the datetime attribute value. maybe i'm abusing it? :) |
| 12:07 | <Hixie> | nlogax: datetime on which element? |
| 12:09 | <nlogax> | Hixie: the datetime attribute on <time> |
| 12:10 | <nlogax> | with values like "2006-09-24T05:00-07:00" |
| 12:11 | <Hixie> | you'll be able to get a Date object off it using t.date+t.time, once it's implemented |
| 12:11 | <Hixie> | though maybe we should offer a simple way of getting the exact corresponding Date |
| 12:15 | <nlogax> | i see. i understand most of it is not implemented yet, but with the focus on backward compatibility i wasn't sure if it was on purpose or not to use a format Date doesn't understand :) |
| 12:16 | <Hixie> | it's the format HTML4 used for datetime="" on <ins> and <del> |
| 12:16 | <Hixie> | (ISO8601) |
| 12:16 | <nlogax> | oh.. i didn't even know about that |
| 12:17 | <Hixie> | i wouldn't be surprised if js didn't change to support it at some point, it's a pretty standard format |
| 12:17 | <Hixie> | but anyway, there'll be DOM APIs to give you a Date in due course |
| 12:17 | <Hixie> | they're just not implemented yet |
| 12:18 | <Hixie> | bed time for me now |
| 12:18 | <Hixie> | nn |
| 12:18 | <nlogax> | gn, thanks for the help! |
| 13:46 | <erlehmann> | any idea how to mark up the author of spoken words ? cite seems to be insufficient. |
| 16:38 | hsivonen | wonders about the validator perf impact of r2486 that requires scanning text content for quotes |
| 16:38 | <hsivonen> | are all quote characters on the BMP? |
| 16:40 | <Dashiva> | What if the quoted text itself begins with a quote character? |
| 16:40 | <hsivonen> | Good question. |
| 16:41 | <hsivonen> | Hixie: the spec now effectively prohibits using <q> for outer and punctuation for inner quotes when the inner quote touches the boundary of the outer quote |
| 16:42 | gsnedders | doesn't get what hsivonen means |
| 16:44 | <hsivonen> | My favorite passage from novel Foo is <q>‘Quote!’, she said.</q> |
| 16:44 | <gsnedders> | ah |
| 16:47 | hsivonen | wonders if there's a way to find out if a given legacy lock can be opened by the TSA without breaking it |
| 16:47 | <gsnedders> | hsivonen: Try taking it into the US? |
| 16:48 | <hsivonen> | gsnedders: well, I've taken the luggage in questing to the U.S. twice already, but I thought they changed their policies recently |
| 16:48 | <hsivonen> | s/questing/question/ |
| 16:48 | gsnedders | is generally trying to avoid US immigration (by not going to the US) |
| 16:49 | hsivonen | wouldn't want to buy a new luggage only to get the right logos on the locks |
| 16:49 | gsnedders | wonders whether to be pedantic about the "a" that hsivonen used |
| 16:50 | <hsivonen> | s/new/new piece of/ |
| 16:50 | <gsnedders> | (luggage is uncountable, and therefore takes no article directly) |
| 16:52 | <hsivonen> | the legacy lock is really simple and has a number on it, the purpose of which I infer to be that the number tells the authorities which passepartout to use |
| 16:52 | <hsivonen> | but it doesn't have the new TSA lock logo |
| 16:59 | hsivonen | assumes that the TSA can pick the simple legacy Samsonite latch locks |
| 17:02 | Philip` | finds it peculiar that 'easy to open without the key/code' is a marketable feature for locks |
| 17:06 | <hsivonen> | Philip`: it depends on what your threat model is. |
| 17:07 | <hsivonen> | Philip`: are you more concerned with damage done by official authorities or unofficial thieves? |
| 17:54 | <Lachy> | Last time I travelled, the lock I used on my luggage was one of those ones you can pick with a paper clip |
| 17:55 | <Lachy> | the purpose of it was only to hold the zippers together to stop them accidentally opening. |
| 17:56 | <Lachy> | I guess I'm just too trusting of airport staff to not put anything into or take anything out of my luggage |
| 17:57 | <svl> | Given the really high theft rates from luggage by baggage handlers at some airports... probably. |
| 17:59 | <hsivonen> | I think I'm going to trust that they can pick the latch locks without damaging them and then I'll write the combination of the numeric lock next to the lock so they don't need to break it |
| 17:59 | <hsivonen> | I totally don't trust the idea that only good TSA personnel has keys to the TSA locks now |
| 18:00 | <Philip`> | Rather than using a numeric lock and telling everyone what the number is, why not just leave it unlocked? |
| 18:00 | <gsnedders> | hsivonen: You're assuming they won't break the numeric lock anyway |
| 18:00 | <hsivonen> | so one might as well assume that writing the combination of a legacy lock next to the lock is as safe as using a new TSA lock |
| 18:00 | <hsivonen> | Philip`: stuff might fall out accidentally |
| 18:01 | <Philip`> | hsivonen: You could tie it closed with a piece of string, which is much cheaper to replace if they decide it needs to be forcibly opened |
| 18:02 | <Lachy> | does the TSA open all luggage, or do they randomly select bags to check? |
| 18:03 | <hsivonen> | Lachy: I think they non-invasively scan them all and open the ones they doubt based on x-ray |
| 18:03 | <hsivonen> | or perhaps they open some at random, too |
| 18:08 | <hsivonen> | anyway, speaking of going to the U.S.: are there any WHATWG-related events taking place on the week of Dec 8th in the Bay Area? |
| 18:23 | gsnedders | should just totally change his AH computing project |
| 18:26 | Philip` | agrees |
| 18:29 | <gsnedders> | biblio of HTML files! :P |
| 18:30 | Philip` | isn't quite sure what gsnedders is talking about |
| 18:30 | <gsnedders> | I have a computing project to do for school. |
| 18:30 | <Lachy> | gsnedders, I have a feature request for the spec gen... |
| 18:30 | <Philip`> | I got that bit :-) |
| 18:30 | <gsnedders> | I'm meant to have half the write up and the implementation done by 9th Jan. |
| 18:31 | <gsnedders> | I'm meant to have been working on it since August. |
| 18:31 | <gsnedders> | I haven't. I hate what I've chosen and have no enthusiasm for it :P |
| 18:31 | <gsnedders> | Lachy: What? |
| 18:31 | <hsivonen> | gsnedders: do you keep the bibliography data in a BibTeX .bib file? |
| 18:31 | <Lachy> | if I use the HTML5 <section> and <h1> elements for all headings in the src document, can the spec gen automatically work out the heading levels and replace the h1's with the appropriate backwards compatible numbered headings? |
| 18:31 | <gsnedders> | hsivonen: I don't have any biblio data. |
| 18:32 | <gsnedders> | Lachy: no. |
| 18:32 | <Lachy> | why not? |
| 18:32 | <gsnedders> | Lachy: That's out of scope. |
| 18:32 | <Lachy> | how is that out of scope? It would make the job of restructuring a spec so much easier |
| 18:32 | <gsnedders> | hsivonen: The one grip I have with BibTeX is that virtually all Python things for dealing with it suck |
| 18:33 | <gsnedders> | *gripe |
| 18:33 | <Philip`> | gsnedders: I have a feature request - could you implement some plugin system so people can implement these out-of-scope features as separate modules that can be easily inserted into the appropriate processing step? |
| 18:33 | <Lachy> | don't you have an implementation of the heading algorithm already anyway? |
| 18:33 | <hsivonen> | I used a Java-based parser that a friend wrote for TeXlipse |
| 18:33 | <gsnedders> | Philip`: I have implemented that all ready |
| 18:34 | <gsnedders> | Lachy: Moving section and stuff around is a lot of effort, and I don't think it's relevant |
| 18:34 | <gsnedders> | Lachy: But yes, I do. It's only dependancy is having an lxml tree, AFIAK |
| 18:34 | <gsnedders> | *AFAIK |
| 18:34 | <Philip`> | gsnedders: Ah - then you could implement some module that does the heading stuff Lachy wants, as an independent project, and it wouldn't be out of scope |
| 18:34 | <gsnedders> | Philip`: I don't want to implement it :) |
| 18:35 | <Philip`> | gsnedders: That's a more compelling argument than "That's out of scope" :-) |
| 18:35 | <Lachy> | gsnedders, the spec gen wouldn't need to move anything around. It would just need to replace <h1> elements with appropriately numbered <h2>-<h6> |
| 18:35 | <gsnedders> | Lachy: And leave the section elements et al as is? |
| 18:35 | <Lachy> | yes |
| 18:35 | <gsnedders> | Lachy: And what do I do when I need h7? |
| 18:35 | <Lachy> | just use h6 |
| 18:35 | <gsnedders> | Lachy: That breaks stuff. |
| 18:36 | <Lachy> | no it doesn't |
| 18:36 | <gsnedders> | It would change the outline. |
| 18:36 | <gsnedders> | I'd rather throw a fatal error then |
| 18:36 | <Lachy> | because the h6 limitation applies even if I use h1-h6 manually |
| 18:37 | <gsnedders> | Lachy: Then don't use too many sections :) |
| 18:37 | <Lachy> | I'm not intending to use too many sections |
| 18:37 | <Philip`> | If the outline is correct in the source which uses <h1> everywhere, wouldn't it still be correct in the output if it uses <h6> everywhere instead of <h7>? |
| 18:37 | <Lachy> | I have no intention of using more than 6 levels of headings, and if I do, I'll restructure so I don't |
| 18:37 | <gsnedders> | Philip`: Yeah, sure. But it would have the side-effect of screwing stuff up using the HTML 4.01 algo |
| 18:37 | <hsivonen> | gsnedders: the grammar for .bib seems reasonably short: http://texlipse.cvs.sourceforge.net/viewvc/texlipse/net.sourceforge.texlipse/source/bibtex6.sablecc?revision=1.6&view=markup |
| 18:38 | <hsivonen> | gsnedders: you might be able to adapt it for your Python parser generator of choice |
| 18:38 | <Lachy> | gsnedders, I thought the HTML5 heading algorithm was backwards compatible with HTML4, and it wouldn't screw up anything that didn't use <section> |
| 18:38 | <Philip`> | gsnedders: If it's using <section> then it can't be HTML 4.01, so why does it matter what HTML 4.01 tools would do? |
| 18:38 | <gsnedders> | hsivonen: <http://code.google.com/p/bibstuff/source/browse/trunk/bibgrammar.py> is shorter |
| 18:39 | <gsnedders> | Lachy: Yeah, sure. It'll be fine provided the HTML 5 algo is used |
| 18:39 | <Lachy> | gsnedders, one benefit of implementing this would be that it gives a clear demonstration of a use case for the new heading algorithm |
| 18:39 | <gsnedders> | Lachy: The use case exists anyway :P |
| 18:39 | <gsnedders> | hsivonen: (and Python) |
| 18:39 | <gsnedders> | hsivonen: The majority of the rest of the codebase sucks though |
| 18:40 | <Lachy> | gsnedders, I know. And I want to make use of the use case :-) |
| 18:40 | <gsnedders> | Lachy: Ask me when I'm in a good mood after 1.0 has shipped :P |
| 18:41 | <Lachy> | but if anolis supports plugins, do you have any documentation for how I can write a plugin that does this? |
| 18:41 | <Lachy> | when is 1.0 expected to ship? |
| 18:41 | <gsnedders> | Lachy: second paragraph http://hg.gsnedders.com/anolis/raw-file/1.0RC3/README.html#using-anolis |
| 18:42 | <Lachy> | wait, when are you ever in a good mood? |
| 18:42 | <gsnedders> | Lachy: I had originally said when Hixie started using it, but I haven't. Really soon now, though. |
| 18:42 | <gsnedders> | Lachy: Maybe next weekend? |
| 18:42 | <gsnedders> | Lachy: I hope 1.0RC3 to be the final RC, and I just want to see if anyone bitches about bugs in that before tagging 1.0 |
| 18:44 | <Lachy> | ok |
| 18:44 | <Lachy> | how do I update anolis? Do i just download the new one and run python setup.py install? |
| 18:45 | <gsnedders> | yeah |
| 18:45 | <Lachy> | gsnedders, from that doc: foo.foo(ElementTree, **kwargs) - what is the **kwargs parameter? |
| 18:47 | <gsnedders> | Lachy: keyword arguments, so a dictionary of unknown arguments, and if any keyword arg matches on what it's calling, that |
| 18:47 | <gsnedders> | e.g., def foo(bar=False) |
| 18:47 | <gsnedders> | kwargs = {"bar": True} |
| 18:47 | <gsnedders> | foo(**kwargs) |
| 18:47 | <gsnedders> | that's the same as foo(bar=True) |
| 18:48 | <Lachy> | so if I understand correctly, if I write my process "fixheadings" and run with --enable fixheadings, then anolis will call fixheadings.fixheadings(ElementTree, **kwargs). Then my process just needs to make changes to the ElementTree and return? |
| 18:48 | <gsnedders> | It doesn't need to return anything |
| 18:49 | <Lachy> | ok |
| 18:49 | <gsnedders> | (this other modules function is completely untested, so it might be broken) |
| 18:50 | <Lachy> | gsnedders, http://anolis.gsnedders.com/#obtaining-a-copy is still linking to RC1 |
| 18:50 | <gsnedders> | ah, I never updated that |
| 18:50 | gsnedders | yawns |
| 18:51 | <gsnedders> | fixed |
| 18:52 | <gsnedders> | you probably want to from anolislib.processes import outliner |
| 18:52 | <Lachy> | ok |
| 18:52 | <gsnedders> | (a section is just a list FYI) |
| 18:52 | <gsnedders> | (possibly with section.header) |
| 18:52 | <Lachy> | how do I deploy the script? Does it just look for it in the current working directory, or do I need to put it somewhere special? |
| 18:53 | <gsnedders> | Lachy: Somewhere Python will try and import |
| 18:53 | <Lachy> | ok. Does that include the current working directory? |
| 18:53 | <gsnedders> | It might |
| 18:53 | gsnedders | dunnos |
| 18:54 | <Lachy> | alright. I'll experiment with it |
| 19:39 | <Lachy> | I think it's ironic how Calogero wrote in the cite/blockquote thread: "I hope now that's more clear" immediately after one of the most confusing, grammatically incorrect and incomprehensible sentences I've ever tried to read. |
| 19:44 | <hsivonen> | Hixie: is it intentional that HTML5 doesn't associate <legend> with the form pointer even though Gecko does? |
| 19:47 | <hsivonen> | hmm. the form association is annoying. now I need to split separate magic numbers for fieldset and object |
| 20:10 | <hsivonen> | also had to introduce a OUTPUT_OR_LABEL magic |
| 22:00 | annevk3 | never locks his luggage |
| 22:21 | <Lachy> | gsnedders, yt? |
| 22:25 | <Lachy> | gsnedders, I'm getting an error when I try to use anolis --enable to run a plugin |
| 22:25 | <Lachy> | $ anolis --enable=AdjustHeadings Overview.src.html test.html |
| 22:25 | <Lachy> | Traceback (most recent call last): |
| 22:25 | <Lachy> | File "/usr/local/bin/anolis", line 218, in <module> |
| 22:25 | <Lachy> | main() |
| 22:25 | <Lachy> | File "/usr/local/bin/anolis", line 48, in main |
| 22:25 | <Lachy> | tree = generator.fromFile(input, **kwargs) |
| 22:25 | <Lachy> | File "/Library/Python/2.5/site-packages/anolislib/generator.py", line 84, in fromFile |
| 22:25 | <Lachy> | process(tree, processes, **kwargs) |
| 22:25 | <Lachy> | File "/Library/Python/2.5/site-packages/anolislib/generator.py", line 36, in process |
| 22:25 | <Lachy> | process) |
| 22:25 | <Lachy> | AttributeError: 'module' object has no attribute '--enable' |
| 22:27 | <BenMillard> | Lachy, e-mail might be the best way to work through that so multi-line samples remain intact? |
| 22:27 | <BenMillard> | Lachy, also my impression from the earlier logs is gsnedders had higher priorities, so an e-mail would let him get to it at a time of his convenience. |
| 22:28 | <Lachy> | gsnedders, I'm aware of gsnedders priorities |
| 22:29 | <Lachy> | I also figured there may be someone else in here familiar with python who might understand what's causing the error |
| 22:29 | <Lachy> | s/gsnedders,/BenMillard,/ |
| 22:30 | <BenMillard> | Philip` & annevk3, any ideas about the error Lachy is seeing? |
| 22:30 | <hsivonen> | BenMillard: I didn't fill out the accessibility API survey, at least not yet, because I figured that I should defer to aaronlev on API things |
| 22:31 | <BenMillard> | hsivonen, I thought it was about individuals' participation rather than organisations'? |
| 22:32 | <hsivonen> | BenMillard: it had a question on patent policy, which looks like an organizational thing |
| 22:36 | <BenMillard> | hsivonen, ah |
| 22:36 | <Lachy> | hsivonen, the way the patent policy question is worded, it looks like it's an individual question |
| 22:36 | <BenMillard> | since Mozilla won't renew my funding, I answered it as an individual |
| 22:43 | <hsivonen> | I'm sorry to hear your work is no longer funded |
| 22:45 | <BenMillard> | hsivonen, apparently the "overlap is too thin" between what I was doing and the scheme my funding was granted under, but that my work was useful and I could ask other people in Mozilla for funding (but no clue was given about whom) |
| 22:45 | <BenMillard> | so once the comparison document is done, I'll be knocking on doors :) |
| 22:50 | Philip` | tries to find a font to use in Keynote that isn't Gill Sans (because that's a blatant "look at me I'm a Mac user" sign) and isn't really boring (Arial, Helvetica, etc), and ends up finding only Trebuchet MS |
| 22:51 | <heycam> | Philip`, i like Myriad (if you have it) as a nice sans serif font |
| 22:51 | <Philip`> | heycam: Hmm, that doesn't seem to be installed here |
| 22:51 | <heycam> | i don't know what the big deal with gill sans is, i think it looks a bit ugly, especially in the heavier weights |
| 22:52 | <Lachy> | don't go with Trebuchet MS. That's one of the ugliest fonts ever |
| 22:52 | <BenMillard> | Philip`, got any from the Lucida family? |
| 22:52 | <heycam> | or take a look at http://www.webfonts.info/wiki/index.php?title=Fonts_available_for_%40font-face_embedding#Fonts_with_an_Apache_Licence |
| 22:52 | <heycam> | (not necessarily with that fragid tho) |
| 22:53 | <Philip`> | BenMillard: Only Lucida Grande, which looks a bit boring and/or ugly |
| 22:53 | <Philip`> | Lachy: What's wrong with it? :-) |
| 22:54 | hsivonen | uses Gill Sans on the default Steve background when presenting |
| 22:54 | <BenMillard> | Philip`, how about Georgia? That's a tidy yet attractive (imho) serif which is quite common. |
| 22:55 | <Philip`> | BenMillard: It seems unnatural to use a serif font for a presentation |
| 22:56 | <gsnedders> | Lachy: um, yeah. bug in my code. |
| 22:56 | <BenMillard> | Philip`, you could try browsing around Joe Clark's various websites and stylesheets, see if any fonts he lists float your boat. |
| 22:58 | <gsnedders> | Lachy: yt? |
| 22:58 | <Lachy> | yes |
| 22:59 | <Lachy> | when will you have time to fix the bug? |
| 23:00 | <heycam> | Lachy, do you have any objection to my following the approach (for idl module -> package mapping) in http://www.w3.org/mid/20081129021607.GF16515⊙amia ? |
| 23:01 | <Lachy> | heycam, do you mean the hard coded prefix approach you described? |
| 23:02 | <heycam> | yeah |
| 23:02 | <heycam> | with ability to override it with [Prefix] |
| 23:02 | <Lachy> | so if I understand correctly, then I wouldn't need to make any more changes to selectors api? |
| 23:02 | <heycam> | what's in there at the moment? just: module dom { interface ... } ? |
| 23:02 | <Lachy> | using: module dom {...} is enough? |
| 23:02 | <heycam> | then yes |
| 23:02 | <heycam> | no changes required |
| 23:02 | <Lachy> | ok. That's fine with me |
| 23:02 | <heycam> | :) |
| 23:02 | <heycam> | ok thanks |
| 23:04 | <gsnedders> | Lachy: committed and pushed |
| 23:07 | <gsnedders> | Lachy: http://hg.gsnedders.com/anolis/archive/85a6d32479c4.tar.bz2 |
| 23:07 | <gsnedders> | (or .zip or .tar.gz) |
| 23:08 | <Lachy> | gsnedders, ok, now it's complaining that there is no module named "adjustheadings". So I guess I'm doing something wrong |
| 23:10 | <Lachy> | I have a file named adjustheadings.py in my working directory, which contains this: |
| 23:10 | <Lachy> | import sys |
| 23:10 | <Lachy> | import os |
| 23:10 | <Lachy> | from anolislib.processes import outliner |
| 23:10 | <Lachy> | class adjustheadings: |
| 23:10 | <Lachy> | """Change the heading elements to use the backwards compatible, numbered headings""" |
| 23:10 | <Lachy> | def __init__(self, ElementTree, **kwargs): |
| 23:10 | <Lachy> | self.ElementTree = ElementTree |
| 23:10 | <Lachy> | def adjustheadings(self, ElementTree, **kwargs): |
| 23:10 | <Lachy> | print "test" |
| 23:11 | <gsnedders> | it'll be relative to the installed generator.py, or absolute |
| 23:11 | <gsnedders> | easy solution: put it in an absolute location |
| 23:11 | <gsnedders> | where: python -c "import sys; print sys.path" |
| 23:12 | <Philip`> | Lachy: Maybe run 'PYTHONPATH=. anolis ...' |
| 23:13 | <gsnedders> | Philip`: That won't help. It's relative to the anolislib file. |
| 23:14 | <Lachy> | ok, so if I just place a copy in the same directory as anolis is installed in it should work. |
| 23:14 | <Lachy> | I just have to find where that is |
| 23:15 | <gsnedders> | Lachy: No, it's easier if you place it in the normal python location |
| 23:15 | <gsnedders> | Lachy: On OS X? Using default Python install (and not a macport/fink one)? |
| 23:15 | <Lachy> | ok, which location exactly? |
| 23:16 | <gsnedders> | Lachy: /Library/Python/2.5/site-packages |
| 23:16 | <Lachy> | I think its the macports one |
| 23:16 | <Lachy> | how do I tell? |
| 23:17 | <gsnedders> | Lachy: which python |
| 23:17 | <Lachy> | ah, that's where anolislib is installed |
| 23:17 | <gsnedders> | Lachy: Just put it in that folder |
| 23:18 | <Lachy> | do you mean the site-packages folder, or the site-packages/anolislib folder? |
| 23:18 | <gsnedders> | Lachy: site-packages |
| 23:18 | <Lachy> | ok |
| 23:20 | <gsnedders> | Now, I'm really not here till after school tomorrow |
| 23:21 | <Lachy> | it's running without errors now. I'm not sure if it's actually working though |
| 23:21 | <gsnedders> | is adjustheadings.__init__ being called? |
| 23:22 | <Lachy> | I wonder if it'll work if I place a symlink in there instead, so I can keep the actual file in my working directory |
| 23:22 | <Lachy> | I don't know. what's the easiest way to find out? |
| 23:22 | <Lachy> | is there some way to output debug messages? |
| 23:22 | <gsnedders> | print "magic foo" in that method? |
| 23:22 | <gsnedders> | now, I really really really must go |
| 23:23 | <gsnedders> | Ask Philip`. He's clever. He's got a degree. He's finished this whole school thing. :) |
| 23:23 | <Lachy> | yes |
| 23:23 | <Lachy> | alright, now I just have to learn the ElementTree API |
| 23:58 | <Philip`> | Don't accuse me of knowing things! |