How to Use Your Favorite Diff Tool in Git

Imgur(photo grabbed from internet)

In a team that has more than 1 developer working on the same project, comparing source codes can be an everyday task. Often times,we need to know the difference between two version of files in a branch or on different branch. Git gave use a bare bones tool right for the job, the git diff. But as I have mentioned, its a bare bones approach. When dealing with lenghty files with multiple differences you will always prefer your go to diff tool e.g. winmerge, kdiff etc. Luckily, GiHub supports this scenario using git difftool.

In this post, we are configuring the git system to use KDiff as the diff tool. You can go ahead and use other tool if you want too.

What do we need?

  • Git , of course.
  • KDiff
Read more

How To Debug Jupyter Notebooks in Visual Studio Code

notebook debug session

Debugging your code is a common activity for developers. In my daily grind, most of my time is doing F10’s to a code and watch variables change value - the sad story of a software maintenance guy using Visual Studio. So when I began using Jupyter Notebook, one of my first question was - How do I step trough the code and debug this thing?. Most common reply I got was, “well, if your stuck with Jupyter, just use print”. For most basic tasks, yes. Simple print is all we need, but as you dive deeper into the world of creating complex programs using the notebook, you need more than print.

Read more

My Linux Backpack

my linux backpack(photo grabbed from internet)

I’m a MacOS guy for several years until my MBP died on me last year and haven’t got a replacement for it. However, my 8 to 5 job revolves around Windows. Recently, Win10 has been working great for me. But, I always wanted a development environment that is different from what I use every day at work, change of scenery of some sort. So for 3 to 4 months I was reviewing the different flavors of Linux has to offer. Ubuntu has always got a soft spot for me, I have been on and off the platform since 2006. However, the current interface has put me off. Either my system lags using it or I just need a more efficient OS. I’m not into games or the fancy graphics stuff anyway, I just need a reliable development machine. Eventually, I have decided to go with Xubuntu, an Ubuntu flavor utilizing a more resource friendly xfce interface. I never looked back since then.

Read more

Blog v2.0

new blog

Finally, I’m moving to this new blog after decades at blogspot. I don’t have any issues with blogspot, however, I think the time to update to a new platform is now and Jekyll seems to fit my requirements. Besides, using GitHub as my hosting site and Markdown as the main editing format is my best option right now. Between now and my last post on my old blog, there has been a lot of changes. I have been wanting to restart my blogging and possible vlogging this year, I just don’t have the time and topic to start with. The holidays and my previous trainings and experiences are an expected catalyst. So let me begin, again.

Read more