codebite _

New Year, Migration, Current state and Future plans

Mon 04 of January, 2016

Year++

So it happened, we made another orbit around The Sun. 2015 was a weird one. A lot of stuff happened, University happened. As I expected it wasn't anything good, although small part of me hoped it would be useful at least in some way. Well exams are passed and that's that. I also landed my first job, signed my first NDA, and got my first salary. Although due to some problems on the place (I don't really want to disclose that in details), as well as me not really having enough time for both University and Job, I decided to leave it early. I'm glad they were really nice about it and understood me.

Here's to 2016 being even cooler, and in a good way, weirder!

Migration

A Droplet in the Ocean of Data

Speaking of 2016, one thing I did this year was migrating my web site, you might have heard of it; in fact you're on it. Yes, codebite.xyz has moved, and to a better place! It's now on virtual server in the cloud! Yes the mysterious cloud that doesn't actually exist, and in fact is another peoples' computers. The provider is digitalocean.com, they're pretty cool if you ask me. If you click that link and register, you will get free $10 of credits to use! (My referral link), and that's 2 month of their lowest tier offer.

So here I am, own a server to do as I please with it. I AM GOD NOW, you might don't get why I am excited, but previously codebite.xyz was hosted on simple web-hosting, all I had were a folder on someone's server, FTP and MySQL access. But now I have everything I want, of course that meant configuring it all with my own hands. Fortunately, I loved that!

Let's Encrypt

I also could finally use letsencrypt.org, which is an amazing tool. At the time of writing this blog entry, they are in public beta and I encourage people to use it. It's free! As in freedom! They provide a simple installer (especially if you're on Debian-based distro and use Apache) and generate keys for free. If you really liked it, and can afford it, please do donate for their cause, this people are fighting for free and secure internet!

Now on CentOS 7 (My OS of choice for servers) I needed to do it "manually", meaning I needed to tweak my Apache config file myself. But that's about it, everything else was done by magic of Let's Encrypt and some quick Googling.

Current State of Affairs

Or should I say 'stateless', because I am learning functional programming. To be precise Haskell. And we try to avoid global states in FP (Functional Programming). I don't want to go on huge tangent here, but I quite like it. It's weird, it's new, it's fun. I feel like I am learning programming from ground up once again. Maybe it's because, in a way, I do. It requires one to think in a different from imperative programming way, it makes you think about what things are, rather than how to make them. I am still quite a newbie in it, but I can see some very nice things about it. (Although I do dislike significant whitespace, that rant can be dealt later and is Haskell specific)

getPlans :: (Future a, Plans b) => a -> [b]

As of today, I have a quite a list for future plans. I do not want to disclose everything, but I can say next:

Therefore, as you can see, I have a lot of stuff to do, so it's better if I stop here and go make it happen!

Once again, Happy New Year people and take care of yourselves!