divine rhyme
April 8th, 2012 § Leave a Comment
extraordinary dance of colours, elevating orchestral traditional music, full bodied ecstatic content and a total harmonious feast of senses. as if there is no gravity to bound to the ground and there is no bone to limit the movements, the performers were dancing so smooth and gracefully that could mesmerize any living beings. exquisite costumes extended and complemented the flow of bodies.
the name shen yun means divine rhyme and according to ben freed it can be translated as the beauty of divine beings dancing, which relates to what you were witnessing during the show. shen yun dance performances were choreographed based on the 5000 years of chinese civilization, and were carried out chronologically.
founded in 2006 in new york, shen yun is associated with falun gong spiritual practice and throughout the performance there were a lot of hints of falun dafa practitioners being abused by the chinese communist government.
there were also solo music performances by chinese tenors and sopranos.
the show was a complete spectacle and is strongly recommended.
status update
February 12th, 2012 § Leave a Comment
it’s been such a long time that i haven’t updated this blog, i have a few books open, and i can’t seem to finish any of them. “the plague” by albert camus, “wind, sand and stars” by antoine de saint exupery, “the nag hammadi scriptures”, “the power of now” by eckhart tolle and my favourite which i don’t want to finish it ever “the red book” by carl jung.
i have also seen a few good movies: david fincher’s “the girl with the dragon tattoo“, “garbage warrior” by oliver hodge, “samurai x: trust and betrayal” by kazuhiro furuhashi, and “australia” by baz luhrmann, and of course a few not so great ones.
This slideshow requires JavaScript.
trim your ssd
September 16th, 2011 § 1 Comment
if you are building a system that uses solid state drive (ssd) which is a must if you are making industrial equipment that needs storage, make sure the operating system you use supports trimming. now that the solid state drives are widely used because of their price being comparable to the traditional drives’, operating system companies are adding the trim command support to their oses.
the trim command is introduced due to the difference in writing and over-writing performances on the solid state drives as opposed to the traditional moving parts drives that treat over-write as a write function. mlc nand flash based ssd’s (the common ssd drives in the market) smallest unit of storage is called a page which is 4kb. 128 pages comprise a block which is the ssd’s smallest erasable unit. this means that even though you are removing a small file, the whole block will not be erased if there are used pages in that block. the traditional way of removing files in oses is just by marking the page as not-in-use in os side, so the drive will not have any idea which pages are in use and which ones are not. these two facts will result in the drive not be able to wipe the blocks that are completely not-in-use. for example when you want to modify a small file on an ssd, the file will be marked not-in-use in os (traditional delete process) and then it will be written on a different block because the drive doesn’t know the current block can be wiped. this process is fine until the drive gets to a point that it goes out of empty blocks and needs to write to the already marked-as-delete pages. now the whole block has to be read into the memory then be erased from the ssd, the new data has to be inserted into the block and the block to be written to the disk again. this extra overhead is what kills the performance of the drives over long term.
trim is a command that lets the drive know which blocks are not in use and ready for garbage collection, this way the erase can be done when you delete a file rather than when you want to write on that block which result in avoiding the extra overhead.
linux started supporting the trim from version 2.6.33 onward, and windows with server 2008 server r2. for a complete list of the supporting oses see the wiki like here.
to add the support on linux you also need ext4 file system, for how to add trim support on linux please see this link.
inventing a story or telling lies?
September 5th, 2011 § Leave a Comment
i finished the life of pi by yann martel a month ago, every time i decided to write something about it, i got stuck in the ‘so, what was it really about?’ state and procrastinate. i still don’t know how to interpret the book but i try writing something anyway.
i believe you can read the book hundred times and each time get a new idea. however, the book is very hard to read even twice because of its lengthy descriptive passages and in my opinion unrelated stuffs such as list of survival tips on a lifeboat, detailed zoological references, etc. (to be honest, i skipped a few of these overly emphasized paragraphs here and there) although i think those were there to fill the scientific portion of the book in order to show balance between its scientific and spiritual perspectives.
anyways, the book is about an indian boy who is interested in the core of most religions, god, and tries different paths of different religions to approach it. he is a son of a zoo keeper and has a lot of zoological hands-on experiences. past the few introductory first chapters, the story takes its major turn when he and his family emigrate to canada with a japanese ship. the ship sank and the boy is allegedly the sole survivor of the incident when he reaches to mexico after more than 200 days in a lifeboat with a tiger!
throughout this seem-to-be-simple story of survival, the reader goes through a lot of happenings. the story is told in first person form, by an adult person who is telling his life story using his childhood memories, which are now mixed with his adulthood believes (confusing, isn’t it?). underneath the simple story is a vast ocean of ideological, philosophical, spiritual and psychological hints that come in riddle form and need a puzzle solving mind to unravel them. reality and imaginations are so intertwined that the reader has to decide one by one as to which is which.
the best part of the book in my opinion is towards the end of the book, in the later chapters when pi is explaining his story to japanese maritime minister. the reader is in for a surprise, a huge turn that makes you question your whole understanding of the book, makes you review or even read the book again, just to be at peace with your mind. it has a deep philosophical essence which i relate it to hermeneutics. something very close to “big fish” or “the fall” movies, as the writer says, it’s all about how you like to hear a story with animals better than one without. the dilemma of believing your past days being your best days or feeling bad about every minute of your life. positive versus negative perspective. you want to call it lying, you want to call it inventing, the writer’s idea is:
isn’t telling about something – using words – already something of an invention?
how to convert ext3 to ext4 on debian
September 4th, 2011 § 1 Comment
recently i wanted to migrate from ext3 to ext4 file system without losing any data on the hard drive, in order to use the new trim functionality that is available on linux 2.6.33 and later. i searched the internet and there were a few links, however they were not complete or they were for different distros. i tried a few of them and ended up with not-bootable linux and lots of issues. finally i found how to do this by trial and error and thought to write a short tutorial on how to do it.
the first thing needs to be done is to enable the extra options on the ext3 file system by running the following command:
tune2fs -O extents,uninit_bg,dir_index [hard drive mount point]
in my case the mount point is /dev/sda1
then you have to run the file system check utility to re-adjust the file system to your new parameters (don’t worry about the errors, they are expected)
fsck -f -y [hard drive mount point]
after the file system parameters are adjusted you need to let the kernel know that you want to run ext4 file system. this is done through the grub boot loader. add the following kernel option to your kernel line in grub’s menu.lst file.
rootfstype=ext4
for example, your menu.lst section will be something like,
title Debian GNU/Linux, kernel 3.0.1-rt11
root (hd0,0)
kernel /boot/vmlinuz-3.0.1-rt11 root=/dev/sda1 ro quiet rootfstype=ext4
initrd /boot/initrd.img-3.0.1-rt11
then you need to edit /etc/fstab file and change the drive fs type to ext4, for example if the original line is
/dev/sda1 / ext3 rw,noatime,errors=remount-ro 0 1
you need to modify it to,
/dev/sda1 / ext4 discard,rw,noatime,errors=remount-ro,commit=0 0 1
discard option is added to use the new trim functionality for ssd drives. i will discuss this in another post.
now you can reboot and your system will boot up using your new ext4 file system. remember this is a must if you are going to use ssd drives on your system.
also note that grub doesn’t read ext4 file systems, you need to upgrade to grub2 for you boot loader to work. the upgrade to grub2 is very easy and harmless. here’s a good link on grub2
a postmodern novel
May 24th, 2011 § 3 Comments
“kafka on the shore” by haruki murakami is definitely one of the most destructivist novels i have ever read. almost nothing is by the book. people appear and disappear in the story without serving any purposes, too many loose ends left to the readers imaginations, the main characters are undeveloped and at the same time a side character is over-developed. surreal events like raining fish and leeches, random characters like kfc’s colonel sanders and johnnie walker play important roles even though their job is pimping and cat killing, and so many other unconventional adventures.
characters cannot escape their fate despite their best efforts, and at the same time they are contented and even happy to surrender to their destiny, as if stoicism is ruling the world. nothing is defined as a rigid rule, there is no right and wrong, there is no predefined relationships, no taboos, no sacred objects, everything shapes as the story progresses and as colonel sanders explains:
every object is in flux. the earth, time, concepts, love, life, faith, justice, evil – they’re all fluid and in transition. they don’t stay in one form or in one place forever.
all in all the story is very fun, full of surprises, full of metaphors, and of course strongly recommended.
nova perhaps a dream
April 18th, 2011 § Leave a Comment
watch the movie, submerge in the music, and metamorphose into your next stage…




