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を作ることで回避できます。
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ページを開く