Haisum's Blog It's not a bug, it's a feature.

My favorite programming books

Computer science is a huge and constantly changing field of study. To keep myself updated I study a lot of random books. Here’s a short list of books I can recall right now. Will keep on adding more as I read more in future.

Learning Scala

I am learning scala from coursera course Functional Programming Principles in Scala. Will add updates here as I proceed. For now, it seems quite interesting, it revised my recursion and made me better at writing functions. I am also following the book Programming in Scala. Go get it or join the course, functional programming is in buzz today so better learn it and add one more skill to your resume.

Load Google fonts asynchroneously so they don't make your site unresponsive

Google fonts are very popular among designers these days, they provide a way to use fancy fonts all across the web without worrying about their availability on client’s computer. But with one problem that they solve, they bring one problem of their own: Synchroneous loading of fonts from Google servers and therefore pausing page render until they are downloaded. Resulting in a pause on every web page where google fonts are used.

Problems with using crawled or auto generated content for SEO

I have worked for some big web development companies and search engine optimization for them and their clients seems to be a holy playground where they spend most of time and resources in. Approach mostly focuses on generating keyword focused content by either crawling from others and paraphrasing or asking team of writers to write useless content. Many classified, coupons, B2B, and C2C sites have dumped content from other sites which is paraphrased so that they could get away with content duplication penalty by search engines. Moreover, this dumped content gives them some more weightage in search results due to more targeted content.

iptables with postfix, dovecot, dns server, apache, ssh and mysql

I had to go through a lot of pain, to get it right. Dumping my iptables config here so it acts like future reference for me and help anyone else trying hard to get it right.