Posts

Showing posts from February 13, 2011

Google, Chrome, SPDY

Google is quite powerful today. Not only having own browser, OS (Google Chrome OS), mobile OS (Android), and gazillion web services, but invents its own protocols.This is probably old news, but see SPDY. SPDY is a protocol intended to replace HTTP. The interesting part is that it's not just a proposed protocol, but actually used daily when you use Google Chrome to access Google's websites and services. What this means is that, probably sooner or later, others will adopt. Quote:SPDY is a research project in TCP-based application-level protocol for transporting web content. It is proposed by Google as a replacement for HTTP.The goal of SPDY is to reduce web page load time. This is achieved by prioritizing and multiplexing the transfer of several files so that only one connection per client is required. All transmissions are SSL encrypted and gzip compressed by design (in contrast to HTTP, the headers are compressed too). Moreover, servers may hint or even push content instead of…

naked nimba girl

this page's content is removed due to possible incompatibilities with Google's AdSense. For the content, goto http://xahlee.org/Periodic_dosage_dir/naked_nimba_girl.html

Emacs Lisp: Using thing-at-point

Perm url with updates: http://xahlee.org/emacs/elisp_thing-at-point.htmlEmacs Lisp: Using thing-at-pointXah Lee, 2011-02-16, 2011-03-01This page shows you how to use emacs lisp's thing-at-point function, and discuss some of its problems, and with a suggested solution.Purposes of Elisp CodeIn coding emacs lisp, there are 2 major types of purpose.① Writing major/minor modes. (language modes, dired, bookmark, org-mode, irc, ftp, shell, etc.)② Text Processing.For text processing, i also see 2 major categories:① Interactive commands.② Batch style scripts. (similar to typical Perl & Python scripts and sys admin jobs.)Many emacs commands that are used every few minutes are for interactive text processing. Examples: “comment-dwim”, “fill-paragraph”, “query-replace”, “kill-rectangle”, “sort-lines”, “reverse-region”, “list-matching-lines”, “delete-trailing-whitespace”, “indent-region”, “just-one-space”, “delete-blank-lines”, “downcase-region”, “find-file-at-point” ….Writing interactive comm…

what info your browser sends out?

Today, your browser sends all sort of information. Even if you turn cookies off, or flash cookies off, you can still be identified. For example, your browser send out what font you have installed, your screen dimension, what plugins you have. Wanna know what sort of info it sends? See: https://panopticlick.eff.org/index.php.Cookies, Super Cookies, & Your PrivacyWebsite And Domain Lookup Tools

4chan — Internet Culture

this page's content is removed due to possible incompatibilities with Google's AdSense. For the content, goto http://xahlee.org/funny/4chan.html

Problems of Symbol Congestion in Computer Languages (ASCII Jam; Unicode; Fortress)

Perm url with updates: http://xahlee.org/comp/comp_lang_unicode.htmlProblems of Symbol Congestion in Computer Languages (ASCII Jam; Unicode; Fortress)Xah Lee, 2011-02-05, 2011-02-15Vast majority of computer languages use ASCII as its character set. This means, it jams multitude of operators into about 20 symbols. Often, a symbol has multiple meanings depending on contex. Also, a sequence of chars are used as a single symbol as a workaround for lack of symbols. Even for languages that use Unicode as its char set (e.g. Java, XML), often still use the ~20 ASCII symbols for all its operators. The only exceptions i know of are Mathematica, Fortress, APL. This page gives some examples of problems created by symbol congestion.Symbol Congestion WorkaroundsMultiple Meanings of a SymbolHere are some common examples of a symbol that has multiple meanings depending on context:In Java, [ ] is a delimiter for array, also a delimiter for getting a element of array, also as part of the syntax for dec…

XahLee.org updates

misc updatesWikileaks, Bank of America, Anonymous, US Government, Espionage (politics; news; video; commentary)Some funny 4chan Picts

What's a Year? Why Not Just 100 Days?

Image
Perm url with updates: http://xahlee.org/math/how_long_is_one_year.htmlWhat's a Year? Why Not Just 100 Days?Xah Lee, 2011-02-14How long is a year? What makes a season? What's Equinox? What's “Tropic of Cancer” and “Tropic of Capricorn” you see on maps such as Google Earth. Why is there so many different calendars from so many old civilizations? For example, you hear about Chinese year, Gregorian calendar, Hebrew calendar, islamic calendar. They all disagree with each other, seems annoying. Can't we just have days starting from 1 and define a year by 100 days? That would make life much simpler.These are age old questions. The seasons, is the most important thing that started science and mathematics, since ancient civilizations. Why is it important? Because, successful crop raising depends on knowing the seasons well. Without which, you have hunger.And, to know the seasons, means knowing the pattern of when the weather will be cold, hot, snow, rain. Because, the plants…

google search going down the drain

misc updates from my web dev blog.2011-02-14 Google's search is going down the drain. Α new article from N Y Times describes a big incidence of SEO gaming involving J C Penney. Detail, examples, summary at: Google Search Problems & Alternative Search Engines.2011-02-12 Funny! Microsoft Bing Ads2011-02-12 Steven Levy, who writes books about Apple, now came out a book of GoogleIn The Plex: How Google Thinks, Works, and Shapes Our Lives (2011) By Steven Levy. amazon

Lady Gaga, Beyonce, US Flag Dress

Image
Singers Lady Gaga and Beyonce, in Gaga's music video “Telephone” (2010). See: Banners & Damsels & Mores

ErgoEmacs v1.9.2 for Windows Released

ErgoEmacs version 1.9.2 binary for Windows is out. Download at ErgoEmacs 1.9.2 Setup.exe.ErgoEmacs 1.9.x release notesThanks to David Capello for the build.

How to make youtube video play repeatedly

Perm url with updates: http://xahlee.org/mswin/youtube_video_repeat_play.htmlHow to Make YouTube Play a Video RepeatedlyXah Lee, 2011-02-13, 2011-03-04How to make youtube video play repeatedly?If you use youtube to listen to music a lot, sometimes you want to listen to just one song repeatedly. Here's how.The easiest way is just to click the “Add to” button. The button is right below the video. That will add the video to a queue, shown at the bottom of window. Then, at the bottom, click on the video to play it there. And there's a repeat button on the right.Alternative MethodFollowing is a altenative way, but does not always work.Suppose the url is this: http://www.youtube.com/watch?v=xxxxxxxxxxx After the v=, there should be 11 random characters, that's the video's ID. Anything after that you can ignore.Then, change the url to this: http://www.youtube.com/v/xxxxxxxxxxx&loop=1 That's it. How to Delete Flash CookiesRestore Last Session in Safari, Firefox, ChromeH…