clear-code / sezemi-2015

2015年のSEゼミ関連のデータを置くリポジトリー
Other
14 stars 9 forks source link

OSS Hack Weekend: shin-taro: twitter4j: Java: 作業ログ #28

Closed nabesh1n closed 9 years ago

nabesh1n commented 9 years ago

https://github.com/yusuke/twitter4j/

作業ログは、参加者が、このイベントを通して得るものをより増やすために重要になります。なぜなら作業ログがメンターからのフィードバックをより充実させるからです。

作業ログを元にメンターと「ふりかえり」をするタイミングがあります。「ふりかえり」では次のことをします。

メンターは次のようなフィードバックをします。これは、参加者とは違う視点から参加者の行動を観察することおよびメンターの経験があるからできることです。(「ふりかえり」の前にこんなフィードバックをよろしくお願いします!とお願いすると効果が高まるので実践してみましょう。)

このように、参加者の作業をメンター視点で一緒に整理し、参加者の今後の行動に活かす活動がここでいう「ふりかえり」です。そのため、「参加者にとって」ログに残すべきかどうか、という視点ではなく、「とりあえずログに残す」という視点でログを残してください。これは、参加者が重要だと判断しなくてもメンターの視点から見たら大事なこともあるからです。

ログに残すときは次のようなときです。

ログに残すことは次のことです。「備考」以外は作業の邪魔にならないように一言でよいです。備考は作業に役立つので必要な分だけ書いてください。

ログはコメントとして追記していってください。テンプレートは次の通りです。

* 作業(ここにやること、やっていること、やったことを書く)
* 思っていること:(今どう思っているかを書く)

備考:(必要なら必要なだけ書く。必要ないなら書かなくてもよい。)

例1(備考なし):

* 作業:インストールを始めた
* 思っていること:ドキュメント通りに進めれば大丈夫だろう

例2:

* 作業:インストールが失敗した
* 思っていること:ドキュメントに手順が足りない?

備考:エラーメッセージは次の通り

```text
XXX is not found

必要なファイルが足りないのかなぁ。

nabesh1n commented 9 years ago
nabesh1n commented 9 years ago

備考:エラーメッセージは次の通り

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building twitter4j-stream 4.0.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.twitter4j:twitter4j-core:jar:4.0.5-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.twitter4j:twitter4j-async:jar:4.0.5-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.492 s
[INFO] Finished at: 2015-07-11T10:43:10+09:00
[INFO] Final Memory: 7M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project twitter4j-stream: Could not resolve dependencies for project org.twitter4j:twitter4j-stream:jar:4.0.5-SNAPSHOT: The following artifacts could not be resolved: org.twitter4j:twitter4j-core:jar:4.0.5-SNAPSHOT, org.twitter4j:twitter4j-async:jar:4.0.5-SNAPSHOT: Could not find artifact org.twitter4j:twitter4j-core:jar:4.0.5-SNAPSHOT -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
nabesh1n commented 9 years ago
gfx commented 9 years ago

getRetweetCount()の返り値の型をlongではなくintにする

いやそれはどうでしょう。ちょっとtwitter APIの知識なしの状態での横槍で申し訳ないですが、その値ってもともと JSON number type ですよね。これをJavaの整数で表現するのであればlongが正しいです。retweet数だから32bit intの範囲だろうと考えるのは間違いだと思います。

nabesh1n commented 9 years ago