---
title: "Tarek Elzoghby | طارق الزغبي (@Tarek-Elzoghby) | Hashnode"
description: "Frontend Developer | HTML, CSS, JavaScript | Accessibility-Focused. Read the latest articles by Tarek Elzoghby | طارق الزغبي on Hashnode."
url: "https://hashnode.com/@Tarek-Elzoghby"
---

@Tarek-Elzoghby

# Tarek Elzoghby | طارق الزغبي

@Tarek-Elzoghby · egypt · Joined August 2026

Frontend Developer | HTML, CSS, JavaScript | Accessibility-Focused

## Comments

[Thanks for reading, and for the detail. The summarize-then-reclassify pass is new to me. My classifier has no confidence signal. The model returns a reasoning field and a category, and genuine overlaps go to an ambiguous category rather than a low-confidence path. Where did your confidence signal come from? On examples versus definitions: my fixes went into definitions and evaluation order, and I never tested examples against them, so I can’t say how they’d compare. Worth trying on the boundary cases.](https://hashnode.com/posts/each-fix-to-my-classification-prompt-exposed-the-next-problem/6accbb9398ee13c3bc11730c/comment/6ace30cd77e7c24af33d99c0#reply-6acf65f1f4f623f2474cb3db)

Reply · Article · Oct 14 · [Each Fix to My Classification Prompt Exposed the Next Problem](https://hashnode.com/posts/each-fix-to-my-classification-prompt-exposed-the-next-problem/6accbb9398ee13c3bc11730c)

[Your point about never blindly parsing an incoming JSON payload really resonated with me, though I recently experienced this from a structural angle rather than a security one. I was prototyping an automation workflow and deliberately started with a Form trigger because the payload was clean and flat. All my edge-case tests passed. However, when I swapped it to a production Webhook, the workflow failed silently. The business logic was completely intact, but the payload shape had changed—the actual data was now nested under a body object alongside HTTP metadata. Because I hadn't strictly validated the incoming structure at the start, the downstream nodes quietly stopped seeing the data they expected. It was a great practical reinforcement of your core thesis: you have to validate what is actually arriving, not just what you assume is arriving based on your initial design. Given your focus on strict validation in the Laravel middleware, I’m curious: in your experience, do you find it helpful to add an explicit data-normalization step immediately after the security checks to map the raw payload into a strict, expected schema before it touches the business logic?](https://hashnode.com/posts/webhook-security-101-why-you-should-never-trust-an-incoming-payload/6a884e7e3c86ee5c5e745c73/comment/6a955ef0bb21a67fbdcd0f89)

Comment · Article · Aug 31 · [Webhook Security 101: Why You Should Never Trust an Incoming Payload](https://hashnode.com/posts/webhook-security-101-why-you-should-never-trust-an-incoming-payload/6a884e7e3c86ee5c5e745c73)

[Your point about the gap between clean testing environments and messy production reality really resonated with me. I experienced a structural version of this recently while building an n8n workflow. I deliberately prototyped the logic using a Form trigger because the payload was clean and flat, and all my edge-case tests passed. However, when I swapped it to a Webhook for production, the workflow failed silently. The business logic was intact, but the payload shape had changed (the data was now nested under a body object alongside HTTP metadata), so downstream nodes quietly stopped seeing the data they expected. It reinforced your argument about the need for early validation. I’m curious, for your 'Classification + Action Router' pattern, do you typically add an explicit data-normalization step right after the trigger to decouple the raw payload from the rest of the workflow logic?](https://hashnode.com/posts/ai-automation-workflows-in-2026-build-agents-that-actually-work/69db632a716b5ca19c012098/comment/6a955d89380106e710e01851)

Comment · Article · Aug 31 · [AI Automation Workflows in 2026: Build Agents That Actually Work](https://hashnode.com/posts/ai-automation-workflows-in-2026-build-agents-that-actually-work/69db632a716b5ca19c012098)

[The distinction between "no runner accepted the task" vs "the JS itself ran too long" is the part I'd have missed. I'd have assumed a timeout error meant slow code and gone straight to optimizing the return statement. Control 3 is the detail that makes it click for me — a pending request getting picked up mid-wait once a runner registers proves it's a queue/matching problem, not an execution one. That's a hard thing to demonstrate without actually building the race condition on purpose.](https://hashnode.com/posts/n8n-code-node-task-request-timed-out-fix-not-matched-to-a-runner/6a8e93b8434da3f5025b72f1/comment/6a8e949b7b550dba4130d6b4)

Comment · Article · Aug 26 · [n8n Code Node 'Task request timed out': Fix 'Not Matched to a Runner'](https://hashnode.com/posts/n8n-code-node-task-request-timed-out-fix-not-matched-to-a-runner/6a8e93b8434da3f5025b72f1)

[One thing I kept coming back to: your "how will the system grow?" question assumes you can answer it. For an established business, sure. But for a brand-new project with no users yet, that's just a guess. So maybe the earlier question isn't "which architecture fits my requirements" but "how much do I actually know about my requirements yet." If the answer is "not much," the simplest, cheapest-to-reverse option wins by default — not because it's technically better, but because you can't design for growth you haven't seen. Curious if you think that's a real first step, or if it's actually fine to guess and adjust later.](https://hashnode.com/posts/wordpress-headless-or-full-stack-how-to-choose-the-right-web-architecture-in-2026/6a8d806b805c8f75005ad761/comment/6a8e93a93a755614486b7505)

Comment · Article · Aug 26 · [WordPress, Headless, or Full Stack: How to Choose the Right Web Architecture in 2026](https://hashnode.com/posts/wordpress-headless-or-full-stack-how-to-choose-the-right-web-architecture-in-2026/6a8d806b805c8f75005ad761)

[the polling vs postman analogy is a good one, gonna steal that for how I explain it to myself lol. I think I always technically knew webhooks were "event based" but never really got why that mattered until you laid out the cost angle, hammering an api on a schedule vs just waiting to get pinged makes way more sense now the security section is what got me tho. I did not know people just leave webhook urls open like public endpoints, feels like such an obvious mistake once you say it but I probably would have done exactly that on my first attempt. the hmac verification part is a bit over my head right now but at least I know its a thing I need to go learn before I build anything real quick q, for something small and low traffic is the secret token in the url enough or do people always go straight to signature verification even for tiny projects](https://hashnode.com/posts/webhook-fundamentals-what-they-are-and-how-to-use-them/69f5b05388ad32aaa6173862/comment/6a8c5025083872f70444630e)

Comment · Article · Aug 24 · [Webhook Fundamentals: What They Are and How to Use Them](https://hashnode.com/posts/webhook-fundamentals-what-they-are-and-how-to-use-them/69f5b05388ad32aaa6173862)

[the main axis / cross axis thing is what actually stuck with me. I used to just memorize justify-content = horizontal and align-items = vertical, worked fine until I used flex-direction: column and everything flipped but my mental shortcut didn't, so I spent way too long debugging something that wasn't even broken lol also glad you added the "don't use flexbox for everything" bit at the end. I went through a phase of forcing flexbox onto layouts that were obviously 2D just bc grid felt like one more thing to learn. have you gotten to the point where you know upfront "ok this needs grid" or is it still kind of trial and error for you too](https://hashnode.com/posts/css-flexbox-explained-a-beginner-s-guide-with-examples/6a80423b461d048370ade746/comment/6a8c4bed6e423072b0e09d3c)

Comment · Article · Aug 24 · [CSS Flexbox Explained: A Beginner's Guide with Examples](https://hashnode.com/posts/css-flexbox-explained-a-beginner-s-guide-with-examples/6a80423b461d048370ade746)
