13:32
<yecril71>
There is no such thing as the native appearance of a hyperlink in Microsoft Windows.
13:33
<yecril71>
Microsoft Windows has buttons and menu items, but no hyperlinks.
14:35
<yecril71>
That only means that if you set the background, you should set the foreground as well.
15:33
<zcorpan>
hsivonen: i tried applying these styles to v.nu: fieldset { border:1px solid #ccc; background:#eee } legend { display:none }
16:59
<annevk5>
seems weird that microformats requires class="url" on a <a>
17:01
<Philip`>
Does that indicate that the href is a URL, or that the text content of the element is a URL?
17:02
<gsnedders>
Philip`: @href
17:02
<Lachy>
annevk5, yes, I agree. I've pointed out the same issue to microforamts people once before, and they have some lame excuse for it
17:06
<annevk5>
I suppose it's in case of multiple <a> elements but even then they could offer some heuristics before resorting to a class
17:13
<Lachy>
they could do it on the URL scheme. I think they do it to differentiate between a website and an email address
17:13
<Lachy>
but I suppose they think class="url" and class="email" is easier
17:17
<takkaria>
heuristics are bad, mmkay?
17:17
<takkaria>
or at least, lots of people seem to think that
17:18
<annevk5>
if you define them it's just a different syntax from class="url"
17:18
<annevk5>
that requires less typing
17:18
<annevk5>
though maybe more implementation work
17:26
<gsnedders>
takkaria: But the tools will save us!
19:49
<jcranmer>
does FF not support pathing correctly, or am I just doing it wrong?
19:50
<jcranmer>
context.beginPath(); context.moveTo(argsWidth, 10); context.lineTo(argsWidth, height - 10); context.closePath();
19:50
<Philip`>
jcranmer: What do you expect it to do, and what does it do instead?
19:50
<jcranmer>
what I expect it to do is to produce a 1-pixel line from (argsWidth, 10) to (argsWidth, height - 10)
19:51
<jcranmer>
what it does is nothing
19:51
<Philip`>
You need to use something like context.stroke() to actually draw anything
19:51
<Philip`>
(and you don't need closePath() because a line is an unclosed path)
19:51
<jcranmer>
Philip`: ah, thanks
19:52
<jcranmer>
well, it's antialiasing, but I can live with that
19:53
jcranmer
is writing an HTML page that can show discrete probability distributions
20:01
<Philip`>
jcranmer: Offset it by 0.5 pixels to get rid of the antialiasing
20:01
<jcranmer>
Philip`: I like the antialiasing, in fact
20:02
<jcranmer>
makes the axes seem bigger
20:02
<Philip`>
jcranmer: (Integer pixel coordinates are the edges between pixels, so you want to shift into the middle of the pixel)
20:02
<Philip`>
jcranmer: If you want the axes to seem bigger, context.lineWidth = 2 is probably a better way to do it :-)
20:28
<jcranmer>
bah, how am I supposed to draw a dashed line?
20:28
<Philip`>
jcranmer: By drawing lots of short solid lines
20:29
<jcranmer>
:-(
20:29
<Philip`>
jcranmer: like http://canvex.lazyilluminati.com/misc/dash.html
21:14
<gsnedders>
What does "->" do in C?
21:15
<Dashiva>
It's like (*x). or so
21:17
<gsnedders>
(p->z && Z_TYPE(p->z) == IS_OBJECT) doesn't work because "used struct type value where scalar is required"
21:18
<gsnedders>
I just want to see if it exists
21:18
<Dashiva>
p->z is a struct and can't be used in a boolean context?
21:18
<gsnedders>
How can I see if it exists, though?
21:19
<Dashiva>
Add != null? :)
21:19
<Dashiva>
I dunno
21:19
gsnedders
doesn't really want to debug this, and thinks that it is simply p->z not existing here
21:22
<Philip`>
What are the types of p and p->z?
21:22
<Philip`>
("I don't know" is probably not an acceptable answer :-) )
21:22
<gsnedders>
I don't know
21:22
<gsnedders>
And I'm not code reading to find out :P
21:22
<Dashiva>
Don't you have that hover-and-type-appears-IDE-thing?
21:23
<gsnedders>
Dashiva: Well, I'm currently using nano to edit it, so no :)