April 15, 2009
OSX Password generator scripthttp://www.codepoetry.net/products/passwordassistant
Found a nice script to open up the OSX password generator window. Might come in handy if you need to generate a bunch of passwords. I'm still looking for a good replacement password safe for OSX / linux / windows (preferably one that works on all three.) I have been using Keyring (an open source Palm application) for ages, and still have my Treo 600 as basically a portable password store (but I don't have it with me at right this moment, so this script will come in handy.)
April 14, 2009
Sakuracon 2009By pure chance our hotel was next to the Seattle Convention Center. The week before was the big comic book convention, ComiCon. The day we left Seattle was the first day of the Sakura-con, an anime-themed convention in Seattle. Apparently. R. and I had a few minutes before leaving, so we popped into the convention center and took some pictures. She was too shy to take the pictures, but really got a kick out of seeing everyone dress up. I took all the pictures, and I asked every person if it was ok. Everybody was super excited to get their picture taken, and they almost always posed in some way appropriate to their character.
Click to see pictures and ... read more (747 words)
Psalms of Herod and Architects of Emortality
Psalms of HerodThis flight out I didn't read many books. I only started one, Esther Freisner's "Psalms of Herod", but I didn't even finish it on the plane. I ended up finishing it on the road sometime. I didn't really like the book. It is set in some unspecified point of time in the future of a very heavily Christian-influenced world, perhaps somewhere in America based on how the language is written. The main character is a woman, Becca, who starts to question the social order that she lives in. The roles of women are strictly defined, and highly controlled by the paternal authority figure. There isn't much that a woman can do on her own in the world of the book. Something peculiar has also happened to women biologically so that they are only fertile twice a year, which comes into play with some of the rituals that are set up for them. The book starts slowly. Very slowly. I wasn't sure I would finish it because I was having a lot of trouble getting into it. Once things started going a bit quicker I was drawn in enough to finish off the last half of the book fairly quickly, but it was a close call. I don't like the society described in the book, and while it is very reminiscent of "A Handmaid's Tale" and is trying to warn against a strong role of religion in society it just isn't something I'm interested in reading in fiction for fun. You don't have to go far in our world today to find religion and oppressed women in non-fiction, which is what I would prefer to read if I wanted to take up the subject. Still, there is an interesting science fiction story here, and using science fiction to explore areas of the human condition is one of the things that can be done well in the genre. The book itself doesn't have an ending. Very disappointing. It is continued in the sequel, "The Sword of Mary", and the way things end in this book is just terribly disappointing. Do not pick it up unless you have the second volume on hand if you intend to actually finish it. It also has some very adult themes (sexuality, oppression, rape, child abandonment, etc.) so you might to give it pass based on content also. I do have the second book myself, since I had the series recommended to me from somewhere (a thread over on tor.com I think?) and am interested in finishing it, but I can't really recommend the book. Here is a review that seemed to like it though.
Architects of Emortality
From SFO to SeattleR. and I were in Seattle. Click "read more" to see a bunch of pictures and words about it. read more (1775 words)
March 26, 2009
Bishop Allen at the Rickshaw Stop, San Francisco
The first band was the Mt. St. Helens Vietnam Band, who were ok. Next up was the Miniature Tigers who I really enjoyed. I will try to pick up some of their music when I get a chance. They had one song, "Japanese Woman Living in my Closet", about the incident that made the news a while back about a Japanese woman that was caught living in a man's closet for more than a year. I thought that was kind of funny. They have a nice melodius song, a bit of humor, and are perhaps a bit sarcastic, or at least twist convention around a bit for matching lyrics and song.
I really enjoyed paying $15 and seeing three bands. That is a real bargain compared to Japan, where I usually have to pay $50 and I see only one band. Michael was saying that he thought $15 was a bit steep, and I was just super excited about how cheap it was! I guess you really get used to the local market.
Bishop Allen was really good. I hadn't had a chance to pick up there new album, Grrr..., until the concert so I didn't know all the songs they played, but they also had some great songs off of their debut album Charm School (a great album) and The Broken String (another good album.) I recommend going to the Bishop Allen website itself and ordering from there - you will probably get the same price but more of the money will go to the band than if you buy from other places. They also sell the one-EP-a-month albums there, which are pretty fun. I think they are all generally of very high quality.
The music was great. They had a lot of energy, and were tight. There was a nice sound system, and the crowd was great. They were really into it. The people near me were actually really into (well, one girl in particular) and was dancing around like mad. I was doing a fair bit of dancing, jumping, and screaming myself. I hadn't seen these guys since they played my PhD thesis defense party (well, it was actually the closing show for the Tank in NYC, but that isn't how I remember that day) three years ago, and I've really missed the music scene I used to be pretty connected to when I was in NYC. The girl who was next to me even tried to get me to do some swing dancing type stuff (and I was awful at that when I was trying to take a few lessons back in Dallas) and (since this is San Fran., and she was pretty butch, probably of the feminist persuasion) forced me into a few spins. It was lots of fun. Apparently Bishop Allen has gotten pretty big when I wasn't looking because they really packed the place and people were really going nuts. I worked up a pretty good sweat myself. Two encores. The second was a spur-of-the-moment "Ghosts are Good Company" with Christian and Darby. Very nice.
After the show, I stopped by to chat with Christian and buy the latest album (gotta support the bands you love!) and then caught a cab back to the Caltrain station. I didn't make it back to the hotel until 1:30am, but it was totally worth it. I only wish that R. would have been able to make it. I'm sure we'll have a chance to see some of the bands that I love in the future too, but I haven't been able to convince BA to come to Tokyo yet. Well, that isn't true - Justin and Christian are really receptive to the idea, but they haven't been able to get any of the touring and booking stuff to happen. I'm starting to think that I should talk to some of my friends that have connections in the industry to see if I can get someone to invite them out. I would love to see them at Summer Sonic or Fuji Rock...
So if you don't know about Bishop Allen, you clearly haven't been hanging around with me for too long. Go hit up their website and buy Charm School - it is a great place to start and an absolutely amazing album.
Ian Stewart and Jack Cohen's Wheelers
A visit to the National Art Center in Tokyo
National Art Center Tokyo
National Art Center Tokyo Sign
National Art Center Tokyo with plates in trees
National Art Center Tokyo interior
March 24, 2009
Emacs, Japanese, Putty, Windows, and text entryI don't know why but I have had to set this up a few times now. If you try writing Japanese via Putty into Emacs, and things do not work for you (instead it looks like Emacs is interpreting things as control characters in some way) then the following magic incantation might help you:
;; Set up Japanese input and coding systems
(set-keyboard-coding-system 'utf-8) ; This is the magic for windows putty Japanese input
The important bit is the set-keyboard-coding-system. The other things are important to some degree, but the keyboard setting is what determines whether emacs will beep at you or put up some pretty Japanese text.
I actually have Putty, Emacs, and Gnu Screen all playing nicely together now, which is great. But this is only true for version 23.x of Emacs, since 22.x doesn't seem to play well with Japanese in a terminal under screen...
March 23, 2009
Front Row Main Menu
Front Row TV Menu
One thing I have never really played with though is Frontrow. So I thought it would give it a try. My MacBook came with a cute little remote control, and after putting the mac up on the desk and settling back in the chair with my other laptop for some work last night, I started Front Row up. I was really surprised with how easily it worked. I threw all my media files into a folder on the Movie folder, and navigating there was really easy. The remote works very well. I can read things from across the room. The only thing I couldn't do was delete a file after watching it, but that isn't really a big deal.
I was really impressed with how smoothly things went for playing video. The only problem is that it uses Quicktime to play files, and so isn't quite able to play all formats that I would expect. For example, I have a few files encoded into OGM (Ogg Media format), the open-source container, and Quicktime didn't know what to do with that. I got an error "the video could not be played: the format was not recognized". That is understandable - I never put any OGM codecs on the system, even though I can play the files with the VLC media player.
Perian is a codec that should let me play .mkv files, and perhaps .ogm. I'm not sure about that, but I installed and downloaded it anyway. The Xiph Quicktime components purport to support Ogg Vorbis in QuickTime. After installing that I could get the music to play, but no video. Too bad. Still, most of the stuff that I have is in an AVI container and more and more of it is coming as h264 content, which QuickTime handles just fine.
I'm really impressed with the FrontRow interface. I think once I am rich I will eventually get a Mac Mini and hook it up to the TV for media-player duties.
Back in the USAI'm back in the USA for three weeks. I flew in yesterday (Saturday) from Tokyo to San Francisco. It was a quick flight, 9 hours. That seems quick to me because usually I fly to New York, which is closer to 14 hours. Anyway, the flight was nice. What was really great is that this is the first time I had ever had a pair of noise canceling headphones - I have a pair of big Sony headphones that I've been using at work - which really cut out the cabin noise. I was really surprised at just how loud it was in the cabin after I had had the headphones on for a while. I watched one movie, The Day the Earth Stood Still (the new one with Keanu Reeves), read a bit, played some Tapper on my GP2X, and slept a bit. The movie was ok. I have never seen the original though, so I don't have anything to compare it to. I loved the cameo by John Cleese.
When I got into SFO I got some coffee, rented a car (Pontiac G5, seems fine but has poor visibility out the back. I should have taken a car without a spoiler.) and headed to the hotel. Then I slept for hours and hours...
I now have my cell phone working - a AT&T Go Phone, so I just added $25 to it and provisioned it with a number. I did some work in the morning, watched the Heat - Pistons game, and now will relax a bit, read some, and maybe do some more work in the evening.
Best of all: I got tickets to Bishop Allen show in San Francisco on Tuesday! I'm super excited about that!!
I have also already eaten a cookie and three brownies. I know I'm going to gain weight, and R. is going to be angry with me for getting fat...
March 20, 2009
Review of Charlie Stross' Atrocity Archives and Glasshouse
The second book is the Atrocity Archives. I also really enjoyed this book. I went in without knowing much about it except for the keywords Lovecraftian, Turing theorem, and some relationship between the two. This is really good for people who have a computer science background and have read lots of fantasy fiction. The book uses a system of well-defined magic mixed with technology. There is another series that I really like that does things the other way: Rick Cook's Wizardry Series. In that series a computer programmer is transported to a world of magic. It has rules and as a programmer he's good at doing things in structured environments. In the "Bob Howard Laundry" series in the Atrocity Archives we have the opposite approach: magic leaks into our technological world, and is also accessible to computer programming-type people.
The book is actually two short stories smashed together, which makes the book really seem disjointed. That bothered me until I realized that it was intentional (just smashing some existing writing together - a lot like my phd thesis...) and then I didn't have any issues with it. There is a sequel (The Jennifer Morgue (Decorating & Design)) that I am interested in reading now also. The book was lots of fun, and pretty funny also. Highly recommended. (Seems like that is how all my book reviews end...)
March 10, 2009
Dwarf Fortress tutorialDwarf Fortress is a game that I would like to play. I haven't had time to look into it though, and it looks hard to to learn. When I get a chance, I should check out these Dwarf Fortress tutorials.
And set up some machine that can play it. I hope it runs under WINE.
March 6, 2009
Gnu Screen, Emacs, Terminals, and JapaneseI spent a while today at work getting things to work in Gnu Screen, Emacs, and Japanese. What I want to be able to do is type japanese in the native environment IME over a terminal connected to a Gnu Screen session in Emacs.
This has proved to be pretty difficult. For a long time I just put up with backspace being ^H (M-x normal-erase-mode-is-backspace) which totally sucks. Finally fixed that by rejiggering the screen .screenrc. Of course, I did all that at work, and now I can't remember what exactly it was that I did... It was the "bindkey" command in some strange way. Back at home, things worked just fine on my Fedora system, so maybe it is down to peculiarities of my work environment (PuTTy and Windows currently.)
So, once backspace and delete are working right, I wanted to get Japanese input working correctly. At work the machines usually use emacs 21 of some kind. For some reason when emacs in screen tried to display Japanese it would usually show \201 \235 or other control sequences, and then the display would be mucked up somehow. That was a problem. Luckily, there was a relatively easy way to get Emacs 22 installed on my dev box, and once I did that Japanese showed up correctly. I couldn't input it with the Windows IME though. I was able to fix that by setting current-language-environment to japanese. I also then had to set the keyboard-coding-system (C-x RET k) to utf-8. That seemed to take care of things and I could enter Japanese using the Windows IME. I also set the Emacs default-input-method to japanese so I can use Emacs own Japanese input method if for some reason I have to do that.
Back at home on Fedora, I needed to set current-language-enrivonment to japanese for things to work. That was a bit easier than at work, which was nice.
So now on my home laptop I can boot into Fedora 10, pull up a terminal, turn off the scrollbar, pop it into fullscreen mode, start Gnu Screen, and head start emacs. Set the font green, and things are totally 70s. And awesome. Also, check out this site to get 256 colors working screen - I don't know why I would need it, but it sounds really cool. I have no idea what actually needs 256 colors but at least I can run the test script. That looks kind of pretty.
Also, this post here talks about using cmatrix as a screensaver in screen which I also set up. It is pretty cool. But now I wonder if there are cooler screensavers that use 256 colors... I'll try playing around with mplayer -vo caca to see how that looks.
Anyway, I actually played around with getting the laptop to boot into text mode, but unfortunately then all my other customizations (make Caps lock a control key, make the font pretty, etc.) weren't running. Also, in text mode the font is too big. So booting directly into a terminal, screen, then emacs is cool, but not quite as useful as having a real GUI.
Credit Crisis VisualizedThis American Life has also done three really great podcasts on the credit crisis with the guys from NPR's Planet Money .
Crazy stuff going on out there. Great little explanation in the video though.
March 5, 2009
Goro's Diner: a Shibuya burger jointGoro's diner over on tabelog and it looked interesting. An English search turned up Jackson Hole burgers, but still) but very good. They have Anchor Steam on the menu, but didn't have any available while we were there.
After burgers we walked over to the "Suite" cafe and had some cakes. Nice!
I have to go running today...
March 3, 2009
A good thing to know...Here is something useful for me to know:
At home, if I run the stove in toaster mode, the microwave, the heater, the rice cooker, the usual complement of computers, the other usual appliances, and I hit the "bidet" button on the toilet, I can blow the circuit breaker.
And it gets *very* dark...
February 26, 2009
Review of David Gemmell's King Beyond the Gate
February 25, 2009
Jeff Bezos and Kindle 2 on The Daily Show
Let's see the clip. Oh, this isn't a movie?
I think it is really cool that Jeff went on the Daily Show to promote the Kindle 2. I took a few screenshots, and added what I thought were funny moments. The first shot Jon acts surprised when "Kindle 2" isn't a movie. He gets lots of movie guests. In the second shot he was poking fun at shipping costs, and Jeff introduced the Amazon Prime program ($79 a year, all orders shipped 2day shipping at no further cost) and Jon gave him a bit of ribbing about that. If you order a lot from Amazon it is a great deal. If not, then it isn't such a great deal. But just wait until gas prices rise a bit more...
The third shot is the actual Kindle hand-off, and the fourth shot just has the crawl info for Jeff. Thought it was interesting.
What a surprise. R. said I was entirely too surprised when this came on, but I don't see the director of her hospital on the Daily Show. :)
A trip Hirosaki in the WinterHirosaki. The main reason for the trip was to get out of Tokyo and see some snow. I also thought it would be a nice trip to get a change of pace. I've been working pretty hard lately and it would be nice to get away from computers for a weekend and relax a bit. When my friend Ian suggested a trip up north, I thought it was a great chance for a change of pace.
I have been in Japan for three years, but haven't really travelled very much domestically. Thinking back, I'm a bit surprised at how little I've travelled. I'll try to fix that once R. and I get on a better schedule together. So Ian and I visited the local travel agent and got a great deal on train tickets plus an overnight stay at an onsen (hot springs resort) in Hirosaki. I haven't been up north for siteseeing much - I did go to Sapporo once for a conference, and did a little bit of travelling then, but I haven't done any tourism in the northern part of the main island. One of the goals of going there now is to see the snow, because we don't get much of it in Tokyo.
On Saturday morning Tokyo train station was absolutely packed with lots of young people carrying skis and snowboards, headed west to go skiing. Not as much people were headed north, but our train was still pretty full. After about an hour, we arrived at Sendai, and from there on things were snowy. It was amazing once we got up in the mountains because you could barely see out the window. It was snowing and things were just a white blur at the speed the Shinkansen was making. I really enjoy train trips, and this was no exception. As part of our ticket package, we got a voucher for coffee on the train, and like most coffee on Shinkansen it wasn't the best in the world, but it was coffee and came in a cute Suica cup. Also, I was amused that one of the trains on our trip was apparently executable. The trip from Tokyo to Hirosaki was supposed to take about five hours all told. The main bulk of the trip was from Tokyo to Hachinohe, on the Shinkansen taking about four hours, and from there another hour and a half or so to cut across West to Hirosaki. Unfortunately, when we got to Hachinohe (which means the 8th Door. There are also towns called 2nd Door, 6th Door, etc.) the trains were not in service because of high winds and snow. Instead they were using busses. So we got on a bus. It was supposed to be headed directly to Hirosaki, but instead at the last minute was changed to stop at Aomori. That probably added an hour and a half to the trip and the passangers were not very happy about it. Two old guy started yelling at the JR guy in very unpolite Japanese. The bus was packed - people in every seat, including the unfortunately souls who had to sit in the aisle on these lame fold-out seats that did not look very comfortable.
The bus probably averaged about 40 KM/H. It was slow. We stopped at two rest stops. There was nothing to eat there except for the standard types of omiyage (gift foods) so for lunch we had strange cake-like things and other gift-type foods. It was a long, long trip, but we eventually arrived at Hirosaki at about 4:30pm. Then we had another bus ride, about half an hour, until we arrived at our onsen, exhausted, tired, and out of daylight.
If you check the maps (hopefully on the right, or maybe a bit up above this) the trip is basically a mostly straight shot from Tokyo north-east up to Hachinohe. That is all on the bullet train. Very fast, very nice. Then from Hachinohe we take a normal commuter train (express style, called the Super White Bird I think) over to Aomori, the biggest city in the north-east. The final leg of the trip is on a tourist train with beautiful big windows called the "Kamoshika", but as I wrote above, train service was suspended and we were in a bus. For like 3 hours. And we stopped at small rest stations. And there was no food. Ian and passed the time playing video games, him on a cool PSP 3000 playing Star Wars Battlefront II while I was playing Tapper on my older, less well-known but more linuxy GP2X. Actually, I enjoyed the bus ride to the extent that long bus rides can be enjoyed. onsen (the Japanese hot springs that people here love so much) before, so I won't revisit that topic again. I will note that this place had a 露天風呂 (Rotenburo, outdoor hot spring) which we made use of. Walking naked outside in the cold, with lots of snow falling and on the ground was a bit tough, but the bath is only about a six second walk from the indoor bath, so it wasn't too bad. The suddent dip then into 42 degree C hot water probably isn't a good thing to repeat over and over (and I am suffering a bit of a cold after the trip!) but it was great to sit out in the hot bath and watch the snow fall a hand's reach away.
We had a great dinner (included in the price of the trip) which I forgot to take picture of. It was very good though. Then on the way back to the room stopped to see a live Tsugaru Shamisen performance. The guy was pretty funny, and put on a good show. Then on up to the room and bed.
One of the main goals I had was to get out and see some real snow. I grew up in LA as a kid, and didn't ever see snow. When I was around 13 years old we moved to New Jersey and this white stuff that fell from the sky when it was cold was amazing to me. Then I moved to Dallas, and after that New York, neither of which get all that much snow. Tokyo sees even less snow than New York. But Touhoku (the north-east region of the main Japan island) is full of snow. Not as full of it as Saporro, but full of snow. So I wanted to get out and walk around in it. Ian and I were on a kind of tight schedule, but got up at 6am, hit the onsen again, got some nice breakfast (which I did get pictures of), and then went out for a 15 minute walk to the nearest temple. The temple, 岩木神社 (Iwaki Temple), was great. It was up a hill, full of snow, and just seemed really neat. I wish we had more time to walk around and see the temple grounds. They had a sign set up near a hanging bulls-eye target saying that if you could hit it with a snowball (from the path) then you would have good luck. I completely missed the thing. But I like interactive temples, so it is all good.
The walk back was cold, but we eventually made it. Just in time to check out and head back to Hirosaki station. We really wanted to see some of the Hirosaki sights, but due to a variety of comical mix-ups, didn't really have all that much time. We did get a chance to see the Neputa museum though, which I was really excited about because I've seen some TV broadcasts of a festival in the area where people build these great lighted floats and walk them around town. The musuem had a bunch of these on display, and they look really great. I would like to go back to Touhoku in the summer for one of those festivals. There are apparently two main ones, the one in Aomori (which is crazy big) and the one in Hirosaki, which is not quite as well known and is somehow slightly different. It is probably like the difference between the New York Jets and the New York Giants: I'm not really too clear on it, but some people are rabid enough to kill each other over it (apparently.)
After a nice trip through the museum and some shopping for gifts - お土産 (Omiyage), which are required after every trip out of town. You need to buy enough for the people you work for and pass them around. It is the only enforced social contact that we have at work with people outside our groups. It is really cool actually, because usually once or twice a week someone comes and gives you a small cake, or cracker, and you can chat about what things are like way out there where they visited (usually an hour or two away by bullet train.) The region we were in is the #1 producer of apples in Japan, so most things were apple-themed. Pretty good stuff.
The trip back we were able to ride the great tourist train. Big windows, a nice viewing lounge, comfortable seats. Really nice. Unfortunately, we hadn't booked ahead for the train from Aomori to Hachinohe, and we were a bit late making the transfer. We were in the "open seating" train, and since all the seats were taken, we ended up standing for the hour or so it took to get to Hachinohe before we could catch the bullet train home.
All in all, a really nice trip out for the weekend. I'm really surprised that after living in Japan for three years, I haven't done more of these short weekend trips. As long as the trains are running they really go pretty quickly, and you can get pretty far for a good deal when you do the package hotel + meals + train tickets plan. I'm really looking forward to taking R. out to go snowboarding sometime.
February 16, 2009
Video cards and linux ... again!I know I've written about this before but video cards and linux are annoying. Actually, I think video cards are just annoying, this doesn't have much to do with linux at all. They are confusing and hard to get working right.
I actually have two video cards floating around here, an NVidia GeForce (uh, let me check the box) 8400GS and an AMD Radeon HD2400Pro (had to check that box too.) I think they are both reasonable cards to have.
I haven't been using either of them though, instead using the Intel GMA3100 on-board video. Why? Because the two previous times I tried to get the video cards working they didn't. The only problem with using the Intel video is that it isn't really up-to-snuff: the compiz (pretty window and graphics effects) slows down when you have too many windows open. I didn't really mind that, but the problem is that when I reboot the system I have to unplug the monitor and wait until Ubuntu boots into a 1920x1200 mode before it will work. Otherwise the monitor gets into some strange mode and the video card picks up the EDID information from the monitor wrong, sending a bad video mode and basically not working.
Since I don't reboot my machine often that isn't a problem. Except when I have to reboot. Also, I just found out that some games - or in fact random bad key combinations - might also set the monitor into a bad state. And I can't find out where Ubuntu stores the resolution information so I can't ssh in and change it back to what it is supposed to be.
Since I had to reboot to get the screen back, I thought I would pull the desktop out and try shoving the cards back into it. Maybe the drivers had advanced in the past few months. The Nvidia card was still no good: graphic corruption and hard freezes after a short while. I think there could be some hardware incompatibility there. Also, the card doesn't quite fit in my machine. So I couldn't really use it anyway.
The Radeon card is working though! Well, kind of. It turns out that there is some problem with compiz and AMD's driver so you can't run them both at the same time. After turning compiz off though, no more video flickering, and it plays back video really well. I don't know if it is an improvement over the Intel video, but at least it plays with the monitor well and doesn't get stuck in strange non-displayable states.
I would love to use compiz, so hopefully AMD will get around to making their drivers play nice with it.
Go to Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30