Skip to main content

Thinking of moving the blog to Quora or starting a new public blog

Reading a book on inbound marketing by Hubspot founders and it clarified some of my concepts. I intend to finish the book, its just that in the age of Quora, Twitter and Techcrunch you can get easily distracted so I am reading at turtle's pace. Even Netflix and cable TV has lost its charm for me. One reason I had ordered a hard copy instead of kindle so I don’t get distracted and can read it with focus, but now a days I feel like Quora is much more interesting than reading books. But books have their own importance, Quora and blogs are random reading with no pattern and you get some pointers whereas books are more structured reading so on any day I would prefer book over blogs if I have to read a concept in detail and call me old school but I still would prefer paper copy over ebook.

Anyway coming back to the topic I still get close to 50K hits per year on this blog, so thinking how can I apply concepts of book to the blog.

On Quora in past 6 months my content had 31.6K views

In terms of hits it doesn’t makes much difference to switch but earlier I used to think that you write blogs and search engine would scrape it and you would get find(which happened for a rabbitmq post I wrote which get linked to rabbitmq site and is the most visited post on this blog). Apparently I was dead wrong the book says you need to not only need to write content but you need to market it also on social sites like facebook, twitter, linkedin and retweet it and what not so people would link it. I don’t feel comfortable sharing all the posts from this blog as is due to various reasons so I am thinking of moving to Quora for posts that I feel comfortable sharing and I can share them on twitter/linked and leave the private and more technical posts here (the idea is not to market myself but just compare stats and see if same concepts in book can be applied and I can see them in action. I had applied Google analytics first on my blog and then in the my employer startup the same way. Alternatively another idea is to start a new blog on blogger for public posts and leave semi private posts here.

Still debating and will probably reach some conclusion soon.


Popular posts from this blog

RabbitMQ java clients for beginners

Here is a sample of a consumer and producer example for RabbitMQ. The steps are
Download ErlangDownload Rabbit MQ ServerDownload Rabbit MQ Java client jarsCompile and run the below two class and you are done.
This sample create a Durable Exchange, Queue and a Message. You will have to start the consumer first before you start the for the first time.

For more information on AMQP, Exchanges, Queues, read this excellent tutorial
import com.rabbitmq.client.Connection; import com.rabbitmq.client.Channel; import com.rabbitmq.client.*; public class RabbitMQProducer { public static void main(String []args) throws Exception { ConnectionFactory factory = new ConnectionFactory(); factory.setUsername("guest"); factory.setPassword("guest"); factory.setVirtualHost("/"); factory.setHost(""); factory.setPort(5672); Conne…

Spring query timeout or transaction timeout

If you are using spring to manage transactions then you can specify default transaction timeout using

    <bean id="transactionManager"
        <property name="dataSource" ref="dataSource" />
        <property name="defaultTimeout" value="30" /> <!--30 sec--->             

or you can override the timeout in the annotation

    @Transactional(readOnly = false, timeout=30)

or if you are doing it programatic transactions then you can do

DataSourceTransactionManager transactionManager = new DataSourceTransactionManager(dataSource);

 or you can override the timeout for one particular transaction

TransactionTemplate transactionTemplate = new TransactionTemplate();

Python adding pid file

I have a thumbnail generator that launches multiple processes and the correct way to shut it down is to send kill -HUP to the parent process. To automate I had to write a pid file from python, it was a piece of cake
def writePidFile(): pid = str(os.getpid()) f = open('', 'w') f.write(pid) f.close()