はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    猛暑に注意を

『blog.honeybadger.io』

  • 人気
  • 新着
  • すべて
  • Unicode Normalization in Ruby

    5 users

    blog.honeybadger.io

    I recently published an article in which I tested most of Ruby's string methods with certain Unicode characters to see if they would behave unexpectedly. Many of them did. One criticism that a few people had of the article was that I was using unnormalized strings for testing. Frankly, I was a bit fuzzy on Unicode normalization. I suspect that many Rubyists are. Using normalization, you can take m

    • テクノロジー
    • 2017/03/10 02:58
    • Unicode
    • Ruby
    • Testing Ruby's Unicode Support

      4 users

      blog.honeybadger.io

      Among the new features shipped with Ruby 2.4 is improved Unicode support. Specifically, methods like upcase and downcase work as expected, turning "ä" to "Ä" and back. This made me curious: what other Unicode improvements have been made since 2013 when I read André Arko's blog post Strings in Ruby are UTF-8 now… right?? I tested all of Ruby's string methods, not looking for technical errors but

      • テクノロジー
      • 2017/02/17 09:07
      • Ruby
      • Simple tips to make scaling your database easier as you grow

        3 users

        blog.honeybadger.io

        Simple tips to make scaling your database easier as you grow By Starr Horne on Feb 6, 2017 When you're working on a young project you're constantly making decisions that will make it either easier or harder to scale later. Sometimes it's good to pick the short-term gain, to accrue a bit of technical debt so you can ship faster. But other times we pick up technical debt because we didn't know there

        • テクノロジー
        • 2017/02/10 16:38
        • rails
        • あとで読む
        • Introducing our Sidekiq cluster script

          4 users

          blog.honeybadger.io

          Introducing our Sidekiq cluster script By Benjamin Curtis on Feb 8, 2017 At Honeybadger we depend heavily on Sidekiq in our processing pipeline. Nearly everything we do runs through a queue at some point. As a result, I want to make sure we are running Sidekiq well. With our recent move to EC2, we changed from having a stable set of long-lived servers to an ever-changing set of instances running o

          • テクノロジー
          • 2017/02/09 14:07
          • Common Rails idioms that kill database performance

            7 users

            blog.honeybadger.io

            Common Rails idioms that kill database performance By Starr Horne on Jan 3, 2017 I remember the first time I saw rails' ActiveRecord. It was a revelation. This was back in 2005 and I was hand-coding SQL queries for a PHP app. Suddenly, using the database went from being a tedious chore, to being easy and - dare I say - fun. ...then I started to notice the performance issues. ActiveRecord itself wa

            • テクノロジー
            • 2017/01/05 09:29
            • rails
            • performance
            • DB
            • Remote debugging with Byebug, Rails and Pow

              10 users

              blog.honeybadger.io

              Remote debugging with Byebug, Rails and Pow By Starr Horne on Jul 15, 2015 If you haven't seen byebug before, I recommend that you check it out. It's a great debugger for Ruby 2.x. In the words of its authors: Byebug is a simple to use, feature rich debugger for Ruby 2. It uses the new TracePoint API for execution control and the new Debug Inspector API for call stack navigation, so it doesn't dep

              • テクノロジー
              • 2016/03/08 22:54
              • Rails
              • Ruby
              • あとで読む
              • Level up your command-line-fu with Ruby

                4 users

                blog.honeybadger.io

                Level up your command-line-fu with Ruby By Starr Horne on Dec 8, 2015 To really master the command line you have to master dozens — if not hundreds — of small utility programs. Each of these does things slightly differently. It can be pretty overwhelming. Fortunately, it's possible to replace a lot of these single-purpose tools with a general-purpose programming language like Ruby. That way you ca

                • テクノロジー
                • 2015/12/11 11:33
                • あとで読む
                • Spying on running Ruby processes

                  4 users

                  blog.honeybadger.io

                  Spying on running Ruby processes By Starr Horne on Nov 17, 2015 Did you know that it's possible to log all method calls as they occur in a running process in real time? How about injecting code to be executed inside of a running process? You can – via the magic of the rbtrace gem. The rbtrace gem comes with two parts. The first is a library that you include in the code that you want to trace. The

                  • テクノロジー
                  • 2015/11/20 00:29
                  • ruby
                  • When to use freeze and frozen? in Ruby

                    8 users

                    blog.honeybadger.io

                    When to use freeze and frozen? in Ruby By Starr Horne on Sep 2, 2015 These days it's pretty common to see #freeze used in Ruby code. But it's often not entirely clear WHY freeze is being used. In this post we'll look at the most common reasons a developer might freeze variables. To illustrate each reason, I've excerpted example code from the Rails codebase and other popular open-source projects. C

                    • テクノロジー
                    • 2015/09/13 00:06
                    • ruby
                    • programming
                    • Rails
                    • How to exit a Ruby program

                      5 users

                      blog.honeybadger.io

                      As developers, we spend so much time on making our programs run that it's easy to overlook how they exit. And it's important! When your programs behave correctly on exit, it makes them a lot easier to manage and makes them more likely to work with standard devops tools. There are a lot of ways that you can exit a Ruby program. I've shown some of them below. In this post we'll discuss the details o

                      • テクノロジー
                      • 2015/09/04 05:53
                      • ruby
                      • あとで読む
                      • Using lazy enumerators to work with large files in Ruby

                        8 users

                        blog.honeybadger.io

                        Using lazy enumerators to work with large files in Ruby By Starr Horne on Aug 10, 2015 Enumerators are at the heart of what makes Ruby such a powerful, dynamic language. And lazy enumerators take this a step further by allowing you to efficiently work with extremely large collections. Files - it turns out - are just large collections of lines or characters. So lazy enumerators make it possible to

                        • テクノロジー
                        • 2015/08/17 17:14
                        • Ruby
                        • あとで読む
                        • How unicorn talks to nginx - an introduction to unix sockets in Ruby

                          61 users

                          blog.honeybadger.io

                          How unicorn talks to nginx - an introduction to unix sockets in Ruby By Starr Horne on Jul 14, 2015 Ruby application servers are typically used together with a web server like nginx. When user requests a page from your Rails app, nginx delegates the request to the application server. But how exactly does that work? How does nginx talk with unicorn? One of the most efficient options is to use unix

                          • テクノロジー
                          • 2015/07/18 20:39
                          • unicorn
                          • nginx
                          • ruby
                          • socket
                          • rails
                          • unix
                          • あとで読む
                          • Ruby's case statement - advanced techniques

                            4 users

                            blog.honeybadger.io

                            Ruby's case statement - advanced techniques By Starr Horne on Jul 15, 2015 Nothing could be simpler and more boring than the case statement. It's a holdover from C. You use it to replace a bunch of ifs. Case closed. Or is it? Actually, case statements in Ruby are a lot richer and more complex than you might imagine. Let's take a look at just one example: case "Hi there" when String puts "case stat

                            • テクノロジー
                            • 2015/07/17 09:06
                            • ruby
                            • Advanced Ruby Hash techniques

                              3 users

                              blog.honeybadger.io

                              When you use something as much as Ruby developers use Hashes, it's easy to think you've seen it all. But I'm here to tell you that the humble ruby Hash has a few tricks up its sleeve. Far from being a dumb key-value system, the Hash object gives you the power to do some very interesting and sophisticated things. Any object can be a hash key Before we go any farther I'd like to point out one thing

                              • テクノロジー
                              • 2015/07/01 21:39
                              • Ruby
                              • Using Lambdas in Ruby

                                4 users

                                blog.honeybadger.io

                                Blocks are such an important part of Ruby, it's hard to imagine the language without them. But lambdas? Who loves lambdas? You could go years without using one. They almost seem like a relic from a bygone age. ...But that's not quite true. Lambdas have some interesting tricks up their sleeves once you investigate them a little. In this article we'll start with the basics of lambda usage, and then

                                • テクノロジー
                                • 2015/06/18 22:30
                                • lambda
                                • Ruby
                                • The Rubyist's guide to environment variables

                                  7 users

                                  blog.honeybadger.io

                                  The Rubyist's guide to environment variables By Starr Horne on Jun 9, 2015 If you want to be able to effectively manage web apps in development and in production, you have to understand environment variables. This wasn't always the case. Just a few years ago, hardly anyone was configuring their Rails apps with environment variables. But then Heroku happened. Heroku introduced developers to the 12-

                                  • テクノロジー
                                  • 2015/06/12 04:33
                                  • ruby
                                  • *あとで読む

                                  このページはまだ
                                  ブックマークされていません

                                  このページを最初にブックマークしてみませんか?

                                  『blog.honeybadger.io』の新着エントリーを見る

                                  キーボードショートカット一覧

                                  j次のブックマーク

                                  k前のブックマーク

                                  lあとで読む

                                  eコメント一覧を開く

                                  oページを開く

                                  はてなブックマーク

                                  • 総合
                                  • 一般
                                  • 世の中
                                  • 政治と経済
                                  • 暮らし
                                  • 学び
                                  • テクノロジー
                                  • エンタメ
                                  • アニメとゲーム
                                  • おもしろ
                                  • アプリ・拡張機能
                                  • 開発ブログ
                                  • ヘルプ
                                  • お問い合わせ
                                  • ガイドライン
                                  • 利用規約
                                  • プライバシーポリシー
                                  • 利用者情報の外部送信について
                                  • ガイドライン
                                  • 利用規約
                                  • プライバシーポリシー
                                  • 利用者情報の外部送信について

                                  公式Twitter

                                  • 公式アカウント
                                  • ホットエントリー

                                  はてなのサービス

                                  • はてなブログ
                                  • はてなブログPro
                                  • 人力検索はてな
                                  • はてなブログ タグ
                                  • はてなニュース
                                  • ソレドコ
                                  • App Storeからダウンロード
                                  • Google Playで手に入れよう
                                  Copyright © 2005-2025 Hatena. All Rights Reserved.
                                  設定を変更しましたx