Posts

All About My Custom Hugo Theme KMT

My ToDo List for 2024 (daily updates)

waffarx cash back

Website Types

E-Commerce Website 🔗 There are too many e-commerce websites such as Amazon, Souq, Jumia, AliBaba, .. etc. What you should focus on if you are about to create an e-commerce website ? showcase the product in a visual appealing way optimize checkout process with best practices Marketing & Business Website 🔗 The vast majority of websites are the marketing websites and business websites. What is the goal of marketing and business websites ?

Tags: marketing

WebSocket Communication Between Two Go Programs, the Easy Way

This article was written with one idea in mind: to show you, how to make a communication between two Go programs, using WebSockets. The simplest possible way. When using WebSockets, one program has to act as a server. But there can be numerous other programs as clients. In this article we will create one server and one client. WebSocket Server 🔗 The code for server is pretty simple. And because we don’t want to reinvent the wheel, we will use gobwas module.

Why built-in functions in python are faster ?

Because Python is sitting of the shoulders of giants. Built-in functions are written in C and C++ under the hood. C and C++ languages are efficient and fast, so their functions will be faster than the functions you write in Python. So it is recommended to use built-in functions instead of creating new ones.

Why Did Google Develop Go ?

Google has two tremendous problems. One of them is compile time. Back in the 1980’s, reasonable sized projects took hours to do a clean build. There were whole server farms dedicated to recompiling. You got a new “nightly build” and made modifications to that. Google builds things that are so ridiculously huge that it’s still like that in 2017. It takes 5 hours to rebuild chrome from scratch even on a big fat i7 system.

Why Do Command Lines Still Exist ?

GUI (graphical user interface) is easy to use and goodlooking. But CLI (command line interface) is faster and easier to automate. Advantages of Command Line over Graphics 🔗 Graphics are fancy but lack clarity and prone to errors and crashes and uses alot of resources (RAM, CPU and GPU). Here are some advantages. Lightweight Text Interface 🔗 If you accomplish a task like converting mp4 to mp3 on command line using ffmpeg , it will be faster than using any other GUI program such as Format Factory (for Windows OS).

Why Do People Use Go ?

People use Go programming language For various reasons. Here is all reasons in brief: Go is open-source but backed up by a large corporation (Google) It’s fast: to learn to build up to compile to arrange and install to scamper Go is a modern language Go is Simple It is Concurrent Static code analysis Garbage collected language Testing Support And now, let’s dive in each reason. Performance 🔗 Most people come to Go from dynamic languages like Ruby , Python , JavaScript , PHP and similar.

Why Go is better than Rust ?

First, it’s very important to say that both Go and Rust are absolutely excellent programming languages. My goal here is not to criticize any language. In this article, I’ll try to give a brief overview of where I think Rust is the ideal choice, and where I think Go is a better alternative. If you had to sit down and think of the programming languages which were best aligned with the motive to develop secure, microservice favoring frameworks and apps, you would again find yourself staring at the two languages.

Why I recommend Mark Text as a markdown text editor ?

Mark Text is a great markdown text editor. Advantages of Mark Text 🔗 simple and easy to use Realtime preview (WYSIWYG) : a.k.a seamless writing/editing with distraction-free writing experience fast enough and efficient open source software free of charge. Markdown extensions such as math expressions (KaTeX), front matter and emojis. export as HTML or PDF. support dark mode paste images directly from clipboard (a.k.a you can copy-and-paste an image). edit modes : source code mode, typewriter mode and focus mode.

Why is n++ faster than n=n+1?

The answer is related to the old CISC cpu instructions and the way how C (or any programming language) is compiled to binary code. In almost every CISC CPU there is a special “add” instruction that is named INC (or DEC) and that instruction increments (or decrements) by 1 the value of a register (or memory). If you use another instruction for addition you have to add both operands you want to sum.

Why I recommend Peek as a Gif screen recorder ?

Peek has too many advantages as a git screen recorder. simple user interface easy to use fast enough and efficient available as snap, flatpak and appimage for Linux distributions with some other native packaging . open source software free of charge But Peek is not cross platform. It doesn’t support Windows 10 nor Mac OS X. Use Cases 🔗 I use Ubuntu, Pop! OS, Elementary OS and Mac OS. So Peek works on three of my four operating systems.