| 03:05 | <aho> | *scratches head*... :first-child is css level 2 and :last-child is css level 3? how the f- did that happen? |
| 03:16 | <MikeSmith> | aho: because CSS spec development is kind of like particle physics |
| 03:16 | <MikeSmith> | none of it's intuitive |
| 03:17 | <MikeSmith> | normal physical laws break down around the "singularity" of CSS standards process |
| 03:18 | <MikeSmith> | you need some special math to understand it all |
| 03:18 | <MikeSmith> | that's actually what they created MathML for |
| 03:18 | <MikeSmith> | to have a way to mark up the bizarre mathematics underlying the CSS work |
| 03:25 | <nessy> | lol |
| 03:36 | <aho> | ye, i guess that's the most logical explanation |
| 04:10 | <Hixie> | aho: :first-child is a lot easier to implement |
| 04:10 | <aho> | how so? |
| 04:11 | <aho> | there is some element... and all its children... the dom api provides a pointer to the first and the last one |
| 04:12 | <jcranmer> | :first-child doesn't mess up incremental rendering |
| 04:12 | <Hixie> | because as you're parsing a document, the first child is set once |
| 04:12 | <Hixie> | the last child changes continuously |
| 04:12 | <aho> | well, dom manipulations have the same effect |
| 04:12 | <Hixie> | yes |
| 04:13 | <Hixie> | and early implementations didn't handle those at all well :-) |
| 04:13 | <jcranmer> | browsers will ignore dom manipulations if they are two hard :-) |
| 04:13 | <aho> | ye, :first-child is static in ie7 |
| 04:14 | <aho> | and all :first-child, :last-child, :nth-child etc stuff was broken in firefox for ages :> |
| 04:15 | <aho> | #73586 has been fixed on 2008-02-18 |
| 04:15 | <aho> | almost took 7 years :> |
| 04:16 | <aho> | well, i'm just tired of sticking first and last classes everywhere |
| 04:21 | <aho> | (they are just a bit of a nuisance for that odd stuff i'm trying to figure out right now... it's some sort of by-contract stuff for the html and css parts of oocss modules.) |
| 09:28 | <cardona507_> | did the geolocation implementation in firefox change? |
| 09:29 | <cardona507_> | for some reason my browser is asking me if a page can get my location but then it isn't actually happening |
| 09:29 | <cardona507_> | happening to anyone else? |
| 09:29 | <cardona507_> | example: http://nko-trisomic-propus.heroku.com/ |
| 09:29 | <cardona507_> | works in chrome - not if FF |
| 09:30 | <cardona507_> | also works in safari |
| 09:31 | <cardona507_> | works on my Android EVO - |
| 09:33 | <annevk> | wfm in Minefield |
| 09:33 | <cardona507_> | hmmm - I didn't check minefield yet |
| 09:34 | <cardona507_> | oddly enough it isn't working on my ipod touch - it isn't even asking if it can get my location |
| 09:35 | <cardona507_> | wow! minefield is on acid! |
| 09:35 | <cardona507_> | yeah it worked in minefield |
| 09:35 | <cardona507_> | that is a good sign |
| 10:59 | <cardona507_> | I am creating a small geolocation app for the nodejs knockout - http://nko-trisomic-propus.heroku.com/ -when I run this function http://gist.github.com/556165 it stores the epoch as the key and the object as the value—but when I try to retrieve the object I am getting [object Object]. Firefox is acting wacky so I can't test it right now—so this might just be a webkit thing. Is it not cool to have nested key/values in localSt |
| 11:00 | <cardona507_> | the code is live on the first link if you want to check it out - just look at the local storage in the webkit developer toolkit thing |
| 11:01 | <cardona507_> | each time you refresh the page it will store a new object with your lat and long in the localStorage |
| 11:36 | <Dashiva> | http://twitter.com/bleroy/status/22411429143 |
| 19:09 | AryehGregor | discovers that there's no way in DNS to say "aryeh.name's A record should be the same as twcenter.net's, like a CNAME, but the MX record should be different" |
| 19:09 | <AryehGregor> | I guess this is why people use www. |
| 19:11 | <Workshiva> | Or just write the same IP twice |
| 19:11 | <AryehGregor> | Yes, but then I have to change it in two places when it changes. |
| 19:11 | <AryehGregor> | Oh well. |
| 19:12 | AryehGregor | is waiting four hours for the change to propagate before he can set up mail for his domain |
| 19:14 | <hdhoang0> | my DNS hoster automatically updates A with the same address if I update one of them |
| 19:14 | <AryehGregor> | I actually have the two domains on different name servers, so that's not going to work for me. |
| 19:14 | <AryehGregor> | I'll just suffer. |
| 19:15 | <AryehGregor> | Oops, I sent a message to www-style from the wrong address. Sigh. |
| 19:22 | <cardona507_> | is there a method for getting all of the key/values in localStorage or do I need to somehow loop through? |
| 19:26 | <AryehGregor> | Seems like you have to loop. |
| 19:26 | <cardona507_> | loopty loop |
| 21:08 | <matjas> | How to use a cache manifest file to make sure the index page is cached? All the examples I can find suggest adding index.html or index.php to the manifest file, but I don't want UAs to request those files, just the root URL /. Is this possible at all? |
| 21:08 | <matjas> | Can I just add a line saying '/'? |
| 21:43 | <espadrine> | matjas: The single character (/) will match any page on your site, not just the home page. |
| 21:44 | <matjas> | espadrine: Good to know, thanks. So is it possible to match only the index page (without using index.(php|html) |
| 22:34 | <annevk> | matjas, you want / |
| 22:34 | <annevk> | matjas, if that is the URL you are using |
| 22:35 | <matjas> | annevk: it is. so what espadrine said ^ is not true? |
| 22:35 | <annevk> | right |
| 22:35 | <annevk> | what he said is true for the FALLBACK section |
| 22:35 | <annevk> | but that is something different |
| 22:36 | <annevk> | see also: http://www.whatwg.org/specs/web-apps/current-work/complete/offline.html |
| 22:46 | <annevk> | "But the problem is that it is very difficult to measure the VERY NARROW |
| 22:46 | <annevk> | (but widely applicable to polymath, e.g. economics, philosophy, etc) area |
| 22:46 | <annevk> | of IQ where I may be off the charts, because my verbal and visual cortex |
| 22:46 | <annevk> | is only about 115 - 120 IQ. I am not genius at visual pattern matching. In |
| 22:46 | <annevk> | the area of visualizing mathematical relationships, the answers just come |
| 22:46 | <annevk> | "But the other problem is measuring this capability |
| 22:46 | <annevk> | is that I am not genius in loading the data points nor communicating the |
| 22:46 | <annevk> | result. Once I get the data points loaded, then the solution is instant. |
| 22:46 | <annevk> | So it is extremely difficult to both measure my IQ and for me to |
| 22:46 | <annevk> | communicate something once I visualize it. I get easily frustrated with |
| 22:47 | <AryehGregor> | o_O |
| 22:47 | <AryehGregor> | Where's that from? Please tell me it's not from a standards list. |
| 22:48 | <annevk> | it continues |
| 22:48 | <annevk> | "I don't know when I started to read, but I do know that I could build |
| 22:48 | <annevk> | things with my hands and entertain adults in conversation as an infant. At |
| 22:48 | <annevk> | age of 5, I observed my very high IQ father (big time attorney for oil |
| 22:48 | <annevk> | companies) and his buddies trying to build a wood platform in the back of |
| 22:48 | <annevk> | VW bus. Apparently they were struggling with the design. I gave them the |
| 22:49 | <annevk> | "In college, my roommate was amazed that I built a |
| 22:49 | <annevk> | huge bunk bed for us, simply by walking up to a pile of wood and start |
| 22:49 | <annevk> | sawing and hammering away at full speed without pause. Within a couple of |
| 22:49 | <annevk> | hours we were finished. I didn't even have to think about how to design |
| 22:49 | <annevk> | it. He reminded me in email the other day after I hadn't heard from him |
| 22:50 | <annevk> | it's from hybi, by the illustrious Shelby Moore |
| 22:52 | <matjas> | Thanks for your answer, annevk! |
| 22:53 | <AryehGregor> | Wow. |
| 22:53 | <AryehGregor> | And no one's banned him yet? |
| 22:53 | <espadrine> | matjas: Just saw my mistake, sorry about that! |
| 22:55 | <jgraham> | AryehGregor: You didn't recognise the distinctive style? |
| 22:55 | <annevk> | i should really post a few of the good quotes on my blog |
| 22:55 | <matjas> | espadrine: No problem :) IMHO the spec is not very clear about this particular case |
| 22:55 | <AryehGregor> | jgraham, I thankfully have not had to read hybi. |
| 22:55 | <annevk> | matjas, or maybe you're just confused as to how URLs work? |
| 22:55 | <annevk> | ;) |
| 22:56 | <AryehGregor> | Well, thankfully regarding this guy in particular. |
| 22:56 | <jgraham> | AryehGregor: I have ignored everything he has written |
| 22:56 | <jgraham> | But it is the same style as the Axiomatic Proof |
| 22:56 | <matjas> | annevk: / is the first thing I tried. Just found it weird I couldn’t find it in the spec. And then someone said / matches all documents on the server |
| 22:56 | <annevk> | I have enjoyed what most of what I read of him |
| 22:56 | Philip` | recognised the distinctive style before even reading any of the words |
| 22:57 | <annevk> | matjas, could not find what in the specification? |
| 22:57 | <jgraham> | It's like a whole new class of troll |
| 22:57 | <AryehGregor> | Surely he's just dysfunctional, not a troll. |
| 22:57 | <matjas> | annevk: How to specify the index page in a cache manifest file, without explicitly using `index.ext` |
| 22:57 | <jgraham> | I guess he is not obviously malicious |
| 22:58 | <matjas> | annevk: All the examples I could find were just using file names |
| 22:58 | <jgraham> | But it has all the same effects as a troll so... |
| 22:58 | <matjas> | annevk: So using /foo.ext instead of foo.ext inside a cache manifest should work as well? |
| 22:59 | <matjas> | annevk: Can you put any URI in there? |
| 22:59 | <AryehGregor> | That's why I don't like the word "troll". It implies malice, which is hard to gauge. |
| 22:59 | <annevk> | matjas, / is just a URL |
| 22:59 | <annevk> | matjas, that it maps to /index.html in some server implementations is not something the specification should be concerned with |
| 22:59 | <annevk> | matjas, and yes, it takes any URL |
| 23:00 | <annevk> | he's a troll afaict: http://tantek.pbworks.com/TrollTaxonomy |
| 23:00 | <matjas> | [00:05:06] <annevk> matjas, that it maps to /index.html in some server implementations is not something the specification should be concerned with |
| 23:00 | <matjas> | → agreed, but all the examples in the spec are using it. Just wanted to make. Thanks! |
| 23:01 | <annevk> | matjas, you could file a bug asking for an example with URLs with leading slashes |
| 23:02 | <annevk> | cannot deduce from examples -> cannot find in spec is quite the leap though :) |
| 23:03 | <annevk> | if we had to put everything in examples the spec would be huge |
| 23:04 | <matjas> | annevk: Done: http://www.w3.org/Bugs/Public/show_bug.cgi?id=10499 |
| 23:04 | <annevk> | anyway, bedtime |
| 23:13 | <AryehGregor> | Why the heck has Gmail not migrated yet from Gears to HTML5? At least basic localStorage use or something? |
| 23:13 | <AryehGregor> | It's really infuriating that my phone accesses my mail more smoothly than my desktop. |