Origin's Blog

Posts

Writing a Simple HTTP Client

You might always wanted to write your own HTTP client from scratch. Or maybe you want to do it for some project you have planned, but you don’t want to necessarly overuse vendors code for code size and reliability reasons. Whatever it is, this post will try to explain each step of how you can get going with building a simple HTTP client and by the end of it, even shows code for how it might be implemented in C.

Source of Error and How Modern Error Handling Deals With It

The greatest and most hated thing whenever writing any application is always, when something unexpected happens. Let it be uninitialized memory, some undefined reference in current context (for JavaScript the difference between a normal function and an arrow function), whenever something throws somewhere without any knowledge of where and why or if it is due to invalid state. It is especially a nightmare to debug when using a dynamic language, wherever I like to fallback to use print statements, as they are more clear and easier to use than any debugger I have come across.

Hello World

Hello and welcome to my blog! This is the first post on here, so I’m taking this opportunity to introduce myself. The introductory to this site can be found in the Homepage if you are curious. First and foremost, here is a quick summary of the person behind the scenes: I’m in my early 20s I’m a male and identify myself as such Hobbyist and student with major in computer science Interested in physics related topics, especially the idea of describing attributes from the real world, virtually on a computer My main operating system is Debian 12 with KDE Plasma 5.