Sunday, July 28, 2013

A feature request for Web Based Email

Its July and the last to file IT Returns is around the corner. My bank emails me the bank statements every month, so to look at my transactions for the past year, I am trying to download all the statements for the last financial year from email.

I was able to select all the emails for last year which have the statements as an attached PDF. Now instead of going to each individual email, I want to be able to download all the attachments from the emails that I have selected.

This does not seem possible right now. You can download all attachments in an email but not across emails.

It would be great to have this.

Tuesday, March 5, 2013

What I thought of when buying a cycle?

Cycling was something which I enjoyed as a kid. Even though I had the option to take the bus, I sometimes rode to school on my Hero Impact. It was fun. Even in Manipal, where either you had a motorbike or you walked, I was among the very few who tried their hand at cycling. So back in 2010, when I used to work out of Jaaga, I was inspired by Deepan of Hashcube, who went on long weekend rides to places like Ooty, Mysore etc.

I thought, I should buy a cycle sometime. Having joined Babajob in 2011, I was in a slightly better position to buy a cycle.  I was thinking of buying a Hero Hawk or some other simple geared cycle. I thought the max I would spend on my cycle would be 6 grand. Surely, I could not afford anything more expensive than that.  So I started asking around - which one should I buy?

Random cyclists I met on the road at the traffic signal, or outside a snack shop etc. all suggested to go for a good cycle.  "You mean like Firefox, which is about 9 grand?" I asked. "Well it depends on you, but I would recommend to go for something better. It may cost you, but this is a one time purchase. If you think you will start with a low end model and then move onto a better one later, that will just not happen. You will never get started with a low end model. Your enthusiasm will fade and you will give up." Hmm..now that was the response I had heard from three random strangers, so I started giving it a thought. Maybe I could increase my budget a bit.

Then one fine day, I got a call from Ram of Hashcube that he was going to buy a cycle. I said, I am coming with you. He was buying a TREK 3700 MTB from BumsOnTheSaddle (BOTS as its popularly known). I said, well I will go with the same. Basically, I trusted Ram's judgement and if he was spending 19 grand, then the cycle must be a good one. But the question which I still had at the back of my mind was, how do I justify spending 19 grand on the cycle?

So I started doing some calculations. I used to spend around a thousand rupees a month on petrol at that point of time. If I stopped using my bike, I would be saving 1000 rupees a month. That's 12,000 in a year and 24,000 in two years(not accounting for the rising cost of petrol). I also knew that sitting in front of the lappie all day is not good for my health. I did not feel energetic and at 28, the body needed at least some exercise. In the past, I had tried but failed miserably at putting a disciplined exercise regimen as part of my daily routine. I was just never able to sustain it. I had been thinking of joining a gym to force myself to go. After all if you have put in money, then there is some motivation (or should I call it shame) for you to go? A simple gym membership at that time was costing 1200 a month for a one year membership. So that's 14,400 a year. Hmm.. so if I don't take a gym membership for a year and don't buy petrol for a year then I can basically recover the cost of my expensive 19 grand bike in a year!

This deal now seemed pretty interesting. I decided to go with it and bought the bike. Yes, I had been frustrated with the frequent punctures that I had to fix and yes, I ended up spending much more than 19,000 grand on the bike (helmet, backlight, frontlight, water bottle stand, pollution mask etc.) But for a year I did not buy petrol (not kidding) and I did not join a gym.

I am not sure if I was absolutely able to recover my investment by buying the cycle (Yes, think of it as an investment and have a strategy as to how you will recover it) but am sure by the next year, I
would have. I regularly cycle to work - its just over 7 kms one way, and go for longer rides sometimes on the weekends. I feel much more energetic and positive after cycling (though I guess that applies to exercise in general)

The important factors which helped me in cycling regularly were -
1) My commute time and exercise time were clubbed so I was saving time (which was crucial)
2) I worked at a startup, and thus could go dressed to work the way I wanted and at the time I wanted (avoid rush hour traffic) . It is cool to cycle to work.
3) It easily became a part of my daily routine as my flatmate started using my bike and thus I had to cycle or take public transport. 
4)  After getting in the habit of cycling, it was difficult to get out of it.
5) The commute to office was not much (7-8 kms) and I was able to take side roads to avoid traffic. Also it took me just 8-10 mins extra on the cycle as it took me on the motorbike.
6) The Bangalore weather! (of course!!)
7) I loved it.

So as the prices of petrol shoot up, and you think that its time to give cycling a try, I thought of sharing my own experience so that it helps tilts the scale in favor of your bumsonthesaddle. :)

Cheers

Wednesday, January 2, 2013

A simple convention when hosting multiple sites locally

 

Firstly, A very Happy New Year 2013.

I wanted to share a sort of a neat trick/convention which I use to make my life easier when I am hosting multiple sites locally.

Suppose you are working on multiple web applications on the same desktop/laptop. Apart from using the built in Visual Studio Web Development Server, you would typically host your application on your local IIS as well, lets say for easier automated testing on your system.

Suppose you are working on two web applications which are hosted on the domains, earlyadopter.in and imadeitcount.com. Now you want to host these locally on your IIS as well. The typical approach would be to add an application to your IIS so that you may access these sites running locally through your browser by the following urls:

http://localhost/earlyadopter/

http://localhost/imadeitcount/

There are cases I have encountered where this has made life difficult. For example, if you are paring your url, you would have to do it differently for your localhost and for your actual production site.

What I do nowadays in these cases is that I modify the hosts file such that the following domains point to 127.0.0.1

http://earlyadopter.local

http://imadeitcount.local

Now, I can have as many local web applications without worrying about localhost.

What do you think? I think there may be better solutions out there, so if you know, please do leave a comment. I am also not sure how this would apply to LAMP stack solutions, so again, please do leave a comment if you have any insights on that end.

Cheers

Wednesday, December 12, 2012

Note to Self: Commit code frequently on git

Its been a long time since I blogged here. I have written drafts of THE post which was supposed to end this long hiatus from blogging, but I guess the short note I am writing today is short enough to go from draft to publish.

Since the last post, much has happened. One such thing is that I have started using Git. Its awesome. It is the way a SCM should be. Well at least most of it. I came across an issue today where I ended up losing some code I had written. In fact, it took a while to realize that code was lost. Here is how it can happen if you are not careful.

Create a temporary directory. Then try the following commands:

$ git init
$ echo “Baba Black Sheep” > blacksheep.txt
$ git add blacksheep.txt
$ git commit –m “First Commit”
$ git checkout –b whitesheep
$ echo “No black sheep, only white sheep here” > blacksheep.txt
$ cat blacksheep.txt
$ git checkout master
$ cat blacksheep.txt

The changes done in branch whitesheep are carried over to the master branch. I found this behaviour unexpected. I was expecting that when I create a branch, whatever changes I do there, remain in that branch. But apparently that is not the case.

Thus, this small note to self that whenever done with a piece of code, even on another branch, always commit. In case you are wondering how I lost the code, I think I made changes to a branch, forgot to commit the code, changed to master, and then pulled from bitbucket and during the rebase the changes made on the other branch were overwritten. At least that is what I think happened.
Will play around with this a bit more, but if I expected that changes made on whitesheep should not have reflected on master, I guess there would be others who would expect the same. So just something to keep in mind.

To end, I hope to be blogging more often here.

Sunday, October 23, 2011

Which state of mind?

The one big difference I find in myself in the last couple of years is that I take the random normal conversations with some of my friends with a pinch of salt. Does that mean that now finally I have a thought process and mind of my own? Or does that mean I am uncomfortable with some of the points that I hear and thus tend to ignore them? What is my state of mind? 

Posted via email from Random thoughts about tech and entrepreneurship

Saturday, October 8, 2011

Unsubscribe

I don't remember how I ended up registering on the wayn.com website. But lately, as I have been on a drive to reduce email overload, I have been unsubscribing from various mailing lists and wayn.com is one among many. But it stands out.

No matter how many times I unsubscribe from their list, I still keep receiving the emails. Funny thing I noticed the last couple of times is whenever I try to unsubscribe, I notice that I am already unsubscribed in their settings. Yet I keep receiving emails from them. Perhaps its a bug. Or perhaps its plain simple desperation.

Posted via email from Random thoughts about tech and entrepreneurship

Monday, October 3, 2011

Losing touch

For the past couple of weeks, I have been writing a lot of SQL queries as we do a major data update of the db. The update has been fairly painful, requiring a couple of days of manual mapping of old and new data. But what I realized over the last couple of weeks is that I have forgotten SQL and badly. 

Before I dove into the world of startups, I worked at Tesco HSC and I spent a lot of time over there writing SQL queries. Over the years I had become pretty good at it and had learnt some neat tricks such as using a pivot function. The reports I had developed required some complex data processing which meant a lot of temporary tables and a lot of complex sql queries, all while maintaining acceptable execution time. 

But three years later, I seem to have forgotten SQL. I feel my current proficiency in SQL has gone down from intermediate to beginner. But then I think that three years ago, I sucked at CSS and Javascript. I have been spending more time on front end stuff over the last year than back end. Also, I guess the back end stuff that I have had to touch has been fairly simple. So I guess it's OK. 

But it certainly isn't nice to feel that you are losing touch! :( 

Posted via email from Random thoughts about tech and entrepreneurship