RSSAmplifier

Blog

Ayan Shafqat

My personal website

shafq.atRSS feed ↗8 posts

Latest posts

My GPU Fan Saga

Having a problem-solving mindset is incredibly valuable and rewarding, especially when it leads to exciting DIY adventures. My latest experience with a noisy GPU fan turned into just such an opportunity. It guided me through fascinating explorations involving ATX power, MOSFET motor drivers, Pulse Width Modulation (PWM), ATTiny85's bit-banged 1-wire …

Fixed-Point Tutorial #2

Introduction I've received a lot of feedback on my blog posts over the past few months. I'm humbled and grateful for the suggestions, and I always look forward to hearing from readers. You'll often see that I leave my mistakes in the posts along with the corrections, giving credit where …

Vectorizing IIR Filters: What are you Recursing?

Disclaimer: This article took quite a while to prepare. Although I’ve made every effort to fact-check and ensure the accuracy of the content, there may still be errors. If you notice any mistakes, please feel free to reach out and let me know! I like writing programs that run …

Strange Corners of C: Entering The Twilight Zone of the C Compiler

C is a fascinating programming language, simple enough to learn in a few days, yet powerful enough to build the world's most complex systems. With its lightweight runtime, C runs everywhere! From microwave ovens to spacecrafts, and everything in between. Sometimes, I can’t help but wonder: Is the universe …

An Alternate Present: Sound Policy, Standardization, and Global Collaboration

It has been just over five year since the government set in motion to breakup up tech monopolies. It was not a dramatic revolution, but enacting a series of incremental policy updates, revising tax codes, and introducing new guidelines for technology that touches every facet of our lives. Although this …

Float to Q1.15: A FizzBuzz for Audio Technical Interview

An easy-sounding “Float to Q1.15 ” challenge is proposed as an audio FizzBuzz interview question.

Introduction to Fixed Point Signal Processing

Fixed-point arithmetic is central to embedded signal processing where resources and power are often strictly limited. This article explains how Qm.n notation represents numbers with integer and fractional bits, highlighting range and resolution constraints. It discusses the trade-offs between floating-point’s easier development and fixed-point’s hardware cost savings. Examples illustrate clipping,…

Hello, world!

Hello! This is my first post. So... tmp = ` mktemp ` ; gcc -x c -o $tmp - << EOF &> /dev/null && $tmp #include <stdio.h> int main() { printf("Hello, world!\n"); } EOF Which should output: Hello, world!