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

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

アプリで開く

はてなブックマーク

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

はてなブックマーク

トップへ戻る

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

    参議院選挙2025

『charles leifer | Home』

  • 人気
  • 新着
  • すべて
  • charles leifer | Nginx: a caching, thumbnailing, reverse proxying image server?

    3 users

    charlesleifer.com

    Nginx: a caching, thumbnailing, reverse proxying image server? February 12, 2016 11:49 / nginx / 9 comments A month or two ago, I decided to remove Varnish from my site and replace it with Nginx's built-in caching system. I was already using Nginx to proxy to my Python sites, so getting rid of Varnish meant one less thing to fiddle with. I spent a few days reading up on how to configure Nginx's ca

    • テクノロジー
    • 2016/02/19 09:14
    • nginx
    • charles leifer | SQLite: Small. Fast. Reliable. Choose any three.

      6 users

      charlesleifer.com

      SQLite: Small. Fast. Reliable. Choose any three. July 14, 2014 12:37 / berkeleydb peewee python sqlite / 10 comments SQLite is a fantastic database and in this post I'd like to explain why I think that, for many scenarios, SQLite is actually a great choice. I hope to also clear up some common misconceptions about SQLite. Concurrency As the maintainer of an ORM, I get asked a lot of questions about

      • テクノロジー
      • 2014/07/15 07:59
      • sqlite
      • database
      • python
      • charles leifer | Using SQLite Full-Text Search with Python

        4 users

        charlesleifer.com

        Using SQLite Full-Text Search with Python May 12, 2014 19:12 / peewee python search sqlite / 0 comments In this post I will show how to use SQLite full-text search with Python (and a lot of help from peewee ORM). We will see how to index content for searching, how to perform searches, and how to order search results using two ranking algorithms. Last week I migrated my site from Postgresql to SQLi

        • テクノロジー
        • 2014/05/16 12:26
        • sqlite
        • search
        • python
        • algorithm
        • charles leifer | Using python and k-means to find the dominant colors in images

          12 users

          charlesleifer.com

          Using python and k-means to find the dominant colors in images October 23, 2012 17:23 / algorithms python / 17 comments I'm working on a little photography website for my Dad and thought it would be neat to extract color information from photographs. I tried a couple of different approaches before finding one that works pretty well. This approach uses k-means clustering to cluster the pixels in gr

          • テクノロジー
          • 2012/10/25 05:01
          • Python
          • charles leifer | Powerful autocomplete with Redis in under 200 lines of Python

            3 users

            charlesleifer.com

            Powerful autocomplete with Redis in under 200 lines of Python July 06, 2012 16:29 / autocomplete python redis / 0 comments Update Redis-completion is now deprecated. The autocomplete functionality, along with a number of other features, have been integrated into a new project walrus. Check out the walrus blog announcement for more details. Original post In this post I'll present how I built a (rea

            • テクノロジー
            • 2012/07/17 13:10
            • charles leifer | Using Redis Pub/Sub and IRC for Error Logging with Python

              7 users

              charlesleifer.com

              I recently rewrote my personal site using flask and peewee, breaking a good amount of stuff in the process. I was trying to track down the errors by tailing log files, but that didn't help alert me to new errors that someone visiting the site might stir up. I thought about setting up error emails a-la django, which is a tried and true method...but then I happened on a different approach. I won't s

              • テクノロジー
              • 2012/04/16 07:32
              • python
              • redis
              • tech
              • charles leifer | Building a bookmarking service with python and phantomjs

                4 users

                charlesleifer.com

                Building a bookmarking service with python and phantomjs March 29, 2012 19:16 / flask phantomjs python saturday-morning-hacks / 1 comments Using python and phantomjs, a headless webkit browser, it is a snap to build a self-hosted bookmarking service that can capture images of entire pages. Combine this with a simple javascript bookmarklet and you end up with a really convenient way of storing book

                • テクノロジー
                • 2012/04/01 21:20
                • python
                • charles leifer | Huey, a lightweight task queue for python

                  3 users

                  charlesleifer.com

                  Huey, a lightweight task queue for python February 02, 2012 15:22 / huey python / 0 comments Note Just a heads-up, this post contains code examples for an out-of-date version of huey. If you're interested in seeing current example code, check out the documentation. Preface At my job we've been doing a quarterly hackday for almost a year now. My coworkers have made some amazing stuff, and its nice

                  • テクノロジー
                  • 2012/02/03 12:53
                  • python
                  • charles leifer | Integrating the flask microframework with the peewee ORM

                    3 users

                    charlesleifer.com

                    Integrating the flask microframework with the peewee ORM September 27, 2011 10:52 / django flask peewee python / 5 comments I'd like to write a post about a project I've been working on for the past month or so. I've had a great time working on it and am excited to start putting it to use. The project is called flask-peewee -- it is a set of utilities that bridges the python microframework flask a

                    • テクノロジー
                    • 2011/10/04 18:34
                    • flask
                    • charles leifer | Peewee, a lightweight Python ORM - Original Post

                      12 users

                      charlesleifer.com

                      Peewee, a lightweight Python ORM - Original Post November 28, 2010 15:01 / database django orm peewee python / 15 comments Edit I rewrote peewee from the ground up. The query examples in this post are no longer supported. Edit, Jul 24, 2011: added support for Postgresql and MySQL (in addition to SQLite). Edit, June 8, 2011: added support for MySQL For the past month or so I've been working on writ

                      • テクノロジー
                      • 2010/11/29 10:03
                      • python
                      • charles leifer | Django Patterns: View Decorators

                        4 users

                        charlesleifer.com

                        Problem and Analysis Sites often have many views that operate with a similar set of assumptions. Maybe there are entire areas that the user must be logged-in to visit, or there is some repetitive boilerplate functionality that a group of views shares like being rate-limited. Bolting on "login required" or "rate limiting" functionality can be a bit repetitive since it often requires "bail out early

                        • 暮らし
                        • 2010/09/26 07:16
                        • django

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

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

                        『charles leifer | Home』の新着エントリーを見る

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

                        j次のブックマーク

                        k前のブックマーク

                        lあとで読む

                        eコメント一覧を開く

                        oページを開く

                        はてなブックマーク

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

                        公式Twitter

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

                        はてなのサービス

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