UML to Code Generators

A long time ago I came across tools that generate code through UML diagrams. Using such tools, you design the software using a computing tool with drag and drop features. Once you are done with the visual design, you could generate the corresponding code using clicks of a few buttons. I was wondering what is the state of the art right now.

Read more

Manipulating Software Through Design Patterns

Basically, design patterns are templates that you apply to your software during the design time. When you convert your software to code, finally, design patterns convert into patches and wrappers to your software. Normally they hide behind themselves the intricate details of objects they are applied to. As a result, they provide an easy to use interface to the developer. The developer, in turn, can use them to grab the desired objects.

Read more

Illuminance vs Luminance

It is sometimes worthwhile to understand how various metrics related to the measurement of light intensity work. Two of them are illuminance and luminance. They can sound really mundane and fool the subject into believing that both are actually the same thing. However, they are not. As a matter of fact, they are quite different.

Read more

Figuring Out Functional Dependencies in Relations

A succinct definition of a functional dependency, such as X->Y, is that whenever X assumes a certain value (say x), and for that value of X (x), Y assumes a certain value y, then in every subsequent retrievals of X, whenever X assumes the value x, Y should assume the value y. Thats it! Functional dependency is no more than that. It is a very simple mathematical idea. It is the job of the subsequent normal forms to reduce the dependency of non-key attributes on non-key attributes.

Read more