Go Programming Language: An Introductory Tutorial

What’s the Go Programming Language?

Go is a recent language which sits neatly in the middle of the landscape, providing lots of good features and deliberately omitting many bad ones. It compiles fast, runs fast-ish, includes a runtime and garbage collection, has a simple static type system and dynamic interfaces, and an excellent standard library.

Read More »


An Introductory Robot Programming Tutorial

Let’s face it, robots are cool. They’re also going to run the world someday, and hopefully at that time they will take pity on their poor soft fleshy creators (AKA robotics developers) and help us build a space utopia filled with plenty. I’m joking of course, but only sort of.

In my ambition to have some small influence over the matter, I took a course in autonomous robot control theory last year, which culminated in my building a simulator that allowed me to practice control theory on a simple mobile robot.

Read More »

How to put subtitles without using iTunes (iOS)

For those who still do not know, the files must be associated with the applications in your iPhone for them to be opened. For example, if you download a video from your cloud app, that video will not appear in your video player (such as VLC) automatically unless you copy it to the application.

To copy the file to the video player app, follow these steps:

  1. From your cloud/file sharing app (such as Google Drive and SHAREit, respectively), access the menu for the specific file.
  2. Tap “Open in”.
  3. From the list of applications displayed (depends on what you installed in your iPhone), choose “Copy to <your app>”. For example, “Copy to VLC”.
  4. You will do the three steps above both for the video file and the subtitle.

Note: The filename of the subtitle must exactly match the filename of the video (excluding file extension). For example, if the video’s filename is “My_Movie.mp4”, the subtitle’s filename must be “My_Movie.srt”. Why? So that when you play the video in VLC, it will automatically choose the corresponding subtitle for you.

If you are using Android, it’s easier because the files are not strictly associated with the apps. So you can just open the video player and browse for the video. Then upon opening the video, you can browse for the subtitle manually even if the subtitle has a different filename.


Blurry Visual Studio Interface

I’ve just installed Visual Studio Community 2017 in a Windows 10 environment. When I tried to build the solution, the interface becomes blurry, unlike the sharp interface during design view. To make it sharp, follow the following steps:

1. Install .NET Framework 4.7 or later versions.
2. Change the Target Framework of the solution to .NET Framework 4.7.
3. Open the app.manifest file of the solution. (Project menu > [Solution name] Properties… > Application tab > click View Windows Settings)
4. Find

<!-- Windows 10 compatibility -->

under the compatibility tag.
5. Uncomment:

supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"

6. Open the app.config file of the solution. This is located immediately inside the solution folder.
7. Add the following XML code (NOT inside the startup tag, but on the same level):

 <add key="DpiAwareness" value="PerMonitorV2" />

8. Open your solution.
9. In Project menu > [Solution name] Properties… > Application tab > click View Windows Settings, un-check Enable Application Framework.
10. Change the startup form to Sub Main.
11. Add a new module to the project and add the following code:

Module Module1
 Sub Main()
 Application.Run(New Form)
 End Sub
End Module

12. Re-check again the Enable Application Framework and change the startup form to your form. Run the project and the display should now be crisp.

You really need .NET Framework 4.7 (or later) to accomplish above steps, or else it will not work.

These sites help me:



Command Line Tools for Developers

In today’s online world, the battle to attract users continues to rage on, with app makers preferring either mobile or web apps. Desktop applications are becoming less and less relevant. Moreover, they also tend to be nothing more than rich clients to web apps—Electron being the popular platform of choice.

Does this mean we will soon abandon the desktop as a platform? No, of course not, I wouldn’t say that. Besides, while GUI apps seem to have been stalling recently, there is a segment of desktop apps that continues to grow.

Have you ever seen any movie featuring hackers? More often than not, these people are shown working in front of monitors displaying some sort of terminal (usually with a dark background and light foreground). This terminal, in turn, tends to be flooded with passing characters that apparently have some meaning to the person watching them.

Read More »