Here’s a glimpse at what we are listening to right now:
Luke
Rodrigo y Gabriela – 11:11
It is pretty fast guitar flamenco type stuff and I really enjoying designing / coding to it. I’m a fan of no lyrics when working and these guys are perfect for that.
$ sudo yum install mysql-devel mysql-server ==================================================================================================== Package Arch Version Repository Size ==================================================================================================== Installing: mysql-devel x86_64 5.0.77-4.el5_6.6 base 2.5 M mysql-server x86_64 5.0.77-4.el5_6.
「PostgreSQL for WordPress (PG4WP)」を使い、「Wordpress」を PostgreSQL で利用する方法のまとめ。 使用バージョン Wordpress 3.2.1 PG4WP 1.2.2 PostgreSQL 8.3 手順 PostgreSQL上でDB,ユーザを作成しておく。 Wordpressを展開。今回は、ドキュメントルートに展開した。 PG4WPを展開し、pg4wpディレクトリを wp-contentディレクトリに移動。また、pg4wp/db. ...
ひさびさにバレーボールをTV観戦。2011女子のW杯バレーボール、日本対アメリカ戦。高さとパワーで圧倒するアメリカを相手に、サーブで崩して攻撃を単調にさせ、アメリカのブロックを悉くかわした絶妙のコンビバレーで、ストレート勝ち。単調とはいっても、あんだけ高くて肉体的に強い選手ぞろいだから、攻撃のリズムが合わなくなれば高さとパワーで負ける日本はジリ貧必至だっただろうと思う。ナイスゲームでした!お疲れさまでした、日本代表のみなさま!!!
しかしさ、だけどさ、一番の驚きは、セッターが「まだ」竹下さんだってこと。え・・・まだ現役でやってたんだ・・・竹下さん。マジかよ、俺より年上なんだぜ。シドニー五輪の予選敗退でバーンアウトして現役引退されたけれども、足掛け10年以上全日本で代表はっててさ、10年前ならまだしても33歳の今でワールドカップのベストセッター賞に選ばれるってどんだけすごいんだろう。全日本女子バレーといえば、竹下さんしか思いつかない。あとサオリン。サーブでえらい狙われているようだけど、安定してパフォーマンス出してるからすごいわ。
僕はバレーボール経験が無いので素人の解釈になってしまうけれど、セッターに重要な要素は「スピード」だと思う。相手のサーブが放たれたらコートのネット真ん中付近にもぐりこむスピード、その間に誰にトスをどのタイミングで上げるかを決めるスピード、放たれたトスからアタッカーまでに届くスピード。いくら高さとパワーがあっても、ブロックがついていけなければアタッカーが圧倒的に有利になる。相手が右だと思ったところに左に行けば、優位に立てる。
バレーボールはコートがせまいし人数も6人しか(リベロ除く)いないから、高さとパワーで劣る以上は、とにかくクリエイティブな攻撃を生み出す必要があるんだと思うんだ。韓国のキム・ヨンギョンのようなどっからでもスパイクが決められるようなスーパーエースがいればある意味楽なんだろうけど、そういうわけでもない。相手のサーブが来るときは、アタッカーのポジションをその時々でうまく変えながら、レシーバーから竹下大先生にボールが渡るまでにいろんな判断を入れていると思うのよね。その内容はさっぱりわからないけれど。
We build several WordPress sites each month and our clients are always asking what plugins they should be using for their new WordPress site. Depending on the functionality of the site, the need for plugins vary. For example, if the client has a blog or plans to have a place for comments, I will always recommend Disqus over Intense Debate and the default WordPress comment system because I think it functions better overall. I like the interface for Disqus much more then any other comment system and they have an Android app that makes it easy for me to moderate comments on the go.
You have written a node.js module lately? It has a test suite? Awesome! Time
to get yourself a nerd badge of honor:
But hang on nerdy warrior, this precious award has to be earned. So go ahead and
check out the sweetness that is Travis CI. Travis is an open
source, free to use, continuous integration server. Initially it was just
building ruby stuff, but these days it supports a ton of other languages,
including node.js.
And luckily, getting travis to run your tests on every GitHub push is really
easy as well:
Step 1: Go to Travis and login/connect with your GitHub account.
Step 2: Hover over your name on the top right, and select "Profile" from the
dropdown.
今年も年末が近づいてきてAdvent Calendarの呼びかけを見かける様になってきました。昨年は自分もCakePHPとPHPで、Advent Calendar初参加しました。
今年は色々と勉強会を探すついでに、見かけたAdvent Calendarを集めてみたんですが、今年のはなんだか去年より数が増えてる気がします。見逃してるのもあるだろうし、まだ発表されてないのもあると思うので、かなりの数になるんじゃないだろうか。なんか技術系じゃないのも混じってるっぽいけど。
他にも見つけ次第気が向いたら追加していきます。載ってないAdvent Calendarがあったら教えてください。
あと、ATND率高いなー
カーネル/VM Advent Calendar : ATND
Vim Advent Calendar 2011 : ATND
Vagrant 0.8.7 で用意されているプロビジョニングの仕組みは、
の3種類ほど。
chef-solo を使いたかったのだが、Windows 7 ではどうしても失敗してしまう。
(関連:現在の Vagrant の Windows 7 対応状況)
ローカルのディレクトリは、/vagrant でマウントされるので、そこに chef リポジトリを設置しておけば、Shell から chef-solo を呼べるのではないか?と考え試してみた。
以下のファイルを用意。
Vagrantfile
I've done my fair share of working for closed and "open" companies. I've recently (in July 2011) clocked over two years working here at the Cake Development Corporation, and while attending the Open Source Developers Conference (2011) in Canberra, I have had some time to reflect on my experiences with the company, and my feelings regarding my work here.
Traditionally I have found that compa...
Debian squeeze 上で、nginx をフロントサーバとして、プロクシ経由で Jenkins を動作させたい。
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
を参考に、サクッと Jenkins をインストールする。
http://localhost:8080/
にアクセスすると、動作していることが確認できる。
http://localhost:8080/jenkins
と、プレフィックスをつけるように設定(--prefix=/jenkins)を追加した。
/etc/default/jenkins
JENKINS_ARGS="--prefix=/jenkins --webroot=/var/run/jenkins/war
--httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT"
あとは、nginx 側でリバースプロクシの設定をしてやる。
/etc/nginx/sites-available/default
server {
: (省略)
location /jenkins {
proxy_pass http://localhost:8080;
}
: (省略)
}
これで、nginx 経由で
少々高い(スイッチサイエンスで6,495円)がSparkfunの「IMU Digital Combo Board - 6 Degrees of Freedom ITG3200/ADXL345」をArduinoで使うべく、ググるといろいろサンプルが見つかった。 加速度センサのADXL345はすぐ使えたるようになったが、ジャイロセンサのITG-3200の値がどうにも正しく取れずに苦戦していたが、AD0端子がHIGHになるかLOWになるかで、I2Cのアドレスが異なるらしい。上記の製品はGNDに接続されている ...
perlbrewを入れてみたので、一通りの流れをメモしておきます。
With the recent release of PHP 5.4-RC1, I wanted to give it a spin and make sure there weren’t any upcoming issues for CakePHP. I recently saw a great article from Derick Rethans on getting PHP setup from an SVN checkout.
In all domains of our everyday lives, from eating habits to sexual behavior and professional
success, there are fewer and fewer prohibitions, and more and more norms-ideals to follow.
[. . .] In our late capitalist universe, the subject is not guilty when he infringes a prohibition. It
is far more likely that he feels guilty when (or, rather, because) he is not happy – the
command to be happy is perhaps the ultimate superego injunction (Zizek, 2005, p. 225).
A few times in my career, I’ve had the need to test emailing in one form or another. I’ve also had the unfortunate experience of accidentally sending a test email to a real person. As you can imagine, this may cause confusion, embarrassment, lectures, and possibly the death of a small pixie or two. Fortunately, there IS a preventative measure you can take.
When it comes to mail() (as well as many other things), PHP prefers to delegate the heavy lifting to another piece of software: sendmail (or a sendmail compatible command-line mail transport agent). By default, PHP will call your sendmail binary, and pass it the entire message, after composing it from the headers and body supplied by the developer.
Hi all, It has been a long time… As I am moving more and more from backend to frontend stuff and a lot of people/blogs are writing about Cake I thought my blog could be shutdown. If you want to take over the domain or just want to have the admin rights of this blog [...]
I've never been so vain as to think I'll have much impact on the world. I never wanted to be president. I never wanted to be a doctor. I'll almost assuredly never go to war to fight for my freedom and the freedom of others. Way too much responsibility.
Instead, I grew up making virtual things. Apparently, even making physical things was too much. I push bits around as if I'm doing something productive. It's like a reflection of what I see of the grand scheme of things. It's all rather fleeting.
http://vagrantup.com/
とても素晴らしいコンセプトで、手放せなくなりつつある Vagrant。ネタにしてもいまいち反応が薄いのはなぜだろう?とりあえず、思いつくものを列挙。
私が Vagrant という名前を知ったのは去年の今頃で、試し始めたのは半年前からなので、あまり偉そうなことは言えないのだが、一番悩ましいのは、まだちゃんと動いてくれないことw
Linux や MacOS X なら比較的安心して利用できるのだが、Windows での完全な動作は期待しない方がいい。(例えば Windows で vagrant ssh が使えないのは仕様だしw)
バージョンアップで不安定になることもよくある。複数の製品を組み合わせている関係で、Vagrant 側に問題が無くても ruby や gems や VirtualBox の更新で動かなくなったり。あと、Vagrant の開発は、個人による開発なのでどうしても進捗が芳しくない。ruby 製とはいえ、Vagrant はとても複雑だから自分ではなかなかいじれないので、協力者が増えてくれればなぁと思いつつ、たまにバグレポートして、のんびり待つことにしている。
エキスパートPythonプログラミング読書会 第二期 01 : ATNDに行ってきました。補欠で7人目だったので無理かなと思ってたけど、結果としては補欠が全員繰り上がってぴったり30人となりました。実はエキスパートPythonプログラミングをまだ持ってなかったので、慌てて本屋を回って買ったという。
今回は「第1章 さあ、はじめよう」で、Pythonの環境を構築する章だったけど、ちょうど10月頃にPython製のプログラムを使ってみたくて、環境構築をしてみたとこだったのでいい話が聞けました。自分でやった環境構築と聞いた話をあわせて、とりあえず自分なりの環境構築をまとめてみます。
Recent upgrade of Fedora 16 was smooth and silky!
Apache was stuck on the mod_perl issue, however one split of the second of googling found the solution.
You can either download new built rpm for mod_perl from Koji, or comment out loading of mod_perl.so from perl.conf in you Apache config, as described here.