何気ない雑多なこと

  • 08 11月 2014

簡単なアプリの設計

簡単なアプリ…というか、サンプル程度のもの。 「普段当たり前のように使っているものと同品質でいいや」と高をくくっていると意外とできない。 この難易度がわかるのは実際に設計したことがある人だけで、 知識として持っているだけの人は「自分はできる」と思っているだけで、 実は出来ないということに気付いていない。

ファイルを保存しますか?

エディタに文章を書いて、保存せずに閉じようとしたときに見かけるあれ。

「ファイルを保存しますか?」 [はい] [いいえ] [キャンセル]

遭遇したことあるはず。

続きを読む 
  • 06 11月 2014

判断できないのはまずい

どこにでもいると思うんだけど、判断できない人。 私生活で優柔不断なのは別に個性だし、性格だし…と思うけど、仕事で判断できないのはいろいろと困る。

  • 提案時 「こんなのがいいと思うんだけどどうですか?」 「…」
  • 選択 「これとこれ、どっちします?」 「…」

こんな調子。

続きを読む 
  • 04 11月 2014

AltJSはどれを使おうか?

AltJSはどれを使おう?と調べていたけど、いまいちしっくりこないというか…。

候補

候補として挙げていたのはこれ。

  • Closure Library
  • traceur-compiler
  • TypeScript

続きを読む 
  • 26 10月 2014

モバイルファースト

モバイルファースト

サイトとアプリ、どっちを先に作るべきか?といろいろと悩んでみたものの、 明確な答えが出るわけでもなく、どうしたいか?という話。

種類

サイトと言っても大きく分けてPC, タブレット, スマホという3種類。 アプリはアプリでiOSとAndroidが主流…と思いきや、iOSはiPhoneとiPadという2種類。

まとめるとこんな感じか。

  • サイト
    • PC
    • タブレット
    • スマホ
  • アプリ
    • iOS
      • iPhone
      • iPad
    • Android

続きを読む 
  • 26 10月 2014

解決してない人発見

gulpでcordova.d.tsをインストールしようと思ったんだけど、エラーが出た。
仕方ないのでtsdコマンドで直接試してみるか…とやってもだめ。

エラーはこんな感じ。

# gulp tsd [23:23:34] Using gulpfile ~/Project/gulpfile.js [23:23:34] Starting 'tsd'... [23:23:34] [gulp-tsd] execute command: reinstall [23:23:34] [gulp-tsd] config: ./tsd.json [23:23:34] [gulp-tsd] latest: true [23:23:34] [gulp-tsd] running... -> warning path reference not in index: plugins/BatteryStatus.d.ts -> warning path reference not in index: plugins/Camera.d.ts -> warning path reference not in index: plugins/Contacts.d.ts -> warning path reference not in index: plugins/Device.d.ts -> warning path reference not in index: plugins/DeviceMotion.d.ts -> warning path reference not in index: plugins/DeviceOrientation.d.ts -> warning path reference not in index: plugins/Dialogs.d.ts -> warning path reference not in index: plugins/FileSystem.d.ts -> warning path reference not in index: plugins/FileTransfer.d.ts -> warning path reference not in index: plugins/Globalization.d.ts -> warning path reference not in index: plugins/InAppBrowser.d.ts -> warning path reference not in index: plugins/Media.d.ts -> warning path reference not in index: plugins/MediaCapture.d.ts -> warning path reference not in index: plugins/NetworkInformation.d.ts -> warning path reference not in index: plugins/Push.d.ts -> warning path reference not in index: plugins/Splashscreen.d.ts -> warning path reference not in index: plugins/Vibration.d.ts -> warning path reference not in index: plugins/WebSQL.d.ts [23:23:34] [gulp-tsd] finish [23:23:34] Finished 'tsd' after 512 ms

続きを読む 
  • 25 10月 2014

tsdでcordova.d.tsをインストールする

gulpでcordova.d.tsをインストールしようと思ったんだけど、エラーが出た。
仕方ないのでtsdコマンドで直接試してみるか…とやってもだめ。

エラーはこんな感じ。

# gulp tsd
[23:23:34] Using gulpfile ~/Project/gulpfile.js
[23:23:34] Starting 'tsd'...
[23:23:34] [gulp-tsd] execute command: reinstall
[23:23:34] [gulp-tsd] config: ./tsd.json
[23:23:34] [gulp-tsd] latest: true
[23:23:34] [gulp-tsd] running...
-> warning path reference not in index: plugins/BatteryStatus.d.ts
-> warning path reference not in index: plugins/Camera.d.ts
-> warning path reference not in index: plugins/Contacts.d.ts
-> warning path reference not in index: plugins/Device.d.ts
-> warning path reference not in index: plugins/DeviceMotion.d.ts
-> warning path reference not in index: plugins/DeviceOrientation.d.ts
-> warning path reference not in index: plugins/Dialogs.d.ts
-> warning path reference not in index: plugins/FileSystem.d.ts
-> warning path reference not in index: plugins/FileTransfer.d.ts
-> warning path reference not in index: plugins/Globalization.d.ts
-> warning path reference not in index: plugins/InAppBrowser.d.ts
-> warning path reference not in index: plugins/Media.d.ts
-> warning path reference not in index: plugins/MediaCapture.d.ts
-> warning path reference not in index: plugins/NetworkInformation.d.ts
-> warning path reference not in index: plugins/Push.d.ts
-> warning path reference not in index: plugins/Splashscreen.d.ts
-> warning path reference not in index: plugins/Vibration.d.ts
-> warning path reference not in index: plugins/WebSQL.d.ts
[23:23:34] [gulp-tsd] finish
[23:23:34] Finished 'tsd' after 512 ms

続きを読む 
  • 18 10月 2014
  • 15 10月 2014
  • 15 10月 2014
  • 16 9月 2014

ミラクル店員と本気を出さない店員

今月中に新しい洗濯機が発売されるから、今のうちに旧モデルを買っておこうと電気屋に行ってきた。
今年のモデルが発売したら旧モデルは消えていくし、今年のモデルは旧モデルよりも+10万円だしても買えなさそうだから旧モデルを買っておくことにした。
今の家電はどれも機能面は申し分ないから、1年くらい旧モデルでも気にしない。
PCは最新がいいけど。

洗濯機は即決。
カビとかつきにくくて、きちんと洗濯してくれればいいや〜ってことで東芝。

エアコン

エアコンも11月頃に新機種出て、こちらも+10万円でも買えなくなりそうだから購入。
こちらも下調べ済みで、三菱にしようと思っていたけど、たまたま日立の人と話をしてみたら、日立製品がよさそう…ということで日立にした。
決め手は洗濯機と同じで、カビとかつきにくくて、それなりに冷やしてくれればいいや〜ってのがひとつ。
もうひとつは湿度も考慮してくれるところ。
湿度はそれなりに重要だと思っているけど、部屋に加湿器と除湿機の2つは置きたくないし…とここしばらく考えていた結果、 エアコンがそれなりに除湿機能を持っているということでそれを頼ることにした。
加湿器は必要になったら別途購入する。

加湿器はこれが欲しい。

フレッツ光の勧誘

本題はここから!!ちょっと前置きが長かった。

会計している途中に「フレッツ光を乗り換えませんか?」的な話。

続きを読む