タグ

2012年3月9日のブックマーク (9件)

  • Geolocation APIの検出コードがIE9でメモリリークを起こすらしい - fragmentary

    「IE9でメモリリークするよ。でもカスタムビルドじゃ起こらないよ」というModernizrのissueから分かったもの。 カスタムビルドというのは、検出したい機能のコードだけを含んだModernizrを作ったりする機能。ふつうのModernizrを使うと全部検出しようとあれこれやっちゃって無駄なので、プロダクション用によい。あと、最近Modernizrはプラグイン形式を導入してて、体にはバンドルしないけどカスタムビルド経由で組み込めるので、それもよい。 題。それでたぶんこの「カスタムビルドでは起こらない」というのが発見につながったんだろう。Geolocation APIの検出コードが原因だったらしい。Paul Irishがまとめてくれている。 in summary this is all that causes the bug: !!navigator.geolocation; So

    Geolocation APIの検出コードがIE9でメモリリークを起こすらしい - fragmentary
    ama-ch
    ama-ch 2012/03/09
  • CSS: The Bad Parts

    Every programming language has its good parts and its ugly parts. CSS (I know, it’s not a programming language, but whatevs) is no different. In this post, I do nothing but vent. I’ve been coding websites for almost 12 years, and I’ve been doing CSS layouts for nearly half that (yeah, I was a late bloomer). I’ve come to realize what is good and bad about CSS, and here are what I consider “the bad

    CSS: The Bad Parts
    ama-ch
    ama-ch 2012/03/09
  • DailyJS: Unix and Node: Pipes and Streams

    An anonymous pipe can be used to connect the standard streams of multiple processes. This example prints out the result of whoami using FIGlet, and also uses tput to colourise the output. Pipes are typically denoted with the vertical bar character. Both the | notation and concept of pipes were created by Doug McIlroy, who was quoted in part one of this series for his “Write programs that do one th

  • 高速で無駄のないソフトウェア開発を実現するための7つのポイント | Social Change!

    どうすれば小規模なチームでも大きな成果を出せるのか。大きな組織で沢山の量をこなすのは当たり前のことで、あまりクールではありません。少ない人数でも大きな成果を出すには、スピードをあげることと、そのためにも無駄をなくすことがポイントになってきます。 ソフトウェアをつくるための3つの役割で書いた通り、ソフトウェア開発をクラウドのようなサービス提供で続けていくには、プロダクトオーナーとプログラマーがキャッチボールのような形で、仕様と実装をずっと繰り返しながら作っていくのが自然です。 SonicGardenで使っているツールと開発の流れの全体は以下のようになります。大事なことは「動くソフトウェア」の状態を保ったまま、どれだけ回転数をあげていけるか、ということです。そのために、プロダクトオーナーとプログラマの間で待ち時間を減らすために並行して進めるようにするなど工夫しています。 ホワイトボードとMVP

    高速で無駄のないソフトウェア開発を実現するための7つのポイント | Social Change!
    ama-ch
    ama-ch 2012/03/09
  • Least – TOKI WOKI.

    Least helps you move from your old-fashioned CSS files to something shiny: CSS pre-processors!

    ama-ch
    ama-ch 2012/03/09
    CSSからLESS/Sass, Stylusに変換
  • Javaのクラス宣言5種+α - プログラマーの脳みそ

    Javaのクラス宣言には5種類ある。 トップレベルクラス・ネストしたクラス・内部クラス・ローカル内部クラス・匿名クラス(無名クラスとも言われる)の5種類だ。 今回はこの5種類のクラス宣言のおさらい。 トップレベルクラス これは普段使っているクラス。拡張子が.javaのファイルを作り、そのファイル名とクラス名を合致させなくてはいけない。そのjavaファイルのトップレベルに位置する。 ネストしたクラス 「ネストしたクラス」(Nested class)とはクラスの中にクラスがネストしている状態。トップレベルクラスの内側にstaticキーワードをつけてクラス宣言を行う。 public class Outer { public static class Nested { } } このネストしたクラスは、トップレベルクラスと同等の機能性を持つ。 クラス名はOuter.Nestedという名前で扱われるが

    Javaのクラス宣言5種+α - プログラマーの脳みそ
    ama-ch
    ama-ch 2012/03/09
  • GitHub - Jxck/socket.io-spec: Specification for the Socket.IO Protocol

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    GitHub - Jxck/socket.io-spec: Specification for the Socket.IO Protocol
  • JIRA+Github+Jenkinsによるチケット駆動開発 | 工房「伽藍の堂」

    JIRAとGithubとJenkinsを組み合わせてチケット駆動開発をするには、どういう流れで、どういう連携が必要なのか、考えてみました。 流れを図式化したものが以下になります。 手順 図の流れに合わせて手順を説明します。 ①チケットを作成する ソースコードを書き始める理由が何であれ、すべての始まりはチケットになります。あらゆる理由がチケットになり得ます。バグもそうですし、機能改善や機能追加もチケットとして一元的に扱います。 チケットという管理方式を用いることの最大の利点は、あらゆる事象をチケットという単一の概念で扱うで扱う事にあると思います。 何らかの理由でソースコードを書く時は、チケットを作成します。作成されたチケットはOpenという状態になります。 ②チケット名でブランチを作成する チケットに着手するには、チケット名でブランチを作成します。これをトリガーに、JIRA側のステータスを

  • StyleDocco

    StyleDocco generates documentation and style guide documents from your stylesheets. Stylesheet comments will be parsed through Markdown and displayed in a generated HTML document. You can write HTML code prefixed with 4 spaces or between code fences (```) in your comments, and StyleDocco shows a preview with the styles applied, and displays the example HTML code. The previews are rendered in resiz