Deserializing Json to a Java Object using Google’s Gson library

Javascript object notations (Json) is fast becoming the de facto standard or format for transferring, sharing and passing around data. Be it on the web, REST Service, a remote procedure call or even an ajax request. Json is light weight with little memory footprint when compared to an xml. ... Read More...


How to enable .Net Framework 3.5 on Microsoft Windows Server 2012 R2

Recently, I had to put on my System Administrator cap for couple of hours. I was to set up two Dell PowerEdge 1720 server computers for use as Test Servers. The two servers were to run Microsoft Windows Server 2012 R2 and that .Net framework 3.5 must be enabled on the servers as it is one of the requirements needed by the enterprise application to be installed on the servers.... Read More...


Lambda Expression in Java SE 8

In Object Oriented programming languages, object is the first class citizen but reverse is the case in functional programming languages because functions are first class citizens in which they can be passed around as if they are variables this is seen in Haskell, javascript and other functional languges. Functional languages have other constructs that are not readily available in object oriented languages such as closure, lambda expressions and so on. ... Read More...


How To Add Search Capability To .Net Applications Using Lucene.net

One of the key factors in determining if a software application is usable is if the users can navigate around it easily, while at the same time finding relevant information and resources through the provision of a search functionality. While it is easy to integrate Google or Bing search libraries into software applications, at times it is necessary to use a library that provides an in-depth search capabilities while at the same time furnishing the developers with search analytics.... Read More...


Aspect Oriented Programming (AOP) In .Net Using C#

I recently had a chit-chat with some developers and during our discussion, I asked them whether they do Aspect Oriented Programming (AOP), I was surprised with their responses, some of them have not heard of the concept before while others have heard of it but without bothering to investigate it. I further asked them how they manage cross cutting concerns in their codes and they told me their various implementations, in which I drew my conclusion; they have been writing repetitive codes that would definitely stink and be hard to manage. ... Read More...


Uploading File with FineUploader Javascript Library in Asp.net MVC Application

Often at times in a web application, there is always need for providing feature for uploading files to the server from the browser of a user of an application, though asp.net webform provides a fileupload server control that can be used for uploading file, in asp.net MVC there is no Html helper for file upload, this can be achieved by adding the html attribute type=”file” to the Html.TextBox helper to provide the file upload feature. ... Read More...


Happy Birthday To Me !!!

Today is my birthday! I feel excited about it, my age has been incremented by one today (myAge=myAge+1), and looking at my life, career as a programmer and software developer and everything that concerns me, I cannot but just be grateful to God.... Read More...


Beautify Your Web Application with Twitter Bootstrap

Recently, I worked on a web application that would be used by teenagers and one of the requirements is for the user interface to beautiful. Prior to that time, I had fallen in love with the new twitter UI, the way the textboxes and buttons are usually styled. Thus, I thought it would be cool if the intended application’s interface elements or controls have twitter like look too. The result of my googling is twitter bootstrap framework.... Read More...


Using Entity Framework with Mysql without the Mysql Connector for .Net Installed

Using Object Relational Mapper ORM, at the data access layer can make enterprise software development to be fun, because it takes the developers mind of the logical schema of the data store and programming at the data access layer can be done using an object oriented approach. With Entity Framework and Language Integrated Query LINQ by Microsoft programming is worth doing.... Read More...


TDD made easy with ncrunch

A while ago I blogged about Test Driven Development, where I did some introduction to TDD. As a result of the blog post, I have received so many reactions from different people saying doing TDD is a waste of time, it doesnot worth it and a lot of comments. Someone even said "You write twice as much code to get the same job done, the overhead involved kills?". I strongly believe testing your codes as you write them is more important than fixing bugs after you have deployed the application. And TDD can be real fun when you have the right tools to assist you. I have used ncrunch, a visual studio ... Read More...


How to Select and format Portion of a Webpage Using Jsoup and Htmlcleaner in Android

Their are times when need may arise to display a portion of a webpage only and not the entire page using WebView in an android application, for example an application might just need to display the blog post portion of this page only and not the comments section. In this blog post I will explain how this could be achieved using the open source libraries jsoup and htmlcleaner.... Read More...


How to Build PHP 5.4 Applications with Visual Studio

Developing web applications with PHP is cool, especially when you have the right development tools and even with more features added in PHP 5.4. But each time I left the comfort of Intellisense in Visual Studio to develop PHP applications using Zend or Netbeans for PHP, I was not always satisfied with those IDEs' code complete features. Thus, I decided to search for any available plugin that will provide this feature in Visual Studio.... Read More...


File Sharing Application in C#

Sequel to my blog post on "A Client Server File Sharing Application in C#" I have received several emails asking for the application to be made a whole package instead of having it as separate client and server applications. In order not to continue sending the solution as email to people again, I have decided to make it a blog post and make the whole package available.... Read More...


Dont build the Software, let the Users do

Most software applications fail to meet the end users needs, simply because often at times the users are not carried along in the development process, once the developers get the requirements off they go and later come back with the software, which at the long run might not satisfy the users' needs.... Read More...


How to Make Yourself Relevant in Today‘s Information Technology World

A while ago, I was asked by the editor of Von Neumann Magazine, a computer science undergraduate yearly magazine from Lautech, to write a short article on How to Make Yourself Relevant in Today‘s Information Technology World. With the permission of the editor, I have decided to publish the article on this blog.... Read More...


Scheduling a Job using NCron library

NCron is a .Net scheduling framework, it is a .Net version of Cron - the time based job scheduler found on unix like operating systems or Cron4j - scheduling library for Java. Ncron is light weight and easy to use, with little learning curve. It comes with some cool advantages, being that you can use it in C#, Vb.net or any other .Net programming language. It takes your mind off the details of scheduling and you can focus on how to implement the business logic of your application. Details such as threading and timers have been taken care of. ... Read More...


Connect anything to any other thing using Mayhem

Mayhem is a scripting tool or application formerly developed by Microsoft, which has now been open sourced and donated to the Outercurve foundation. Mayhem is a program that helps you to connect anything which is an event to another thing which is the reaction. ... Read More...


Source Code Versioning with Git in Visual Studio

If there is something every developer ought to do often, it is Source Code Versioning, it is not something new and not rocket science. Be it a large scale software development or just in house development, versioning your code can be interesting and can save you a lot of headaches.... Read More...


Time Difference in Lua

In my post on Introduction to Lua Programming Language, I promised to always post some of my Lua codes, that may be useful. The code snippet below is meant to compute the time difference between a given time and the current system's time.... Read More...


Building Installation Packages with Windows Installer XML

WIX is a free open source toolset that is used to build Windows installation packages from XML source code, originally it was developed by Microsoft but its now being maintained by Rob Mensching. It is written in C# and WIX itself is much like a programming language, but nothing to worry about, because with the knowledge of xml, the problem is half solved.... Read More...


How to Become a Good Programmer

This question has been asked and answered more than a thousand time now, but I come across people who still ask me this same question, that I feel I should blog about it. There are lots of strings attached to becoming a good programmer, in this blog post I will discuss some salient points that have worked for programmer over the years and will surely help a newbie or neophyte programmer to become a good programmer.... Read More...


Globalization and Localization in ASP.Net web applications

Most websites on the internet today are designed and developed to support a single language and culture, but making a website or web application to support different languages and cultures is not difficult and is relatively easy to implement in ASP.Net. When a web application supports globalization, it means that the application can render it contents based on the language preference set by a user in his or her browser. Localization involves translating a web application into different languages and cultures.... Read More...


Test Driven Development (TDD) in C#

There is such a great buzz about Test Driven Development(TDD) also known as Test First Development(TFD) among the geeks and in the software industry that its being talked about in blog articles, conferences, code camps and so on and if as a developer you are not doing TDD you feel like you are doing something wrong and which in fact in the actual sense you are just writing legacy codes, shipping application full of bugs and doing everything wrong.... Read More...


Introduction to jQuery in ASP.net Applications

jQuery is a matured open source library that makes life easy when doing some client side programming or scripting. It simplifies the way javascript is written. It is light weight, fast and works on modern browsers, thus its widely accepted among the web developers and even Visual Studion 2010 and ASP.net 4.0 now comes with it. Its power lies in selecting, transversing and manipulating  DOM, animating and adding effects to elements in a page, handle control events, as well as implementing AJAX behaviour... Read More...


A Client Server File Sharing Application

This blog post is a client/server file sharing or transfer application in C#, the application is made up of two projects, it can be tested on a single computer but, its capability will be best seen if tested on two computers, one running as a client while the other is a server. Before we dive into coding, its essential to understand Socket which is the most important aspect of network programming.... Read More...


How to create shaped or irregular window in WPF

With windows presentation foundation, building a shaped or irregular window is relatively easy and can be done with minimal effort. In this post, I will take you through how you can build a window in WPF that has round edges, using Visual Studio 2010 and C#. ... Read More...


Update requires a valid UpdateCommand when passed DataRow collection with modified rows

This is one of those frustrating errors that one encounters when using Typed dataset and trying to update a table in the dataset that doesnot contain a primary key.... Read More...


How to Pass MCTS 070515 Certification Exam

Being certified is good, it a marker that indicates that you have a mastery of a technology, but it can never be substituted for on field experience. As a certified professional, coupled with your on field experience, you have an edge and advantage over others when it comes to looking for job. ... Read More...


My First Blog Post

This is my first blog post as a blogger, originally located at felatuns.blogspot.com. It was an assignment that was given to my class when we were in the third year in the university. It is a C++ console program that is to display a pyramid on the console window. The pyramid height is to be supplied as well as the character used in building the pyramid.... Read More...


Introduction to Lua Programming Language

At a point in time, I worked on an Interactive Voice Response(IVR) application using an IP PABX that uses Lua as one of it scripting languages. Since I had in one time or the other worked and used the other languages that can be used in writing scripts for the PABX, I decided to pick Lua programming language as my choice, for writing scripts to be executed by the IP PABX.... Read More...


Mixed Mode Assembly Error

I first encountered this error when I was building a small media player using WPF 4.0 and the embeddable open source database SQLite. I added a link to the System.Data.SQLite library which was built on a lower version of the .Net framework than the one which the current application is running on.... Read More...


How to build x264/libx264.dll in Windows

For someone coming from a windows background, where you do virtually everything, using GUI probably with Visual studio or an equivalent IDE, compiling a program from the command line can be a daunting task. This blog post will guide you through compiling and building the popular open source video encoding library on windows using the MinGW(Minimalist GNU on Windows). ... Read More...


Why good programming principles are not being taught in school

At times I do wonder why good programming principles like Dependecy injection, Dont repeat yourself(DRY) principle, clean code and other principles are not being taught in schools. ... Read More...






page