タグ

2015年2月15日のブックマーク (4件)

  • C言語の開発者によるgoto文の使い方を対象とした実証研究の結果、「goto文は無害だと考えられる」 | スラド デベロッパー

    Edsger Dijkstra氏がgoto文の危険性を主張したのは1968年。それから50年近く経過した現在もgoto文は使われ続けているが、Dijkstra氏が懸念したようなgoto文の無制限な使用が行われているのかどうかという点や、それがバグの原因となるような有害なものなのかどうかといった点については、よくわかっていなかったという。こういった点に関する実証研究が家/.で紹介されている。 家/.「Empirical Study On How C Devs Use Goto In Practice Says "Not Harmful"」より 200万近いC言語のファイルと1万1千件を超えるプロジェクトからランダムに抽出した統計的に有効なサンプルを質的および量的に分析したところ、開発者はほとんどの場合gotoの使用を適切に制限しており、Dijkstra氏が懸念したような無制限な使用は行わ

    Jxck
    Jxck 2015/02/15
    「無害な使い方に抑えてる」から無害ってことじゃないのか?そういう無害な goto なら、使わなくても書けるというのが「構造化プログラミング」の成果で、結局無いのが一番無害だという結論は変わらなそうな気がする。
  • 着色でレゴブロックをパーツに切り分けたストップモーションアニメ「Paint. A Short Lego Film」

    TOP  >  Creative  >  着色でレゴブロックをパーツに切り分けたストップモーションアニメ「Paint. A Short Lego Film」 子供用の玩具として世界中で親しまれているレゴブロック。時に大人の世界ではアートのテーマとして取り入れられることが多くなっています。そんな中今回紹介するのは、着色でレゴブロックをパーツに切り分けたストップモーションアニメ「Paint. A Short Lego Film」です。 Jon Rolph氏手がける、数個のレゴブロックを組み合わせているかとおもいきや、なんと1枚のレゴブロックにペイントすることでブロックパーツを表現するという手法が取られています。まずはアニメーション作品を以下よりご覧ください。 ムービーは以下より 1枚の手のひらサイズのレゴが新聞紙の上に置かれ、右にはパレットらしきものが。パレットに絵の具が配置されるかとおもいき

    着色でレゴブロックをパーツに切り分けたストップモーションアニメ「Paint. A Short Lego Film」
    Jxck
    Jxck 2015/02/15
    面白い
  • What happened to Web Intents?

    I get a huge number of questions from web developers wanting to know exactly what happened to the Web Intents. This is my recollection. I don't feel bitter; I am just disappointed. It was my first big project failure and at the time it hurt when it got canned. About 6 months ago I sent an email to the DAP — the working group that was one of the hosts of the Web Intents task force — that I think sh

    Jxck
    Jxck 2015/02/15
    思えば WebIntents も高レベル API 標準化の失敗例の一つと言えたかもしれない。 ServiceWorker 起点に、もう一度モデル化したら、何かしら実りそうな気はする。
  • Decrypting TLS Browser Traffic With Wireshark – The Easy Way! | Jim Shaver

    UPDATE:I’m in the process of migrating my most popular articles and writing some new posts over at redflagsecurity.net. See the latest version of this post at this link. Intro Most IT people are somewhat familiar with Wireshark.  It is a traffic analyzer, that helps you learn how networking works, diagnose problems and much more. One of the problems with the way Wireshark works is that it can’t ea

    Decrypting TLS Browser Traffic With Wireshark – The Easy Way! | Jim Shaver