What does it take to write an emulator in Java?

I am proud, This weekend I did some productive work. I was able to code Chip 8 emulator in Java over a night 😉 I have always been fascinated by them and finally I was able to get the damn thing to work! For those of you who are not familiar with software emulator, It is a software which can emulate the functionality of other hardware or software components. Notable examples are video game emulators(Dosbox/NES Emulator), general purpose software emulators(QEmu)

Read on →

The rationale behind Java Lambda/Closures

courtesy of blog.takipi.com

In this article I would like to talk about the design choices behind Java’s most awaited language feature Lambdas/Closures. Its no secret that Java 8 now provides the support for lambda functions more precisely closures. But interestingly the implementation and usage of Java closures differs significantly compare to other modern programming languages. There is already a ton of information written on the this subject. So in particular, I would like to provide some thoughts on
Read on →

Git Talk

It is no surprise that Git took the world of source control management by storm since its inception in 2005. For people wondering about what I am talking here, Let me give some context first. Generally, Any reasonably sized source code project needs some sort of ‘change tracking software’ about all the changes/modifications made to it by its authors/programmers. This is where the concept of Source Control Management(SCM) comes in to picture. The idea is nothing new at all. Git is just one such SCM but with some radical ideas built from the grounds up. Ofcourse, These ideas sets it apart from its predecessors.
Read on →

How to get back classic start menu in Windows 8?

ClassicShellLogoWindows 8 onwards the classic start menu was replaced with Start Screen. Most of the functionality that was present in original start menu was missing in start screen and power users love to hate it. Fortunately ‘classic shell‘ from http://www.classicshell.net is an attempt to bring back the original classic start menu functionality to Windows 8+
Read on →

How to find the total number of lines in a text file using notepad?

These days most of us use much better text editors than Notepad. But yesterday I found a neat little trick to find the current line number and eventually the total number of lines in a text file using notepad from my colleague Nandan Prabhu. Generally when you press Ctrl+G notepad will pop up the Go to Line dialog. Inside this dialog is the (hidden) current line number information pre-filled by Notepad. So we can use this pre-filled info to find the total number of lines in the opened text file by going to the end of the file and pressing Ctrl+G ;). This may not be an earth shattering discovery! But may be useful if you don’t have access to any other tools other than Notepad.
Read on →