≡ Menu

MacBook Pro 6,2 (2010) issues with Ubuntu 12.04

Just installed Ubuntu 12.04 (Precise Pangolin, x64) on my MacBook Pro (2010) and had a few issues. Many things are dealt with on the community wiki page, but I still had some problems:

  1. I can’t unplug/plug in an external monitor and have it automatically recognized. I have to pull up the nVidia X Server Settings app and then detect and enable the display manually. And if I don’t disable the display before unplugging, I can’t seem to disable the display without restarting.
  2. Audio over HDMI (via a Mini Display Port adapter) doesn’t work. The output doesn’t show up in the Sound control panel.
  3. The system bell in the terminal did not work.

1 and 2 were solved by upgrading to a newer version of the nVidia driver than the one currently in repository. I added the Ubuntu-X Swat PPA, which tracks newer versions of the driver, along with other newer, but considered stable, xorg components. I avoided the xorg-edgers PPA, which is to far on the bleeding edge for my taste.

Run this to add the Ubuntu-X Swat PPA and install the latest components:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get upgrade

Problem 3 looks to be an integration issue between components or something, according to this bug report. This kind of thing takes forever to resolve, but the problem seems to be twofold: the bell volume in X11 is set to zero by default and the bell sound hasn’t been uploaded into Pulse Audio sample cache. This can be temporarily fixed with:

pactl upload-sample /usr/share/sounds/gnome/default/alerts/glass.ogg bell.ogg xset b 100

To make this permanent for your user profile, add the pactl line to ~/.xprofile and the xset line to ~/.bashrc.

Update (2012-08-28): So it’s not all moonlight and roses. I’m seeing random xorg crashes and logouts occurring. A look around the internet suggests this is due to newer nVidia drivers not playing well with xorg. Sigh. The solution for now is to use Unity 2D – this can be selected at login by clicking the Ubuntu logo in the upper right corner of the login box and selecting Ubuntu 2D. You can make this the default by running:

sudo sed -i 's/user-session=ubuntu/user-session=ubuntu-2d/g' /etc/lightdm/lightdm.conf

I don’t know why nVidia has to be so difficult about working with Linux. Are they so tied to Microsoft? I understand Linus’ recent rant on the subject better. Perhaps this is why Apple has been using more ATI chips lately…

{ 2 comments }

Bash return values

Debugging a Bash script today and ran into this problem – return/exit codes from functions may not exceed 255! My script backed up a subversion repository only when a new version of the repo existed, however, the function that checked the version had it’s output returned modulo 255, causing a problem.

The solution was to return the data with echo, as suggested here: http://tldp.org/LDP/abs/html/assortedtips.html#RVT

Then the call

curVersion=`check_version ${SUBVERSION_REPOSITORY} ${SUBVERSION_REPOSITORY_NAME}`

assigns the result from the function check_version to curVersion.


				
{ 0 comments }

16GB SD Card Formats to 8GB in Camera

I have a Canon EOS 20D and recently I started using SDHC cards for storage in combination with an SD-CF adapter. Works great and SDHC cards are 1) pretty cheap compared to CF cards and 2) work with all the other devices I have that support SDHC, including my MacBook Pro. I got a pair of 16GB cards and it’s pretty hard to use them both up on long trips. I ended up using only a little over one card on my recent two week vacation where I shot about 2000 photos in RAW+JPEG mode.

Anyways, I was clearing out a card so I could put some new photos on it and I decided to use my camera’s format option rather than doing an erase all, thinking it would be faster. It might have been, but it formatted the card to an 8GB capacity – half of what it should be. Turns out that while my camera can handle 16GB cards, it can only format 8GB ones. Popping it back into my computer to format it didn’t help either, as it now only recognized 8GB as well. Some hunting around the Internet led me to this blog post, which suggested reformatting the card with this USB_Format utility, which worked like a charm and I have 16 GB available on that card again. Now I just have to remember not to format this card in my camera again…

{ 9 comments }

Pizza mit Fleisch (Emilia’s Pizzeria)

Berkeley. It’s a nice place to live and has some pretty good pizza in The Cheese Board, but the problem is that sometimes you get tired of vegetarian pizza, as good as it may be. Plus, they have an obsession with garlic olive oil which they apply liberally to all their pizzas. Not that it’s bad, but it makes things a bit greasy sometimes.

Recently, I needed a pizza with meat that didn’t involve the deep-dish heaviness of Zachary’s and Yelp pointed me to Emilia’s Pizzeria, over on Shattuck near Ashby. Emilia’s (named for the owner’s daughter) is a one-man operation run by Keith Freilich, who’s pizza pedigree includes Flour+Water over in SF, Pizzaiolo in Oakland, and in New Jersey, Grimaldi’s and a random Pizza Hut. Keith started as a Princeton grad (he mentioned wanting to go to Carnegie Mellon, which gives him bonus points) and worked in IT, which brought him to the Bay Area. After the dot-com bubble burst, we decided to get into pizza full time.

Because this is a one-man operation, he’s streamlined things to fully utilize his resources. This means that you can’t just call up and expect pizza in 30 minutes. On the day you want pizza, you call in and pick a time slot. He starts answering the phone at 4pm – the line is typically busy and you have to keep trying. Depending on the day of the week, you’ll typically get a slot at 6pm or later. I’ve called at 5pm and gotten an 8pm slot. The one nice thing about this is that your pizza will definitely be ready at the stated time. Period. I’ve ordered close to a half-dozen pizzas from Emilia’s and he’s always been on time.

Then you have only one choice of size, the 18″ which is a large to extra-large pizza. Thin crust with sauce, mozzarella, and basil are standard for $18. Then you can add up to 4 toppings from a short list, including sopressata and Calabrian chilis, which are Italian hot chili peppers. I wish black olives were on the list. The pepperoni and sausage are both tasty toppings.

Excellent ingredients and a great crust make for a superb pizza. Keith uses a high heat gas oven cranked to over 800 degrees F to simulate a coal fired oven – the result is a lightly charred crust somewhat reminiscent of New York style pizza. Good chew, while still being pretty light.

I love it. It’s great. While I still prefer Pizza California (not to be confused with CPK) down in the South Bay because I like their crispy medium crust, loaded with toppings (Earthquake!) this is a wonderfully tasty option up here in the East Bay. I am always drooling with anticipation when I’m driving home with a pie in the car. Heck, if you’ve read down this far, you’re probably hungry. Click on the first image of this post for some full-size mouth-watering deliciousness. If you’re not hungry, well, check your pulse. I never have leftover pizza.

While you can eat at Emilia’s, be aware that there are only two tables – it’s a small establishment. Oh, and they only take cash. They’re open Tuesday through Saturday from 5pm to about 9pm. It’s worth checking the webpage for updates (he also tweets @emiliaspizzeria) as Keith occasionally closes on random days or has special opening days as he recently did for Super Bowl Sunday. Street parking is usually available right in front of the store.

{ 0 comments }

Upgrading to TortoiseSVN 1.7

A few notes:

  1.  1.7 requires upgrading your working copy, so after you upgrade, all the icon overlays in Explorer showing you the state of the working copy disappear, making it seem like they are not revision tracked. You need to right click on the root of each checked out repository and select SVN Upgrade Working Copy.
  2.  If you’re using public key authentication, Pageant 0.60 does not work with TortoiseSVN 1.7. You’ll need at least 0.61. 0.62 worked for me. Putty/Pageant Download Link, TortoiseSVN Forum Message.

Otherwise, I haven’t seen problems on Windows 7 x64 Professional.

{ 1 comment }

Spring Mountain Vineyard

Spring Mountain Vineyard is an 800+ acre winery located near St. Helena on the western slopes of Napa Valley. The winery has a history going back to 1884, making a splash in the famous 1976 Judgement of Paris, where it placed fourth in the white wine category. Since then, the winery gained notoriety as the shooting location for the 80’s soap, Falcon Crest, which shot exteriors for six-weeks each summer, including the Victorian mansion on the grounds. More recently, the winery was purchased by Jacqui Safra, a Swiss banker, who has focused on making the winery the best it can be, bringing in Bordeaux consultants and the like. A naturalist himself, he cares about sustainable, biodynamic practices. This has paid off in recent years, with their signature Elivette Bordeaux/Meritage-style blend (2005) winning a Gold Medal in Decanter Magazine’s 2010 World Wide Wine Awards. In addition, French Laundry, Thomas Keller’s three-Michelin-starred restaurant, currently has three of their wines (Sauvignon Blanc, Estate Cabernet, Elivette) on their wine list.

Trivia: Elivette is a portmanteau of Mr. Safra’s parents’ names.

The vineyard has 226 acres planted across 135 blocks which range in elevation from 400 feet above sea level to 1450 feet and were originally four separate vineyards (Miravalle, Chevalier, Alba, La Perla). This is definitely mountain wine. Because of the rocky soil and steep terrain, the vines are planted much closer together (4-7 times denser), which reduces the yield of each vine and more importantly, the stress on each vine. Because of the higher density, the winemaker also went with a very old (Roman times!) method of vine training – the vertical gobelet, which is used to maximize sunlight penetration into the vine. This is important due to the hillside location, which limits the amount of sunlight exposure.

It was a beautiful fall day last year in September, that I found myself standing under olive trees, looking up at the vines growing on the terraced hillside. I was there for a standing tasting, and we started with their 2008 Sauvignon Blanc. Cool and crisp, it was how I liked my white wines and matched the morning beautifully. Progressed through a nice ’07 Syrah and a very nice ’07 Cabernet. But for me, the highlight was the Elivette blend. The ’06 was very good, but the ’01 they let us taste was superb. I admit this was my first taste of decade-old wine, as I can’t afford to pick them up off the shelf, but boy, that’s what I want it to taste like! The depth of flavor and the smoothness was… remarkable. My tasting partner, Mark, said he thought it was pretty good, but not the best he’d had for that age. The generous and multiple pours were very nice, especially with such lovely wines.

I asked our hostess, Jeridan, about their harvest, and she commented that it was going to be very late, extending through October and perhaps even November.

Though I was only there for the tasting, there was a VIP/rich-muckety-muck who had shown up in a limo, and so we got an abbreviated bonus tour of the grounds and their wine cave. Jeridan was wonderful in showing us around and even offered us figs and squash from their organic garden. The grounds are quite beautiful – if you’re taking people who want to sightsee a bit more (or are Falcon Crest fans), it’s worth getting the seated tasting, which includes a tour of the grounds, which are fairly extensive and include both edible and decorative gardens.

I should mention that the VIP status of our fellow tasters may have affected my particular tasting experience and may not represent a typical experience.

Tours and tastings are only available by appointment and occur on the hour. Without an appointment, you won’t get past the front gate. Tasting options run from the standard varietal tasting at $25 through their reserve (Elivette) vertical tasting at $100. The tasting fee is refunded with minimum purchase.

Highly recommended.

{ 0 comments }

Phil’s Sliders

Phil’s Sliders is a new burger place that opened last year here in Berkeley on Shattuck between Addison and University – two doors down from the Half Price Books. It’s a smallish spot, some would call cozy, with a community chalkboard covering the bottom half of the left wall and a bare brick wall on the right. Seats about 30.

It’s a simple menu – beef sliders ($2), portabello mushroom sliders ($2), potato tots ($2.50), poppyseed cole slaw ($2). Shakes for $2.50, drinks for $2. There’s a rotating desert selection and a s’mores bar ($2). Simple menu, but the execution of that menu is excellent.

It’s quite a good slider – beef is grass-fed (Marin Sun), so not as juicy as grain-fed, but they cook to medium-rare to help offset that. Great flavor with cheddar, sesame seed bun, and secret sauce (thousand island + chopped pickles). Two is a good number for an average eater, three if you’re hungier. You can add portabella mushroom for $1, and bacon for $0.50. I do wish they’d toast the buns. For the vegans out there, the portabella slider is quite tasty as well.

The homemade tater tots are great. Squared-off oblongs of shredded potato, nice and crispy on the outside, tender on the inside, with just right amount of salt. Lovely with ketchup. The poppyseed cole slaw is a nice accompaniment, adding freshness to the meal, though the poppyseed reminds me of the sad salads that United Airlines serves on its flights. But that’s no reflection on the slaw itself. The slaw comes in a good sized portion – I’d recommend splitting an order with a friend.

Small selection of drinks, with very few sugar-free options. None of your standard soda options. I haven’t tried the shakes yet, but I’ve tried the iced tea and the homemade ginger ale. The iced tea is nothing to write home about. The ginger ale is OK – has good ginger flavor, but lacks depth. Both come in pretty small glasses and are way-overpriced at $2. I would like to see either cheaper pricing or at the very least a free refill policy.

Service is fine – you order and pick up at the counter, but both times I’ve been someone has checked in with me during my meal to make sure everything is OK, which is a nice touch. The first time, it was the owner himself, Hugh Groman. Seating-wise, I dislike the high tables and chairs – once I climb into the chair I find it difficult to pull up to the table. Otherwise, it’s a nice, well-lit space with a high ceiling.

A meal here is a little on the pricey side for the amount of food you get, but the ingredients are of high-quality – all organic – and the downtown Berkeley location probably doesn’t help either. My meal for two (4 sliders, 2 tots, cole slaw, 2 drinks) came to $19. With the $18 for $9 Yelp deal that they had when they opened, this works out to be a great deal.

As I mentioned, I’ve been to Phil’s twice, once in September last year and once recently. Food and service quality was the same both times.

I’m definitely headed back to Phil’s in the future.

 


View Larger Map

{ 0 comments }

Cooking Blog for Food Allergy Sufferers

While the RoboGourmet does not suffer from food allergies, aside from a mild dairy intolerance and a mild reaction to cantaloupe, he understands that others do, and recommends that they check out his friend Jenney’s new blog at http://cookingallergies.blogspot.com/. First recipe is a tasty looking Chocolate Stout Cake with Cointreau Ganache!

{ 0 comments }

Ma Po Tofu

Ma po tofu is an old Chinese classic, originating from Szechuan cuisine, and is basically a spicy tofu and ground pork dish. It’s typically spooned over steamed rice and is great on a cold winter day. The flavor palette is spicy, garlicky, and meaty, with the textural contrast of the almost crispy pork against the smooth tofu, along with the fresh crunch of the green onion. The version I describe here is similar to what my mother used to cook, which uses silken tofu and is not as spicy as most Szechuan cuisine tends to be.

[continue reading…]

{ 0 comments }

Using and Maintaining Cast Iron

Cast iron cookware provides a cooking surface with great heat retention properties and typically is fairly cheap. And seasoned properly, this surface can be fairly non-stick as well – not as good as Teflon, but with a bit of care, able to release delicate fish filets and eggs. The key phrase here is “seasoned properly.” Seasoning refers to the layer of polymerized fat/oil which develops on the cast iron while cooking – it is this layer which provides the non-stick properties of cast iron. And while pretty much all modern cast iron pans come preseasoned out of the box, the factory seasoning is nothing compared to a fully developed seasoning layer. However, the much of the instruction for maintaining cast iron floating around the Internet derives from, it seems, ancient lore or someone’s grandmother. Some of the advice seems contradictory and in general, doesn’t seem well defined. I’ll write a little of what I understand about the process and what I’ve decided to do as a result of my research. I have never stripped my cast iron down and reseasoned, just built on top of the factory seasoning on my pieces.

[continue reading…]

{ 0 comments }