月別アーカイブ: 2013年2月

iPhone アプリ開発でのエラー

現在、『絶対に挫折しない iPhoneアプリ開発「超」入門【iOS6対応版】』を読んでいるが妙なところではまったのでメモ。

p.245 からの太鼓アプリ開発での中で下記の実装を行うようにあるが

- (IBAction)playSound {
    
    if (self.taiko.playing) {
        self.taiko.currentTime = 0.0;
    }
    else {
        [self.taiko play];  // ※ここでエラーが吐かれる
    }
    AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
}

実行すると下記のエラーが吐かれる。
エラーメッセージ —>
2013-02-27 12:31:52.952 Taiko[2050:12f03] <0xb0081000> Error ‘!dat’ trying to set the (null) audio devices’ sample rate
2013-02-27 12:31:53.000 Taiko[2050:12f03] <0xb0081000> Unable to set default stereo pair on aggregate: ‘who?’
<--- ググったところ、下記の解決方法にヒット。 http://stackoverflow.com/questions/6752192/error-dat-trying-to-set-the-null-audio-devices-sample-rate

つまりは、システム環境設定 -> サウンド -> 入力 での設定の確認をしてください、と。
自分の環境では下記のように USB の Webカメラを使用していたので抜いてみたところ解決した。
スクリーンショット 2013-02-27 12.39.56

New Language School SousPeak

I joined SousPeak‘s presentation meeting for about 2 hours last Saturday.

SousPeak is a new language school that is scheduled to open on April 7, and the latest will be in May at Cebu Philippines.

They will be looking for about 10 teachers this March and finally they will employ 16 – 20 persons.

The class method is a 1 to 1 class for 3 hours and a group session for 1 hour, and a self-study period for 4 hours. Classes ends at 5 p.m.

Additionally, we can do self-study for 2 hours before sleeping.

4月にオープンする予定の サウスピーク の説明会に、先週の土曜日に行って来ました。

サウスピーク は 4月7日にフィリピンのセブ島にオープン予定の新しい語学の学校です。

彼らは 3月に 10人の先生を探し、最終的には 16人から 20人を雇うでしょう。

クラスのスタイルはマンツーマンを 3時間、グループセッションを 1時間、そして 4時間の自習をします。
終了時刻は17時です。

また、寝る前までに 2時間の自習時間が含まれます。

Renewed passport

I renewed my passport after work at IKEBUKURO Passport Center yesterday.

Beforehand I wrote a document and as a result, my stay time was about 10 minutes.

I will receive my new passport on February 23.

This is my old passport.
2013-02-20 10.28.13

I visited several countries with this passport in the past 10 years, China (2 times), Taiwan (2 times), Thailand, Palau and France.

I will visit more countries with my renewed passport in the next 10 years. It will be stamped at the Philippine Airport on April.

Are Japanese atheist?

Many Japanese people say “I’m an atheist”.

But they just forget or not aware that there are about 8 million Gods in Japan.

They exist everywhere, example Shrines, cars, meals, toilets etc…

Naturally, we go to the Shrine and give thanks for the meals that we eat. We pray to the God of Shrine at the Shrine, and pray to the life of the living things that became food.
If my mother will get sick, I pray for my mother’s recovery to ancestor maybe.

In fact, many Japanese people do not feel the Gods but are very close to the Gods.

2012年の日記とか

1/31
My daughter went to the ENT hospital this morning. She was examined by the doctor and given a certificate that stated that she has recovered from the flu.

The parents must submit a certificate to the day-care.
Otherwise, she will be a source of infection of the flu.

About Ogasawara Islands
The Ogasawara Islands belong to Tokyo, Japan. They are located south of tokyo, about 1000 km away.

They are solitary islands in the distant ocean that have a subtropical climate. Many rare plants and animals exist there, so it’s called the “Galapagos of the Orient”

In 2011, it was registered as a World Heritage Site.

サムライXの登場人物について2012年作

About “Kenshin Himura”
“Rurouni Kneshin” is a story set at the beginning of the Meiji Era in Japan.

This story’s hero is “Kenshin Himura (緋村剣心)”. He is commonly known as “Hitokiri Battousai (人斬り抜刀斎)”.

He is an imaginary character, but his model did exist. One of his models was said to be “Gensai Kawakami (河上彦斎)”. He was active during the Meiji era too and his life was similar to young Kenshin’s.

About “Hazime Saitou”
He was one of the “Rurouni Kenshin” Characters and a real person.

Similar to the animation, He belonged to the “Shinsengumi” in the late Edo period and later became an police officer during the Meiji era.

He had excellent sword skills and was one of the best in the ” Shinsengumi”. And he had good innings and died at 72.

十二支について 日本文化の紹介 2012年作

十二支について
This article is about the origin of the zodiac.I will introduce one of them.

Long time ago, Buddha said to animals “You have to come to me for New year’s greeting, so that I can appoint you to be a leader in year to whoever comes the first 12 animals in my house.

The result of the competition was
mouse won first,
and second was cattle,
and the third was tiger,
fourth was rabbit,
fifth was dragon,
sixth was snake,
seventh was horse,
eighth was sheep,
nineth was monkey,
tenth was chicken,
eleventh was dog,
and the last one was boar.

They have to arrive during new year’s day but the cat arrived on the next day.