タグ

2014年5月23日のブックマーク (5件)

  • Reusing require.js modules in Node.js - arqex

    Using the same code in the browser and in the server is something that every developer dream of. The solution of that problem is known as the Holy Grail of javascript and there are different approaches to trying to get it. Probably we will be much closer to find the Grail when ECMAScript 6 modules are supported by every browser, but until that day, people try to find their ways to reuse as much as

  • Loading...

    We have a job setup to build pull request branches based on a naming convention on the branches. The branch specifier is /pr/. We have 'Execute concurrent builds if necessary' turned on for this job and sometimes Jenkins will kick off 4-5 builds for the same branch at the same time and fill up the executors. I've tried adding a quiet period but that didn't seem to help.

    teppeis
    teppeis 2014/05/23
    Jenkinsで並列実行すると同じgitリビジョンを重複してビルドしちゃうバグ。Groovyをsystemコンテキストで走らせて無理矢理対応する方法がコメントに。
  • parallel と concurrent、並列と並行の違い - 本当は怖いHPC

    2017/01/10 誤字脱字を修正しました 2016/11/07 内容を修正しました 2010/09/17 文章を修正しました 一般的に、parallelは並列、concurrentは並行と訳されます。検索してもずばり書かれた物がなかったので、僕なりの理解を書いてみます。 (注:言葉の定義の問題なので、複数の流儀があり得ます。端的に言えば、いわゆるCPUSIMD命令を「並行」と見なすかどうかに違いが現れます) 参考リンク: http://d.hatena.ne.jp/NyaRuRu/20060129/p2 http://d.hatena.ne.jp/muimy/20070322/1174526368 一番妥当(だと思う)定義 一言で言えば、 Concurrent(並行)は「複数の動作が、論理的に、順不同もしくは同時に起こりうる」こと Parallel(並列)は、「複数の動作が、物理的に

    parallel と concurrent、並列と並行の違い - 本当は怖いHPC
    teppeis
    teppeis 2014/05/23
    いつもどっちがどっちか忘れる。
  • ServiceWorker解説 – オフラインWebアプリケーション開発技術の最前線

    ServiceWorker解説 – オフラインWebアプリケーション開発技術の最前線 岩瀬 義昌(HTML5 Experts.jp編集部) 今月上旬5月8日に、W3CよりServiceWorkerの草案初版が提示されました。ServiceWorkerは、オフラインWebアプリケーションの開発者が問題と考える点を解決する、非常に魅力的な仕様です。日語の情報がほとんどないこのタイミングで、HTML5 Expert.jp編集部が解説いたします! ServiceWorkerとは ServiceWorkerは、リソースの永続的なキャッシュを可能にする、およびWebアプリケーションのリソース要求の処理を可能にする新しい機能です。Webページを開く前であっても(ネットワークの接続/切断の有無にかかわらず)、独自の処理を挟み込めるのがポイントです。クライアント側に、一種のプロキシサーバがあるようにイメー

    ServiceWorker解説 – オフラインWebアプリケーション開発技術の最前線
    teppeis
    teppeis 2014/05/23
    「ServiceWorkerはセキュリティの都合上、HTTPSが必須」「ブラウザ自体が持つキャッシュ機構よりも先に動作」「DOM操作はServiceWorkerでは利用できません」「長くとも24時間ごとにブラウザが更新を確認」
  • Chromium