「Name」を含む日記 RSS

はてなキーワード: Nameとは

2013-06-15

http://anond.hatelabo.jp/20130614232508

いわゆる「LL」ではないけど、Scalaを挙げておきたい。希望の要件はおおむね満たしてると思うけど、以下注釈

val users = service.getUsers // 1
val result = users.map { users => users.filter { u =>
  u.name.head == 'T' // 2
}}.flatMap { users => Future.traverse(users) { user =>
  db.write(user.id, user.name) // 3
}}

result.onSuccess { case _ =>
  println("Success!") // 4
}
// '=>'がうまく書けなかったので全角になってる。

2013-05-27

意訳

I’m not sure what I just watched.

「え、俺いま何見たの?」って感じですよ

Our new music video is totally yabai (“yavay”).

ヤバいでしょ。うちらのビデオ

Yabai?

ヤバいって?

Japanese slang for cool, dope, sick, ill. Fast, intense. What moves you. Yabai is yabai. There’s no other word to describe it.

日本語で、クールとかラリってるとか、病気とか、悪いって意味で……なんなんだろう。とにかく「ヤバいヤバい」としか言えないんですよ

Sort of like kawaii?

cawaiiというのとは、違うの?

No no, kawaii is only for “cute” things. Yabai is for awesome things. Bite into piping-hot pizza, it tastes yabai. Once a good DJ takes the

stage, the club gets yabai. Funky Kota is totally yabai.

違う違う。cawaiiは「可愛いもののことで、yabayは「凄い」もののこと。例えば、凄い熱いピザをガブっと食べたりすると、味が「ヤバい」。良いDJプレイ

したりすると、そのクラブが「ヤバい」。そしてFunky Kotaは、全体的に「ヤバい

You’re losing me again.

ますます意味がわかりません(笑)

Funky Kota is a new style of rave and house music from Indonesia. Over there they call it Dangdut, but it’s also contracted as Funkot. The beats

are hyper fast, usually around 180 to 200 BPM, like happy hardcore except with more vocal samples. “Are you ready!” “Hey DJ!” That kind of

stuff. Except to Japanese ears, it sounds like “TICCCKKEE!” It doesn’t mean anything but it gets you pumped up.

Funky Kota」は、インドネシアから来た新しいダンスミュージックで、現地では「Dangdut」ってよばれてるんですけど、同じ様に縮めて「Funkot」とも呼ばれ

てるんです。テンポが凄く速くて、BPMが、大体180から200くらい。ボイスサンプルをもっと使いまくるハッピーハードコアって感じで“Are you ready!” “Hey

DJ!”とかそういうのなんだけど、日本人の耳には「ティッケー!」って聞こえて、全然意味はわかんないんだけど、凄くアガるんですよ。

What’s the Funky Kota scene like in Japan?

日本Funky Kotaシーンって、どんな感じ?

Mandokoro Takano, AKA DJ Jet Baron pioneered the craze back in 2009 on a radio talk show with the rapper Utamaru from Rhymester. He layered Funky

Kota bass lines and samples over J-pop, folk tunes and old super hero theme songs. Now he’s remixing our stuff. Very yabai.

高野政所さん(DJ Jet Baron)が、2009年ラッパーライムスター宇多丸さんのラジオから流行らせました。Funky KotaベースラインにJ-POPとかフォーク

ングや昔の特撮番組主題歌サンプリングを重ねたんです。その高野政所さんが、いまうちらの曲をリミックスしてくれてるんですけど、凄く「ヤバい」です

So this is a new direction for the group? Your older songs are conservative as far as idol music go.

これは、グループにとって新しい試みなんじゃない? これまでの君たちの曲って、正統派のアイドルソングって感じだよね?

We were in before AKB48, playing free shows in Akihabara and making a name for ourselves. The current idol culture didn’t exist back in 2006.

AKB48’s rise to fame set the standard for all other acts to follow. They made idols yabai. Now you need to have a hook to stand out from the

crowd.

うちらはAKB48より以前から秋葉原無料ライブをやって名前を売ってきたんです。でもいまみたいなアイドル文化は、2006年より以前には無かった。AKB48

が売れて、それがスタンダードになったんです。彼女たちはアイドルの「ヤバい」を作った。でもいまみんなが求めてるのは、そういうのを抜け出す何かだと思

う。

And you’re carving out a nice niche with Funkot. You’ve played over 600 shows but are still underground. What’s the goal of the unit?

そして君たちは、Funkotでニッチ鉱脈を掘り当てた。これまで600回以上もライブをやって、それでも地下アイドルのままだった君たちにとって、これはゴール

と言って良いのかな?

If AKB are the heroines of the idol world, then we’re the heels. We belong just outside the mainstream. Anything too popular loses its edge.

Being on a prime-time variety show like other Top 40 groups would rob us of our essence. But we’d thrive on a late night comedy program!

AKBヒロインなら、うちらは悪役。メインストリームからは外れてます。あんまり有名になりすぎると、エッヂがなくなっちゃうじゃないですか。他のTop 40の

グループみたいにゴールデンバラエティに出ても、うちらの味は出せない。でも深夜のお笑い番組だったら、うちらヤリますよ。

Those shows like to put their guests in bikinis. Funkot club dancers tend to be dressed very sexymaybe you could play on that angle?

そういう番組って、ゲストビキニを着せたりするよね。Funkotのダンサーも、かなりセクシー衣装を着てるけどーー君たちも、そういうの、着る?

No, unlike some other groups we don’t do the bathing suit thing anymore! We want to keep our act more pure, more genuine.

いや、他のグループとは違って、うちらは水着とか着ませんから! うちらはうちらのやることを、純粋に突き詰めてくだけです。

Have you changed over the years?

ずっとやってきて、変わってきたことってある?

We’re more hyper than ever! If anything, we’ve learned how to be humble. We used to expect to be pampered. I mean, that’s one of the perks of

being an idol, right? But now we aim to emulate the humble shrimp – head down, waist bowed in respect.

何かあるとしたら、謙虚になることですね。最初はうちら、もっとちやほやされると思ってて、それがアイドル特権だと思ってたんだけど、いまはもう、エビ

みたいに謙虚になるのが目標ですからーーエビみたく頭を下げて、腰を折ってお辞儀しまから

What makes Hyper Yoyo hyper?

何がハイパーヨーヨをハイパーにするの?

Non-stop adrenaline! If we’re not having a blast on stage, then how can the audience enjoy themselves?

まらないアドレナリン! うちらがステージで爆発しなかったら、お客さんも盛り上がれないでしょ?

With the advent of live streaming sites such as Nico Nico Live, more people are content to stay at home rather than venture out to events.

ニコ生みたいなサイトの出現で、ライブに来るより、家で満足しちゃう人の方が多くなっちゃったんじゃない?

Funky Kota isn’t something you listen to, it’s something you experience! The sound reverberates through your body. Watching through the

computer screen dulls the impact. The monitor stands between you and the party.

Funky Kotaは、聞くものじゃなくて体験するものです! 音が身体で反響するんですよ。この衝撃は、パソコンモニターで見てたんじゃわからないですからモニター邪魔

Even with that buffer, your new music video is pretty intense!

そんな邪魔があっても、君たちの新しいPVは、かなり激しかったよ!

Oh yeah, that’s a perfect example of what our concerts are like! It was filmed inside Robot Restaurant, the most yabai place in Japan. 10

billion yen to build, all of it going into colored light bulbs and makeup for the robots.

おおぅ。あれって、うちらのギグそのものなんですよ! ロボットレストラン撮影したんです。日本で一番ヤバいスポット。あのロボットや照明を作るのに100億円かけたって話です。

It’s been all over the news since it opened last summer.

それって、去年の夏にオープンしてから、かなり話題になってるよ

Seriously? We hope the video shows people how yabai Japan is. See, the Japanese take on Funkot is different from Indonesia, so the originators

are starting to reverse-import it. Even the way we dance isn’t authentic. It’s half cobbled together from YouTube clips, half improv.

本当に? あのPVを見て、日本いかヤバいところか知ってほしいですね。日本のFunkotは、インドネシアのとは違ってると思うんだけど、最近本家のそっちの方に、逆輸入され始めてるそうなんです。うちらはダンスも本場とは違ってるんだけど、あれって急いでyoutubeクリップから作ったのと改良したのが半々なんです。

It’s as if we’re going full circle, with DJs in Indonesia remixing copies of their original tracks…

それって円になってるみたいだね。インドネシアDJが、彼らの曲のコピーを更にリミックスするという……

Next step, Jakarta! We want to party with the local club kids and experience the scene firsthand. Get the authentic experience.

Imagine, our first Asian tour. How yabai would that be!?

次の目標ジャカルタ! 現地のクラブキッズパーティーして、現地のシーンを直に体験したい。本物を体験したい。想像してくださいよ。うちらの最初アジアツアーですから。相当、ヤバいですよ!?

2013-05-26

The Swedish integration debate should focus on the difficult trade-offs needed in a country that is not structurally optimal for immigration, rather than getting bogged down in the semantics of racism, argues political scientist Andreas Johansson Heinö.

There is a lack of political action in Sweden to address integration that has long been compensated by strong rhetoric that bashes old policies. "We might even stop talking about immigration policy," Ola Ullsten, a prominent Liberal Party (Folkpartiet) politician, said in the 1970s.

When the term "integration" came into vogue in the 1990s, it was meant to replace the then stigmatized concept of multiculturalism. And when Iranian-born professor Masoud Kamali presented the findings of a state inquiry on structural discrimination in 2006, the solution was to scrap integration policy.

More recently, some suggested ahead of the Social Democrats' party congress in Gothenburg last week that if they take power, they should abolish the job of integration minister all together. The party's governing board said that integration is "a problematic concept" that should preferably not be used.

Commentators from different political camps applauded the initiative.

Per Wirtén, a columnist with the centre-left Dagens Arena newspaper, wrote that he sympathizes with the spirit of the proposal, but would rather see a name change: let one anti-racism minister take over the fight against "structural racial discrimination."

The word "immigrant" has been purged from the new proposed party programme. While both the 1990 and 2001 programmes dealt with integration problems, the 2013 analysis says it time to face racism with a general policy of equality. The programme warns that "poor groups and impoverished areas" will be translated into an ethnic problem in the public debate. Accordingly, the Social Democrats have since called itself an "anti-racist" party.

Is this a return to traditional social democratic equality policy, a settlement with the last remnants of the craze for identity politics under the former leadership of Mona Sahlin? Hardly.

2013-05-17

朝日新聞の「米政府報道は何をしたのか

タイトルの答えを端的に書けば,次のとおりである

朝日新聞は,米政府に出した予定質問に対する予定回答を報道した。

あるいは「実際に質問・回答がある前に」と付け加えても良いかもしれない。

「米政府言語道断侮辱的」 橋下氏発言を厳しく非難」( http://www.asahi.com/international/update/0516/TKY201305160295.html

「橋下氏発言を非難する米政府当局者のコメント(全文)」( http://www.asahi.com/international/update/0516/TKY201305160461.html

 

世間では,上の朝日報道はJen Psaki氏の発言を報じたものであるかのようにする者があるが,事実誤認である

Jen Psaki氏が朝日記事に近い発言をしたのは次の記事である

「Daily Press Briefing Washington, DC May 16, 2013」( http://www.state.gov/r/pa/prs/dpb/2013/05/209511.htm

もっとも,朝日新聞はこれを報道したものではあり得ない。なぜなら,「全文」とPsaki氏の実際の発言を比較するまでもなく,上記Briefingが行われたのは米国東部時間夏時間2013年5月16日午後1時45分つまり日本時間2013年05月17日午前2時45分であるのに対し,朝日新聞の記事は日本時間2013年5月17日午前0時2分に配信されており,つまり朝日の記事の方がPsaki氏の発言よりも早かったかである

 

さて,朝日の記事とPsaki氏の発言は非常によく「似ている」。

朝日新聞の「コメント全文」)

Mayor Hashimoto’s comment is outrageous and offensive. As the United States has stated previously, what happened in that era to those women, who were trafficked for sexual purposes, is deplorable and clearly grave human right violations of enormous proportions. We understand that mayor Hashimoto is planning to travel to the United States, but in the light of these statements, we are not sure that anyone will want to meet with him.

(Psaki氏の発言該当部分)

QUESTION: Hi, my name is Takashi from Japanese newspaper Asahi. Osaka City Mayor Hashimoto recently made a comment on the so-called “comfort women” issue, arguing that even though it is unacceptable from the moral perspective value, but the comfort women were necessary during the war period. And he also argued that it is not fair that only Japan is criticized by the United States and other countries, because there are other country military that were provided sexual service by prostitute. And do U.S. has any position on his comment or criticism against the United States?

MS. PSAKI: We have seen, of course, those comments. Mayor Hashimoto’s comments were outrageous and offensive. As the United States has stated previously, what happened in that era to these women who were trafficked for sexual purposes is deplorable and clearly a grave human rights violation of enormous proportions. We extend, again, our sincere and deep sympathy to the victims, and we hope that Japan will continue to work with its neighbors to address this and other issues arising from the past and cultivate relationships that allow them to move forward.

QUESTION: Do you describe this issue sex slave or comfort women?

MS. PSAKI: Again, I don’t know that I’m going to define it. You kind of laid out the specific details there, and we have described this issue in the past as comfort women[ii].

Go ahead in the back.

具体的な表現が同一であることは,(後に為された)Psaki氏の発言が朝日コメント」にもとづいて為されたことを示す。つまり朝日の記事は予定回答を掲載したものだといえる。

もっとも両者には細部に違いがある。どこが違い,どのような意図で事前回答から変更したのか,は,ここでは問題ではない。

ただ,重要なのは,「予定回答は実際の回答までに変更されることが有り得る」ということだ。(逆に,報道側が質問撤回ないし変更する場合もある。)

そして政府による公式な意見表明は,言うまでもなく予定回答ではなく実際の回答である

政府は予定回答の後も,実際の回答までにさらなる深謀遠慮を働かせて,表現を選ぶ。

したがって,予定回答は朝日新聞が言うような「政府の公式な立場を示したもの」では無い。

 

それよりも深刻なのは,予定回答を報道するのは政府の深謀遠慮を踏みにじる行為である,ということだ。

予定回答は実際の質疑応答を充実させるために示すのであるが,このように勝手漏洩されるのであれば,予定回答を示すこと自体,控えなければならないかもしれない。

 

さて,これで朝日報道問題点がお分かりいただけたと思う。橋下vs朝日ではなく,朝日vs(米)政府という問題なのである

2013-04-01

PHP13.4.1の新機能

PHP最新版がようやく正式に発表されましたね。新機能等について調べてみたので流行に敏感な人はぜひ今のうちから勉強しておきましょう。

下位互換性のない変更点

  • 「?>」の廃止

「?>」を積極的に使うことにより、余計なホワイトスペースを混入させてしまう問題がありました。

これは厄介で非常に根が深い問題でしたが、ようやく根本解決として廃止されました。素晴らしいですね。

今後「?>」を使うとコンパイルエラーとなるので注意が必要です。

機能

abstract文で囲うとそのコード自動抽象化します。

昨今抽象化抽象化特に意味もわから言葉だけ連呼する人間が増えてきました。しかし新PHP時代における抽象化はもはや人間が理解しなくてもできるようになります

$class = abstract {
    $人間 = array('name' => 'yamada', 'age' => 20);
    $佐藤 = array('age' => 20);
    $動物->name = '花子';
    $動物->type = '犬';
    
    function move ($a) {
        $a->position++;
    }
};

$class->move();

このような処理が、自動抽象化され再利用できるようになります。もちろんクラス抽象化だけでなく、手続きやデータ構造であっても適切に自動抽象化されます

またcatch文を繋げる事で抽象化に失敗した場合を検出することが可能です。

  • 強力な型チェック

php実行時オプションに強力な型チェックオプション(-compile)が追加されました。

$ php -compile example.php

そのスクリプトにおける全ての処理パターンを実行し、全ての型のチェックを自動で行います。その際、外部に影響を与えるような処理(ファイルへの保存等)は型チェックのみを行い無視されます

この強力な機能のおかげでもはや静的言語の利点といわれていたコンパイル時の型チェックを軽く超えました。

動的言語でありながら、考えられる全ての型の引数、例外系を全ての関数の組み合わせで網羅的にチェックします(しかもチェック時間は長くても0.数秒という驚異的なチェック能力です!)

これが今回の目玉機能でしょう。

theworld文で囲うとその間の時間が止まります

theworld {
    // 止まった時間の中を動けるのは$dioだけ
    $dio->foo();
    $dio->bar();
};

$dioという特殊変数が用意されているのでその変数を使って処理をすることができます

用途としては非常に重たい処理をさせるのがいいでしょう。実時間0秒で実行することが可能となります

ただし9秒までしか止められないので注意が必要です。ですが回避策として以下のようにすれば追加で5秒止めることも可能です。

theworld {
    $dio->foo();
    $dio->bar();
}
starplatinum {
    // 9秒過ぎた時点でこちらへ
    $jotaro->foo();
};


PHP 13.4.x で推奨されなくなる機能

名前空間(namespace)が非推奨になりました。これを使用するとE_NAMESPACE_YEN_ARIEHENという警告が発生します。

非推奨となった理由ですが明確にはされていません。大人の事情ってやつでしょう。

ただ噂レベルでは、やはりというか区切り文字の「\」がありえへんという声が多かったからではないか?と一部囁かれています

mandomキーワードが非推奨になりました。mandomはきっかり6秒戻すという機能ですが、逆に言うと6秒きっかしか戻せないので扱いづらいという問題がありました。

また以下のような処理を書いた場合に$flagバグ等で常に真になるケースにおいて無限ループとなり、非常に危険だという問題もあります

// 何かしらの処理・・・

if ( $flag ) {
    mandom;
}

このようにPHP初心者がmandom使って無限ループをさせてしまう事案が後を絶たず、なかなか現実時間が進まないという問題が発生したため、廃止予定となります

新しい関数

Google検索したコード小片取得し、実行させる関数

$mail = google_search_exec("メール送信するやつ",2);
$mail("user@example.com");

例えばこれだけでメール送信できるようになります

第一引数検索ワード。PHPというワードは自動で含まれるので指定する必要はありません。

第二引数検索結果一覧の指定位置。2だと上から二つ目検索結果のURLコード小片を使うという意味になります

また第三引数にはコールバック関数を指定することによりコード小片にフィルターをかけることも可能です。

このような処理がたった2行で書けるというのがPHPの利点ですね。

日本語名の関数が新たに追加されました。これは非常に便利な関数です。

$code = 写経("
$a = 1 + 2;
print $a;
");

引数に与えられたコード片を写経します。戻り値写経結果が返ってくるのでそれを利用するだけです。簡単ですね。

サッケード発生中における自動補完のための関数です。

この関数が呼ばれると一瞬処理が止まったように見えますが、実際には自動補完で動作が完了している状態になります

for($i=0;$i<10000;$i++) {
    if ( $i % 2 == 0 ) {
        chronostasis();
    }
    
    // 何かしらの処理・・・
}

素晴らしい機能ですね。今後はこれ無しじゃプログラムできなさそうです。

PCが爆発します。

用途ですが、言わずもがな流行の真契約プログラミング用ですね。アサートの代わりに使うとよいです。

function foo ($a) {
    pc_explosion(!is_null($a),'$aはNULLはダメー!');
    
    // 何かしらの処理・・・
}

テストコードを実行する場合PCの周囲に人が居ないか気をつけてから実行させましょう。




というわけで新しい機能てんこ盛りでしたね。

個人的に良いなと思ったのはpc_explosion関数ですかね。約束事を守らないプログラマーなんぞ爆死しちゃえばいいんです。僕を含めて(お

2013-01-17

株式会社カンニュースというあやしい会社メモ

会社名: 株式会社カンニュース

事業内容:『IRORIO』(イロリオ) の運営

設立2011年6月

所在地:不明

連絡先:不明

ライター鈴木 かなる、吉住 沙羅(東京都目黒区

株式会社ベクトル(前デビアス)の連結子会社

--

株式会社ベクトル VECTOR INC.

本社:〒107-0052 東京都港区赤坂4-15-1 赤坂ガーデンシティ18F

TEL:(代表)03-5572-6080

代表者:代表取締役 西江肇司

設立1993年3月30日

資本金:5億880万円 (2012年5月現在

社員数(連結):188名(2012年2月末日時点)

--

Domain Information: [ドメイン情報]

[Domain Name] IRORIO.JP

[登録者名] 株式会社カンニュース

[Registrant] Second News, Inc.

[Name Server] 01.dnsv.jp

[Name Server] 02.dnsv.jp

[Signing Key]

[登録年月日] 2011/12/03

[有効期限] 2013/12/31

[状態] Active

[最終更新] 2013/01/01 01:05:09 (JST)

Contact Information: [公開連絡窓口]

[名前] Whois情報公開代行サービス by名前.com

2013-01-09

なんか最近ホッテントリで見かけるモニセレブログってなんだろう。

東京グルメスポットとかスイーツレシピとかそういう、ありがちだが人気のあるテーマを、

どっかで見たことあるようなタイトルと、どっかから拾ってきたであろう写真デコレート。

ここまでは飽きるほどよくある話だが、

こういうのにありがちな編者の自己主張が無い。

というか、誰が書いているのか分からない。

ブログ更新を連絡するのみのツイッター

知らないとっつぁんからいいね!されているだけのフェイスブック

そしてブログソースに燦然と輝く、

meta name="description" content="無料モニター懸賞プレゼントが満載のモニセレ!"

meta name="keywords" content="モニター,プレゼント,懸賞"

の文字。って、釣りにしたって全然本文と関係ねーじゃねーか!

で、なんなのこれ。実験

2012-12-26

Del.icio.usアカウントを作った記憶がある人は、すぐ確認した方がいい

あなた本名が晒されているかも。

http://delicious.com/ユーザー

ひさしぶりに自分ブックマークを見て驚いた。

今のDelicious仕様では、usernameの他に、サインアップ時に入力した「your full name」が公開されるようになっている。

そして、サインアップの際に素直に本名入力していた人も多いようだ。(まぁ、「your full name」と言われりゃ本名入力必要だと考えるのが普通だと思うが。)

「your full name」は、以前は非公開とされていた情報だった。それがリニューアルで公開情報に変わってしまった。

昔使ってて今はもう使うのをやめてしまっているような人は、特に気付きにくい。

現に、最近アクティブではない昔のブックマーカーのページを見ると、本名が載っていることが多い。

問い合わせたところ、昨夏頃から順々にこの仕様に切り替わってきているらしい。

Delicious.comはYahoo!からAVOSに運営主体が代わって、いろいろ試行錯誤しているようで、その一環のようだ。

AVOSとしては、別にから非公開情報として収集した情報じゃねーぞ、って言い分のようだが、個人的にはとても驚いたので、おせっかいながら注意喚起のため書かせてもらった。

2012-11-12

[][]一応メモ

609 :実名攻撃大好きKITTY:2012/11/02(金) 20:30:54.20 ID:e/Mxbvll0
    &gt;&gt;608
    坂出、まだ、居たのか!今日ハロワ行ったか?www

    ●●● 前科2犯・無職坂出」 ●●●
    Wikiでの自己紹介 1975年生まれ男性O型橿原市在住
    http://ja.wikipedia.org/w/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Sakaide&amp;amp;oldid=36029552
    ●液クロサイエンス様に、病的な、たび度重なる業務妨害で2回の逮捕歴
    http://www.lc-s.co.jp/press01.htm
    ●坂出投稿記録・頻繁に学校wiki改竄などを実行
    http://ja.wikipedia.org/w/index.php?title=%E7%89%B9%E5%88%A5:%E6%8A%95%E7%A8%BF%E8%A8%98%E9%8C%B2/Sakaide&amp;amp;dir=prev&amp;amp;offset=20110329161021&amp;amp;limit=500&amp;amp;target=Sakaide
    ●ノート心学園:坂出による改竄例 多重ハンドルが露見し、wiki出入り禁止処分に
    http://ja.wikipedia.org/wiki/%E3%83%8E%E3%83%BC%E3%83%88%3A%E8%81%96%E5%BF%83%E5%AD%A6%E5%9C%92%E4%B8%AD%E7%AD%89%E6%95%99%E8%82%B2%E5%AD%A6%E6%A0%A1
    ●IPアドレス情報2012年9月22日9時31分時点)
    Name: p3208-ipbfp01daianjibetu.nara.ocn.ne.jp
    Address: 125.175.194.208 

http://engawa.2ch.net/test/read.cgi/ojyuken/1348238669/

どこかで見た感じです。

2012-10-26

iphoneで見れて、毎日いっぱい更新されるのエロ動画サイトを作った。【サイト構築詳細メモ

はじめに

なんちゃってプログラマーやってます

「みんなの役に立つサイトを作って、一発大きく儲けたい!」と、

思い続けて、早10年(泣)。。

なかなか画期的アイデアって出てきません。。

とりあえず、エロサイトを作るのってすごく勉強なる?楽しい?らしいので、

誰にも利用されない「へぼツール」作るより必ず誰かの為になるなぁと考え、

エロサイト作りました。(保守不要で完全自動化)

iphoneで見れて、毎日10記事絶対更新

できるだけ、誰でもわかるように、詳細を書いていますので、

これを見るだけで、ノンプログラマーの方でも、

同様のサイトは簡単に立ち上げることができちゃうと思います

つくったサイト

http://iphone-xvideos.info/

サイト名:iphone-xvideos エロ動画H (仮)

デザインデフォルトのまま(そのうち修正しまーす)

作成期間:40時間ぐらい…

iphoneでも見やすくしています

※記事は毎日10更新予定です。つまり毎日このサイトだけ見に行けば困らないってことです。

きっかサイト

http://anond.hatelabo.jp/20101219185436

http://anond.hatelabo.jp/20101203150748

http://d.hatena.ne.jp/inouetakuya/20120331/1333192327

http://anond.hatelabo.jp/20120318122617

http://anond.hatelabo.jp/20120914214121

http://anond.hatelabo.jp/20110804021353

http://anond.hatelabo.jp/20120926165533

レンサバ

saasesのVPS OsukiniサーバーLT メモリ512MB 月450円! アダルトOK

CentOS 64bitを選択。(メモリを食うだけなので、特に用がなければ、32bitにしよう!)

↑一番安いプランしか契約できなかった…

※どこにも書いてないけど、2週間以内なら取り消しできます

契約時、webmin&amp;mysqlの選択は必須にしておいたほうがいいです。私は間違えて、webmin無しにしてしまった。。

から、再インストール(初期化)すれば、再選択することができるようです。。

申し込み後、たったの30分で接続できるようになりました。

ドメイン

iphone-xvideos.info

バリュードメインで取得。280円!安い。

DNSVPSIPに変更。

不要サービスを止める

/sbin/chkconfig auditd off

/sbin/chkconfig autofs off

/sbin/chkconfig avahi-daemon off

/sbin/chkconfig bluetooth off

/sbin/chkconfig cups off

/sbin/chkconfig firstboot off

/sbin/chkconfig gpm off

/sbin/chkconfig haldaemon off

/sbin/chkconfig hidd off

/sbin/chkconfig isdn off

/sbin/chkconfig kudzu off

/sbin/chkconfig lvm2-monitor off

/sbin/chkconfig mcstrans off

/sbin/chkconfig mdmonitor off

/sbin/chkconfig messagebus off

/sbin/chkconfig netfs off

/sbin/chkconfig nfslock off

/sbin/chkconfig pcscd off

/sbin/chkconfig portmap off

/sbin/chkconfig rawdevices off

/sbin/chkconfig restorecond off

/sbin/chkconfig rpcgssd off

/sbin/chkconfig rpcidmapd off

/sbin/chkconfig smartd off

/sbin/chkconfig xfs off

※190MBが150MBぐらいになります

SSHサーバ設定

$ su root

FTP接続できるようにする。

http://support.saases.jp/index.php?action=artikel&cat=63&id=312&artlang=ja

バーチャルホストの設定

# vi /etc/httpd/conf/httpd.conf

NameVirtualHost *:80 ←これを探して、コメントアウトを削除。その下に以下を設定。

&lt;VirtualHost *:80&gt;

DocumentRoot "/home/ユーザーID/iphone-xvideos.info"

ServerName iphone-xvideos.info

&lt;Directory "/home/ユーザーID/iphone-xvideos.info"&gt;

order deny,allow

allow from All

Options FollowSymLinks

AllowOverride All

&lt;/Directory&gt;

&lt;/VirtualHost&gt;

apache再起動

# /etc/rc.d/init.d/httpd restart

httpd: Could not reliably determine the server's fully qualified domain name, using...」

再起動時に上記のエラーがでた。

その時はこちらで解決⇒http://d.hatena.ne.jp/uriyuri/20100511/1273575287

で、このままだとIPアドレスでもアクセスできてしまうので、以下もやっておく。

http://fedorasrv.com/memo/log/29.shtml

mkdir /home/ユーザーID/iphone-xvideos.info

chown ユーザーID /home/ユーザーID/iphone-xvideos.info

/home/ユーザーID/以下はpermission errorとなりアクセスできないので、権限を変える。←いいのかな?

chmod 755 /home/ユーザーID/

CentOSAPCインストール

http://blog.verygoodtown.com/2010/02/centos-apc-install-how-to/

# pecl install apc

↑これを実行した際に、「error: expected specifier-qualifier-list before 'pcre'」なんちゃらっていうエラーがでたので、以下を実行。

yum install pcre-devel

再度実行して、無事インストールできた。

# pecl install apc

# vi /etc/php.ini

extension=apc.so ←これを一番最後に追記

APCの設定】

vi /etc/php.d/apc.ini

extension=apc.so

[APC]

apc.enabled = 1

apc.shm_size = 64 ←適当。。

apc.gc_ttl = 3600 ←適当。。

apc.ttl = 3600 ←適当。。

/etc/init.d/httpd restart

  • viの基礎講座】-----

/ ←検索

n ←次の検索文字へ

i ←編集モード開始

Esc ←編集モード終了

]] ←最後尾に移動

:q! ←保存せずに終了

shift押しながらzz ←保存

--------------------------

apache再起動

# /etc/rc.d/init.d/httpd restart

phpinfoの画面でapcの項目があるか確認

vi /home/ユーザーID/iphone-xvideos.info/index.php

phpinfo();

?&gt;

apacheの負荷対策

http://tanaka.sakura.ad.jp/2011/05/centos-linux-apache-php-perl-mysql-lamp.html

↑これを参考に適当に変更してみた

MaxClients 256 ←これを40に

MaxRequestsPerChild 4000 ←これを1000

このサーバは、512MBしかいかもっと小さくしたほうがいいのかも。。

# ab -c 10 -n 100 http://iphone-xvideos.info/

【変更前】

Requests per second: 40.01 [#/sec] (mean)

【変更後】

Requests per second: 137.57 [#/sec] (mean) ←1発目

Requests per second: 552.79 [#/sec] (mean) ←2発目以降(キャッシュ後)

wordpressがらみ

http://ja.wordpress.org/

最新版をやってみるとエラーが発生。

サーバーPHP バージョンは 5.1.6 ですが WordPress 3.4.2 は 5.2.4 以上のみでご利用になれます。」

phpmysqlバージョンアップはやっかいそうなので、

3.1系を選択する。。

http://ja.wordpress.org/releases/

※↑結局、後日phpmysqlバージョンアップをやりました。

ソースをUP

DBを作る

http://自分サーバIP/phpMyAdmin/

ホームの「新規データベース作成する」と書いてある所の下にある、

DB名⇒wp、照合順序⇒utf8_unicode_ci

wp-config.php

を修正する。

プラグイン

WP-DBManager

WP Super Cache

WP to Twitter ←まだ設定してない

WPtouch ←/wp-content/plugins/wptouch/themes/core/core-header.php をちょこっと変更すればiphoneでxvideo再生ができる。

○人気記事一覧

http://the-fool.me/wordpress/plugins/wordpress-popular-posts.html

テーマデフォルトのまま。。

XML-RPC自動投稿

設定⇒投稿設定⇒Atom 投稿プロトコルXML-RPCにチェック

もう1個負荷確認

https://loadimpact.com/

キャッシュが効いていて問題ないことを確認。

クローラーを作る

wikipediaから取ってきた女優名をカテゴリテーブル(wp_terms)に突っ込む。(5,260人でした。)

↑これは月に2回更新。cronで動かすことにした。

googleブログ検索(24時間以内のもの)に女優名をつっこんで、

出てきたサイト情報を取得すればOK。

(とりあえず、引退した人の動画は少ないだろうと考え、現役2,762人分のxvideosを取得してみた。処理時間8時間、192件取得できた。)

双方とも、スクレイピングを使えば簡単に取得できます

http://www.kaasan.info/archives/1457

念のため、巡回するごとに、sleep10秒してます

動画URLを取得したら、削除されていないか調べて、OKだったら投稿

PHPからRPC投稿するやり方は、

http://www.multiburst.net/sometime-php/2009/04/newpost-with-wordpress-xmlrpc-api/

↑ここらへんを参考に

http://pear.php.net/package/PEAR/download

pear自体はここにあるので、「XMLフォルダのみをUP。

だいたい、30分で10記事取得できることがわかったので、

毎日深夜に10記事取得するようにする。

【cron設定】

$ crontab -e

00 04 * * * /bin/sh /home/ユーザーID/iphone-xvideos.info/insert_X.sh &gt;/dev/null 2&gt;&amp;1

00 03 1,15 * * /bin/sh /home/ユーザーID/iphone-xvideos.info/insert_XXX.sh &gt;/dev/null 2&gt;&amp;1

http://miya0.dyndns.org/pc/settei/crontab.html

----------------------------------------------------

1日何件の更新とするか?10件ぐらい?

↑旬な情報が取れないが、とりあえず。。

前日のterm_idを記録して、

次の日はそれ以降のデータを取得する。

次のterm_id存在しなかったら、1からやる。

----------------------------------------------------

今後の追加機能予定

jqueryお気に入り作成cookieを使う。(PCのみ?)

☆好きな女優を登録しておけば、記事の更新情報メールで通知。

デザイン修正。。

感想

すぐできるかと思いましたが、結構時間かかりました。

実際、なんとなく勉強になった気もするし、楽しく作業できました。

皆さんもぜひ。毎日が少し充実しますよ。

まったくアクセス無くても、自分用にとても良いものができたと思っているので満足です。

もし繋がりにくくなったりしたら、

別のレンサバに変更しますー。

サイトオープン後のあれこれは、

随時こちらに追記していきますね。

最後まで読んで頂いてありがとうございます

2012/11/8 追記

サイトオープンから10日ほど過ぎたので状況をお知らせします。

はてぶは全くだめだった。。

ページビュー1000/日

(日々増加しているが、検索エンジンからくるようになってもまだこんだけ。。)

メモリは問題なし。512MB中ピークでも300MBぐらいしか使ってない。

30分に一回メモリ監視を仕込んだ。

# vi /usr/local/bin/memrep.sh

date &gt;&gt;$1

free &gt;&gt;$1

echo &gt;&gt;$1

# chmod 744 /usr/local/bin/memrep.sh

本日テスト的にDMM広告を張ってみました。。←すぐ消した。。

また、後日お知らせしますね。

2012/12/3 追記

1か月経ったので。。

topスライダー付けてみました。

ページビュー2500/日

自動更新なのに、きっちりアクセスは日々増えて続けていますエロは強い。

アクセス少ないので、負荷は全く問題なし。

Swapも全く使ってない。

忍者AdMax貼ってみたけど、1日20円とかで、まったく駄目。。

レンサバ代にはなりそうだけど。。なんか良い広告いかな。。

2012-07-31

アグリコラ WMデッキ誤訳訂正と補足

アグリコラのWMデッキについては、Table Games in the Worldで和訳が公開されている( http://www.tgiw.info/2012/03/wm5.html から辿れる。)。WMデッキについては公式の和訳が存在しないことから、このような有志による和訳の公開は貴重であり、アグリコラファンの1人として最大の感謝の意を示したい。

しかしながら、公開されている英語版のテキストとつき合わせて見たときに、上記和訳にはいくつかの点で致命的な誤訳があり、また、いくつかのカードについては補足が必要であることに気づいた。

そのため、上記和訳には感謝を示しつつも、日本アグリコラファンがより適切なプレイングを楽しめるよう、誤訳の指摘と補足を執筆することにした。なお、筆者がブログを持ち合わせていないために、このような匿名ダイアリーで指摘をさせていただくことになった非礼をお詫びしたい。

以下、αデッキから順に見ていく。

αデッキ http://www.tgiw.info/2012/01/wm1.html

★WM010 Klosterbewohner 修道院生活者

原文:「At the end of the game, you receive 1 Bonus point for each of the 5 columns of your farmyard that is either all rooms, all fields or all in the same pasture.」

誤「得点計算とき自分の農場の縦5マスの列を見て、5マス全てが部屋か、5マス全てが畑か、5マスのうち3マスが同じ牧場に属していたら、1列につき1点を得る」

正「得点計算とき自分の農場の各列(縦3マス)を見て、3マス全てが部屋か、3マス全てが畑か、3マス全てが同じ牧場に属していたら、1列につき1点を得る。」

【補足】縦1列は3マスである。3マス全てが部屋か、畑か、同じ牧場に属していれば、そのような列1つにつき1点(最大で5点になる)ということ。

★WM011 Bauunternehmer 建築業

【補足】増改築、大進歩コストとして支払うべき資材のうち最大1つを食料で代用できるという意味コストと無関係の手元の資材をこの機会に食料1に代えておける、ということではない。

★WM025 Pate 教父

原文:「Whenever you use an Action space orthogonally adjacent to an occupied "Family growth" Action space from stage 2 or stage 5, you receive 1 Grain immediately before.」

【補足】occupiedとあるので、「家族を増やす」のアクションスペースが既に埋まっている場合に限定されるようである

βデッキ http://www.tgiw.info/2012/01/wm2.html

★WM005 Imker 養蜂

【補足】厩は「逆さま」ではなく横向けに倒して置く。というかあのコマを逆さまには置けない(笑)

★WM008 Bread Carrier パン運び

原文:「Once any player has built an Oven, place 1 Food on the remaining Round spaces. At the start of these rounds, you receive the Food. (If an Oven has already been built, place the Food immediately. If multiple Ovens are built, you only receive the Food once.)」

誤:「次にかまどを作ったら、残っているラウンドスペース全てに食料1ずつ置く。各ラウンドのはじめに、この食料を得る(すでにかまどをもっていたら、かまどがいくつあってもすぐに食料1ずつ置く。「かまど」とは○○かまどという名前の、パンを焼く進歩カード)」

正:「誰かが暖炉を作ったら、それ以降のラウンドスペース全てに1つずつ食料を置く。各ラウンドのはじめに、この食料を得る(すでに暖炉ができていたらすぐに食料を並べる。複数の暖炉が作られても、食料を置くのは一度だけ)」

【補足】Ovenは「かまど(Fireplace)」ではなく「暖炉である(大きい進歩としては「レンガの暖炉(Clay Oven)」と「石の暖炉(Stone Oven)」がある)。また、暖炉を作るプレイヤーは誰でもよい。井戸で起動する「水運び」(I262)の暖炉である

★WM035 Postmann 郵便

【補足】直後にそのアクションスペースを使ったプレイヤーが回収しなかった場合には、置かれた資材はそのままそこに残る。誰かが回収するまで、そこを使ったプレイヤーに購入権が与えられる。

(参照:http://play-agricola.com/Agricola/Cards/index.php?id=1068

★WM054 Schubkarrenschieber 手押し車使い

【補足】この職業自体には、資材が累積するスペースに複数ある資材のうちの1つだけを取って他を残しておく、という能力はない。あくまでも、1つしか累積がなかった場合の救済措置であるもっとも、キノコ探し(I196)やかご(E34)のように資材の一部を残しておく能力別にあって、その効果で結局1つしか資材を取らなかった、という場合には、この職業効果は発動する。

なお、5人プレイ時に葦が累積する葦石木のアクションスペースについては、葦の累積個数にかかわらず、全体で最低3つの資材を取ることとなるから、この職業効果は発動しない。

(参照:http://play-agricola.com/Agricola/Cards/index.php?id=1885

★WM102 Widder 雄羊

【補足】追加で繁殖するのは、6,8,10,12ラウンドの「終了時」である

γデッキ http://www.tgiw.info/2012/02/wm3.html

★WM004 Sparbacker 即席パン屋

原文:「Whenever you build a Baking Improvement with the bread symbol, you receive 1 Grain before building the Improvement. Whenever you build an Oven, pay 1 Building resource less of your choice. (An Oven is a Baking Improvement with "Oven" in the name.)」

誤:「すべての暖炉を資材どれか1つ少なく作ることができる。パンを焼くアクションのたびに、その直前に小麦1をストックから手に入れる。(パンを焼くアクションにはパンのマークが付いています暖炉(「○○暖炉」という名前進歩カード)を使うのもパンを焼くアクションです)」

正:「あなたがパンのマークのついた進歩プレイするたびに、その直前に小麦1を共通のストックから手に入れる。すべての暖炉を、好きな資材1つ少なく作ることができる」

【補足】パンを焼く進歩カードプレイ(・購入)するたびに起動する。「炭焼き」(E182)と同じ。

★WM036 Chefkoch シェフ

原文:「Each round, instead of placing your first Family member on an Action space, you may place it on this card and receive 2 Food and 1 Guest token to place that round. (You may not do this if you will be placing more people after your first without another player placing in between.)」

誤:「~(最初家族を置いた直後にこのカードを使うことはできない)」

正:「~(あなた最初家族とそれ以降の家族連続して置ける状況では、この効果を使うことはできない)」

【補足】最後の括弧は、「遅寝(Late Sleeper)」(G037)のように、他の全プレイヤーの手番が終了するまで自分の手番がスキップされる状況でこの効果が使えると強すぎるため、それを回避する趣旨で設けられたルールである

(参照:http://play-agricola.com/Agricola/Cards/index.php?id=505

★WM061 Hintertur 裏口

原文:「Immediately place a person that is not already placed on an Action space on the "After Family Growth also 1 Minor Improvement" Action space even if it is occupied by you or another player and take that action.」

誤:「~ほかのプレイヤーがそのアクションスペースに家族を置いていてもよい。~」

正:「~誰か(あなたでもよい)がそのアクションスペースに家族を置いていてもよい。~」

【補足】自分自身が既にそのアクションスペースを使っている場合にも使える。

★WM104 Schilfzich 葦栽培

【補足】「得点計算の直前に葦をボーナス点に換えられる」ということの意味は、かご製作所のボーナス点を計算する前にこれらの葦を消費してしまうことにある。

δデッキ http://www.tgiw.info/2012/03/wm4.html

★WM019 Familienplaner 家族計画

【補足】誤:「子孫」→正:「新生児

★WM020 Hofschulabsolvent 農業学校卒業生

【補足】収穫「の開始時」のたびに

★WM023 Waldbauer 森の農夫

【補足】「労働から帰宅の間に」に相当する原文は「between the Work and Returning home phase」であり、労働フェイズ帰宅フェイズの間、すなわち「全員が家族を置いた後」を意味する。「曲芸師」(I269)や「営農家」(K289)と同様。

★WM056 Armenhaus 救貧院

【補足】捨ててもよい物乞いカードは、直前の食糧供給フェイズに受け取ったものに限らない(以前の収穫の食糧供給フェイズに受け取ったものでもよい。)。

★WM110 Gerateschuppen 物置小屋

【補足】誤:「柵」→正:「厩」(stable)

εデッキ http://www.tgiw.info/2012/03/wm5.html

★WM037 Stalleinrichter 厩作り

【補足】「厩作り」という名前カードは他に存在する(E208)。「厩務員」という名前はどうだろうか。

★WM039 Pfandleiher 質屋

原文:「At any time, you may convert all the printed Victory points (if any) of an Improvement in front of you to 3 Food per point. After, you may not return or remove the Improvement and you no longer receive its Victory points. If Pawnbroker gets turned face down or discarded, you still lose the points.」

誤:「~食料を取ったカードは戻したり取り除いたりしない~」

正:「~これ以降、その進歩カードを返却したり取り除いたりすることはできなくなる~」

【補足】例えば「かまど」を3食糧に変換したら、その「かまど」を返して「調理場」にアップグレードすることができなくなる。

★WM055 Holzarbeiter 木こり

【補足】「木こり」という名前カードは他に存在する(E176)。「木工職人」という名前はどうだろうか。

★WM064 Lagerfeuer キャンプファイヤー

【補足】「この木材はいつでも共通のストックに戻すことができ、戻したラウンドが終わるまでの間に家畜を何頭でも食料にできる」というのは、戻したラウンドに限り(その終了時までは)家畜を食料に変換できる、という意味である

★WM065 Begrenzungssteine 境界

【補足】たとえば次の盤面なら「ほかの畑1ヵ所のみと接している畑」が3つで2点。

畑 畑 畑 牧 牧
家 畑 空 牧 牧
家 家 家 牧 牧

5点(「ほかの畑1ヵ所のみと接している畑」が5以上)取るためにはこういった配置が必要

家 牧 畑 空 畑
家 畑 畑 畑 畑
家 家 畑 空 畑

(参照:http://play-agricola.com/Agricola/Cards/index.php?id=637

★WM070 Aufziehmann ゼンマイ人形

原文:「Clockwork Man counts as 1 Occupation and 1 Minor Improvement.」

誤:「このカードは小さな進歩ではなく職業とみなす」

正:「このカードは小さい進歩であると同時に職業としてもカウントする」

【補足】1枚目の職業を出す前にこのカードプレイすると、「職業」のアクションスペースでの食料の支払いが無料ではなくなることに注意。

★WM105 Rotherhampflug ロザラムの鋤

原文:「Whenever you use the "Plow 1 Field" Action space, you may Plow 2 fields if they are not diagonally or orthogonally adjacent to each other instead of 1.」

誤:「家族コマで「畑1を耕す」のアクションを行い、実際に畑1だけを耕すたびに、すぐさらに畑2を耕せる。~」

正:「「畑1を耕す」のアクションを行うたびに、畑1の代わりに畑2を耕すことができる。~」

【補足】追加は畑1

2012-07-28

教授サブアカウント一覧

http://b.hatena.ne.jp/entry/togetter.com/li/339105

本人も特に隠してないからいいだろう。

screen_nameは変更できるので、idを付けた。

新しい名前がこの一覧のサブアカと同一かどうかは、

以下のURLで確認可能。最後の部分をそのアカウント名に変える。

https://api.twitter.com/1/users/show.xml?screen_name=***

id>137989010</id

name>偽教授</name

<screen_name>TanTanKyuKyu</screen_name

-------------------------

KagamineRENkyun

invidiaenvy

PiPiRuPiRuPiLu

Clown1000masks

PinkAtlachNacha

ROBO_GAKUCHO

ItakahaItaka

KagamineRINtan

gulagluttony

10000000000chan

acedia_sloth

luxuria_lust_

irawrath

DoctorRorschach

Smiling_Bat

superbia_pride

Hasutakyun

Dantalian_D

The_Oldwiseman

Dantalion_D

Unspeakable_One

--

10000000000chan- <id>146886985</id

10000000000chan- <name>100億円ちゃん</name

10000000000chan: <screen_name>10000000000chan</screen_name

--

acedia_sloth- <id>521171778</id

acedia_sloth- <name怠惰の罪</name

acedia_sloth: <screen_name>acedia_sloth</screen_name

--

Clown1000masks- <id>148697953</id

Clown1000masks- <name>千の仮面道化王</name

Clown1000masks: <screen_name>Clown1000masks</screen_name

--

Dantalian_D- <id>525498801</id

Dantalian_D- <name妖怪 文車妖妃</name

Dantalian_D: <screen_name>Dantalian_D</screen_name

--

DoctorRorschach- <id>147299340</id

DoctorRorschach- <nameロールシャッハ博士</name

DoctorRorschach: <screen_name>DoctorRorschach</screen_name

--

gulagluttony- <id>521192992</id

gulagluttony- <name>暴食の罪</name

gulagluttony: <screen_name>gulagluttony</screen_name

--

Hasutakyun- <id>148692021</id

Hasutakyun- <name>はす太きゅん</name

Hasutakyun: <screen_name>Hasutakyun</screen_name

--

invidiaenvy- <id>521165580</id

invidiaenvy- <name嫉妬の罪</name

invidiaenvy: <screen_name>invidiaenvy</screen_name

--

irawrath- <id>521154484</id

irawrath- <name>憤怒の罪</name

irawrath: <screen_name>irawrath</screen_name

--

ItakahaItaka- <id>150359329</id

ItakahaItaka- <name>風と共に歩むもの</name

ItakahaItaka: <screen_name>ItakahaItaka</screen_name

--

KagamineRENkyun- <id>143870392</id

KagamineRENkyun- <name鏡音レン</name

KagamineRENkyun: <screen_name>KagamineRENkyun</screen_name

--

KagamineRINtan- <id>513917634</id

KagamineRINtan- <name鏡音リン</name

KagamineRINtan: <screen_name>KagamineRINtan</screen_name

--

luxuria_lust_- <id>521197789</id

luxuria_lust_- <name色欲の罪</name

luxuria_lust_: <screen_name>luxuria_lust_</screen_name

--

PinkAtlachNacha- <id>149260106</id

PinkAtlachNacha- <nameモモイロノクモ</name

PinkAtlachNacha: <screen_name>PinkAtlachNacha</screen_name

--

PiPiRuPiRuPiLu- <id>151068538</id

PiPiRuPiRuPiLu- <name>撲殺する天使ちゃん</name

PiPiRuPiRuPiLu: <screen_name>PiPiRuPiRuPiLu</screen_name

--

ROBO_GAKUCHO- <id>142059927</id

ROBO_GAKUCHO- <name>ロボ学長</name

ROBO_GAKUCHO: <screen_name>ROBO_GAKUCHO</screen_name

--

Smiling_Bat- <id>144460959</id

Smiling_Bat- <nameツヴァイ・ハンダー</name

Smiling_Bat: <screen_name>Smiling_Bat</screen_name

--

superbia_pride- <id>521144866</id

superbia_pride- <name傲慢の罪</name

superbia_pride: <screen_name>superbia_pride</screen_name

--

The_Oldwiseman- <id>506961367</id

The_Oldwiseman- <name>偽教授</name

The_Oldwiseman: <screen_name>The_Oldwiseman</screen_name

--

Unspeakable_One- <id>525473742</id

Unspeakable_One- <name>名状し難きもの</name

Unspeakable_One: <screen_name>Unspeakable_One</screen_name

2012-06-19

Titanium MobileのKitchenSinkをTitaniumStudioで動かすHowTo

Project ExplorerでImport > Git Repositoryとかすると上手くいかない。走らせようとしても「The selection cannot be launched, and there are no recent launches.」というエラーメッセージが出る。

正解は、KitchenSinkをDL解凍しておいて、Project Explorer > Local Filesystemから解凍したプロジェクトフォルダを選択し、右クリックから「Promote to Project...」する。

このとき表示されるダイアログでは、Project nameとかは適当に設定して良いみたいだ。

Project Typeは、よく判らんからTitanium Mobileのみを選択した状態にしといたら上手く行った。標準ではWebのみが選択されているけど、それでも良いのかどうかは試してないから知らん。

via http://developer.appcelerator.com/question/132777/cannot-build-project-the-selection-cannot-be-launched

2012-05-06

CoffeeScriptプライベート関数パブリックメソッドとして開示するやつ

class MyClass
	constructor: -&gt;
		name = 'unknown'
		
		@getName = -&gt;
			return name
		
		@setName = (newName) -&gt;
			name = newName
	
		
MyClass:: = do -&gt;
	_greet = -&gt;
		console.log('どうも、' + @getName() + 'です。')
	
	return {
		constructor: MyClass
		greet: _greet
	}


myInstance = new MyClass()
myInstance.setName('純子')
myInstance.greet() #どうも、純子です。

CoffeeScript で @なんとかのプロパティが全部パブリックになるのが気になってて。

2012-03-26

System.Reflection.MethodBase.GetCurrentMethod.Name - 自分の居る関数名を取得する

.NET Framework ログを吐くロジックなどで使えてけっこう便利。

2012-03-19

A digital Generating Logos And Worth

Looking for an important logo design, that'll precisely and creatively represent what you are promoting? After that pick a digitally imprinted custom logo design. Within todays globe where products bets an essential job for Network marketing, Internet website marketing, in addition to The web conversation, digitally imprinted logos insert amazing valuation to make sure you organization with the versatility to a electronic company logo.

Digitally printed images is often an reliable method to increase all the brand and picture of your firm in numerous internet domain names. Different from logos in other styles, an electronic digital logo design will be easily common over the internet to become used for online, report, in addition to The web make use of (websites). Having a digitally designed logo design assures feel not to mention prime quality reproductions. Online digital publishing will also be done upon various fabrics prefer documents, textile, in addition to advertise products. Furnishings and also the style remain still in effect not to mention genuine even after constant employ and usage.

Digital logo design designing not to mention prints besides produces your home business or possibly firm name more appealing, however it is additionally easy on the wallet. Online digital publishing also provides value on your images from improving upon all the visual qualities as well as capabilities. You are able to select as well as combine a variety of styles not to mention structure alternate options to manufacture a specialized looking logo design. Commonly, digitally printed logos add the name belonging to the business enterprise, that picture or image on the JVC BN-VG138 Batterybusiness, besides other design components that you can desire to include.

Caused by prime quality coordinated with price effectiveness, digitally imprinted logos utilized in several Online marketing not to mention market plans. There're utilized for the next:

Paper prints

Literature

Advertising

Small business business cards

Reproduced sorts of conversation.

By employing better technology, a lot of these logos insert further valuation with your advancement by simply which makes it eye getting along with truthfully comprising the business the business logo was initially created for. Good requirements belonging to the customer or the company, that creative designers create the actual logo with the help of a number of creating systems by simply mixing a variety of colours along with design. The actual font size and also the form derive from as well as the Panasonic HDC-SD90 Batterycreative logo that is appearing formulated. Electrical power software not to mention desktop computer courses that can be accustomed to earn the right design and style to appropriately stand for the company.

If you want to include some pictures or tokens ?nside your creative logo, it is possible to complete the work with the process of electronic printing. In truth, sound recording, and picture sharp graphics will also be contained within the symbol to be applied using the web to create the electronic company logo interactive. Different from other styles associated with printed systems, a digital generating enables the range to construct, resize or maybe enhance the actual image along with utmost care and attention not to mention preciseness. That Nikon EN-EL12 Battery causes the actual logo much more user-friendly and accommodating. The actual contrast as well as sharpness to a digital creative logo will also be regulated mainly because called for.

Upon having an important logo design, you will have a publishing company so as to utilize it concerning electronically printed out publicity goods or upon sales and marketing communications. Rex Three is usually a organization which can be located in Miami, Florida that could fulfill your home business printing not to mention special snail mail really needs for the organization.

2012-01-28

s2jdbc-genが動かない

増田でこんなこと聞いていいのかわからないけど、誰かわかる人教えて欲しい。

seasar公式サイトにある、s2jdbcチュートリアルを試してみたんだけど、entityの生成でいきなり躓いてしまった。

$ ant -f s2jdbc-gen-build.xml gen-entity
Buildfile: /Users/hoge/dev/s2jdbc-tutorial/s2jdbc-gen-build.xml

gen-entity:
[gen-entity] Java Result: 1

BUILD FAILED
/Users/hoge/dev/s2jdbc-tutorial/s2jdbc-gen-build.xml:46: Exception in thread "main" java.lang.NoClassDefFoundError: 
Caused by: java.lang.ClassNotFoundException: 
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

動かしている環境

- Mac osx 10.7.2

- java version "1.6.0_29"

- Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)

- Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

s2jdbc-gen-build.xml:46 っていうのが、classpathに関する記述の箇所なので、動かすのに必要なjarが読み込まれていないからなんだろうなぁ、って思ってるんだけど。

同じ現象で躓いて、うまく解決できた人がいたら、教えて欲しい。

 38   &lt;target name="gen-entity"&gt;
 39     &lt;gen-entity
 40       rootpackagename="${rootpackagename}"
 41       entitypackagename="${entitypackagename}"
 42       javafiledestdir="${javafiledestdir}"
 43       javafileencoding="${javafileencoding}"
 44       env="${env}"
 45       jdbcmanagername="${jdbcmanagername}"
 46       classpathref="classpath"&gt;
 47         &lt;jvmarg value="${vmarg.encoding}"/&gt;

2012-01-26

今日もやられやく関係者ウイルス作成罪で捕まったらしいぞ

7 無念 Name としあき 12/01/26(木)15:41:45 No.98432654 del

今日もやられやく関係者ウイルス作成罪で捕まったらしいぞ

http://mainichi.jp/select/jiken/news/20120126k0000e040202000c.html

萌通=コバヤシヒロタダ

http://www22.atwiki.jp/yunakiti/pages/16.html

50 無念 Name としあき 12/01/26(木)16:19:33 No.98435881 del

&gt;今日もやられやく関係者ウイルス作成罪で捕まったらしいぞ

&gt;http://mainichi.jp/select/jiken/news/20120126k0000e040202000c.html

&gt;萌通=コバヤシヒロタダ

&gt;http://www22.atwiki.jp/yunakiti/pages/16.html

陰謀説()かと思ってたけどガチだったんやな

おもしれー

ウイルス作成:28歳の男を送検 全国初の適用 大阪府警

 コンピューターウイルスを知人男性に送信したとして、大阪府警サイバー犯罪対策室は大阪府松原市天美南2、無職小林浩忠容疑者(28)を不正指令電磁的記録供用の疑いで25日に逮捕、26日にこのウイルスを作った不正指令電磁的記録作成容疑と合わせて送検した。府警によると、改正刑法で新設されたウイルス作成容疑での立件は昨年7月の施行以来全国初。

 逮捕容疑は昨年9月中旬関東地方に住む知人男性パソコンを誤作動させる目的で、インターネットサービス提供するサーバーウイルスを送信したとしている。

 府警によると、小林容疑者男性はいずれもサイト運営者で、ネット上でトラブルになっていたという。サーバーを通じて男性パソコンウイルスを送ることで、「掲示板を閉鎖しろ。さもなくば両親を殺す」などと男性小林容疑者脅迫する内容の文面をネット上の掲示板に書き込んだように見せかける仕組みだったという。小林容疑者は、男性脅迫されたとして府警に被害届を出していた。【服部陽】

毎日新聞 2012年1月26日 13時53分(最終更新 1月26日 14時10分)

http://mainichi.jp/select/jiken/news/20120126k0000e040202000c.html

2012-01-24

// ==UserScript==
// @name Mogemas Speedup
// @namespace http://sp.pf.mbga.jp/12008305
// @version 0.1
// @description Play Mogemas on PC speedy
// @include http://sp.pf.mbga.jp/12008305*
// @copyright John Doe
// ==/UserScript==
(function (w) {
    var d = w.document;

    var doit = function () {
        w.accessError = function () {};
        w.accessErrorRedirect = function () {};
        w.unloadBye = function () {};
        w.fadeOut = w.fadeIn;

        var pageArea = d.getElementById('pageArea');
        if ( pageArea ) { pageArea.style.display = 'block'; }
    };

    doit();
    d.addEventListener("DOMContentLoaded", doit, false);
    w.addEventListener("load", doit, false);

})(unsafeWindow);

2012-01-23

// ==UserScript==
// @name Shingeki no Bahamut
// @namespace http://sp.pf.mbga.jp/12007160
// @version 0.3
// @description Play Shingeki no Bahamut on PC
// @include http://sp.pf.mbga.jp/12007160*
// @copyright John Doe
// ==/UserScript==
(function (w) {
    var d = w.document;

    var doit = function () {
        w.accessError = function () {};
        w.accessErrorRedirect = function () {};
        w.unloadBye = function () {};
        w.fadeOut = w.fadeIn;

        var loading = d.getElementById('loading');
        if ( loading ) { loading.style.display = 'none'; }
        var pics = d.getElementById('pics');
        if ( pics ) { pics.style.display = 'block'; }
    };

    doit();
    d.addEventListener("DOMContentLoaded", doit, false);
    w.addEventListener("load", doit, false);

})(unsafeWindow);

2012-01-06

はてなMobileGatewayが無効化できない

はてなMobileGatewayがはてなダイアリー上のリンク先を勝手モバイル用に変換してしまう。

リンク先のサイトの表示がおかしくなるから変換しないでほしいんだけど。

方法が分からない・・・・。

「変換されないプレーンなリンクを貼る方法ってありますでしょうか??」

http://q.hatena.ne.jp/1255754183

はてなMobileGatewayについて」

http://mgw.hatena.ne.jp/help

これ読んでもよく分からない。

自分管理してるサイトならMETAタグを利用した変換拒否できるらしいけど

<META NAME="HATENA" CONTENT="NOTRANSLATE">

自分ダイアリーそのものとか、自分管理していない他サイトの変換は阻止できない??

2012-01-05

Types of digital cameras

Digital cameras are made in a wide range of sizes, prices and capabilities. The majority are camera phones, operated as a mobile application through the cellphone menu. Professional photographers and many amateurs use larger, more expensive digital single-lens reflex cameras (DSLR) for their greater versatility. Between these extremes lie digital compact cameras and bridge digital cameras that "bridge" the gap between amateur and professional cameras. Specialized cameras including multispectral imaging equipment and astrographs continue to serve the scientific, military, medical and other special purposes for which digital photography was invented.

[edit]Compact digital cameras

Subcompact with lens assembly retracted

Compact cameras are designed to be tiny and portable and are particularly suitable for casual and "snapshot" uses. Hence, they are also called point-and-shoot cameras. The smallest, generally less than 20 mm thick, are described as subcompacts or "ultra-compacts" and some are nearly credit card size.[2]

Most, apart from ruggedized or water-resistant models, incorporate a retractable lens assembly allowing a thin camera to have a moderately long focal length and thus fully exploit an image sensor larger than that on a camera phone, and a mechanized lens cap to cover the lens when retracted. The retracted and capped lens is protected from keys, coins and other hard objects, thus making it a thin, pocketable package. Subcompacts commonly have one lug and a short wrist strap which aids extraction from a pocket, while thicker compacts may have two lugs for attaching a neck strap.

Compact cameras are usually designed to be easy to use, sacrificing advanced features and picture quality for compactness and simplicity; images can usually only be stored using lossy compression (JPEG). Most have a built-in flash usually of low power, sufficient for nearby subjects. Live preview is almost always used to frame the photo. Most have limited motion picture capability. Compacts often have macro capability and zoom lenses but the zoom range is usually less than for bridge and DSLR cameras. Generally a contrast-detect autofocus system, using the image data from the live preview feed of the main imager, focuses the lens.

Typically, these cameras incorporate a nearly silent leaf shutter into their lenses.

For lower cost and smaller size, these cameras typically use image sensors with a diagonal of approximately 6 mm, corresponding to a crop factor around 6. This gives them weaker low-light performance, greater depth of field, generally closer focusing ability, and smaller components than cameras using larger sensors.

Starting in 2011, some compact digital cameras can take 3D still photos. These 3D compact stereo cameras can capture 3D panoramic photos for play back on a 3D TV.[3] Some of these are rugged and waterproof, and some have GPS, compass, barometer and altimeter. [4]

[edit]Bridge cameras

Sony DSC-H2

Main article: Bridge camera

Bridge are higher-end digital cameras that physically and ergonomically resemble DSLRs and share with them some advanced features, but share with compacts the use of a fixed lens and a small sensor. Like compacts, most use live preview to frame the image. Their autofocus uses the same contrast-detect mechanism, but many bridge cameras have a manual focus mode, in some cases using a separate focus ring, for greater control. They originally "bridged" the gap between affordable point-and-shoot cameras and the then unaffordable earlier digital SLRs.

Due to the combination of big physical size but a small sensor, many of these cameras have very highly specified lenses with large zoom range and fast aperture, partially compensating for the inability to change lenses. On some, the lens qualifies as superzoom. To compensate for the lesser sensitivity of their small sensors, these cameras almost always include an image stabilization system to enable longer handheld exposures.

These cameras are sometimes marketed as and confused with digital SLR cameras since the appearance is similar. Bridge cameras lack the reflex viewing system of DSLRs, are usually fitted with fixed (non-interchangeable) lenses (although some have a lens thread to attach accessory wide-angle or telephoto converters), and can usually take movies with sound. The scene is composed by viewing either the liquid crystal display or the electronic viewfinder (EVF). Most have a longer shutter lag than a true dSLR, but they are capable of good image quality (with sufficient light) while being more compact and lighter than DSLRs. High-end models of this type have comparable resolutions to low and mid-range DSLRs. Many of these cameras can store images in a Raw image format, or processed and JPEG compressed, or both. The majority have a built-in flash similar to those found in DSLRs.

In bright sun, the quality difference between a good compact camera and a digital SLR is minimal but bridgecams are more portable, cost less and have a similar zoom ability to dSLR. Thus a Bridge camera may better suit outdoor daytime activities, except when seeking professional-quality photos.[5]

In low light conditions and/or at ISO equivalents above 800, most bridge cameras (or megazooms) lack in image quality when compared to even entry level DSLRs. However, they do have one major advantage: their much larger depth of field due to the small sensor as compared to a DSLR, allowing larger apertures with shorter exposure times.

A 3D Photo Mode was introduced in 2011, whereby the camera automatically takes a second image from a slightly different perspective and provides a standard .MPO file for stereo display. [6]

[edit]Mirrorless interchangeable-lens camera

Main article: Mirrorless interchangeable-lens camera

In late 2008, a new type of camera emerged, combining the larger sensors and interchangeable lenses of DSLRs with the live-preview viewing system of compact cameras, either through an electronic viewfinder or on the rear LCD. These are simpler and more compact than DSLRs due to the removal of the mirror box, and typically emulate the handling and ergonomics of either DSLRs or compacts. The system is used by Micro Four Thirds, borrowing components from the Four Thirds DSLR system.

[edit]Digital single lens reflex cameras

Cutaway of an Olympus E-30 DSLR

Main article: Digital single-lens reflex camera

Digital single-lens reflex cameras (DSLRs) are digital cameras based on film single-lens reflex cameras (SLRs). They take their name from their unique viewing system, in which a mirror reflects light from the lens through a separate optical viewfinder. At the moment of exposure the mirror flips out of the way, making a distinctive "clack" sound and allowing light to fall on the imager.

Since no light reaches the imager during framing, autofocus is accomplished using specialized sensors in the mirror box itself. Most 21st century DSLRs also have a "live view" mode that emulates the live preview system of compact cameras, when selected.

These cameras have much larger sensors than the other types, typically 18 mm to 36 mm on the diagonal (crop factor 2, 1.6, or 1). This gives them superior low-light performance, less depth of field at a given aperture, and a larger size.

They make use of interchangeable lenses; each major DSLR manufacturer also sells a line of lenses specifically intended to be used on their cameras. This allows the user to select a lens designed for the application at hand: wide-angle, telephoto, low-light, etc. So each lens does not require its own shutter, DSLRs use a focal-plane shutter in front of the imager, behind the mirror.

[edit]Digital rangefinders

Main article: Rangefinder camera#Digital rangefinder

A rangefinder is a user-operated optical mechanism to measure subject distance once widely used on film cameras. Most digital cameras measure subject distance automatically using electro-optical techniques, but it is not customary to say that they have a rangefinder.

[edit]Line-scan camera systems

A line-scan camera is a camera device containing a line-scan image sensor chip, and a focusing mechanism. These cameras are almost solely used in industrial settings to capture an image of a constant stream of moving material. Unlike video cameras, line-scan cameras use a single row of pixel sensors, instead of a matrix of them. Data coming from the line-scan camera has a frequency, where the camera scans a line, waits, and repeats. The data coming from the line-scan camera is commonly processed by a computer, to collect the one-dimensional line data and to create a two-dimensional image. The collected two-dimensional image data is then processed by image-processing methods for industrial purposes.

Further information: Rotating line camera

[edit]Integration

Many devices include digital cameras built into or integrated into them. For example, mobile phones often include digital cameras; those that do are known as camera phones. Other small electronic devices (especially those used for communication) such as PDAs, laptops and BlackBerry devices often contain an integral digital camera, and most 21st century camcorders can also make still pictures.

Due to the limited storage capacity and general emphasis on convenience rather than image quality, almost all these integrated or converged devices store images in the lossy but compact JPEG file format.

Mobile phones incorporating digital cameras were introduced in Japan in 2001 by J-Phone. In 2003 camera phones outsold stand-alone digital cameras, and in 2006 they outsold all film-based cameras and digital cameras combined. These camera phones reached a billion devices sold in only five years, and by 2007 more than half of the installed base of all mobile phones were camera phones. Sales of separate cameras peaked in 2008. [7]

Integrated cameras tend to be at the very lowest end of the scale of digital cameras in technical specifications, such as resolution, optical quality, and ability to use accessories. With rapid development, however, the gap between mainstream compact digital cameras and camera phones is closing, and high-end camera phones are competitive with low-end stand-alone digital cameras of the same generation.

[edit]Waterproof

A Canon WP-1 waterproof 35 mm film camera

Waterproof digital cameras are digital cameras that can make pictures underwater. Waterproof housings have long been made but they cost almost as the cameras. Many waterproof digital cameras are shockproof and resistant to low temperatures; one of them is Canon PowerShot D10, one of the first underwater digital cameras.

These cameras become very popular during the holiday season, because many people want to save the best moments from their holidays at the seaside. Waterproof watches and mobile phones were produced earlier. Most makers of digital cameras also produce waterproof ones and every year they launch at least one new model, for example Sony, Olympus, Canon, Fuji.

Healthways Mako Shark, an early waterproof camera,[8] was launched in 1958 and cost around 25 dollars. It was a huge camera and pictures were black and white.

___________________________

http://www.gobatteryonline.com/canon-nb-9l-digital-camera-battery-gose.html

http://www.gobatteryonline.com/canon-lp-e5-digital-camera-battery-gose.html

http://www.gobatteryonline.com/canon-powershot-sd500-battery-charger-gose.html

ログイン ユーザー登録
ようこそ ゲスト さん