Mapping Enumeration of type int in NHibernate

By | August 19, 2008

I wanted to map an integer enumeration type in NHibernate, I googled “mapping enumeration in NHibernate” and the best explanation was of Jeremy Miller in his post here. But as it appears (and according to my understanding) that the enumeration type should be mapped to a database column of characters type (varchar, char,…etc). What if… Read More »

نعام

By | August 12, 2008

ذات يوم خلال الأسبوع الماضي، صدف أن استضافني صديق لي في منزله. جلسنا أمام التلفاز، ثم بدأت عملية القفز العشوائي التي اعتدناها – نحن كمجتمع – بين محطات اللاقط. و في خضم المتعة العشوائية، استوقفت مضيفي محطة معروفة، كان يعلو منها حينها صراخ و عويل. و بنظرة منهكة، توجه إلي صديقي و سألني: “هل تعرف ما… Read More »

How we decide what to have for lunch

By | August 2, 2008

Do you go through the same, time-consuming, frustrating discussion with your colleagues when you want to decide what to have for lunch? well…this is exactly what we have been going through where I work. To solve the problem (partially, because humans can never totally agree! ), I made a small, quick and dirty web application; LunchPoll.… Read More »

Are code comments important?

By | July 19, 2008

From the very first day I have heard about Agile development and I have been hearing things like “code comments are not such a good thing” The main idea behind that is that the code should be self explanatory; giving functions good names and splitting concerns into different functions. But what about the “why”; why… Read More »