|
|
 |
Massimo Morelli's Weblog
|
mercoledì 30 aprile 2003
|
|
| |
From the Mark Hurst Newsletter:
Here's a user experience that I have grown to dread recently. It seems to get worse every year.
Voice mail in 1993: "Hi, this is Bob. Leave a message." Beeeeep.
Voice mail in 2003: "Hi, this is Bob. Leave a message." (pause) (pause) "At the tone, please begin speaking. When you have finished your message, you may hang up or press one for more options. To send a numeric page, press star. Otherwise, fill out form 1040 and wait for three weeks while we drain all of your cell minutes explaining to you how to do something patently obvious that you figured out with no instruction the first time you ever left a message on an answering machine, what was it, 20 years ago? Anyway, here's the beep." (pause) (pause) (pause) (pause) "And just a reminder, you can still press one at any time for more options." (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) (pause) Beeeeep.
Of course, by then, I've forgotten what I was calling about and have to say "well, uhh" a few times before I get to my message... thereby making a poor experience for the recipient, too.
6:48:25 PM
|
|
|
|
lunedì 28 aprile 2003
|
|
| |
Individua anche tu gli stati canaglia. Michele Serra (trascritto da Beppe)
Corea del Sud. Subdolamente distinta da quella del Nord, ne è in realtà la longa manus. Sta diffondendo in tutto l'Occidente automobili dal nome pazzesco ("Sorento", "Korando", "Musso", "Placenta", "Popeya") con il proposito di umiliare i padri di famiglia che le guidano. Provate a dire a qualcuno "vengo a prenderti stasera sulla mia Musso", e capirete quale pericolo la Corea del Sud rappresenti per il mondo civile. [Network Games]
9:35:48 PM
|
|
|
|
domenica 27 aprile 2003
|
|
|
mercoledì 23 aprile 2003
|
|
| |
Trasloco effettuato. Resta da mettere il nome sul campanello e telefonare a tutti gli amici. Che fatica, però.
3:03:39 PM
|
|
|
|
mercoledì 16 aprile 2003
|
|
| |
The Semantic blog. Jon Udell clever as always:
The semantic blog. I've long dreamed of using RSS to produce and consume XML content. We're so close. RSS content is HTML, which is almost XHTML, a gap that HTML Tidy can close. In current practice, the meat of an RSS item appears in the <description> tag, either as an HTML-escaped (aka entity-encoded) string or as a CDATA element. As has been often observed, it'd be really cool to have the option to use XHTML as well. Then I could write blog items in which the <pre> tag, or perhaps a class="codeFragment" attribute, marks regions for precise search. You or I could aggregate those items into personal XPath-aware databases in order to do those searches locally (perhaps even offline), and public aggregators could offer the same capability over the Web. [O'Reilly Network] ... [Jon's Radio]
11:09:45 PM
|
|
|
|
domenica 6 aprile 2003
|
|
| |
I don't know why but for me this is actually fascinating:
# REX/Perl 1.0 # Robert D. Cameron "REX: XML Shallow Parsing with Regular Expressions", # Technical Report TR 1998-17, School of Computing Science, Simon Fraser # University, November, 1998. # Copyright (c) 1998, Robert D. Cameron. # The following code may be freely used and distributed provided that # this copyright and citation notice remains intact and that modifications # or additions are clearly identified.
$TextSE = "[^<]+"; $UntilHyphen = "[^-]*-"; $Until2Hyphens = "$UntilHyphen(?:[^-]$UntilHyphen)*-"; $CommentCE = "$Until2Hyphens>?"; $UntilRSBs = "[^\\]]*](?:[^\\]]+])*]+"; $CDATA_CE = "$UntilRSBs(?:[^\\]>]$UntilRSBs)*>"; $S = "[ \\n\\t\\r]+"; $NameStrt = "[A-Za-z_:]|[^\\x00-\\x7F]"; $NameChar = "[A-Za-z0-9_:.-]|[^\\x00-\\x7F]"; $Name = "(?:$NameStrt)(?:$NameChar)*"; $QuoteSE = "\"[^"]*"|'[^']*'"; $DT_IdentSE = "$S$Name(?:$S(?:$Name|$QuoteSE))*"; $MarkupDeclCE = "(?:[^\\]\"'><]+|$QuoteSE)*>"; $S1 = "[\\n\\r\\t ]"; $UntilQMs = "[^?]*\\?+"; $PI_Tail = "\\?>|$S1$UntilQMs(?:[^>?]$UntilQMs)*>"; $DT_ItemSE = "<(?:!(?:--$Until2Hyphens>|[^-]$MarkupDeclCE)|\\?$Name(?:$PI_Tail))|%$Name;|$S"; $DocTypeCE = "$DT_IdentSE(?:$S)?(?:\\[(?:$DT_ItemSE)*](?:$S)?)?>?"; $DeclCE = "--(?:$CommentCE)?|\\[CDATA\\[(?:$CDATA_CE)?|DOCTYPE(?:$DocTypeCE)?"; $PI_CE = "$Name(?:$PI_Tail)?"; $EndTagCE = "$Name(?:$S)?>?"; $AttValSE = "\"[^<"]*"|'[^<']*'"; $ElemTagCE = "$Name(?:$S$Name(?:$S)?=(?:$S)?(?:$AttValSE))*(?:$S)?/?>?"; $MarkupSPE = "<(?:!(?:$DeclCE)?|\\?(?:$PI_CE)?|/(?:$EndTagCE)?|(?:$ElemTagCE)?)"; $XML_SPE = "$TextSE|$MarkupSPE";
sub ShallowParse { my($XML_document) = @_; return $XML_document =~ /$XML_SPE/g;
XML Shallow Parsing with Regular Expressions. via [Lambda the Ultimate]
5:59:39 PM
|
|
|
|
|
© Copyright
2003
Massimo Morelli.
Last update:
30/04/2003; 18.48.50. |
|
|
|