<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Phuoc Nguyen Dang</title>
    <description>The latest articles on DEV Community by Phuoc Nguyen Dang (@phuoc_nguyendang_12ed536).</description>
    <link>https://dev.to/phuoc_nguyendang_12ed536</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3781337%2Fbec486de-3396-4a3c-bb21-8fad39840e43.png</url>
      <title>DEV Community: Phuoc Nguyen Dang</title>
      <link>https://dev.to/phuoc_nguyendang_12ed536</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/phuoc_nguyendang_12ed536"/>
    <language>en</language>
    <item>
      <title>Gut-Brain Connection: You Have a Second Brain</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:25:09 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/gut-brain-connection-you-have-a-second-brain-4nap</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/gut-brain-connection-you-have-a-second-brain-4nap</guid>
      <description>&lt;p&gt;95% of your body's serotonin is made in your gut. Not your brain.&lt;/p&gt;

&lt;p&gt;Your gut has 500 million neurons. It produces 30+ neurotransmitters. And 80% of the signals on the vagus nerve travel upward — from gut to brain, not the other way around.&lt;/p&gt;

&lt;p&gt;In 2011, scientists transplanted gut bacteria from anxious mice into calm mice. The calm mice became anxious. In 2019, gut bacteria from humans with depression were given to germ-free mice — the mice became depressed.&lt;/p&gt;

&lt;p&gt;Personality. Mood. Anxiety. Transferred through bacteria.&lt;/p&gt;

&lt;p&gt;Right now, researchers are exploring "psychobiotics" — specific bacteria strains designed to treat mental health conditions. Vagus nerve stimulation is already FDA-approved for treatment-resistant depression.&lt;/p&gt;

&lt;p&gt;We spent decades treating depression as purely a brain problem. But if 95% of serotonin is in the gut, maybe the most important breakthroughs in mental health won't come from neuroscience alone — they'll come from gastroenterology.&lt;/p&gt;

&lt;p&gt;How does this shift your thinking about the connection between diet, gut health, and mental wellbeing?&lt;/p&gt;

&lt;p&gt;Note: Put video link in first comment, not in post body.&lt;br&gt;
Video: &lt;a href="https://www.youtube.com/watch?v=qlaGKX9oMV0" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=qlaGKX9oMV0&lt;/a&gt;&lt;/p&gt;

</description>
      <category>gutbrainconnection</category>
      <category>secondbrain</category>
      <category>entericnervoussystem</category>
      <category>serotonin</category>
    </item>
    <item>
      <title>88 Years to Discover 5 Words — Harvard's Happiness Study</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:24:31 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/88-years-to-discover-5-words-harvards-happiness-study-3k7</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/88-years-to-discover-5-words-harvards-happiness-study-3k7</guid>
      <description>&lt;p&gt;Harvard spent $20 million and 88 years tracking 724 men from adolescence to death.&lt;/p&gt;

&lt;p&gt;The answer? Five words: "Happiness is love. Full stop."&lt;/p&gt;

&lt;p&gt;But here's the part nobody talks about.&lt;/p&gt;

&lt;p&gt;The study started by measuring skulls. Organ weight. Nose length. In 1938, they believed body measurements would reveal the blueprint of success. It was born in the shadow of eugenics.&lt;/p&gt;

&lt;p&gt;Then a 33-year-old psychiatrist named George Vaillant took over — and stopped measuring bodies. He started measuring relationships.&lt;/p&gt;

&lt;p&gt;The data was unambiguous:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Relationship satisfaction at 50 predicted physical health at 80 — better than cholesterol levels&lt;/li&gt;
&lt;li&gt;Men with warm relationships earned $141,000 more per year during peak earning years&lt;/li&gt;
&lt;li&gt;Loneliness was as deadly as smoking 15 cigarettes a day&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two participants tell the whole story. "Camille" — bottom 3% at 19, tried to end his life. By 82, 300 people came to his birthday. "Marsden" — Harvard star, war hero, top law school graduate — sat alone by 50, feeling "angry, lonely, and disappointed."&lt;/p&gt;

&lt;p&gt;Same study. Same timeframe. Opposite outcomes. The only variable? Human connection.&lt;/p&gt;

&lt;p&gt;In 2023, the US Surgeon General declared loneliness a public health epidemic.&lt;/p&gt;

&lt;p&gt;We live in the most connected era in history — and the loneliest. The Harvard Study says the antidote isn't an app. It isn't a career achievement. It's the boring, unglamorous work of showing up for the people in your life.&lt;/p&gt;

&lt;p&gt;Who would you call right now if you put down your phone and picked it up again — to actually call someone?&lt;/p&gt;

&lt;p&gt;Note: Put video link in first comment, not in post body.&lt;br&gt;
Video: [link]&lt;/p&gt;

</description>
      <category>harvardstudyofadultdevelopment</category>
      <category>harvardhappinessstudy</category>
      <category>whatmakesagoodlife</category>
      <category>georgevaillant</category>
    </item>
    <item>
      <title>Why Does Hot Water Freeze Faster Than Cold? — The Mpemba Effect</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:24:24 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/why-does-hot-water-freeze-faster-than-cold-the-mpemba-effect-5f68</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/why-does-hot-water-freeze-faster-than-cold-the-mpemba-effect-5f68</guid>
      <description>&lt;p&gt;In 1963, a 13-year-old boy in Tanzania asked his teacher a simple question: why did my hot milk freeze faster than my classmate's cold milk?&lt;/p&gt;

&lt;p&gt;The teacher laughed. The classmates made it a running joke. At his next school, another teacher told him he was confused.&lt;/p&gt;

&lt;p&gt;But Erasto Mpemba didn't stop asking.&lt;/p&gt;

&lt;p&gt;When a university professor visited his school, he asked again. In front of everyone. They laughed again.&lt;/p&gt;

&lt;p&gt;This time, the professor listened. Tested it. Confirmed it. And in 1969, a schoolboy co-authored a physics paper with a university professor.&lt;/p&gt;

&lt;p&gt;The phenomenon — hot water freezing faster than cold under certain conditions — is now called the Mpemba effect. Aristotle noticed it 2,300 years earlier. So did Bacon, Descartes, and others. Each time, it was forgotten because it seemed impossible.&lt;/p&gt;

&lt;p&gt;After 60 years of research, the world's best scientists still can't fully explain it. It's been observed in quantum systems. Published in Nature.&lt;/p&gt;

&lt;p&gt;Mpemba wasn't a physicist. He became a wildlife officer. But his name is on one of the most debated phenomena in modern physics.&lt;/p&gt;

&lt;p&gt;The lesson: the most dangerous response to an unexpected observation isn't "I don't know." It's "that can't happen."&lt;/p&gt;

&lt;p&gt;Full story on ScienceLore: &lt;a href="https://www.youtube.com/watch?v=VFEj68Mb0CM" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=VFEj68Mb0CM&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mpembaeffect</category>
      <category>hotwaterfreezesfaster</category>
      <category>erastompemba</category>
      <category>thermodynamics</category>
    </item>
    <item>
      <title>Exiled for 39 Years — The Monk Who Taught the World to Breathe</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:23:46 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/exiled-for-39-years-the-monk-who-taught-the-world-to-breathe-1cl3</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/exiled-for-39-years-the-monk-who-taught-the-world-to-breathe-1cl3</guid>
      <description>&lt;p&gt;Both sides of a divided country agreed on one thing: silence this monk.&lt;/p&gt;

&lt;p&gt;His crime? He asked for peace.&lt;/p&gt;

&lt;p&gt;Thich Nhat Hanh was exiled from Vietnam for 39 years — not for violence, but for compassion. He helped everyone, regardless of which side they were on.&lt;/p&gt;

&lt;p&gt;In exile, he didn't retreat. He built.&lt;/p&gt;

&lt;p&gt;He created the concept of "Engaged Buddhism" — the idea that you can't have genuine purpose without compassion in action, and you can't sustain compassion without inner peace.&lt;/p&gt;

&lt;p&gt;He built Europe's largest Buddhist monastery. Wrote 100+ books in 40+ languages. Taught mindfulness to 700 Google engineers in a single afternoon.&lt;/p&gt;

&lt;p&gt;Martin Luther King Jr. nominated him for the Nobel Peace Prize, calling him "the most worthy person I know."&lt;/p&gt;

&lt;p&gt;The lesson that stays with me:&lt;/p&gt;

&lt;p&gt;The exile that was meant to silence him gave him the world. Sometimes the biggest setback becomes the biggest platform.&lt;/p&gt;

&lt;p&gt;What's something that felt like an ending but turned out to be a beginning for you?&lt;/p&gt;

&lt;p&gt;Note: Put video link in first comment, not in post body.&lt;br&gt;
Video: [link]&lt;/p&gt;

</description>
      <category>thichnhathanh</category>
      <category>thichnhathanhstory</category>
      <category>mindfulness</category>
      <category>plumvillage</category>
    </item>
    <item>
      <title>Rumi Never Wrote Poetry — Until a Stranger Threw His Books in Water</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:23:38 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/rumi-never-wrote-poetry-until-a-stranger-threw-his-books-in-water-4ilf</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/rumi-never-wrote-poetry-until-a-stranger-threw-his-books-in-water-4ilf</guid>
      <description>&lt;p&gt;Rumi is the best-selling poet in America. His words are on coffee mugs, tattoos, and wedding invitations.&lt;/p&gt;

&lt;p&gt;But before age 37, he had never written a single poem.&lt;/p&gt;

&lt;p&gt;He was a theology professor. Lectures every day. Hundreds of students. All the answers.&lt;/p&gt;

&lt;p&gt;Then a stranger in black threw his books in the water.&lt;/p&gt;

&lt;p&gt;That stranger — Shams-i-Tabrizi — didn't offer better answers. He destroyed the ones Rumi already had. They locked themselves in a room for 40 days. When Rumi emerged, his students didn't recognize him.&lt;/p&gt;

&lt;p&gt;The professor was gone. The poet had arrived.&lt;/p&gt;

&lt;p&gt;After Shams vanished, Rumi's grief produced over 100,000 verses — more than Shakespeare, Homer, and Dante combined.&lt;/p&gt;

&lt;p&gt;The lesson that stays with me:&lt;/p&gt;

&lt;p&gt;We spend our careers accumulating expertise, certainty, identity. Sometimes the most valuable thing isn't gaining more knowledge — it's letting go of the knowledge that's keeping you stuck.&lt;/p&gt;

&lt;p&gt;What certainty are you holding onto that might be holding you back?&lt;/p&gt;

&lt;p&gt;Note: Put video link in first comment, not in post body.&lt;br&gt;
Video: [link]&lt;/p&gt;

</description>
      <category>rumi</category>
      <category>rumistory</category>
      <category>shamstabrizi</category>
      <category>rumiandshams</category>
    </item>
    <item>
      <title>13 Empty Frames — The $500M Heist No One Can Solve</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:23:00 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/13-empty-frames-the-500m-heist-no-one-can-solve-4ih3</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/13-empty-frames-the-500m-heist-no-one-can-solve-4ih3</guid>
      <description>&lt;p&gt;Isabella Stewart Gardner did something extraordinary in 1903.&lt;/p&gt;

&lt;p&gt;She built a Venetian palazzo in Boston, filled it with Rembrandt, Vermeer, and Degas, then wrote a will that said: nothing can ever be moved.&lt;/p&gt;

&lt;p&gt;For 87 years, her vision was frozen in time. Then in 1990, two men in fake police uniforms stole 13 works worth $500 million.&lt;/p&gt;

&lt;p&gt;The FBI's longest investigation followed. Both suspects died. A $10 million reward sits unclaimed.&lt;/p&gt;

&lt;p&gt;But here's the part that stays with me: because of Gardner's will, the museum can't replace the paintings. So 13 ornate golden frames hang empty on the walls.&lt;/p&gt;

&lt;p&gt;Those empty frames have become the most photographed objects in the museum. More famous than the Titian masterpiece the thieves ignored.&lt;/p&gt;

&lt;p&gt;Sometimes absence speaks louder than presence. And sometimes the most powerful thing a leader can do is make a decision so clear that it endures long after they're gone — even when the world doesn't cooperate.&lt;/p&gt;

&lt;p&gt;The frames are still empty. The investigation is still open.&lt;/p&gt;

&lt;p&gt;Full story on ChronoLore: &lt;a href="https://www.youtube.com/watch?v=IBNUzCFQ4uY" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=IBNUzCFQ4uY&lt;/a&gt;&lt;/p&gt;

</description>
      <category>gardnermuseumheist</category>
      <category>artheist</category>
      <category>isabellastewartgardnermuseum</category>
      <category>unsolvedarttheft</category>
    </item>
    <item>
      <title>Dead Code Destroyed a $1.5B Company in 45 Minutes — Knight Capital</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:22:53 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/dead-code-destroyed-a-15b-company-in-45-minutes-knight-capital-1d5f</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/dead-code-destroyed-a-15b-company-in-45-minutes-knight-capital-1d5f</guid>
      <description>&lt;p&gt;On August 1, 2012, Knight Capital lost $440 million in 45 minutes. Not from a hack. From a deployment error.&lt;/p&gt;

&lt;p&gt;Dead code from 2003 woke up because one server out of eight missed an update. The deployment script failed silently and reported success.&lt;/p&gt;

&lt;p&gt;Four lessons every engineering leader should internalize:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Dead code is not inert. Power Peg sat dormant for 8 years. A 2005 refactoring silently broke it. When it accidentally triggered in 2012, it sent orders in an infinite loop — buying high, selling low, thousands per second.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Silent failures are the most dangerous failures. The SSH deployment script skipped a server and said everything was fine. 97 warning emails went out before market open. They looked like routine notifications. Nobody read them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Every system that can lose money needs a kill switch. Knight had none. When engineers tried to stop the bleeding, they panicked and removed the working code from the good servers — making it worse.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;No single decision was catastrophic. Don't delete old code. Reuse a free flag bit. Deploy manually. Skip verification. Each one was reasonable. Together: $440 million in 45 minutes.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;CEO Thomas Joyce went on live TV hours later: "Knight Capital Group screwed up. We screwed up." He raised $400M over a weekend to save the company — giving up 73% ownership.&lt;/p&gt;

&lt;p&gt;The company survived. Barely. It was acquired within a year.&lt;/p&gt;

&lt;p&gt;Every team shipping code today faces the same pressures. Knight Capital is why CI/CD, kill switches, and infrastructure-as-code aren't best practices — they're survival strategies.&lt;/p&gt;

&lt;p&gt;Full story on CodeLore: &lt;a href="https://www.youtube.com/watch?v=JJTWt0ekufI" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=JJTWt0ekufI&lt;/a&gt;&lt;/p&gt;

</description>
      <category>knightcapital</category>
      <category>deadcode</category>
      <category>440millionbug</category>
      <category>softwaredeployment</category>
    </item>
    <item>
      <title>Dead Code Phá Hủy Công Ty 1,5 Tỷ Đô Trong 45 Phút — Knight Capital</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:12:38 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/dead-code-pha-huy-cong-ty-15-ty-do-trong-45-phut-knight-capital-ihj</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/dead-code-pha-huy-cong-ty-15-ty-do-trong-45-phut-knight-capital-ihj</guid>
      <description>&lt;h1&gt;
  
  
  Dead Code Phá Hủy Công Ty 1,5 Tỷ Đô Trong 45 Phút — Phân Tích Kỹ Thuật Vụ Knight Capital
&lt;/h1&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Knight Capital mất $440 triệu trong 45 phút ngày 1/8/2012 từ lỗi deployment&lt;/li&gt;
&lt;li&gt;Dead code (Power Peg) từ 2003 bị kích hoạt do tái sử dụng flag bit&lt;/li&gt;
&lt;li&gt;1/8 server thiếu bản cập nhật, script deploy thất bại âm thầm&lt;/li&gt;
&lt;li&gt;97 email cảnh báo không ai đọc, không có kill switch&lt;/li&gt;
&lt;li&gt;SEC phạt $12 triệu — vụ thực thi đầu tiên theo Market Access Rule&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Kiến Trúc Hệ Thống
&lt;/h2&gt;

&lt;h3&gt;
  
  
  SMARS — Smart Market Access Routing System
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Parent Order → SMARS → 8 Production Servers → Child Orders → Market
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Nhận lệnh "cha" từ broker-dealer và khách hàng tổ chức&lt;/li&gt;
&lt;li&gt;Chia thành nhiều lệnh "con" để thực thi&lt;/li&gt;
&lt;li&gt;Phân phối round-robin qua 8 server production&lt;/li&gt;
&lt;li&gt;Xử lý hơn 3,3 tỷ giao dịch/ngày&lt;/li&gt;
&lt;li&gt;Dùng serialized structs (không JSON/protobuf) cho tốc độ&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Power Peg — Dead Code
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Loại lệnh cũ từ đầu 2000s cho market-making thủ công&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2003:&lt;/strong&gt; Deprecated — không ai dùng nữa&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2005:&lt;/strong&gt; Refactoring di chuyển cumulative quantity tracking lên sớm hơn trong code&lt;/li&gt;
&lt;li&gt;Hậu quả: Power Peg mất khả năng biết khi nào lệnh hoàn thành&lt;/li&gt;
&lt;li&gt;Nếu chạy lại → vòng lặp vô hạn gửi lệnh&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Không ai test lại&lt;/strong&gt; sau refactoring&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Chuỗi Sự Kiện
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Flag Repurposing (Tháng 7/2012)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Bit field: [RLP(old:PowerPeg)] [flag2] [flag3] ... [flag8]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;NYSE ra mắt Retail Liquidity Program (RLP)&lt;/li&gt;
&lt;li&gt;Kỹ sư cần flag mới → hết bit trống → tái sử dụng flag Power Peg&lt;/li&gt;
&lt;li&gt;Code mới: flag = RLP indicator&lt;/li&gt;
&lt;li&gt;Code cũ (nếu còn): flag = kích hoạt Power Peg&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Deployment Thất Bại Âm Thầm
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Pseudocode deploy script&lt;/span&gt;
&lt;span class="k"&gt;for &lt;/span&gt;server &lt;span class="k"&gt;in &lt;/span&gt;servers:
    ssh &lt;span class="nv"&gt;$server&lt;/span&gt; &lt;span class="s2"&gt;"copy binary"&lt;/span&gt;  &lt;span class="c"&gt;# Nếu SSH fail → SILENT, tiếp tục&lt;/span&gt;
&lt;span class="c"&gt;# Báo cáo: SUCCESS (dù 1 server bị skip)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;7/8 server: code mới (RLP)&lt;/li&gt;
&lt;li&gt;1/8 server: code cũ (Power Peg + flag tái sử dụng)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Không peer review&lt;/strong&gt; deployment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Không verification&lt;/strong&gt; tự động&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Không diff check&lt;/strong&gt; giữa servers&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. 97 Email Cảnh Báo (8:01 AM, 1/8/2012)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight email"&gt;&lt;code&gt;&lt;span class="nt"&gt;Subject&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="na"&gt; SMARS - Power Peg disabled&lt;/span&gt;
&lt;span class="nt"&gt;Priority&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="na"&gt; Normal (không phải Critical)&lt;/span&gt;
&lt;span class="nt"&gt;Recipients&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="na"&gt; Knight personnel group&lt;/span&gt;
&lt;span class="nt"&gt;Action taken&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="na"&gt; None&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. Thảm Họa (9:30 - 10:15 AM)
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Con số&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Parent orders affected&lt;/td&gt;
&lt;td&gt;212&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Child orders generated&lt;/td&gt;
&lt;td&gt;Hàng triệu&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Trades executed&lt;/td&gt;
&lt;td&gt;4+ triệu&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stocks affected&lt;/td&gt;
&lt;td&gt;154&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Total shares&lt;/td&gt;
&lt;td&gt;397 triệu&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Position value&lt;/td&gt;
&lt;td&gt;$7.65 tỷ&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Loss rate&lt;/td&gt;
&lt;td&gt;~$10 triệu/phút&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total loss&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$440 triệu&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Duration&lt;/td&gt;
&lt;td&gt;45 phút&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  5. Không Kill Switch
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Khi cố dừng: kỹ sư &lt;strong&gt;gỡ code tốt&lt;/strong&gt; từ 7 server đúng&lt;/li&gt;
&lt;li&gt;Thay vì cô lập 1 server sai&lt;/li&gt;
&lt;li&gt;Tạm thời &lt;strong&gt;làm tệ hơn&lt;/strong&gt; trước khi tắt hết&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Hậu Quả
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Tài Chính
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Liquid assets Knight: $365 triệu &amp;lt; Loss: $440 triệu → &lt;strong&gt;mất khả năng thanh toán&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Cổ phiếu: $10.33 → $3.07 (-70%)&lt;/li&gt;
&lt;li&gt;Cứu hộ: 6 nhà đầu tư, $400 triệu, Knight mất 73% ownership&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pháp Lý
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;SEC phạt $12 triệu (Hồ sơ 3-15570)&lt;/li&gt;
&lt;li&gt;Vụ đầu tiên theo Rule 15c3-5 (Market Access Rule)&lt;/li&gt;
&lt;li&gt;Yêu cầu thuê consultant độc lập review toàn bộ controls&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Mua Lại
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;12/2012: Getco mua Knight → KCG Holdings (7/2013)&lt;/li&gt;
&lt;li&gt;2017: Virtu Financial mua KCG → tên Knight Capital biến mất&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  7 Bài Học Kỹ Thuật
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Xóa dead code&lt;/strong&gt; — Power Peg nằm 8 năm. Version control lưu lịch sử.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fail loud, không fail silent&lt;/strong&gt; — Script deploy báo success khi thực sự fail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Không tái sử dụng flag&lt;/strong&gt; — Semantic collision giữa code cũ và mới.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automate deployment&lt;/strong&gt; — 1 người, 8 server, không verify = thảm họa.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build kill switch&lt;/strong&gt; — Không có emergency stop → panic response làm tệ hơn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alert phải actionable&lt;/strong&gt; — 97 email giống noise → bị ignore.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test deployment end-to-end&lt;/strong&gt; — Code pass review, deployment process không bao giờ test.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Modern Relevance
&lt;/h2&gt;

&lt;p&gt;Mỗi team ship code hôm nay đối mặt cùng áp lực: legacy systems, manual processes, deadline gấp. Knight Capital là lý do CI/CD, kill switches, và infrastructure-as-code không phải best practices — mà là &lt;strong&gt;chiến lược sinh tồn&lt;/strong&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Video storytelling trên kênh CodeLore&lt;/em&gt;&lt;/p&gt;

</description>
      <category>knightcapital</category>
      <category>deadcode</category>
      <category>lỗiphầnmềm</category>
      <category>deploy</category>
    </item>
    <item>
      <title>Một File 40KB Đánh Sập 8.5 Triệu Máy — Thảm Họa CrowdStrike</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:12:33 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/mot-file-40kb-danh-sap-85-trieu-may-tham-hoa-crowdstrike-1eae</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/mot-file-40kb-danh-sap-85-trieu-may-tham-hoa-crowdstrike-1eae</guid>
      <description>&lt;h1&gt;
  
  
  Một File 40KB Đánh Sập 8.5 Triệu Máy — Bài Học CrowdStrike Cho Developer
&lt;/h1&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;CrowdStrike đẩy config file có 21 fields, parser expect 20 → out-of-bounds read → kernel crash → boot loop 8.5M máy&lt;/li&gt;
&lt;li&gt;Thiệt hại $5.4 tỷ, 5,078 chuyến bay hủy, 15 bang mất 911&lt;/li&gt;
&lt;li&gt;CEO George Kurtz từng gây thảm họa giống hệt ở McAfee năm 2010&lt;/li&gt;
&lt;li&gt;Root cause: không có bounds check + không integration test&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Chuyện gì đã xảy ra?
&lt;/h2&gt;

&lt;p&gt;Ngày 19 tháng 7 năm 2024, lúc 04:09 UTC, CrowdStrike đẩy Channel File 291 — một file cấu hình 40KB — đến tất cả máy Windows chạy Falcon Sensor.&lt;/p&gt;

&lt;p&gt;Falcon là sản phẩm bảo mật endpoint của CrowdStrike, chạy ở &lt;strong&gt;kernel level&lt;/strong&gt; — cùng cấp quyền với chính Windows. 298 trong Fortune 500 dùng sản phẩm này.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bug kỹ thuật
&lt;/h3&gt;

&lt;p&gt;File cấu hình mới định nghĩa một &lt;strong&gt;IPC Template Type&lt;/strong&gt; với 21 input fields. Nhưng Content Interpreter — phần code xử lý file — chỉ expect 20 fields.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Template: 21 fields
Parser:   20 fields expected
Result:   out-of-bounds memory read → kernel crash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Content Validator&lt;/strong&gt; (bộ kiểm tra trước deploy) có logic error: validate cấu trúc template nhưng KHÔNG verify số lượng fields match với parser. Template pass validation dù có mismatch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Content Interpreter&lt;/strong&gt; không có runtime bounds checking. Khi đọc field thứ 21, nó truy cập vùng nhớ không tồn tại → invalid page fault → BSOD.&lt;/p&gt;

&lt;p&gt;Vì Falcon load sớm trong boot process (qua ELAM), mỗi lần restart máy lại crash → &lt;strong&gt;infinite boot loop&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Chuỗi failure
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Content Validator bug → template lỗi pass validation&lt;/li&gt;
&lt;li&gt;Không có bounds check ở runtime&lt;/li&gt;
&lt;li&gt;Validator và Interpreter test riêng, không integration test&lt;/li&gt;
&lt;li&gt;Auto-deploy toàn cầu không có canary/staged rollout&lt;/li&gt;
&lt;li&gt;Kernel-level crash = toàn bộ OS chết, không graceful recovery&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Timeline
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Giờ (UTC)&lt;/th&gt;
&lt;th&gt;Sự kiện&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;04:09&lt;/td&gt;
&lt;td&gt;CrowdStrike push Channel File 291&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;04:09-04:30&lt;/td&gt;
&lt;td&gt;Úc hit đầu tiên — sân bay Sydney, Melbourne crash&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;04:30-05:00&lt;/td&gt;
&lt;td&gt;Châu Á — Hong Kong, Singapore, IndiGo hủy 192 chuyến&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;05:00-05:27&lt;/td&gt;
&lt;td&gt;Châu Âu — London, Paris (1 tuần trước Olympics)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;05:27&lt;/td&gt;
&lt;td&gt;CrowdStrike revert — nhưng 8.5M máy đã có file&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;~06:00&lt;/td&gt;
&lt;td&gt;Mỹ thức dậy — Delta, United, American grounded&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;78 phút&lt;/strong&gt; từ push đến revert. Nhưng đã quá muộn.&lt;/p&gt;

&lt;h2&gt;
  
  
  Impact
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;8.5 triệu máy&lt;/strong&gt; Windows crash (dưới 1% tổng — nhưng là 1% quan trọng nhất)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$5.4 tỷ&lt;/strong&gt; thiệt hại Fortune 500&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5,078 chuyến bay&lt;/strong&gt; hủy&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;15+ bang&lt;/strong&gt; mất 911&lt;/li&gt;
&lt;li&gt;Bệnh viện hoãn phẫu thuật, mất theo dõi sinh hiệu trẻ sơ sinh&lt;/li&gt;
&lt;li&gt;Times Square tối đen, ESPN không phát sóng&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cách sửa — và Catch-22
&lt;/h2&gt;

&lt;p&gt;Boot Safe Mode → xóa file &lt;code&gt;C-00000291*.sys&lt;/code&gt; → reboot. Đơn giản.&lt;/p&gt;

&lt;p&gt;Nhưng phải làm &lt;strong&gt;bằng tay, từng máy&lt;/strong&gt;. Và BitLocker encryption cần recovery key 48 chữ số — lưu trên Active Directory — &lt;strong&gt;cũng đang crash&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Một admin quản lý 250,000 máy bị ảnh hưởng toàn cầu.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bài học cho developer
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Bounds checking không phải optional
&lt;/h3&gt;

&lt;p&gt;Ở kernel level, out-of-bounds read = crash toàn OS. Không có exception handler cứu bạn.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Integration testing &amp;gt; Unit testing
&lt;/h3&gt;

&lt;p&gt;Validator pass ≠ Interpreter handle được. Test chúng &lt;strong&gt;cùng nhau&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Canary deployment là bắt buộc
&lt;/h3&gt;

&lt;p&gt;Đẩy update cho 8.5M máy cùng lúc mà không có staged rollout = tự sát.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Kernel-level code cần review khác biệt
&lt;/h3&gt;

&lt;p&gt;Không phải mọi code đều bình đẳng. Code chạy ở ring-0 cần quy trình review nghiêm ngặt hơn.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Recovery plan phải independent
&lt;/h3&gt;

&lt;p&gt;Nếu recovery key lưu trên hệ thống có thể bị ảnh hưởng bởi chính sự cố → vô dụng.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Video storytelling đầy đủ trên kênh CodeLore&lt;/em&gt;&lt;/p&gt;

</description>
      <category>crowdstrike</category>
      <category>sựcốit</category>
      <category>lỗiphầnmềm</category>
      <category>mànhìnhxanh</category>
    </item>
    <item>
      <title>He Wrote the Book on Mercy — His Student Showed None</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:09:55 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/he-wrote-the-book-on-mercy-his-student-showed-none-42h9</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/he-wrote-the-book-on-mercy-his-student-showed-none-42h9</guid>
      <description>&lt;p&gt;Everyone called Seneca a hypocrite. The richest philosopher in Rome, writing about the worthlessness of wealth.&lt;/p&gt;

&lt;p&gt;But here's what they missed.&lt;/p&gt;

&lt;p&gt;He never claimed to be wise. He wrote, openly: "I am not a sage, nor shall I ever be."&lt;/p&gt;

&lt;p&gt;That radical honesty is exactly why his words still resonate 2,000 years later.&lt;/p&gt;

&lt;p&gt;Seneca spent 8 years exiled on a barren island. Instead of breaking, he turned it into a philosophical forge — writing his most beautiful work about grief, time, and the shortness of life.&lt;/p&gt;

&lt;p&gt;He tutored Nero. Wrote the most beautiful treatise on mercy ever written. Guided 5 golden years of good governance.&lt;/p&gt;

&lt;p&gt;Then watched his student become a monster.&lt;/p&gt;

&lt;p&gt;When Nero ordered him to die, Seneca met death with the calm he had always described. Not perfection. Just preparation.&lt;/p&gt;

&lt;p&gt;The lesson that stays with me:&lt;/p&gt;

&lt;p&gt;You don't need to be perfect to pursue wisdom. You just need to keep trying. The gap between who you are and who you want to be isn't failure — it's the work itself.&lt;/p&gt;

&lt;p&gt;"We suffer more often in imagination than in reality."&lt;/p&gt;

&lt;p&gt;What's one piece of ancient wisdom that still guides your thinking today?&lt;/p&gt;

&lt;p&gt;Note: Put video link in first comment, not in post body.&lt;br&gt;
Video: [link]&lt;/p&gt;

</description>
      <category>seneca</category>
      <category>senecastoicism</category>
      <category>stoicphilosophy</category>
      <category>senecanero</category>
    </item>
    <item>
      <title>11 Lines of Code Broke the Entire Internet</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:09:40 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/11-lines-of-code-broke-the-entire-internet-49j7</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/11-lines-of-code-broke-the-entire-internet-49j7</guid>
      <description>&lt;p&gt;In 2016, one developer deleted 11 lines of JavaScript. Facebook, Netflix, and thousands of companies broke instantly.&lt;/p&gt;

&lt;p&gt;But here's the part most people miss.&lt;/p&gt;

&lt;p&gt;npm's CEO personally provided the developer with the script to delete everything. The platform facilitated the crisis it then scrambled to fix.&lt;/p&gt;

&lt;p&gt;The developer — Azer Koculu — wasn't angry. He was principled. A corporation wanted his package name. npm gave it to them without consent. So he left the platform entirely.&lt;/p&gt;

&lt;p&gt;One of his 273 deleted packages was "left-pad." A string-padding function. 2.5 million downloads/month. React depended on it. Babel depended on it. Nobody knew.&lt;/p&gt;

&lt;p&gt;The fix? npm restored his code from backup. Without permission. Again.&lt;/p&gt;

&lt;p&gt;He was protesting that the platform didn't respect individual developers. And the fix proved him exactly right.&lt;/p&gt;

&lt;p&gt;This story isn't about 11 lines of code. It's about who owns open source infrastructure. When millions depend on your unpaid work — do you still own it?&lt;/p&gt;

&lt;p&gt;Ten years later, the dependency problem is worse. The average JS project has hundreds of transitive dependencies from strangers with no contracts, no SLAs, no obligations.&lt;/p&gt;

&lt;p&gt;Every &lt;code&gt;npm install&lt;/code&gt; is an act of blind faith.&lt;/p&gt;

&lt;p&gt;Note: Put video link in first comment, not in post body.&lt;br&gt;
Video: [link]&lt;/p&gt;

</description>
      <category>leftpad</category>
      <category>npmleftpadincident</category>
      <category>11linesofcode</category>
      <category>javascriptbrokeinternet</category>
    </item>
    <item>
      <title>The Woman Who Lives in Every Lab on Earth — Henrietta Lacks</title>
      <dc:creator>Phuoc Nguyen Dang</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:09:19 +0000</pubDate>
      <link>https://dev.to/phuoc_nguyendang_12ed536/the-woman-who-lives-in-every-lab-on-earth-henrietta-lacks-2ini</link>
      <guid>https://dev.to/phuoc_nguyendang_12ed536/the-woman-who-lives-in-every-lab-on-earth-henrietta-lacks-2ini</guid>
      <description>&lt;p&gt;110,000 scientific papers. 5 Nobel Prizes. The polio vaccine. COVID-19 vaccines. Cancer treatments. Gene mapping.&lt;/p&gt;

&lt;p&gt;All built on cells from one woman. Who was never asked.&lt;/p&gt;

&lt;p&gt;Henrietta Lacks was a 31-year-old mother of five. In 1951, a doctor took her cancer cells without consent. She died months later. Her family didn't find out for 25 years.&lt;/p&gt;

&lt;p&gt;Her daughter Deborah — whose mother made modern medicine possible — couldn't afford her own medication.&lt;/p&gt;

&lt;p&gt;The first settlement came in 2023. 72 years after the cells were taken.&lt;/p&gt;

&lt;p&gt;This story raises a question every leader should think about: What does it mean when the foundation of an industry was built on someone who was never asked? When the people who benefit most are the furthest from the people who made it possible?&lt;/p&gt;

&lt;p&gt;Full story on ScienceLore: &lt;a href="https://www.youtube.com/watch?v=yfIcjFM7BL0" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=yfIcjFM7BL0&lt;/a&gt;&lt;/p&gt;

</description>
      <category>henriettalacks</category>
      <category>helacells</category>
      <category>immortalcells</category>
      <category>medicalethics</category>
    </item>
  </channel>
</rss>
