Jason Shen's blog on starting up and making things happen

Get access to exclusive content + new posts in your inbox. No BS.

 

My Experience With The Ruby on Rails Tutorial

My Experience with The Ruby on Rails Tutorial

Tell anyone you’re learning Ruby on Rails and you’ll soon get a recommendation for Ruby on Rails Tutorial by Michael Hartl. After spending 6 weeks working with Treehouse‘s programing content and building a basic web app, I decided to jump into Hartl’s tutorial.

Michael is a former Y Combinator alumni and his tutorial (from now on RoRT) takes you through building a Twitter clone in Rails. It took me around two months to finish 10 of the 11 chapters, and I thought I’d share some thoughts and lessons learned.

Even simple programs require a ton of work
Hartl has us build a Twitter clone in RoRT, without using any gems for user authentication. This ends up being a surprisingly large amount of programming. I was intimidated by all the steps involved in adding validation, building different models (user, micropost and session), creating partials, passing information between different classses and handling errors.

Super thorough and complete
I’ve never met Hartl but he seems like he’d have his sh*t together in every way. The tutorial almost like an elegantly written program in of itself: it’s complete, bug-free, modular and self-referencing. Hartl specifies the exact version of every gem, database and Rails/Ruby on Rails to use. The book had absolutely zero errors from what I could tell – every time something messed up or seemed wrong, it ultimately was an issue on my end. That gave me tremendous faith in the course.
Continue reading →

I am writing a book called Winning Isn't Normal. Check it out.

Related Posts:

There’s Nothing to Complain About

My first and only post on Storylane was responding to the prompt: One thing my father always said was…

Since the company was acquired earlier this year, I’ve decided to port this post over and share it with you guys. Hope you enjoy it!

There's Nothing to Complain About

Photo: My father reunited with some of his old friends

My father was born in China as the middle of three brothers. His father rose through the ranks in the local college to become the Dean of Foreign Languages – the only one without a PhD. When he was 16, the Cultural Revolution occurred and young people everywhere were sent to be “re-educated” in rural China.

My father spent his later youth and early adulthood living and working on essentially a rice farm with his brothers. They woke up at dawn, worked in the fields, ate giant bowls of white rice and slept in shacks. Sometimes they would man a concrete boat that carried a massive load of manure on a two-day trip down the river to sell in the market. My father and his brothers would eat and sleep on literally a floating pile of cow dung.
Continue reading →

I am writing a book called Winning Isn't Normal. Check it out.

Related Posts:

I’m Writing a Book and Alexis Finch is Illustrating It

winning_isnt_normal_cover-2Since fall of 2010, I’ve done my best to help readers kick ass and make things happen, with step-by-step guides, crazy/stupid adventures, slide decks, personal stories, reader contributions, videos and more.

This summer, I’m taking it one step further, by publishing a Kindle book.

Folks on my Insider’s List heard about it a few weeks ago, and now I’m making it official. Winning Isn’t Normal is a hand picked collection of 30 of my absolute best posts, revised and polished to perfection. Plus, I’m writing exclusive all new content that’s never been published anywhere.

You can see a table of contents here.

Introducing AgentFin

alexis finch
Now on top of all that awesomeness, I’m  excited to announce I’m collaborating with Alexis Finch, UX strategist and sketch note extraordinaire, to make Winning Isn’t Normal an illustrated book.

Yep, we’ll be making graphics/illustrations that reinforce and expand on the content. Bringing a visual element is great because not just because the book will look nicer, but because the message will go deeper. Research has shown how illustrations + captions can be even more effective at teaching concepts than verbal summaries, and so these illustrations are really going to make a difference.
Continue reading →

I am writing a book called Winning Isn't Normal. Check it out.

Related Posts:

Ignore the critics: Lean In should be required reading for everyone, including men

Disclaimer: as a man writing about gender inequality, I acknowledge my privileged (and biased) viewpoint in this discussion. I’ve run this post by several smart, awesome women and incorporated their feedback, but I know I still run the risk of getting things wrong. Still, this topic is so important that I felt I had to try to add to the conversation.

more_women_lean_in_quote

I recently finished Sheryl Sandberg’s new book, Lean In: Women, Work and the Will to Lead. [1] Everyone from the New York Times, Slate, TIME and a host of bloggers has weighed in on Lean In — and many of the reviews are quite critical.

Among other things, people have said it blames women, offers unrealistic advice from a wealthy elite, and dismisses stay-at-home moms.

Ignore the critics. They’re wrong and they’ve missed the fact that Sandberg has produced a powerful book that should be required reading. [2]

Incidents like the disastrous PyCon/Adria Richards debacle underline the fact that some men have little understanding of the unique difficulties professional women face, and some female professionals have struggled to find effective ways of dealing with these challenges. We need to bring more constructive voices to the table discussion. Lean In is a nuanced and highly relevant read for anyone who cares about building a more equitable world in tech and beyond.

A short summary

Sandberg is a total badass, and yet she has struggled with significant hurdles to achieve professional success. Many of these struggles were with confidence, advocating for herself and balancing competence with likability, as well as overt sexism. I was forced to reconsider how to evaluate outward appearances of confidence between men and women and recognize there are no simple answers for ensuring a meritocratic workplace.

Sandberg cowrote Lean In with Nell Scovell, a professional writer, and acknowledges the help of many experts in refining her arguments. The collaboration made for writing that’s leaps and bounds above your typical business-buzz-book fare: paragraphs flow well, stories contain appropriate detail, research is cited and explained.

In the rest of this post, I’ll share some highlights, but I seriously encourage you to read the book for yourself.

More women in power

Sandberg makes the mission of her book very clear. She wants to see women in board rooms and the halls of Parliament, running companies and nations.

In the first chapter, she recounts hosting a dinner party for Leymah Gwobee, the winner of the 2011 Nobel Prize winning activist. Gwobee had helped lead women’s protests that toppled the dictatorship in Liberia and was asked what the best way to help her people and fight the mistreatment of women.

Her answer: “More women in power.”

Sandberg writes this book from a moral imperative. She wants to help ambitious women succeed, not just for their own sake, but to bolster the conditions of women across the globe.

Sitting at the Table

A phrase that frequently appears in Lean In is “sitting at the table.” Sandberg recounts a story of hosting a number of Silicon Valley executives along with Tim Geithnier, the Secretary Treasurer, and his staff at Facebook. While all the executives sat at the main table, Geithnier’s all-female staff seated themselves in chairs along the side of the room.

Sandberg was surprised and waved them over. They demurred and refused to “sit at the table”. Women often are unwilling to jump into the action, Sandberg claims, and this holds them back from moving their career forward and making their voices heard.

She says this not disparagingly from up high, but from the perspective of a woman who has sat on the sidelines herself more than once, and often feels doubts about her position as one of “the most powerful women in the world.”

Confidence versus Caution

There seems to be a disparity in how men and women value their abilities and approach job hunting. According to data from recent graduates at Northwestern, males were 8x more likely to negotiate their salary than women. At Hewlett-Packard, an internal report found that while men apply for open jobs if they think they meet about 60 percent of requirements, while women are more cautious and won’t apply unless they think they meet 100 percent of the criteria.

In the book, Sandberg shared her thoughts on negotiating once she received her COO offer from Facebook:

“My husband, Dave, kept telling me to negotiate, but I was afraid of doing anything that might botch the deal. I could play hardball, but then maybe Mark would not want to work with me. Was it worth it when I knew that ultimately I was going to accept the offer? I concluded it was not.” [3]

In discussing this post with a former female coworker, she told me how one time, after receiving a generous offer from a new employer, she made the decision to negotiate. However, her own mother actually tried to dissuade her from negotiating, saying “It’s already a such a high offer! Don’t push it!”

Ultimately she negotiated a better offer and accepted the position (woot!), but I thought this was a poignant example of how women are often discouraged from negotiating — a message rarely given to men.

Competent women lose points on likability

Sandberg cites a tremendous wealth of research around gender bias: the most memorable example is involved a real-life business case study about a take-charge entrepreneur/venture capitalist named Heidi Roizen. In 2003, some Columbia business school professors had their class read the case study, but half the students got a version of the case with “Howard” switched for “Heidi.”

When polled, students found both Heidi and Howard equally competent, but Howard appeared to be a more appealing colleague. Both men and women felt that Heidi was more selfish and “not the type of person you would want to hire or work for.” This is a very clear example of gender bias: the students read the exact same case!

“When a woman excels at her job, both male and female coworkers will remark that she may be accomplishing a lot but is “not as well-liked by her peers.” She is probably also “too aggressive,” “not a team player,” “a bit political,” “can’t be trusted,” or “difficult.” At least, those are all things that have been said about me and almost every senior woman I know.”

When you want to become C-level executive, having the support of your peers is crucial, and we must be aware of how competent women lose points for likability. This is the double whammy that makes it hard for women to advocate for themselves: because they’ll be docked points for seeming “too aggressive”.

When Sandberg finally did negotiate with Zuckerberg around her offer, she did it in a friendly manner, emphasizing that as COO, she would be doing Facebook’s deals and of course needed to demonstrate her ability to be a good negotiator.

Forming truly equal partnerships

“I truly believe that the single most important career decision that a woman makes is whether she will have a life partner and who that partner is. I don’t know of one woman in a leadership position whose life partner is not fully— and I mean fully— supportive of her career.”

To get more women into power, they shouldn’t have to decide between raising families or advancing careers. [4] There has to be a way to do both.

On this point, Sandberg wants women to ask for truly equal partnerships (if they have a partner) and for men to respond and deliver on an equal partnership. In households where both men and women work full-time, women still do 30% more housework and and 40% more childcare than men. It is unsurprising then that women might feel more burdened by their jobs and struggle more professionally, as they just have a higher total workload than men.

And just in case you feel annoyed by Sandberg’s wealth and ability to hire nannies, note this anecdote:

“When I went back to my job after giving birth, other working mothers told me to prepare for the day that my son would cry for his nanny. Sure enough, when he was about eleven months old, he was crawling on the floor of his room and put his knee down on a toy. He looked up for help, crying, and reached for her instead of me. It pierced my heart…”

Being a working mom is hard, no matter who you are and while Sandberg has lots of money, it does not buy her unlimited maternal bliss.

Closing Thoughts

This book covers a lot of ground: Sandberg also discusses mentorship, taking initiative, seeking growth opportunities, stay at home dads, and a host of other topics. I’ve just scratched the surface with this blog post. I especially encourage men to read it because even if you think you’re “gender-neutral” [4] , I bet this book will led you to change the way you do things.

Here are some very unflattering examples of how Lean In has been relevant for me:

  • When discussing the business career prospects of a girl I knew growing up, I made an offhand remark that “it probably doesn’t hurt that she is an attractive Asian female.” I’m mortified those words escaped by lips, but even more disappointed that this line of reasoning made any sense even in my head.
  • When having a coffee meeting (not a date!) with a female I had previously only talked with online, I found myself wondering if the meeting was going well because she wasn’t smiling or sharing very much. Then I wondered if I would have the same concerns if I was meeting with a man. Probably not.
  • When I’m in conversation with any group that includes women, I am much more cognizant of how often I interrupt/talk over men vs women.

Lean In is an important book that should be read by men and women, in tech and beyond. Having more women in power will help unlock the abilities and contributions of a significant proportion of society that is often under appreciated. And making sure that talent surfaces and worthy ideas are heard is good news for all of us.

Thanks to Winnie Kao, Christine Yen, Margot Leong and Kat Li for reading drafts of this and Christine Lan for helping shape my thinking on this subject.

Footnotes

[1] This is an affiliate link. If you buy this book on Amazon, I’ll get a few cents.

[2] To address those claims directly:

  • Blaming women: Sandberg acknowledges there is a chicken-and-egg issue with gender inequality, with external barriers and internal ones. As a woman who’s struggled with these internal barriers and an executive who’s seen hundreds of women struggle as well, she’s chosen to focus this book on the internal ones, without denying there are significant societal problems that prevent gender equality.
  • Unrealistic advice from a wealthy elite: while it’s true that Sandberg has more money, power and connections than your typical working woman, she routinely discusses her own struggles before she became one of the most powerful women in the world, and she also shares stories from younger, “more typical” women she’s mentored and how they’ve leaned in. Additionally, she shares some of her more recent struggles of being a professional and a mom. In my opinion, the fact that Sheryl-fucking-Sandberg, the TED-talking COO of Facebook, still sometimes cries at work over issues that probably relate to her gender go a long way in underscoring the far greater difficulties that “regular” working women must overcome.
  • Dismisses working moms: simply not true. First she says she’s grateful to the many volunteers, who are mostly mothers, that sustain our schools, nonprofits and communities, and calls for working mothers to “regard mothers who work inside the home as real workers.” She describes many of the painful the trade-offs she’s made as a mother in order to work full-time and recognizes it’s not a path everyone would want to choose.

[3] Sandberg ultimately decided to negotiate only after her brother-in-law made a striking point about how no man at this level would ever accept the first offer. [4] Sandberg makes it clear that not every woman wants to be a working mom, and that some people find full-time motherhood deeply fulfilling and she honors that. She does point out though that the more you can achieve before stepping away to bear your child, the more likely you’ll want to return to the workforce because you could have an exciting career lined up.

[4] Actually, people who claim to have no bias are actually more likely to be biased, according to research Sandberg cites in Lean In. So people who think they’re gender-blind may need this book the most.

“When evaluating identically described male and female candidates for the job of police chief, respondents who claimed to be the most impartial actually exhibited more bias in favor of male candidates. This is not just counterproductive but deeply dangerous.”

I am writing a book called Winning Isn't Normal. Check it out.

Related Posts:

Running a Fast Mile

Can’t see the video? Click through to the post.

I’ve never been a particularly fast runner and even after training for and completing a marathon, I’m still pretty slow. So my March Fitness Challenge is a single mile.

A mile is 1609 meters, about 30 feet more than 4 laps around a standard track, which is 400m on the inside lane. I did my test run on March 1st and surprised myself by running it in 6m 50s. My friend Jason Evanish, who ran cross country  in high school and ran something like a 4:45 mile, gave me me some tips on training for a fast mile. Maybe not revolutionary stuff, but as someone used to training shorter distances, it was helpful:

  • Intervals workouts: run 1 laps at the track at your goal pace (mine is 6min, so slightly under 1:30 for the single lap). Repeat 4-8 times, with a few minutes of rest in between. Last one should really hurt. Once or twice a week.
  • Longer runs: 4-5 mile runs, don’t worry as much about time, just get some endurance in
  • Fartleks: Swedish for “speed play”, this is something inbetween intervals and long runs, a mix of easy running, with bursts of faster pace interspersed. I’ve read a lot about these and need to actually try doing them
  • Swinging arms: it’s important to swing your arms straight forward and not cross your arms across your body, which wastes energy. Also, swing your arms back hard enough that your hands meet your hips. This opens up your chest so you can breathe better.

I’ve been trying to follow his advice and also modifying my workout routine a bit: doing heavy lifting only one time a week, down from two (which helped for improving handstand pushups) and doing moderate biking on the days I don’t run or do track workouts.

The month is already over half over so we’ll see how it goes. I’m hoping to crack a 6 minute mile. Let me know if you have any other tips or advice for me in the comments.

Lap one of four

Edit – Final Mile Time

So I finished my mile challenge with about a 20 second drop, from 6:50 to 6:30. I was hoping to drop it further, to the low 6 minutes and perhaps even break into 5, but it was not going to happen.

The day was a little cool and I wasn’t feeling my best, but you just gotta make the most of testing day. Was definitely wiped at the end. My friend Jason tells me a 20 second drop is pretty good for a month, probably because when you’re training a ton like he was, you didn’t see drops that big, that quick.

Anyway, here it is!

I am writing a book called Winning Isn't Normal. Check it out.

Related Posts: