The importance of open source software

As the linuxfoundation states about 95% of cloud providers run kubernetes which is an open sourced solution, the Apache Web server powers millions of websites including netflix.com, spotify.com and more. Most of the Internets core functions are based on open source technology. But what is it and why is it so important? What is open sourced software? Open-source software is computer software that is distributed under a license that allows users to use, study, modify and distribute the program and its source code to anyone and for any purpose....

Self host your own website

In this article i will show you how to self host your own website securely. Requirements A computer or microcomputer to host the website The computer needs to run linux An internet connection (Its pretty hard without one, trust me) Lets get started! Installation The first thing that we will have to do is setup our nginx site. We first have to be root sudo su If you dont have sudo installed try:...

Raspberry pi security camera

In this article i will show you how to setup a raspberry pi security camera using motion. In the end of this article you will have a fully functioning security camera with a live feed and motion detection. Requirements Raspberry pi or any other computer Web cam Any kind of debian based distro installed on the pi/computer Setup In this article we will be using the motion package (https://motion-project.github.io/) To get started power on your raspberry pi and ssh into the machine or just connect it to a monitor and a keyboard....

How SSH works

If you work in the IT industry, you’ve undoubtedly heard of ssh. But how does it work? SSH (secure shell) is a network protocol that allows two computers to connect securely over the internet. SSH uses encryption to prevent hackers from reading data sent between two connected devices. SSH is divided into three layers: The transport layer The connection layer The authentication layer During and after authentication, the transport layer establishes safe and secure communication between a client and a server....

February 25, 2023 889 words 5 min

Automating your web browser with selenium

Selenium is a very good skill to have as you can automate almost everything that you can do with a web browser. In this tutorial, we’ll learn how to use Python and Selenium to automate a web browser. This is an updated version of my previous article which unfortunately doesn’t work anymore. If you’re a complete beginner, read my python article to understand the basics. (https://4rkal.com/posts/python/) What is selenium? Selenium is an open source umbrella project for a range of tools and libraries aimed at supporting browser automation....

Why computers can’t represent 0.3 accurately

Most people know that adding up 0.1 + 0.2 equals 0.3. However computers represent it as 0.30000000000000004 . Here is a screenshot of it in python3 Your first thought might be that this is just some kind of error. Well its not Why does this happen? Fractions can be represented precisely in the base 10 system (used by humans) if a prime factor of the base is used (10). 2 and 5 are the prime factors of 10....

February 21, 2023 224 words 2 min