A JavaScript pattern and antipattern collection that covers function patterns, jQuery patterns, jQuery plugin patterns, design patterns, general patterns, literals and constructor patterns, object creation patterns, code reuse patterns, DOM and browser patterns (upcoming). Patterns collected while developing 喜感网. General Patterns Function Declarations - creating anonymous functions and assigning t
In Swing, the password field has a getPassword() (returns char[]) method instead of the usual getText() (returns String) method. Similarly, I have come across a suggestion not to use String to handle passwords. Why does String pose a threat to security when it comes to passwords? It feels inconvenient to use char[].
Sign Into Your Google Account on Public Computers Without Typing Anything If you ever want to log into your Google account when you're at a public computer, where you're unsure whether or not there's a keylogger installed, there's now a simple solution. And it's from Google! First, point the (insecure) computer's browser at accounts.google.com/sesame. Now pull out your Android, iPhone, or other sm
Dropwizard Dropwizard is a sneaky way of making fast Java or Scala web services. It's a little bit of opinionated glue code which bangs together a set of libraries which have historically not sucked: Jetty for HTTP servin'. Jersey for REST modelin'. Jackson for JSON parsin' and generatin'. Log4j for loggin'. Hibernate Validator for validatin'. Metrics for figurin' out what your service is doing in
The topic of coroutines (or fibers, or continuations) for JavaScript comes up from time to time, so I figured I’d write down my thoughts on the matter. I admit to having a soft spot for crazy control-flow features like continuations, but they’re unlikely ever to make it into ECMAScript. With good reason. The big justification for coroutines in JavaScript is non-blocking I/O. As we all know, asynch
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く