Saturday, March 23, 2013
Review: Wool
The book is an addictive read. The traditions of serial writing are clear, and Howey is a master of them: keep the cliffhangers coming quickly and in rapid succession, and never leave the reader in a state where he can get a breath in to get distracted by other pressing matters. The characters are wooden and there's next to no character development, but the world of an underground Silo following some sort of catastrophe (what exactly happened is never revealed, but we do learn that it's man-made) is the main focus, and the reveal happens at a pace that's compelling and fun to read.
SPOILERS FOLLOW
What the book isn't, however, is great science fiction. There are too many plot-holes and things that don't make sense. For instance, the great villain is the head of IT, and we read about the mysterious PACT and that power for servers make up for the biggest power draw on the generators. This makes no sense, since as far as I can tell, there's nothing for those servers to actually do. If all you need is for the servers to store data, they can do their job just as easily powered down as up, and there's no reason for them to draw power. Furthermore, Howey clearly has no idea of the kind of machinery and equipment needed to run modern equipment. Even the manufacture of a single hard drive or flash chip requires factories and a sequence of production steps far larger than the Silos described. Most science fiction novels have characters as wooden as what you'll find in Wool, but most science fiction novels have much better science.
If you can ignore these huge gaping plot-holes (big enough to drive a Google data-center through), however, the book is a fun read. It's the perfect airplane novel, and I can therefore recommend it as such. I expect to buy Howey's other books before my next long flight.
Thursday, March 21, 2013
PSA: Do take the undergraduate compilers class
If you're a Cal student, I have very specific knowledge of the classes offered. Once upon a time, CS 162 (Operating Systems) and CS 164 (Compilers) were considered core classes in the CS curriculum. They were required of all CS graduates. In this day of "applications first" approach to CS, CS 162 is still required but CS 164 is now optional.
From the perspective of a hiring manager, however, taking CS164 early in your undergraduate career signals several very positive things:
- You're not intimidated by challenging classes that require lots of coding. The ability to do well in CS 164 depends very much on your ability to utilize tools, write a lot of code, and test and debug at a meta-level that none of the other classes require.
- You're not satisfied with understanding computers at the topmost abstraction layers. You want to dig beneath the abstraction layer of a programming language and understand how they work, down to the point of producing assembly for the machine to execute. The reason CS162 and CS164 were required in the past was that digging beneath those abstraction layers was highly prized for anyone doing any kind of work. (CS152 is very nice as well, since you now get down to the logic layer --- knowing how to do anything at the transistor level isn't necessary, but it's also useful)
- CS164 requires full use of almost all data structures you were taught in your data structures class. You'll build parse trees. You'll use symbol tables. You'll need to walk trees and do type-checking. CS164 integrates all the knowledge you got from data structures. Getting this in early in your career will only benefit you.
- People who take CS164 will not balk at writing a parser, or even designing a whole new programming language or DSL in order to better solve a problem. This approach of meta-programming (or Meta-Object Protocols) is very useful and the skills necessary to implement it in a non-LISP environment are only available for people who know how to write compilers and other language translators.
So for those at Cal: take CS162 and 164 as early as you can. For those elsewhere, please don't neglect your systems classes. They'll make you stronger engineers.
Wednesday, March 20, 2013
Review: The Signal and The Noise
What comes through the book is Silver's humility --- he claims that he was extremely successful because political predictions as set by TV pundits and Fox News sets a particularly low bar that's easy to beat if you just do a pretty good job. Note that Silver's models, however, beat the so-called prediction markets like InTrade, for instance, which means that not only did Silver beat the TV pundits, but he also beat fairly size-able markets with real money sitting on the line.
What's fascinating about the book is we see how Silver sees the world through the prediction lens. He even treats Chess as a prediction problem, and his write-up of the Kasparov vs. Deep Blue matches gave me insight into the matches that I didn't know prior to reading his book.
Silver also covers epidemic modeling, weather forecasting (including hurricane forecasts), earthquakes, stock markets, economic bubbles, sports, poker, and global climate change. His explanation of Bayesian reasoning, its' history, and application in the modern world is as clear and enlightening as any I've seen, and his considered understanding of our prediction failures is profound and insightful. Fundamentally, weather forecasting has been the most successful of the disciplines examined in the book, and Silver explains why.
The biggest weakness of the book is one that a perceptive reader will see as a theme over and over again. Fundamentally market incentives skew predictions. For instance, the political pundits have incentives to make big predictions and tell stories that are wrong, because they're more entertaining to the masses than Silver's nuanced analysis. Economists, mutual fund managers, and all have incentives to be wrong conventionally than to be right unconventionally. It is because of these distortionary effects that many of our predictions fail, rather than because we do not have the tools to do the job correctly, or because Bayesian reasoning isn't widely utilized.
Having said that, the book is fascinating, interesting, and enlightening. It's the best book I've read all year, and hence comes highly recommended.
Sunday, March 17, 2013
Review: Teach Your Children Well
These include overly packed schedules, worrying about bullying and cyber-bullying, whether they're the best piano player and able to get into Carnegie Hall, etc., etc.
Madeline Levine advocates taking a holistic approach to the child, noting that it's far better for children to grow up to be good people rather than necessarily great mathematicians, engineers, doctors, or artists. She clearly lives in San Francisco, where most parents worry much more about their children's math classes than their ability to draw or play sports.
While Levine clearly has a good heart, I'm not sure her book can be very effective. It's one thing for her and her patients to abandon the rat race or paper chase, but unless/until society values ethics more than a big paycheck, the bankers on wall street will still command more respect than the people who did not cheat. That's what's driving society, and it has nothing to do with parents being pushy.
What's more, as I've noted over and over again on this blog, the world just simply does not need more English major journalists. Such journalists and writers actually do more harm to the topics they cover than if they did not exist, and I'm not sure a society should value such work. So to that extent I agree far more with the parents who think that their daughters should actually work hard at Math rather than say, "But I'm so much better at fashion."
I wanted to recommend this book. I certainly have no intention of pushing my son into things he doesn't like for the sake of being able to brag about piano recitals or other some such nonsense. But the entire book reeks of privilege and Levine lives in a society full of trust fund babies and people who not only have therapists but also have multiple therapists for their children. Such children will live in privilege regardless of how little Math they do and how little Science they know. But children of immigrants will have no such luxuries, and if you come from such a background you might find Levine's stories and anecdotes more than a little detached from reality. Hence: not recommended.
Saturday, March 16, 2013
Wharton Business School Presentation
One question that came up was where can you learn to code? While I'm not a big fan of the various programming boot camps for professional programmers, for MBAs, it could very well be just the thing. The school itself had fantastic facilities, and the lecture hall was the best room I'd ever given a presentation in, with stadium-style seating and the lecturer standing in the pit subject to questions all around. Definitely an experience to be had.
As usual, the above slides are sanitized for public consumption. The presentation given to the business school students is a lot more peppered with interesting case studies from industry. Having said that, with my new full time job, my time for speaking engagements is a lot more limited and I will curtail them going forward.
Friday, March 08, 2013
Review: How Children Succeed
We get a smattering of mention of various studies, culminating in an introduction to the Tools of the Mind program. Strangely enough, my affluent neighborhood is full of Kumion cram schools as well as Montessori specialty kindergartens, but nobody brags about their Tools of the Mind curriculum. It's very likely that the tools of self-discipline, planning, and taking action is cultivated by upper middle class households as a matter of course, though one would think that something like Tools of the Mind would be useful no matter which strata of society you come from.
We don't get any expositions of music prodigies (thank goodness!), but instead get a long chapter about one teacher's attempt to successfully teach her disadvantaged kids to play chess and beat the upper class private schools in competition. It's a mesmerizing read, and worth your time. The punchline is that she coaches one of her star chess players on academics and absolutely fails to make a dent, showing you that success in one aspect of life doesn't get you far anywhere else.
Does this book teach you something you don't already know? Not really. It's a typical English major book, lacking pointers to studies as well as deep interviews with people who explore the development of executive function in children. But it's worth reading anyway. Recommended.
Thursday, February 21, 2013
Internships
I've led internship programs at Mpath and Google, and each time I've defied conventional wisdom. Mike Danylchuk, Alex Murkes and Carolynne Surfleet all interned for me at Mpath, and they did tremendous amounts of work. Both Alex and Mike converted to become full time employees, and were immensely productive.
At Google, Stephen Chen, Phil Sung, Matei Zaharia, and Nikola Postolov all interned for me at Google. All 4 were immensely productive, and Stephen and Phil eventually became Google employees. All these engineers made huge contributions to their projects, and more than paid for their training time.
I attribute my past successes at hiring interns and managing them to two factors:
- I don't lower my standards when hiring interns. I interview and apply the same metrics to interns as I do to full time employees. You can do this if you focus on fundamental computer science and coding problems during your interviews.
- I don't give interns "make work" or insignificant work. I put them on high risk projects with complete ownership of a project from end-to-end. They do the design, they code, they test, and they deploy. The sense of ownership and satisfaction with the end result gives them a hugely positive experience. This doesn't mean I just let them do their thing --- I provide design reviews and code reviews, and I provide suggestions as to which projects would be good uses of their time and talents, but providing autonomy is the key to engineering happiness.
- Putting interns on demoware, code that effectively would have to be thrown away if the data input ever had to change.
- Having interns pair program with each other, relieving the mentor of the need to code review or provide feedback to the interns. Unfortunately, this also meant the intern supervisor had no clue how his interns were doing, and whether they would be a worthy hire.
- Writing glowing reviews for an intern who did very little or next to no work (had no checkins into the source control system).
Saturday, February 16, 2013
Long Term Review: Republic Wireless
At my new job, however, I have no desk phone, but excellent wifi, which meant that the wifi calling feature that Republic Wireless offers is what I depend on day in day out in order to take and make phone calls from the office. While those calls aren't as often as you might expect, they still happen on a regular basis, and usually when they happen I need to take them, rather than have them go to voice mail.
The unlimited data has also come in very handy over time --- given the size of web pages nowadays, even a few minutes of surfing can run well over 100MB of data, which would pop you over to the next tier on Ting. Given that I occasionally walk to work (a 30 minute journey each way), having access to data means I can stream wireless music or use TuneIn to pick up KQED or other radio station, which has been very nice whenever I do walk to work.
Most people aren't as cheap as I am when it comes to phone plans, but $19/month unlimited voice/data/text is almost too good to be true, and I for one hope that Republic Wireless succeeds in their quest to change the way cell phones work. For most people in Silicon Valley, I'd venture to say that Republic Wireless' plan would be exactly what they want. I can't wait for them to introduce better phones and I for one am surprised that such a game changing startup is happening outside of Silicon Valley.
Highly Recommended.
Review: The Amazing Spiderman 2012
Unfortunately, The Amazing Spiderman just cannot live up to those standards. If the other movies didn't exist, this one might be barely acceptable. First of all, Andrew Garfield just does not pull of Peter Parker very well. He's too stylish and good looking for someone who's supposed to play an awkward nerd who's frequently bullied. Emma Stone did portray a smart and spunky Gwen Stacy, and I was pleased with the way her father, Captain Stacy was portrayed.
Gone, however, is the strong sense of morality that Spiderman always had. Gone is the motto, "With Great Power Comes Great Responsibility." Gone is the closure that Peter Parker had when he caught the crook who'd killed Uncle Ben and discovered that his apathy had cost the life of a loved one. Instead we have a murky sense of betrayal that Parker was orphaned, and a villain who's transformation into one makes no sense in either plot or moral sensibility. Just as badly done: Parker's second job as a photographer is gone --- he now comes off as a freeloading high schooler with an attitude problem rather than the likable nerd with a secret.
I don't regret the time spent watching the movie, but I do regret that the stars/director who made my favorite superhero series asked for so much money that the franchise got rebooted early and we ended up with a lousy Peter Parker. I definitely would pass on watching the sequel in the theaters.
Monday, February 11, 2013
Review: Suzanne Vega @ Villa Montalvo
- The Mountain Winery in Saratoga
- Villa Montalvo's Carriage House and Theater
- The Warfield in San Francisco
- The Oprheum in San Francisco
- The Greek Theatre in Berkeley
When I saw that Suzanne Vega was going to be live at the Carriage House in February 9th, I made it a point to bring my wife to it. I'd never seen her live before, but I liked her introverted lyrics and my wife thought she was good after watching some videos on YouTube.
Vega did not disappoint. Her second song on the set, Small Blue Thing, blew me away. I had heard the song on CD before, but it did not had the impact the live performance had. I said "wow, that's beautiful to my wife" and then heard someone else in the audience say loudly, "Wow!" The rest of the concert went by in a trance, with Vega playing some new songs mixed in with some old favorites.
It did not come off without a hitch. In particular, my favorite song of hers, The Queen and the Soldier was marred by her coughing in the middle and then having to regain her place with the help of the audience. I also felt the non-a capella version of Tom's Diner was too distracted by the electric guitar. Nevertheless, most arrangements were just her accompanied by an electric guitarist, so you couldn't accuse the concert of being overly elaborated or over-produced.
I had a great time, and if you get a chance to see her in an intimate venue while she's on tour, I highly recommend doing so.
Sunday, February 10, 2013
First Impressions: Ting Galaxy Note 2
Ting's plan charges $6/device, and then $3/month for 100 minutes and $3/month for 100MB, with a gradually decreasing cost as you consumer more data or more minutes. In the extreme, if you're fond of using uncapped data for viewing videos or streaming music, then you're likely to pay more. However, Bay Area professionals live in a wifi zone at home, and have access to wifi at work, so are very unlikely to stream large amounts of data during the course of a typical non-travel month. In practice, my wife uses $12 worth of Ting service a month.
The phone's screen is huge and a delight. It's also fast. While both Ting and Republic Wireless ostensibly resell Sprint's service, on head to head comparison there's no doubt that for whatever reason, the Galaxy Note 2's faster when loading web pages over 3G. The battery life is also incredible --- my wife usually gets at least 2 days a charge, and it's gotten to the point where she frequently forgets to charge the phone because it so rarely needs it.
The UI is wonky and strange if you're used to Nexus devices. There's all sorts of switches and sliders for controlling data usage, and we got a bit too aggressive at first with turning off background data, and then discovered that Google Navigation didn't work if you got that aggressive. Backing off that aggressiveness a bit and we ended up with very parsimonious use of data yet all the usual services worked (push e-mail, navigation, etc).
Samsung's also been very good about supporting users: soon after getting the device, there was an offer for a free Flip Cover as well as a free 5-pack of TecTiles in order to take advantage of the NFC built into the phone. I doubt very much that my wife will ever get conversant enough with phone technology in order to use it, but it still speaks volumes as to Samsung's support.
All in all, having used the phone for more than a month and getting $12/month of use out of it, I'm very impressed and can recommend the phone and service package to anyone who's lusting after a fast phone.
Friday, February 08, 2013
Review: The Best American Science & Nature Writing
The most chilling story in the collection is the one on global atmospheric pollution --- fundamentally the scale of China's pollution into the atmosphere can only be believed by measuring it from Washington and Oregon's mountains. I also enjoyed the article about growing meat in laboratories
Perhaps one reason the articles are less interesting is because Ariely finds the geeky internet stuff interesting while perhaps I do not as much. The articles on Bitcoin and the Turing test would be interesting if you're not a computer scientist. The hero-worshiping article about Nathan Myhrvold's $400+ book on Modernist Cuisine is also not what I would have expected in this book.
Nevertheless, every article is good reading and a lot of fun. Recommended.
Startup Engineering Management visits Wharton School of Business in San Francisco
The talk will happen in Wharton's San Francisco campus on Saturday, March 16th around noon. (Yes, it's a weekend MBA program) The talk will be directed towards MBA students who are mostly not technical. Hence, it will be about "attracting, recruiting, retaining, and keeping engineers happy at a startup." The school of business has about 30 free spaces available for non-MBA students who are interested in Wharton's MBA program to attend, in addition to its current students who may attend the talk.
If you're interested in going to the talk, please send e-mail to James Kilpatrick telling him you want to attend the talk, and he'll send you the details if there's enough room. Those attending the talk from outside will need to stay fora short admissions information session with Director of admissions Katherine Lilygren.
Sunday, February 03, 2013
Publishing Milestone: Piracy!
Different self-published authors have different approaches to the piracy problem. Gayle McDowell's best-selling Cracking the Coding Interview, for instance, has been so frequently pirated in India that she had no choice but to stop selling electronic copies of her book and only sell paperbacks on Amazon with a special cheaper edition for the Indian market. The externalities are clear: the pirate gains access to the book, but the rest of us lose the convenience of buying an electronic book.
For now, the indications are that my books haven't encountered runaway piracy (in India or other places), so I won't be taking any measures that drastic. However, if it does happen, I expect to have to take measures similar to what Gayle's been forced to take.
Sunday, January 20, 2013
The "Science" in Computer Science
If you read Thomas Kuhn's The Structure of Scientific Revolutions, however, there is a sense in which Computer Science is a science. Consider the construction of a program to be a sociological construction of a theory about how best to approach a problem. You start out with version 1, which solves some portion of a problem. Later on, as the problem is better understood through the lens of your theory (i.e., your users start using your program and start providing you with feedback), you tinker with your theory to make it better fit the evidence (user feedback or market feedback). As a result, your program becomes more complicated and your program's structure (theory) starts to show it's datedness. When things go to a head, however, you either refactor or rewrite all the offending crufty code, throwing it away and replacing it with a new program (theory )that accommodates all the evidence to date. This is equivalent to perhaps relativity supplanting Newtonian physics. Note that the analogy even holds here --- old versions of your program continue to work, but the newer program (better theory) is more elegant, and fits better with the problem space. If your rewrite fails, the result is less useful than the previous version and society refuses to adopt your new program. For instance, Vista was not widely adopted and most users stayed on Windows XP instead.
There's even space in there for unit tests and systems tests: those tests are the empirical experiments by which you attempt to prove that your theory (program) works. In effect, when writing tests, you're trying to prove that your theory about how the problem should be solved is wrong. If you have the resources, you might even want such experiments be run/written by a third party, so they have no cognitive biases with which to approach the problem.
Obviously, this view of software engineering as actually "doing science" can only be carried up to a limit, but I find it to be an interesting analogy, and would be interested in hearing your thoughts.
Friday, January 11, 2013
Review: Odd and the Frost Giants
The book's got beautiful language, and has lots of little scenes that are funny. You could imagine a Disney movie made from the book. I enjoyed the character of Odd, the little boy who kept up a great attitude no matter how tough a life fortune hands him. The story has a slow, lilting dream-like cadence, and the events unfurl smoothly and naturally.
All in all, a short book and a quick read. Recommended.
Sunday, January 06, 2013
My New Job
- "I can't imagine staying home to feed the cats and watch TV." Those folks couldn't be more wrong. I don't have any cats, and I barely had time to finish a couple of video games, let alone watch TV. Instead, I wrote 3 books, traveled a lot, started a consulting business, got married, had a baby, and in general lived a pretty good life that never left me feeling bored or unfulfilled. My personal experience is that the kind of people who make those statements are people lacking in imagination: they can't imagine leading a self-directed life, so they imagine a life of boredom if they left work.
- "You're too young to retire, you'll be back at work." They were partly right. Writing books is significant work, and my consulting business was also work, as is getting married and coping with baby.
- "Would you ever consider leaving retirement?" My response was "Of course, for an appropriate role and an opportunity that gets me excited enough."
Yes, Quark Games does have job openings, including engineering positions. All engineers will report to me, so if you've enjoyed working with me in the past or you know my management philosophy and like it, consider applying for a job!
Wednesday, January 02, 2013
Long Term Review: Resmed Swift FX Nasal Pillow System
Tuesday, January 01, 2013
Review: The Perfect Woman
The Perfect Woman sounds like a self-help book or some kind of romance, but is actually a police procedural. The novel revolves around two detectives, John Stalling and Tony Mazzeretti, who are rivals on the police force. When a serial killer goes on the loose, the two men are put together on the same team.
Stalling is clearly the book's protagonist, and the novel portrays a police detective's attempt to balance his life, his past, and his obsession with work and keeping killers off the street. Mazzeretti's a less well-rounded character, but as the story unfolds we begin to see the person behind the facade.
Unlike many police procedural, the novel gives you a clear idea of who the killer is right at the start, hence the novel reads more like a suspense genre book than a detective novel. The question is whether the police will catch the killer before he nabs another victim.
While a more than slightly entertaining first novel, there are moments when it feels like the author tried to cram more into the book in the name of "character development". I didn't feel my time was wasted reading the novel, but it didn't give me much that Silence of the Lambs didn't, for instance. But if you enjoyed that novel, I see no reason why you wouldn't enjoy this one. Mildly recommended as an airplane novel.
Monday, December 31, 2012
Review: Ted the Movie
Well, there's some of that going on, and the movie seemed loosely edited without the feel of the tight pacing required to keep you from one laugh to another. Ted, however, looks great, and moves realistically, if such is possible for an animated Teddy bear. The plot while cliched, is a lot of fun. It's a pity the dialog doesn't live up to the plot, actors, and characters --- they almost always feel forced.
For $1.99, however, I felt like I enjoyed the movie enough to recommend it. Just don't go in expecting it to be great. But hey, if you ever grew up talking to your stuffed animals, you should watch it.