<?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>Forem: Shayan Ijaz</title>
    <description>The latest articles on Forem by Shayan Ijaz (@urshayan).</description>
    <link>https://forem.com/urshayan</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%2F3495932%2F4a97b132-5f31-40e4-a01b-43e41b95c4b8.png</url>
      <title>Forem: Shayan Ijaz</title>
      <link>https://forem.com/urshayan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/urshayan"/>
    <language>en</language>
    <item>
      <title>The Part of Programmig AI still can't touch....</title>
      <dc:creator>Shayan Ijaz</dc:creator>
      <pubDate>Mon, 19 Jan 2026 07:06:23 +0000</pubDate>
      <link>https://forem.com/urshayan/the-part-of-programmig-ai-still-cant-touch-3332</link>
      <guid>https://forem.com/urshayan/the-part-of-programmig-ai-still-cant-touch-3332</guid>
      <description>&lt;h2&gt;
  
  
  The Noise Around AI Replacing Programmers
&lt;/h2&gt;

&lt;p&gt;There’s a lot of noise claiming that AI will completely replace programmers and make this skill worthless. Sounds crazy, right?&lt;/p&gt;

&lt;p&gt;Before panicking, let’s take a step back and look at history.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons from Calculators and Mathematicians
&lt;/h2&gt;

&lt;p&gt;Remember when calculators came into mathematics? They were faster and more accurate at calculations than humans.&lt;/p&gt;

&lt;p&gt;Did that mean mathematicians disappeared? No!&lt;/p&gt;

&lt;p&gt;Calculators didn’t exist to replace mathematicians—they existed to make calculations easier. This freed humans to focus on logic, reasoning, and problem-solving, while the calculators handled the repetitive work.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI in Programming ... the same principle
&lt;/h2&gt;

&lt;p&gt;AI in programming works similarly.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;It can write boilerplate code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It might even generate an entire codebase.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But managing the project, making decisions, and understanding the logic behind the code remains the programmer’s job. AI is a tool, not a replacement.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we still need to Understand the Fundamentals?
&lt;/h2&gt;

&lt;p&gt;Does this mean we should stop learning how to code? Not at all.&lt;/p&gt;

&lt;p&gt;It’s similar to arithmetic: if a calculator can do the basic operations but you don’t understand them, you’re blindly trusting a tool. You need knowledge first, then leverage the tool.&lt;/p&gt;

&lt;p&gt;AI works the same way. Without understanding programming fundamentals, you’ll just blindly accept what it produces.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Personal Experience Using AI
&lt;/h2&gt;

&lt;p&gt;even used AI to generate boilerplate code while building my first terminal-based library in C.&lt;/p&gt;

&lt;p&gt;It sped up the process significantly. All I had to do was understand the infrastructure and then let AI handle the repetitive parts—just like a calculator helping with arithmetic.&lt;/p&gt;

&lt;p&gt;This allowed me to focus on the thinking and structure behind the code, rather than typing everything from scratch.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;i am not good in articulating my thoughts...even i used AI to help me write this blog in a formal way...(im working on it!!...)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Takeaway
&lt;/h2&gt;

&lt;p&gt;My take? Use AI as a tool to bring your vision to life faster, not to replace your thinking.&lt;/p&gt;

&lt;p&gt;Learn, understand, and then let AI help accelerate the parts that don’t require your judgment. That’s where real programming value lies—and what AI still can’t touch.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>ai</category>
    </item>
    <item>
      <title>Pixel-Powered Encryption: Turning an Image into a Key with Python</title>
      <dc:creator>Shayan Ijaz</dc:creator>
      <pubDate>Fri, 02 Jan 2026 17:59:56 +0000</pubDate>
      <link>https://forem.com/urshayan/pixel-powered-encryption-turning-an-image-into-a-key-with-python-107j</link>
      <guid>https://forem.com/urshayan/pixel-powered-encryption-turning-an-image-into-a-key-with-python-107j</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2F0e3ff4lnncf371dpwtfy.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.amazonaws.com%2Fuploads%2Farticles%2F0e3ff4lnncf371dpwtfy.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&amp;gt; Ever wondered if an image could be your secret key? Not a password, not a string of numbers—an actual picture. Each pixel contributes to your encryption key, and without the exact same image, your message is unreadable.&lt;/p&gt;

&lt;p&gt;That’s exactly what I explored in a Python prototype, and today I’ll show you how it works and how you can try it yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why an Image as a Key?
&lt;/h2&gt;

&lt;p&gt;Images are basically data. Each pixel has red, green, and blue values (RGB). If we take these values and combine them in a predictable way, they can serve as a key stream for encryption.&lt;br&gt;
PPM format (P3) is perfect for this experiment: it’s a plain-text image format, easy to parse.&lt;br&gt;
Each pixel = three numbers (R, G, B) between 0 and 255.&lt;br&gt;
The order of pixels matters—mess with one pixel, and decryption fails.&lt;br&gt;
Think of it like this: your message is a lock, and your image is the key. Only the exact key image can open it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the Encryption Works
&lt;/h2&gt;

&lt;p&gt;We use a simple XOR encryption:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Convert your message to bytes.&lt;/li&gt;
&lt;li&gt;Convert the image pixels into a keystream. For each pixel, we collapse RGB into a single byte:
3.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;key_byte = (R + G + B) % 256
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;XOR each message byte with the corresponding key byte.&lt;/li&gt;
&lt;li&gt;Decryption is the same process—XOR is symmetric.
&lt;strong&gt;Note&lt;/strong&gt;: This is not secure encryption for real secrets. It’s a concept experiment for learning and fun.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why It’s Interesting
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Conceptual simplicity&lt;/strong&gt;: You don’t need advanced crypto knowledge to see how it works.&lt;br&gt;
&lt;strong&gt;Visual intuition&lt;/strong&gt;: The key is literally an image.&lt;br&gt;
&lt;strong&gt;Experiment-friendly&lt;/strong&gt;: You can modify pixels, shuffle, layer multiple images, etc.&lt;br&gt;
Even though it’s not secure, it’s a great playground for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Learning about image file formats (PPM)&lt;/li&gt;
&lt;li&gt;Understanding basic encryption concepts&lt;/li&gt;
&lt;li&gt;Exploring creative coding ideas&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try it or Contribute on : &lt;code&gt;https://github.com/urshayan/PpmCrypt&lt;/code&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>tutorial</category>
      <category>showdev</category>
      <category>python</category>
    </item>
    <item>
      <title>Ruby GUIs Are Dead… Or Are They?</title>
      <dc:creator>Shayan Ijaz</dc:creator>
      <pubDate>Thu, 25 Dec 2025 22:25:23 +0000</pubDate>
      <link>https://forem.com/urshayan/ruby-guis-are-dead-or-are-they-500n</link>
      <guid>https://forem.com/urshayan/ruby-guis-are-dead-or-are-they-500n</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2Fin5e02k8kshpiypg88q1.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Fin5e02k8kshpiypg88q1.jpg" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So I wanted to make a simple desktop app in Ruby — just a GitHub stats fetcher. You know, input a username, get their avatar, followers, repos… easy stuff.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Except it wasn’t that easy.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What’s up with Ruby GUI gems?
&lt;/h2&gt;

&lt;p&gt;Tk: basically dead on modern Ruby&lt;/p&gt;

&lt;p&gt;Shoes: fun idea, totally abandoned … Even the website seems to be crazy when downloading the executable&lt;/p&gt;

&lt;p&gt;Scarpe / FXRuby / Qt: either unstable, heavy, or impossible to set up&lt;/p&gt;

&lt;h2&gt;
  
  
  What worked
&lt;/h2&gt;

&lt;p&gt;I ended up using GTK3. It works. Cross-platform …and was easy to setup…&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned…
&lt;/h2&gt;

&lt;p&gt;Ruby is amazing for scripting, APIs, automation — but GUI support is neglected.&lt;br&gt;
Always check if a gem is maintained before committing time.&lt;br&gt;
Community contributions matter — a little patch here or a fork there can keep gems alive.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it matters
&lt;/h2&gt;

&lt;p&gt;If you’re a Ruby dev, or learning Ruby, don’t get discouraged. The tools are messy, but the language is still a joy. And if enough people care …maybe the GUI ecosystem can come back alive.&lt;/p&gt;

&lt;p&gt;Nonetheless, GTK3 works. Other gems mostly don’t. But hacking through it is part of the fun&lt;/p&gt;

</description>
      <category>programming</category>
      <category>ruby</category>
      <category>softwaredevelopment</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
