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

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

アプリで開く

はてなブックマーク

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

はてなブックマーク

トップへ戻る

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

    ChatGPT

『darkcoding.net』

  • 人気
  • 新着
  • すべて
  • Linux: What can you epoll?

    3 users

    darkcoding.net

    At the start of the year, I highlighted how crucial `epoll` is for modern applications, particularly when structured around an event loop or async engines like Go or Rust's Tokio. With `epoll`, you can manage various file descriptors, including network sockets, timers, signals, filesystem events, child processes, and terminal I/O. For inter-thread communication, options include POSIX message queue

    • テクノロジー
    • 2022/10/23 11:30
    • linux
    • Raw sockets in Go: Link layer

      6 users

      darkcoding.net

      I’m diving into the link layer of the Internet Protocol Suite in Go, where I'll show you how to read and craft IP headers, particularly for sending and receiving ICMP ping packets. I begin by creating a raw socket with `syscall.Socket`, using `AF_INET` for IPv4, `SOCK_RAW` to handle raw IP packets, and `IPPROTO_ICMP` to filter for ICMP only. I'll demonstrate how to read packets in a loop and then

      • テクノロジー
      • 2016/02/16 01:02
      • あとで読む
      • Raw sockets in Go: IP layer

        4 users

        darkcoding.net

        At the IP layer, you can work with protocols beyond TCP and UDP and craft your own packets. To read the first ICMP packet on localhost in Go, use the `net` package to listen on a raw socket. You'll need root privileges to do this. When you run the program, you can ping localhost and observe the raw bytes of ICMP packets. If you switch to TCP, you’ll see the packet headers instead. To send a TCP pa

        • テクノロジー
        • 2016/02/10 16:47
        • network
        • Facebook’s code quality problem

          8 users

          darkcoding.net

          Facebook faces significant software quality issues, as illustrated by three key exhibits. First, the iOS app’s complexity, with over 18,000 Objective-C classes and contributions from 429 developers, indicates a lack of architectural coherence that hinders efficient feature addition. Second, a Facebook research paper reveals that data loading inefficiencies stem from format conversion, despite sugg

          • テクノロジー
          • 2015/11/04 18:52
          • 技術的負債
          • Facebook
          • あとで読む
          • Proxy socket.io and nginx on the same port, over SSL

            3 users

            darkcoding.net

            To run a real-time project efficiently, using Socket.io on Node.js and Django on Nginx/Gunicorn on the same port with SSL, follow these steps on Ubuntu: Start by generating a self-signed SSL certificate. Use Stunnel to decrypt SSL traffic, supporting both HTTPS to HTTP and WSS (WebSocket Secure) to WS. Employ HAProxy to route WebSocket traffic to Node.js and web traffic to Nginx since Nginx doesn'

            • テクノロジー
            • 2012/04/12 01:23
            • In-memory key-value store in C, Go and Python

              8 users

              darkcoding.net

              During my paternity leave, I built an in-memory hashmap in Go, Python, and C to explore implementing an alternative to memcached and to challenge my programming skills across these languages. Each version supports the essential `get` and `set` commands from the memcached protocol, allowing it to work with a memcached client. The code is available on GitHub as Key-Value-Polyglot, and I've actively

              • テクノロジー
              • 2012/03/21 13:31
              • C
              • Python
              • test
              • Credit card numbers

                8 users

                darkcoding.net

                Credit card numbers that conform to the Luhn formula (MOD 10 check). Usefull for testing e-commerce sites (because they should get past any pre-validation you do, and be declined at the card processor or bank stage). In testing situations any expiry date within the next 3 years should work Feedback forces me to clarify this: These are NOT valid credit card numbers. You can’t buy anything with thes

                • テクノロジー
                • 2009/07/09 20:51
                • CreditCard
                • crime
                • EC
                • webservice

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

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

                『darkcoding.net』の新着エントリーを見る

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

                j次のブックマーク

                k前のブックマーク

                lあとで読む

                eコメント一覧を開く

                oページを開く

                はてなブックマーク

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

                公式Twitter

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

                はてなのサービス

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