「open」を含む日記 RSS

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

2014-02-09

Opera12でEvernoteクリッパー

Button18, "Evernote"="Go to page, "javascript:window.open('http://s.Evernote.com/grclip?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));void(0);", , "Evernote", "Evernote""

こんな感じ

2013-11-22

http://anond.hatelabo.jp/20131122230724

F12を押す。

コンソールを選ぶ。

var w=window.open(); w.document.write("hello.world.");

と打ち込む。

 

Enjoy!

2013-09-18

http://anond.hatelabo.jp/20130918010609

問題ではあるけど、貧乏人はまともな教育受けられないってのは昨今の世界的な流れだと思うけどなあ。

そういう人たちはopen courseみたいなネット配信を使って頑張るしか無い、っていう方向だと思う。

学位もとりづらいし上級職に就くのは難しいだろうけど…。

それすらも英語できない人は門前払いになるかも。

その点日本はまだまだ貧乏人に優しい部類の国だと思う。でもこの状況は長くは続かないと思う。

2013-08-12

RDF記述フォーマット

最近はやりのLOD(Linked Open Data)のデータフォーマットについてメモ

例はWikipediaコピペもっと違いが分かりやすい例があると良いのだが。

XML

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
  <rdf:Description rdf:about="http://en.wikipedia.org/wiki/Tony_Benn">
    <dc:title>Tony Benn</dc:title>
    <dc:publisher>Wikipedia</dc:publisher>
  </rdf:Description>
</rdf:RDF>

N3: notation3

@prefix dc: <http://purl.org/dc/elements/1.1/>.

<http://en.wikipedia.org/wiki/Tony_Benn>
  dc:title "Tony Benn";
  dc:publisher "Wikipedia".

Turtle: Terse RDF Triple Language

@prefix dc: <http://purl.org/dc/elements/1.1/>.

<http://en.wikipedia.org/wiki/Tony_Benn>
  dc:title "Tony Benn";
  dc:publisher "Wikipedia".

N-Triples

<http://en.wikipedia.org/wiki/Tony_Benn> <http://purl.org/dc/elements/1.1/title> "Tony Benn".
<http://en.wikipedia.org/wiki/Tony_Benn> <http://purl.org/dc/elements/1.1/publisher> "Wikipedia".

N-Quads: Extending N-Triples with Context

<http://en.wikipedia.org/wiki/Tony_Benn> <http://purl.org/dc/elements/1.1/title> "Tony Benn" <http://en.wikipedia.org/wiki/Tony_Benn>.
<http://en.wikipedia.org/wiki/Tony_Benn> <http://purl.org/dc/elements/1.1/publisher> "Wikipedia" <http://en.wikipedia.org/wiki/Tony_Benn>.

JSON-LD

{
  "@context":
  {
    "dc": "http://purl.org/dc/elements/1.1/"
  },
  "@id": "http://en.wikipedia.org/wiki/Tony_Benn",
  "dc:title": "Tony Benn",
  "dc:publisher": "Wikipedia"
}

2013-08-01

一目で分かる旭日旗の説明が分かりやすすぎる

41 名前番組の途中ですがアフィサイトへの転載は禁止です[] 投稿日:2013/08/01(木) 09:11:22.29 ID:EcG7gDw70

国際社会ではこうだから

http://livedoor.blogimg.jp/hoshusokho/imgs/7/c/7c4a0640.jpg

76 名前番組の途中ですがアフィサイトへの転載は禁止です[sage] 投稿日:2013/08/01(木) 09:24:35.05 ID:j9DIubHU0

国旗―――日の丸 = ドイツ国旗

軍旗―――旭日旗 = 鉄十字

政党―――翼賛会 = ナチス(鉤十字)

ドイツは今でも軍隊鉄十字を使ってる

こういうやつな↓

http://cdn52.atwikiimg.com/nippont?cmd=upload&act=open&pageid=34&file=IMG_1811.jpg



自分は恥ずかしながら今まで大政翼賛会シンボルなんて知らなかった。ナチス鉤十字はさんざんメディアに登場するのに、翼賛会のシンボルは登場しないから(硬派な歴史番組くらい?)。

これからクールジャパン世界に発信する日本映画漫画で、大政翼賛会シンボルを悪者が使うシンボルとしてどんどん取り入れさせるようにして世界に広めていけば、中国韓国旭日旗についてアホみたいな誤解をすることはなくなるかも。

2013-07-31

不倫は悪くない

不倫ダメなんてことは全くないと思う。

そもそも世の中に絶対的な惡なんて、ほとんどないと思う。

絶対的、というのは、どの文化圏でも、どの時代でも、それをしたらダメでしょ、ってことだよ。

俺の価値観では、殺人窃盗くらいは絶対的な惡のような気もするけど、でもそんなことないよね。

戦争中なら殺人もおっけーだし、昔は仇討もおっけーだったというか賞賛された時代もあるしね。

死刑も合法的な殺人だもんな。

それくらい、絶対的な惡ってないわけだよ。

それが不倫程度、なぜ悪いと言われなきゃいけないんだ?


自由恋愛というか、オープン関係っていうものが、ちゃんと認められている国も実際にある。

アメリカフランスオランダやね。

あと、具体例として有名なのはサルトルボーヴォワール夫婦。

あれほどまで頭のいい人たちも、お互い偶発的な恋愛は楽しみましょう、と認め合ったわけだ。

facebook にもちゃんと、open relationship という選択肢があるよね。

それを選択する人も、サルトルボーヴォワールも、惡人なの?

そんなことはないはずなんだよ。

一夫多妻を認める国も、不倫本質的な違いはないわけで、それを批判できるの? とも思う。




ただし、当事者すべての同意があれば、というのが前提になるのかな、と俺は思う。

いくら、世界のどこかでこういうものを認める場も存在する、とは言っても、当事者で傷つく人がいるならもはや人間としての関係性は破綻しているわけで、事後で言葉を重ねることに意味はないと思う。

サルトルボーヴォワールも、お互い隠さず話せば自由恋愛OK、というのは条件にしていたようだし、結婚するとき契約次第なのかなと思う。

もちろん、当事者すべてというのは不倫相手も含むわけで、不倫相手が独身なら、ちゃんと配偶者がいて同意済みであることを説明する必要があるし、不倫相手が既婚者なら、不倫相手の配偶者にも同意を得る必要があるよ。


で、現在日本では、貞操を守る義務というのが法律的に課されているので、とりたてて新しい契約を結んでいない夫婦なら、この義務に従うべきじゃないのかなと思う。

契約というのは口約束でもいいわけだけどね。

しかし、実際にはボーヴォワールもかなり傷ついていたらしいし、結局関係性は良好とは言えなかったらしい。

そう考えると、真の意味で誰も傷つかない自由恋愛って、なかなか成り立ちづらい部分はあるのだろうなと思う。


しかし、当事者たちの事情も知らずに、第三者たちが自分たちの価値観で批判するべきものでもないと思う。

ちなみに俺は浮気はしない(予定)だし、妻にもしてほしくないです。

うちの夫婦不倫が起きたなら、どうぞ批判してくれてOKです。

http://anond.hatelabo.jp/20130730191554

2013-07-09

Ctrl+C→Copy

Ctrl+V→Copyの隣

Ctrl+X→Copyの隣(Cross Cut のXとかいうのが散見されるが、もっと素直でいいと思う)

Ctrl+Z→Copyの近く

Ctrl+Y→Zと関連してる

Ctrl+A→All

Ctrl+S→Save

Ctrl+F→find

Ctrl+P→Print

Ctrl+N→New

Ctrl+O→Open

Ctrl+E→Eject

Ctrl+h→History

Ctrl+I→Interests

Ctrl+L→不明

Ctrl+M→不明

Ctrl+R→Reload

Ctrl+W→不明

2013-06-18

http://anond.hatelabo.jp/20130618191508

strongly typed な programming language でも、安全性に差があるという話

たとえば open class という機能がある言語場合、基本的なクラスのふるまいを破壊してしまたらみんな困る

2013-06-07

慣れないから嫌だ?の根拠

http://anond.hatelabo.jp/20130607114409

この主張をまとめると

・慣れないから嫌だ、という批判が多くあった(or 多数派?)

・それに対しての元増田だった

ということだと思うんだけど、慣れないから嫌だ、という批判があったソースを教えてくれないか

単純に俺の認知だけかもしれないんだけどさ、慣れないから嫌だ、という批判が多くあったという印象がないんだよね。イケていないと思う理由はいくつかのサイトで公開されてた記憶はあるんだけど。

Open ブログ: ◆ はてブの新デザインが失敗した理由

http://openblog.meblog.biz/article/13431648.html

アイトラッキングなら一目瞭然!新「はてなブックマーク」が何となく見づらい理由 | マミオン有限会社

http://mamion.net/2013/01/%E6%96%B0%E3%80%8C%E3%81%AF%E3%81%A6%E3%81%AA%E3%83%96%E3%83%83%E3%82%AF%E3%83%9E%E3%83%BC%E3%82%AF%E3%80%8D%E3%81%8C%E4%BD%95%E3%81%A8%E3%81%AA%E3%81%8F%E8%A6%8B%E3%81%A5%E3%82%89%E3%81%84%E7%90%86/

はてなブックマークリニューアルがいけてない5つの理由 - enator's blog

http://enator.hatenablog.com/entry/2013/01/09/232843

2013-06-06

せっかくだから勝手ちょっと改造した。

引用文字がない場合引用符はいれない、#tbトラックバックURLから削除するように変更。

なんか不具合あっても自己責任で。というかもっと上手い人が直してくれw

使う場合anonymous自分IDに置換してね。

javascript:anonymous='anonymous';d=document;w=window;function bq(s){if(s != '') {return '>>\n'+s+'\n<<';} else {return ''}}function enc(s){return encodeURIComponent?encodeURIComponent(s):encodeURI(s);}if(d.selection){q=d.selection.createRange().text;}else if(d.getSelection){q=d.getSelection();}else if(w.getSelection){q=w.getSelection();}void(w.open('http://anond.hatelabo.jp/'+anonymous+'/edit?title='+enc(location.href.replace('#tb', ''))+'&body='+enc(bq(q)),'_self',''));

2013-05-30

アメリカにおける児童ポルノも含めた猥褻物表現規制歴史について

 児童ポルノ禁止法改定案に漫画などが含まれることについて覚書でも書いておこうかと思う。

 そのためには、まずアメリカ合衆国における事情を考えたい。というのも、アメリカは"表現の自由市場"という言葉存在しているように、世界で最も表現に関しては自由のある国だからだ。(そしてその理由は4つほど上げられるのだが本題には関係ないのでここでは置いておく)

 まずアメリカにおいて表現の自由の根拠となるのは合衆国憲法の修正第一条であり、その内容は在日アメリカ大使館からそのままコピペすると

合衆国議会は、国教樹立、または宗教上の行為を自由に行なうことを禁止する法律、言論または報道の自由を制限する法律、ならびに、市民が平穏に集会しまた苦情の処理を求めて政府に対し請願する権利侵害する法律を制定してはならない。

 こんな具合になっている。

 まあ表現の自由も無制限の自由じゃなくて、ポルノ(本当はObscenityで意味合いが違うんだけど、ここでは全部ポルノで統一)関係反社会的言動は規制されるってのが通説で、この覚書では前者にのみ焦点をしぼる。

 まず、アメリカにおいてポルノ定義が問題になったのは1868念のRegina v. Hicklinなんだが、当時のイギリス裁判所採用していた基準に

Whether the tendency of the matter charged as obscenity is to deprave and corrupt those whose minds are open to such immoral imfluences and into whose hands a publication of this sort might fall.

 てのがある。通称Hicklin test。で、この判示には三つのポイントがある。

1.ガキに見せたときにアウトかどうか

2.ポルノであるかどうかは一部だけでも判断できる

3.当該作品の社会的価値とかは完全無視して、とにかく該当箇所の効果だけを見る

 まあこれだけ見たら分かるようにめちゃくちゃ(政府にとって)緩い。つまりいくらでも言論弾圧できる。

 で、アメリカ最高裁1878年Ex Parte Jacksonで、堕胎だとかの情報も含めたポルノブツアメリカ郵便システムを使って送ることを刑事罰化したComstock法案を合憲と判断してよりいっそう規制を強くした訳だ。

 まあこんだけ政府にとってゆるゆるなことやってたら下級審もなんか苛々して、もっとリベラルになろうぜ!っていうことで色々と新しい判断が1900年代になって出てきた。その中で一番引用されてるのがUnited States v. One Book Called Ulysses(1933)における判例。ここでは、

著者がポルノを書こうと思ってたらそれはポルノ

 という異常に分かりやすい判示をAugustus Handって人がした。

 ぶっちゃけ身もフタもない話をすると、1950年代アメリカってポルノ産業が最盛期を迎えていて、ぎゃーぎゃー騒いで規制しようとしていた保守系の奴らと弁護士グループの戦いの結果こういうことが起きたのであって、そういう意味では今の日本と似ているかもしれない。

 閑話休題

 Butler v. Michigan(1957)で最高裁ポルノ作品を規制するミシガン州法を廃止させて、さっきのHicklin test実質的にひっくり返して、Roth v. United States(1957)で新しい基準を出した。それが、

the material must be calculated to debauch the minds and morals of those into whose hands it may fall and...the test in each case is the effect of the book, picture, or publication considered as a whole, not upon any particular class, but upon all those whom it is likely to reach. In other words, you determine its impact upon the average person in the community.

 というクソみたいに長いの。

 これのポイントも3つあって、

1.普通人間からしてどうか

2.当時の社会情勢からしたらどうか(後に社会とは国家全体としてと補足される)

3.当該作品(もしくはブツ)が全体としてポルノかどうか

 今度は大分書く方にとっては緩くなった。これをRoth Testと言って、この基準はJacovellis v. Ohio(1964)やMemoirs v. Massachusetts(1966)などの判決を通して確認・洗練されていくことになる。二番の要件は地域じゃなくて、国としての社会から見たらどうかになったし、作品の重要性についてもそんな要求しなくもなった。

 ただ、ここからアメリカ連邦最高裁面白いところで、裁判官大統領によって任命されるもんだから大統領保守派になると、保守的判決を下す裁判所になる。で、当時の大統領ニクソンで、そのとき最高裁に怒り心頭裁判長保守派のBurgerにやらせて色々判断も変えさせた。具体的には、1と3はそのままに、2とさっきの作品の重要性基準が変更されて、

2'.当時の社会情勢の判断基準は州だ

重要性:文学的、芸術的、政治的、あるいは科学価値を欠くものはアウト

 こんなことにした。これが1973年のMiller v. Californiaで判示されたことから、Miller testと呼ばれることになる。

児童ポルノについて

 こっから本題。

 1982年New York v. Ferberが児童ポルノにおいて先駆け的な判決になる。リベラル判事保守派判事も、全会一致で児童ポルノ映像に関する政府規制をよしとした。

 そして、インターネット関係について言えば、2002年Ashcroft v. Free Speech Coaltionがすごい興味深い判例を残していて、子供の役を大人がするポルノ規制されえないとしている!という訳で違憲判決を下された。いや、もちろん他にもまともな理由、例えばもっと緩い方法規制できるだろとかいうのもあるんですけどね。でも、次の裁判判決非実在児童規制してもいいとする判示をくだしている。

 United States v. Williams(2008)より

The statute's (先の違憲判決を受けて作り直したPROTECT Act of 2003のこと 筆者注)definition of the material or purported material that may not be pandered or solicited precisely tracks the material held constitutionally proscrible in Ferber and Miller: obscencematerial depicting (actual or virtual) children engaged in sexually explicit conduct, and any other material depecting actual children engaged in sexually explicit conduct.

こうしてみるとアメリカって面白い国だ。

もしこの辺の話に詳しい人がいたらじゃんじゃん指摘してください。お願いします。(見ている人がいれば)

追記

ブコメより

http://www.nicovideo.jp/watch/sm10637547

http://www.nicovideo.jp/watch/sm10645407

白田先生表現規制についてすごく分かりやすく説明している動画があったなんて!教えてくださった方(id:Barak)、ありがとうございます

つの方が遥かに丁寧で分かりやすい上にちゃんと猥褻(obscenity)とポルノ(porn)を使い分けて厳密な解説をしていらっしゃるので、是非こちらを見てください。

というか、朝起きて自分の文章読んでたら徹夜の勢いで書いていたせいでひどい…増田に書いといて良かった。

今度はもっと推敲して厳密にかつ分かりやすく書くようにします。

2012-12-12

Ruby on Railsアダルトサイト作ったよー

例に漏れ件のエントリーに影響を受けまして、Ruby on Rails を利用したサービスを作ってみました。

一つもアクセスがないため宣伝ついでに利用したgem作成する際に参照したサイトを載せますので、「Rails初心者っす」とか、自分と同じく「そもそもプログラミングとか知らねっす」という方はちょっとしたナレッジとしてご活用くださいまっせ。開発ガンガンやってる方には価値ある情報たぶんないよー。

作った人

とどのつまり性的健康青年休職中で暇でした。

作ったもの

シコったサイトクリップするのでシコリップ

動機

シコったオカズウェブ上にクリップするサービスで問題解決?

開発環境

最初Mac標準のエディタで書いてたけど、どこかの記事を読んでからは「Sublime Text 2 (http://www.sublimetext.com/)」に乗り換えました。すごく…便利です…。ターミナルMac標準のアレです。オススメがあったら教えてください。

gem

プロセス

完成までにやったこと、実装するために参考にしたサイトを並べます

RubyRails環境を構築する。(http://www.oiax.jp/rails/rails3/install.html)

簡単にウェブアプリの土台を作れるScaffoldという機能を使って遊んでみる。(http://www.techscore.com/tech/Ruby/Rails/quick-start/Rails4/4-1)

行き詰まったので本を買う。(たのしRubyRuby on Rails 3 アプリケーションプログラミングRails 3 レシピブック)(※ 同タイミングで買ったわけではないです。簡単にウェブアプリを作るだけなら「Ruby on Rails 3 アプリケーションプログラミング」とインターネット接続できる環境があれば十分だと思います。ていうか他の二冊はまだ全部読んでない。)

ひと通り分かった気になり、作りたいものを作る作業へ。

$ rails new sicolip

こちらを参考にシコシコ適用

色んなgemがあって迷う。

・Device(https://github.com/plataformatec/devise)
・omniAuth(https://github.com/intridea/omniauth)

でも、

・Deviceはメールアドレスでの認証
・omniAuthはtwitter/fb認証

個人的に

エロサイトメアドを登録したくない
・エロサイト認証twitter/fbってなんか怖い

ということで、自前で実装。has_secure_password(gem:bcrypt-ruby) を利用する。

ここここを参考に。

サイトクリップURL投稿)したときに該当するサイトタイトルとか内容を取得する処理。

Nokogiri::HTML(open(target_url))

こんな感じでNokogiriオブジェクトを取得して、

return doc.xpath('//title').text

こんな感じでタイトルを取得する。こちらxpathほかのお勉強

ログインしている人にしかクリップURL投稿)をさせたくない。そんなときに使える認可処理。

cancanの実装はここここを参考に。

クリップしたサイト情報タグ管理したい。タグ機能の実装を手抜きできるのがこのgem

https://github.com/mbleigh/acts-as-taggable-on

http://prototype-beta.com/tags/acts-as-taggable-on

上記を参考に。

クリップしたサイト情報タイトルや内容、またはタグから検索したい。

その処理を手抜きさせてくれるのがsunspotさんサーバデプロイしたあとに

$ rake sunspot:solr:start

するのをよく忘れて動かない><ってなります

http://railscasts.com/episodes/278-search-with-sunspot?language=ja&view=asciicast

http://outoftime.github.com/sunspot/docs/

will_pagenateっていうgemもあるんだけど、kaminariが最近流行りらしい。

https://github.com/richardiux/sunspot_with_kaminari

クリップするためにこのサイトに飛ぶのちょっとめんどくさい。

ということで、はてなブックマークみたいなブックマークレットを作る。

http://d.hatena.ne.jp/ky2009/20090108/1231405893

herokuとやらが設定周りの色々めんどくさいことを肩代わりしてくれるという噂。しか無料

→ sunspotが有料オプションでした。やめる。

AWSというAmazonサービスが設定によっては無料らしい。

→ ほんとに無料だった。AWS内のElastic Beanstalkというサービスが、herokuみたいにめんどくさいことを色々やってくれる。

http://blog.serverworks.co.jp/tech/2012/06/28/aws-elastic-beanstalk/

http://qiita.com/items/811cd9b614d8d300628e

おわり

そんなこんなで出来上がったもの陳腐ものかもしれませんが、まがいなりにもひとつサービスができました。ここ1カ月だらーっとRubyRailsをさわってみて感じたことは、ウェブアプリを作るのって特別なことじゃないんだなーっていう。どこかで誰かも言ってましたけど、開発している最中パズルを解いてる感覚でした。ウェブに転がるピースを探して、フレームワークにあてはめていくようなそんな感覚

おしまい

2012-09-18

perl SQL::Makerはスゲー便利 その2

http://anond.hatelabo.jp/20120917013417 の続き。

前回は、使ってるモジュールしか書かなかったんで、具体的な使い方を、

my $condition = SQL::Maker::Condition->new;

$condition->add('colom1' => "$value1");                          # colum1 = $value1
$condition->add('colom2',{'like' => "%$value2%"});               # colum2 like '%$value1%'
$condition->add('colom3',{'between' => ["$value3","$value4"]});  # colom3 between $value3 and $value4

my $q = SQL::Maker::Select->new(driver => 'XXXXX');              # XXXXXは、MySQL等の指定をする

# where句に条件を設定
$q->set_where($condition);                                       

# where句を抽出select項目やテーブルの指定を全くしてないので、$sql_conditionには
# "FROM WHERE (colum1 = ?) and (colom2 like ?) and (colom3 between ? and ?)" という文字列がセット
my $sql_condition = $q->as_sql();                                

# "FROM" を消して、WHERE句だけにする 
$sql_condition =~ s/FROM//;                                      

# 設定した条件の配列
my @binds = $q->bind;                                            

# SQLの読み込み(条件部分をのぞくopen my $fh, "<", "./sql.txt";
my $sql = do{ local $/; <$fh>};
close $fh;

# 生成したWHERE句とソート順をSQLに追加
$sql = $sql.$sql_condition;

# コネクションを取得
my $conection = DBI->connect($datasource) or die ( 'could not connect' );
my $sth = $conection->prepare($sql);

# 条件に値を埋め込む
for(my $i = 0; $i<= $#binds; $i++){
    $sth->bind_param($i+1,$binds[$i]);
}

# SQLの実行
$sth->execute;


という形でやってます

増田だとpre記法でも「<」「>」が正しく変換されないんで、読み替えてください。

やろうと思えば、select項目や読み込むテーブルもPGの中で指定して組み立てることも

出来るんだけど、そこまでやると面倒くさいし、そこまで動的にコントロールする必要

サイトでは無かったんで、条件部分のみ動的に変更できるようにしてます

動的SQLperlで作ろうと思っている人の参考になれば幸いです。

参考

http://search.cpan.org/~chiba/SQL-Maker/lib/SQL/Maker/Select.pm

http://search.cpan.org/~chiba/SQL-Maker/lib/SQL/Maker/Condition.pm

風俗口コミ横断SEARCH

http://fko-s.info/index.html

2012-04-03

Google ChromeRSSリーダーにNetNewsWireを使用するためのメモ

MacRSSリーダーで最も使いやすいNetNewsWire

SafariだとBlogRSSフィードクリックするだけで簡単に立ち上がってくれるが、Chromeではよくわからなかったのでggrました。あっさり解決したのでここにメモを残します。参照したブログ見たほうが早いか

手順

Chromeエクステンションページから"RSS Subscription Extension"をインストール

https://chrome.google.com/webstore/detail/nlbjncdgjeocebhnmkbbbdekmmmcbfjd

・設定からRSS Subscription Extensionのオプションクリック

・右上の追加ボタンクリック

・説明にNet News Wire入力。もしくはご自分のわかりやすい説明でも可

URLに下記のjavascriptコピペ

javascript:var url=decodeURIComponent('%s');var feedWindow = window.open('feed://' + url.substr(7)); feedWindow.close();

以上で完了。

あとは読みたいBlogRSSボタンを押すだけでNetNewsWireが立ち上がる。

参照したブログ

http://www.capndesign.com/archives/2010/06/how_to_open_feeds_in_netnewswire_with_go.php

NetNewsWireダウンロードはここ

http://netnewswireapp.com/

2012-03-29

Excellent Strategies Regarding Open-air Wedding event Images Throughout Leeds

Wedding event images isn't any additional restricted to capturing for the duration of wedding ceremony party on the site one elected to get wedding rituals and also in the few chapels. Bride and groom, dressed inside heart warming wedding dresses, may possibly check out different beautiful locations to obtain splendid injections how they would most likely keep on using them always to delight in the recollection of your marriage ceremony after inside their lives. Those people images would as well function simply because old artifacts for his or her infants every time they mature and additionally prefer to observe its parents checked if they were new,laptop cpu fan and also to observe how wedding parties occurred on outdated periods. There are numerous gorgeous locations to get wedding ceremony photos around Leeds that all happy couple on Leeds wish to head to to their wedding and reception costume if you are shot in a very picturesque experience.

Leeds is rather exquisite and also is among the most well-known towns in The uk getting selection of venues to turn into great qualifications just for open-air wedding digital photography training. You can find a long list of old websites dating back coming from 19th millennium to B . C . period, a lot of pretty gorgeous amusement parks and even fantastic church buildings, along with other areas for instance squares and even halls which represents splendour of your metropolis.

Get ready for open-air wedding party digital photography training on Leeds

Before training is essential regarding wonderful photos while in the wedding gowns. The backdrop, make-up, and also costume outfit distressed through the young couples participate in an important function in level of quality associated with beautiful photos furthermore lighting products and laptop keyboard additionally dslr camera settings. A great digital photographer would go on a very few check vaccinations on the open-air websites you end up picking just for wedding and reception photography in advance of taking particular marriage ceremony shots to establish in cases where illumination spot as well as other practical requirements will be attained to generate good shots.

Advised regions regarding wedding and reception photos

Produced around 1899, Leeds Urban center Rectangle is undoubtedly an available place in the center of town. Form most important constructing, there are plenty of destinations on Metropolis Rectangular that can be used since backdrop to your snap shots, for instance, the particular water fall and the particular sculpture from the African american Prince for horseback produced from bronze. There are numerous some other figurines which will moreover assist while fantastic backdrops.

Middleton Recreation area, by using outdated woodlands dating back so that you can 17th millennium, is among the most well-known destinations within the place regarding Leeds. You will find superb displays, for example unique h2o fish ponds, oak woods, and various scenarios that you can use simply because again decline of one's wedding party pictures.

2012-01-05

How to make digital camera battery more durable

Digital camera battery is the key for the key, second in importance only lens I’m afraid, and in order to photograph in your heart, a powerful battery to provide power as a follow-up is essential. But even the best battery time, if not properly carry out maintenance and maintenance, will not take long to lose the strong power, so battery maintenance is very important.

Battery Maintenance

For a (section) digital camera battery for the duration of use, not just its quality, power on, in fact, the use of operations with the user also has great relevance. Most photographers are used after every use of the camera on the camera bag inside, or on the cupboard, took out the battery is not kept separately, this approach sounds fine, but not conducive to battery protection.

If more than 15 days do not usually use the camera, it is best to remove the battery from the camera inside the store alone, save the environment, it is best to dry and cool place, and do not store the battery together with metal objects.

According to our survey, you can buy in the market most digital cameras use lithium batteries, it is relatively easy to store. The only caveat is that if not used for long, preferably at intervals of 2 months to activate a battery, which is the charge and discharge time, this can effectively extend battery life.

As for the Ni-MH battery 5, the most annoying is the memory effect, this effect will reduce the overall battery capacity and the use of time, and as time goes on, less and less stored charge, the battery will consume the more you have to faster. Therefore, we should try to run out of power rechargeable, each charge must be sufficient to power the most full.

If you go out, the temporary use of alkaline batteries, we must remember that time out, or when unused for long periods, the battery is easy to Tangshui corrosion circuit, the digital camera battery could not escape the destiny scrapped.

For users of alkaline batteries, already mentioned above, remember the point is finished using the digital camera, remove the battery must remember to avoid the phenomenon of cell sap and damage the machine.

As for the use of rechargeable nickel-metal hydride batteries and lithium users. Battery charge is very particular about, bought back the batteries are generally very low or no power consumption, the first charge must be adequate. Lithium battery charging time is generally longer than 8 hours, while the Ni-MH battery charging time is generally more than 16 hours. To achieve best results, that is, the battery has reached its maximum capacity, generally more than 3 times repeated charge-discharge can. Battery with three times, the best opportunity to find a completely exhausted battery to charge again, try not to charge the battery when there are remnants of repeated charge, or will shorten battery life. After the battery charge is generally more heat, it is best to be cool and then into the camera battery.

But note that lithium batteries because there is no memory effect, so do not discharge, otherwise it will damage the digital camera battery structure, loss of battery life.

In addition, in order to avoid the loss of electricity, the use of nickel-metal hydride battery user, charging is completed, remove the battery, do not let the battery contact with the conductor while the positive and negative poles, for example, do not use your fingers touch both ends of the battery. The use of lithium users should try to keep the camera inside the battery positive and negative battery contacts clean, if necessary, wipe with a dry cloth and then gently wipe the battery.

Also note that, even if the user is to use lithium batteries, digital camera in a long time when not in use, should be completely discharged, remove the battery, stored in a dry, cool environment. The other thing to note is that both the nickel-hydrogen batteries or lithium batteries using the user, it is best not to have a charged battery on the purse, pocket, bag or container with metal objects, in order to prevent short-circuit .

Digital camera battery power Dafa:

1, to avoid frequent use of flash: If you are not professional photographers, then, except in the invisible fingers of the night, the light intensity of an ordinary day for the average digital camera, it is enough.

2, try to avoid unnecessary zoom operation: zoom the camera lens stretched it out a reduction, is power digital camera battery. You can move the pace of hyperactivity, with “artificial zoom” approach instead of “camera zoom” to save power.

3, Do not let the screen has been lit: If the case of small power, can turn off the LCD screen, use the viewfinder to adjust the picture composition, is for a digital camera, LCD should be considered the most power-hungry components, general digital camera, LCD screen after closing time can be used when the original length of about 3 times.

4, less shooting and video: minimize the use of multi-shot feature and video capture video, as the completion of these functions is to use the built-in buffer body to temporarily save the screen shot, the power consumption a lot.

5, should not frequently open, shut down: Many users know that the display stays lit is power, so in order to save electricity use to frequent opening and shutdown. In fact, frequently open, shut down the electricity wasted consumption than bright display even more, especially for larger diameter lenses, but also requires a substantial expansion of the camera, the switch is power. Most digital cameras have automatic shutdown option, this setting should not be set too short, otherwise easily lead to frequent opening and shut down. Of course, frequent artificial opening, shut down and should be avoided.

6, optical image stabilization not normally open: Optical image stabilization is by driving the lens or image sensor pack components, offset by the subject matter images and the relative motion between the sensor achieved. Either way the optical image stabilization, would result in no small power consumption, in particular some models can be anti-shake mode is set to “always on” so that power loss will be caused by the more powerful. To this end, we have a good scene in the light should turn off the optical image stabilization feature, you must use, should also be less “always on” mode.

___________________________________________________

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

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

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

2011-12-29

Portable electronic equipment battery technology

1, about the trickle charge, rapid charging and stable battery charging algorithm

According to the energy requirements of the final application, a battery may contain up to 4 lithium ion or lithium polymer battery core, its configuration will have a variety of change, at the same time with a mainstream power adapter: direct adapter, USB interface or car charger. Remove the core quantity, core configuration or power adapter type difference, the battery has the same charge characteristics. So they charge algorithm. Lithium ion and li-ion polymer battery best charging algorithm can divided into three phases: trickle charge, rapid charging and stable charge.

trickle charge. For depth discharge core to charge. When core voltage in less than about 2.8 V, use a constant 0.1 C of the current charging for it.

fast charging. Core voltage trickle charge more than the threshold, improve the charging current rapid charging. Fast charging current should be lower than 1.0 C.

stable voltage. In the fast charging process, once the core 4.2 V voltage, stable voltage phase began. This is through the minimum charge current or timer or of the two joint to interrupt charge. When the minimum current below about 0.07 C, can interrupt charge. The timer is to rely on a default to trigger the timer interrupt.

Advanced battery charger with additional security function normally. For example, if the core temperature exceeds the given window, usually 0 ℃-45 ℃, charge will be suspended.

Remove some very low-end equipment, now on the market/li-ion polymer lithium ion battery solutions are integrated with the outer components or, in accordance with the characteristics of the charging to charge, this is not just to get better effect charge, but also for safety.

lithium ion/polymer battery charge is an example of applications-double input 1.2 A lithium battery charger LTC4097

LTC4097 can be used to exchange adapter or USB power supply for single quarter/polymer lithium ion battery. Figure 1 for double input 1.2 A lithium battery charger LTC4097 schemes. It USES constant current/constant voltage algorithm charging, from exchange adapter power charge, programmable filling up to 1.2 electric current A, and with USB power can be as high as 1 A, at the same time, automatic detection in each input voltage whether there. This device also provide USB the current limit. Applications include PDA, MP3 players, digital camera, light portable medical and test equipment and big color cellular phone. The performance characteristics: no external micro controller charging termination; The input power automatic detection and choice; Through the resistance from the exchange of charging adapter input can be as high as 1.2 A programming charge current; The resistance of programmable USB charging current is up to 1 A; 100% or 20% USB charging current set; The input power output and existing bias NTC (VNTC) pin as a 120 mA drive ability; NTC thermistors input (NTC) pin for temperature qualified charged; Pre-settings battery voltage with floating plus or minus 0.6% accuracy; Thermal regulation maximize charge rate and free hot air LTC4097 can be used to exchange adapter or USB power supply for single quarter/polymer lithium ion battery. The use of constant current/constant voltage algorithm charging, from exchange adapter power charge, programmable filling up to 1.2 electric current A, and with USB power can be as high as 1 A, at the same time, automatic detection in each input voltage whether there. This device also provide USB the current limit. Applications include PDA, MP3 players, digital camera, light portable medical and test equipment and big color cellular phone.

2, lithium ion/polymer battery scheme

Lithium ion/polymer battery charge scheme for different number of core, core configuration, and power types are different. At present mainly have three main charging scheme: linear, Buck (step-down) switch and SEPIC (booster and step-down) switch.

2.1 linear scheme

When the input voltage in big with the charger with sufficient clearance of core after opening voltage, it is linear scheme, especially 1.0 C fast charging current than 1 A big too much. For example, MP3 players usually only one core, capacity from 700 to 1500 mAh differ, full charge voltage is open 4.2 V. MP3 player power is usually the AC/DC adapter or USB interface, the output is the rule of 5 V; At this time, the linear scheme is the most simple, most charger of the efficiency of the scheme. Figure 2 shows for lithium ion/polymer battery solution linear scheme, basic structure and linear voltage neat device.

linear scheme charger application examples-double input Li + charger and intelligent power source selector MAX8677A

MAX8677A is double input USB/AC adapter linear charger, built-in Smart Power Selector, used for rechargeable single quarter by Li + batteries portable devices. The charger integration of the battery and the external power source and load switch charging all the power switch, so that no external MOSFET. MAX8677A ideal used in portable devices, such as smart phones, PDA, portable media players, GPS navigation equipment, digital camera, and digital cameras.

MAX8677A can work in independent USB and the power input AC adapter or two input either one of the input. When connecting external power supply, intelligent power source selector allows the system not connect battery or can and depth discharge battery connection. Intelligent power source selector will automatically switch to the battery system load, use the system did not use the input power supply parts for battery, make full use of limited USB and adapter power supply input. All the needed electric current detection circuit, including the integration of the power switch, all integration in the piece. DC input current highest limit can be adjusted to 2 A and DC and USB input all can support 100 mA, 500 mA, and USB hung mode. Charge current can be adjusted to as high as 1.5 A, thus support wide range of battery capacitive. Other features include MAX8677A thermal regulation, over-voltage protection, charging status and fault output, power supply good surveillance, battery thermistors surveillance, and charging timer. MAX8677A using save a space, hot enhanced, 4 mm x 4 mm, 24 of the pins TQFN encapsulation, regulations, work in exceptional temperature range (40 ~ + 85 ℃).

2.2 Buck (step-down) switch scheme

When A 1.0 C of the charging current more than 1 A, or the input voltage of the core than with high voltage open many, Buck or step-down plan is A better choice. For example, based on the hard drive in the PMP, often use single core lithium ion battery, the full of open is 4.2 V voltage, capacity from 1200 to 2400 mAh range. And now PMP is usually use the car kit to charge, its output voltage in a 9 V to 16 between V. In the input voltage and battery voltage is the voltage difference between high (minimum 4.8 V) will make linear scheme lowers efficiency. This kind of low efficiency, plus more than 1.2 A 1 C fast charging electric current, have serious heat dissipation problems. To avoid this kind of situation, will the Buck scheme. Figure 3 for lithium ion/polymer battery charger scheme Buck diagram, basic structure with Buck (step-down) switching voltage regulators completely the same.

2.3 SEPIC (booster and step-down) switch scheme

In some use of three or four lithium ion/polymer core series equipments, charger of the input voltage is not always greater than the battery voltage. For example, laptop computers use 3 core lithium ion battery, full charge voltage is open 12.6 V (4.2 V x3), capacity is 1800 mAh to 3600 mAh from. Power supply input or output voltage is 1 6 V AC/DC adapter, or is car kit, the output voltage in a 9 V to 16 between V. Apparently, the linear and Buck solutions are not for this group of batteries. This is about to use SEPIC scheme, it can in the output voltage is higher than when the battery voltage, can be in the output voltage less than when the battery.

3, and power detection algorithm is proposed

Many portable products use voltage measurements to estimate the remaining battery power, but the battery voltage and surplus power relationship but will with the discharge rate, temperature and battery aging degree of change, make this kind of method can top 50% margin of error. The market for longer to use product demand unceasingly strengthens, so the system design personnel need more accurate solution. Use capacity check plan come to measure battery or consumption of electricity, will be in a wide range of application power to provide more accurate estimate of the battery power.

3.1 power detection algorithm is one of the examples of application, function complete list, double the battery portable battery application design

power detection principle. Good capacity check plan at least to have battery voltage, temperature and battery electric current, measuring method; A micro 9 a; And a set of and the verification of the punishment power detection algorithm is proposed. Bq2650x and bq27x00 is full capacity check program function, with a measuring voltage and temperature of the digital converter (ADC) and a measuring electric current and charging sensor the asp. These capacity check plan also has a microprocessor, is responsible for the implementation of the Texas instruments power detection algorithm is proposed. The algorithm can compensate the lithium ion battery life.low self-discharge, aging, the temperature and discharge rate, and other factors. Chip embedded microprocessor as host system processor save these calculation burden. Capacity check program can provide remaining power state information, bq27x00 series products also offer surplus can Run Time (Run Time to Empty) host may at any Time to capacity check plan these information query, then LED indicator light through or displays will inform the user battery. Capacity check meter is very easy to use, the system processor need only configuration 12 C or HDQ communication drive can.

The battery circuit description. Figure 4 (a) can be used for identification of IC functions with typical application circuit batteries. According to the use of IC testing program is different, the battery needs to have at least three to four outside the terminal.

VCC and BAT pins will even to the battery voltage, so that for, C power and the battery voltage measurement. The battery is connected a grounding resistance smaller detection resistors, let capacity check meter high impedance SRP and SRN input can monitor sensor resistance on both ends of the voltage. Through testing the current flows through a resistor can be used to judge the battery or release the amount of electricity. Designers choose detection resistance value must be considered when resistance on both ends of the voltage can't more than 100 mV, low resistance may be more hours in current errors. Circuit board layout must ensure that SRP and SRN to testing from as close as possible to the connection of the resistor sensor resistance end; In other words, they should be the Kelvin attachment.

HDQ pin need external and resistors, this resistance should be located the host or the main application, such capacity check plan to the battery and portable devices when sleep function enable connection broken. Advice and resistance choose 10 k Ω.

battery identification. A low cost WeiMao batteries are getting more and more serious, these cells may not contain OEM requirements of security protection circuit. So, genuine battery may contain figure 4 (a) shows the appraisal circuit. When to identify the battery, the host to contain IC (bq26150, the function is cyclic redundancy check (CRC)) issued the battery packs a ask value (challenge), the CRC will contain battery according to this inquiry value and, in the building of the IC in CRC polynomial calculation the CRC value. CRC is based on the host of command and IC secret in the query of the definition of the CRC polynomial completed, the host in CRC values calculated with the calculation result of well battery comparison to identify the appraisal success.

Once the battery through the appraisal, bq26150 will issue commands to ensure that the host and quantity test plan of material lines between normal communication. When the battery connection interruption or to connect, the whole the identification process will be repeated again.

double the battery application. Figure 4 (b) for use bq26500 support double the typical application of lithium ion battery circuit. In order to support more battery, and this circuit is adding a adjustable regulators. Capacity check millions of BAT pin and the bottom of a battery anode linked to complete the variable voltage measurement of the battery.

Host to be able to read capacity check plan of variable voltage measurement battery, to make sure the end of discharging threshold and charging terminate threshold. As for the remaining state power (RemainingStateofCapacity), do not need to read can use directly.

The above bq2650x and bq27x00 etc capacity check plan provides the battery manufacturer a simple to use options, this scheme L [just measuring battery voltage to be precise, so these capacity check plan can be applied to various battery framework, and can support the battery identification and double the battery application '

3.2 power detection algorithm is an example of applications another, can apply to all kinds of general voltmeter new IC.

Today's many manufacturers can provide a variety of voltmeter IC,, the user can choose the suitable function device, to optimize the product price. Use voltmeter measurement of storage battery parameters, the separate architecture allows users in the host custom power measurement algorithm within. Eliminating embedded processor battery cost. On this to Dallase semicconductor company called cases of DS2762 chip for typical analysis. A new separate voltmeter IC, its structure see chart 5 (a) below.

DS2762 application characteristics

DS2762 is a single quarter of lithium battery voltmeter and protection circuit, integrated into a tiny 2.46 mm x 2.74 mm inversion of packaging. Due to internal integration for power detection of high precise resistance, this device is very save a space. It is the small size and incomparable high level of integration, for mobile phone battery and other similar handheld products, such as PDA, etc, are all very ideal. Integrated protection circuit continuously monitoring the battery voltage, over voltage and flow fault (charging or discharge period). Different from the independent protection IC, DS2762 allow main processor surveillance/control protection FET conduction state, such, can DS2762 through the protection of the power system and the control circuit implementation. DS2762 can also charge a battery consumption has depth, when the battery voltage within three V, provide a limit of the charging current recovery path.

DS2762 accurate monitoring battery current, voltage and temperature, the dynamic range and resolution of common satisfy any mobile communication product testing standards. The measurement of current for internally generated when the integral, realize the power measurement. Through the real-time, continuous automatic disorders correct, the precision of power measurement can be increased. The built-in measuring resistance due to eliminate manufacturing process and temperature and cause resistance change, further improve the precision of the voltmeter. Important data stored in 32 bytes, can add the lock EEPROM; 16 bytes of SRAM are used to keep dynamic data. And DS2762 all communication all through the 1-Wire, more communication interface node, minimize the battery and the connection to the host. Its main features for; Single quarter of lithium battery protector; High precision current (power measurement), voltage and temperature measurement; Optional integrated 25 m Ω measuring resistance, each DS2762 after fine-tuning alone; 0 V battery restore charge; 32 bytes can lock EEPROM, 16 bytes SRAM, 64 a ROM;

1-Wire, node, digital communication interface; Support more battery power management, and through the protection system control FET power; Dormancy mode power supply current only 2 µ A (most); Work mode power supply current for 90 µ A (most); 2.46 mm x 2.74 mm inversion of packaging or 16 feet SSOP package led, and both are can choose with or without detection resistance; After has with e

2011-12-19

Tonight, the star are obsessed heart

【 1 】 searching. Summer mood

Warm sunshine in the body and melted the remaining the sorrow, but increase some warm meaning. Half a narrowed her eyes, look long rear its head, the suspension of the golden ball still smiled at me. The window, have always liked position, whether in the coffee shop or the teahouse or is a fast-food restaurant, as long as is the place all to sit down for the habitual by a window. So, I can clearly see the outside world, see clearly in the outside walk every one.

I am a fear of stay in that vague world people, can now, are steps into the relationship that vague. Once the countless times told himself, the person to work to clear and plainly, clean, neat. But, now of oneself, not only drag, ya, indecision is at sixes and sevens, blurred.

Summer, is a hot season, also is a easily lose season. Each people all have everyone's temper, and summer, let everyone's temper to acme. Stimulate each other's sensory nerve, little the release of anger. They have with anger, with anger passing, also have with anger of fighting the performance...

All kinds of people are full of all kinds of release methods, and I still slowly, don't worry about being by your side. Pay attention to you every day the fickle mood, ponder your mood every day of good and bad. Sometimes think, time is like a medicine, and like a poison. It makes us forget the pain before, but start the next paragraph sad. It let we abandon our past and desolate, but to a desolate.

【 2 】 summer. Away from grief

Spring as the fallen petal go, wearing a suit LuYeEr of summer in the jump in the warm wind coming, I like winning, jubilant welcome the arrival of the summer. I like summer, like the warm sunshine. Like the sunrise, also like the sunset. Like the golden sun, also like the warmth of sunshine.

Where there is sun, and I feel that my world will not too cold.

Where there is sun, and I feel that my life not too dark.

Where there is sun, and I think the world is full of hope.

Had the sunlight, I have confidence has been waiting for you.

The recent weather and began to change is full of sunshine in the morning, and at noon, will see the sun's trail, the change is the roaring winds, bully touching each corner, don't allow a little resistance. Recently is always looking for a variety of ways, to ease his trouble and sorrow. No longer let oneself and sad hook, no longer let yourself with tears become attached to, so, no longer let their sorrow.

Recently, always looking for all kinds of things to do, like have do not like, just like it or not, will be serious to do. So it won't have too much time to think some the mess of things, so that it doesn't always have my insignificant problem into the inside and you weep alone.

[3] night. sensational

With only a sunshine gradually exit out of the window, the moonlight slowly emerging, tight with all kinds of the stars also slowly appeared in the sky. The earth is a light moonlight and the stars into romantic ornament night. Little stars sings like pearl inlaid in under the canopy, ShanShanDe with a light, and the next you said nothing, as if to see this wonderful night.

Into that familiar with the place, the habitual open air conditioning, open the curtains, the outside world is still so wonderful, the stars and not because night and receding, but more glow. At the moment, finally understand, why do so many people like stars in the night, the night the crush.

Tonight's you, different from ordinary, striking a little can't believe. Don't know is his vision, or a real feelings, whether true or not true world. All like tonight's you, suddenly a few days before the fall of all scores brought. Perhaps that is part of your charm.

Night, still as black, so quiet. Just, tonight's night, less afraid.

I and, as usual, quiet looking at the sleeping you, the mouth cape raise filar silk smile and this is that light taste happiness?

__________________________________________________________________

http://www.chargerbatteryshop.co.uk/panasonic-cgr-d220-camcorder-battery-cbbs.html

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

2011-12-17

力尽きた

I know how to become a super-easy Your Life?

Tips on how to live it happily for everyone

I become more comfortable with the power off

Also suffering are all spicy sloppy vision, and white security.

The world's vanities,

The emptiness of the first pain and sadness.

The world is going to change.

Can even change to ease the suffering.

If you can make your day burdened with dirty

It should be possible to throw away what we have so

I understood just how sloppy or the world?

Suffering and illness, and we insist on such things.

And stick to what I see.

Cling to the things that you hear.

Taste and smell differ from person to person

What is also not helpful.

The bad stick to tea mind wavers.

It is "free" What is he.

A big talk and while it is alive, various things are.

You can see what a miserable so difficult.

But I go place to place with us.

Which is invisible to anyone.

I try to be bright and without force.

Because you will enjoy about You can not see the future.

What guy I'm feeling it alive.

Be difficult to live and certainly correctly.

But I'll live can even brighter to anyone.

Tips have a Bodhisattva living. There is no need to live in suffering.

I enjoy living in it becomes Buddha.

Once knowing the risk would be quite bad

Reasonable fear of living is help.

It is misread

Throw away your heart you are, It's not to say.

Do not forget your dreams and fantasies, and compassion,

Once nirvana But even where it is located.

Life is no need to change anything, just the perception of change.

If you have plenty in mind, anyone become a Buddha.

Remember the wisdom of this melt. But few words.

Make sense I know that I'm fine without thinking.

It would be nice suffering becomes smaller.

You all suffering admits even lie no more bullshit, I like that.

Let the past may be a prelude to forget all.

But just want to remember it.

Look tweeting If you're so inclined,

It's just good chanting in the mind

You see, open your ears listen well

"You'll cast, the bad idea is disappears, the soul is silenced, all things in here, it's beyond everything. "

"At that enlightenment will come true. All will be fulfilled in this mantra. "

don't worry -- that's OK

2011-12-14

Winter warming Yang

Early winter sky, like the patient's face the overcast, day to sink. Anxiety emotions such as this pervading the mist, tightly in my mind, catch my breath. This noon, the sun finally broke through the cloud and mist, show smiling face. The golden sunshine, the clear as on snow, warm warm silver fai in the flow. My heart like this in the window sunshine, suddenly lit up. On the vast expanse of the forms.it, bathed in the warm sunshine, the in the mind unspeakable joy, really want to in the sparkling on snow run, to release under pressure in the life, the one anxious heart, make it in the warm Yang blowing quiet quiet stretch open, as Snow White pure it gently the each place, leave a light the tranquil, calm in heart ripples.

The winter warm Yang heartily of vent to their hot, sprinkle with golden way way, the snow on glaring multicoloured halo, like in a split up around me gorgeous flowers. And as a series of colorful picture, in my sight of dreaming floating, I stand still didn't dare move, very afraid that move will put it like running scared. The sun be warm in my body, face and hands gently touched, a thick warm meaning in my heart rise, and then a puzzling to love is full whole body. Oh! I see, the soft touch, it's like my lover it. As the sun jade-like stone son bright smile, as if appear in the shadows. And when she left the same way, or that naughty smile, two small dimples with the face. She bantered said "to chase me! After a good deal for you win." I'm excited, but at a loss, just gazing at the light faded away in her in in the distance, RenXue the ground I do the footprints of the lonely, in lightly sigh.

Sunshine slowly breeze snow, the BaiXueShan quietly accept this trust god's touch. Like the girl like falling in love with lover's arms in school, doing the colorful dream. I was the true meaning of the snow moved and also enjoy stealthily warm winter sun kissing. The light sad like the like melted, had been in my memory, such as the white as forms.it of, did not leave traces. My heart immersed in the warmth of sunshine, and in the winter it forms.it quietly in fell asleep.

The winter warming Yang, don't abandon not to leave, waiting at my side, as my mother was waiting for the I, with all my heart, have no complaint. It let me understand, life not only it is the exhaustion of body and mind, worried restlessness. There is a kind of beautiful scenery, on our side. In fact they have been waiting for us, as long as pay attention side a flower, a leaf, a wisp of spring breeze, a rain, a snow, a blue sky, and so on. Like I say to this winter warm sample, calm down to, fine fine ground to observe, and deeply to taste, will get unexpected harvest.

http://www.chargerbatteryshop.co.uk

http://www.gobatteryonline.com

2011-12-11

Carrier IQ入り端末

auにもCarrier IQ入り端末が存在KDDIでは「動作せず」と説明

http://internet.watch.impress.co.jp/docs/news/20111207_496397.html

>> KDDIはこの件を把握しているといい、その理由については「海外先行販売されていたキャリア用のソフトを一部流用しているため。ファイルとして残っていても、実際に動作しないことは確認済み」と説明している。 <<

なんなのかわからないけどファイルとして入れていた、と。

open化だかなんだかしらないけど危ない方向になってるぞ。

SFだけの話だろうと思ってたけど、いつかコンピュータウイルス世界征服が可能になるな。

2011-09-23

「続 新しいプログラミングパラダイム」の目次


第1章 並行プログラミングGHC (上田和紀)
	1.1 はじめに
	1.2 ターゲットを明確にしよう
	1.3 はじめが大切
	1.4 GHCが与える並行計算の枠組み
		1.4.1 GHCにおける計算とは,外界との情報のやりとり(通信)である
		1.4.2 計算を行う主体は,互いに,および外界と通信し合うプロセスの集まりである
		1.4.3 プロセスは,停止するとは限らない
		1.4.4 プロセスは,開いた系(open system)をモデル化する
		1.4.5 情報とは変数と値との結付き(結合)のことである
		1.4.6 プロセスは,結合の観測と生成を行う
		1.4.7 プロセスは,書換え規則を用いて定義する
		1.4.8 通信は,プロセス間の共有変数を用いて行う
		1.4.9 外貨も,プロセスとしてモデル化される
		1.4.10 通信は,非同期的である
		1.4.11 プロセスのふるまいは,非決定的でありうる
	1.5 もう少し具体的なパラダイム
		1.5.1 ストリームと双方向通信
		1.5.2 履歴のあるオブジェクト表現
		1.5.3 データ駆動計算と要求駆動計算
		1.5.4 モジュラリティと差分プログラミング
		1.5.5 プロセスによるデータ表現
	1.6 歴史的背景と文献案内
	1.7 並行プログラミング効率
	1.8 まとめ


第2章 様相論理テンポラル・プログラミング (桜川貴司)
	2.1 はじめに
	2.2 様相論理
	2.3 時制論理
	2.4 多世界モデル
	2.5 到達可能性と局所性
	2.6 純論理プログラミングへ向けて
	2.7 Temporal Prolog
	2.8 RACCO
	2.9 実現
	2.10 まとめと参考文献案内


第3章 レコードプログラミング (横田一正)
	3.1 はじめに
	3.2 レコードと述語の表現
	3.3 レコード構造とφ-項
		3.3.1 φ-項の定義
		3.3.2 型の半順序と束
		3.3.3 KBLLOGIN
	3.4 応用――データベース視点から
		3.4.1 演繹データベース
		3.4.2 レコードプログラミングデータベース
		3.4.3 いくつかの例
	3.5 まとめ
	3.6 文献案内


第4章 抽象データ型とOBJ2 (二木厚吉・中川 中)
	4.1 はじめに
	4.2 抽象データ型と代数言語
		4.2.1 抽象データ型
		4.2.2 代数言語
		4.2.3 始代数
		4.2.4 項代数
		4.2.5 項書換えシステム
	4.3 OBJ2
		4.3.1 OBJ2の基本構造
		4.3.2 モジュールの参照方法
		4.3.3 混置関数記号
		4.3.4 モジュールパラメータ化
		4.3.5 パラメータ機構による高階関数記述
		4.3.6 順序ソート
		4.3.7 属性つきパターンマッチング
		4.3.8 評価戦略の指定
		4.3.9 モジュール表現
	4.4 おわりに


第5章 プログラム代数FP (富樫 敦)
	5.1 はじめに
	5.2 プログラミングシステム FP
		5.2.1 オブジェクト
		5.2.2 基本関数
		5.2.3 プログラム構成子
		5.2.4 関数定義
		5.2.5 FPプログラミングスタイル
	5.3 プログラム代数
		5.3.1 プログラム代数則
		5.3.2 代数則の証明
		5.3.3 代数則とプログラム
	5.4 ラムダ計算拡張
		5.4.1 ラムダ式拡張
		5.4.2 拡張されたラムダ計算の簡約規則
		5.4.3 そのほかのリスト操作演算子
		5.4.4 相互再帰定義式
		5.4.5 ストリーム(無限リスト)処理
	5.5 FPプログラム翻訳
		5.5.1 オブジェクト翻訳
		5.5.2 基本関数翻訳
		5.5.3 プログラム構成子の翻訳
		5.5.4 簡約規則を用いた代数則の検証
	5.6 おわりに


第6章 カテゴリカル・プログラミング (横内寛文)
	6.1 はじめに
	6.2 値からルフィズムへ
	6.3 カテゴリカル・コンビネータ
		6.3.1 ラムダ計算意味論
		6.3.2 モルフィズムによる意味論
		6.3.3 カテゴリカル・コンビネータ理論CCL
	6.4 関数型プログラミングへの応用
		6.4.1 関数型プログラミング言語ML/O
		6.4.2 CCLの拡張
		6.4.3 CCLに基づいた処理系
		6.4.4 公理系に基づいた最適化
	6.5 まとめ


第7章 最大公約数――普遍代数多項式イデアル自動証明におけるユークリッドの互除法 (外山芳人)
	7.1 はじめに
	7.2 完備化アルゴリズム
		7.2.1 グラス置換えパズル
		7.2.2 リダクションシステム
		7.2.3 完備なシステム
		7.2.4 完備化
		7.2.5 パズルの答
	7.3 普遍代数における完備化アルゴリズム
		7.3.1 群論の語の問題
		7.3.2 群の公理の完備化
		7.3.3 Knuth-Bendix完備化アルゴリズム
	7.4 多項式イデアル理論における完備化アルゴリズム
		7.4.1 ユークリッドの互除法
		7.4.2 多項式イデアル
		7.4.3 Buchbergerアルゴリズム
	7.5 一階述語論理における完備化アルゴリズム
		7.5.1 レゾリューション法
		7.5.2 Hsiangのアイデア
	7.6 おわりに


第8章 構成的プログラミング (林 晋)
	8.1 構成的プログラミング?
	8.2 型付きラムダ計算
	8.3 論理としての型付きラムダ計算
	8.4 構成的プログラミングとは
	8.5 構成的プログラミングにおける再帰呼び出し
	8.6 おわりに:構成的プログラミング未来はあるか?


第9章 メタプログラミングリフレクション (田中二郎)
	9.1 はじめに
	9.2 計算システム
		9.2.1 因果結合システム
		9.2.2 メタシステム
		9.2.3 リフレクティブシステム
	9.3 3-Lisp
	9.4 リフレクティブタワー
	9.5 GHCにおけるリフレクション
		9.5.1 並列論理言語GHC
		9.5.2 GHC言語仕様
		9.5.3 GHCメタインタプリタ
		9.5.4 リフレクティブ述語のインプリメント
	9.6 まとめ

2011-09-21

[][]

ソフトバージョンアップなどの際に

インストール先を変更した場合の関連付けの変更方法です

1.レジストリエディタを起動する

2.HKEY_CLASSES_ROOT\Applications\[実行ファイル名]\shell\open\command

3.(規定)の値にプログラムパスがあるので修正する

注意 Applicationsですapplicationという似た名前があるので混同しないように!

2011-09-17

Google Reader+Firefoxはてなブックマークを快適に使う方法

やりたいこと

以下を全てGoogle Reader上で行いたい。

  1. フィードを登録する。
  2. リスト表示で記事タイトルを眺める。
  3. 気に入った記事をクリックして全文読む。
  4. 気に入った記事へはてなスターを付ける。
  5. はてブコメントを見る。
  6. ブコメはてなスターを付ける。
  7. はてブコメントを登録する。

まず、やったこと

以下をインストール
Google Reader Full Feed Modの設定変更

タイトルクリックしたら自動的に全文を取得して表示して欲しい。以下の設定を行うと出来る。

  1. Google Reader右上のギアマーククリック→「Full Feed Mod設定」をクリック→「Auto Load」をクリック
  2. 自動的に全文表示するアイテム」を「すべて」に変更
  3. 「OK」をクリック
Google Reader plus Hatenaの改造

ブコメが表示されないので、これを直したい。

id:northappleさんが「googleリーダー内ではてなブックマークのコメントを参照したいで.. - 人力検索はてな」という質問の回答及びコメント欄でこれを直す方法を教えてくれている。よって、その通りに変更すると直る。2ヶ所置換が必要。

不満な点

  1. Google Readerからワンクリックで「はてなブックマークFirefox拡張」の「ブックマークを追加」ウィンドウを開いて欲しい。
  2. ブコメには作成年月日だけではなく、時分も表示して欲しい。
  3. 記事を開いたら自動ブコメをロードして欲しい。
  4. Google Reader上で記事へはてなスターを付けたい。
  5. Google Reader上でブコメはてなスターを付けたい。
  6. タイトルが長いとブクマ数が隠れてしまうので、それを見えるようにしたい。

改造方法

以下、Google Reader plus Hatenaの変更点です。変更するには、Firefoxの右上にある猿(Greasemonkey)のアイコンの右にある下矢印をクリック→「ユーザスクリプト管理」をクリック→「Google Reader plus Hatena」の「設定」をクリック→「このユーザスクリプト編集します」をクリックするとエディタで「Google Reader plus Hatena」のスクリプトが表示されるのでそれを編集する。

1. Google Readerからワンクリックで「はてなブックマークFirefox拡張」の「ブックマークを追加」ウィンドウを開く。

62行目

mySpan.innerHTML = '<a href="http://b.hatena.ne.jp/entry/'+url+'" onClick="window.open(this.href,\'\',\'status=yes,scrollbars=yes,directories=yes,menubar=yes,resizable=yes,toolbar=yes\'); return false;" ><img src="'+ BookmarkImageURL +'" /></a>';

を、

mySpan.innerHTML = '<a href="http://b.hatena.ne.jp/my/add.confirm?url='+url+'"><img src="'+ BookmarkImageURL +'" /></a>';

に変更。これで「○○ users」をクリックすると、目的ウィンドウが開くようになる。

2. ブコメには作成年月日だけではなく、時分も表示する。

147行目

var t = bookmark.timestamp.split(" ")[0].split("/");

を、

var t = bookmark.timestamp;

に変更。

156行目、

html += "<li><span class=\"__hatena_bookmark_anywhere_timestamp\">"+escapeHTML(t[0])+"年"+escapeHTML(t[1])+"月"+escapeHTML(t[2])+"日</span><img src=\"http://www.hatena.ne.jp/users/"+escapeHTML(bookmark.user.substring(0,2))+"/"+bookmark.user+"/profile_s.gif\" width=\"16\" height=\"16\"><a href=\"http://b.hatena.ne.jp/"+escapeHTML(bookmark.user)+"/"+escapeHTML(t.join(""))+"\" class=\"hatena_bookmark_anywhere_user\">"+escapeHTML(bookmark.user)+"</a><span class=\"hatena_bookmark_anywhere_tags\">"+tags.join(", ")+"</span>"+escapeHTML(bookmark.comment)+"</li>";

を、

html += "<li><span class=\"__hatena_bookmark_anywhere_timestamp\">"+escapeHTML(t.slice(2,-3))+"</span><img src=\"http://www.hatena.ne.jp/users/"+escapeHTML(bookmark.user.substring(0,2))+"/"+bookmark.user+"/profile_s.gif\" width=\"16\" height=\"16\"><a href=\"http://b.hatena.ne.jp/"+escapeHTML(bookmark.user)+"/"+escapeHTML(t.split(" ")[0].split("/").join(""))+"#bookmark-"+escapeHTML(json.eid)+"\" class=\"hatena_bookmark_anywhere_user\">"+escapeHTML(bookmark.user)+"</a><span class=\"hatena_bookmark_anywhere_tags\">"+tags.join(", ")+"</span>"+escapeHTML(bookmark.comment)+"</li>";

に変更。

# ブコメはてなスターを取得しやすいように、ブコメリンクブコメパーマリンクへ変更してあります

3. 記事を開いたら自動ブコメをロードする。

300行目(インデントしか無い空行)


を、


var evt = document.createEvent( "MouseEvents" );
evt.initEvent( "click", false, true );
createSpan.dispatchEvent( evt );

に変更。(「 JavaScriptの動かないコード (中級編) clickイベントを強制的に発生させたい (fireEvent/createEventの使い方) - 主に言語とシステム開発に関して」を参考にさせて頂きました。)

4-5.

出来た。けど、めちゃくちゃソースが汚いので、差分として公開するのが難しい。ごめんなさい。

# どーやるのがベストプラクティスなのか分からない・・・

6.

どなたかご教示してくださると嬉しいです _ _

書いた人

id:al001

人力検索はてなで質問しました:人力検索はてな

2011-09-08

Feeling of the cat

Translated from http://anond.hatelabo.jp/20110907020451


For a long time, I am in a dark box.


According to someone's comment I heard outside of the box, a tiny bottle containing deadly poison is located in this box. Although the bottle is completely sealed, a hammer is positioned in the vicinity of the bottle. And they said the hammer would fall down at a certain time.


When is "the certain time"? I don't know. In this very moment? Or distant future? Possibly, it already has come (I don't want to think about it). No one can affect the hammer. As an independent event, it will fall down with probability 50%. The probability is exactly 50%. Possibly, the bottle may be broken, or may not. About myself, dead, or, alive.


I must say, how terrible the situation is.


It is impossible for me to avoid having a furious indignation. My life, the most important issue for me, is completely away from me, and is solely dependent on the simple figure, FIFTY PERCENT! Too much terrible.


Additionally, and I think it is completely unreasonable, I am shackled in many ways to keep the probability at exactly 50%.


Visual perception. The box is completely shielded from any light. It's for avoiding me from finding and destroying the bottle and apparatus. Complete darkness. I am in the total darkness. Thus, now I can’t see even the outline of myself. Possibly it sounds strange, the darkness makes me have a doubt about the existence of my body itself.


Acoustic perception. Maybe, from the reason I mentioned above, a perfect sound insulation is used. I can’t hear even the voice of my own. I don't know the mechanism. In the first place, as I can’t see anything, how can I investigate it? So, this is only a speculation, possibly, my drum membranes were damaged before enclosure in this box, or, some special material is used for the wall of the box.


Anyway, in a dark box too much good at shielding light and sound, my visual and acoustic perception is dead just as the term indicates.


As if further confirmation are needed, a huge fatigue weighing heavily upon me is another shackle for me. It seems that they gave me some kind of muscle relaxant to avoid me from struggling. As I can’t change from the same posture, my tactile perception is almost paralyzed.


No light. No sound. Smell and taste are unreliable. Tactile perception is in malfunction. I am like a puppet. All the five senses are out of control of mine. Too much cruel. Perfect shackles. I wish if they had given a sleeping medicine. I feel I am in agony without any external injury. My life, my existence itself, is completely ignored. Such a humiliation keeps my sanity. Only such a humiliation can.


The right to control the life and death of myself is completely deprived. I hate such situation. The core determinant of the continuity of my life is completely dependent upon, solely upon, a pure probability. Completely away from anyone's will. I hate it, again, I hate it!


Why do I have to be enclosed in such a box? In such a ridiculous box, why do I have to be in fear of life and death with such perfect shackles?


Unreasonable. Cruel.


I am lonely. Am I feeling empty and flat? Difficult to avoid sobbing? No. My loneliness is much deeper. I am in a sea of void. I am alone. Completely alone. As an orphan, I was thrown into this endless darkness. I am quivering in the absolute zero.


There is no perspective in this box. Only the darkness is here. I can’t feel the bottle and the hammer. I can’t feel the wall, the bottom, and the ceiling neither. They should be there. But all the five senses of mine are deprived. I feel like there is nothing. While those things have some meanings.


Speaking honestly, I am not so sure I am in a box. I am sure that what I am exists. I am thinking. I am fantasizing. It is the evidence showing the uniqueness of mine, which is called the ego or the consciousness or the mind, is solid. But, is the uniqueness is truly enclosed in the box? Is it possible that it is floating in another space? I can’t eliminate such doubts.


Possibly, what I am here is floating in the end of the universe, or is lying down at the bottom of the Mariana Trench. Or going down from a vent of the Kilauea volcano, maybe.


I don't have any method to know how the box (enclosing me) is. All the senses of mine are dead. It is impossible for me to determine whether here is inside of a box or not.


In addition to that, I am not so sure that I am truly alive. I don't have any way to confirm such a simple thing. Possibly, the 50% probability has already passed beyond me. Maybe I am already dead. I am still alive, maybe. Injected with muscle relaxant, shallow breathes, weak heartbeats. Or, cessation of all of them, simply leaving meat bolus.


I am deprived of any capability of controlling my own body. Who can say that my mind resides in the body continuing vital activities? The five senses have been poisoned with the total darkness. They can’t function as sensory organs. I don't have any chance to know the truth. Possibly, any supposition is fabricated by myself. The situation surrounding me and the uniqueness of myself are components of programmed role-play, possibly.


About the existence of mine, I can’t determine the behavior. I hate to admit it, but I am in the middle of fluctuation.


I wish someone could find me. I wish someone could open the box and observe how I am, and determine what I am. There is not enough power inside me to do so. All I can do is to continue to quiver in the loneliness.


If I were the Almighty, I could say "Let there be light". I know it is impossible. But I can‘t help feeling how nice it would be if I could say so.


My own free will! It could fix every fluctuation surrounding myself!


At the same time, longing produces shadow. If the box is opened, I will be found and observed. As a result, what I am will be determined. To tell the truth, I can’t look away from the fact I am anxious about being determined.


Although I am unable to determine whether I am alive or dead by myself, I am afraid of the death. I am afraid that I am determined as a dead. I can’t accept. Still I can’t feel, I can’t imagine the death as a specific phenomenon. Probably, that is why I am afraid of death.


No, it should not be restricted to me. King of virtue. Deadly murderer. Regular folks. All the same. Maybe, the elder people or patients of bad disease could have some imagination sufficiently close to the true death. But, even so, it is impossible to know the specific experience of death.


In the end, death is the final destination with overwhelming significance. The time and the consciousness have an absolute irreversibility. Death also has the absoluteness which can’t be changed. Even if it is a ritual pass point or an outstanding impressive event.


Myself, the mind of mine here is, will be vanished at the moment at which how I am is determined. If they deprive the lukewarm water, in which I can’t feel the temperature, it is impossible for me to avoid exposing myself to the air.


I am afraid of such an irreversible change. It is not limited to the determination of death. Also I am so anxious that I am determined being alive.


The current existence of myself is like a tiny, tiny illusion standing on an endless point. Not larger than that. Not smaller than that. Not longer than that. Not shorter than that. No expansion. No shrinkage. Standing upon a unique single point. It is mathematically correct. I am something like a ghost staying upon such a point, having confusion about identity of myself.


The point exists at every position on a plane of coordinates, at the same time, not existing at a certain position. If a certain event occurs, on that moment, it will converge me to a single point among all the space-times, in which the event has occurred, as if having me step off a bus. Without any concern. Even if the point and I have been a one. The illusion, which has stayed in such a point, has possibilities of being real and being vanished like a mist, to an equal degree.


Now, I am existing in every time-space, I have every nature. At the same time, I am suffering from the loneliness that I am away from every nature. I wish someone can find me. At the same time, I am so anxious that where I will be, and that how I will be at that moment.


I have been released from the law of cause and effect. I am undetermined ever, for ever.

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