00:39
<openstandards>
saba, what you need to remember is people started using css features before they were supported by all browsers
00:39
<openstandards>
:)
02:54
<saba>
openstandards: you have a true point there.
03:00
<openstandards>
as long as the user experience degrades down to a level which is acceptable by this i mean its not broken then it should be fine, thats my stance
08:32
<hsivonen>
hmm. when viewing my Master's Thesis in Firefox 4 on Ubuntu, the font looks right (Palatino-ish). In Chrome, it looks wrong (Times New Roman-ish)
08:32
<hsivonen>
looks like this stuff hasn't been polished in Chrome
08:47
<matjas>
hsivonen: Does Firefox support the Link HTTP header for all link relations? E.g. would `prefetch` work?
08:47
<matjas>
Link: <foo.html>;rel=prefetch
08:48
<hsivonen>
matjas: I don't know, but my vague recollection from reading the source makes me guess prefetch wouldn't work as a header
08:48
<hsivonen>
matjas: try it to find out
08:50
<hsivonen>
I blame Hixie for Link header support
08:50
<matjas>
hsivonen: Will do, just wanted to check with you first; usually that saves me the time needed to create a test case.
08:51
<matjas>
annevk, zcorpan: How about Opera?
09:07
<matjas>
hsivonen: It does work!
09:08
<matjas>
hsivonen: So I guess Firefox supports the Link header for all other link relations as well
09:08
<matjas>
That’s great news.
09:08
<matjas>
Opera doesn’t seem to support prefetching at all, so I can’t really test there.
09:18
<hsivonen>
matjas: why is it great news? what's your use case?
09:19
<matjas>
hsivonen: No real use case, just good to know `Link` is *fully* supported in Firefox
09:20
<matjas>
hsivonen: `prefetch` is just an easy way to test it (other than `stylesheet`)
10:16
<MrWax>
does anyone know a good view of the support of HTML5 like html5readiness.com?
10:18
<antti_s>
MrWax: http://caniuse.com/ ?
10:18
<matjas>
https://github.com/search?type=Users&language=javascript&q=location%3Abelgium *egoboost*
10:18
<matjas>
Oh snap, wrong channel
10:18
<MrWax>
antti_s: yes, but more in 1 picture
10:19
<annevk>
matjas, btw, did you test <link>;rel=alternate in Gecko?
10:19
<annevk>
for feed support, especially
10:19
<matjas>
annevk: not yet, I’ll try that now
10:20
<matjas>
annevk: I’d expect it to work considering `prefetch` does
10:20
<annevk>
I'm sceptical, that's all :)
10:25
<matjas>
annevk: You’re right, it doesn’t seem to work
10:26
<matjas>
Tried with different variations; Link: <foo.atom>;rel=alternate — Link: <foo.atom>;rel=alternate;type=application/atom+xml — Link: <foo.atom>;rel="alternate";type="application/atom+xml"
10:26
<matjas>
All failed
10:26
<matjas>
When using <link> in the HTML all it takes is rel=alternate and a `type` attribute for the feed icon to appear in the Firefox UI
10:27
<annevk>
yeah, that's per HTML5 as well
10:28
<MrWax>
annevk: you have experience giving any presentation about HTML5 or components of it?
10:28
<MrWax>
in the light of your job
10:28
<MrWax>
i mean, related to your job
10:31
<annevk>
I have given a few presentations
10:32
<annevk>
most are linked from the WHATWG wiki I pointed you towards earlier
10:32
<MrWax>
ok
10:34
<MrWax>
annevk: If you would have to give a 20 minute presentation to average IT related people.. Would you do it like this: 3 main parts 1 - quick history related to html5 (whatwg/w3c, 2 mins) 2 - syntax related, short description of tags new & tags unusable (8 mins) 3 - description of 5 new exciting APIs (10 mins)
10:35
<jgraham>
MrWax: "Average IT Related People" doesn't mean much. Why should these particular people care about HTML5?
10:36
<jgraham>
I mean what are you trying to convey?
10:36
<annevk>
MrWax, something like that seems fine; depends a bit on what they are interested in
10:37
<jgraham>
Are you trying to convince them that they shoud be writing GUIs in HTML? Do they already write GUIs in HTML but want to know what tools are new?
10:37
<MrWax>
It's for my study, I have upgraded a CMS system front-end wise as graduation project
10:37
<MrWax>
and now I need to present a related subject
10:37
<annevk>
MrWax, aah
10:37
<annevk>
MrWax, if it's for students I would illustrate how the web is becoming the app platform
10:38
<MrWax>
I already made all the sheets and stuff, just trying to reconsider the content of the API part
10:38
<MrWax>
annevk: its for 3 teachers
10:38
<annevk>
MrWax, using some new HTML5 features as examples as to why it can pull that off
10:38
<annevk>
MrWax, then I would probably do the same :) as the web seems somewhat underrepresented at universities
10:38
<MrWax>
annevk: and I was considering instead of the most important APIs (video/audio/canvas etc) just to explain the more recent innovative things
10:39
<MrWax>
I mean, I think much people know that type of basic stuff, how WHATWH initiated HTML5 how W3C took the standard specs in 07 etc etc
10:40
<MrWax>
WHATWG*
10:42
<MrWax>
I think I'll use the basic HTML5rocks UI to present my sheets on, just going to write a small script that can create sheets and bullets dont feel like adding 30 sheets manually :)
10:42
<MrWax>
Anyway, if you might know anything that can be really addition to what I have, it would be great
10:42
<MrWax>
I'm just trying to not present old / already much known info
10:46
<matjas>
annevk, hsivonen: https://bugzilla.mozilla.org/show_bug.cgi?id=618258
10:46
<annevk>
MrWax, you should try to figure out how much your teachers are up to date somehow I suppose
10:47
<matjas>
annevk: I’m sure you already knew, but Opera supports it just fine :)
10:47
<MrWax>
annevk: I think just the basic data from W3C and WHATWG is known, and possibly some features like video/audio - i dont think much else
10:47
<annevk>
matjas, I didn't actually, fun
10:47
<annevk>
I guess we rock
10:48
<matjas>
annevk: http://mathiasbynens.be/demo/link-alternate shows an RSS icon
10:48
<MrWax>
annevk: but API like worker objects are good things to explain i trhink
10:48
<annevk>
MrWax, offline maybe too
10:48
<annevk>
MrWax, both speed and actually working offline impacts
10:48
<MrWax>
annevk: yea i have Offline Web apps as in IndexedDB + localStorage + App Cache in one sheet with examples
10:49
<annevk>
MrWax, http://weblogs.mozillazine.org/roc/archives/2008/11/the_essence_of.html has some interesting points you could try to convey
10:49
<MrWax>
thanks
10:50
<MrWax>
annevk: actually, I could explain Offline apps in an example how I could make the CMS I have upgraded offline webapp compatible right?
10:50
<MrWax>
you think this is a good idea?
10:51
<MrWax>
as in IndexedDB to store page rights on, localStorage to save page contents in, and App Cache to save the videos and pictures CMS users use in their pages
10:52
<annevk>
makes sense
11:06
<MrWax>
You think using the HTML5rocks websheets UI is a good idea? or do you maybe know a better alternative?
11:12
<krijnh>
annevk: ?
11:12
<annevk>
krijnh, voor die slogan?
11:12
<krijnh>
Uhuh
11:12
<krijnh>
Waar moet 'ie komen?
11:12
<annevk>
dacht als een van de dingen op /irc-logs/
11:13
<krijnh>
Ah, check
11:17
<krijnh>
http://krijnhoetmer.nl/irc-logs/?gimme-a-hobby #thereifixedit
11:53
<matjas>
I miss krijnhoetmer.nl
11:53
<matjas>
LOLWAT
12:05
<matjas>
zcorpan: That sucks.
12:06
<zcorpan>
matjas: express your concern on the mailing list (no need to subscribe)
12:18
<matjas>
zcorpan: Done. (I hope it appears soon.)
12:19
<hsivonen>
http://twitter.com/#!/daaitoulaam/status/13201086282203136
12:20
<hsivonen>
matjas: "I miss krijnhoetmer.nl" is an actual quote from #whatwg
12:20
<matjas>
hsivonen: Oh wow :‘)
12:21
<matjas>
Inside joke overload!
12:25
<jgraham>
Dear Lazy IRC: Is there some incredibly obvious way that I am missing to clone a git repository from the local machine to a remote? Or do I have to copy it using scp or something
12:28
<erlehmann>
jgraham, just grab the .git directory and move it to your other machine. then git “reset --hard”
12:29
<Lachy>
Hixie, whatwg wiki seems to be having trouble. "Can't contact the database server: Lost connection to MySQL server at 'reading initial communication packet', system error: 110 (database.wiki.whatwg.org)"
12:29
<erlehmann>
jgraham, also http://stackoverflow.com/questions/978052/githow-can-i-make-my-local-repository-available-for-git-pull/978417#978417
12:31
<jgraham>
erlehmann: Well yeah the thing is I want to clone in reverse. I am on machine a. I want a (preferably bare) clone of the repo on machine b. I can ssh to b. git doesn't seem to deal well with this. It is trivial with mercurial :)
12:32
<erlehmann>
jgraham, what would be wrong with using scp?
12:32
<krijnh>
matjas: Sam said that once :)
12:33
<jgraham>
erlehmann: It feels like it is less efficient than git clone and I can't make it bare by default
12:34
<jgraham>
All I want is for "git clone --bare repo ssh://me@remote/repo.git" to work
12:36
<hsivonen>
now I wish I had worked on Microsyntax Description caching before
12:36
<hsivonen>
I can't redeploy Validator.nu while wiki.whatwg.org is down
12:36
<hsivonen>
distributed failure
12:54
<hsivonen>
so many bugs I wish I had fixed earlier
14:07
<annevk>
wiki is up
14:13
<annevk>
this encoding problem sucks
14:13
<annevk>
I guess I already mentioned that, but I don't really have a good idea on how to approach it
14:13
<annevk>
I suppose some kind of algorithm that would tell which encodings are superset/subset of each could help reduce the amount of data to wade through
14:14
<annevk>
but if that is really better...
14:19
<annevk>
http://www.reddit.com/r/funny/comments/ej886/wrong_number_again_thinking_im_someones_coach_my/c18ibj3 -- funny
14:49
<MrWax>
annevk: do you maybe know some kind of page that describes which elements of HTML 5 contribute to the fact that Web applications are taking over the roles of traditional desktop applications?
14:49
<MrWax>
Or, does anyone else know a good reference for this?
15:00
<annevk>
MrWax, shouldn't be too hard to figure that out yourself, no?
15:04
<hsivonen>
http://lists.xml.org/archives/xml-dev/201012/msg00433.html
15:04
<hsivonen>
does anyone have any idea what the part about CSS is referring to?
15:07
<annevk>
XBL bindings? CSSOM inspection of cross-origin CSS resources?
15:07
<annevk>
he's wrong about the implications though
15:16
<hsivonen>
annevk: I guess this would be 386 time, except I have to pack for travel instead
16:46
<hsivonen>
annevk: If I want to use Apache to serve CORS-enabled resources to multiple origins but not the wildcard origin, what should I do when the headers don't allow multiple origins anymore?
16:47
<hsivonen>
It's bad when googling for mod_cors finds what I have said on this channel before
17:13
<webr3>
hsivonen, generate the header dynamically based on a white list I guess.. CORS is a real PITA, especially with write operations
18:27
<Ms2ger>
Yay, more discussion about physical css inches!
18:29
<Philip`>
What if I make a monitor out of stretchy elastic, so a physical inch is a varying number of pixels?
18:30
<AryehGregor>
Philip`, you could just use a projector instead if you want a counterexample.
18:30
<AryehGregor>
Or if you want a cooler counterexample, use the one that someone suggested about a device that beams the image directly onto your retina.
18:30
<AryehGregor>
So the whole image is only a few millimeters high.
18:31
<Philip`>
Isn't a standard LCD monitor also projecting its light onto your retina so the image is only a few millimeters high?
18:31
<Ms2ger>
But I know I need to give that paragraph exactly 12 points of margin!
18:32
<AryehGregor>
Philip`, well . . . yes. But it's also projecting the image all over the room. I mean projecting *just* onto your retina.
18:33
<Philip`>
It's also projecting onto an infinite number of planes between your retina and the projector, and onto the lenses in your eye and in the device
18:33
<Philip`>
Why is the size on your retina special in that case?
18:34
<AryehGregor>
. . . maybe it's not. But choosing any of those things it's projecting onto as the reference point for measurements like 1in is unlikely to match the author's intent.
18:35
<Philip`>
I guess the only meaningful physical measurement is degrees
18:35
<AryehGregor>
Which is what CSS now uses, more or less.
18:36
<AryehGregor>
Except for the fact that for most viewing devices, you don't really know how far away the viewer will be sitting.
18:36
<AryehGregor>
And in some cases they might be sitting at very different distances (e.g., the projector use-case).
18:37
<Philip`>
Yeah, so it's still not actually useful, but at least you don't have to worry about what plane you're measuring it on
19:12
<hsivonen>
webr3: sure, but generate with what? I'm not aware of an Apache module for this.
19:58
<Hixie>
well dunno why the blog and wiki were down
19:58
<Hixie>
sorry about that though
20:04
<Hixie>
anyone know if webgl has some sort of concept of safe code you can run on the gpu?
20:05
<AryehGregor>
"Safe code you can run on the GPU"?
20:05
<AryehGregor>
As opposed to code that will cause your computer to crash or something?
20:05
<Hixie>
yeah
20:05
<Hixie>
i mean, does webgl allow web pages to write their own custom shaders, or something
20:05
<Hixie>
presumably if it does they are checked for safety first
20:06
<Hixie>
web seems to say yes
20:06
<AryehGregor>
Surely the worst any bad shader can do is mess up the program itself? I mean, it doesn't require root privileges to do GPU operations, so presumably it can't interfere with other processes.
20:07
AryehGregor
knows some OpenCL, and is in fact working on a final written in OpenCL right now, but doesn't know how more conventional GPU usage works
20:07
<AryehGregor>
(GPUs are really neat to write general-purpose code for, by the way)
20:07
<Hixie>
AryehGregor: other web pages are in the same process
20:07
<AryehGregor>
Not necessarily.
20:07
<AryehGregor>
But I assume browser implementers have thought of this . . . why do you ask, anyway?
20:08
<Hixie>
wondering if we could reuse it for hardware-accelerated video frame manipulation
20:09
<AryehGregor>
(The OpenCL spec is pretty good, but it leaves too many things undefined. Better than C itself, though.)
20:10
<AryehGregor>
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.html#4.4
20:10
<AryehGregor>
It looks like you're not going to crash stuff, but you could freeze the system.
20:10
<AryehGregor>
The GUI, that is.
20:10
<Hixie>
that's pretty bad
20:11
<AryehGregor>
From OpenCL, I think the way this works is that the GPU can only really do one thing at once, or something. So if you execute a batch of OpenCL kernels, and each kernel takes more than a fraction of a second, you'll see the whole system freeze, because it can't interrupt running kernels. Something like that.
20:11
<AryehGregor>
Well, there's clearly some way to interrupt running kernels.
20:12
<AryehGregor>
Ctrl-C works with my OpenCL programs.
20:12
<AryehGregor>
I dunno. But yeah, this does seem pretty bad.
20:12
<AryehGregor>
Of course, there are already obnoxious DoS attacks you can pull off. If I browse to a large enough image in my web browser, X crashes.
20:12
<AryehGregor>
And I've seen similar stuff on Windows XP, IIRC.
20:12
<AryehGregor>
With unreasonably large images and such.
20:13
<AryehGregor>
So maybe it's not actually a blocker issue.
20:13
<AryehGregor>
(although it's still bad)
20:13
<AryehGregor>
(In Windows XP, IIRC, the whole OS crashed. Although maybe it's not true anymore.)
20:13
<gsnedders>
AryehGregor: If you get the GPU into a bad state, some OSes will just transparently reset the entire graphics driver (Vista/Win7/OS X), others will die (XP bluescreens), and it'll kill X
20:14
<gsnedders>
Where "bad state" can just be a shader takes more than n to execute
20:14
<AryehGregor>
Is that what it means in Vista and higher when it says "The graphics driver has died and was restarted" or whatever?
20:14
<AryehGregor>
Also, by "transparently" you mean "with no ill effects", I guess?
20:14
<AryehGregor>
That doesn't sound too bad, then.
20:14
<AryehGregor>
(except for XP and X users)
20:14
<AryehGregor>
(I wonder if Wayland will be better :) )
20:15
<gsnedders>
AryehGregor: with no ill effects except for it black-screening for a few seconds
20:15
<gsnedders>
It's still a case of you-really-don't-want-to-do-this
20:15
<AryehGregor>
Ah.
20:15
<gsnedders>
And if you put the code that causes it in something called by setInterval…
20:16
<AryehGregor>
But can this also be caused already? Like by a 1000000x1px image?
20:16
AryehGregor
makes one to test
20:16
<gsnedders>
It shouldn't be.
20:17
<AryehGregor>
I had X crash quite recently upon viewing a too-large image.
20:17
gsnedders
has managed to load huge images without X crashing
20:25
<AryehGregor>
Trying to resize an image to 1000000x1 in ImageMagick messes up my server. :(
20:27
<AryehGregor>
I'm not sure why . . . it created massive disk activity.
20:27
<gsnedders>
swap?
20:27
<AryehGregor>
No, zero swap.
20:27
<AryehGregor>
And the process was killed by something a minute or two ago already, although it didn't seem to be using much memory.
20:28
<AryehGregor>
Why does Linux have to perform so atrociously under heavy I/O? It's really inexcusable.
20:28
<kidfribble>
hi all - is GoodRelations RDFa talk off topic here?
20:28
<AryehGregor>
At least it's usable in the recent couple of kernels . . .
20:28
<AryehGregor>
kidfribble, the WHATWG doesn't really have anything to do with RDFa.
20:28
<kidfribble>
yeah, didn't think so :) found an old talk in this channel a second ago
20:30
<gsnedders>
kidfribble: #swig is probably a better bet
20:30
<kidfribble>
thanks to you both
20:32
<AryehGregor>
Geez, my websites are down.
20:32
<AryehGregor>
I hate ImageMagick.
20:32
<AryehGregor>
This is not even close to the first unpleasant experience I've had with it.
20:33
<AryehGregor>
Which is remarkable, since I barely ever use it.
20:43
<Philip`>
WebGL implementations use a shader validator to prevent you doing things like loops (which could be infinite loops), I think
20:45
gsnedders
can't claim to know a huge amount about WebGL
20:45
<Philip`>
And/or I think it relies on drivers to provide safety features, e.g. to kill incredibly slow shader executions
20:45
<Philip`>
(which requires the driver developers to be involved since they historically haven't provided guarantees like that)
20:47
<Philip`>
(Also it relies on the drivers to not be e.g. full of buffer overflow vulnerabilities, and I'm not sure how well they historically guarantee that given that they've never been used to run untrusted code before)
20:47
<AryehGregor>
Sounds fun!
20:47
Philip`
notes that Mesa <7.9 suffers from a trivial DOS vulnerability because its shader parser has exponential complexity in certain cases
20:49
<Philip`>
(which as far as I could tell was due to it completely disregarding decades of work into how to parse a basic C-like syntax efficiently, and doing something insane instead)
20:50
<Dashiva>
That's what open source is all about, isn't it?
20:51
<Philip`>
You mean it being about looking briefly at other people's code and claiming it's stupid without having analysed it in any real detail?
20:51
<gsnedders>
Philip`: Browsers have to do all the shader-safety checking
20:54
<Philip`>
https://bugs.freedesktop.org/show_bug.cgi?id=24553
20:54
<Philip`>
I guess browsers are still vulnerable to that
21:10
<jgraham>
I believe Google have made an open source shader validator
21:12
<jgraham>
I would link to the Google Groups posts but since the links don't function for me...
21:29
<Philip`>
jgraham: It's part of http://code.google.com/p/angleproject/ I think
22:22
<jamesr_>
Hixie: i think i exploded your live dom viewer
22:23
<jamesr_>
i was playing with a <script> tag that was manipulating unmatched surrogate pairs in strings and now it's all fuxxored
22:29
<Hixie>
jamesr_: how so?
22:29
<Hixie>
jamesr_: wfm