Xah Web Dev Blog Archive 2013-10
JS: Dot Notation vs Bracket Notation (updated)
var or not. Example:
var xx = 3; delete xx; console.log(xx); // gone yy = 4; delete yy; console.log(yy); // gone
above is tested in Google Chrome and Firefox and node.js as of
JS: Default Charset/Encoding (updated)
all you ever wanted to know. JS: String Methods for RegExp
JS: String.prototype (much update)
here's another example how Google is becoming evil ass.
now, g+ will tell you things like “be the first to comment and plus one”.
what's wrong with that? it is a message towards brainless consumerism, just like all the annoying marketing stuff. It is what creates the so many great ills of American life.
Google, in their beginning, wasn't like this. But now, everything about Google is like this. Another good example is Google Doodle. when done occasionally, it's fun, creative, and also helps the company to market itself, in a good natured way, as a cute girl being cute naturally. But now, Google doodle is doodling in every conceivable opportunity, and multi-faceted, catered to every country. (it has a version for USA, UK, China, etc, for every holiday or the country's events. See: List of Google Doodles in 2013) (not to mention the hundred thousand Google products all push marketing like that) That would be like a trollop with gaudy makeup and skimpy outfit, just in case you didn't notice what she sells.
Google, since its beginning in late 1990s, has become so successful. From a company know by people, us, as a don't be evil company. It's a wonder. Is it true that powerful always becomes evil? Compared to many large companies, i think Google is not too bad, but certainly isn't what it used to be.
See also: All About Google
reshash some old articles, related to screen size and design.
Google's Blogger Comment Linked to Google Plus
if you use Google's Blogger, it offers a unified comment linked to your g+. However, there's a sinister aspect. If you turn it on, people who don't have g+ account won't be able to comment.
this is where Google is evil.
jwz wrote a rant against today's web design.
〔 Mobile web design: The reign of morons, indeed. By jwz. At http://www.jwz.org/blog/2013/10/mobile-web-design-the-reign-of-morons-indeed/#comment-135382〕
here's my comment.
web designers have always been idiots, since 1990s. The fashion and design mantra kept changing.
and, i can't help but think part of this is being the consequence of open source ideology (or related, such as “info wants to be free”). How are content creator make money while every joe can copy and refry and post again with ads? and, lots coders use ad blockers. Venerable mag such as time mag now becomes gossip and celebrity photo gallery too, just like every other site.
and, to get back to some hacker spirit, you, jwz, my friend, can't help but putting g+ facebook buttons on your site, and with a black background that's a visual shock even the ars technica and lots geeks have stopped doing.
PS sadly, he seems to have censored it.