This is franklinchen's TypePad Profile.
Join TypePad and start following franklinchen's activity
franklinchen
Pittsburgh
Recent Activity
My comment and alternate implementation: http://franklinchen.com/blog/2013/02/15/why-flatten-a-tree-when-you-can-just-traverse-it/
Subtree Selection with Flatten/Select
Trees are wonderful data structures, but traversing them can often be a pain. You can use recursion, as you long as you are confident that you won't overflow your stack. But, if you want to do anything non trivial when you've found the nodes you care about, it can be hard to keep that work sep...
I have a very short commute (less than 10 minutes each way if I drive; 20 minutes if I run), and deliberately so. It is unimaginable to me to lose time from a long commute (and the emotional and mental stress is even worse, not to speak of inhaling poor air and being physically inactive). Obviously, there are huge trade-offs involved, but my priorities are clear and I don't complain about the down sides of living in the city very close to work. Everyone has to make their own choices. The problem is that I think a lot of people are deluding themselves about how tolerable a long commute actually is.
What to Consider Before You Take a Job with a Long Commute
US News posts four things you need to ask yourself before you take a job with a long commute as follows: 1. Can you afford the costs? 2. Is the job really worth it? 3. Can you handle it? 4. Will it eliminate a lot of your free time? Here are my thoughts on these: The question about cost...
franklinchen is now following The Typepad Team
Oct 24, 2011
Subscribe to franklinchen’s Recent Activity
