i cant think A blog belong to Mohammad Azwan bin Ali. Most of his writings are about his real life story, ideas, thoughts, moderate political views, computer, programming, tips & tricks, particularly in Linux…. and of course it includes some random unspecified crappy stuffs too! Don't forget to check Movies and Junkyard pages out!

Posts Tagged ‘ruby’

straddling checkerboard with ruby

this week i sharpen my ruby saw with an excessive about straddling checkerboard encryption.
In cryptography, a straddling checkerboard is a device for converting an alphabetic  plaintext  into digits whilst simultaneously achieving fractionation (a simple form of information diffusion) and homophony (a simple method for suppressing peaks of the frequency distribution). It also is known as [...]

calculating phase of moon in ruby

this is one of programmingpraxis exercise. written it in ruby because i need to sharpen my ruby skill
the question is quite easy actually. there’s a lot more exciting and challenging excessive at programmingpraxis.com i will try during my free time. this can be some kind of new hobby i think…

def julian (year, month, day)

a [...]