Skip to main content

Popular posts from this blog

Converting Samsung S-Note .snb file to video : Solved ?

After my recent post ( http://electrokavalam.blogspot.in/2013/05/converting-samsung-s-note-snb-file-to.html ) about the difficulty in converting a Samsung S-Note .snb file to video I got some encouraging comments which made me realize that the problem is indeed relevant to some people at least. I am happy to announce the prototype solution that I have put together. This solution can convert the snb to a flash movie that can be easily viewed using a web browser with flash player installed. So, here are the steps: Step 1: Get the "drawingdata_1" file The (x,y,time) coordinates of the pen are available in text format within the .snb archive. Rename .snb to .zip and extract the archive. Navigate to <extracted-folder>\snote\media directory. You will find "drawingdata_1" file there. This is a simple text file (in XML format) that we are interested in. Step 2: Create flash movie using snb2swf From a command prompt run snb2swf.exe (which may be downloade...

matplotlib.pyplot - A great way to plot

http://matplotlib.org/users/pyplot_tutorial.html It can be confusing in the beginning - there is this pylab module which are used in the examples on the scipy site, then there is pyplot, pylab and matplotlib. As I understand, matplotlib is the main package and it has two modules - matplotlib.pylab, matplotlib.pyplot. The first one is designed for interactive use and the second one for batch/script use. In the light of my experience with matplotlib.pyplot, I have found it to be very similar to MATLAB in usage. Remember, the above are just plotting libraries. For manipulating vectors, matrices etc. it is the job of Numpy/Scipy

Learning assembly is easy

More than a year ago, in the fourth semester of my engineering studies I was formally introduced to the assembly level programming of the Intel 8086. However, to test my programs I got a special software package installed on my PC. The extra piece of software was justified as there was the need for an emulator - something that mimics the 8086 on anybody's computer. But the question remained ... when am I going to write an assembly program that I can directly run on my own processor and not on an emulator. Now, after a while and having rediscovered my interest for assembly I have finally figured out that it is extremely easy using gcc on my Linux terminal - Write the assembly code and save to a test file with the extension .s. Next on the terminal $ gcc test.s $ ./a.out Done !! Here is a wonderful tutorial http://linuxgazette.net/issue94/ramankutty.html