putting the elephant in gorilla

Wednesday, September 9, 2009

Cake

When I was in third grade, I had just moved from around Berkley, California to South Windsor, Connecticut and, for my birthday, my mom made cupcakes, carrot cake cupcakes with cream cheese frosting.

To a kid in third grade, carrot cake is not as exciting as, say, chocolate or lemon, even if your mom is a Berkley co-op-shoppin', bag-carrying, whole-grain-bread-only kinda lady. It might even be shocking, if you had never seen a carrot cake. I mean, you are only in the third grade after all. Which is why when no one ate by birthday cupcakes, I was traumatized.

But don't fret, for some weird reason, I still love carrot cake after all that. And so when I wanted to make a cake for my girlfriend's birthday, I thought of the old standard, not-in-Japan carrot cake.

In my search for the perfect carrot cake recipe I found a blog post by a cake maker called The Ultimate Carrot Cake with Cream Cheese Frosting! "Looks promising," I thought. And when I saw this, I knew this was the cake I would make;
“This is the best cake I’ve ever eaten!” was the reaction from my husband Graham to my latest creation. He has tasted many cakes during our 21 years together, so I pay attention when he makes a proclamation like this. I have to agree, this one is a winner!
I am not particularly good at making cakes because I have made very few, but if you have a good recipe, it really can't be that hard, can it? Welcome to Japan, where burritos have no beans and good carrot cake recipes are few and far between. If you want to make a good recipe here you have to translate from the original English. Sounds easy, until you get to all the variables like confectioners' sugar (that was hard to explain and find) or all-purpose flour (apparently, all-purpose flour is half way between the two grades of flour in Japan. Try searching for that explanation in Japanese!). Not to mention finding the ingredients like clove and nutmeg.

Tuesday, July 21, 2009

How to use a Japanese Mac keyboard in Windows

This took me a while to figure out, but I finally got it.

1. Go to Start > Control Panel > Keyboard > Hardware

2. Choose your keyboard.

3. Press properties > Driver > Update Driver...

4. When the Hardware update Wizard comes up choose "Install from a specific location (Advanced)" and click next.

5. Choose "Don't search. I will choose the driver to install." Then hit next.

6. Uncheck the box for "Show compatable hardware."

7. On the left choose "Fujitsu" and then on the right choose "Fujitsu 109 Japanese USB Keyboard" and click next.

8. A dialouge will come up asking if you really want to do it. Click yes.

9. Restart the computer.

You should be finished with the basic set up then.

One more thing...

The mac keyboard has the 英数 and かな keys to the left and right of the space bar. We can link these to English and Japanese respectively.

I am assuming you already have Japanese input and English input enabled. You will see a blue square in the task bar with either EN or JA. Click it. It should have both. If so, let's continue. If not, you need to find a tutorial on how to enable Japanese language support and then come back here. For those of you who will continue...

1. Click on the Language Bar in the task bar.

2. Click Settings.

3. A Text Services and Input Languages window will come up. Click "Key Settings..."

4. It says "Switch to English (United States).To the right of it it should say "Ctrl+Shift+0". If it does not click "Change Key Sequence..." and make it that (Ctrl+Shift+0)

5. It says "Switch to Japanese". To the right of it it should say "Ctrl+Shift+1". If it does not click "Change Key Sequence..." and make it that (Ctrl+Shift+1)

6. Now download the program Autohotkey and install it. http://www.autohotkey.com/ (When you install it will ask you if you want sample scripts. Click yes.)

7. After you have installed go to Start > All Programs > Autohotkey and click Autohotkey.

8. After you click itYou will see a green and white H in the task bar.

9. Right click it and click "Edit this script".

10. In the script add this under where it says "return".

LWin::Ctrl
SC07B:: Send ^+0
SC070:: Send ^+1
The first line makes the left Windows key into Contol. This will make it like the Command key on Macs. I mainly use OSX so I like having this key switched. If you plan on mainly using Windows delete the first line.

The next two lines map the keys to the left and right of the space bar to the languages. Left is English and right is Japanese.

11. Save and close the file.
12. Right click the green and white H and click "Reload This Script".

Everything should work now. We just want to make sure that Autohotkey starts when we start the computer.

1. Go to Start > All Programs > Autohotkey

2. Right click the Autohotkey program and choose "Create Shortcut". You will see the shortcut below there.

3. Drag the shortcut into the Startup folder under All Programs (just above where you are now).

Ok. That's it. Enjoy.

Tuesday, March 31, 2009

iDic: The Best Japanese Dictionary for the iPhone Ever! Well... if you know how to set it up.


Ok, if you want to learn Japanese, it is going to take a lot of effort, and the most important thing is a good dictionary. This dictionary is as good as it gets. It is a bit of a process to set up, but you can do it and it will all pay off in the long run. I really want to stress that this dictionary will help you more than you can imagine, but you need to be paitent to set it up and learn how it works. There are many Japanese dictionaries for the iPhone and they all leave something to be desired. At first they may seem handy, but the more you study you will see why they don't work for you. I am not going to get into why each specific one is bad. You are just going to have to trust me.

Why is this dictionary the best?
Well, it is really a collection of several dictionaries that are all instantly accessed with one search and the dictionary has taken out all the repetitive steps that add up when you are doing hardcore studying.

Where to start? The dictionary is called iDic and it is in the iTunes app store for 600 yen (about 5 dollars). Hold on. Before you go download it, read the rest of this post.

The "dictionary" is actually a dictionary reader. It reads dictionary files, specifically, EPWING dictionary files. This is an old business standard or something that is still around. The good thing about it is that you can get dictionary readers for EPWING files for almost any kind of computer or device, so you can have the same dictionaries on your desktop or whatnot.

Just to give you an overview of what we will do. We are going to download all the dictionaries we need. Install iDic. Transfer the dictionaries to the iPhone. Set up a dictionary group so the dictionaries are in the correct order. Enable the Japanese Kana keyboard, the Traditional Chinese pad and Simplified Chinese pad, so you can write Kanji on your phone with your hand. Ok?

First an explanation of the dictionaries:
  1. Kanjidic (with stroke order): Kanjidic is a Kanji dictionary. Kanji is Chinese characters. This is a special version of Kanjidic that shows stroke order.
  2. Edict: Edict is a Japanese to English and English to Japanese dictionary with simple explanations for non-native speakers.
  3. Enamdict: This is a name dictionary. People and places. It will save your life and the lack of it in other dictionaries is a big reason why they are not very helpful.
  4. jp_examples: This is a supplemental dictionary to Edict. Edict gives one word explanations. This dictionary gives example sentences for all the words in Edict.
  5. Eijiro: The Electronic Dictionary Project. This is an often updated, broad dictionary with slang and new words which is good for showing usage. I use this when I write letters to people to look up phrases like "On the other hand."
One point about the dictionaries is that it is very beneficial to have them in this order in iDic. Take these examples:
  • If you search a kanji compound like 菜食 or something, you will get hits for Edict (simple) and then jp_examples (detailed) and then Ejiro (really detailed) in order. Since it is not only one kanji, Kanjidic will be skipped and it is not a name so Enamdict will be skipped too. So, you only get the hits you want.
  • Say you want to search 書かれた. This is a conjugated passive verb so it is complicated and will not come up if you type it all in, but if you cut it back to the first kanji 書, you will get 1. Kanjidic (with all the readings and stroke order) 2. Edict (with basic words) 3. Enamdict (if it is in names) 4. jp_examples (some detail) and 5. Ejiro (for more detail)
Basically, you can get almost everything you need from one search in almost any situation. Ok, let's put this thing together.

1. First install iDic from the iTunes store.

2. Download the dictionaries.

These dictionaries (except Eijiro)
are the intellectual property of the Electronic Dictionary Research and Development Group, under the fearless leadership of Prof. Jim Breen, at Monash University in Australia (copyright and license terms). Also, thank you to the dude who put the stroke orders in Kanjidic. I could not find who it was, but that is also from Jim Breen originally.
1. Download Kanjidic here. http://www.japaneselanguagetools.com/docs/Kanjidic.html

2-4. All these dictionaries are on Jim Breen's page.
http://ftp.monash.edu.au/pub/nihongo/00INDEX.html

edict_en.fpw.tar.gz (24967448 bytes) EDICT file converted to EPWING format by Hannes Loeffler - http://www.hloeffler.info/zaurus/. (Nov 2008)

enamdict.fpw.tar.gz (38731740 bytes) The file in EPWING format (from Hannes Loeffler - http://www.hloeffler.info/zaurus/) (March 2007)

jp_examples.fpw.tar.gz (44618204 bytes) The examples in EPWING format (from Hannes Loeffler - http://www.hloeffler.info/zaurus/) (March 2007)

5. Eijiro costs money so you need to buy it and convert it to EPWING. If you are an upper level user you need it. You can try www.alc.co.jp to test it out. This is directions to converting http://www.japaneselanguagetools.com/docs/Eijiro_to_EPWING.html
3. Import the dictionaries: Open iDic and go into "Pref." Tap "Load Dictionaries." Follow the directions on the page (use Filezilla to connect and transfer the files). It is very important that after you unzip the downloaded dictionaries that you transfer the folder that comes out as is. If you change the folder hierarchy they will not work. To clarify, before transfer, unzip the downloaded zip files. Transfer the folder that comes out of each zip file. (For Jailbroken iPhones only: you can also transfer the files by putting them in /private/var/mobile/Media/Photos/iDic/ with DiskAid, Funbox or over SSH.)

4. Put the dictionaries in order:
  1. Click done.
  2. Tap the book icon on the bottom right.
  3. Tap "edit."
  4. Tap "New Dictionary Set."
  5. Change the name to "Japanese" (or whatever you want).
  6. Tap "Edit."
  7. Tap the blue arrow next to "Japanese."
  8. Tap "Edit."
  9. Tap "Add a dictionary."
  10. Add the dictionaries in the correct order by repeating 9 and choosing the dictionaries:
  • Kanjidic
  • EDICT
  • 名辞典 (Enamdict)
  • 例文 (ex_japanese)
  • 英辞郎 (Eijiro)
Now tap "Done" and then on "Japanese"

5. Important setting in iDic: From the home in iDic tap "Pref." First, Turn "Keep keyboard" on. This will save you so much time when you want a word fast or you are doing a lot of searching. Each little step adds up. Second, this is personal preference, but I hate the extra step of deleting a word from the search box after I have already found it. If you put "Erase last text" on you won't have this problem. Although, if you want to alter a search you will have to reenter it. That can be annoying but I find that happens rarely for me. I usually get what I am looking for on the first shot.

6. Important settings in the iPhone:
  1. Push the home button.
  2. Tap "Settings."
  3. Tap "General."
  4. Tap "Keyboard."
  5. Tap "International Keyboard."
  6. Tap "Japanese."
  7. Turn "Kana" on and make sure QWERTY is off.*(see below)
  8. Tap "Keyboards."
  9. Tap "Chinese (Simplified)"
  10. Tap "Handwriting."
  11. Tap "Keyboards."
  12. Tap "Chinese (Traditional)
  13. Tap "Handwriting."
  14. Hit the home button.
* I say to turn on Kana and QWERTY off because for Japanese the QWERTY keyboard on the iPhone is not good. The English QWERTY keyboard on the iPhone corrects your mistakes if you mis-hit a key. The Japanese one does not do that so you will be correcting many mistakes. Also, Japanese is a hard language and this is a serious dictionary so, if you are going to use it you must know hiragana well. The Kana keyboard will help with that. Not to mention that it has a up, down, left, right sliding feature which makes it really efficient. All the "A" sounds are a tap. All the "i" sounds are a slide left. All the "u" sounds are a slide up. All the "e" sounds are a slide right. And all the "o" sounds are a slide down. Try it out and see.


Now about the Chinese handwriting keyboards, there is no Japanese handwriting keyboard, which sucks. I hope there will be one someday, but for now we are stuck with the Chinese ones. Japanese is made of traditional Chinese characters, simplified Chinese characters and native Japanese "Kanji." Most of them are traditional, so use the traditional keyboard. If you can't find it, switch to the simplified keyboard. If you still can't find it it is Japanese and you need to look it up in another dictionary. The iTunes store app "Wa" has a standard stroke order method dictionary in it if you need to look up a Japanese Kanji that you can't write in with the Chinese pads. I recommend that if you think you might know a Kanji try to look it up by phonetics (if you can remember) using the Kana keyboard. This trying to remember a Kanji will make you much better.


7. Extra info: If you have jailbroken your iPhone you can use the cydia app Appflow to set this dictionary to a double tap of the home button. If you study a lot or live in Japan this is handy. Having a dictionary always handy can make you better quicker.

The End: If you have made it this far, I commend you. I imagine you will become a great Japanese speaker, reader and writer. It is a long journey, but it is interesting as hell. Enjoy it. If you need any help ,send me a message and I will do what I can.

Here is some other stuff you can use with iDic (or any EPWING reader).