Xah's Web Dev Blog Archive 2012-07

JavaScript: Converting Unicode character to/from Codepoint, and Decimal/Hexadecimal

If you have JavaScript off, and you followed a link to Google Plus, it would show blank.

Google Plus now no longer shows blank when you have JavaScript turned off.

Unicode 6 Emoticons List

Popular Pirate Video Sites in China

Here's two most popular sites in China, of pirated movies and TV shows. You'll find latest Batman etc there.

Update: Firefox: How to Unhide/Disable the Auto-Disappearance of Forward Button

Update: grayer and grayer. Web Design: Say No to Grey Text on White Background

Google's sitemap.org Got Hacked?

I propose we rename the Internet to Misanthropolis.

, @jayewells

What Encoding Do Chinese Websites Use?

Obsolete Technologies 1990 〜 2000

Apache Rewrite Problem

a very strange apache rewrite problem.

i'm moving parts of my site at xahlee.org to wordyenglish.com. I have this in .htaccess:

…
RewriteRule ^PageTwo_dir/Vocabulary_dir/(.*)$ http://wordyenglish.com/words/$1 [R=301,L]
RewriteRule ^lit/(.*)$ http://wordyenglish.com/lit/$1 [R=301,L]
RewriteRule ^lojban/(.*)$ http://wordyenglish.com/lojban/$1 [R=301,L]
…

everything works, except the dir starting at lit/. The error is a 404 on the original domain.

no other lines contains “lit/”. There's no “lit” dir in the original domain now.

Turning on rewrite log:

RewriteLog "logs/xx-RewriteLog.log"
RewriteLogLevel 9

doesn't seem allowed or doesn't work with my web hosting environment. When these lines are present, browser returns a server error.

the problem occurs only with that one particular dir. Seems there's some magic with “lit/”.

Solution

the problem went away with this:

Not sure exactly what's the problem. Other dirs that are removed didn't have this problem. Just this dir.

Also, Ansari gave this tip: “the rewrite log rules must go in httpd.conf or your vhost configuration, not in .htaccess”.

http://serverfault.com/questions/408326/apache-modrewrite-fail-on-one-directory/

Displaying Chinese on Ubuntu Linux Firefox Results Ugly Mixed Font

RIP RSS (1999 〜 2012)

Safari 6 is released, but no more Windows version. Also, RSS reading feature is removed.

The fact that Apple removed RSS reader feature in Safari probably means that they've done market research and not many people are using it. I myself never used any RSS reader in browsers.

Popular RSS aggregate sites all went dead a year or two ago. The only one left and won't go away is Google Reader. Technorati seems still alive, though i haven't heard about it in gossips for years.

HTML5 Group Split with W3C

LOL. The WTF group split with W3C. So now there'd be 2 HTML5.

[whatwg] Administrivia: Update on the relationship between the WHATWG HTML living standard and the W3C HTML5 specification By Ian Hickson. @ lists.w3.org…

Welcome back 1999.

If i want a living standard, i can just subscribe to Vogue. I no need Google and Apple telling me what's correct thru their front group.

CSS: protocol-relative URL Format

Google Pushes Invalid HTML to the World

JavaScript Trick: Exclamation Before Function

blog comments powered by Disqus