Posts

Showing posts from January 17, 2010

Fabrice Bellard, Pi record

Fabrice Bellard, using a PC, Computed π to about 2.7 trillion places, claimed to be the latest world record. (previous records are made by super computers that costs millions.) He's home page is at http://bellard.org/, which details this among other things. A highly accomplished C programer. Probably the world's top 100 or even 10.What's personally interesting is that he also created a Emacs-like editor: http://bellard.org/qemacs/. His other accomplishments include: FFmpeg (for processing multimedia data (e.g. audion and video)), QEMU (cpu emulator).

so-called zen-coding

perm url with updates http://xahlee.org/js/zen-coding.html“Zen-Coding” and “Emacs-Buddha-Coding”Xah Lee, 2010-01-22Discovered what's called “zen-coding”. Basically, it is a scheme for inserting html templates in text editors. For example, type “div.beauty”, press a hotkey, then it expands to: <divclass="beauty"></div> “ul#ref>li*3” expands to: <ulid="ref"> <li></li> <li></li> <li></li> </ul> This template system improves html coding efficiency. It is a abbrev expansion or template system. (the latest tech geeking fashion term for this is “snippet”.) The abbreviation used to expand is based on CSS selectors. (CSS “selectors” is basically a syntax for css to match html/xml tags. For a intro, see: What's New in CSS2) The home page for this project that provides add-ons for several editors is at: http://code.google.com/p/zen-coding/. In particular, there's a emacs one at: http://www.emacswiki…

rabbit, hare, meat

perm url with updates: http://xahlee.org/Periodic_dosage_dir/rabbits_hare.htmlRabbits, Hare, MeatXah Lee, 2010-01-20Some reading notes on rabbits.I casually looked up wikip for Hare. I want to know, what's the diff between hare and rabit. Basically hare is larger, wild animal, can run extremely fast (72 km/h), lives above ground. Rabbits, are those dumb, cute ones, you see in people's homes. Here's a interesting quote:Normally a shy animal, the European Brown Hare changes its behaviour in spring, when hares can be seen in broad daylight chasing one another around meadows; this appears to be competition between males to attain dominance (and hence more access to breeding females). During this spring frenzy, hares can be seen "boxing"; one hare striking another with its paws (probably the origin of the term “mad as a March hare”). For a long time it had been thought that this was inter-male competition, but closer observation has revealed that it is usually a femal…