Protein music

February 2nd, 2015

from wiki

In Gödel, Escher, Bach, Douglas Hofstadter draws similarities and analogies between genes and music.[1] It even proposes that meaning is constructed in protein and in music.[2]

The ideas that supports the possibility of creating harmonic musics using this method are:

  • The repetition process governs both the musical composition and the DNA sequence construction.[3]
  • Pink noise (the correlation structure “1/f spectra”) have been found in both musical signals and DNA sequences.[4]
  • Models with duplication and mutation operations, such as the “expansion-modification model” are able to generate sequences with 1/f spectra.[5]
  • When DNA sequences are converted to music, it sounds musical.[6][7]
  • Human Genome Project has revealed similar genetic themes not only between species, but also between proteins.[8]

Musical renditions of DNA and proteins is not only a music composition method, but also a technique for studying genetic sequences. Music is a way of representing sequential relationships in a type of informational string to which the human ear is keenly attuned. The analytic and educational potential of using music to represent genetic patterns has been recognized from secondary school to university level

last weekend I wrote few scripts to convert protein sequence to some attractive sounds.

sound track: “human protein 1”




Play on YouTube


bioinformatics, music, software , ,

Linux: Recursively delete all files with a given extension

January 20th, 2015

please use find:

find . -type f -name '*.bak' -delete


Lightworks , Adobe After Effects: How to fix AVCHD sound problem

January 14th, 2015

Re-wrap MTS to MP4


1. Download FFMBC, unzip it and find the bin folder.

2. Copy and paste it on to your desktop and rename it FFMBC.

3. Place your MTS file in this FFMBC directory.

3A. NOTE: FFMBC requires the Xvid codec to be already installed on your PC. If you don’t,  please download and install it from here.


4. Use Windows command prompt to navigate to this directory and copy and paste this command:

ffmbc -i input.mts -vcodec copy -acodec aac -ab 512k -strict experimental output.mp4

Change “input.mts” in the above string to the file name of your MTS file and change “output.mp4” to the name of the file you want as your converted file.

Your MTS file will be re-wrapped to an mp4 file which will be created in the same FFMBC folder.

If you are not confident navigating with the Windows command prompt use this method:

This Video tutorial shows a method (outlined below) of using a command line string without having to navigate in Windows Command Prompt.

1. Create a new text file and copy and paste this command string into it:

ffmbc -i input.mts -vcodec copy -acodec aac -ab 256k -strict experimental output.mp4

2. Change “input.mts” in the above string to the file name of your MTS file and change “output.mp4” to the name of the file you want as your converted file.

In this example I have a file named tom.mts and I want the converted file to be named tom.mp4

The command string I would use would be:

ffmbc -i tom.mts -vcodec copy -acodec aac -ab 256k -strict experimental tom.mp4

3. Save the text file with the file name AVCHD_2_MP4.txt, close the file, and rename the file extension from .txt to .bat

4. Place the bat file in the FFMBC directory along with your MTS file. Double click on the bat file and the black command prompt window will appear showing the details of your file conversion. The newly converted file will appear in the same folder when it completes.




Re-wrap MTS to MOV

MTS files can be re-wrapped to a mov container. At the moment this has to be done in two stages:

1. re-wrap the MTS video stream to a mov file
2. transcode the ac3 audio stream to uncompressed wav file

Import the mov file and wav files into Lightworks separately.

To re-wrap the video stream to mov use:

ffmbc -i input.mts -vcodec copy -an

And to transcode from AC3 to wav use:

ffmbc -i input.mts -vn -acodec pcm_s16le output.wav

Batch script for converting from MTS to MP4

This is a script for re-wrapping a batch of files from MTS for mp4.

Put ffmbc exe file in C:\Program Files\ffmbc\ directory.

Brief instructions: be sure that you have set an absolute path to the exe file (i.e. not in the same directory as the mts, otherwise you will have to change it every other time..), then

1. copy and paste the following code in a text file
2. rename the .txt to .bat as you usually do
3. keep it somewhere: you won’t need to repeat 1 & 2
4. put the MTS file you want to re-wrap in an empty directory as you always do
5. make a copy and paste of the .bat and put it in the same directory as the MTS file.
6. Double click on the .bat to execute it.

expected results:
– all your mts in a mts\ subdirectory
– all yout mp4 in a mp4\ subdirectory

DO (
md mts
md mp4

for %%f IN (*.mts) DO (
"C:\Program Files\ffmbc\ffmbc.exe" -i %%f -vcodec copy -acodec aac -strict experimental -ab 512k %%~nf.mp4

DO (
move *.mp4 "mp4\"
move *.mts "mts\"




Video , , , , , ,


December 26th, 2014


apache logoPHP 5.4.27
php logoMYSQL 5.6.14
mysql logoFOR WINDOWS 8, 7, AND XP



Installing AMP (Apache/MySQL/PHP) on Windows is not a difficult task, however, it is not that straight forward, either.


After all the steps of this tutorial, we’ll be able to host our web site on our PC running Windows. We can display our php page by typing URL like into the browser. We are hosting our web site! We also will have access to MySQL database.


  1. Go to Apache Http Server 2.2.25
    Click Binary.
    Then, download -(MSI Installer): httpd-2.2.25-win32-x86-openssl-0.9.8y.msi


  1. PHP 5.4.27
    VC9 x86 Thread Safe (2014-Apr-03 06:32:22):
    We may also need Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) for this PHP and Apache combination.


  1. MySQL 5.1.50


  1. Run the Apache installer package, “httpd-2.2.25-win32-x86-no_ssl.msi”
  1. Click “Next”.apache installer
  1. In the “Server Information” dialog box, enter localhost (without the quotes) for the Network Domain as well as for the Server Name and whatever email address we wish for the “Administrator’s Email Address” field.
    The installer uses the information we enter to create a default Apache configuration file for us. We can always go back and manually change these values in our configuration file if we change our mind later.
    Leave the default setting of for All Users, on Port 80, as a Service as it is. Click “Next” when we’re done.Server Infomation
  1. When asked about the Setup Type, select “Typical” and click “Next”.Typical Setup
  1. In the Destination Folder dialog, allow the installer to install to the default folder. So, just click “Next”Destination Folder
  1. Finally click the “Install” button to allow the installer to set up Apache.Apache Install ButtonWhen it is done, click the “Finish” button.

Read more…

Apache, Perl, PHP, software , ,

Skype Login Screen messed up ? Fix Skype login screen problem.

October 31st, 2014

Skype Login screen is messed up and you can’t login to skype, fix skype login screen issue, Skype is one of best Business VOIP Solution but sometimes you are gets only text and images in messed up form on Skype login, you can fix skype login problem by changing the registry key value for the registry key which is responsible for visual alignment.


Steps To Fix Skype Login Screen Problem-

1. Go to Start and type “Run” and hit enter.

2. Now you will get Run window and type “regedit” in this box and hit OK.

3. you will get Registry Editor window, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.css

4.Select .css folder and double Click on Registry key “Content Type”, by default it has the value data as ” application/X-css”.

5. Change the value data to “text/css” and click on OK



skype ,

XBMC 12.1 – Now Even Better

April 11th, 2013


XBMC 12.1 - Now Even Better | XBMC

XBMC 12.1 with substantial fixes for 12.0 across all platforms.

Fixes include:

  • XBMC now supports using OSX’s default output device for audio as well as hardware decoding with Intel GPUs in OSX
  • XBMC no longer hogs audio for Linux and on resume audio will continue to work in Linux
  • Full iPhone 5 resolution is now enabled
  • Volume buttons on Android devices now control Android volume, rather than XBMC volume
  • Volume buttons on OSX devices once again control OSX volume, rather than XBMC volume
  • Player optimization on the Raspberry Pi, including more efficient playback, better subtitle support, and many crash fixes
  • iOS 6 support on the AppleTV 2.
  • XBMC does not crash when listed on the AppleTV top shelf
  • Added support for additional Xbox 360 controller types
  • Broader and more intelligent support for CEC devices
  • Fixed problems with several addons due to broken binary read/write in our python interface
  • Language fixes, including 7 new languages: Albanian, Burmese, Malay, Persian (Iran), Tamil (India), Uzbek, Vietnamese
  • AirPlay fixes, including making discovery of XBMC more reliable on OSX
  • Numerous crashing and stability fixes across all platforms

For all users interested in maximum stability, we highly recommend that you update from 12.0 to 12.1. This is the XBMC you were looking for.

via XBMC 12.1 – Now Even Better | XBMC.

TV , , , ,

The Most Popular Résumé in the World

March 7th, 2013

Philippe Dubost turned himself into an Amazon product page that got a million page views.

Aspiring job applicants are advised to sell themselves, but few have ever taken that to heart in the way that Philippe Dubost did a couple of months ago.

He took his résumé and turned it into a website that looked exactly like an Amazon product page. Under “product details” he listed the languages he speaks (English, French, and Spanish), his aptitudes, such as his programming skills, and the three degrees he has, including his master’s in management from Toulouse Business School and an MBA from the University of Dayton here in the U.S.

Under “shipping” he wrote, “This item is available for shipping anywhere in the world.” And for “average customer review,” he gave himself five stars and linked to a detailed listing of his past employment positions, just like a résumé would. There were some personal details: The “product dimensions” was his height, 186 centimeters, and he listed his best marathon time, 3 hours, 22 minutes. One touch I particularly liked was: “Only one left in stock—order soon.”

It was more than an idle exercise in creativity; the work he sought was as a Web product manager, so he was proving that he could sell anything on the Web—including himself. The idea, in other words, was to get the world’s attention, and it did: millions of page views, tens of thousands of Facebook “likes,” a feature story on, the Huffington Post, Time magazine, Slate, and all over the world, including Batangas Today, in the Philippines.

I thought we’d hear from the man himself—how he did it, how it’s working out, and what advice he has for the rest of us.


Convert DivX to XviD

January 16th, 2013

The  SONY Bravia TVs with Internet TV like Sony BRAVIA 55″ 1080p 120Hz LED Smart TV (KDL55EX645) don’t play movies encoded with DivX codecs.

But you have a chance to play your home movies coded with DivX codec with Bravia  if you convert it from DivX to XviD . For that you can  use DivX2XviD application (for Windows) and change your movies from unsupported DivX  to supported  XviD.

The DivX2XviD application allows you to change the FourCC code in an AVI file from DivX to XviD. The FourCC code is the identification key used by the AVI format to inform itself of which decoder to use for the AVI file playback.

Download Divx2XviD (for Windows)



DivX2Xvid screen shot

DivX to XviD, Sony Bravia , , , ,

WD My Book Live 2 TB: How to Fix Dashboard Errors 3xxxx

January 16th, 2013

The original post is here

I have seen several requests for an easy to follow guide on how to Factory Restore a MyBookLive when the Dashboard is throwing errors and won’t let you do anything, so here it is

1) In a web-browser go to http://mybooklive/UI/ssh and you should see the following. Tick SSH Access Enable


2) If you are a Windows user, download PuTTY from
2a) If you are using a MAC, open Terminal and type ssh root@mybooklive.local and then hit enter and when asked,

enter welc0me for the password (Continue on to step 5)

3) Open PuTTY and enter mybooklive in the Host Name (or IP address) box and click Open


4) Now we need to enter the login information
type root for the username and hit enter
type welc0me for the password and hit enter
(The password text won’t show up in the PuTTY window)

Read more…

computers, HDD starage , ,

Data Visualization: Modern Approaches

December 26th, 2012

usData presentation can be beautiful, elegant and descriptive. There is a variety of conventional ways to visualize data – tables, histograms, pie charts and bar graphs are being used every day, in every project and on every possible occasion. However, to convey a message to your readers effectively, sometimes you need more than just a simple pie chart of your results. In fact, there are much better, profound, creative and absolutely fascinating ways to visualize data. Many of them might become ubiquitous in the next few years.

So what can we expect? Which innovative ideas are already being used? And what are the most creative approaches to present data in ways we’ve never thought before?


Let’s take a look at the most interesting modern approaches to data visualization as well as related articles, resources and tools.

1. Mindmaps

Trendmap 20071


 Informationarchitects.jp2 presents the 200 most successful websites on the web, ordered by category, proximity, success, popularity and perspective in a mindmap. Apparently, web-sites are connected as they’ve never been before. Quite comprehnsive.

2. Displaying News

Newsmap3 is an application that visually reflects the constantly changing landscape of the Google News news aggregator. The size of data blocks is defined by their popularity at the moment.


 Voyage4 is an RSS-feader which displays the latest news in the “gravity area”. News can be zoomed in and out. The navigation is possible with a timeline.


 Digg BigSpy5 arranges popular stories at the top when people digg them. Bigger stories have more diggs.


  Read more…

visualizations , , , , ,