Category: Frontpage

Beaming Out of Yahoo

After 7+ years, I am leaving Yahoo. Going to join “the flock” at Twitter.

This is big and then, not so big for me. My role and responsibility remains somewhat unchanged as I go from Yahoo to Twitter, but I’m moving to San Francisco (the movers finished that yesterday). So, living in the city will be new. I’ve not taken very kindly to the traffic there so far, but this will change I’m sure.

Yahoo is an amazing place to work for. I’ve repeated this, that I’m not that good at transactions. When it is not time to buy a house, I go and buy one. This, was probably not the best time to leave Yahoo. The share price is kicking and the products coming out are simply amazing. I can’t say here, but there are some amazing surprises on the way for people using Yahoo products. I don’t say this because I work(ed) there, I really mean it. If you want to join Yahoo, this is the time – and it is not going to be easy. It is well worth it.

Then why did I decide to move? I was getting very comfortable. Things were  smooth, stuff was getting done and all the wheel-work needed was just some oiling here and there. I felt that this was the best time for me to get out of the groove as well as the team and people I would transition things out to/for wouldn’t be as affected. Taking a lot of time and careful thinking for the transitioning, I am happy that it has been very successful. Much better than leaving a ship that’s about to sink.

People in my team have extended amazing support for this decision. I am very moved by their kind words and actions during the last few days. This has been a big surprise, since a big part of me always felt that I was not doing enough for them. I want to call out (and in no particular order): Alex, Deepthi, Hitesh, Sudip, Ram, Mike, Muthu, Tom, Jason, Sachin and Srinivas for everything they’ve said and done. Thank you folks, you all are simply awesome. Selling Yahoo is extremely convincing when I give examples from interactions with people like you.

Twitter is an equally amazing place to go to. Seeing the amazing energy in the Twitter office, I’ve been very excited about what they’re doing and about to do. I am yet to find out more, but from what little I’ve seen, the people there are super nice (just like Y) and the culture is alive and kicking. Their technology platform stack is either mostly open or about to open up, something that excites me even further.

All said and done, it is no lie that if you cut me, you shall see that I bleed purple.

Hacking fryol.net

So I see that there’s some bots coming in to ssh into fryol.net. I can’t stop those guys. As long as there are doors with locks, there will be attempts to break in. Even though this site has everything turned inside out, bots don’t care, they’ll try to get in anyway.

Anyway, the purpose of this post is to warn folks out there that you shouldn’t keep your usernames (on your ssh port) that are a part of the list in this text file: https://fryol.net/r/?attachment_id=1264. Actually, there are a lot of ways to make sure that your ssh port is well protected, and disabling all users but the one that you would actually only use (AllowUsers setting in /etc/ssh/sshd_config) is a great way to do this. Also, please disable password authentication. Use keys only. If you dunno what I’m talking about, it might just be a good idea to not run sshd at all. Heh.

Some very interesting names in there. Who the hell is praktikant that made it into that list? Lucky bastard.

Me Cook Food

When hunger strikes, you have to finally get cooking. For the first time ever, I served food out for myself like a civilized being (instead of devouring from the pots and pans).

On the table

  • Arhar Dal (Lentil)
  • Matar Pulao (Basmati Rice with Peas)
  • Aloo Pyaz ki Sabzi (Potatoes and Onions)
  • Sliced Tomato Salad

Took about 35 minutes to do this.

Phuton

Got a disassembled futon at my place – and it’s assembly was quite a project. Took me about two hours to get it together. Photus phollow (wife took camera away to click our daughter, so the trail is a little incomplete).

initial mess
initial mess
arm frames
nuts and bolts
nuts and bolts
futon pad
futon pad
left frame and transmission
left frame and transmission
plan on board
plan on board
frames attached to stretchers (progress 1 hr later)
frames attached to stretchers (progress 1 hr later)
transmission attached (another ½ hr later)
transmission attached (another ½ hr later)
attaching the seat/back frames and rolling out the pad - final outcome
attaching the seat/back frames and rolling out the pad – final outcome

Red Moon During Lunar Eclipse

This Moon (Lunar Eclipse)is a photograph (credits to Hemant Hariyani) taken during a lunar eclipse. Besides being a very beautiful sight, there’s a curious orange tinge on the lower left quadrant of the moon. My curiosity lead to the moonzoo (please search for the terms “blood red” on that page to see their reason) – which explains very briefly the cause of this. While discussing on a list, I realized that it’s confusing sometimes to visualize how exactly this happens – so I drew a diagram to get this straightened out.

Reason for the moon's blood red (orange) color during lunar eclipseRefraction causes light to bend – and when different colors of white light bend at different angles, that causes light to split up; the very cause of rainbows. This is enough theory, the rest is self explanatory in the diagram beside this text. As you can figure out, light from the sun, reflected refracted when passing through earth’s atmosphere – falls on the moon (and since only longer λ [red] reach out) it looks orange (or blood red).

It’s imperative to note, that the cause of this blood red color is very different from the cause of the blood red color we see when the moon rises on certain nights. That blood red is caused because the light coming from the moon gets scattered when passing through the earth’s atmosphere (more so, polluted atmosphere), which causes the red waves to fall on our eyes and make the moon look red. That is when the light from the sun gets reflected back on earth and on it’s way to our eyes, we see red (the whole thing looks red – unlike this phenomenon).

How to use a GPG key and encrypt stuff?

In the wake of increased attempts at online frauds and information stealing, I thought it only befitting to write this step by step tutorial down for people who have never heard of GPG.

Simply put, GPG keys are used to encrypt information. To “encrypt information” means to make the information secure in a way that only a particular person can see what it contains. In other words, you lock the information and only the person having the key to the lock can open it.

Use Case 1: Bank account information over emails
Never send your bank account information (your account number, the name on the account, type of account, card number etc.) by email. Don’t even send the bank/branch you hold accounts in. Nothing – just don’t send any information at all over email.

So then how do you send information if you need to? Use GPG. Follow these simple steps:

  1. Put your account information in a text file (using your favorite text editor).
  2. Save the file and call it, say, account.txt.
  3. Run these commands (on your Linux/Unix/FreeBSD box):
# curl -L 'https://fryol.net/r/rishi-public-key' | gpg --import
# gpg --output account.gpg  -r 0x0B5267B1E3662EBB --encrypt account.txt

If you try and open account.gpg in the same text editor, you would see some garbage in there, which can now only be decrypted by the person whose key you used to encrypt account.txt.
Command 1 (of step 3)  was where  you downloaded my key (hosted on the link http://fryol.net/?u=key) and imported it into your gpg keyring.
Command 2 (of step 3) was to tell gpg to use  0x0B5267B1E3662EBB (which is a public key identifier of the key you imported) to encrypt the file account.txt.

For people who use Windows, there’s an easier way out: http://gpg4win.org/. The steps above would be very similar – I am sure there would be a way to import a key into that program using a URL. So then, all you do is provide it the URL of the person whose key you want to import and it should be able to use that key.

The file  account.gpg is now ready to be sent over email (to the person whose key you imported in command 1 of step 3).

This tutorial is only about encryption – decryption is a separate topic. (..and my primary motive for this post is to let people emailing me quickly encypt stuff).

See also: [http://www.madboa.com/geek/gpg-quickstart/#tosomeone].