JUnit Resources

Students can have weird demands. They can ask you to teach them things that you’d never ever heard of before. This time I was asked by a crazy bunch to tell them something about JUnit. So I am gathering some resources here that you might find useful. By the way, JUnit is a Java framework that you can use to unit test your software, primarily written in Java. To this end, you can whether methods of a class or object work as they are supposed to according to the specifications. Here you go with the resources:

Read more

Easiest Thing in the World

I meet many people who are bewildered about their future plans. Due to lack of better ideas, they try to sneak into whatever work roles are available, and that can help them fetch some lucre. Although any work should be adopted as a profession, so long as it is legitimate. And so long as a job is legitimate and ethically respectable, it is fine to adopt it. But sometimes I meet well-educated people who are at the brink of giving up on their professions. The reasons for giving up are normally not always a lack of available jobs, or low salaries, personal incompetence. A common and weird reason is that the subject does not find hir (or her) profession thrilling. To my surprise, I have met a handful of people who want to quit computer science and take up something else. They find it too mundane and sometimes too demanding a profession that does not pay off so well at the end of the day too.

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