<?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: A. Ababa</title>
    <description>The latest articles on DEV Community by A. Ababa (@better_call_sriz).</description>
    <link>https://dev.to/better_call_sriz</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1074047%2Ffa2a9e98-39e8-40e2-9213-401a370a998d.jpg</url>
      <title>DEV Community: A. Ababa</title>
      <link>https://dev.to/better_call_sriz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/better_call_sriz"/>
    <language>en</language>
    <item>
      <title>RAMageddon: How the AI Gold Rush Is Emptying Your Wallet, One Gigabyte at a Time</title>
      <dc:creator>A. Ababa</dc:creator>
      <pubDate>Tue, 21 Jul 2026 07:41:20 +0000</pubDate>
      <link>https://dev.to/better_call_sriz/ramageddon-how-the-ai-gold-rush-is-emptying-your-wallet-one-gigabyte-at-a-time-5h9o</link>
      <guid>https://dev.to/better_call_sriz/ramageddon-how-the-ai-gold-rush-is-emptying-your-wallet-one-gigabyte-at-a-time-5h9o</guid>
      <description>&lt;p&gt;If you've priced a new laptop, phone, or gaming console this summer, you've probably felt it: the same product now costs hundreds of dollars more than it did a year ago. This isn't garden-variety inflation. It's the fallout of a silent war for a component that most of us never think about: memory chips.&lt;/p&gt;

&lt;p&gt;The industry has started calling it "RAMageddon." It's not hype. It's now backed by a federal lawsuit.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Bill Has Arrived
&lt;/h2&gt;

&lt;p&gt;On June 25, 2026, Apple and Microsoft both announced sweeping price hikes across their most popular products on the very same day, and both cited the same cause: an AI-driven global memory shortage.&lt;/p&gt;

&lt;p&gt;📈 Apple: MacBook Air jumped from $1,099 to $1,299. The entry MacBook Pro went from $1,699 to $1,999. iPad Air rose from $599 to $749, and iPad Pro from $999 to $1,199, increases of up to $300 in a single announcement. Apple said it had been absorbing rising component costs for months and had simply run out of room. Tim Cook, in a Wall Street Journal interview, described the memory crunch as a "hundred-year flood." Analysts now expect the iPhone 18 to carry a $150 to $200 premium when it launches in September, even though phones were spared this round.&lt;/p&gt;

&lt;p&gt;🎮 Microsoft: Hours later, Microsoft raised Xbox console prices by $100 to $150 and discontinued its highest-storage configuration entirely. The company said console memory and storage costs have already risen more than 150%, and it expects another doubling by fall 2027.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb149t3gwnbbb87qni3m5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb149t3gwnbbb87qni3m5.png" alt="Same products, same day." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This isn't limited to two giants. Valve just launched its new Steam Machine at $1,919 for the top configuration, pricier than originally planned, the company said, specifically because of the RAM shortage. IDC now projects the worst annual smartphone shipment decline on record (nearly 14%) and an 11%+ drop in PC shipments for 2026, driven almost entirely by memory-driven price increases pricing out everyday buyers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Whos Actually Holding the Supply
&lt;/h2&gt;

&lt;p&gt;Three companies, Samsung, SK Hynix, and Micron, control roughly &lt;strong&gt;90%&lt;/strong&gt; of the world's DRAM supply. Building a new fab costs &lt;strong&gt;$15 to 20 billion&lt;/strong&gt; and takes years, so that concentration isn't changing anytime soon.&lt;/p&gt;

&lt;p&gt;Here's the mechanism driving the squeeze: manufacturing one gigabyte of High-Bandwidth Memory (HBM), the specialized chip that AI accelerators need, consumes roughly &lt;strong&gt;3-times&lt;/strong&gt; the wafer capacity of standard DDR5 used in your laptop. Every wafer redirected to HBM is a wafer pulled straight out of the consumer supply chain.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6t5fp5q5337c0me5bj8r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6t5fp5q5337c0me5bj8r.png" alt="The math behind the shortage." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And the redirection has been dramatic:&lt;/p&gt;

&lt;p&gt;SK Hynix has reportedly locked in &lt;strong&gt;60 to 70%&lt;/strong&gt; of its next-generation HBM4 capacity for Nvidia alone, tied to Nvidia's upcoming "Vera Rubin" AI platform. Nvidia has reportedly prepaid SK Hynix and Micron &lt;strong&gt;$540 to 770 million&lt;/strong&gt; each just to secure the allocation. Preliminary agreements for OpenAI's &lt;strong&gt;$500 billion&lt;/strong&gt; &lt;em&gt;Stargate project&lt;/em&gt; point to demand of up to &lt;strong&gt;900,000 DRAM wafers per month&lt;/strong&gt;, which could represent as much as &lt;strong&gt;40%&lt;/strong&gt; of total global DRAM output.&lt;/p&gt;

&lt;p&gt;Micron formally exited the consumer DRAM business in December 2025.&lt;br&gt;
The payoff for manufacturers has been staggering, since SK Hynix's Q1 2026 operating profit rose &lt;strong&gt;405% year-over-yea&lt;/strong&gt;r to a &lt;strong&gt;72%&lt;/strong&gt; operating margin, which was reportedly higher than Nvidia's. Micron posted record quarterly revenue of &lt;strong&gt;$41.5 billion&lt;/strong&gt; with an &lt;strong&gt;85%&lt;/strong&gt; gross margin, and it is guiding toward &lt;strong&gt;$50 billion&lt;/strong&gt; next quarter.&lt;/p&gt;

&lt;p&gt;Meanwhile, TrendForce data shows conventional DRAM contract prices jumped &lt;strong&gt;80 to 98%&lt;/strong&gt; in Q1 2026 alone, with further double-digit increases still forecast through the rest of the year.&lt;/p&gt;

&lt;h2&gt;
  
  
  Now, It's in Court
&lt;/h2&gt;

&lt;p&gt;This is where it stops being just an industry story. On June 25, 2026, 17 plaintiffs (14 consumers and three small PC-building businesses) filed a federal antitrust class action against Samsung, SK Hynix, and Micron in the Northern District of California &lt;em&gt;(Garciaguirre v. Samsung Electronics)&lt;/em&gt;. The complaint alleges the three companies used the shift to AI-focused HBM production as cover to deliberately choke output of legacy DDR3 and DDR4 memory, driving conventional DRAM prices up by roughly &lt;strong&gt;700% over four years&lt;/strong&gt;. It even points to Apple's own price hikes as evidence of the downstream damage. The suit seeks an injunction and treble damages.&lt;/p&gt;

&lt;p&gt;It's worth being precise here, since these are allegations, not findings. Micron has publicly denied wrongdoing, saying it competes lawfully and vigorously. History cuts both ways for the plaintiffs, too. Samsung and SK Hynix's predecessor did plead guilty to real, criminal DRAM price-fixing in the mid-2000s, resulting in over &lt;strong&gt;$700 million&lt;/strong&gt; in combined fines and prison time for several executives. But a nearly identical class action filed in 2018, which alleged collusion during the 2016 to 2017 DRAM price spike, was dismissed in 2020 and upheld on appeal in 2022. The courts ruled that three companies independently cutting output in a concentrated market, a practice antitrust law calls "conscious parallelism," isn't automatically illegal. Proving an actual agreement, rather than three firms rationally chasing the same profits, is a much higher legal bar, and that's precisely the question this new case will have to answer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsrsb402vetbmmp7qadhq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsrsb402vetbmmp7qadhq.png" alt="This isn't the industry's first price-fixing accusation." width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A Familiar Pattern, With a Twist
&lt;/h2&gt;

&lt;p&gt;For anyone who's watched commodity markets in South Asia, the shape of this story feels familiar. Cold storage syndicates hoarding potatoes and onions during peak harvest, releasing them gradually at inflated prices while blaming weather or crop failure, is a well-worn playbook for engineering artificial scarcity.&lt;/p&gt;

&lt;p&gt;The DRAM story rhymes with that pattern: a concentrated handful of players, control of the bottleneck, advance deals that lock up supply years ahead, and a convenient external narrative ("it's just AI demand") to explain the squeeze. But there's a crucial difference, and it's the one a US federal court now has to untangle: unlike a black-market syndicate, none of what Samsung, SK Hynix, and Micron have done is obviously illegal. Chasing the most profitable product a factory can make is, on its face, ordinary capitalism. Whether it crosses into an unlawful agreement to hurt consumers is exactly what Garciaguirre v. Samsung will need to prove.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Real Question
&lt;/h2&gt;

&lt;p&gt;Is this simply supply and demand doing what markets do when a once-in-a-generation technology shock hits a genuinely scarce resource? Or is a market this concentrated, with three players controlling 90% of global supply and multibillion-dollar barriers to entry, structurally incapable of behaving competitively once the incentives align?&lt;/p&gt;

&lt;p&gt;Either way, the person paying the "AI tax" isn't Nvidia, OpenAI, or the hyperscalers. It's the student buying their first laptop, the small business upgrading office PCs, and the family replacing a broken Xbox.&lt;/p&gt;

&lt;p&gt;What do you think: is this free market at work, or a supply chain concentrated enough that "independent" decisions start looking a lot like coordination?&lt;/p&gt;




&lt;p&gt;Sources: Tom's Hardware, CNBC, CBS News, Al Jazeera, Reuters/TrendForce, Fortune, Yahoo Finance, Notebookcheck, and court filings in Garciaguirre v. Samsung Electronics (N.D. Cal., No. 5:26-cv-06345).&lt;/p&gt;

</description>
      <category>ai</category>
      <category>news</category>
      <category>discuss</category>
      <category>chatgpt</category>
    </item>
    <item>
      <title>Porting a Pygame Game from Arch (BTW) to Android (By losing my mind so you don’t have to)</title>
      <dc:creator>A. Ababa</dc:creator>
      <pubDate>Tue, 20 Jan 2026 21:32:31 +0000</pubDate>
      <link>https://dev.to/better_call_sriz/porting-a-pygame-game-from-arch-btw-to-android-by-losing-my-mind-so-you-dont-have-to-19d4</link>
      <guid>https://dev.to/better_call_sriz/porting-a-pygame-game-from-arch-btw-to-android-by-losing-my-mind-so-you-dont-have-to-19d4</guid>
      <description>&lt;h3&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If you have ever tried to run &lt;code&gt;buildozer android debug&lt;/code&gt; on a rolling-release distribution like Arch Linux, you probably know the pain. It usually starts with a simple command and ends with you staring at &lt;em&gt;gcc compiler logs&lt;/em&gt; at 3 AM, wondering why &lt;em&gt;longintrepr.h&lt;/em&gt; is missing.&lt;/p&gt;

&lt;h4&gt;
  
  
  Table of Contents
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;The Golden Stack (TL;DR)&lt;/li&gt;
&lt;li&gt;Step 1: System Prerequisites&lt;/li&gt;
&lt;li&gt;Step 2: The Virtual Environment&lt;/li&gt;
&lt;li&gt;Step 3: The "Flag Sanitization" Patch&lt;/li&gt;
&lt;li&gt;Step 4: Building the APK&lt;/li&gt;
&lt;li&gt;Troubleshooting Cheatsheet&lt;/li&gt;
&lt;li&gt;Final Thoughts&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;The Golden Stack (TL;DR)&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Android cross-compilation is fragile. If you mix the wrong versions of &lt;em&gt;Python, Cython,&lt;/em&gt; and &lt;em&gt;Java&lt;/em&gt;, the build fails. Here is the exact combination that works in 2026:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;The Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Python&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;3.11&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;3.12+ removed &lt;code&gt;distutils&lt;/code&gt;, breaking many Android recipes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cython&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt; 3.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Cython 3.0 removed &lt;code&gt;longintrepr.h&lt;/code&gt;, breaking Kivy/Pygame recipes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Java&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;JDK 17&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Required by the latest Android SDK/Gradle.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Step 1: System Prerequisites
&lt;/h4&gt;

&lt;p&gt;Arch is "bare bones," so we need to manually fetch the headers that &lt;em&gt;&lt;code&gt;python-for-android&lt;/code&gt; (p4a)&lt;/em&gt; needs to compile the recipes.&lt;/p&gt;

&lt;p&gt;Run the following in your terminal to install the build toolchain and headers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Update everything first
sudo pacman -Syu


# Install the build toolchain and headers
# We need jdk17-openjdk for Gradle and base-devel for gcc/make
sudo pacman -S git zip unzip jdk17-openjdk python pip python-virtualenv \
    base-devel autoconf libtool pkg-config zlib ncurses cmake libffi openssl
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Step 2: The Virtual Environment (DO NOT SKIP THIS)
&lt;/h4&gt;

&lt;p&gt;Never install &lt;em&gt;Buildozer&lt;/em&gt; or &lt;em&gt;Cython&lt;/em&gt; globally on Arch. System updates will break your build toolchain. We need an isolated environment where we can pin older versions of &lt;em&gt;Cython&lt;/em&gt; without messing up the system.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# 1. Create the venv with Python 3.11
python3.11 -m venv .venv


# 2. Activate it
source .venv/bin/activate


# 3. Install the specific versions
# We pin Cython &amp;lt; 3.0 to fix the "longintrepr.h" error
pip install "Cython&amp;lt;3.0" "setuptools&amp;lt;71.0.0" buildozer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Step 3: The "Flag Sanitization" Patch
&lt;/h4&gt;

&lt;p&gt;This was the hardest bug to track down.&lt;/p&gt;

&lt;p&gt;On Arch Linux, the system compilers are configured with aggressive security and optimization flags like &lt;code&gt;-fcf-protection&lt;/code&gt; (Intel Control-flow enforcement) and &lt;code&gt;-march=x86-64&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;When &lt;em&gt;Buildozer&lt;/em&gt; runs, it sometimes leaks these Host Flags into the Target (Android) build process. The Android NDK compiler sees &lt;code&gt;-march=x86-64&lt;/code&gt;, panics because it's trying to build for ARM, and crashes with cryptic errors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Fix:&lt;/strong&gt; We need to "sanitize" the environment variables in the recipe before the build starts.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to the pygame recipe inside your hidden .buildozer directory. It is usually located here: &lt;code&gt;.buildozer/android/platform/python-for-android/pythonforandroid/recipes/pygame/__init__.py&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Locate the &lt;code&gt;build_armeabi_v7a&lt;/code&gt; method and inject this sanitation logic:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import re


# ... inside the build_armeabi_v7a method ...
env = self.get_recipe_env(arch)


# 🧹 THE SANITIZER
# Strip flags that break ARM builds (like x86 specific protections)
bad_flags = [
    r'-m(arch|tune|cpu)=\S+',      # e.g., -march=x86-64
    r'-fcf-protection(=\S+)?',     # Intel specific
    r'-fno-plt'                    # PLT hardening
]


for var in ['CFLAGS', 'LDFLAGS']:
    if var in env:
        for pattern in bad_flags:
            env[var] = re.sub(pattern, '', env[var])


# ... proceed with the build ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This simple script strips the x86 flags before they reach the NDK.&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 4: Building the APK
&lt;/h4&gt;

&lt;p&gt;Now that our environment is clean and our flags are sanitized, we can build.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CRITICAL:&lt;/strong&gt; You must export your local &lt;code&gt;venv&lt;/code&gt; path before building. If you don't, &lt;em&gt;Buildozer&lt;/em&gt; might use the system &lt;em&gt;Cython (v3.0+)&lt;/em&gt; and fail.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Force the build to use our local venv tools
export PATH="$(pwd)/.venv/bin:$PATH"


# Build the debug APK
buildozer android debug
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Download the Android SDK/NDK (takes a while the first time).&lt;/li&gt;
&lt;li&gt;Compile Python 3.11 for ARM.&lt;/li&gt;
&lt;li&gt;Package your Pygame app.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If everything goes well, you’ll see the glorious &lt;code&gt;Application pushed.&lt;/code&gt; message.&lt;/p&gt;

&lt;h3&gt;
  
  
  Troubleshooting Cheatsheet
&lt;/h3&gt;

&lt;p&gt;If (when) things break, here is your rescue kit.&lt;/p&gt;

&lt;h4&gt;
  
  
  1. The &lt;strong&gt;"longintrepr.h not found"&lt;/strong&gt; Error
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cause:&lt;/strong&gt; You are using &lt;em&gt;Cython 3.0+&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix:&lt;/strong&gt; Run &lt;code&gt;pip install "Cython&amp;lt;3.0"&lt;/code&gt; and check your &lt;code&gt;PATH&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  2. The App Crashes Immediately
&lt;/h4&gt;

&lt;p&gt;Buildozer hides the Python errors. You need &lt;code&gt;logcat&lt;/code&gt; to see why your game crashed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Filter specifically for Python crashes
adb logcat -s python studio.flappybird.game
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. "Get Android SDK" Hangs
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Cause: You need to accept a license agreement.&lt;/li&gt;
&lt;li&gt;Fix: Run the command in the foreground first, or check your internet connection.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Final Thoughts
&lt;/h3&gt;

&lt;p&gt;Porting to Android doesn't have to be a nightmare, but on Linux (Arch BTW), you have to respect the toolchain. By pinning your dependencies and sanitizing your compiler flags, you can build reliable APKs even on a bleeding-edge distro like Arch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Happy Coding!&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>android</category>
      <category>archlinux</category>
      <category>gamedev</category>
    </item>
  </channel>
</rss>
