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

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

アプリで開く

はてなブックマーク

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

はてなブックマーク

トップへ戻る

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

    参議院選挙2025

『jan.kneschke.de』

  • 人気
  • 新着
  • すべて
  • ~jk typesafe objects in PHP

    5 users

    jan.kneschke.de

    In Java 1.5.x and later they got annotations and we can use the same in PHP: class Employee { /** @var int */ var $employee_id; /** @var string */ var $name; /** @var string */ var $surname; /** @var timestamp */ var $since; } Yes, doc-comments. Not only we added documentation to our code (which is always a good thing), we can also use them for the type-definition. With the help of Reflection we c

    • 世の中
    • 2009/11/25 13:30
    • php
    • *Temp
    • programming
    • ~jk typesafe objects in PHP

      5 users

      jan.kneschke.de

      In Java 1.5.x and later they got annotations and we can use the same in PHP: class Employee { /** @var int */ var $employee_id; /** @var string */ var $name; /** @var string */ var $surname; /** @var timestamp */ var $since; } Yes, doc-comments. Not only we added documentation to our code (which is always a good thing), we can also use them for the type-definition. With the help of Reflection we

      • 暮らし
      • 2008/02/27 13:44
      • annotation
      • php
      • ~jk MySQL Proxy learns R/W Splitting

        3 users

        jan.kneschke.de

        The trunk version of the MySQL Proxy 0.6.0 just learnt about changing backends within running connection. It is now up to lua-script to decide which backend shall be used to send requests too. We wrote a complete tutorial which covers everything from: building and maintaining a connection pool with high and low water marks transparent authentication (no extra auth against the proxy) deciding on Qu

        • 世の中
        • 2007/08/03 19:34
        • MySQL
        • tips
        • ORDER BY RAND()

          5 users

          jan.kneschke.de

          If you read the MySQL manual you might have seen the ORDER BY RAND() to randomize the the rows and using the LIMIT 1 to just take one of the rows. This example works fine and is fast if you only when let's say 1000 rows. As soon as you have 10000 rows the overhead for sorting the rows becomes important. Don't forget: we only sort to throw nearly all the rows away. I never liked it. And there are b

          • テクノロジー
          • 2007/05/29 18:08
          • mysql
          • MySQL Proxy

            12 users

            jan.kneschke.de

            Over the last weeks I wrote a mysql-proxy which changes the way you operate with the MySQL Server. A proxy can operate as Man in the Middle and pass through to network packets to the MySQL Server, but it also change the packets when needed. This opens the several possibilities like a pseudo server done injection proxy done load-balancing proxy done connection pool XA Transaction Manager replicatio

            • 暮らし
            • 2007/04/26 06:37
            • mysql
            • server
            • ~jk flv streaming

              6 users

              jan.kneschke.de

              High performance flv-streaming with lighttpd is possible since lighttpd 1.4.11. With lighty you can easily handle 10000 parallel downloads of your movies including protection against hot-linking with mod_secdownload. This is basicly all you need to build the free video.google.com for yourself. Just add this you your lighttpd.conf and restart the server: server.modules = ( ..., "mod_flv_streaming",

              • 暮らし
              • 2007/03/05 17:48
              • flash
              • ~jk typesafe objects in PHP

                3 users

                jan.kneschke.de

                I always disliked the way PHP handles Objects. There is no way to assign a type to properties. Validators have to be glued against the fields externally and you can't just generate a Object-Description (like WSDL) from a object either. Usually you have DataObjects like: /* a plain-old-php-object */ class Employee { var $employee_id; var $name; var $surname; var $since; } and as a human you immedi

                • 世の中
                • 2007/02/21 05:00
                • php
                • programming
                • ~jk php shell

                  27 users

                  jan.kneschke.de

                  The more I work with other languages like python and ruby I like their way how they work on problems. While PHP is very forgiving on errors, it is weak on the debugging side. It was missing a simple to use interactive shell for years. Python and Ruby have their ipython and iruby shell which give you a direct way to interact with the objects. No need to write a script and execute it afterwards. Fea

                  • 学び
                  • 2006/05/08 14:36
                  • php
                  • shell
                  • tool
                  • tools

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

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

                  『jan.kneschke.de』の新着エントリーを見る

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

                  j次のブックマーク

                  k前のブックマーク

                  lあとで読む

                  eコメント一覧を開く

                  oページを開く

                  はてなブックマーク

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

                  公式Twitter

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

                  はてなのサービス

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