My maiden post is right here: https://medium.com/p/a5fcb5a8f4e2
This list is for my own reading purposes. Feel free to chip in any articles or posts in the comments.
A list of stuff that is useful:
I had the chance to play around with Pig today and thought it was kindda fun. What Pig does is that it allows you to use SQL-like language to analyze large sets of data. The cool thing is that Pig’s underlying infrastructure layer compiler produces sequences of Map-Reduce programs from SQL-like commands.
Let’s get started!
Installing Pig and Getting Ready….
brew install pig
Now, let’s see if pig works….:
You should see a spew of help text such as the following:
The above is the output of pig -help on my terminal.
Here’s some gotchas that you need to take note of:
- You need to define your $JAVA_HOME variable. You can learn how to do that on this tutorial.
- Install homebrew. homebrew makes your life on a Mac way easier. You can learn how to install homebrew here.
Running some basic scripts
You can run pig in 2 modes: local and hadoop. You will learn how to run pig locally in this tutorial.
To run pig locally:
pig -x local
After running the above command, you will be brought into the grunt> command line tool. You should see the following:
Now, extract the contents of the downloaded contents, and change directory into the folder.
Run the following command:
pig -x local wordcount.pig
What this command means is that you are running pig in local mode and that you are executing wordcount.pig script.
Once the command has finished processing, you will see a wordcount folder. Change directory into the folder and open up part-r-00000 using your favorite text editor. You will see the results of the script wordcount.pig
Feel free to open up wordcount.pig and see what’s going with the script.
Want to build a billion dollar consumer company? Check out this post by TechCrunch.
The Economist has an interesting conversion funnel: non-logged in readers can read 1 ( perhaps 3 ) articles for free, while logged-in readers ( non-paying ) can read up to 6 articles per week.
Here’s the sign up flow:
Step 1: Alerting readers that they have reached their limit:
Step 2: The Sign Up Form
A short and sweet sign up funnel.
I saw this on a post from e27.co
Here it goes:
True hustler: “I would call computer stores and ask to buy Hellcat Ace,” Stealey told me. “And when they didn’t have it, I would yell and scream at them, ‘What kind of computer store are you?’ and hang up. I would do that three times in three weeks, each time pretending to be a different person. And the fourth week I’d call and say, ‘Hello, this is John Stealey. I’m a representative with MicroProse, with this game called Hellcat Ace.’ They’d say, ‘Hey, hey, hey, everyone’s been calling about that, can you help us get that game?’”
Amazing, isn’t ?
NOTE: the following post is by Noah Kagan ( http://okdork.com/2013/06/25/why-i-quit-mint-com-and-lost-out-on-1-7-million/ ). It was a great post, so i just thought i should share it.
I particularly like point 3: “Do the math in your biz”
Without further ado, here it goes:
My friend Jonathan Abrams (a great dude who founded Friendster) and I have a running joke that if a company wanted to be super successful they should hire me…and then fire me.
First it happened with Facebook (read about the day I was let go).
Then it happened with Mint.
Mint is a free personal finance tool and was bought by Intuit for $170 million less than two years after it started. At the time I owned 1% of the company.
While I was at Mint I was #4 and in charge of all things marketing. Fact: Before we launched we had more traffic than all of our competitors combined. Here’s how we were able to grow a huge waiting list before we launched. Now it is true that Mint was and is a great product.
Marketing is easy when you have a great product. (click to tweet)
Stop. Read the sentence above again.
So why would I quit and leave money on the table? Here are four things I learned by quitting Mint:
1. Know what you want.
I wanted to run my own company and specifically wanted to be location independent. It was a dream of mine to work remotely on the beaches of Thailand. If I stayed at Mint, I would never be able to do that. By quitting, I was able to work on my Facebook games company (another story for another day) from Buenos Aires, Argentina.
Chilling in Buenos Aires
2. Don’t take risks.
I am not a risk taking entrepreneur. While at Mint I started building Facebook apps at night. Until I could cover my minimum costs ($3,500/month) I had no intention of quitting. This meant many late nights, but it goes back to #1. It was very clear to me that I was going to do my own thing and it’s what I wanted.
3. Do the math in your biz.
I figured the company would sell for around $200 million. In a startup you get stock that takes four years to actually own all of it. If we sold for $200 million and I stayed around, I would make $2,000,000. Sounds sweet right? When you consider time and taxes it’s not so sweet.
Here’s what I mean by “do the math in your biz”:
- $200,000,000 * 1% = $2,000,000. (My ownership at 1%)
- $2,000,000 * 50% = 1,000,000. (The Government takes half for taxes)
- $1,000,000 / 4 = $250,000. (The total spread out over 4 years)
Plus I would have had to stay at the new parent company, Intuit. So I figured that within a four year window I could come close to making $1,000,000. After four years I didn’t quite make a million but with Gambit (the Facebook app company) I ended up making a few hundred thousand dollars (AFTER taxes).
4. Keep Learning.
When I started at Mint I learned a shit ton. The founder was extremely liberal in allowing me to do what I wanted to do. We had town halls with our users, we did user experience testing (completely new to me at the time), a content network, spending on advertising, and more. It was all new. But towards the end it was less and less new things. You could say I became too comfortable and stopped growing. And then they hired someone above me. In hindsight, it was my ego that said I had nothing more to learn and I’d be a gopher for the new person. But I probably could have learned something from her too.
Feel free to visit Noah’s blog at: http://okdork.com/
Some pretty interesting thoughts and ideas here.
Just saw this video on Youtube where Derek Sivers spoke to Berklee College of Music:
1) Focus, Disconnect and Do Not be Distracted
Key learnings: time spent is training, if one chooses to focus. People who are casual ( relaxing, derping around ) end up with casual talents. On the other hand, people who are focused and intense end up successful. The biggest enemy is distraction. Mastering focus will help us control our lives.
2) Do not accept the speed limit.
You don’t get extreme results without extreme actions. For example, if you are a writer, you should not only write 1 article per week, but also spend twice the time to improve the writing. In Derek Siver’s example, he mentioned that the curriculum for Berklee College of Music scheduled the curriculum such that it allows average students to complete the degree in 4 years; Derek did it in 2.5 years
3) Nobody will teach you anything, we have to teach ourself
DO not expect the teachers to teach us; they well present information to us, but it’s 100% up to us to teach ourself.
4) Learn from your heros, not only theirs.
Derek was saying that our heros are just as good as other people’s heros. Learn and appreciate the techniques taught by our teachers; never feel that our teachers’ heros are better than ours. We need to learn and analyze from our heros too.
5) Don’t get stuck in the past
“Jazz is about innovation”. Same thing with life: innovation is needed more than imitation, don’t get stuck in the past.
6) When done, be valuable
Derek mentioned that we should never underestimate the value of making money; making sure that we are making money is a good way to ensure that we are making/doing something of value.
An example given by Derek is video games: how much people are paid to play video games vs how much people are paid creating video games ? People who are paid to create games obviously are paid a lot more than those who are playing video games; these are the ones who are valuable as they are relatively less people who can build games as compared to the number of people who can play games.