烏來

Went hot springing yesterday with scrungew00t down in Wulai (烏來), a small town up in the mountains south of Taipei. We took the subway to Xindian (新店) and then took the Xindian-Wulai bus up to Wulai itself. Wandered around eating giant meatball soup, my favorite wild boar kebabs, and tiny river shrimp. My wife wanted *30* boiled eggs from a famous place there so I had to carry around 3 bowls full the rest of the time. After eating we went down one town to Yanti to the hot springs at Spring Park Hotel (春秋烏來). It’s a pretty expensive hot spring, but my wife had two certificates, so it was free for us. 🙂 After lazing around we took the bus back to Gongguan (公館) and caught another bus over to Alleycats but they were closed already by that time (after 10pm already!). We had Vietnamese food around the corner instead, then went home.

It has been raining or drizzling since last night, so weather today is pretty gloomy. 🙁

Taiwan Day 1858 or thereabouts: Mongolian BBQ

Hanging out with scrungew00t yesterday. Went out late for lunch, squid and rice noodle soup with sides of some green leafy veggies and hard doufu. Then went to the tallest building in the world to visit Page One bookstore where I looked at the Lemony Snicket books a bit, then down to Jason’s to buy some various stuff but mostly chocolate chips for cookies, then we went back and had Mongolian BBQ. The place we go is a favorite but we don’t go there nearly enough. It is all you can eat, and for the BBQ part it is buffet style to get all the meats (chicken, venison, pork, lamb, beef), whatever veggies you want, and then choose your sauces and spices. When you are done, you hand it to the cook and he prepares it all on a huge wood fired stove. Then with one flick of the chopsticks he flings it into a bowl and serves it up. I usually get Venison with sprouts and onions, soy sauce, shrimp sauce, pineapple, cooking wine, LOTS of fresh garlic, and a bit of chili oil. Mmm, mmm.

Yes, pineapple.

brownies attempt 2

For those who are used to western style kitchens, you’d be surprised to know that Taiwanese kitchens rarely include an oven, other than the microwave or toaster variety. This makes it hard to do any baking. So a couple of weeks ago, Daiichi (泰一電氣) had a fairly good TECO (東元) electric oven on sale. By western standards it’s still pretty tiny, but just big enough to do some real baking in. So the first thing I do is whip up a batch of brownies from scratch. Unfortunately the top came out slightly singed on the first batch. I figured it was because the oven is so small that the top heating element is too close. The oven has a switch to select whether to use the top heating element, bottom, or both, and I had use both the first time.

So last night we had a family dinner so I made brownies again. This time I was going to set it to use just the bottom heating element so the top wouldn’t get overdone. Unfortunately I screwed up and instead set it to use only the top heating element. And when I cut into the ‘finished’ brownies I discovered that the bottom half was uncooked. To salvage things I cut away the unfinished bottom part, reformed it into the pan and recooked it, but it was a little uneven because of the recooking. So hopefully attempt 3 will go better.

fun with transferring mailman mailing lists

Our apcauce.org host doesn’t have budget to host and be secretariat for APCAUCE anymore, so I’m working on moving the lists and website and domain to my server. Since the old site and new both use mailman, I just got the raw files for the lists and figured I could just plop them in place and then tweak a few things.

But of course, it’s not that easy. If you have to change the list name or the domain name or the base url, it’s a bit tricky.

So here’s some tricks on how to do this on your own should you need to. First copy the config.pck for the list from the old site into the new mailman installation into lists/listname/config.pck. If you are changing the listname, this is the first place you need to use the new name. If you aren’t changing any of the above stuff then you should be good to go and can load up the admin interface. You probably want to use the site password to login and then change the list password. If for some reason you don’t have the site password, you can get the list password by running dumpdb on the config.pck file.

If you are changing too much stuff to make it easy, you’ll want to use the config_list command to get a text copy of (most of) the config, manually edit it, then reload the changes into config.pck. Basically:

config_list -o config.txt listname

Edit config.txt:

1) If you changed the list name, change to the new name in the variable real_name
2) If you changed the host name, change to the new host name in the variable host_name
3) If you changed the host name or the base url, you will need to change that. But config_list doesn’t output this part of the config so you’ll have to add it manually such as:
web_page_url = ‘http://site.com/mailman/’

You also might want to change the list owner and other stuff now if you find editing text files easier.

Then restore the new config to the actual list config:

config_list -i config.txt listname

If you set web_page_url it will complain about it but it will actually set it.

If you did it all ok then you should now be able to go to the admin interface and things will work.

You also want to restore the archives and regenerate the web archives (if you use this):

Copy from old site archives/private/listname.mbox/listname.mbox
If you are changing the list name remember to change it here too. Don’t worry about copying the web archives, as it’s best just to regenerate them.

Now generate the new web archives by running “arch listname

Last task is to update the aliases file. Run genaliases and it’ll dump out all the aliases entries for all your lists. Use grep to pull out just the list you transferred and then update your aliases file, usually /etc/aliases or /etc/mail/aliases and then run newaliases if applicable to your mailer.

That should be all there is to it.