List methods from a source file

https://github.com/nafSadh/py/tree/master/ListMethods

Advertisements

Web Colors Chart

Colors are beautiful, albeit they are. And we need them a lot, everywhere - in web designing, in using Photoshop, in doing graphic art, vector drawing, in paintings, dresses and anywhere we like to sooth our eyes with, or even to puzzle our eyes. Indeed, colors have names, but in computer, we need to have … Continue reading Web Colors Chart

Google plus (vs) Facebook

Today I, and many of my friends and acquaintances, have started experiencing the new sensation on the web, Google's new SNS - Google+ which people have already started to abbreviate as G+. It was bit tricky starting up with G+, coz like all other projects they have started it with a limited access test phase. … Continue reading Google plus (vs) Facebook

HTML5, CSS3 — the lovely couple

  Long since the inception of the idea of making a Semantic friendly HTML and designer friendly CSS... Now, in the early summer 2011 we've seen a joint-force welcome initiative for HTML5 & CSS3 by all major browsers with the launch of Firefox 4, Chrome 11, Safari 5 and IE9 and the web world is … Continue reading HTML5, CSS3 — the lovely couple

Computer Science Brain Hammers

I’m writing here after pretty long while. Several times I felt like writing, but could not do it altogether. Life seems a bit busier. It is almost just a “get up from bed – go to job – drink movie – sleep” cycle. By the way, in a discussion with my colleagues I found myself … Continue reading Computer Science Brain Hammers

glut in MS Visual Studio 2010 (MSVS10)

One of my earlier blogs, OpenGL and glut in C++ with MS Visual Studio 2008 (MSVS9) described how to set up your Visual Studio and Computer to work with glut, as well as OpenGL. Now with the new edition, Microsoft Visual Studio 2010, as the version shifted from v6.0A to v7.0A, we need to change some … Continue reading glut in MS Visual Studio 2010 (MSVS10)

Never forget a return statement

Mathematics defines a function as something that returns something upon some input. For us, the programmers, it is not just so… what we call function, in C family of programming languages, is rather a procedure from our perspective.C like languages have a rule that, a function must have a return type, and many internal implementation … Continue reading Never forget a return statement

OpenGL, Tree as a fractal, trigonometric Approach

Our goal is to, Draw a tree using fractals with recursion Take user input for: Depth of tree/sub-trees Angle between leftmost and rightmost branch in same depth Fractals are useful way of approaching to infinity and for drawing some real life like objects where same pattern recurs. To do so, we are drawing single line … Continue reading OpenGL, Tree as a fractal, trigonometric Approach

List in Prolog

It is important for any programming tool to have some functionality of handling collections like array, list or something else. Prolog use lists for the very purpose and I must warn C/C++ programmers (or even Java, C# or any other C-like language fan) that lists are not arrays but similar to it. A list must … Continue reading List in Prolog

Prolog program to find GCDs and LCMs

The least common multiple (LCM) of two integers a, b is the smallest positive integer that is a multiple of both a and b. Despite of the fact, there exist several formulas to calculate the LCM of two integers, most popular formula, especially to the programmers, is by using GCD of the two: LCM(a, b) … Continue reading Prolog program to find GCDs and LCMs