Pedram Hadjian's Blog

A blog about IoT, Web of Things, educating my son, Computer Graphics and anything I find interesting.

Articles

Two's Complement and negative Numbers

The two's complement is the internal represenation of negative numbers within computers. If the MSB of a number is 1, it is negative. Make it positive by "inverting the bits and adding one". This is enough wisdom to get you through your carreer as a software dev. But understanding the details of this ingeneous method was more involved than I imagined. If you like to know what I know now, read on...

My Blog Setup

Mandatory article about the setup of this blog. I am far from being a web-developer, but was amazed about the quality of writing at Mozilla Web Docs. So I tasked myself to hand-write HTML/CSS and to setup a web-server like it's 1999. Just for the fun of it. Read on...