ときどきの雑記帖 倒行逆施編

最新ページへのリンク
目次ページへのリンク

一つ前へ 2015年7月(下旬)
一つ後へ 2015年8月(中旬)

ホームへ

2015年08月10日

■_

積ん読を解消減らせるといいなあ…

Java並行処理プログラミングを読んだ - だいたいよくわからないブログ はてなブックマーク - Java並行処理プログラミングを読んだ - だいたいよくわからないブログ 結構ブックマークついてるけど Amazon.co.jp: Java並行処理プログラミング ―その「基盤」と「最新API」を究める―: Brian Goetz, Joshua Bloch, Doug Lea: 本 また入手困難か。 でも最初に出てから結構時間経ってるしなあ。

山手線の中でふと気がついたのだけど(にぶちん)、 「劉邦」と「項羽と劉邦」の大きな違いってお話が劉邦視点かそうでないかだ。 「劉邦」の方はとことん劉邦視点で話が進んでいて 中巻の終わったところで鉅鹿の戦い直前くらいなんだけど、 韓信は全然出てきてないし、張良も中巻になって登場したけどすぐにまた出てこなくなった。 とすると、井陘の戦い辺りの話も細かくは書かれてないんだろうなあ 井陘の戦い」 楚漢戦争 - Wikipedia

■_

■_

十戒。 Python 10 Commandments : Python 元はQuoraにあったものらしい Courtesy of Titus Peterson on Quora. (Source) http://qr.ae/RC1OPp

Python 10 Commandments : Python
  1. Thou shalt not use threads for CPU intensive workloads. The GIL is thy Shepard, and thy bottleneck.
  2. Thou shalt use list comprehensions and generators where possible.
  3. Thou shalt know the limitations of thine libraries, and be comfortable writing thine own code.
  4. Thou shalt validate user input, or suffer the wrath of those following the dark path.
  5. Thou shalt not blindly copy/paste code from the land of StackOverflow.
  6. Thou shalt optimize latency-sensitive operations. Many open transactions shalt be thine doom.
  7. Thou shalt not mock thine fellow engineers for using Windows, it is enough to know that thou art on the most righteous, Unix centric path.
  8. Thou shalt write clear and concise code. Cleverness is a gift from above that not all of thine co-workers may be gifted with.
  9. Thou shalt use the most-appropriate execution engine for the situation. Pypy, Jython, and IronPython are the tools gifted from on high.
  10. Thou shalt be aware of when, although the trial and tribulation CAN be sloved with Python, the most holy of languages, it may be solved more easily and performant-ly in a heathen tongue.

う、それっぽく訳すの面倒そう… それはそれとして、 Thou shalt not blindly copy/paste code from the land of StackOverflow. これが一番良いかなw

■_

2015年08月09日

■_

ピカチュウの群れ、見に行きたい。 ろくえんさんはTwitterを使っています: "みなとみらいになんかおったぞ。 http://t.co/swQpbGLv8Z"

家の近くのコンビニで中華まんがもう出てた。この暑いのに……

ζさんはTwitterを使っています: "その昔、BASIC のコメント文でアセンブリ言語を記述していた古強者がいたという。その者はソースをアスキーセーブして、アセンブラに読ませていたというが、今となってはその真偽は知る者は死に絶えておらぬ" マジレスするのもアレだけど 「死に絶えて」はないんじゃないかなあ。 ほらあの人とかあの人とか(ry

■_

2015年08月08日

■_

劉邦中巻まで読んだ。 司馬遼太郎の項羽と劉邦との違いが面白いかなあ (あまり細かく覚えているわけではないけど)。 あと、あまり聞き覚えがない言葉が出てくるのが印象的。 覚えているところでは 兵馬倥偬の意味 - 四字熟語辞典 - goo辞書 擢登 - Google 検索 とか。 後者は特に、日本語がひっかかってこないっぽい?

零戦神話の虚像と真実 零戦は本当に無敵だったのか
零戦神話の虚像と真実 零戦は本当に無敵だったのか 言われてみれば…ということがあれこれ。

ワルキューレの騎行。といえば、 クラシック音楽をBGMに使っていた銀河英雄伝説でも使われなかったという曲ですな。 たしか、地獄の黙示録のあのイメージが強すぎるので意地でも使わないようにしたとか 音楽監督(だったような気がする)がインタビューで答えてた。 銀英伝の戦闘シーンで印象的な使われ方をしたBGMといえば(「我が征くは星の大海」)ボレロが 真っ先に挙げられるような感じだけど、 新世界よりの第4楽章も捨てがたい。

機械学習プロフェッショナルシリーズの第二回配本(になるのかな)は赤が基調になるのかと思ったら 一冊だけみたい。 異常検知と変化検知 (機械学習プロフェッショナルシリーズ)
異常検知と変化検知 (機械学習プロフェッショナルシリーズ) サポートベクトルマシン (機械学習プロフェッショナルシリーズ)
サポートベクトルマシン (機械学習プロフェッショナルシリーズ) 確率的最適化 (機械学習プロフェッショナルシリーズ)
確率的最適化 (機械学習プロフェッショナルシリーズ) 統計的学習理論 (機械学習プロフェッショナルシリーズ)
統計的学習理論 (機械学習プロフェッショナルシリーズ)

▶ Evolution of cpython (Gource Visualization) - YouTube 前にもなかったっけこれ。と思ったらそれはこっちかな。 ▶ History of Python - Gource - development visualization (august 1990 - june 2012) - YouTube

■_

■_

ちょっと(だいぶ?)前の記事ですが。 What is C in practice? | Hacker News で取り上げてる記事がなかなか。 http://www.cl.cam.ac.uk/~pes20/cerberus/notes50-2015-05-24-survey-discussion.html

  Expertise
  C applications programming : 237
  C systems programming : 214
  Linux developer : 147
  Other OS developer : 102
  C embedded systems programming : 121
  C standard : 64
  C or C++ standards committee member : 8
  Compiler internals : 59
  GCC developer : 12
  Clang developer : 25
  Other C compiler developer : 21
  Program analysis tools : 40
  Formal semantics : 16
  no response : 6
  other : 18

といった人たちが回答してる模様。

2015年08月07日

■_

なつやすみ

ツクツクボウシの鳴き声を聞く。今夏初。

商人道(あきんロード) 3 (ビッグコミックス)
商人道(あきんロード) 3 (ビッグコミックス) あら三巻で終わりか

バーナード嬢曰く。: 2 (REXコミックス)
バーナード嬢曰く。: 2 (REXコミックス)

■_

2015年08月06日

■_

ガンダム新聞買った。が、レジのおねーさんがふつーの朝日新聞の値段で入力してたので 慌てて指摘するなど。

同じ人がコメントつけてないかなー(にやにや) はてなブックマーク - RubyとPythonにおけるガベージコレクションの視覚化 | プログラミング | POSTD はてなブックマーク - RubyとPythonの違いからガベージコレクタを理解する - ワザノバ | wazanova.jp

■_

2015年08月05日

■_

The Pragmatic Bookshelf | Exercises for Programmers

色々と理由があってそうしてるというのは理解できるんだけど、 横浜方面からの電車で渋谷止まりなんだけど 車輌は東京メトロの物。 というのを見かけるとなんというかこう釈然としないものが……

■_

■_

水曜日にクラッシュするプログラムがあって、それはなぜかと調べてみると…… Crashes only on Wednesdays : programming http://gyrovague.com/2015/07/29/crashes-only-on-wednesdays/

  Name      Length
  Sunday        6
  Monday        6
  Friday        6
  Tuesday       7
  Thursday      8
  Saturday      8
  Wednesday     9
  

■_

なんか夏にはBINDまつりなるものがあるらしいんですがそれはともかく A deep look at CVE-2015-5477 and how CloudFlare Virtual DNS customers are protected 解説を読むにふむふむといったところなんですが。

A deep look at BIND9 CVE-2015-5477 | Hacker News (面倒な)プロトコルに従ったやり取りは人間が手書きで書くもんじゃない というのはまあそうなんでしょうねえ。

2015年08月04日

■_

ピタゴラスイッチ♪

”私の環境で”大きなテキストファイルをawkで処理するときにcatで投げ込むと速い理由 - ablog 意外な展開だー。 しかしいろいろな要因があるものだねえ。

■_

■_

ピタゴラフィニッシュ♪

2015年08月03日

■_

IBM、最大20万台のMacを毎年購入し、最終的にIBM従業員の半数以上のPCをThinkPadからMacBookへ変更する見込み。 これ一年辺りの最大購入台数が20万台と読んで、合計の台数がどんだけでIBMの社員は一体何人いるのかと思った。

コンビニのレジ待ちで。 いわゆるフォーク並びをさせる店だったのだけど、 見当違いなところで並んでいるつもりだったおねえちゃんに 割り込んだかのように思われてすげー顔で睨まれた。

■_

■_

んー、あの本がまだ一位をとり続けてるってのはどうなんすかね。

2015年08月02日

■_

先月発売の歴史群像で知って、欲しい(読みたい)んだけど値段がー Amazon.co.jp: 新史料による日露戦争陸戦史 覆される通説: 長南 政義: 本

上野恩賜公園の「恩賜」をちゃんと読めないおねーちゃんに上野で遭遇。

お、なんだこの面白そうな本は。

■_

■_

String interning - Trie vs Hash Table Deathmatch! : programming Trie vs Hash Table Deathmatch!

  Consider measuring again with the add function written like this:
  uint add(Intern_pool* pool, std::string s)
  {
      auto& map = pool->map;
      auto i = map.find(s);
      if (i != std::end(map))
          return i->second;
      map.emplace(std::move(s), ++pool->next);
      return pool->next;
  }
  

ぱっと見で、こう書くとどういう動作するんだっけと 一瞬固まる箇所が幾つか。

■_

http://wryun.github.io/es-shell/

Es is an extensible shell. The language was derived from the Plan 9 shell, rc, and was influenced by functional programming languages, such as Scheme, and the Tcl embeddable programming language.

  Want to know more? Check out:
    Haahr & Rakitzis's paper Es: a shell with higher-order functions
       http://wryun.github.io/es-shell/paper.html
       https://github.com/downloads/wryun/es-shell/paper.pdf
    the manual page
       http://wryun.github.io/es-shell/manpage.html
       http://github.com/downloads/wryun/es-shell/manpage.pdf

2015年08月01日

■_

近くにある図書館の話。 テーブル一つ当たり6人掛けになってるんだけど、 片側三人座ると窮屈だし 真ん中はよく物を置く場所にされているので 4人掛けにしちゃった方が良いような気がしないでもない。

■_

■_

7 cardinal sins of embedded software development | EDN
  Sin #1 Not tracking metrics
  Sin #2 Hacking instead of designing
  Sin #3 Starting from scratch
  Sin #4 Improper tools for the job
  Sin #5 Lack of continuing education
  Sin #6 Working too many hours
  Sin #7 Failing to follow best practices

■_

duangle / None - Bitbucket None (a backronym for None's Only Nested Expressions or None Obsoletes Nearly Everything) is a young, powerful, convenient and performant programming language designed for writing games and game engines.
  The Best Programming Language is None : programming
  http://www.reddit.com/r/programming/comments/3dtkcl/the_best_programming_language_is_none/
    Nice language. Horrible name. I completely misread the title.

■_

Programming Languages - Progopedia - Encyclopedia of Programming Languages Progopedia is a free (GNU Free Documentation License) web-based encyclopedia of programming languages.


一つ前へ 2015年7月(下旬)
一つ後へ 2015年8月(中旬)

ホームへ


リンクはご自由にどうぞ

メールの宛先はこちらkbk AT kt DOT rim DOT or DOT jp