Dear Log,
The glory and insanity of PostScript are both to be found in this one function that I stumbled on today:
/is_leap { % year => boolean [true: leap; false: common] dup 4 mod 0 eq 1 index 100 mod 0 ne 2 index 400 mod 0 eq or and exch pop } defIt's from this neat georigami calendar page.
Hm, as I enclose that snippet in <ecode>...</ecode>, I wonder why I can't just simply use <pre> here. A simple "pre{ overflow: scroll; }" in the site's stylesheet would keep it from stretching the page. See!
And speaking of the site's stylesheet, why is there that weird ".intro p { margin: 0 0 1em 0; [...] }" rule that changes the normal style (margin: 1em 0 1em 0) of all the p's in postings? Here's an example of "text<p>moretext" that comes out looking like "text<br>moretext" because of that ".intro p" rule. Same problem actually appears in this message too.
-Dom
Re:ecode does more
pudge on 2006-03-20T04:06:26
That p rule annoys me, too. I dunno why it is there. I'll see about changing it.Re:ecode does more
TorgoX on 2006-03-20T04:45:50
Yaaaay