HNHacker News
TopNewBestAskShowJobs

henryw

688 karma · joined March 14, 2007

Hi

henryfw [at] gmail linkedin.com/in/henryfw

submissionscomments
henryw··on Ask HN: 50 job applications, 15 interviews, 7 onsites, and no offer – what next?
I just finished the book on audible. I highly recommend it. Here are my notes for it, but don't let this substitute the book.

Talent x effort = skill

Skill x effort = achievement

Grit is required in life. Watch out for claims of otherwise

Grit is not just working hard, but sticking to it for months. Doing what you love and staying in love.

There's a pyramid of goals. Concrete ones on the bottom, like getting up at 8am. As you move up, it gets more abstract. The very top one is the ultimate goal. Grit is holding the same ultimate goal without changing for a very long time.

Grit means doing mid and lower level support goals. "Positive fantasizing" (not focusing on lower and middle level goals) is people without grit do. Short term payoff is feeling good with long term cost of failing.

Story of Buffet's advise: write down 25 career goals. Circle top 5 and do them. Actively ignore others as distractions. Point is time is limited.

Expect to change low level goals. Keep the ultimate goal in mind. Improvise, adapt, overcome.

Grit grows. 70 year olds grittier than 20 year olds. Grit can change.

Grit stages: interest (love doing), practice to be better (improve) than yesterday for years (zero in on weakness), purpose so that work matters (to me and others), and hope (in every stage) so that we get up when knocked down.

People are happier and perform better when their work fit their interest.

Practice: set a stretch goal in one weak area. Seek out challenges not yet met. Seek feedback on what's wrong. Repeat.

Deliberate practice at most one hour at a time, 3-5 hours per day. Deliberate practice is not the same as flow. Challenge above skill level. Requires a lot of effort.

Grittier people experience more deliberate practice and flow. Practice is not supposed to be fun. More effortful practice is more enjoyable (thrill of getting better).

Flow is when not analyzing because most feedback are positive. Deliberate practice is for preparation and flow is for performance.

Quality of deliberate practice is more important than length. 3-5 max hours per day.

Develop a habit of practice, a routine. The author describes rereading last days draft to start off the day. If there's a routine, getting started to practice is easy to start.

Don't be ashamed to make errors. Important to practicing. Emotion-free mistake making.

Purpose starts off selfish, but later must effect other people. Evolutionary roots in both for happiness. People who cooperate are more likely to survive than loners.

Reflect how work help society.

Hope in grit means believing my effort will make tomorrow better. Own efforts can improve the future. I resolve to make tomorrow better.

It isn't suffering that leads to hopelessness, it is suffering that one cannot control.

The optimist are just as likely to encounter bad events as pessimists. But optimists search for temporary causes for the suffering. Pessimists assume permanent causes to blame.

Pessimists say "I'm a loser", a permanent situation. Optimists say "I mismanaged my time," fixable issues.

Pessimists more likely to be depressed and less healthy.

Optimists think of failures as lessons.

Subjective interpretation to objective events give rise to feelings.

CBT aims to treat by helping people to think more objectives by observing self talk and change the bad behavior.

When you keep searching for ways to better the situation, you stand a better chance of finding them. When you stop searching, you are guaranteed to not find them.

Failure is a cue to try harder.

No road is without bumps. Having a growth mindset (believe intelligence is changeable), you believe you can learn to do better. Growth mindset students are much grittier. The opposite is a fixed mindset about intelligence.

People who believe it is their effort rather than natural talent are grittier.

People often have both mindsets. It's important to watch self when slipped up and bring the right mindset.

Grittierness requires recognizing that people get better.

The quote "what doesn't kill us makes us stronger" is only partially true. Only by believing we are in control to try to make things better is it the case. Finding a way out of the suffering is what makes us stronger.

Growth mentality leads to optimistic self talk, leading to perseverance over adversity. Starts with belief of being able to improve intelligence, which is proven true. Next is to practice optimistic self talk.

Best parenting style is authoritative and supportive.

Students with 2 years of the same extracurricular activity has higher grit and success later in life.

Rats that have to work to get food last longer at other harder tasks. Learned industrialness. Applies to humans.

Use group conformity to build grit by being around gritty people.

henryw··on How the Hough Transform Was Invented (2009) [pdf]
Here's a slide on it https://s3.amazonaws.com/content.udacity-data.com/courses/ud...

Basically, it's used to find parameters to a model with sample data.

henryw··on Ask HN: Where do you go to get recruiters to find you a job?
I've gotten interviews from big companies using the job section of their official websites. Just make sure to spend some time on your resume.
henryw··on Upgrading Autopilot: Seeing the World in Radar
"This is where fleet learning comes in handy. Initially, the vehicle fleet will take no action except to note the position of road signs, bridges and other stationary objects, mapping the world according to radar."

Wow, glad to see that they are using big data and machine learning. If all those 400k orders go through, there will be a network effect in favor of Tesla.

henryw··on Google Fiber agrees to acquire Webpass
I paid $550 for a year up front. It's ~$55 per month on a monthly plan.
henryw··on Angular 2 versus React: There Will Be Blood
Don't forget to give Vue.js some love. It's simple to use, well documented, requires no setup, and extremely powerful.
henryw··on K-Nearest Neighbors from Scratch
Pretty neat for implementation used as a tutorial. A more industry standard implementation would probably use a tree of some type to reduce the space and search time. For example https://en.wikipedia.org/wiki/K-d_tree in http://scikit-learn.org/stable/modules/generated/sklearn.nei...
henryw··on Making 1M requests with Python-aiohttp
From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Even...:

JavaScript has a concurrency model based on an "event loop". This model is quite different than the model in other languages like C or Java.

...

A very interesting property of the event loop model is that JavaScript, unlike a lot of other languages, never blocks. Handling I/O is typically performed via events and callbacks, so when the application is waiting for an IndexedDB query to return or an XHR request to return, it can still process other things like user input.

henryw··on Making 1M requests with Python-aiohttp
Looks pretty interesting to do async on python. I once did something similar in node (async by default) with a few lines of code. I think I scraped 12 or 20 million real URLs in 8 hours on a $5 cloud VM. It was limited by network bandwidth.
henryw··on Java for Everything (2014)
After coding for awhile now, I've also developed a penchant for statically typed languages. I've been forcing myself to use TypeScript whenever coding JavaScript for the static typing.
henryw··on Swifton: Ruby on Rails-inspired web framework for Swift
It's Taylor Swift. Come on.
henryw··on PC Sales Drop to Historic Lows
Google link to see for non-subscribers: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...
henryw··on When Destructive Behavior Makes Biological Sense
This is a pretty insightful article. Summary:

There are two models of mammal reproduction strategies (fast and slow). The fast model are adopted when there's little control over a dangerous environment. Rabbits, who breed fast/frequently and die young, are examples. The slow model is adapted when the environment is secure. Elephants, who breed infrequently, are examples. People who grow up in dangerous environments (unstable/abusive) breed fast (ie teen pregnancies). They also tend to choose short term rewards over long term. The mentality of people in the fast model can be unlearned (ie 50 Cent).

henryw··on Defense Claims Courthouse Was Illegally Bugged
Google link to pass registration https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...
henryw··on McKinsey warns banks face wipeout in some financial services
Google redirect for those who can't see it: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...
henryw··on Inuit Study Adds Twist to Omega-3 Fatty Acids’ Health Story
Summary: "A study published on Thursday in the journal Science reported that the ancestors of the Inuit evolved unique genetic adaptations for metabolizing omega-3s and other fatty acids. Those gene variants had drastic effects on Inuit’s bodies, reducing their heights and weights.

... the discovery raised questions about whether omega-3 fats really were protective for everyone, despite decades of health advice. “The same diet may have different effects on different people,” he said."

henryw··on Why Elephants Don’t Explode: How Nature Solves Bigness
TLDR:

If you burrow down — all the way down — to a typical cell in an elephant, and then compare it to a typical cell in a mouse — amazingly, the two cells behave differently.

Elephant cells aren’t lazy. They’re always working, but compared to mouse cells, elephant cells typically do their job a little more slowly, burn less fuel to get the job done and, being more efficient, they run cooler.*

So that’s why elephants don’t spontaneously combust (and neither do we, much to Calvin’s relief.) An elephant is built from cooler stuff than a mouse. Even though an elephant has many, many more little heaters packed inside its body, each heater runs at a much lower setting.

henryw··on Ask HN: How are some people exceptionally productive?
I've read some wonderful responses, especially nostrademons's. I don't see "minimizing technical debt" on the page yet, so I would like to mention it. This would require discipline, having grasped some/all of the overall picture, and foresight/planning.
henryw··on Create a character voting app using React, Node.js, MongoDB and Socket.io
Looks pretty cool! I like the graphics. I think Meteor.js does this too, but with only one resume buzzword.
henryw··on Ask HN: Self-doubt, inferiority complex is killing me. How do I fix that?
I think these issues are normal for most people starting out. Just accept that there will be many challenges. With diligence and time, you will be able to conquer them all. Keep pushing yourself and eventually the hard stuff won't be hard anymore.

Accept that you will mistakes, and that it's okay to do so. Correct them and learn from them. Keep working and keep getting better. Your biggest competition is yourself in the past.

henryw··on Project Fi by Google
I have this plan too, but pay $15 ($45 total for 5gb) so I can tether to the iPhone.
henryw··on Show HN: View HN/Gmail/Hotmail/RSS/FB/IG/Twitter/more from one browser tab
OP here, the motivation for Feedhero is to allow users to view many different sources of content in one tab. I was tired of opening several tabs every morning to check out Hacker News, Gmail, Hotmail, Facebook, Instagram, and other sites.

Originally scheduled to be completed in 3 month, Feedhero took over a year to develop as a side project. Most of the time was spent integrating OAuth and repeatedly overhauling the UI. It is powered by Backbone, Rivets, Node, Memcache, and Mongo. All social media and email accounts are connected via OAuth.

I learned quite a bit during this process. If I were to do it over again, I would probably use a JS framework with native framework data binding and inline event handler declaration. Also, looking forward to Mongo 3.0 to be released for row level locking.

Mobile apps are coming soon using the same user accounts. I'm looking forward to writing in Swift. Feedhero would not have been possible if not for all the wonderful open source packages out there. Thanks for reading and any feedback is welcome.

henryw··on The Life of a PHP Developer
If Facebook can get Hack to go mainstream, PHP may have a second chance. But for now, it seems like PHP is dying. There are now 2x more Ruby jobs than PHP in the Bay Area. Here's a link to Google Trends for PHP

Worldwide: http://www.google.com/trends/explore#q=php%2C%20ruby%2C%20py...

US: http://www.google.com/trends/explore#q=php,+ruby,+python,+pe...

Bay Area: http://www.google.com/trends/explore#geo=807&q=php,+ruby,+py...

I have the most experience in PHP, but I've been purposefully avoiding it lately just in case it becomes Perl. I've been using Node lately and will probably start using Ruby.

henryw··on Software engineers should write
I've always admired the writing style in the Economist: http://www.economist.com/styleguide/introduction
henryw··on Ask HN: Pre-mature baldness, self confidence and networking
My old room takes Propecia to prevent hair loss. We were living in LA, and his doctor mentioned that many celebrites are on it. He was around 26 at the time. It has been working wonderfully for him.
henryw··on Show HN: RebilderU – Learn with a near perfect memory
This starts off similar to the "mind palace" from the BBC TV series Sherlock Holmes. And gets very detailed and interesting. http://en.wikipedia.org/wiki/Method_of_loci

From the site:

Step 1 - Find a place: We start by preparing your spatial memory. To do this, you need to choose an actual place or building that you’re very familiar with. This could be your home, work, school, or any place that you can close your eyes and imagine or "see" in detail ...

henryw··on Microsoft Near Deal to Buy Minecraft Maker Mojang
Just search "Microsoft Near Deal to Buy Minecraft Maker Mojang" and click the first link to see full article.
henryw··on Choosing the Right JavaScript Framework
Rivets.js can be added to backbone fairly easily to support 2 way binding.
henryw··on The garbage that could kill the human race
One takeaway point that I got:

Plastics, degraded to fine grains in the ocean, are consumed by as much as 50% of salt-water fish. Humans who eat the fish are suspected to experience the negative side effects of higher estrogen levels induced by the plastics.

https://d262ilb51hltx0.cloudfront.net/max/955/1*sdiSfUh0sAkP...

henryw··on Tinder's Forgotten Woman: Whitney Wolfe, Sexism, and Startup Creation Myths
Interesting that Tinder is owned by the company behind Match.com.
← PreviousPage 3 of 10Next →