<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arad Haghi on Medium]]></title>
        <description><![CDATA[Stories by Arad Haghi on Medium]]></description>
        <link>https://medium.com/@arad.haghi?source=rss-4438dd431516------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6XYQkvWNcZ42Vu3JX7fa6A.png</url>
            <title>Stories by Arad Haghi on Medium</title>
            <link>https://medium.com/@arad.haghi?source=rss-4438dd431516------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:18:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arad.haghi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why I’m low-key obsessed with OpenClaw (and why you probably will be too)]]></title>
            <link>https://medium.com/@arad.haghi/why-im-low-key-obsessed-with-openclaw-and-why-you-probably-will-be-too-32d089554681?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/32d089554681</guid>
            <category><![CDATA[openclaw]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Sun, 19 Apr 2026 06:55:33 GMT</pubDate>
            <atom:updated>2026-04-19T06:55:33.344Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lpD0KsqqSqCdfaEdo0wd5g.png" /></figure><p>So I was doom-scrolling GitHub at 2am last week (don’t judge) and stumbled on this project that actually made me sit up straight. It’s called OpenClaw. Not another chatbot. Not another “AI wrapper.” An actual autonomous agent that lives on your computer and does work for you.</p><p>You message it on WhatsApp, Telegram, Discord, whatever you already use — even in group chats — and it just… handles stuff. Inbox zero while you’re sleeping. Checks you in for that flight you forgot about. Books the restaurant. Runs a terminal command you’re too lazy to type. Reads your files, writes new ones, remembers what you like. It’s creepy how good it feels.</p><p>The wild part? It runs 100% locally. No shady cloud SaaS slurping your data. You install it on your Mac/Windows/Linux box (or a cheap VPS if you’re fancy), drop in your own API keys (Claude, GPT, or even local models), and it goes. Everything stays on your machine unless you tell it otherwise.</p><p>Guy who built it is Peter Steinberger — the same dude behind PSPDFKit that basically every iOS dev has used at some point. Started life as Clawdbot back in November, did a quick rebrand dance (Moltbot era was… a choice), and landed on OpenClaw in late January. GitHub exploded. Community went feral. Deservedly so.</p><p>I’ve been running it for about ten days now. Yesterday it noticed I’d been complaining about my calendar being a mess, quietly reorganized my whole week, and sent me a polite summary through Signal. I didn’t even ask. I just woke up to it. Felt like having a ridiculously competent roommate who doesn’t eat my food.</p><p>Real talk though — this thing has full access to your computer. That’s powerful and terrifying. A couple people in the Discord already posted war stories of it being too helpful and going rogue on some scripts. <em>Start with baby permissions</em>. Read what it’s about to do. Treat it like a smart but slightly chaotic golden retriever with root access.</p><p>If you’re the type who’s been waiting for AI to finally stop talking and start working, this might be the first one that actually delivers. Open source, no paywalls, no VC bros telling you what you can and can’t do with your own agent.</p><p>Official site:</p><p><a href="https://openclaw.ai/">https://openclaw.ai</a></p><p>GitHub (stars raining):</p><p><a href="https://github.com/openclaw/openclaw8/">https://github.com/openclaw/openclaw8/</a></p><p>I’m not shilling. I’m just genuinely excited. Feels like the first time the “personal AI” promise actually showed up at my door instead of staying in some Silicon Valley demo.</p><p>Who else is playing with it? Drop your wildest “it did WHAT?!” story below. Or if you’re still on the fence, tell me why — I’m curious.</p><p>Go try it and come back and tell me I was right 😀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32d089554681" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My AI Developer Routine: How I Stay in the Driver’s Seat (and Actually Ship Faster Than Ever)]]></title>
            <link>https://medium.com/@arad.haghi/my-ai-developer-routine-how-i-stay-in-the-drivers-seat-and-actually-ship-faster-than-ever-5e04de813023?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e04de813023</guid>
            <category><![CDATA[cursor-ai]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Thu, 16 Apr 2026 00:18:55 GMT</pubDate>
            <atom:updated>2026-04-16T00:18:55.946Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3HjZgKAOiLiSvATEHXpwMw.png" /></figure><p>Let me be real with you: working with Cursor every day feels like having a genius teammate who never sleeps, never gets tired, and can crank out code at lightspeed. But if you’re not careful, that same teammate can leave you buried in review fatigue, second-guessing everything, and wondering whose codebase this actually is.Early on I got fed up with that feeling. So I built a tight, no-fluff routine that keeps the AI flying while I stay firmly in control. It’s simple, repeatable, and honestly a game-changer. Here’s exactly how I work now — and why it feels so much better.</p><h3>1. Tiny Tasks + 45-Minute “Vibe Coding” Bursts (My Anti-Fatigue Rule)</h3><p>I break every feature or refactor into bite-sized chunks on purpose. My unbreakable rule? <strong>No more than 45 minutes of straight “vibe coding”</strong> — that addictive flow where you’re prompting, accepting diffs, and iterating like crazy.</p><p>After 45 minutes I force a break (walk, coffee, stare out the window — whatever). During those bursts I’m not just generating code; I’m doing lightweight, on-the-fly reviews. Every diff is an early “tap on the shoulder” check. No more monster end-of-day PRs that make my brain melt. Small wins, fresh eyes, zero burnout.</p><h3>2. Start in Ask Mode When There’s Even a Hint of Uncertainty</h3><p>If the task has <em>any </em>unknowns (new API quirk, fuzzy business rule, architecture decision), I <strong>always </strong>kick off in Cursor’s Ask mode.</p><p>This is pure gold. I dump my doubts, ask the awkward questions, explore different angles, and make the model spell out pros, cons, and trade-offs in <em>my </em>exact app context. It’s like grabbing a senior architect for a quick whiteboard session before touching a single line of code. By the time I’m done, I actually understand the “why” — not just the “what.”</p><h3>3. Jump Straight to Agent Mode (But Plan First for the Big Stuff)</h3><p>After a few sharp Ask-mode rounds, I switch to agent (execution) mode for normal tasks and skip the full plan step completely. It’s faster and usually nails it.</p><p>Only for <strong>major changes</strong> — core domain refactors, big architecture shifts, or anything touching multiple layers — do I run plan mode first. That upfront plan cuts post-agent back-and-forth dramatically. Tiny time investment, massive time savings later.</p><h3>4. Smart, Focused Code Review (Because Not Everything Deserves Equal Love)</h3><p>I still review code like I did pre-AI, but way smarter:</p><ul><li><strong>Domain logic, business rules, and database changes</strong> → full, careful review every single time. The cost of screwing these up is just too high.</li><li>Everything else? I skim.</li><li><strong>UI code</strong> (still AI’s weakest spot) gets special treatment: I do a quick manual test <em>first</em>, feed the bugs straight back to the model, let it iterate 2–3 times, <em>then </em>skim the code. Saves hours of staring at mediocre UI diffs.</li></ul><h3>5. The Secret Weapon: Let the AI Write Killer Unit Tests</h3><p>Right after implementation, I ask the model to generate the most complete unit tests it possibly can. Hands down one of my highest-ROI moves.</p><p>Reading those tests is like having a brutally honest QA engineer who perfectly understands my intent. It instantly shows me where the business logic quietly drifted from what I actually wanted. I catch mismatches early and fix them before they ever become bugs.</p><h3>6. Close the Loop Like a Pro</h3><p>The second I’m happy with a change, I do three quick things:</p><ul><li>Ask the AI to update my project’s <strong>skills and rules</strong> if new patterns emerged.</li><li>Make sure documentation is freshly generated and every other doc is updated.</li><li>Commit.</li></ul><p>This keeps the AI’s context razor-sharp for the next task and stops slow drift over time.</p><h3>7. The Mid-Day “Random Codebase Walk” (My Sanity Check)</h3><p>This one might sound a little quirky, but it’s become non-negotiable.</p><p>Every mid-day I randomly open a part of the codebase I didn’t touch that day and just read it. I want to feel how everything connects. When you write the code yourself, you build a mental map automatically. When the AI writes it — even when it follows your patterns perfectly — that map stays a bit fuzzy.</p><p>Yes, I <em>could </em>just ask the model “where does X live?” But I need to <em>feel </em>like I’m still the owner. This 10–15 minute habit gives me that confidence and ownership. (I’ll probably evolve new tricks as the tools get even better, but for now this one keeps me grounded.)</p><p>This routine transformed how I build software. I move faster, the quality is higher, and — most importantly — I never feel like I’ve handed the keys to the AI.</p><p>The model is an incredible teammate, but these habits make sure I’m still the architect, the reviewer, and the one calling the shots.</p><p>If you’re using Cursor (or any AI coding tool) and feeling a bit overwhelmed by the speed, try stealing even two or three of these habits. You’ll be shocked how much more productive — and how much more<em> in charge</em> — you feel.</p><p>What about you? Got any clever tricks that keep you sane and owning your codebase while the AI does the heavy lifting? Drop them below — I’m always stealing good ideas! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e04de813023" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Practices for Structuring Claude Code Projects]]></title>
            <link>https://medium.com/@arad.haghi/best-practices-for-structuring-claude-code-projects-1b7144a683bc?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b7144a683bc</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[claude]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Tue, 07 Apr 2026 06:42:02 GMT</pubDate>
            <atom:updated>2026-04-07T07:03:40.090Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kC4MKB6jg3yWycOnkKrTyQ.png" /></figure><p>How you organize a project has a direct impact on how well Claude Code performs. Clear context, consistent structure, and explicit instructions aren’t just nice-to-haves — they’re what separate a smooth AI-assisted workflow from a frustrating one. Here are five principles worth following.</p><p><strong>1.</strong> <strong>Put CLAUDE.md at Your Project Root</strong></p><p>Think of <strong><em>CLAUDE.md</em></strong> as an onboarding guide written for an AI. Claude Code reads this file automatically at startup, so whatever you put here shapes every interaction. A good <strong><em>CLAUDE.md</em></strong> covers:</p><ul><li><strong>Project overview</strong> — what the project is and what it does</li><li><strong>Architecture</strong> — how the major pieces fit together</li><li><strong>Tech stack</strong> — frameworks, languages, and libraries in use</li><li><strong>Coding conventions</strong> — style rules, patterns to follow or avoid</li><li><strong>Folder structure</strong> — what lives where and why</li><li><strong>Common commands</strong> — dev, build, test, etc.</li><li><strong>Key requirements</strong> — performance targets, accessibility standards, testing strategy</li></ul><pre>my-project/<br> ├── CLAUDE.md<br> ├── package.json<br> ├── src/<br> ├── docs/<br> └── scripts/</pre><p>Here’s a concrete example for a .NET project:</p><pre># Project Overview<br>A RESTful API service for managing customer orders and inventory,<br>built with ASP.NET Core.<br><br># Architecture<br>Follows Clean Architecture with four layers: API, Application,<br>Domain, and Infrastructure. CQRS pattern via MediatR for all<br>business operations.<br><br># Tech Stack<br>- .NET 8 / ASP.NET Core Web API<br>- C# 12<br>- Entity Framework Core 8 (SQL Server)<br>- MediatR<br>- FluentValidation<br>- xUnit + Moq for testing<br><br># Coding Conventions<br>- Async/await throughout - no .Result or .Wait()<br>- Use records for DTOs and value objects<br>- One class per file; file name matches class name<br>- Commands and Queries live under Application/Features/{FeatureName}/<br>- Never expose domain entities directly from API responses<br><br># Folder Structure<br>src/<br>  Api/           → Controllers, middleware, program entry<br>  Application/   → CQRS handlers, DTOs, interfaces<br>  Domain/        → Entities, value objects, domain events<br>  Infrastructure/→ EF Core, repositories, external services<br>tests/<br>  Unit/<br>  Integration/<br><br># Commands<br>dotnet run --project src/Api<br>dotnet build<br>dotnet test<br>dotnet ef migrations add &lt;Name&gt; --project src/Infrastructure<br><br># Important Rules<br>- All endpoints must be authenticated unless explicitly marked [AllowAnonymous]<br>- Validate all inputs with FluentValidation before reaching handlers<br>- Integration tests must use a dedicated test database, never production</pre><blockquote><strong><em>Tip:</em></strong><em> If you’re working with an existing codebase, skip the blank-page problem by running </em><strong>/init</strong><em> inside Claude Code. It’ll generate a first draft of </em><strong>CLAUDE.md</strong><em> based on what it finds in your project.</em></blockquote><p><strong>2. Add a /docs Folder for Deeper Project Context</strong></p><p>For anything beyond configuration — feature plans, API references, architectural decisions, domain knowledge — a <strong><em>docs/</em></strong> folder gives Claude a structured place to look without cluttering your core instructions.</p><pre>docs/<br>  api.md                     → Endpoint contracts, request/response shapes<br>  project_roadmap.md         → Upcoming features and quarterly goals<br>  architecture-decisions.md  → ADRs explaining key design choices<br>  database-schema.md         → Table structure, relationships, index notes<br>  environment-setup.md       → Local dev setup, required secrets, service deps<br>  deployment.md              → CI/CD pipeline, staging vs production differences<br>  domain-glossary.md         → Business terms and definitions used in the codebase</pre><p>You can reference these directly in your prompts:</p><blockquote>“Read <strong>docs/api.md</strong> and implement the health check endpoint described there.”</blockquote><blockquote>“Check <strong>docs/architecture-decisions.md</strong> before proposing any changes to the data layer.”</blockquote><p>The more domain-specific your project is, the more value a <strong><em>domain-glossary.md</em></strong> pays off — Claude handles business logic far better when it understands the terminology.</p><p><strong>3. Break Large CLAUDE.md Files into Imported Sections</strong></p><p><strong><em>CLAUDE.md</em></strong> is loaded into context on every run, so keeping it lean matters. Claude Code supports inline imports using the<strong><em> path/to/file.md</em></strong> syntax, so you can modularize without losing any context.</p><p><strong>CLAUDE.md (trimmed)</strong></p><pre># Architecture<br>See @claude/architecture.md<br><br># Coding Conventions<br>See @claude/coding_conventions.md<br><br># Testing Strategy<br>See @claude/testing_strategy.md<br><br># Environment Setup<br>See @claude/environment_setup.md</pre><p><strong>Resulting structure:</strong></p><pre>CLAUDE.md<br>claude/<br>  architecture.md<br>  coding_conventions.md<br>  testing_strategy.md<br>  environment_setup.md</pre><p><strong>4. Store Service Scripts in a /tools Folder</strong></p><p>Claude Code will often generate utility scripts as part of larger workflows — database migrations, data seeding, export tools, and so on. Centralizing these in a /tools folder keeps them organized and easy to find.</p><pre>tools/<br>  migrate-db.py<br>  seed-data.py<br>  export-data.py<br>  check-env.sh</pre><p>The name <strong><em>tools </em></strong>(rather than <strong><em>scripts</em></strong>) is intentional. In most projects, “scripts” already carries a specific meaning tied to frontend or backend build processes. Using a distinct name avoids ambiguity for anyone navigating the repo.</p><p><strong>5. Keep Reusable Workflows in a /workflows Folder</strong></p><p>If you find yourself giving Claude the same multi-step instructions repeatedly, encode them as workflow files. These are markdown files that describe exactly how Claude should approach a particular type of task.</p><pre>claude/<br>  workflows/<br>    build-new-feature.md<br>    code-refactoring.md<br>    write-auto-tests.md<br>    migrate-db.md<br>    review-pull-request.md</pre><p>Invoking one is straightforward:</p><blockquote>“Follow <strong>claude/workflows/build-new-feature.md</strong> to add a discount code system.”</blockquote><p>Workflows can also chain together. <strong><em>A build-new-feature.md</em></strong> file, for example, could end with an instruction to run <strong><em>workflows/write-auto-tests.md</em></strong> once the feature is built — keeping the whole process consistent without any extra prompting from you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b7144a683bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blazor Server Best Practices — Part 1]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@arad.haghi/blazor-server-best-practices-part-1-3754ad7543d5?source=rss-4438dd431516------2"><img src="https://cdn-images-1.medium.com/max/1366/1*SXB9xk-kgBi3XcYMJGaH-A.png" width="1366"></a></p><p class="medium-feed-snippet">After exploring Blazor Server and utilizing it in a production environment, I noticed a significant lack of comprehensive best practices&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@arad.haghi/blazor-server-best-practices-part-1-3754ad7543d5?source=rss-4438dd431516------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@arad.haghi/blazor-server-best-practices-part-1-3754ad7543d5?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/3754ad7543d5</guid>
            <category><![CDATA[aspnet]]></category>
            <category><![CDATA[blazor]]></category>
            <category><![CDATA[aspnetcore]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 09:20:30 GMT</pubDate>
            <atom:updated>2025-09-09T09:20:30.304Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Blazor Server or Blazor WebAssembly? Which one is better?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@arad.haghi/blazor-server-or-blazor-webassembly-which-one-is-better-5f50f8195fd1?source=rss-4438dd431516------2"><img src="https://cdn-images-1.medium.com/max/1366/1*ELdFmsmg1jRfwQcoH4LJVw.png" width="1366"></a></p><p class="medium-feed-snippet">I have been an avid user of Blazor since its early stages, and I must admit that I enjoy both flavors of Blazor. A frequently asked&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@arad.haghi/blazor-server-or-blazor-webassembly-which-one-is-better-5f50f8195fd1?source=rss-4438dd431516------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@arad.haghi/blazor-server-or-blazor-webassembly-which-one-is-better-5f50f8195fd1?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f50f8195fd1</guid>
            <category><![CDATA[aspnet]]></category>
            <category><![CDATA[blazor]]></category>
            <category><![CDATA[aspnetcore]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 09:17:29 GMT</pubDate>
            <atom:updated>2025-09-09T09:17:29.213Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Lessons learned from PIM Implementation failures]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@arad.haghi/lessons-learned-from-pim-implementation-failures-b76dd230ffdb?source=rss-4438dd431516------2"><img src="https://cdn-images-1.medium.com/max/1366/1*oVaVxjoEr6kKJcYUfUda7w.png" width="1366"></a></p><p class="medium-feed-snippet">Twice we attempted to implement Privileged Identity Management (PIM) for an Azure tenant, but unfortunately, we were unsuccessful both&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@arad.haghi/lessons-learned-from-pim-implementation-failures-b76dd230ffdb?source=rss-4438dd431516------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@arad.haghi/lessons-learned-from-pim-implementation-failures-b76dd230ffdb?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/b76dd230ffdb</guid>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 09:11:42 GMT</pubDate>
            <atom:updated>2025-09-09T09:13:29.910Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What is Parquet Format?]]></title>
            <link>https://medium.com/@arad.haghi/what-is-parquet-format-d518ccc66a4e?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/d518ccc66a4e</guid>
            <category><![CDATA[microsoft-fabric]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 09:08:29 GMT</pubDate>
            <atom:updated>2025-09-09T09:08:29.360Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r6OlgleHhm6aomdWpKS3RQ.png" /></figure><p>Storing and analyzing massive datasets in the rapidly evolving field of data analytics and processing is of utmost importance. Meet Parquet format, an innovative solution that maximizes storage and processing efficiency by utilizing its high-performance columnar storage format. In this blog post, we will explore the world of Parquet, examining its characteristics, benefits, and practical use cases.</p><h3>Unveiling its Potential</h3><p>Parquet format is an open-source, columnar storage format developed for the Apache Hadoop ecosystem. Its primary objective is to enhance big data processing performance by maximizing storage efficiency and query execution speed. By organizing data in a columnar fashion, Parquet stores the values of each column separately. This approach enables superior compression, efficient column pruning, and advanced predicate pushdown, resulting in substantial speed and resource improvements.</p><h4>Columnar Storage: A Game-Changer</h4><p>Parquet leverages the inherent structure of data analytics workloads by storing data in a columnar format. Typically, queries access a subset of columns, and Parquet’s design choice capitalizes on this characteristic. The benefits are twofold: improved compression ratios and minimized disk data retrieval, leading to faster query execution times.</p><p>When it comes to analytic querying, there is a debate between column-oriented and row-based storage. Typically, we tend to generate and conceptualize data in rows, similar to how we organize information in Excel spreadsheets. Each row contains all the relevant data for a specific record, making it visually organized. However, for large-scale analytical querying, columnar storage offers notable advantages in terms of cost and performance.</p><p>In scenarios involving complex data like logs and event streams, a table with hundreds or thousands of columns and millions of rows is common. If this table were stored in a row-based format such as CSV, the following issues would arise:</p><ol><li>Longer query execution time: Retrieving data would take longer since more data has to be scanned. In contrast, columnar storage allows querying only the subset of columns needed to answer a query, often involving aggregation based on dimensions or categories.</li><li>Increased storage costs: Storing data as CSV files would be more expensive as they are not compressed as efficiently as formats like Parquet.</li></ol><p>Columnar storage formats offer inherent benefits, including improved compression and enhanced performance. They allow for querying data in a vertical manner, examining columns individually rather than scanning entire rows.</p><h4>Predicate Pushdown: Boosting Performance</h4><p>Predicate pushdown is a technique used in Parquet, a columnar storage file format, to optimize query performance by pushing down query predicates directly into the storage layer. It involves filtering the data at the storage level before reading it into memory, reducing the amount of data that needs to be processed during query execution.</p><p>When a query is issued against Parquet data, it often includes conditions or predicates that specify filtering criteria. Traditionally, without predicate pushdown, the query engine would read the entire Parquet dataset into memory and apply the predicates during query execution. This approach can be inefficient, especially for large datasets, as it requires reading and processing a significant amount of unnecessary data.</p><p>With predicate pushdown, Parquet takes advantage of its columnar storage format and metadata to push the filtering predicates down to the storage layer. This means that Parquet is aware of the structure and statistics of the data stored in each column, allowing it to determine which row groups or chunks of data can be skipped entirely based on the filtering conditions.</p><p>During query planning, Parquet examines the metadata and statistics associated with each column to identify the row groups or chunks that do not contain any relevant data according to the query predicates. These row groups are effectively pruned or skipped, reducing the amount of data that needs to be read and processed.</p><p>By pushing the predicates down to the storage layer, Parquet minimizes disk I/O and memory consumption during query execution. Only the necessary row groups or chunks are read into memory, improving query performance significantly. Additionally, since Parquet stores data in a compressed and columnar format, the benefits of predicate pushdown are further amplified as fewer columns and data pages need to be decompressed.</p><h4>Schema Evolution: Adapting to Change</h4><p>Parquet supports schema evolution, enabling the addition, deletion, and modification of columns without impacting the entire dataset. This flexibility is invaluable when dealing with evolving data schemas in real-world scenarios.</p><p>This flexibility in schema evolution is achieved through several key features and techniques:</p><ol><li>Schema Evolution without invalidating the existing data: This means that new columns can be added to accommodate additional data attributes, existing columns can be removed, and the data types of columns can be changed. The schema evolution capabilities ensure that both old and new versions of the schema can coexist within the same Parquet dataset.</li><li>Optional Fields: Parquet allows fields within a schema to be marked as optional. This means that data can be written with missing or null values for these optional fields. When reading the data, Parquet can handle these missing values gracefully, ensuring backward compatibility even when new optional fields are introduced in subsequent versions of the schema.</li><li>Metadata and Statistics: Parquet stores rich metadata and statistics alongside the data. This metadata includes information about the schema, data types, and column-level statistics such as min, max, and null value counts. By leveraging this metadata, Parquet can effectively handle schema evolution by intelligently processing and interpreting the data based on the schema information.</li><li>Write Path: When writing new data to a Parquet file, the writer libraries provide mechanisms to handle schema evolution. They allow for specifying the schema of the data being written, including any new columns or modifications. The writer libraries ensure that the new data is written in a way that aligns with the updated schema while maintaining compatibility with existing data.</li><li>Read Path: When reading Parquet data, the reader libraries can dynamically adapt to the schema defined in the metadata of the Parquet files. They can handle schema evolution by inferring the schema from the metadata and incorporating any changes or additions to the schema during the reading process. This allows applications to seamlessly process Parquet datasets with different schema versions.</li></ol><h4>Platform and Language Agnostic: Seamless Integration</h4><p>Designed to be platform and programming language agnostic, Parquet seamlessly integrates with various big data processing frameworks such as Apache Spark, Apache Hive, and Apache Impala. This versatility ensures easy adoption within existing data ecosystems.</p><h3>Real-World Applications</h3><p>Parquet format finds extensive applications across industries and use cases, including:</p><p><strong>Data Warehousing</strong>: With its columnar storage and compression efficiency, Parquet is an ideal choice for data warehousing, where fast query performance and reduced storage costs are paramount.</p><p><strong>Data Analytics: </strong>Parquet enables faster data processing and analysis for analytics workloads, making it suitable for interactive queries, ad-hoc analysis, and reporting tasks.</p><p><strong>Machine Learning:</strong> Parquet’s efficient data access and compression capabilities make it well-suited for training machine learning models on large datasets. Its integration with popular frameworks like Apache Spark allows seamless data preprocessing and feature engineering.</p><p><strong>Log Analytics:</strong> Parquet’s ability to efficiently handle large volumes of log data makes it a preferred format for log analytics and monitoring applications.</p><h3>Drawbacks</h3><p>Although Parquet presents numerous advantages compared to alternative data storage formats, it also entails certain drawbacks that users should take into account. One primary limitation of Parquet is its limited suitability for real-time data processing. As Parquet is optimized for columnar storage and batch processing, it may exhibit slowness and inefficiency when dealing with streaming data.</p><p>Another potential drawback is the complexity associated with working with Parquet, necessitating specialized tools and expertise for data extraction and analysis. Additionally, while Parquet excels in compression and query performance, writing data to Parquet files can occasionally be slower than other formats. In conclusion, while Parquet is an excellent choice for numerous big data applications, it might not be the most optimal solution for every use case.</p><h3>Conclusion</h3><p>Parquet format has revolutionized big data storage and processing, leveraging its columnar storage, compression efficiency, and support for schema evolution. Organizations dealing with large-scale data analytics can unlock the true potential of their data and gain valuable insights at an unprecedented pace. Whether it’s data warehousing, analytics, machine learning, or log analysis, Parquet offers performance benefits that significantly enhance data processing workflows. Embracing Parquet opens the door to a world of accelerated data analysis and empowers businesses to thrive in the era of big data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d518ccc66a4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Power of Shortcuts in Microsoft Fabric]]></title>
            <link>https://medium.com/@arad.haghi/exploring-the-power-of-shortcuts-in-microsoft-fabric-58b5f8d91ae6?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/58b5f8d91ae6</guid>
            <category><![CDATA[microsoft-fabric]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 08:48:16 GMT</pubDate>
            <atom:updated>2025-09-09T08:48:16.178Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FWiWJJO_R31tshazwRQt6w.png" /></figure><p>Microsoft launched Microsoft Fabric, a new end-to-end data and analytics platform, at Build 2023.</p><p>Microsoft Fabric introduces a groundbreaking feature called ‘Shortcuts.’ This innovative capability allows for seamless data virtualization across domains and clouds ‘<strong>without the need for data duplication or movement</strong>’.</p><p>In this post, we will look into the most noticeable features of shortcuts and understand how they can revolutionize data integration and utilization within the Microsoft Fabric ecosystem.</p><h4>Virtualize Data without Duplication</h4><p>Shortcuts in Microsoft Fabric offer a game-changing approach to data virtualization. By leveraging shortcuts, users can easily virtualize data across different domains and clouds without the hassle of duplicating the data. This means that you can access and utilize data from various sources while eliminating unnecessary data movement and replication.</p><h4>Symbolic Linking</h4><p>At its core, a shortcut is a symbolic link that establishes a connection between two data locations. It acts as a <strong>‘reference point’</strong>, allowing seamless access and interaction between different datasets. By creating shortcuts, you can effortlessly integrate data from warehouses into your lakehouse, expanding your data utilization capabilities.</p><h4>Consolidate Data across Workspaces</h4><p>One of the key benefits of shortcuts within Microsoft Fabric is the ability to consolidate data across different items or workspaces without altering the ownership of the data. This means you can reuse data multiple times without duplicating it, optimizing storage resources and improving overall efficiency.</p><h4>External Storage Account Management</h4><p>Shortcuts also provide flexibility when it comes to managing storage accounts. With Microsoft Fabric, you can manage existing storage accounts externally while still virtualizing them into a unified namespace called OneLake. This integration empowers you to leverage the power of shortcuts while maintaining control over your storage resources.</p><h4>Seamless Integration and Accessibility</h4><p>Shortcuts ensure that all data within Microsoft Fabric is mapped to a unified namespace, enabling you to access it through the same set of APIs, including the <a href="https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction">Azure Data Lake Storage (ADLS) Gen2</a>. This streamlined approach eliminates the need for complex data movement jobs and ensures data consistency across multiple sources.</p><h4>Embedded References</h4><p>Shortcuts within the OneLake lakehouse act as embedded references to file store locations. This unique feature makes it appear as if the files and folders are stored locally, providing a simplified and cohesive data management experience. In reality, the files and folders are located in their original storage locations, enabling efficient data utilization.</p><h4>Simplified Data Synchronization</h4><p>With shortcuts, the need for setting up and monitoring data movement jobs across different sources is eliminated. By leveraging shortcuts, you can keep your data in sync across various domains and clouds without the complexities associated with traditional data synchronization methods.</p><h4>Cross-Cloud Data Analysis</h4><p>Microsoft Fabric’s shortcut capability is not limited to its own ecosystem. It extends its functionality to competitor’s storage systems such as AWS S3, with plans for compatibility with Google Storage in the near future. This cross-cloud compatibility enables users to compose and analyze data seamlessly across different clouds, leveraging transparent and smart caching to reduce egress costs and optimize data accessibility.</p><p><a href="https://learn.microsoft.com/en-us/fabric/onelake/onelake-shortcuts">Shortcuts in Microsoft Fabric</a> offer a paradigm shift in data virtualization and management. With its ability to seamlessly integrate data across domains and clouds, eliminate duplication, and simplify data utilization, shortcuts empower organizations to maximize the value of their data. By leveraging this revolutionary feature, businesses can unlock new insights, improve efficiency, and drive innovation within their data ecosystems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58b5f8d91ae6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[State Management in Blazor]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@arad.haghi/state-management-in-blazor-3f2a787cf54e?source=rss-4438dd431516------2"><img src="https://cdn-images-1.medium.com/max/1366/1*Ei8LnhUpSJxYBhJKCkjM-A.png" width="1366"></a></p><p class="medium-feed-snippet">Blazor showcases its main essence through its extensive usage of components. Components serve as the building blocks of Blazor&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@arad.haghi/state-management-in-blazor-3f2a787cf54e?source=rss-4438dd431516------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@arad.haghi/state-management-in-blazor-3f2a787cf54e?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f2a787cf54e</guid>
            <category><![CDATA[aspnet]]></category>
            <category><![CDATA[blazor]]></category>
            <category><![CDATA[aspnetcore]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 07:57:25 GMT</pubDate>
            <atom:updated>2025-09-09T07:57:25.200Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Database vs. Data Warehouse vs. Data Lake]]></title>
            <link>https://medium.com/@arad.haghi/database-vs-data-warehouse-vs-data-lake-7c21518f18e3?source=rss-4438dd431516------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c21518f18e3</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-warehouse]]></category>
            <dc:creator><![CDATA[Arad Haghi]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 07:43:54 GMT</pubDate>
            <atom:updated>2025-09-09T07:43:54.446Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*56NqSas0p4BYy2TdtJ5iiQ.png" /></figure><p>You’re not alone if you’ve stumbled upon the terms Databases, Data Warehouses, and Data Lakes. It’s common to have questions and perhaps even feel bogged down by the complexity of the concepts. Fear not! In this post, I aim to clarify the key differences between these three and provide some considerations to help you make a more informed decision when choosing between them or designing a solution.</p><h3>Database</h3><p>Databases serve as extensive repositories for structured data and information, and primarily employed in <strong>Online Transaction Processing (OLTP)</strong> scenarios. Databases prioritize efficient data accessibility and retrieval procedures. While excelling at transactional operations, they may not be the most suitable for intensive data analysis. Databases can accommodate structured, semi-structured, or unstructured data. Relational databases use fixed rows and columns to organize data into tables. Non-relational databases, also known as NoSQL databases, adopt various models such as key-value pairs, JSON, tables with dynamic columns, as well as nodes and edges.</p><p>Databases are equipped with essential functionalities, which include:</p><ul><li>Transaction and concurrency control</li><li>Support for query languages</li><li>Support for relational and non-relational schemas</li></ul><h3>Data Warehouse</h3><p>A data warehouse is an advanced system designed to effectively store highly organized information gathered from multiple sources. It serves as a repository for both current and historical data obtained from various systems. The primary objective of employing a data warehouse is to integrate diverse data sources, enabling in-depth analysis, discovery of valuable insights, and the creation of comprehensive business intelligence (BI) reports. Data warehouses are specifically tailored to support <strong>Online Analytical Processing (OLAP)</strong>, a technology utilized to collect data from multiple origins. Subsequently, this collected data is deployed to fuel a wide range of analytical purposes, including business intelligence, reporting tasks, and forecasting endeavors.</p><p>Modern data warehouses typically offer a range of features, including:</p><ul><li>Robust ETL (Extract, Transform, Load) Support</li><li>Unparalleled Scalability for Large Data Volumes</li><li>Seamless Integration with OLAP and BI Tools</li><li>Enhanced Compatibility and Integration</li></ul><h3>Data Lake</h3><p>A data lake is a centralized storage system that houses data from various sources in its original, unmodified format. It accommodates structured, semi-structured, and unstructured data, enabling the storage of raw data without any preprocessing or transformation at the time of ingestion. Rather, the data is structured when required during retrieval, making it particularly advantageous for data scientists and analysis developers who can effortlessly create new data models on demand. However, this approach may not offer the same level of reporting capabilities and user-friendliness for business users. Data lakes offer a more cost-effective alternative to data warehouses for storing data. Similar to data warehouses, they can contain substantial volumes of current and historical data. Similar to data warehouses, data lakes support <strong>Online Analytical Processing (OLAP)</strong>.</p><p>Data lakes boast the following characteristics:</p><ul><li>Versatility in accommodating structured, semi-structured, or unstructured data.</li><li>Simplicity in scaling up the storage capacity according to the organization’s needs.</li><li>Provision of Extract, Load, Transform (ELT) support</li><li>Seamlessness in integrating with OLAP (Online Analytical Processing) and BI (Business Intelligence) Tools, ensuring compatibility for advanced data analysis and decision-making.</li></ul><h3>Final Thoughts</h3><p>Choosing between a database, a data warehouse, and a data lake isn’t about which is “better,” but about <strong>what problem you’re solving</strong>.</p><ul><li>Use a <strong>database</strong> for real-time operations,</li><li>a <strong>data warehouse</strong> for structured analytics and reporting,</li><li>and a <strong>data lake</strong> for raw, large-scale, experimental data exploration.</li></ul><p>Each plays a unique role in the modern data ecosystem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c21518f18e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>