Git

Git: Part 1 - An introduction

Background When I joined the small company that I currently work for, I was suprised at how little some of my coworkers knew about Git. The fact is, there was no reason to be suprised. I had taken my exposure with Git for granted due to the fact that I had been using it for a couple of years before I joined the firm. So as a good citizen, I prepared a little workshop to help others learn. ...

October 3, 2020 · 4 min · 698 words · eakangk

Moving a blog to Wordpress

“01119 (304) 08-09-2009 Curley Cattle Transport - Mack Prime Mover 02-CCT + 3 trailers for cartage of cattle in a yard in Burke Development Road, Normanton, Queensland, Australia.” by express000 is licensed under CC BY-NC-SA 2.0 When starting this blog, I really hadn’t done enough research onto which platform to start blogging. I previously used to post some of my daily work problems on blogger. It was alright. But I hadn’t really written many interesting posts apart from posting some problems and solutions. Hopefully importing all those posts into this domain, will not only give them some visibility but also give my blog some content. ...

September 28, 2020 · 2 min · 251 words · eakangk
Invisible Lego

Software and invisibility

“The Invisible Man.” by Chaotic Good01 is licensed with CC BY-NC-SA 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/2.0/ Keeping people informed Early in my career, I thought writing software is all about the outcome. Delivering something that works. I thought it didn’t matter how it was done. At the end of the sprint if you didn’t have a deliverable, it was a problem. This was true in companies which adopt a waterfall model of development. ...

September 16, 2020 · 3 min · 568 words · eakangk

Software design - Why?

The problem A lot of software engineers get into the industry and often end up starting to write code soon after they read the requirements’ specification. Sounds familiar? You might have done it too. Hard to admit? Can be. We are humans, after all. Jumping right into the coding process might be a great idea for a simple coding challenge, where the objective is to solve a problem in as little time as possible, with potentially very few lines of code. You just have that very specific goal. You don’t have worry about future enhancements for that solution, nor do you have to think about maintainability of that solution. Once solved, the code might have to run through a set of tests and pass the criteria of the question. Fantastic! And you might even get selected for the next round of interviews! Great! So why think about design when you start working on a real solution? ...

June 27, 2020 · 6 min · 1126 words · eakangk

LINQ - watchout for slow queries

LINQ or Language Integrated Query is great for application developers to develop applications that interact with databases. But remember it is a tool and like every tool, you have to use it wisely to achieve the best results. I currently maintain a web based application that is meant to allow job scheduling, and provide users a way to interact with the jobs that are currently running too. Some of the features include, stop the job that is running, skip one among the several jobs, restart the job, resume from a particular section in the job etc. It is a very rich web application. And we have used LINQ almost entirely for all the interactions between the database layer and the application. ...

February 14, 2016 · 4 min · 685 words

Password free SSH login to Server using Putty

Hey folks, So I’ve seen a lot of people open putty and then select their host and finally enter a user name and password. I don’t do that. I don’t want to either. Why would I? I’m a computer scientist/programmer/whatever. I should not do repetitive tasks. I should automate it. Password free SSH login is just that: Automation. How do you do it? This isn’t rocket science. Let us start with what SSH is Secure Shell. OMG! That didn’t help. It is a protocol that helps you to connect to remote machines securely over unsecured networks. Over use of secure you might say. You generally need an SSH server and an SSH client for this purpose. Generally most of your enterprise linux hosts would be configured to allow your personal workstation to connect to it using an SSH client like Putty. There are several different versions of this protocol too. But I’m not a networking protocol geek. So enough said. Let us go right into what you have to do to setup your computer to log in. ...

February 13, 2016 · 4 min · 683 words

Getting to know LINQ

LINQ stands for Language Integrated Query Language. It was a feature introduced along with Visual Studio 2008 that extends the querying capabilities of C# for any sort of data source. Generally LINQ is used to query data sources like SQL Server Databases and XML files. I use it to query databases. I’m not going to explain everything about LINQ here. I’m going to just talk about some very basic details. ...

July 27, 2014 · 3 min · 555 words

Refactoring - Code written by others

As you might have noticed from my recent posts, I’ve just recently jumped from one platform to another. And my current project is a bit of a legacy thing. A lot of people worked on it previously and those who did weren’t necessarily experts in the technology that they used when they initially developed it. They did a lot of hacky things, to get things going. But such hacks are good for getting a product moving, but not really good for maintaining them. And now that I’m having to implement changes to them, I realized how hard they have made this for me. ...

April 21, 2014 · 3 min · 472 words

Perl Catalyst - VBox Network Configuration on Ubuntu

In my previous post regarding PerlCatalyst tutorial setup I mentioned about setting up a virtual machine inside a virtual machine. I didn’t provide you with much information regarding how I did it because all the tutorials related to that is already available online. Pasting the links below: Catalyst::Manual::Tutorial::01_Intro But I had a serious problem with my virtual box inside a virtual box. Not so serious actually, just that it stopped me from proceeding ahead because of my ignorance of network configuration. The tutorial says that after downloading the virtual machine for the tutorial and setting it up as mentioned in the website, I could start using it as a server and log into it using ssh from my host computer. But for some reason the VM (virtual machine) provided by Catalyst just had a loopback network configuration. It wouldn’t show me a proper ip address to which I could connect to. And hence I had no way of connecting to this new tutorial virtual machine that I started from within an Ubuntu Virtual machine. I played around with the network configuration of VBox for a couple of hours trying out the different settings provided: ...

February 9, 2014 · 6 min · 1112 words

Perl Catalyst Tutorial needs us to download a virtual machine

I was trying to explore more about how and where Perl is used on the web. I figured out that there are a lot of web frameworks that are based on Perl. Catalyst seems to be a nice MVC framework that is really popular. I thought I’d take some time off to learn more about it. And I downloaded all the necessary packages and modules and then went on to check out the tutorial which is posted here: Catalyst Tutorial. I am already using Ubuntu on a virtual machine. My laptop came pre-loaded with Windows 8. And I’ve upgraded it to Windows 8.1. I always wanted to own a Linux laptop. But thinking about the lack of availability of games, I chose Windows over Linux. But I still can’t avoid using Linux as I always use it at work. Though recently I made a move to a windows based development team, which still has some code on non-windows based boxes. ...

February 9, 2014 · 2 min · 305 words