【いまさら】こんなサービスを使って世間にの動向に追いつこうとしてみた 2

2週間ほど経過した頃、やっと「毎日RSSを読む」ことが作業化されてきた。
(ただし、ぶくました「あとで読む」の消化は残っている)

少し欲張って新しいサービスに手を付けたくなった。



【次に手を出したもの】



Twitter

http://twitter.com/

時間を取られそうなため、アカウントを取得して殆どやっていない。
なんとなく雰囲気・方向性は掴んだ。



Tumblr

http://www.tumblr.com/

基本的にはBlogだが、Web上のものをクリッピングしてリブログする機能を持つ。
(他ユーザーがタンブった物をリブログする事も可能)
画像、Blog、音楽など、必要な物のみを選択してクリッピングを行う。
一発ネタ的な物や、キレイな画像等多いので結構楽しめる。



『Iddy』

http://iddy.jp/

プロフィールページ。
本来の目的とは異なるが、色々と登録したWebサービスを一括管理できるので忘れない。助かる…

【いまさら】こんなサービスを使って世間にの動向に追いつこうとしてみた

「仕事場の往復」と「ゲーム」の繰り返しで、「このままじゃまずいよねー」とか一応口に出して早一年。

焦りも最高点まで達したため、ネットブックを購入して少しずつ手をつけ始めた。


【最初にやったこと】


ソーシャルブックマークを作る』


はてなぶっくまーく」と「Delicious」を登録してみた。使い方次第なので、とりあえず作っておく。
その際、ブックマークレットの設定は必須!

ソーシャルブックマーク」の意図は色々あるのだろうが、なんとなく下記で自分なりに理解。
  (1)文字通ユーザー間でFollowしあい、情報共有する
  (2)流用・共用される「タグクラウド」によって、管理側の有益な情報を構築する。
(2)を目的として、いかに(1)をやりたくさせるか、の一環として「はてな」だと「はてなスター」などの仕組みがあるのだろう。



RSSを購読する』


livedoor Reader」を利用した。

初期設定されているRSSに加え、「どんどん追加して不要なものは削除」といった方針で進める。
追加するものは、livedoorReaderの記事別ランキングで流れてくるものとか、タバコ部屋など立ち話中に話題になった物など。慣れるとチョッと楽しくなる。

とりあえずナナメ読み。面白そうなら元記事を開く。
重要そうな場合は、ブックマークレットを利用してブックマークへ追加。
読む時間が無い場合は、「あとで読む」などのタグをつけてぶくますると便利。

【PHP】WindowsにHTTP_Clientをインストール

http://kato.issp.u-tokyo.ac.jp/pukiwiki/index.php?PHP
ここに書いてあったけど、自分で実行した結果も残しておく。

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS\system32>cd C:\cassowary\php-5.2.6-Win32

C:\cassowary\php-5.2.6-Win32>go-pear.bat install HTTP_Client

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : PEAR
Please confirm local copy by typing 'yes' : yes

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\cassowary\php-5.2.6-Win32
 2. Temporary directory for processing            : C:\cassowary\php-5.2.6-Win32\tmp

 3. Temporary directory for downloads             : C:\cassowary\php-5.2.6-Win32\tmp

 4. Binaries directory                            : C:\cassowary\php-5.2.6-Win32
 5. PHP code directory ($php_dir)                 : C:\cassowary\php-5.2.6-Win32\pea
r
 6. Documentation directory                       : C:\cassowary\php-5.2.6-Win32\doc
s
 7. Data directory                                : C:\cassowary\php-5.2.6-Win32\dat
a
 8. User-modifiable configuration files directory : C:\cassowary\php-5.2.6-Win32\cfg

 9. Public Web Files directory                    : C:\cassowary\php-5.2.6-Win32\www

10. Tests directory                               : C:\cassowary\php-5.2.6-Win32\tes
ts
11. Name of configuration file                    : C:\cassowary\php-5.2.6-Win32\pea
r.ini
12. Path to CLI php.exe                           : C:\cassowary\php-5.2.6-Win32\.

1-12, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\cassowary\php-5.2.6-Win32\pear.ini...
Initialized registry...
Preparing to install...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar...

installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.7.1.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar.
..
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
install ok: channel://pear.php.net/Archive_Tar-1.3.2
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/PEAR-1.7.1
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)

PEAR: To install optional features use "pear install pear/PEAR#featurename"

******************************************************************************
WARNING!  The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
<C:\cassowary\php-5.2.6-Win32\pear>
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.

Current include path           : .;C:\php5\pear
Configured directory           : C:\cassowary\php-5.2.6-Win32\pear
Currently used php.ini (guess) :
Press Enter to continue:

** WARNING! Old version found at C:\cassowary\php-5.2.6-Win32, please remove it or b
e sure to use the new c:\cassowary\php-5.2.6-win32\pear.bat command

The 'pear' command is now at your service at c:\cassowary\php-5.2.6-win32\pear.bat

** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\cassowary\php-5.2.6-win32\pear.bat' until you have added
** 'C:\cassowary\php-5.2.6-Win32' to your PATH environment variable.

Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.

For more information about PEAR, see:

  http://pear.php.net/faq.php
  http://pear.php.net/manual/

Thanks for using go-pear!

続行するには何かキーを押してください . . .

C:\cassowary\php-5.2.6-Win32>

【Java→Objective-C】メソッドの書き方(2)

パラメータが複数ある場合の記述方法

(1)
- ( id ) hoge : ( int ) a hugo : ( int ) b {
    …
}

メソッド名は「hoge」じゃなくて「hoge:hugo」になる
Javaで書くなら

(1)
public int hogehugo( int a, int b ) {
    …
}

ラベルはつけなくても良いらしい…焦る

(2)
- ( id ) hoge : ( int ) a : ( int ) b {
    …
}

ちなみに(1)と(2)は別メソッドとして区別される。(これは納得)

呼び出す時には

(1) [ obj hoge : 3 hugo : 9 ];
(2) [ obj hoge : 3 : 9 ];

こんな感じ


ラベルは「意味合いをもって」って作法だけだったんだな
深読みしすぎて1日空回り…うーん

【Java→Objective-C】メソッドの書き方

- (int) hoge : (string) param {
  …
}

「-」:生成したオブジェクトを外部からいじるメソッド
「+」:クラスメソッド(Javaのstaticメソッドと同じ)

(int)とか(string)は型
hogeがメソッド名
メソッド名の前の型は戻り値の型(なければvoidと記載)

メソッドの引数は「:」以降に記載

もし型を省略した場合、「Object型」となる。
(Objectをあえて定義するなら「id」と記載)