Posts

Showing posts from June 10, 2012

编辑部的故事, 人工智能人

Image
Perm URL with updates: http://xahlee.org/Periodic_dosage_dir/stories_from_the_editorial_board_smart_robot.htmlA fantastic TV show from China: 〈Stories from the Editorial Board〉, 1991.Here's a wonderful episode, titled 〈Smart Robot〉. (Chinese only. No English subtitle.)编辑部的故事 EPISODE 22 PART 1编辑部的故事 EPISODE 22 PART 2编辑部的故事 EPISODE 22 PART 3编辑部的故事 EPISODE 22 PART 4编辑部的故事 EPISODE 22 PART 5More info about this show can be found at http://baike.baidu.com/view/287556.htm and 编辑部的故事. Quote:1991年上映的25集电视连续剧《编辑部的故事》,导演赵宝刚。该剧描写一个叫《人间指南》的杂志编辑部里,6个性格各异却都善解人意、乐于助人的编辑之间的交流与碰撞,描写他们与社会发生联系后产生的形形色色的人生故事。这是我国第一部电视系列喜剧,剧中的调侃、幽默、讽刺、戏谑,开电视系列片之先河,它的出现,拓展了我国电视剧的美学品格。

Nation-state sponsored: Flame Malware

Wow, Flame (malware).• Most advanced malware to date.• Likely nation-state sponsored.• Create fake but valid certificates.• hijacks Microsoft update.• User level program can't even see it.• Can record audio, screenshots, keyboard activity and network traffic.[6] The program also records Skype conversations and can turn infected computers into Bluetooth beacons which attempt to download contact information from nearby Bluetooth-enabled devices.• Remotely controlled. Including a command to self-destruct.• Target seems to be Iran.Who wrote it? We did! (suspects: one of {Israel, USA, China}.)

Human Walking Speed, Power Walk, Racewalking

Image
Perm URL with updates: http://xahlee.org/Periodic_dosage_dir/racewalking.htmlRacewalking ≈ Sissy-walkRussia's Olga Kaniskina won the women's 20-kilometer walkRacewalking is different from power walk.Power Walk is walking fast, with the criterion that at least one foot must be in contact with the ground. A very good exercise, alternative to jogging.Racewalking has additional rule: when leg contact the ground, the knee must be straight. (i.e. you can't crouch walk like ninja)so, i guess this developed this sissy-like hip swinging form. It's somewhat unnatural. Can't see how it became a olympic sport.average human walking speed = 5 km/h ≈ 1.39 m/s.average person walk very fast = 7 km/h to 9 km/h.pro level racewalk 20km = 14 km/h.2011 Australian Race Walk Champs, CanberraIs Barefoot Running Healthier?

emacs 24: {beginning-of-defun, end-of-defun} in {C, C++} modes

Image
Perm URL with updates: http://xahlee.org/emacs/emacs24_features.htmlThere's some changes on how the cursor moves when you call {beginning-of-defun 【Ctrl+Alt+Home】, end-of-defun 【Ctrl+Alt+End】} in {C,C++} modes in emacs.Now, it move the cursor just one level up of a nested block. Before, it moves several levels up to actual function/class definition, out of several nested blocks of code if necessary.Here's a sample C++ template code you can test on.namespacemy_namespace { voidfunc1() { } voidfunc2() { } classMyClass { public: MyClass() { } voidmethod1() { } voidmethod2() { } }; } Here's a video showing the difference. (Thanks a lot to David Capello.)〈C++ navigation in Emacs 23.4 vs Emacs 24.1〉, by David Capello

Emacs: to Mouse or Not to Mouse?

Bill Meahan, a veteran of emacs users and veteran programer back to 1960s, in a comment said he usually don't mouse in emacs. That is true for me too. Come to think of it, to be honest i do use mouse when i want to adjust the different window or frame sizes (I do this perhaps once a day). I think i also use mouse to scroll sometimes (probably hourly). Another instance where sometimes i use mouse is when browsing info doc for long session.Emacs culture usually sticks to keyboard only. Though, i remember one time i was surprised reading on gnu.emacs.help where i think a experienced emacs user uses mouse for text selection. I think this might be more common before emacs 23 had move by visual line.There's not much data about how average emacs users (who may never read emacs online forums) may or may not use mouse. So, i'd like to ask this to you all.Do you use mouse in emacs? for what operation?Comment at my blogger http://xahlee.blogspot.com/2012/06/emacs-to-mouse-or-not-to-m…

Sci-fi, Orgasm Machine, Pure Pain Machine, and Human Suffering

Image
Perm URL with updates: http://xahlee.org/Periodic_dosage_dir/human_suffering.htmlThere is a agent, in scifi, that causes orgasm, non-stop, at will, at girls you want. Wonderful. But am thinking, perhaps in a similar train, that there be a agent that causes pure pang for human suffering.No, not pain. Pain, as in torture, is of course popular. Human animals is of no lack of imagination of causing extreme pain to other human animals. There are plenty pure pain machine in scifi. But am talking about a emotional pain, a pain for human suffering. Like, for example, when you are not in the mood and saw a girl being violently raped to death, or such. But if you have the feel of this, then imagine the general suffering of humanity. The poverty, the hunger, atrocities, little wanting, desires, the little kindness, gratitude, even a little innocent smile …it seems am afflicted with such a neurotic disorder. So, am thinking, on scifi train, of such a pure agent that could cause this at will. So, …

emacs regex affair

Image
spent good part of the past 2 days on this.emacs regex affairSee also: Your Regex Brain.

Space Groups, Math and Chicks

got a chick from Moscow State University asking me about implementing Space group in Mathematica. Life's been worth living.Geometry: Plane Tiling Mathematica PackageThe Discontinuous Groups of Rotation and Translation in the PlaneGeometric Tilings and Patterns Image GalleryAnna, yes, you.… haven't worked on this since 1998. I did 2D version. The 3D version would be much spectacular, especially with today's computing technologies (e.g. dynamic rotation in web browser). Also, going into higher dimension (e.g. 4th) would be a wonderful exercise in writing combinatorics programs or exploration into proof systems. Dimension 7 or higher hasn't been solved yet. Fame awaits!Geometry: Requirements for a Visualization System for 2020Algorithmic Mathematical Art ₁

emacs 24 is out

Emacs 24 is out. https://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00164.htmlSee also: New Features in Emacs 24. I'll add a new item there every few days.

music: Bronski Beat - Smalltown Boy

Image
Perm URL with updates: http://xahlee.org/music/smalltown_boy.htmlGreat song, lousy music video. Bronski Beat - Smalltown Boy, 1984.Bronski Beat - Smalltown Boy. amazon Title: Smalltown Boy Music, Lyrics: James Somerville; Lawrence Cole; Steve Bronski You leave in the morning with everything you own In a little black case Alone on a platform, the wind and the rain On a sad and lonely face Mother will never understand Why you had to leave For the answers you seek will never be found at home The love that you need will never be found at home Run away, turn away, run away, turn away, run away Run away, turn away, run away, turn away, run away Pushed around and kicked around, always a lonely boy You were the one that they'd talk about around town As they put you down And as hard as they would try, they'd hurt to make you cry But you'd never cry to them, just to your soul No, you'd never cry to them, just to your soul Run away, turn away, run away, turn away, run away …