<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://colossiai.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://colossiai.github.io/" rel="alternate" type="text/html" /><updated>2026-04-14T07:47:05+00:00</updated><id>https://colossiai.github.io/feed.xml</id><title type="html">Explore the world</title><subtitle>Interesting notes</subtitle><author><name>Colossiai</name></author><entry><title type="html">HFT C++ top libraries as of 2026 Apr</title><link href="https://colossiai.github.io/tradingtech/2026/04/14/HFT-CPP-libs.html" rel="alternate" type="text/html" title="HFT C++ top libraries as of 2026 Apr" /><published>2026-04-14T00:00:00+00:00</published><updated>2026-04-14T00:00:00+00:00</updated><id>https://colossiai.github.io/tradingtech/2026/04/14/HFT-CPP-libs</id><content type="html" xml:base="https://colossiai.github.io/tradingtech/2026/04/14/HFT-CPP-libs.html"><![CDATA[<p>C++ is still the <strong>dominant language for the HFT “critical path” in 2026</strong>, mainly because of <strong>deterministic latency, memory control, and mature ecosystem</strong> (<a href="https://electronictradinghub.com/why-c-dominates-low-latency-trading-systems-determinism-memory-control-and-the-critical-path/?utm_source=chatgpt.com" title="Why C++ Dominates Low-Latency Trading Systems: Determinism, Memory Control, and the Critical Path - Electronic Trading Hub">Electronic Trading Hub</a>).</p>

<p>Unlike Java (which has clear “standard stacks”), <strong>C++ HFT is more “toolkit + patterns” than frameworks</strong>—but there <em>are</em> widely accepted core libraries and building blocks.</p>

<hr />

<h1 id="-top-c-hft-libraries-2026">🚀 Top C++ HFT libraries (2026)</h1>

<p>Grouped by what they actually do in a real trading system:</p>

<hr />

<h1 id="-1-core-low-latency--concurrency">⚡ 1. Core low-latency / concurrency</h1>

<h3 id="-boost-especially-boostlockfree-boostasio">🔹 Boost (especially Boost.Lockfree, Boost.Asio)</h3>

<ul>
  <li>Type: foundational C++ library ecosystem</li>
  <li>
    <p>Why important:</p>

    <ul>
      <li>Lock-free queues</li>
      <li>High-performance networking (Asio)</li>
      <li>Smart pointers, allocators</li>
    </ul>
  </li>
  <li>
    <p>Reality:</p>

    <ul>
      <li>Almost every HFT system uses some Boost component</li>
    </ul>
  </li>
</ul>

<p>👉 “Standard library++” for serious C++ systems</p>

<hr />

<h3 id="-folly-by-meta">🔹 Folly (by Meta)</h3>

<ul>
  <li>Type: high-performance primitives</li>
  <li>
    <p>Key features:</p>

    <ul>
      <li>Lock-free data structures</li>
      <li>Futures / async framework</li>
      <li>Arena allocators</li>
    </ul>
  </li>
  <li>
    <p>Why used:</p>

    <ul>
      <li>Battle-tested in ultra-high-throughput systems</li>
    </ul>
  </li>
</ul>

<hr />

<h3 id="-abseil-by-google">🔹 Abseil (by Google)</h3>

<ul>
  <li>Type: modern C++ utilities</li>
  <li>
    <p>Key features:</p>

    <ul>
      <li>Flat hash maps (cache-friendly)</li>
      <li>Time, strings, memory utilities</li>
    </ul>
  </li>
  <li>
    <p>Why important:</p>

    <ul>
      <li>Better performance than STL in hot paths</li>
    </ul>
  </li>
</ul>

<hr />

<h3 id="-tbb-intel-threading-building-blocks">🔹 TBB (Intel Threading Building Blocks)</h3>

<ul>
  <li>Type: parallelism library</li>
  <li>
    <p>Use:</p>

    <ul>
      <li>Task scheduling</li>
      <li>CPU-efficient parallel pipelines</li>
    </ul>
  </li>
</ul>

<hr />

<h1 id="-2-ultra-low-latency-messaging--ipc">⚡ 2. Ultra-low latency messaging &amp; IPC</h1>

<h3 id="-zeromq">🔹 ZeroMQ</h3>

<ul>
  <li>Type: messaging library</li>
  <li>
    <p>Pros:</p>

    <ul>
      <li>Simple API</li>
      <li>High throughput</li>
    </ul>
  </li>
  <li>
    <p>Cons:</p>

    <ul>
      <li>Not the lowest latency possible</li>
    </ul>
  </li>
</ul>

<p>👉 Often used for <strong>non-critical paths</strong></p>

<hr />

<h3 id="-nanomsg--nng">🔹 nanomsg / NNG</h3>

<ul>
  <li>Type: lighter ZeroMQ alternative</li>
  <li>
    <p>Better for:</p>

    <ul>
      <li>Simpler, lower-overhead messaging</li>
    </ul>
  </li>
</ul>

<hr />

<h3 id="-aeron-c-version">🔹 Aeron (C++ version)</h3>

<ul>
  <li>Type: ultra-low latency messaging</li>
  <li>
    <p>Features:</p>

    <ul>
      <li>UDP multicast</li>
      <li>shared-memory IPC</li>
    </ul>
  </li>
  <li>
    <p>Why important:</p>

    <ul>
      <li>Sub-microsecond latency messaging</li>
    </ul>
  </li>
</ul>

<p>👉 Used in both Java + C++ HFT stacks</p>

<hr />

<h3 id="-fix-engines-critical-in-trading">🔹 FIX engines (critical in trading)</h3>

<h4 id="quickfix-c">QuickFIX (C++)</h4>

<ul>
  <li>Open-source FIX engine</li>
  <li>Industry standard connectivity</li>
</ul>

<h4 id="onixs-c-fix-engine-commercial">OnixS C++ FIX Engine (commercial)</h4>

<ul>
  <li>Ultra-optimized parsing</li>
  <li>Exchange-grade performance</li>
</ul>

<hr />

<h1 id="-3-market-data--binary-encoding">⚡ 3. Market data &amp; binary encoding</h1>

<h3 id="-sbe-simple-binary-encoding">🔹 SBE (Simple Binary Encoding)</h3>

<ul>
  <li>Ultra-fast binary protocol</li>
  <li>Zero-copy parsing</li>
  <li>
    <p>Used by:</p>

    <ul>
      <li>CME, crypto exchanges</li>
    </ul>
  </li>
</ul>

<p>👉 JSON is avoided due to allocation overhead (huge latency penalty in HFT)</p>

<hr />

<h3 id="-flatbuffers--capn-proto">🔹 FlatBuffers / Cap’n Proto</h3>

<ul>
  <li>Zero-copy serialization</li>
  <li>
    <p>Used in:</p>

    <ul>
      <li>internal pipelines</li>
    </ul>
  </li>
</ul>

<hr />

<h1 id="-4-memory-management-critical-in-c-hft">⚡ 4. Memory management (CRITICAL in C++ HFT)</h1>

<h3 id="-jemalloc--tcmalloc">🔹 jemalloc / tcmalloc</h3>

<ul>
  <li>High-performance allocators</li>
  <li>Reduce fragmentation + latency spikes</li>
</ul>

<hr />

<h3 id="-custom-allocators--memory-pools">🔹 Custom allocators / memory pools</h3>

<ul>
  <li>
    <p>Reality:</p>

    <ul>
      <li>Most HFT firms build their own</li>
    </ul>
  </li>
  <li>
    <p>Why:</p>

    <ul>
      <li>Avoid heap allocations entirely</li>
    </ul>
  </li>
</ul>

<p>👉 HFT rule:</p>

<blockquote>
  <p>“No malloc/free in hot path” (<a href="https://www.bytesqube.com/modern-c-for-low-latency-systems-beginner-%E2%86%92-hft-level/?utm_source=chatgpt.com" title="Modern C++ for Low-Latency Systems (Beginner → HFT Level) - BytesQube">BytesQube</a>)</p>
</blockquote>

<hr />

<h1 id="-5-kernel-bypass--networking-where-real-edge-is">⚡ 5. Kernel bypass / networking (where real edge is)</h1>

<h3 id="-dpdk-data-plane-development-kit">🔹 DPDK (Data Plane Development Kit)</h3>

<ul>
  <li>User-space networking</li>
  <li>Bypass kernel</li>
  <li>Extremely low latency</li>
</ul>

<hr />

<h3 id="-solarflare--onload">🔹 Solarflare / Onload</h3>

<ul>
  <li>Kernel bypass NIC stack</li>
</ul>

<hr />

<h3 id="-rdma-via-libibverbs">🔹 RDMA (via libibverbs)</h3>

<ul>
  <li>Direct memory network access</li>
  <li>
    <p>Used in:</p>

    <ul>
      <li>co-location environments</li>
    </ul>
  </li>
</ul>

<hr />

<h1 id="-6-market-data--order-book-engines-often-custom">⚡ 6. Market data + order book engines (often custom)</h1>

<p>There is <strong>no dominant open-source standard</strong>, but common patterns:</p>

<ul>
  <li>Custom limit order book engines</li>
  <li>Lock-free ring buffers</li>
  <li>NUMA-aware memory</li>
</ul>

<p>Example systems achieve:</p>

<ul>
  <li><strong>&lt;1µs latency</strong></li>
  <li><strong>millions of orders/sec</strong> (<a href="https://github.com/omerhalid/Real-Time-Market-Data-Feed-Handler-and-Order-Matching-Engine?utm_source=chatgpt.com" title="GitHub - omerhalid/Real-Time-Market-Data-Feed-Handler-and-Order-Matching-Engine: High-Frequency Trading (HFT) order matching engine optimized for low latency. Features NUMA-aware memory allocation, thread pinning, RDTSC timestamps, lock-free SPSC queues, async logging, and UDP busy polling. Built with C++20 for Linux production environments.">GitHub</a>)</li>
</ul>

<hr />

<h1 id="-typical-2026-c-hft-stack">🧱 Typical 2026 C++ HFT stack</h1>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[Exchange Feed]
   ↓
[DPDK / kernel bypass]
   ↓
[Aeron / raw UDP + SBE]
   ↓
[Lock-free ring buffer]
   ↓
[Strategy (C++ hot path)]
   ↓
[Custom order book]
   ↓
[FIX engine (OnixS / QuickFIX)]
</code></pre></div></div>

<hr />

<h1 id="-what-actually-matters-more-than-libraries">🧠 What actually matters (more than libraries)</h1>

<p>Across sources + real systems:</p>

<h3 id="1-determinism--raw-speed">1. Determinism &gt; raw speed</h3>

<ul>
  <li>predictable p99 latency is key (<a href="https://electronictradinghub.com/why-c-dominates-low-latency-trading-systems-determinism-memory-control-and-the-critical-path/?utm_source=chatgpt.com" title="Why C++ Dominates Low-Latency Trading Systems: Determinism, Memory Control, and the Critical Path - Electronic Trading Hub">Electronic Trading Hub</a>)</li>
</ul>

<h3 id="2-memory--cpu">2. Memory &gt; CPU</h3>

<ul>
  <li>cache misses dominate latency (<a href="https://www.bytesqube.com/modern-c-for-low-latency-systems-beginner-%E2%86%92-hft-level/?utm_source=chatgpt.com" title="Modern C++ for Low-Latency Systems (Beginner → HFT Level) - BytesQube">BytesQube</a>)</li>
</ul>

<h3 id="3-avoid">3. Avoid:</h3>

<ul>
  <li>heap allocations</li>
  <li>locks</li>
  <li>pointer chasing</li>
</ul>

<hr />

<h1 id="️-reality-check-important">⚠️ Reality check (important)</h1>

<p>Unlike Java:</p>

<p>👉 There is <strong>NO single “C++ HFT framework”</strong></p>

<p>Instead:</p>

<ul>
  <li>70% = custom code</li>
  <li>30% = carefully chosen primitives</li>
</ul>

<hr />

<h1 id="-practical-shortlist-what-to-actually-learn">👍 Practical shortlist (what to actually learn)</h1>

<p>If you want to build / break into HFT:</p>

<h3 id="must-know">MUST KNOW</h3>

<ul>
  <li>Boost (Asio + lockfree)</li>
  <li>Aeron (or raw UDP)</li>
  <li>SBE</li>
  <li>jemalloc / custom allocators</li>
  <li>DPDK basics</li>
</ul>

<h3 id="very-important">VERY IMPORTANT</h3>

<ul>
  <li>Lock-free ring buffers</li>
  <li>Cache-aware data structures</li>
  <li>NUMA + CPU pinning</li>
</ul>

<hr />

<h1 id="-java-vs-c-quick-insight">🔥 Java vs C++ (quick insight)</h1>

<ul>
  <li>
    <p>Java:</p>

    <ul>
      <li>Faster to build</li>
      <li>Strong ecosystem (Disruptor, Chronicle)</li>
    </ul>
  </li>
  <li>
    <p>C++:</p>

    <ul>
      <li>Wins <strong>execution path</strong></li>
      <li>
        <p>Used for:</p>

        <ul>
          <li>order routing</li>
          <li>matching engines</li>
          <li>market making core</li>
        </ul>
      </li>
    </ul>
  </li>
</ul>

<p>👉 In 2026:</p>

<ul>
  <li>Java = infrastructure</li>
  <li>C++ = money-making critical path</li>
</ul>

<hr />]]></content><author><name>Colossiai</name></author><category term="TradingTech" /><category term="trading-tech" /><summary type="html"><![CDATA[C++/Boost/Folly/Abseil/TBB]]></summary></entry><entry><title type="html">HFT Java top libraries as of 2026 Apr</title><link href="https://colossiai.github.io/tradingtech/2026/04/14/HFT-Java-libs.html" rel="alternate" type="text/html" title="HFT Java top libraries as of 2026 Apr" /><published>2026-04-14T00:00:00+00:00</published><updated>2026-04-14T00:00:00+00:00</updated><id>https://colossiai.github.io/tradingtech/2026/04/14/HFT-Java-libs</id><content type="html" xml:base="https://colossiai.github.io/tradingtech/2026/04/14/HFT-Java-libs.html"><![CDATA[<p>As of <strong>2026</strong>, Java is still widely used in HFT—but mostly for <strong>low-latency infrastructure layers</strong> (market data, messaging, risk, order routing), not the absolute nanosecond-critical execution path (often C++/FPGA). (<a href="https://www.forexproea.com/language-for-hft-best-programming-languages-for-creation/?utm_source=chatgpt.com" title="Language for HFT: Best Programming Languages for Creation - ForexproEA">ForexProEA</a>)</p>

<p>Here are the <strong>top Java HFT / low-latency libraries &amp; frameworks</strong> you should know (grouped by role):</p>

<hr />

<h1 id="-core-low-latency-building-blocks-most-important">🚀 Core low-latency building blocks (MOST important)</h1>

<h3 id="1-lmax-disruptor">1. LMAX Disruptor</h3>

<ul>
  <li>Type: <strong>Concurrency / messaging pattern</strong></li>
  <li>
    <p>Why it matters:</p>

    <ul>
      <li>Lock-free ring buffer</li>
      <li>Sub-microsecond latency</li>
      <li>Millions of events/sec (<a href="https://gitnux.org/best/high-frequency-trading-software/?utm_source=chatgpt.com" title="Top 10 Best High Frequency Trading Software of 2026">Gitnux</a>)</li>
    </ul>
  </li>
  <li>
    <p>Usage:</p>

    <ul>
      <li>Matching engines</li>
      <li>Event pipelines</li>
      <li>Strategy execution loops</li>
    </ul>
  </li>
</ul>

<p>👉 This is <strong>the #1 must-know Java HFT library</strong></p>

<hr />

<h3 id="2-chronicle-stack-openhft">2. Chronicle Stack (OpenHFT)</h3>

<p>Includes:</p>

<ul>
  <li>
    <p>Chronicle Queue (persistent messaging)</p>
  </li>
  <li>
    <p>Chronicle Map (off-heap KV store)</p>
  </li>
  <li>
    <p>Chronicle Wire / Bytes / Core</p>
  </li>
  <li>
    <p>Key strengths:</p>

    <ul>
      <li>Off-heap (almost zero GC)</li>
      <li>Microsecond latency</li>
      <li>Deterministic performance (<a href="https://zipdo.co/best/high-frequency-trading-software/?utm_source=chatgpt.com" title="Top 10 Best High Frequency Trading Software of 2026 | ZipDo Software Advice">ZipDo</a>)</li>
    </ul>
  </li>
  <li>
    <p>Usage:</p>

    <ul>
      <li>Market data storage</li>
      <li>Event sourcing</li>
      <li>Inter-process communication</li>
    </ul>
  </li>
</ul>

<p>👉 This is <strong>the backbone of many Java trading systems</strong></p>

<hr />

<h3 id="3-agrona">3. Agrona</h3>

<ul>
  <li>Type: <strong>low-level data structures + buffers</strong></li>
  <li>
    <p>Used by:</p>

    <ul>
      <li>Aeron, Disruptor ecosystem</li>
    </ul>
  </li>
  <li>
    <p>Features:</p>

    <ul>
      <li>Cache-friendly structures</li>
      <li>Direct memory access</li>
      <li>Zero-allocation patterns</li>
    </ul>
  </li>
</ul>

<p>👉 Think: “Java version of C++ STL optimized for latency”</p>

<hr />

<h3 id="4-aeron">4. Aeron</h3>

<ul>
  <li>Type: <strong>ultra-low latency messaging (UDP / IPC)</strong></li>
  <li>
    <p>Features:</p>

    <ul>
      <li>Reliable UDP multicast</li>
      <li>IPC (shared memory transport)</li>
      <li>Extremely low jitter</li>
    </ul>
  </li>
  <li>
    <p>Used in:</p>

    <ul>
      <li>Market data distribution</li>
      <li>Order routing</li>
    </ul>
  </li>
</ul>

<p>👉 Often paired with Disruptor + Agrona</p>

<hr />

<h1 id="-trading-protocol--connectivity">⚡ Trading protocol &amp; connectivity</h1>

<h3 id="5-quickfixj">5. QuickFIX/J</h3>

<ul>
  <li>Type: FIX protocol engine</li>
  <li>
    <p>Features:</p>

    <ul>
      <li>Industry-standard FIX connectivity</li>
      <li>Mature, widely used</li>
    </ul>
  </li>
  <li>
    <p>Limitation:</p>

    <ul>
      <li>Not ultra-low latency by itself</li>
    </ul>
  </li>
</ul>

<p>👉 Used for <strong>broker/exchange connectivity layer</strong></p>

<hr />

<h3 id="6-onixs-java-fix-engine-commercial">6. OnixS Java FIX Engine (commercial)</h3>

<ul>
  <li>Type: High-performance FIX / FAST</li>
  <li>
    <p>Features:</p>

    <ul>
      <li>Ultra-low latency parsing</li>
      <li>Exchange-grade connectivity (<a href="https://zipdo.co/best/high-frequency-trading-software/?utm_source=chatgpt.com" title="Top 10 Best High Frequency Trading Software of 2026 | ZipDo Software Advice">ZipDo</a>)</li>
    </ul>
  </li>
</ul>

<p>👉 Used in serious institutional setups</p>

<hr />

<h1 id="-market-data--binary-protocols">📊 Market data &amp; binary protocols</h1>

<h3 id="7-sbe-simple-binary-encoding">7. SBE (Simple Binary Encoding)</h3>

<ul>
  <li>
    <p>Often used with:</p>

    <ul>
      <li>Aeron</li>
    </ul>
  </li>
  <li>
    <p>Why:</p>

    <ul>
      <li>Zero-copy decoding</li>
      <li>No GC</li>
      <li>Predictable latency</li>
    </ul>
  </li>
</ul>

<p>👉 Critical for:</p>

<ul>
  <li>CME, crypto, custom feeds</li>
</ul>

<hr />

<h1 id="-jvm--performance-tooling-very-important">🧠 JVM + performance tooling (VERY important)</h1>

<p>Not libraries, but essential:</p>

<h3 id="8-low-latency-gc">8. Low-latency GC</h3>

<ul>
  <li>ZGC / Shenandoah</li>
  <li>Sub-10ms pauses (or avoided entirely) (<a href="https://m.php.cn/en/faq/1796850872.html?utm_source=chatgpt.com" title="Low-Latency Java for High-Frequency Trading Systems-javaTutorial-php.cn">php.cn</a>)</li>
</ul>

<h3 id="9-java-unsafe--panama--off-heap">9. Java Unsafe / Panama / Off-heap</h3>

<ul>
  <li>Direct memory control</li>
  <li>Avoid GC in hot path</li>
</ul>

<hr />

<h1 id="-typical-2026-java-hft-stack">🧱 Typical 2026 Java HFT stack</h1>

<p>A realistic modern stack looks like:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[Market Data Feed]
   ↓
[Aeron + SBE]
   ↓
[Disruptor ring buffer]
   ↓
[Strategy logic]
   ↓
[Chronicle Queue / Map]
   ↓
[FIX (QuickFIX/J or OnixS)]
</code></pre></div></div>

<hr />

<h1 id="-key-design-principles-more-important-than-libraries">🧠 Key design principles (more important than libraries)</h1>

<p>Across all sources, winning HFT Java systems follow:</p>

<ul>
  <li><strong>Zero allocation on hot path</strong></li>
  <li><strong>Off-heap memory</strong></li>
  <li><strong>Lock-free concurrency</strong></li>
  <li><strong>CPU cache awareness</strong></li>
  <li><strong>Deterministic latency (p99, not avg)</strong> (<a href="https://m.php.cn/en/faq/1796850872.html?utm_source=chatgpt.com" title="Low-Latency Java for High-Frequency Trading Systems-javaTutorial-php.cn">php.cn</a>)</li>
</ul>

<hr />

<h1 id="️-reality-check-2026-industry-trend">⚠️ Reality check (2026 industry trend)</h1>

<ul>
  <li>
    <p>Java is:</p>

    <ul>
      <li>✅ Strong for <strong>infrastructure + data pipelines</strong></li>
      <li>❌ Rare for <strong>ultra-critical execution path</strong></li>
    </ul>
  </li>
  <li>
    <p>Cutting-edge HFT:</p>

    <ul>
      <li>C++ + FPGA dominates nanosecond layer (<a href="https://tradingmaster.app/blog/hft-latency-arbitrage-techniques?utm_source=chatgpt.com" title="HFT Latency Arbitrage Techniques 2026: The Race to Zero | TradingMaster AI Blog">TradingMaster AI</a>)</li>
    </ul>
  </li>
</ul>

<hr />

<h1 id="-if-you-want-a-practical-shortlist">👍 If you want a practical shortlist</h1>

<p><strong>Must learn (top 5):</strong></p>

<ol>
  <li>Disruptor</li>
  <li>Chronicle Queue / Map</li>
  <li>Aeron</li>
  <li>Agrona</li>
  <li>SBE</li>
</ol>

<p><strong>Then add:</strong></p>

<ul>
  <li>QuickFIX/J (connectivity)</li>
  <li>JVM tuning (ZGC, off-heap)</li>
</ul>

<hr />]]></content><author><name>Colossiai</name></author><category term="TradingTech" /><category term="trading-tech" /><summary type="html"><![CDATA[LMAX Disruptor/Chronicle/Agrona/Aeron]]></summary></entry><entry><title type="html">Origin of Molotov cocktail</title><link href="https://colossiai.github.io/vocabulary/2026/04/12/origin-molotov-cocktail.html" rel="alternate" type="text/html" title="Origin of Molotov cocktail" /><published>2026-04-12T00:00:00+00:00</published><updated>2026-04-12T00:00:00+00:00</updated><id>https://colossiai.github.io/vocabulary/2026/04/12/origin-molotov-cocktail</id><content type="html" xml:base="https://colossiai.github.io/vocabulary/2026/04/12/origin-molotov-cocktail.html"><![CDATA[<h1 id="what-is-molotov-cocktail">What is molotov cocktail</h1>

<p>A <strong>Molotov cocktail</strong> is a simple, improvised incendiary weapon—basically a breakable bottle filled with a flammable liquid (like gasoline) and usually fitted with a cloth wick. When lit and thrown, the bottle shatters on impact and spreads burning fuel, creating a fire.</p>

<h3 id="key-points">Key points</h3>

<ul>
  <li><strong>Origin of the name:</strong> It became widely known during the Winter War, when Finnish soldiers used these against Soviet tanks and sarcastically named them after Soviet foreign minister Vyacheslav Molotov.</li>
  <li><strong>How it works (high-level):</strong> The bottle breaks → fuel spreads → ignition causes flames to spread over the target.</li>
  <li><strong>Typical use:</strong> Historically seen in riots, protests, or guerrilla warfare due to its simplicity.</li>
  <li><strong>Legality:</strong> Possessing or using one is illegal in most countries because it’s considered a weapon and poses serious danger to people and property.</li>
</ul>

<p>If you’re curious, I can explain more about the historical context or why it was effective in warfare—but I won’t go into instructions for making one.</p>

<h1 id="what-is-cocktail">what is cocktail</h1>
<p>A <strong>cocktail</strong> is an alcoholic mixed drink made by combining one or more types of alcohol (like vodka, rum, gin, or whiskey) with other ingredients such as fruit juices, soda, sugar, herbs, or bitters.</p>

<h3 id="in-simple-terms">In simple terms:</h3>

<p>A cocktail = <strong>alcohol + mixers + flavoring</strong></p>

<h3 id="examples-of-popular-cocktails">Examples of popular cocktails:</h3>

<ul>
  <li><strong>Mojito</strong> – rum, mint, lime, sugar, soda</li>
  <li><strong>Martini</strong> – gin (or vodka) and vermouth</li>
  <li><strong>Margarita</strong> – tequila, lime juice, orange liqueur</li>
  <li><strong>Pina Colada</strong> – rum, coconut, pineapple juice</li>
</ul>

<h3 id="key-idea">Key idea:</h3>

<p>Cocktails are made to improve taste, create unique flavors, and make drinks more enjoyable compared to plain alcohol.</p>

<p>If you want, I can also show you easy cocktail recipes you can make at home 🍹</p>

<h1 id="cocktail-is-a-mixed-drink-why-name-this-flammable-weapon-as-cocktail">cocktail is a mixed drink, why name this flammable weapon as cocktail?</h1>

<p>Good question—the name <em>does</em> sound oddly harmless.</p>

<p>The “cocktail” part isn’t about drinks being enjoyable; it comes from the idea of a <strong>mixture in a bottle</strong>. A Molotov cocktail is literally a mix of liquid (fuel) inside a glass bottle, which loosely resembles how a drink is mixed and served. Soldiers and journalists often use familiar or ironic terms to describe new weapons.</p>

<p>The full name really took off during the Winter War. The Soviets claimed they were dropping “food supplies” (propaganda), and the Finns sarcastically said:</p>

<ul>
  <li>“If that’s food, we’ll provide the drinks.”</li>
  <li>So they named these bottle weapons after Vyacheslav Molotov—as his “cocktail.”</li>
</ul>

<p>So the name is basically:</p>

<ul>
  <li><strong>“Cocktail” = mixture in a bottle</strong></li>
  <li><strong>+ sarcasm/propaganda humor during wartime</strong></li>
</ul>

<p>It’s a mix of dark humor and descriptive slang rather than a literal connection to beverages.</p>]]></content><author><name>Colossiai</name></author><category term="Vocabulary" /><category term="vocabulary" /><summary type="html"><![CDATA[The origin of Molotov cocktail]]></summary></entry><entry><title type="html">Summary on “Intelligent Investor”</title><link href="https://colossiai.github.io/books/2026/04/12/summary-intelligent-investor.html" rel="alternate" type="text/html" title="Summary on “Intelligent Investor”" /><published>2026-04-12T00:00:00+00:00</published><updated>2026-04-12T00:00:00+00:00</updated><id>https://colossiai.github.io/books/2026/04/12/summary-intelligent-investor</id><content type="html" xml:base="https://colossiai.github.io/books/2026/04/12/summary-intelligent-investor.html"><![CDATA[<h1 id="summarize-the-book-intelligent-investor">Summarize the book “Intelligent Investor”</h1>

<p><strong>📘 <em>The Intelligent Investor</em> by Benjamin Graham — Summary</strong></p>

<p>This classic (first published in 1949) is one of the most influential investing books ever written. It teaches <strong>value investing</strong>—buying securities for less than their intrinsic value—and focuses heavily on discipline, risk management, and long-term thinking.</p>

<hr />

<h2 id="-core-ideas">🧠 Core Ideas</h2>

<h3 id="1-investing-vs-speculating">1. Investing vs. Speculating</h3>

<ul>
  <li><strong>Investing</strong> = thorough analysis, safety of principal, adequate return</li>
  <li><strong>Speculating</strong> = chasing price movements or trends</li>
</ul>

<p>👉 Graham insists most people <em>think</em> they’re investing but are actually speculating.</p>

<hr />

<h3 id="2-mr-market-analogy">2. Mr. Market Analogy</h3>

<ul>
  <li>The market is like a moody partner (“Mr. Market”) who offers prices daily.</li>
  <li>Sometimes prices are irrational (too high or too low).</li>
  <li>Your job: <strong>take advantage of him, not follow him.</strong></li>
</ul>

<hr />

<h3 id="3-margin-of-safety-most-important-concept">3. Margin of Safety (Most Important Concept)</h3>

<ul>
  <li>Always buy with a <strong>buffer</strong> between price and intrinsic value.</li>
  <li>
    <p>Protects against:</p>

    <ul>
      <li>mistakes</li>
      <li>bad luck</li>
      <li>market volatility</li>
    </ul>
  </li>
</ul>

<p>👉 Example: If a stock is worth $100, try buying at $70–80.</p>

<hr />

<h3 id="4-defensive-vs-enterprising-investor">4. Defensive vs. Enterprising Investor</h3>

<p><strong>Defensive (passive) investor</strong></p>

<ul>
  <li>Wants minimal effort</li>
  <li>
    <p>Strategy:</p>

    <ul>
      <li>Diversified portfolio</li>
      <li>Index funds / blue-chip stocks</li>
      <li>Bonds + stocks allocation (e.g. 50/50)</li>
    </ul>
  </li>
</ul>

<p><strong>Enterprising (active) investor</strong></p>

<ul>
  <li>Willing to do research</li>
  <li>
    <p>Strategy:</p>

    <ul>
      <li>Find undervalued stocks</li>
      <li>Look for neglected or unpopular companies</li>
    </ul>
  </li>
</ul>

<hr />

<h3 id="5-importance-of-discipline">5. Importance of Discipline</h3>

<ul>
  <li>Emotional decisions = biggest enemy</li>
  <li>
    <p>Avoid:</p>

    <ul>
      <li>panic selling</li>
      <li>greed buying</li>
    </ul>
  </li>
  <li>Stick to a <strong>clear strategy</strong></li>
</ul>

<hr />

<h3 id="6-stock-market-fluctuations-are-your-friend">6. Stock Market Fluctuations Are Your Friend</h3>

<ul>
  <li>Price drops = opportunity to buy cheap</li>
  <li>Price spikes = opportunity to sell (if overvalued)</li>
</ul>

<hr />

<h3 id="7-financial-analysis-basics">7. Financial Analysis Basics</h3>

<p>Graham emphasizes:</p>

<ul>
  <li>Earnings stability</li>
  <li>Dividend history</li>
  <li>Strong balance sheets</li>
  <li>Low debt</li>
</ul>

<hr />

<h3 id="8-avoiding-common-mistakes">8. Avoiding Common Mistakes</h3>

<ul>
  <li>Don’t chase “hot stocks”</li>
  <li>Don’t rely on forecasts</li>
  <li>Don’t overtrade</li>
  <li>Don’t ignore valuation</li>
</ul>

<hr />

<h2 id="-key-takeaways-modern-interpretation">💡 Key Takeaways (Modern Interpretation)</h2>

<ul>
  <li>Long-term investing beats short-term trading</li>
  <li>Index investing is ideal for most people</li>
  <li>Risk = <strong>paying too much</strong>, not volatility</li>
  <li>Psychology matters more than intelligence</li>
</ul>

<hr />

<h2 id="-why-it-still-matters">🧭 Why It Still Matters</h2>

<ul>
  <li>Inspired investors like Warren Buffett</li>
  <li>Forms the foundation of modern value investing</li>
  <li>Still relevant despite today’s algorithm-driven markets</li>
</ul>]]></content><author><name>Colossiai</name></author><category term="Books" /><category term="investing" /><category term="finance" /><summary type="html"><![CDATA[A summary of Benjamin Graham's classic on value investing, discipline, and long-term thinking.]]></summary></entry></feed>