As I've said on this blog before, sometimes I can't help but feel dumb at times as I see so much brilliant code being written out there.
But at the same time, I have to remember that it takes years to master certain skills and knowledge. I like to think people have looked at my code and think it's pretty nifty too :-)
Just the other day I was writing a simple python script for some personal use at home. I wanted it to do a few different things in it and at some point it occurred to me that I've never parsed command line options in a Python script before. I guess up to this point I'd only written Python scripts to do one simple thing or modified much larger bodies of code that others had started (i.e. I probably cut & pasted prior argument parsing code to add the option(s) I wanted).
I went online and started reading through the Python argparse documentation.
I suddenly paused and realized something.
About 17 years ago I was in my first internship in college. I was writing tools/commands in C to execute test code. I still remember reading the getopt manpage at one point because I had never actually done argument parsing in C before. The first time you see a string like "hVa:b:", it can be quite confusing.
About 14 years ago, in my first month of my first fulltime job after college, I was working on Genders. I remember reading about getopt_long because I had never dealt with long options in C before.
So I actually sat back and paused, realizing that I've learned a lot over the last 16 or so years. And sometimes when you feel dumb that you aren't an expert in one particular subject, you have to remember that the things you are more of an expert in, you had to read that documentation for the very first time at some point too.
Wednesday, June 22, 2016
Wednesday, June 15, 2016
Dating Websites Review
Recently an acquaintance asked me for my opinion on various dating websites, since I had tried a number of them over the years.
So I thought I'd write up my answer to her question.
eHarmony (used during 2009-2012) - In my opinion eHarmony's best feature is the fact it A) costs money and B) takes a lot of effort to use eHarmony.
The fact it costs money is a deterrent to many people, which limits some of the riffraff you get on some other (i.e. free) dating websites.
The fact it has a ton of questions and a long process to communicate with someone is just another barrier to remove people who aren't too serious.
So in other words, eHarmony requires you to put some more effort into it. Subsequently, most people on there are putting more effort into it. So when you hear in eHarmony's commercials that they lead to more marriages than any other dating website, it's not surprising. It's sort of a self fulfilling prophecy.
Not counting the above, one of the good things about eHarmony (atleast when I was on it) is they match you with people they think you'd get a long with. You don't just get a giant page of tons of people to sort through like on other sites. Going through people's profiles can be tiring, so limiting it to just the few that they think you'd like makes it easier.
OkCupid (used during 2013-2014) - In my opinion the best site. The fact it's free is a plus, but the question & answer portion of the website and its matching algorithm limits the potential of meeting weirdos. Unlike eHarmony, you can search and see every profile, so it can can be daunting. You'll want to limit the number of profiles you look through via their matching algorithm. Unlike eHarmony, anyone can message anyone. So along with the fact that OkCupid is free, there can be a lot of weirdos on there and you may get weird messages.
HowAboutWe (used 2014) - I like the principle of HowAboutWe but it didn't quite work out for me. On the website you propose "date ideas", which are hopefully fun hobbies/activities of yours or just interested in, and hopefully there are other like minded people out there that want to participate.
For me, I initially listed baseball games, but I didn't like the idea of spending 3 hours sitting next to someone on a first date at a ballgame. I thought of listing various foodie adventure ideas, but the cost seemed prohibitive (i.e. what if I only see them only once and they want me to pick up the tab on a $400 dollar dinner bill).
I think the website is a great idea and could work out for other people's hobbies/activities, but I think I didn't quite work out for me.
Craigslist (tried a few times pre 2009) - I never met anyone on Craigslist, but as you can see from my comments above, anything that doesn't have a barrier to entry (via money or the website itself) is just asking for trouble. I'm sure people on Craigslist get flooded with responses. Skip this at all costs.
Comment on Tinder - I never used Tinder, but I did try OkCupid's Tinder-like swipe right/left feature. While I am "a guy", I found the feature to be too superficial. I like to read atleast something about the person and not base it solely on the picture. So I don't think Tinder would have been for me. I imagine it won't be for many others.
So I thought I'd write up my answer to her question.
eHarmony (used during 2009-2012) - In my opinion eHarmony's best feature is the fact it A) costs money and B) takes a lot of effort to use eHarmony.
The fact it costs money is a deterrent to many people, which limits some of the riffraff you get on some other (i.e. free) dating websites.
The fact it has a ton of questions and a long process to communicate with someone is just another barrier to remove people who aren't too serious.
So in other words, eHarmony requires you to put some more effort into it. Subsequently, most people on there are putting more effort into it. So when you hear in eHarmony's commercials that they lead to more marriages than any other dating website, it's not surprising. It's sort of a self fulfilling prophecy.
Not counting the above, one of the good things about eHarmony (atleast when I was on it) is they match you with people they think you'd get a long with. You don't just get a giant page of tons of people to sort through like on other sites. Going through people's profiles can be tiring, so limiting it to just the few that they think you'd like makes it easier.
OkCupid (used during 2013-2014) - In my opinion the best site. The fact it's free is a plus, but the question & answer portion of the website and its matching algorithm limits the potential of meeting weirdos. Unlike eHarmony, you can search and see every profile, so it can can be daunting. You'll want to limit the number of profiles you look through via their matching algorithm. Unlike eHarmony, anyone can message anyone. So along with the fact that OkCupid is free, there can be a lot of weirdos on there and you may get weird messages.
HowAboutWe (used 2014) - I like the principle of HowAboutWe but it didn't quite work out for me. On the website you propose "date ideas", which are hopefully fun hobbies/activities of yours or just interested in, and hopefully there are other like minded people out there that want to participate.
For me, I initially listed baseball games, but I didn't like the idea of spending 3 hours sitting next to someone on a first date at a ballgame. I thought of listing various foodie adventure ideas, but the cost seemed prohibitive (i.e. what if I only see them only once and they want me to pick up the tab on a $400 dollar dinner bill).
I think the website is a great idea and could work out for other people's hobbies/activities, but I think I didn't quite work out for me.
Craigslist (tried a few times pre 2009) - I never met anyone on Craigslist, but as you can see from my comments above, anything that doesn't have a barrier to entry (via money or the website itself) is just asking for trouble. I'm sure people on Craigslist get flooded with responses. Skip this at all costs.
Comment on Tinder - I never used Tinder, but I did try OkCupid's Tinder-like swipe right/left feature. While I am "a guy", I found the feature to be too superficial. I like to read atleast something about the person and not base it solely on the picture. So I don't think Tinder would have been for me. I imagine it won't be for many others.
Tuesday, June 7, 2016
Trade Analysis: Willie McGee for Bob Sykes - Why did this trade even happen?
There have been some bad trades in baseball history. Obviously they are bad in hindsight, but looking back they made some sense at the time.
While the famed Ernie Broglio for Lou Brock trade was terrible for the Cubs and great for the Cardinals, you can understanding the reasoning of the trade at the time. Broglio was an established successful starting pitcher and Brock was a young player who hadn't quite figured things out. Did the Cubs know Broglio's best days were behind him? No. Did the Cardinals know Brock would turn into a Hall of Famer? Doubtful as well.
Likewise with the Jeff Bagwell for Larry Andersen trade. Did the Boston Red Sox think Jeff Bagwell, a player who hit 4 home runs in AA in 1990, would become aborderline Hall of Fame slugging first baseman? Nope. But they did trade Bagwell for a veteran reliever who had a 1.95 ERA in 1990 to help their playoff chances. He pitched well for them, with a 1.23 ERA over 22 innings at the end of the year. The reasoning for the trade made some sense at the time.
However, I was recently looking at the 1981 trade of Willie McGee for Bob Sykes, and can't help but wonder how this trade even went down. It just doesn't make any sense.
In 1981 McGee was a relatively high value prospect. He was the 15th pick overall in the 1977 draft. In 1981 in AA he hit .322/.360/.454. Pretty darn good. He went on to be one of the best centerfielders in baseball in the 1980s. He reached the World Series four times, was a three time Gold Glover, four time All Star, won the NL batting title in 1985 & 1990, and also won the NL MVP in 1985.
Bob Sykes was a 19th round draft pick of the Tigers in 1977. He couldn't quite turn the corner in the majors. He had a 4.65 ERA in his career and was eventually demoted to the bullpen of the Cardinals in 1981. He didn't perform that great in the bullpen with a 4.58 ERA in 1981. After being traded, he never pitched an inning in baseball again. AFAICT, he was never a high level prospect. He had a respectable career ERA of 3.01 in AA, but that balloons up to 4.83 in AAA.
So in hindsight, this trade was terrible for the Yankees and great for the Cardinals. However, why did this trade even happen?
We have a first round draft pick who is performing quite well in the minors.
And we have a middle reliever who doesn't seem to be doing that well in the majors and doesn't have an elite prospect status from the past.
They seem like perfect trade targets for each other??
This trade is hard to make sense in any way. Even if the Yankees had reasons to trade McGee, surely they could have gotten something better in value?
Obviously some context can be lost over the last 35 years to understand why. But it's one of the worst trades in baseball I can recall and just can't make any sense of.
Update 6/19/2017:
I was thinking about this and found this old Nytimes article: Cardinals' Willie McGee is Not 'E.T.'.
In it it states:
But I found this nugget fascinating:
Some context is still lost.
While the famed Ernie Broglio for Lou Brock trade was terrible for the Cubs and great for the Cardinals, you can understanding the reasoning of the trade at the time. Broglio was an established successful starting pitcher and Brock was a young player who hadn't quite figured things out. Did the Cubs know Broglio's best days were behind him? No. Did the Cardinals know Brock would turn into a Hall of Famer? Doubtful as well.
Likewise with the Jeff Bagwell for Larry Andersen trade. Did the Boston Red Sox think Jeff Bagwell, a player who hit 4 home runs in AA in 1990, would become a
However, I was recently looking at the 1981 trade of Willie McGee for Bob Sykes, and can't help but wonder how this trade even went down. It just doesn't make any sense.
In 1981 McGee was a relatively high value prospect. He was the 15th pick overall in the 1977 draft. In 1981 in AA he hit .322/.360/.454. Pretty darn good. He went on to be one of the best centerfielders in baseball in the 1980s. He reached the World Series four times, was a three time Gold Glover, four time All Star, won the NL batting title in 1985 & 1990, and also won the NL MVP in 1985.
Bob Sykes was a 19th round draft pick of the Tigers in 1977. He couldn't quite turn the corner in the majors. He had a 4.65 ERA in his career and was eventually demoted to the bullpen of the Cardinals in 1981. He didn't perform that great in the bullpen with a 4.58 ERA in 1981. After being traded, he never pitched an inning in baseball again. AFAICT, he was never a high level prospect. He had a respectable career ERA of 3.01 in AA, but that balloons up to 4.83 in AAA.
So in hindsight, this trade was terrible for the Yankees and great for the Cardinals. However, why did this trade even happen?
We have a first round draft pick who is performing quite well in the minors.
And we have a middle reliever who doesn't seem to be doing that well in the majors and doesn't have an elite prospect status from the past.
They seem like perfect trade targets for each other??
This trade is hard to make sense in any way. Even if the Yankees had reasons to trade McGee, surely they could have gotten something better in value?
Obviously some context can be lost over the last 35 years to understand why. But it's one of the worst trades in baseball I can recall and just can't make any sense of.
Update 6/19/2017:
I was thinking about this and found this old Nytimes article: Cardinals' Willie McGee is Not 'E.T.'.
In it it states:
''When we signed Winfield, somebody had to come off our 40-man roster to make room for him,'' Bill Bergesch explained. ... "We decided to outright McGee to our Columbus farm team, which meant he was a 'frozen' player - he couldn't be reacquired by us without going through major-league waivers.''
... ''But we knew that if we tried to get him back through waivers, we'd probably lose him for $20,000 so we decided to try to trade him. That way at least we would get a player for him ..."So that's some of the back story. Dave Winfield was signed before the 1981 season and McGee's breakout year was in 1981 (he hit .283/.343/.359 in 1980 in AA). So the Yankees perhaps did not expect a breakout in 1981 and were suddenly stuck with trying to trade him after 1981.
But I found this nugget fascinating:
Willie McGee was mentioned to at least one other National League club, the San Diego Padres, who spurned him.McGee was clearly not someone that was viewed very highly amongst the rest of baseball, which still confounds me. Surely a speedy 21 year old center fielder, former first round draft pick, hitting .322 in AA, would elicit more than a passing glance from most teams?
Some context is still lost.
Monday, June 6, 2016
2016 Cubs - Everything Is Going Right For Them
Today the Cubs stand at an amazing 39-16, on pace for 114 wins on the year, just below the record of 116 wins.
I couldn't help but look at the stats for the Cubs and think that everything is going better than anyone could have humanly expected for them. It's not surprising given their 39-16 record.
Currently, their 5 starting pitchers all have an ERA under 3.00 and none have missed a start.
Jake Arrieta - 9-1, 1.80 ERA
Jon Lester - 6-3, 2.29 ERA
John Lackey - 6-2, 2.88 ERA
Kyle Hendricks - 4-4, 2.84 ERA
Jason Hammel - 7-1, 2.14 ERA
Jake Arrieta had a season for the ages in 2015 culminating in the 2015 NL Cy Young award. While expected to perform well, was another 8.7 WAR season expected? I would have doubted it. But so far he's just under pace for it (on pace for about a 8.5 WAR).
Jon Lester has been an elite pitcher (> 6.0 WAR in 2008 and 2009, 5.2 WAR in 2010), but the last three years his WAR has been 3.0, 4.6, and 3.1. Were the Cubs expecting another 5.0 WAR from him this year? I doubt it, but he's on pace for it so far. The 2.29 ERA would be the best of his career and his ERA+ of 175 would be the best for his career. It's worth noting his current FIP is at 3.22, so nearly a full run above his ERA. Perhaps that'll level out as the year goes on.
In 2015 at the age of 36, John Lackey probably had the second greatest year of his career (5.7 WAR vs 6.3 WAR in 2007). While a really good pitcher for the middle of the rotation, did the Cubs think he'd repeat his performance in 2015 at the age of 37? He's got better peripheral stats (FIP of 3.19 vs. 3.57 and SO/W ratio of 4 vs 3.3) so far and on pace for a 4.4 WAR. Excluding 2015, that would be his best WAR since 2007.
Never considered an elite prospect Kyle Hendricks had a good year in 2015 at the age of 2015 with a 1.7 WAR over 180 innings. He had a 3.95 ERA and 3.36 FIP. Some improvement may have been expected and hoped for, but a 3+ WAR for your number four starter along with a 3.92 SO/W ratio? Probably unexpected.
Jason Hammel had a career best 3.1 WAR in 2014 (and a 3.0 WAR in 2012 for Baltimore). He had a 1.8 WAR in 2015 and so far has a WAR of 1.9. So was a 5 WAR player expected in 2016? Doubtful. His FIP of 3.41 is over a full run higher than his ERA, so this will likely level out over the rest of the year.
But everything hasn't been just good on the pitching side, it's been great on the hitting side too. Anthony Rizzo and Kris Bryant are doing about the same they did in 2015. There's been no regression here.
Anthony Rizzo 2015 - .278/.387/.512
Anthony Rizzo 2016 - .251/.390/.524
Kris Bryant 2015 - .275/.369/.488
Kris Bryant 2016 - .274/.358/.507
If anything Rizzo should do better, as he has a likely unlucky .232 BAbip right now. Bryant's strikeout rate has gone done as well so his numbers could rise as well.
But at the top of the order we have Dexter Fowler and Ben Zobrist.
Dexter Fowler - .303/.421/.515
Ben Zobrist - .326/.438/.500
How in the world was this expected.
Fowler has a career high WAR of 2.8 in 2012 and a WAR of 2.2 in 2015. He already has a 2.7 WAR in 2016. His current OPS of .936 would annihilate his career high of of .863, which was gained in Colorado.
Zobrist is a multiple time All Star from his days in Tampa, but is this the kind of resurgence that was expected from a 35 year old? I would say not. He hasn't had a OBP over .400 since 2009 and has never hit above .300. His current OPS of .938 would be his highest since 2009 and first above .900 since 2009. In fact, this is for a player who's OPS was .816 in 2015 and below .800 in 2013 and 2014.
About the only sore spot so far has been the performance of Jason Heyward. He's struggled so far and is sitting with a .615 OPS, well below his career average of .774. But everything else seems to be going way better than expected.
I couldn't help but look at the stats for the Cubs and think that everything is going better than anyone could have humanly expected for them. It's not surprising given their 39-16 record.
Currently, their 5 starting pitchers all have an ERA under 3.00 and none have missed a start.
Jake Arrieta - 9-1, 1.80 ERA
Jon Lester - 6-3, 2.29 ERA
John Lackey - 6-2, 2.88 ERA
Kyle Hendricks - 4-4, 2.84 ERA
Jason Hammel - 7-1, 2.14 ERA
Jake Arrieta had a season for the ages in 2015 culminating in the 2015 NL Cy Young award. While expected to perform well, was another 8.7 WAR season expected? I would have doubted it. But so far he's just under pace for it (on pace for about a 8.5 WAR).
Jon Lester has been an elite pitcher (> 6.0 WAR in 2008 and 2009, 5.2 WAR in 2010), but the last three years his WAR has been 3.0, 4.6, and 3.1. Were the Cubs expecting another 5.0 WAR from him this year? I doubt it, but he's on pace for it so far. The 2.29 ERA would be the best of his career and his ERA+ of 175 would be the best for his career. It's worth noting his current FIP is at 3.22, so nearly a full run above his ERA. Perhaps that'll level out as the year goes on.
In 2015 at the age of 36, John Lackey probably had the second greatest year of his career (5.7 WAR vs 6.3 WAR in 2007). While a really good pitcher for the middle of the rotation, did the Cubs think he'd repeat his performance in 2015 at the age of 37? He's got better peripheral stats (FIP of 3.19 vs. 3.57 and SO/W ratio of 4 vs 3.3) so far and on pace for a 4.4 WAR. Excluding 2015, that would be his best WAR since 2007.
Never considered an elite prospect Kyle Hendricks had a good year in 2015 at the age of 2015 with a 1.7 WAR over 180 innings. He had a 3.95 ERA and 3.36 FIP. Some improvement may have been expected and hoped for, but a 3+ WAR for your number four starter along with a 3.92 SO/W ratio? Probably unexpected.
Jason Hammel had a career best 3.1 WAR in 2014 (and a 3.0 WAR in 2012 for Baltimore). He had a 1.8 WAR in 2015 and so far has a WAR of 1.9. So was a 5 WAR player expected in 2016? Doubtful. His FIP of 3.41 is over a full run higher than his ERA, so this will likely level out over the rest of the year.
But everything hasn't been just good on the pitching side, it's been great on the hitting side too. Anthony Rizzo and Kris Bryant are doing about the same they did in 2015. There's been no regression here.
Anthony Rizzo 2015 - .278/.387/.512
Anthony Rizzo 2016 - .251/.390/.524
Kris Bryant 2015 - .275/.369/.488
Kris Bryant 2016 - .274/.358/.507
If anything Rizzo should do better, as he has a likely unlucky .232 BAbip right now. Bryant's strikeout rate has gone done as well so his numbers could rise as well.
But at the top of the order we have Dexter Fowler and Ben Zobrist.
Dexter Fowler - .303/.421/.515
Ben Zobrist - .326/.438/.500
How in the world was this expected.
Fowler has a career high WAR of 2.8 in 2012 and a WAR of 2.2 in 2015. He already has a 2.7 WAR in 2016. His current OPS of .936 would annihilate his career high of of .863, which was gained in Colorado.
Zobrist is a multiple time All Star from his days in Tampa, but is this the kind of resurgence that was expected from a 35 year old? I would say not. He hasn't had a OBP over .400 since 2009 and has never hit above .300. His current OPS of .938 would be his highest since 2009 and first above .900 since 2009. In fact, this is for a player who's OPS was .816 in 2015 and below .800 in 2013 and 2014.
About the only sore spot so far has been the performance of Jason Heyward. He's struggled so far and is sitting with a .615 OPS, well below his career average of .774. But everything else seems to be going way better than expected.
Monday, May 30, 2016
Dinner @ Al's Place in San Francisco, CA #2
Earlier this year I was able to hit up the much hyped Al's Place and loved the meal. My girlfriend and I were in the area and were able to snag a last minute cancellation that opened up a spot in OpenTable. That's how I've gotten both of my reservations at Al's Place, so it's just luck at the end of the day.
I'll leave details of the restaurant in my prior post. There were a number of new items on the menu that rotated in so we ordered mostly new things off the menu. We stuck to a similar formula, getting food from each of the sections on the menu. This is what we got.
1) bread
After the last trip to Al's Place, we noticed at the bottom of the menu it said "bread available upon request". Oops! Made sure to get some bread this time. It can come with oil instead of butter if that's your request.
2) brine pickled french fries, smoked apple sauce
We actually got this dish last time at Al's Place. I didn't think much of the dish at the time because I thought they were "just fries". I read later on that the fries at Al's Place were actually pickled and had a unique flavor to them. I don't know if they were last time and I just didn't notice or if they weren't cooked that way. The menu from last time clearly just says "french fries", while this time the fries were listed as "brine pickled french fries". My girlfriend had a craving for them so we decided to give it another shot.
This time I paid attention and clearly tasted the pickling. After a few more pieces, I suddenly loved the flavor. The taste is subtle, so it can be missed. But once you realize it's there, it's delicious.
3) fava'd mushroom broth chawanmushi, cherry, pistachio
We grabbed the chawanmushi to try a different "snackle". The photo may not clearly show it, but the dish is sort of small. Overall, an ok dish. The mushroom broth definitely changed the flavor and I was surprised it didn't taste like typical chawanmushi. You can't see the chawanmushi beneath everything in this picture, but it was a light brown color instead of the typical light yellow. I loved the cherries in this dish, but I think the pistachios were a bit too "crunchy" to me. The contrast and textures may be more gratifying to others. In contrast, I preferred the chawanmushi from Kusakabe and State Bird Provisions.
4) asparagus, miso/fig leaf, green garlic mayo, peach thinning relish
Now onto some of the entree portions, first up were the cold/cool dishes. The asparagus appeared to be grilled/pan fried in some way b/c there were char marks on them. Obviously cooled down later. I have no idea what "peach thinning relish" is. There were some seeds on top of the dish that I couldn't quite place, so perhaps that's what the relish was? Overall, nice light dish.
5) General Leo's cauliflower, mashed peas, burrata, pistachio mousse, rhubarb
This dish had lot of flavors and textures, really liked it. Underneath everything you see here was some of the pistachio mousse and mashed peas. Not sure why it's called "General Leo's" cauliflower, but perhaps it's a play on "General Tso's Chicken"? The cauliflower by itself had a very "Asian" flavor to it although I couldn't quite figure out what it was.
6) green pea curry, black lime-yellowtail, pickled strawberry
Now onto the warm dishes. We got only one, which was this soup. The black square chunks you see in the picture was the chunks of yellowtail. In the soup were peas and chunks of pickled strawberry. I loved the pickled strawberry. Similar to the fries above, they taste like strawberries but have a hint of pickling to them. Overall, a tasty dish.
7) red bow trout, tom yum nam khon sauce
Just like last time we got two meat "side" dishes. The first one was this trout in tom yum nam khon soup. I was a little afraid of this dish since I'm not a fan of tom yum soup from Thai restaurants, however this dish was no where near as sour. I later learned online was that there are two types of tom yum soup. One with a clear broth (Tom Yum Goong Nam Sai), which is what most restaurants probably serve. The other is the above (Tom Yum Nam Khon) which has some coconut milk in it, which is one of the reasons it was less sour. Overall, really tasty.
8) pork belly, galangal soda, brussel + apricot chi, roe
Finally, we got this pork belly dish which was awesome. I had to look up what galangal is, but it's a sort of ginger-like root. I assume the soda was used for the marinating of the pork. The star of this dish was the brussel sprout + apricot chi, effectively pickled kim-chi style. (At this point it's clear there's a ton of pickling at Al's Place, the third time I've mentioned it in this post. Somehow it was mostly missed the last time I came here.) It was delicious. Perhaps my favorite dish of the night, only challenged by General Leo's cauliflower.
9) lemon curd / blueberry tart, lavender ice cream
The dessert options were very similar to the last time we went although with a different seasonal fruit. The citrus salad was now strawberry and the pear tart is now lemon/blueberry. We stuck to just one dessert this time and got the tart with lavender ice cream. Delicious. I have a preference for blueberries so I enjoyed this a bit more that the pear tart.
Overall another good meal at Al's Place. I preferred the meat "sides" this time around more than the last time, but I liked the vegetarian/pescatarian dishes a bit more last time.
Al's Place does have a bit of a small menu. Somewhere on the order of 20-24 dishes not counting dessert. We've now hit up a fair percentage of the menu, so we decided we'll have to hold off on going back to Al's Place for awhile. Let a few more dishes rotate into the menu before heading back.
I'll leave details of the restaurant in my prior post. There were a number of new items on the menu that rotated in so we ordered mostly new things off the menu. We stuck to a similar formula, getting food from each of the sections on the menu. This is what we got.
1) bread
After the last trip to Al's Place, we noticed at the bottom of the menu it said "bread available upon request". Oops! Made sure to get some bread this time. It can come with oil instead of butter if that's your request.
2) brine pickled french fries, smoked apple sauce
We actually got this dish last time at Al's Place. I didn't think much of the dish at the time because I thought they were "just fries". I read later on that the fries at Al's Place were actually pickled and had a unique flavor to them. I don't know if they were last time and I just didn't notice or if they weren't cooked that way. The menu from last time clearly just says "french fries", while this time the fries were listed as "brine pickled french fries". My girlfriend had a craving for them so we decided to give it another shot.
This time I paid attention and clearly tasted the pickling. After a few more pieces, I suddenly loved the flavor. The taste is subtle, so it can be missed. But once you realize it's there, it's delicious.
3) fava'd mushroom broth chawanmushi, cherry, pistachio
We grabbed the chawanmushi to try a different "snackle". The photo may not clearly show it, but the dish is sort of small. Overall, an ok dish. The mushroom broth definitely changed the flavor and I was surprised it didn't taste like typical chawanmushi. You can't see the chawanmushi beneath everything in this picture, but it was a light brown color instead of the typical light yellow. I loved the cherries in this dish, but I think the pistachios were a bit too "crunchy" to me. The contrast and textures may be more gratifying to others. In contrast, I preferred the chawanmushi from Kusakabe and State Bird Provisions.
4) asparagus, miso/fig leaf, green garlic mayo, peach thinning relish
Now onto some of the entree portions, first up were the cold/cool dishes. The asparagus appeared to be grilled/pan fried in some way b/c there were char marks on them. Obviously cooled down later. I have no idea what "peach thinning relish" is. There were some seeds on top of the dish that I couldn't quite place, so perhaps that's what the relish was? Overall, nice light dish.
5) General Leo's cauliflower, mashed peas, burrata, pistachio mousse, rhubarb
This dish had lot of flavors and textures, really liked it. Underneath everything you see here was some of the pistachio mousse and mashed peas. Not sure why it's called "General Leo's" cauliflower, but perhaps it's a play on "General Tso's Chicken"? The cauliflower by itself had a very "Asian" flavor to it although I couldn't quite figure out what it was.
6) green pea curry, black lime-yellowtail, pickled strawberry
Now onto the warm dishes. We got only one, which was this soup. The black square chunks you see in the picture was the chunks of yellowtail. In the soup were peas and chunks of pickled strawberry. I loved the pickled strawberry. Similar to the fries above, they taste like strawberries but have a hint of pickling to them. Overall, a tasty dish.
7) red bow trout, tom yum nam khon sauce
Just like last time we got two meat "side" dishes. The first one was this trout in tom yum nam khon soup. I was a little afraid of this dish since I'm not a fan of tom yum soup from Thai restaurants, however this dish was no where near as sour. I later learned online was that there are two types of tom yum soup. One with a clear broth (Tom Yum Goong Nam Sai), which is what most restaurants probably serve. The other is the above (Tom Yum Nam Khon) which has some coconut milk in it, which is one of the reasons it was less sour. Overall, really tasty.
8) pork belly, galangal soda, brussel + apricot chi, roe
Finally, we got this pork belly dish which was awesome. I had to look up what galangal is, but it's a sort of ginger-like root. I assume the soda was used for the marinating of the pork. The star of this dish was the brussel sprout + apricot chi, effectively pickled kim-chi style. (At this point it's clear there's a ton of pickling at Al's Place, the third time I've mentioned it in this post. Somehow it was mostly missed the last time I came here.) It was delicious. Perhaps my favorite dish of the night, only challenged by General Leo's cauliflower.
9) lemon curd / blueberry tart, lavender ice cream
The dessert options were very similar to the last time we went although with a different seasonal fruit. The citrus salad was now strawberry and the pear tart is now lemon/blueberry. We stuck to just one dessert this time and got the tart with lavender ice cream. Delicious. I have a preference for blueberries so I enjoyed this a bit more that the pear tart.
Overall another good meal at Al's Place. I preferred the meat "sides" this time around more than the last time, but I liked the vegetarian/pescatarian dishes a bit more last time.
Al's Place does have a bit of a small menu. Somewhere on the order of 20-24 dishes not counting dessert. We've now hit up a fair percentage of the menu, so we decided we'll have to hold off on going back to Al's Place for awhile. Let a few more dishes rotate into the menu before heading back.
Sunday, May 29, 2016
The Mendoza Line In Programming
For those who are unaware, there is a concept called "The Mendoza Line" in baseball.
Short description, there was a baseball player named Mario Mendoza, who (to put it frankly) wasn't a very good baseball player. Now, making it to the major leagues is an accomplishment itself, and Mario Mendoza was able to scrape together a 9 year career mostly as a utility player. He represented the minimum level one had to perform at to play and have a career in baseball. Thus the term the "Mendoza Line" was coined. If you fell below the line, you couldn't be a major league player.
I've wondered at times what is the "Mendoza Line" for a programmer? I have a suggestion for the line.
Lets say there is some manual activity that will take you time X to complete. For this example, lets say there are similar typos in a lot config files.
If time X is really small, like a minute, we'll probably just do it manually. This is perhaps the case when the typo is only in a small number (e.g. 1-2) of config files.
Lets consider if time X is a reasonable size and non-trivial.
If it would take you > time X to write a script to do the manual activity, you still might do it manually. In my example above, perhaps the typo is in 5-8 config files. Perhaps the config files and typos aren't similar enough to warrant figuring out the right regex. So even if it's annoying, you still do it manually.
If you can develop a script faster than time X, obviously you should develop a script to do this manual activity. Using my config file example, perhaps the typos are in over 500 config files. Now finding the right regex is worth the time and energy so you don't have to do this task manually.
Now, we all have to do some manual activities in our day to day lives on a computer. Some of these things are automatable (sp?), but we continue to do the manual activity b/c the effort to automate just isn't worth it (e.g. most don't script hitting the brew button on a coffee maker).
I like to think of this as the "Mendoza Line" for programming. If you can recognize some manual activity is taking up some time X, can you recognize a script can do it faster, and write the script in less than time X. If you can do this, you probably can have a career as a programmer.
Now I do want to say that the variable "X" does depend on a number of factors. It can include job function, experience, and skill set.
I know very talented system administrators that can pump out very nifty sed/awk lines to do things in just a minute. This makes sense. There are probably many manual things that they have to do in their jobs so they have found it worthwhile to learn and commit to memory all the advanced parsing that sed/awk can do. I personally have not b/c I don't do it enough in my day to day life. So "X" for a task might be small for an advanced system administrator (lets say ~5 minutes) while it'll be larger for me (lets say ~15 minutes) for some setup/config activity.
Another variable to X is how often you might repeat it. If you don't believe you'll ever have to do the manual activity again (b/c it's not your job and you're doing it as a favor to someone else) perhaps time X is viewed as small only because it's a one time activity. But if your job function involves doing the activity many times, the potential cost is much larger.
There are perhaps other factors that affect "X", but hopefully the point is understood
Short description, there was a baseball player named Mario Mendoza, who (to put it frankly) wasn't a very good baseball player. Now, making it to the major leagues is an accomplishment itself, and Mario Mendoza was able to scrape together a 9 year career mostly as a utility player. He represented the minimum level one had to perform at to play and have a career in baseball. Thus the term the "Mendoza Line" was coined. If you fell below the line, you couldn't be a major league player.
I've wondered at times what is the "Mendoza Line" for a programmer? I have a suggestion for the line.
Lets say there is some manual activity that will take you time X to complete. For this example, lets say there are similar typos in a lot config files.
If time X is really small, like a minute, we'll probably just do it manually. This is perhaps the case when the typo is only in a small number (e.g. 1-2) of config files.
Lets consider if time X is a reasonable size and non-trivial.
If it would take you > time X to write a script to do the manual activity, you still might do it manually. In my example above, perhaps the typo is in 5-8 config files. Perhaps the config files and typos aren't similar enough to warrant figuring out the right regex. So even if it's annoying, you still do it manually.
If you can develop a script faster than time X, obviously you should develop a script to do this manual activity. Using my config file example, perhaps the typos are in over 500 config files. Now finding the right regex is worth the time and energy so you don't have to do this task manually.
Now, we all have to do some manual activities in our day to day lives on a computer. Some of these things are automatable (sp?), but we continue to do the manual activity b/c the effort to automate just isn't worth it (e.g. most don't script hitting the brew button on a coffee maker).
I like to think of this as the "Mendoza Line" for programming. If you can recognize some manual activity is taking up some time X, can you recognize a script can do it faster, and write the script in less than time X. If you can do this, you probably can have a career as a programmer.
Now I do want to say that the variable "X" does depend on a number of factors. It can include job function, experience, and skill set.
I know very talented system administrators that can pump out very nifty sed/awk lines to do things in just a minute. This makes sense. There are probably many manual things that they have to do in their jobs so they have found it worthwhile to learn and commit to memory all the advanced parsing that sed/awk can do. I personally have not b/c I don't do it enough in my day to day life. So "X" for a task might be small for an advanced system administrator (lets say ~5 minutes) while it'll be larger for me (lets say ~15 minutes) for some setup/config activity.
Another variable to X is how often you might repeat it. If you don't believe you'll ever have to do the manual activity again (b/c it's not your job and you're doing it as a favor to someone else) perhaps time X is viewed as small only because it's a one time activity. But if your job function involves doing the activity many times, the potential cost is much larger.
There are perhaps other factors that affect "X", but hopefully the point is understood
Saturday, May 28, 2016
I'm really good at fixing typos!
I have a joke amongst colleagues that I am "only good at fixing typos in open source projects."
Why?
Whenever I submit a code patch for some bug and/or feature in a open source project, it can often go ignored. Why? Because project maintainers are busy and they don't have time to look at every patch that comes in. If the patch solves some specific problem they are looking at, then you're in luck. But more than often I'm fixing something that isn't on their current radar. Eventually, the patch gets lost amongst the other patches in their review pile and is forgotten.
Why do I know that patches will be forgotten or ignored for long periods of time? It's because I do the same thing! :-) It's normal and reality with open source projects.
But what happens when I submit a patch that just fixes a typo in comments or a typo in documentation? This takes almost no effort to look through and review, so the patch is accepted immediately.
I do the same thing in projects I maintain.
As time goes on, there are a few projects that I suddenly feel like the only thing I can contribute is typo fixes.
Thus, I'm really good at fixing typos :-)
c'est la vie
Why?
Whenever I submit a code patch for some bug and/or feature in a open source project, it can often go ignored. Why? Because project maintainers are busy and they don't have time to look at every patch that comes in. If the patch solves some specific problem they are looking at, then you're in luck. But more than often I'm fixing something that isn't on their current radar. Eventually, the patch gets lost amongst the other patches in their review pile and is forgotten.
Why do I know that patches will be forgotten or ignored for long periods of time? It's because I do the same thing! :-) It's normal and reality with open source projects.
But what happens when I submit a patch that just fixes a typo in comments or a typo in documentation? This takes almost no effort to look through and review, so the patch is accepted immediately.
I do the same thing in projects I maintain.
As time goes on, there are a few projects that I suddenly feel like the only thing I can contribute is typo fixes.
Thus, I'm really good at fixing typos :-)
c'est la vie
Subscribe to:
Posts (Atom)








