Adrian Lita

Blog

Below you can find a list of my blog posts. Some of the most used keywords found in posts:

#ubuntu18 1 #backup 1 #bash 1 #cron 1 #mysql 1 #apache2 1 #files 1 #sqrt 1 #fast-sqrt 1 #c 1 #embedded 1 #32bit 1 #snippet 1

 
Latest posts:

How to setup a nice and simple backup script on Ubuntu

By: Adrian Lita

Published on: 2018-10-16

Keywords: #ubuntu18 #backup #bash #cron #mysql #apache2 #files

 

These days, while setting up a new server, in the evening, while being a bit tired I mananged to destroy 2 days' work, simply because I had no backup solution installed. Simply not wanting to pay more on a backup solution, since I have a VPS and it's very handy and cheap, I've decided to build my own backup solution, simple, effective and free :) The only things I needed to backup were actual files and some of the MySQL databases. To be able to follow my tutorial 100%, you will need the following:...

Read More >

Square root approximate calculation function for 32bit embedded C

By: Adrian Lita

Published on: 2018-07-23

Keywords: #sqrt #fast-sqrt #c #embedded #32bit #snippet

 

These days I needed to implement in an embedded algorithm a simple RMS (Root Mean Squre) calculation over an analog-to-digitally converted signal. My most eager and resource consuming problem was, after the efficient accumulation of data (calculating the sum of squares), I needed to extract the square root. After a couple of Google searches, I found the Newtonian method for calculating the square root pretty effective, and I also found a C-implementation that I'm sharing with you (credits go...

Read More >