Locks in Go - Mutex, RWMutex, and When to Use What

Posted on Wed 25 March 2026 in Programming • Tagged with Golang, Programming

In our concurrency post, we briefly touched on mutexes. But there's more to locking in Go than just sync.Mutex. Go gives you several synchronization primitives, each designed for a specific access pattern. Use the wrong one and you'll either have a race condition, a deadlock, or unnecessary contention killing …


Continue reading

Concurrency in Python - Threads, Processes, and AsyncIO Explained

Posted on Wed 25 March 2026 in Python • Tagged with Python, Programming

Python's concurrency story is... interesting. If you've ever Googled "Python multithreading", you've probably run into the GIL debate and come away more confused than when you started. Can Python do concurrency? Yes. Is it straightforward? Not exactly. Python gives you three different concurrency models, each suited for different problems. Pick …


Continue reading

Concurrency in Go - Goroutines, Channels, and Patterns That Actually Matter

Posted on Tue 24 March 2026 in Programming • Tagged with Golang, Programming

"Don't communicate by sharing memory; share memory by communicating." That's the Go proverb that took me a while to truly understand. When I came from a Python/Django background, concurrency meant threads, locks, and race conditions giving me nightmares. Go changed that for me. Not because concurrency is easy (it's …


Continue reading

Understanding Context in Go - The Right Way to Pass It Around

Posted on Mon 23 March 2026 in Programming • Tagged with Golang, Programming

If you've been writing Go for any amount of time, you've seen ctx context.Context as the first parameter in almost every function. When I first started with Go, I treated it like a formality - just pass it along and don't think about it. That's fine until your HTTP handler …


Continue reading

MD5 Hashing using C#

Posted on Sat 24 August 2019 in C# • Tagged with C#, Programming

Its common now a days that all the passwords are being encrypted in order to prevent data theft. So the passwords are being encrypted, the most common and most secure encryption method is MD5 hashing.
MD5 hashing stands for Message Digest algorithm 5. The idea of MD5 algorithm is to …


Continue reading

[Ultimate Guide] What are loops in programming and how are they important?

Posted on Thu 27 March 2014 in C • Tagged with C, Do While Loop, Entry Controlled, Exit Controlled, For Loop, Loops, Programming, While Loop

Welcome everyone to yet another tutorial on C Programming language. In this tutorial we'll be learning about a great concept of loops. Most of the programming languages would use exactly the same syntax for loops, so understand this carefully. Loops provide with great utility and power and saves from a …


Continue reading

Beginning Android, for Java / C++ programmers (Android-Part 0)

Posted on Mon 27 January 2014 in Android • Tagged with Android, Java, Programming

Beginning Android

Most of the people now have Android devices. This attracts a lot of people to begin career as an Android Developer. Although creating games with sophisticated graphics isn't easy, but creating a simple Android app is. What you need to start Android Application Development is good knowledge of OOPS concept …


Continue reading

Java Reflection: class "Method" to inovoke methods and get metadata

Posted on Sat 28 December 2013 in Java • Tagged with Java, Programming

Java Logo

using [java.lang.reflect.Method]{style="font-family: courier new,courier;"} you can get metadata/signature of methods (including private) and can invoke accessible methods at runtime.

Class Method provides a great tool to list all methods and find information about methods.  following tutorial will provide you more detail of class …


Continue reading

C# Tutorial : Compiling C# Programmes using Notepad

Posted on Thu 05 December 2013 in C# • Tagged with C#, Programming

About C#

C# is a multi-paradigm object oriented language developed by Mircrosoft in the year 2000. C# has its major implementations in dotNet framework, Mono, DotGNU. In this tutorial we will print a simple line "TheGeekyWay.com" using a notepad and C# command line compiler.

In order to continue with …


Continue reading