Archive: April 10, 2002
Ok, different types of ordered lists work now:
- then
- plain
- ordered lists
- Arabic
- numbers (same as default)
- Lower
- alpha
- upper
- alpha
- lower
- roman
- upper
- roman
Nesting also works All of this could be a little more stylesheet friendly (I still use the old (and deprecated) "type" list attribute), but that'll come later. Nice thing about using the markup parser is that when I change the parser, all previous entries automatically change 
Keep in mind that for all of this I'm not using one bit of HTML. There's not one "<" or ">" in this entire post except for the ones in this sentence 
Oh, I almost forgot... images work now!

Via lgf, a fantastic article from Amity Shlaes.
Even while thinking that our administration has held a double standard, while listening to Rush and Hannity call the Bush on this, and while thinking that our President had lost his clarity of purpose regarding terrorism, I'd always thought that there might be another plan in place. Our current administration is very smart (regardless of what anyone wants to believe about Bush) and I figured that even while calling for more talks we were really maneuvering behind the scenes.
Shlaes puts in words what I had been thinking. Rather than explain what she says badly, I'll end with some of her words:
Consider, first of all, Mr Bush's speech. In the days and weeks before it, indeed ever since suicide bombing took hold in Israel, America's European allies have been telling Washington it must work harder on brokering peace. The arrival of a heavyweight such as Secretary of State Colin Powell could show both sides that the US is serious and that Mr Sharon and Mr Arafat must take it seriously. Europe therefore views the speech as a recognition of this reality.
Not so the White House. It generated the speech to show other things. One is, indeed, that it respects its allies and will take their demands - dispatching Mr Powell - seriously. But another was to put an ultimatum before Mr Arafat. In effect, Mr Bush said: all right, we will send Mr Powell. But if Mr Arafat then continues to allow suicide bombers and other forms of violence to emanate from his territory, he will no longer be acceptable as a negotiating partner.
It is important to remember that negotiation has been tried over and again in the case of the Palestine Liberation Organisation and Israel. Following the Gulf war, the US spent close to a decade on the Oslo Accord. But the accord failed. Even after receiving the Nobel peace prize, Mr Arafat walked away from the peace offers made by Ehud Barak's government.
In short, the fundamental question about the US posture in the Middle East is: is America after talks or is it after action? The answer is action. In this view, calls for more talks - even the Pope's call for peace - appear outdated. Indeed, to many Americans, Europe seems to be in a dreamland over Iraq.
After all, the US tried negotiations and brokering before Mr Arafat walked away from the negotiating table almost two years ago, and again before September 11. The world saw then that this approach would not work.
Via LtU, Guido van Rossum: Python Patterns - An Optimization Anecdote. A really good example of what goes on in higher level languages that you sometimes have to think about.
This is also a case of why strings are hard, a case of a Shlemiel The Painter algorithm, and an example of why you need to go back to basics. For all this, read Joel Spolsky's Back to Basics.
Ok, I'm getting my markup under control Inline styles are fixed! The downside is that I'm having trouble trying to make a regular expression that wants this to be a hyperlink:
"sometext"="http://blah.com/"
The problem is, it'll match too much if there's a quoted string before one of those strings - it'll match from the beginning of the first quote to the end of the second quote. I need some way to say "match a quote, any text until you see another quote, a quote, an equals sign, a quote, and any text until you see another quote". Too late to explain in any more detail now. I'll leave you with the current regex I'm using:
/"(.+?)"[:=]"(.+?)"/=
You can tell that I'm doing HTML escaping before I do my matching To put it in terms of that, the first captured string is matching too much. Why?
By the way, the regex above works and is currently in use on my weblog. All the links you see are generated by it. Again, the only problem is that it sometimes matches too much, and I'm having trouble making the first captured string stop when it hits the first quote.
Slashdot had a crappy poll asking who the 'coolest movie robot' was. They listed a bunch of robots I never heard of, but - hello? - they left out the Terminator, Johnny Five, and R2D2.
|
Generated in about 0.053s. (Used 7 db queries) |
The Elegant Universe
Well I have finally found the crazyguy that preaches useless nonsencein A...
Joseph Baxter: Jan 7, 11:07pm