Thursday, 15 January 2004

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)

Just got a copy of Bulletin C telling me there will be no leap second at the end of June 2004.

That makes over five years now without a leap second (the bulletin said that the difference between TAI and UTC has been constant at UTC-TAI = -32s since 1999-01-01T00:00:00), which surprises me a bit; I thought that leap seconds were introduced, on average, every two or three years.

I suppose the earth has been spinning a bit more regularly since then, or something.

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)

I came across this userpic of [livejournal.com profile] newbiechicktech's and thought it was really nifty—a cross between "neko" (the little cat that follows your mouse cursor around) and the BSD daemon.

Second mention

Thursday, 15 January 2004 17:02
pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)

Just thought I'd mention [livejournal.com profile] friend_whoring again. Friend them, just for the heck of it, and tell your friends :)

(no subject)

Thursday, 15 January 2004 21:24
pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
This is some text ) and stuff after.
pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)

LiveJournal's HTML cleaner uses a parser which can parse HTML (but also understands XHTML).

This means, for example, that you can leave off quotes on attribute values if they consist only of letters, numbers, hyphens, dots, underscores, and colons. This is the reason why <lj user=exampleusername> and <lj user="exampleusername"> both work to produce [livejournal.com profile] exampleusername (though I'd prefer the latter)—the HTML cleaner doesn't see whether there are quotes or not and the output of the parser is the same in either case.

The fact that the cleaner uses an HTML parser also means that it does SGML-style attribute minimisation; if the value of an attribute in an HTML file is the same as its name, then you can leave off the value. For example, you can pre-check a checkbox in HTML with <input type=checkbox name=foo value=27 checked>, which would have to be <input type="checkbox" name="foo" value="27" checked="checked" /> in XHTML (which does not allow attribute minimisation).

And because the parser in the HTML cleaner does this, too, you can say <lj-cut text> (see it in action here: text )

) and it'll be parsed the same as <lj-cut text="text"> :p Or even <lj user> which becomes [profile] user (i.e. <lj user="user">). Funny.

Profile

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
Philip Newton

June 2015

S M T W T F S
 12 3456
78910111213
14151617181920
2122232425 2627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Saturday, 23 May 2026 19:59
Powered by Dreamwidth Studios