Siebe 的个人资料Siebe Tolsma日志列表留言簿 工具 帮助

Complicated

 
"This is another example of how things can get extremely complicated even though the basic idea is very simple: Once you have the simple idea working, everybody finds random special cases that force you to take your simple idea and make it more and more complicated."
 
Unfortunately, this is way too common.

Unicode class to UnicodeCategory cheat-sheet

Cheatsheet of Unicode classes to the .Net Framework System.Globalization.UnicodeCategory enum names:

 

Po = OtherPunctuation

Pf = FinalQuotePunctuation

Pi = InitialQuotePunctuation

Pe = ClosePunctuation

Ps = OpenPunctuation

Pd = DashPunctuation

Pc = ConnectorPunctuation

Co = PrivateUse

Lu = UppercaseLetter

Ll = LowercaseLetter

Lt = TitleCaseLetter

Lm = ModifiedCharacter

Lo = OtherLetther

Mn = NonSpacingMark

Mc = SpacingCombiningMark

Me = EnclosingMark

Nd = DecimalDigitNumber

Nl = LetterNumber

No = OtherNumber

Zs = SpaceSeparator

Zl = LineSeparator

Zp = ParagraphSeparator

Cc = Control

Cf = Format

Cs = Surrogate

Sm = MathSymbol

Sc = CurrencySymbol

Sk = ModifierSymbol

So = OtherSymbol

Cn = OtherNotAssigned

 
You're welcome.

Curiosity killed the cat

Just for kicks I visited the new website of the DHS where all non-US citizens now need to apply in order to be permitted to fly to the US. Aside from it being one of the most ridiculous rules, "evar", it has another "What the F..." issue:
 
dhs
 
Please read it carefully. I especially like the end of the blob of text, where it says "By clicking OK below...", as if I have a choice! There is no cancel button which takes me the hell out of there (redirect to DHS.gov or whatever they think is best). So by visiting the site and being prompted with that dialog, you must agree to it, without being given a chance to back out. Nasty.