Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Wednesday, August 22, 2012

Matrixify 1.1

May Allah`s peace , mercy and blessing be upon you

Update : Matrixify now on Sublime Package Control.

Matrixify gets it's first update .. Oh Yeah !! :P , Seriously just a little update. I am new to Python and Sublime Text 2 plugins development but I used enough plugins to make me have the hunch that the method I'm using to read the format is not the genius one !!

I am lazy to look for solution so I asked on the ST2 forum and facelessuser answered : Sublime have an input form that prompt so it's a logical choice.

Another thing that come up is the indexes that I used for my arrays to output the matrix become much easier to calculate when the lines 0 is included.
output += separators[i%dim] + line + (lengths[(i%dim)] - len(line))*" "
if (i%dim) == dim-1:
    output += separators[dim] + "\n"

Thursday, August 16, 2012

Matrixify - a Sublime text 2 plugin

May Allah`s peace , mercy and blessing be upon you

Back to blogging ? No and yes , No because I never quit blogging and yes because I wasn't working on any exciting thing  that worths sharing. for the past months I spent time on Android development - just some basic stuff - , and reading some C++ books . I found C++ very interesting whatever what people said about how complex it is , it's expressive and efficient that's what matters !!

Back to our talk for today, I was trying to build a Gameboy emulator with C++ . I am new to the experience of emulation so I decided to read a source code to understand the architecture of the device.
There is a lot of open source emulators but I couldn't found a simple documented one , here comes Imran Nazar he tried to write an emulator using javascript, so I'am translating the code into C++.


Zoli Issam's blog proudly powered by Blogger | All rights reserved Jaw,B 2010-2013