ガベージコレクションの機能を備えるJavaScriptのような言語で開発されたアプリケーションでは、基本的にメモリリークは生じないはずですが、それでも回収されないメモリ領域がどんどん増えていくというメモリリーク的な状況は起こりえます。 leak-finder-for-javascript - Tool for finding memory leaks in JavaScript programs. - Google Project Hosting メモリリークは最終的にはそのソフトウェアの動作を遅くしたり不安定にしますが、短期的には問題なく動作しているように見え、単純なテストでは症状が表れにくいため、発見は難しいものです。 グーグルはこうしたJavaScriptのメモリリークを検出してくれるツール「Leak Finder」を公開したことを、ブログ「Leak Finder: a new to
重要なことだから最初に伝えておくと、PHP5.3からは日付や時間の計算にUNIXTIMEなんて使わないでね。 2038年問題とかパッとみて、「これ何日間なの?」とか計算するのは、さよならしましょう。 手元にPHP5.3環境がある人は、インタラクティブモードを利用して実践しながら読むことをおすすめします。 さぁ、コンソールをひらいて、下記のコマンドを実行しましょう。 $ php -a DateTimeオブジェクト PHP5.3から導入された新機能として、日付に関するオブジェクトが増えました。 それが、DateTimeオブジェクトです。 $now = new DateTime(); echo $now->format("Y-m-d H:i:s") . PHP_EOL; 2010-12-28 23:00:20+09:00 昨日、明日、来週、来月はこんな感じ。 $yesterday = new D
昨日、当ブログ「Hinemosu」のデータベース情報が破損し、一時的に繋がりにくい状態になっていました。 なんとか復旧することが出来たので、流れをメモっておこうと思います。 サーバ環境など さくらのVPS 2GBにnginx + fast-cgi on Ubuntuで環境を構築。 WordPress 3.4.1-ja、自作テーマ、MySQL 5.1.63-0ubuntu0.10.04.1を使用。データベースはWordPress専用で、35MBほど使ってます。 使っているプラグインを羅列すると"Akismet"、"Disqus Comment System"、"Google XML Sitemaps"、"Jetpack by WordPress.com"、"MO Cache"、"Portable phpMyAdmin"、"Secure WordPress"、"Simple Login Loc
At the end of June, I wrote about how we're working to deliver a consistent Twitter experience, and how we would soon introduce stricter guidelines about how the Twitter API is used. I'd like to give you more information about coming changes to the API and the migration plan while offering insights into today's Twitter ecosystem and why we're making these changes. In the coming weeks we will relea
Gather ye monsters, ye wily web wobsters. Drop your iPhoneries, throw on clean clotheries. Come join the tribe, revel, rock and imbibe. Where Chopin wrote etudes, we'll be fueling bright moods. Swing on by and share a hehe, or go radioactive like Madame Curie. Strap some soles to your blistery feets, dance and debauch to some warsawy beats. We're rockin' the flux like Marty McFly, save
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く