Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

2016-06-24 How do I profile my program to determine where it is slow? This is one of the first questions any developer asks after building a non-toy program. Crystal has a reputation for being quite fast but every language has tricks and optimizations we miss. Since Crystal uses the LLVM compiler suite, we can reuse a lot of the infrastructure which knows about LLVM-compiled binaries. Net result:
editor’s note (August 4, 2023): New versions of MacOS and homebrew means the information in this article is no longer current. If you are on a version of MacOS Ventura or later, see this post for further information. If your version of MacOS is pre-Ventura…read on! I love Homebrew, but sometimes it really gets me down, you know? Especially when I have to deal with launchctl. launchctl loads and un
以下のコードはMac OS X上だと上手く動きますが、Linux上だと Errno::EIO: Input/output error @ io_fillbuf というエラーが起きます。 require 'pty' PTY.spawn("ls") do |r,w,pid| until r.eof? do puts r.readline end end どうやら、読み込んだ際にBSDだとnilになりますが、GNU/LinuxだとErrno::EIOが発生する仕様らしいです。 Ruby on Linux PTY goes away without EOF, raises Errno::EIO にあるように、resqueするSafePtyを作ることで回避できます。
こんにちは、最近はシングルページアプリケーションを勉強中の平野です。 Ruby on Rails 初心者向けに、Mac OS X 10.9.2 Marverick 環境での、WEBサーバー(Nginx)の構築、および、Railsアプリケーションとの連携手順をまとめました。 ※本記事は、ベンチマークを取る目的で調べた内容です。もしも記述内容に誤りがありましたら、お気軽にご指摘ください。 INDEX 動作環境 STEP.1 Nginxの環境構築 1-1. インストールと基本コマンド 1-2. 80番ポートで接続する 1-3. ドキュメントルートを変更する 1-4. エラーページを表示する 1-5. ログを出力する 1-6. 文字コードを変更する 1-7. リダイレクトさせる 1-8. gzip圧縮を有効にする 1-9. バーチャルホストの設定 1-10. ベーシック認証の設定 1-11. HT
Manage Properties Stress-Free Manage, grow, and scale your property portfolio without the hassle. Boost efficiency, improve tenant relationships, and get paid on time, every time. Request a Demo Finally, A Property Management Tool That Works for You Simplify tasks, save time, and provide a 5-star tenant experience with our easy-to-use platform. Whether managing one property or many, our system str
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く