Posts

My ToDo List for 2024 (daily updates)

waffarx cash back

10 things to do after installing Ubuntu 21.10

show battery percentage 🔗 Here is the steps to show battery percentage. open the settings app select the power section switch on the toggle of the power percentage install a file preview tool 🔗 If you used MacOS or ChromeOS, you know the ‘quick look’ preview app. This app show an interactive preview of a file, when you press spacebar. It is a good feature / app. You can use GNOME sushi as a file preview tool on Ubuntu Linux.

Unleash the Speed: Go Performance Optimization for Your Apps

Go, known for its simplicity and concurrency features, is a popular choice for building high-performance applications. But even the most elegant Go code can benefit from optimization techniques. This post explores performance optimization strategies in Go, drawing insights from practical examples. Common Performance Bottlenecks 🔗 Inefficient Memory Usage: Unnecessary allocations, memory leaks, and improper data structures can significantly impact performance. Excessive Goroutines and Context Switching: While Goroutines are powerful for concurrency, managing too many can lead to context switching overhead.

The Only Introduction to Go (Golang) You Need

Go, or also called Golang, is absolutely trendy, and rightly so. It is not as difficult to learn as C or C++, but still quite fast, and has a great community & many interesting and helpful packages and libraries. The language was also developed by some of the brightest minds in the computer science world at Google. These are probably enough reasons to look at the language in which Docker and Kubernetes were written.

Interactive Go Programming With Jupyter

For the past few years, the programming language Go (golang) is growing in popularity. I was a big fan of Python and I primarily used Python in my hobby projects three years ago. Now, I use Go instead of Python because I can be productive with Go from small-scale hobby projects to very large-scale projects in a large company. In the same period, Python is also growing in popularity as machine learning and data science became important.

Plain Socket Communication Between Two Go Programs, the Easy Way

Because there was an interesting discussion at reddit , suggesting using SSE, gRPC, Message queues (and there are plenty of others), I thought about making an article on (comparing) those communication protocols. But in the end, I decided otherwise. I see all those protocols as something that is adding more code to your project. I mean, you have to import something. You have to use an additional library. And I wanted something, that have less code below.

Go: functions, methods, pointers and interfaces

This article was created especially for my son, who had hard times understanding using pointers and interfaces. To make the explanation complete, I added (with his help) two things: functions and methods. I see those two as a complement to pointers and/or interfaces. Or vice versa. This explanation is divided into six parts, each part adding onto previous part. I tried to make it all as simple as possible. The basics 🔗 We will start with something very simple.

Create and Run Go service in Docker

Create Go service the easy way, For Windows, Linux, MacOS and Docker. Why would you want to create a service? 🔗 With Go programming language you can use the final executable the same way on Windows, Linux and MacOS (by generating proper executable). But you cannot install this executable as a service using standard system tools like sc.exe, systemd or launchd. By using this approach you will know, how to make your software executable installable with those system tools and make it run as a service, when system starts.

7 Reasons You Should Try Go

This article is written with 20+ years spent in development, 10+ years actively writing in Java, 7+ years actively writing in C# and 3+ years actively writing in Go. This article is a personal opinion. This article advocates you, to try and use Go language. Speed of development 🔗 When I am about to write a piece of software nowadays (and I can surely write it in all three languages), I will always choose Go.

How to Take Screenshot on Windows ?

use the dedicated button on keyboard 🔗 There is a PrtSc button, or Print Screen, or Prt Scr, or similar name. Press this button, and open Paint program and press ctrl+v to paste the screenshot image. capture the active window 🔗 To take a screenshot of the currently active window, just press Alt + PrtScn then paste the screenshot image in Paint program or Photoshop or any other image editing / creating program.

Recommended Linux Distributions in Brief

I tried too many Linux distributions such as Ubuntu, Elementary OS, Linux Mint, Manjaro, Clear Linux OS, Endeavor OS, Fedora, Debian, Deepin, Peppermint os, Pop! OS, Parrot OS, Kali linux, Void Linux, Gentoo, MX Linux, Zorin OS and CentOS. I was a distrohopper! After all those experiments and daily usage of different distros (short for distributions) with different desktop environments and package managers. I come to a point of view.