Monday, June 18

My thoughts on B.Y.O.D to work.

Some time back I read an article on Bring Your Own Device or B.Y.O.D to work, and how companies are favoring it. The article said it would increase the productivity of employees, they would have flexibility to work on machines they are comfortable with etc. However the most important concern being, the security. These are most obvious pros and cons. However I think the entire concept of B.Y.O.D depends on the organization size.


Organization size: The larger the organization, the more the concern of data security. If every employee is allowed to get their own devices, chances are that data theft could be possible. Also, having your own device means, you have freedom to install your own software, games, music etc. And organization cannot keep a check on what software's are being installed on personal computers, whether they are legit or pirated.
However B.Y.O.D would definitely work on startups. With small size teams, all are like minded and working towards a goal. Flexibility of use of software's, music, and gaming is a culture of startup. Everyone knows what needs to be done, everyone knows what their peers are doing. Apart from that, small sized companies have benefits on hardware costs.

Working on remote machines: In large organizations, employees are required to work on remote machines or Virtual machines. These are set up, so that the hardware cost is reduced. Working on remote machine is slow and it depends on two factors

  • The internet speed
  • The Hardware

With broadband speed as slow as a snail, time spent to complete a particular task is much more compared to working on a local machine. Also if given a high end machine, processing would be a little better but again it depends on the internet speed as well.

Transport: Carrying your own laptop to work is tiresome, considering the fact that most IT companies are situated outskirts and each day every employee has to travel at least an hour on average. Why would one want to carry their precious gadgets every day back and forth in a public transport? Would it not be feasible to use work machines instead.

To conclude, B.Y.O.D to work would best suit small size teams and startups then large organizations.

Monday, June 11

How to give a different color to line-strike and a different color to text in html css.


Encountered this problem when I had to give text color red and the strike through line color black.

The html markup should have strike tag outside with your style and then your text inside a span with its style. This way we can achieve a strikethrough with different color than its containing text. Following is the html code. For simplicity sake I'll be using inline styles.

<strike style="color:#000000;">
                <span style="#FF0000">MY Text</span>
</strike>


Yup, this is already solved here on stackoverflow. You can find alternative answer as well.



Tomato Soup with Egg droppings.


My first experiment in cooking. I saw this recipe on TV the other day, and had to try it myself.

Following ingredients were used.

  • 1 medium sized onion – Chopped into small cubes.
  • 4-5 Medium size tomato – Chopped into small cubes.
  • 2 Spoon Vegetable oil.
  • Fine chopped ginger and garlic. (for taste)
  • 2-3 Spoons - Tomato sauce.
  • 1 Egg.
  • ½ bowl mixture of cornflower and water.

Recipe

Take a mid size utensil, put 2 Spoon Oil. Put ginger and garlic in it and let it cook for some time. Then put bowl of chopped onions and let it cook till they turn brown. Then mix chopped tomatoes into the mixture and stirs it well. After some time, till all ingredients are mixed well, put the tomato sauce. Mix well. Let it cook for some time.

While your mixture is being cooked, take a bowl, put water and mix cornflower in it. Mix well. Once you start getting the flavor of your mixture which is being cooked, mix bowl of cornflower and stir well so that it gets mixed nicely.  Close the lid, and let it cook for some time.

Now break egg in a small cup, stir the yolk with egg white well.

The mixture must have cooked well by now. Take your cup of egg and from a height, start to drop the egg mixture and simultaneously stir, so that egg gets mixed in nicely. Cook for few minutes. Garnish it with coriander and serve hot.

Thursday, June 7

Awesome Idea and an Awesome motivation

First thing in morning is to check hacker news. Two of the blog posts that caught my attention and made me think on them.


On{X} : The coolest thing to happen to android.


I was awestruck when I read this post on techcrunch. No not about Microsoft and android. That is of least interest. The idea and implementation behind the on{X} really was amazing. Depending on the location of a user and his settings, which will be very very easy to configure for a user, your phone will notify you. For example, when you reach home, get notified that you want to buy milk. Or notify is you are not in gym for more than 3 days etc. Wow, this is really an amazing idea.


Imagine you could program your Android to text your wife when you left work. Now imagine your Android reminding you in the morning to grab your umbrella if it's going to rain later in the day.

All users need to do is download the Android app and then configure rules on the on{X} site. Rules are called 'recipes' and there are 11 templates ready to go. These include ones such as 'Launch the music app when I am walking' and 'Remind me to visit the gym if I haven't been there in 3 days'. Check out the video at the bottom of the post for a demo.

Each recipe can be easily edited by novices before being pushed to the user's device. The rules and all the data they hold are private, and are available only to the user.

Another post that made me think was from pocket developer.

Pocket's Tips for Aspiring Android Developers: It's Not Really Terrifying, and In Fact Quite Enjoyable


Max Weiner, Pocket's lead developer for Android, explains how easy it is to develop an android application. He explains how their quest as an android app developer was started and what all they did to reach success. Very well written and highly motivational for aspiring android developers like me.

Saturday, June 2

Being awesome

It was a busy day today, as planned i had no time looking into that pdf, which i had left open yesterday. Now that, i got some time for myself, first thing i did was to check hacker news and then google reader. A post from coddinghorror really makes a software developers day. And exactly that happened. Jeff Atwood, explains in his post how to stop sucking at things and be awesome.


I strongly agree to the mantra put down by him, though they are obvious, and deep down somewhere i know them, but still coming across it and reading it makes me realize them.

So without wasting time, here i am writing about it. I want it to be forever with me.

As jeff says,

Here's what I've seen work:

    1. Embrace the Suck
    2. Do It in Public
    3. Pick Stuff That Matters

The "Do it in Public" is something which is been missing in me.
Normally what happens is, if you have something awesome that needs to be done, you try to keep it a secret, with the fear, of it being stolen, or the fear of you never be able to complete it and then later regret and feel embarrassed about it. So technically the fear wins before you even starting to work on that awesome idea of your's and then you never complete it.

Lets go to point 1, Embrace the suck, that is, why care about what others would think if you succeed or fail. As jeff mentions, every one has to die one day, so why not do something and die, instead fear what others will say and never get to be that awesome. Quoting jeff's point on fear here.

Mostly, I think it's the fear that gets us, in all its forms. Fear of not achieving. Fear of not keeping up. Fear of looking dumb. Fear of being inadequate. Fear of being exposed. Fear of failure. The only thing preventing us from being awesome is our own fear of sucking.


To be a successful software developer, i have read a lot of articles, read the pragmattic programmer book, learned about productivity tools, bug trackers, following hacker news religiously, but the above mantra, well, does not just apply to a specific profession, but if applied correctly, will also improve our lives.

"It's better to be safe then Sorry", is such a crap. You know what's better then being safe. Being AWESOME. - Codinghorror