hasen's tech life

Twitter: @hasen

PHP

Bookmark (2015-11-29)

・PHP BLT#1でLTしてきました http://blog.nomadscafe.jp/2015/11/php-blt1lt.html ・Pythonの肩に乗る http://www.slideshare.net/atsuoishimoto/python-55595863

Bookmark (2015-11-27)

・Zend Framework 3 Update and Roadmap http://framework.zend.com/blog/zend-framework-3-update-and-roadmap.html ・Graylog ではじめるログ管理 http://techlife.cookpad.com/entry/2015/11/25/190133 ・Chainerの各層をビジュアル化する便利関数書いたよ…

Bookmark (2015-11-26)

・PHP 7正式版は、大きな問題がなければ来週12月3日登場予定。PHP 7RC8が公開 http://www.publickey1.jp/blog/15/php_7123php_7rc8.html ・実践イカパケット解析 http://www.slideshare.net/mzyy94/packetoon

Laravel v5.1.24でTwigを使うために,パッケージを追加した.

# Laravel v5.1.24でTwigを使うために,パッケージを追加した. # 参考: Getting rcrowe/twigbridge to work in Laravel 5# 参考: rcrowe/TwigBridge # Composer$ composer require rcrowe/twigbridge 0.8.2 # Laravel$ vi config/app.php # Twig$ vi resour…

Bookmark (2015-11-24)

・Elixirでプロセス5000万くらい作ってみた http://qiita.com/shibacow/items/dd39fc2d904eed5a4600 ・WordPressの新時代を告げるCalypsoプロジェクト http://lifehacking.jp/2015/11/wordpress-calypso ・第六回闇PHP勉強会の発表資料まとめ http://d.haten…

Bookmark (2015-11-13)

・Node.js×mongo dbで3年間サービス運用してみた話 http://www.slideshare.net/leverages_event/nodejsmongo-db3 ・CentOS に StrongLoop をインストールする http://dotnsf.blog.jp/archives/1044734593.html ・php.netのひみつ(1) 短縮URL http://cho-phpe…

Bookmark (2015-11-09)

・「そんなself-updateで大丈夫か?」 Composer編 http://techlog.voyagegroup.com/entry/2015/11/09/152229 ・Swift2で作るコマンドラインツール http://techlife.cookpad.com/entry/2015/11/09/150248 ・リンク先が訪問済みかどうかのCSSによる表示 https:…

Bookmark (2015-11-08)

・Let's Encrypt を支える ACME プロトコル http://jxck.hatenablog.com/entry/letsencrypt-acme ・Snidel 0.2 をリリースしました http://ackintosh.github.io/blog/2015/11/08/snidel_0_2_0/ ・Unicodeでのジェンダー記号 http://id.fnshr.info/2015/11/08…

Bookmark (2015-10-30)

・既存アプリをPHP7へ移行する前にするべき6つのこと http://blog.a-way-out.net/blog/2015/10/30/migration-to-php7/ ・React入れたらCasperJSのE2Eテスト壊れたのでPhantomJS2入れたらPhantomJSのユニットテスト壊れたのでwebdriverioでE2Eテスト書き直し…

Bookmark (2015-10-28)

・PHP, Security & PSR-9/PSR-10 http://blog.phpdeveloper.org/2015/05/22/php-security-psr-9psr-10/ ・Googleの新しいアルゴリズム、RankBrainの全容。 http://www.seojapan.com/blog/faq-all-about-the-new-google-rankbrain-algorithm

Bookmark (2015-10-26)

・VirtualBoxのファイルシステムを10倍速くする ~ page cache編 ~ http://dsas.blog.klab.org/archives/52231356.html ・What’s new in Ubuntu 15.10: cloud and server? https://insights.ubuntu.com/2015/10/22/whats-new-in-ubuntu-15-10-cloud-and-ser…

Bookmark (2015-10-24)

・HTTP/2における証明書に基づいたリアクティブなクライアント認証 http://d.hatena.ne.jp/ASnoKaze/20151023/1445614131 ・perl6なので6種類の記号だけでプログラムを書く http://d.hatena.ne.jp/sugyan/20151023/1445604646 ・bobthecow/Ruler https://git…

Bookmark (2015-10-23)

・Q. なぜ’x’ in (‘x’,)が’x’ == ‘x’より速い? http://goo.gl/iSdquw ・zend-expressiveに見るPSR-7時代のPHPフレームワーク http://blog.a-way-out.net/blog/2015/10/23/zend-expressive/ ・Floating IPs: Start Architecting Your Applications for High …

Bookmark (2015-10-18)

・PHPのビルドにはgcc最適化オプションをつける http://t-cyrill.hatenablog.jp/entry/2015/10/17/230806 ・WEB系各社で使われている監視ツールまとめ http://mikeda.hatenablog.com/entry/2015/10/17/134805

Bookmark (2015-10-16)

・Python(1) PyCallGraphを利用したコードプロファイリングの可視化 http://justdoit.hatenablog.jp/entry/2015/09/06/185624 ・MacOSX上のPHP 7.0.0RC5+OPcacheでエラーが出る件の対策 http://d.hatena.ne.jp/hnw/20151016 ・nginx で omniauth を利用して…

composer installで,"Your requirements could not be resolved to an installable set of packages."というエラーが出たので対応.

# composer installで,"Your requirements could not be resolved to an installable set of packages."というエラーが出たので対応. # error $ composer install > Your requirements could not be resolved to an installable set of packages. > Proble…

Bookmark (2015-10-13)

・PostgreSQL 9.5 の行セキュリティポリシー http://sios-oss.blogspot.jp/2015/10/postgresql-95.html ・CPython の GC チューニング http://goo.gl/1hTGGj ・scryptがGPUに破られる時 https://blog.visvirial.com/articles/519 ・2大OSSデータベースのMySQ…

composer updateで"Trait 'Illuminate\Support\Traits\MacroableTrait' not found"というエラーが出たので対応.

# composer updateで"Trait 'Illuminate\Support\Traits\MacroableTrait' not found"というエラーが出たので対応. # version $ php artisan --version > Laravel Framework version 4.1.31 # error $ composer update > [RuntimeException] > Error Output:…

Laravel v4.1.31で"Class 'Path\To\Models\Eloquent' not found"というエラーが出たので対応.

# Laravel v4.1.31で"Class 'Path\To\Models\Eloquent' not found"というエラーが出たので対応. # Eloquentのuse忘れが原因. $ php artisan --version> Laravel Framework version 4.1.31 $ vi Path/To/ModelName.php

Bookmark (2015-10-11)

・Let's start Perl6 with Crust! http://ks0608.hatenablog.com/entry/2015/10/11/001603 ・Dockerでダイナミックルーティング! http://kurochan-note.hatenablog.jp/entry/2015/10/11/110649 ・JSONで疲弊したら試したい、アプリのデータをSQLiteで受け渡…

Bookmark (2015-10-08)

・Node.js v4 の話 https://speakerdeck.com/yosuke_furukawa/node-dot-js-v4-falsehua-number-tng18 ・爆速モバイルWeb、AMPの仕組み抄訳 http://goo.gl/8Z85Sr ・PHPの拡張ライブラリ「Hoa」 http://programmer-jobs.blogspot.jp/2015/10/hoa-modular-exte…

Bookmark (2015-10-05)

・Hack言語に賭けたチームの話 http://www.slideshare.net/yujiotani16/hack-53487378/1 ・Hashicorp Ottoを読む http://deeeet.com/writing/2015/10/04/otto/ ・第三次ブラウザ戦争がそろそろ閉幕します http://uupaa.hatenablog.com/entry/2015/10/04/1729…

Bookmark (2015-10-03)

・Speeding up the Web with PHP 7 http://talks.php.net/tokyo15#/ ・PHP Conference 2015 / How to Build Efficient and Integrated Development Environment for The Team https://speakerdeck.com/sotarok/how-to-build-efficient-and-integrated-develo…

Bookmark (2015-09-29)

・ISUCON5 予選問題 参照実装ならびにベンチマーク等の公開 http://isucon.net/archives/45544940.html ・HashiCorpの新プロダクトNomadとOttoを触ってみた http://dev.classmethod.jp/tool/nomad-otto-ataglance/ ・ロードバランサーを使って1000Req/secを…

Laravel Sparkを試した.

# Laravel Sparkを試した. # まだalpha版なのだけれど,ビジネス向けのSaaSらしい.# 参考: Introducing Laravel Spark: A Deep Dive # テストディレクトリ $ composer create-project "laravel/laravel" --prefer-dist ./app $ cd app # データベース$ vi …

composer installで"the requested PHP extension intl is missing from your system."というエラーが出たので対応した.

# composer installで"the requested PHP extension intl is missing from your system."というエラーが出たので対応した. # HomebrewでPHP7を入れている人向け. # error $ composer install > Loading composer repositories with package information > …

HomebrewでPHP7を入れた.

# HomebrewでPHP7を入れた. # 今のところ,まだRC3. $ brew install php70 $ php -v > PHP 7.0.0RC3 (cli) (built: Sep 22 2015 10:26:28) > Copyright (c) 1997-2015 The PHP Group > Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies

Homebrewでxhprofを入れる時に,"Error: Formulae found in multiple taps"というエラーが出たので対応.

# Homebrewでxhprofを入れる時に,"Error: Formulae found in multiple taps"というエラーが出たので対応. # josegonzalez/phpからhomebrew/phpに切り替えた. # また,xhprofを入れる時には'--build-from-source'オプションが必要. # error$ brew install…

Homebrewで入れたPHPでxhprof.soのエラーが出たので対応.

# Homebrewで入れたPHPでxhprof.soのエラーが出たので対応. # error $ php -v > Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php56/5.6.12/lib/php/extensions/no-debug-non-zts-20131226/xhprof.so' - dlopen(/usr/local/Ce…

brewでPHP v5.6が入らなかったので対応した.

# brewでPHP v5.6が入らなかったので対応した. # 最終的にオプションを3つ付けた. # error $ brew install josegonzalez/php/php56 > "_TLSv1_2_server_method", referenced from: > _php_openssl_setup_crypto in xp_ssl.old: symbol(s) not found for ar…