Goodness's blog

Welcome to my blog

I write about tech stuffs I find interesting. It’s possible you might find them interesting too. So, if you do, enjoy!

Posts

  • What I Learned From Building A Network Tunnel

    I’ve encountered several mentions of Wireguard on the net without being curious about its inner workings. I’ve come across multiple mentions of VPNs on the net without (again) ever being curious about their inner workings. This year, I decided to be curious about it. Since Wireguard has been touted as a simple VPN protocol and implementation, it seemed the perfect gateway to finally understand those sorts. Now, I believe that to strongly understand a computer-related topic, you should at least build a simple implementation of it. That is what Steve and I did.

  • What I Learned From Building A Postgres Extension In Rust

    This is a list of things I learned from building the Postgres-redis extension for Postgres in Rust. A retrospective design and implementation article, this is not. It is written here.

  • IPC - Memory Mapped Files

    In the previous article, I wrote about the Shared Memory IPC mechanism. In this article, I will write about a similar IPC mechanism called Memory Mapped Files.

  • IPC - Shared Memory

    In the previous article, we covered the Message Queues IPC mechanism. This article will cover another one called Shared Memory.

  • IPC - Message Queues

    In the previous article, we covered Unix Signal and its usage for IPC. An implementation of a popular asynchronous communication pattern will be covered in this article.

  • IPC - Unix Signals

    In the previous article, we covered Unix Socket and how it can be used for Inter-Process Communication. This article discusses a different and limited form of IPC.

  • IPC - Unix Domain Sockets

    In the previous article, We discussed the Named Pipes mechanism to achieve Inter-Process Communications. This article will cover another one called Unix Domain Sockets.

  • IPC - Named Pipes

    In the previous article, We introduced Inter-Process Communication and its different mechanisms. We’ll start with the first, Named Pipes or FIFO file!

  • IPC - Introduction

    Have you ever thought of how two processes can communicate in one device?

  • Practical OAuth Part Two

    This is part two on how to write an OAuth client and server. If you have not read Part One yet, you should take a look at it.

  • Practical OAuth Part One

    OAuth (Open Authorization) is an open standard for access delegation, commonly used for internet users to grant websites or applications access to their information on other websites without giving them the passwords. It’s quite a mouthful, right? That’s the definition from Wikipedia for the specification behind the Login With Facebook, Login With Google, and Login with [Fill In Popular Site] buttons we see whenever we want to register or login into our various web accounts.

  • Building a BitTorrent Client

    This post is for those who are interested in the internal details of the BitTorrent protocol.

subscribe via RSS