Sunday, November 28, 2021

Web storage

One of the interesting capability of javascript is, it allows you to store data on client side. The only thing you need to do is storing your data in key value-string pairs. localStorage.setItem('key',JSON.stringify({"data":"object"})); The limitation however is the size is 5mb at most.

Tuesday, November 16, 2021

Time Zones

Our parents were arranging their schedule according to sunrise and sunset. They are still consistent in their habit. However, in our generation we are unable to sleep before 12pm for most of the time. Thus, we don't need to arrage the time according to sunset and sunrise. Instead whole world could be in single time zone say GMT +0. In this case we don't need to convert our time information while communicating. For example it would be 16 pm for everywhere whether it is sunset or sunrise. I will not change time zone if I travel. The time is the same time and actually absolute value does not matter.

Sunday, November 14, 2021

A linear regression on Turkish Lira

I have used two pieces of linear regression breaking at the point of govermental change. Clearly there is a huge slope difference between two eras.
https://github.com/halidziya/turkish_lira

AI

Despite the benefits of AI we are starving for humanity.