<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[The T-Shaped Dev: Announcements]]></title><description><![CDATA[Book launches and product news from Petar.]]></description><link>https://thetshaped.dev/s/announcements</link><image><url>https://substackcdn.com/image/fetch/$s_!9lD-!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f66bb7c-c96f-4c71-ba2d-d561152c83a2_600x600.png</url><title>The T-Shaped Dev: Announcements</title><link>https://thetshaped.dev/s/announcements</link></image><generator>Substack</generator><lastBuildDate>Sat, 28 Nov 2026 00:52:34 GMT</lastBuildDate><atom:link href="https://thetshaped.dev/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Petar Ivanov]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[petarivanovv9@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[petarivanovv9@substack.com]]></itunes:email><itunes:name><![CDATA[Petar Ivanov]]></itunes:name></itunes:owner><itunes:author><![CDATA[Petar Ivanov]]></itunes:author><googleplay:owner><![CDATA[petarivanovv9@substack.com]]></googleplay:owner><googleplay:email><![CDATA[petarivanovv9@substack.com]]></googleplay:email><googleplay:author><![CDATA[Petar Ivanov]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[I Knew the Terms. I Couldn't Explain Them.]]></title><description><![CDATA[The interview I almost failed, the course I built around it, and 3 free chapters you can try today.]]></description><link>https://thetshaped.dev/p/i-knew-the-terms-i-couldnt-explain</link><guid isPermaLink="false">https://thetshaped.dev/p/i-knew-the-terms-i-couldnt-explain</guid><dc:creator><![CDATA[Petar Ivanov]]></dc:creator><pubDate>Thu, 12 Nov 2026 11:01:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!9lD-!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f66bb7c-c96f-4c71-ba2d-d561152c83a2_600x600.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>You know what hoisting and closures are. Explaining them out loud, while an interviewer waits, is a different skill.</p><p>Last year I wrote about an interview I almost failed because of that gap. Here's how I put it then:</p><blockquote><p><em>"The interviewer hit me with tough questions on Hoisting and Closures in JavaScript. I knew the terms, but couldn't explain them clearly."</em></p></blockquote><p>Most interview prep trains you to recognize answers. You read a question, read the answer, nod, and move on to the next one. Nodding along feels like knowing the answer.</p><p>For the past few months I've been building a course that trains you to explain them. It's called The Senior JavaScript Interview, and it opens on Monday 23 November. You answer each question out loud before you see the model answer, so you find the ones you can't explain yet while there's still time to fix them. By the interview, you've said the senior answers out loud at least once.</p><h2>Try one question first</h2><p>This one comes from the async chapter, and it's tagged Senior. Answer it out loud before you scroll.</p><p><strong>Why doesn't </strong><code>array.forEach(async (x) =&gt; await work(x))</code><strong> wait for the work to finish?</strong></p><p>Once you have your answer, here's the core of the model answer.</p><p><code>forEach</code> ignores what its callback returns. Each async callback returns a promise, <code>forEach</code> throws that promise away, and the loop finishes while the work is still pending. A rejection goes unhandled too.</p><pre><code>// waits for every save, and a rejection reaches the caller
await Promise.all(items.map((item) =&gt; save(item)));

// or one at a time, if order matters
for (const item of items) await save(item);</code></pre><p>Most answers stop there. The model answer keeps going, because <code>map</code>, <code>filter</code> and <code>reduce</code> don't await either. An async <code>filter</code> predicate is a silent bug. A promise is always truthy, so every item passes the filter.</p><p>That second half is what the Senior tag is about. The first half shows you know the bug, and the second half shows where else it hides in your codebase.</p><h2>How the course works</h2><p>The Senior JavaScript Interview has 660+ questions and architecture scenarios on React, Node.js, TypeScript and system design. Every question is tagged Junior, Mid or Senior, so you know which level it tests.</p><p>The web reader hides each model answer until you've given your own, the same way you just answered the question above. There are 49 architecture scenarios with model answers, and every scenario ends with what the interviewer is grading.</p><h2>3 chapters are free today</h2><p>The free sample has 3 full chapters, exactly as they appear in the course: Async JavaScript, the React rendering model and Node.js API design. That's 76 questions and 3 architecture scenarios, with a five-question self-test at the end of each chapter. The question above is one of them.</p><p>Take the sample before Friday 20 November, and you get checkout that day, three days before everyone else, at the launch price.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://petarivanov.tech/senior-javascript-interview/?utm_source=substack&amp;utm_medium=email&amp;utm_campaign=playbook-launch&amp;utm_content=sub-s#get-sample&quot;,&quot;text&quot;:&quot;Get the 3 free chapters&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://petarivanov.tech/senior-javascript-interview/?utm_source=substack&amp;utm_medium=email&amp;utm_campaign=playbook-launch&amp;utm_content=sub-s#get-sample"><span>Get the 3 free chapters</span></a></p><p>You enter your email on my site, confirm it, and the chapters arrive right after, as a web reader and an EPUB. That also puts you on my email list at petarivanov.tech. One click unsubscribes you from that list, and you keep the chapters.</p><p>Launch prices run until Monday 30 November at 23:59 PT: $79 for Standard, which covers the technical rounds, and $149 for Premium, which adds the interview itself. After that, they're $119 and $229. Prices are plus VAT where it applies.</p><p>Thank you for supporting this newsletter.</p><p>Petar</p>]]></content:encoded></item><item><title><![CDATA[Find Your Stage on the Way to JavaScript Architect]]></title><description><![CDATA[A 20-box self-check across six stages, and a free 7-page roadmap with the plan for each one.]]></description><link>https://thetshaped.dev/p/find-your-stage-on-the-way-to-javascript</link><guid isPermaLink="false">https://thetshaped.dev/p/find-your-stage-on-the-way-to-javascript</guid><dc:creator><![CDATA[Petar Ivanov]]></dc:creator><pubDate>Sat, 07 Nov 2026 14:30:57 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!cmMn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://thetshaped.dev/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption"><span data-color="#9900ff" style="color: rgb(153, 0, 255);">Get my Full-Stack JavaScript Architect Bundle for FREE on newsletter signup:</span></p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><p>Most architect roadmaps are a chart with a hundred boxes and no order. Nothing on the chart tells you when a topic is done, so you skim all of them and practice none.</p><p>My own first version had the same problem. It was an 8-slide social carousel with six lists of five topics each, and nothing in it told you what to do with them. I rebuilt my JavaScript Architect Roadmap 2026 to fix that. It's now a 7-page PDF with six stages in the order they build on each other. Each stage has a check that tells you when to move on, and one project to do in the codebase you already have.</p><p>This issue gives you the part to start with, the self-check from page 2. It takes about five minutes and tells you which stage to work on next.</p><ul><li><p><em><a href="https://thetshaped.dev/p/postgres-schema-migrations-lock-queue-zero-downtime-alter-table?action=share">Share this post</a> &amp; I&#8217;ll send you some rewards for the referrals.</em></p></li></ul><div><hr></div><h2>The six stages</h2><ol><li><p><strong>Master the language.</strong> You can predict what any JavaScript does before you run it.</p></li><li><p><strong>Write code that lasts.</strong> A stranger can change your code safely.</p></li><li><p><strong>Design the application.</strong> A change to one feature touches one module, and the business rules don't know about Express, React or Postgres.</p></li><li><p><strong>Tame the database.</strong> You design schemas, read query plans and pick isolation levels on purpose.</p></li><li><p><strong>Survive distributed systems.</strong> Your design stays correct when a call times out or a message arrives twice.</p></li><li><p><strong>Think like an architect.</strong> You compare real options, write the decision down and get a team to build it the same way.</p></li></ol><p>Stages 1 and 2 are about writing code other people can trust. Stages 3 and 4 shape the application and the data under it. In stages 5 and 6 you make calls that span services and teams.</p><h2>The self-check</h2><p>Tick a box only if you could do it today without looking anything up, and explain it to a teammate. Your starting stage is the first one with an empty box.</p><p>Be strict with yourself. The gaps from a skipped stage tend to show up later as production incidents.</p><h3>1. Master the language</h3><ul><li><p>Predict the output order of code that mixes <code>setTimeout</code>, <code>await</code> and <code>Promise.then</code>.</p></li><li><p>Type a function whose return type depends on its argument, with no <code>any</code> and no <code>as</code>.</p></li><li><p>Find an async bug with a debugger or a failing test, without adding <code>console.log</code> lines.</p></li></ul><h3>2. Write code that lasts</h3><ul><li><p>Refactor a 200-line function in small, tested steps.</p></li><li><p>Say when your code throws and when it returns an error, and point to the rule.</p></li><li><p>Get a pull request approved by someone who has never seen the module, without a call.</p></li><li><p>Reject an AI-written pull request for a design reason, and name the rule it broke.</p></li></ul><h3>3. Design the application</h3><ul><li><p>Draw your app's modules and the direction of every dependency between them.</p></li><li><p>Test a feature's business rules without a database, a server or a browser.</p></li><li><p>Point to the one place where each kind of external input gets validated.</p></li></ul><h3>4. Tame the database</h3><ul><li><p>Read an <code>EXPLAIN ANALYZE</code> plan and say why Postgres picked it.</p></li><li><p>Name the isolation level your transactions run at, and one anomaly it allows.</p></li><li><p>Rename a column in production with zero downtime.</p></li></ul><h3>5. Survive distributed systems</h3><ul><li><p>Explain what happens when a payment call times out and the client retries.</p></li><li><p>Publish an event after a database write without writing to two systems.</p></li><li><p>Follow one request through logs and traces across every service it touches.</p></li></ul><h3>6. Think like an architect</h3><ul><li><p>Write a one-page decision record with two real options and what each costs.</p></li><li><p>Explain a technical trade-off to a product manager in terms of time, money and risk.</p></li><li><p>Name the two or three qualities your system optimizes for, and what it gives up.</p></li><li><p>List the trust boundaries in one feature and the attack you'd try at each.</p></li></ul><h2>What your result means</h2><p><strong>Empty boxes in stage 1 or 2?</strong> These stages move fastest, and everything later rests on them. Close those gaps first, even if your title already says senior.</p><p><strong>Stuck at stage 4?</strong> That's the most common place to stall. Application code can hide a weak data model for years, until traffic grows.</p><p><strong>Every box ticked?</strong> Go to page 6 of the roadmap. The habits there are what people notice when they decide who gets to make the big calls.</p><h2>Finish one stage before you open the next</h2><p>My estimate is two to four months per stage, with a full-time job and five focused hours a week. You'll move faster on the stages you already use at work.</p><p>The most common way to waste a year is to collect stages. Reading about sagas while your own service has no timeouts feels like progress, and it changes nothing in production. Pick your stage, do its practice project at work, and take the self-check again when you're done.</p><h2>What's in the full roadmap</h2><p>The self-check is page 2. The rest of the PDF is the plan for each stage:</p><ul><li><p><strong>Pages 3 to 5.</strong> Each stage gets a paragraph on why it matters, a diagram, six skills, a "move on when you can" checklist, a practice project for your own codebase, and two sources worth your time.</p></li><li><p><strong>Page 6.</strong> Four habits that apply at every stage, with a sample decision record, the shape I use to write a trade-off, how to read a large codebase fast, and how to explain a design to people who don't write code.</p></li><li><p><strong>Page 7.</strong> A 90-day plan for your current stage, and one book for each stage.</p></li></ul><p>Here's the practice project for stage 4, so you can see the format:</p><blockquote><p>Turn on <code>pg_stat_statements</code>, or open your provider's query insights. Take the three queries with the most total time and read their plans. Fix one with an index or a rewrite, and record the numbers before and after.</p></blockquote><p>The roadmap is free. Enter your email on my site and the PDF arrives in your inbox a minute later.</p><p><a href="https://petarivanov.tech/resources/javascript-architect-roadmap/?utm_source=thetshaped&amp;utm_medium=newsletter&amp;utm_campaign=architect-roadmap-2026">Get the free JavaScript Architect Roadmap</a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://petarivanov.tech/resources/javascript-architect-roadmap/?utm_source=thetshaped&amp;utm_medium=newsletter&amp;utm_campaign=architect-roadmap-2026&quot;,&quot;text&quot;:&quot;Free JavaScript Architect Roadmap&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://petarivanov.tech/resources/javascript-architect-roadmap/?utm_source=thetshaped&amp;utm_medium=newsletter&amp;utm_campaign=architect-roadmap-2026"><span>Free JavaScript Architect Roadmap</span></a></p><p>Signing up also adds you to my email list on petarivanov.tech. You'll get a welcome email from there, and one click unsubscribes you from that list while you keep the PDF.</p><h2>One favor</h2><p>If you know a developer who's working toward an architect role, forward them this email or send them the link.</p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://thetshaped.dev/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Subscribe to get practical tips on AI Agents, Agentic Systems, and Software Architecture delivered straight to your inbox:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="pullquote"><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cmMn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png 424w, https://substackcdn.com/image/fetch/$s_!cmMn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png 848w, https://substackcdn.com/image/fetch/$s_!cmMn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png 1272w, https://substackcdn.com/image/fetch/$s_!cmMn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!cmMn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png" width="248" height="207.7" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:670,&quot;width&quot;:800,&quot;resizeWidth&quot;:248,&quot;bytes&quot;:257716,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://thetshaped.dev/i/188025481?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8ebf3ac-ad2f-415d-9e32-111e959c8e4e_800x800.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cmMn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png 424w, https://substackcdn.com/image/fetch/$s_!cmMn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png 848w, https://substackcdn.com/image/fetch/$s_!cmMn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png 1272w, https://substackcdn.com/image/fetch/$s_!cmMn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aea932b-6248-4324-9ec7-68d0bfed782e_800x670.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><strong>Follow me on <a href="https://www.linkedin.com/in/petarivanovv9/">LinkedIn</a></strong> | <strong><a href="https://x.com/intent/follow?screen_name=petarivanovv9">Twitter(X)</a></strong> |<strong> <a href="https://www.threads.net/@petarivanovv9">Threads</a></strong></p></div><p>Thank you for supporting this newsletter.</p><p>Consider sharing this post with your friends and get rewards.</p><p>You are the best! &#128591;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EvJY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EvJY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EvJY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EvJY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EvJY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!EvJY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg" width="800" height="500" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:500,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:83253,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://thetshaped.dev/i/188025481?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!EvJY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EvJY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EvJY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EvJY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa356e02d-1b11-4eca-81ea-3db29a595cb9_800x500.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://thetshaped.dev/p/find-your-stage-on-the-way-to-javascript?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://thetshaped.dev/p/find-your-stage-on-the-way-to-javascript?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><div class="pullquote"><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UzWz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif 424w, https://substackcdn.com/image/fetch/$s_!UzWz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif 848w, https://substackcdn.com/image/fetch/$s_!UzWz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif 1272w, https://substackcdn.com/image/fetch/$s_!UzWz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!UzWz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif" width="48" height="57.6" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/39609b45-f68c-4557-8772-8e2a45182842_500x600.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:600,&quot;width&quot;:500,&quot;resizeWidth&quot;:48,&quot;bytes&quot;:7028,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/gif&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://thetshaped.dev/i/188785536?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!UzWz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif 424w, https://substackcdn.com/image/fetch/$s_!UzWz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif 848w, https://substackcdn.com/image/fetch/$s_!UzWz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif 1272w, https://substackcdn.com/image/fetch/$s_!UzWz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39609b45-f68c-4557-8772-8e2a45182842_500x600.gif 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p style="text-align: center;"><em><strong>Press the Like button if you found this post helpful</strong></em></p></div>]]></content:encoded></item><item><title><![CDATA[I Wrote a Book on Node.js and Never Told You]]></title><description><![CDATA[The Conscious Node: 157 tips for Node.js backends that hold up in production. Not sure yet? The first three tips are free.]]></description><link>https://thetshaped.dev/p/i-wrote-a-book-on-nodejs-and-never</link><guid isPermaLink="false">https://thetshaped.dev/p/i-wrote-a-book-on-nodejs-and-never</guid><dc:creator><![CDATA[Petar Ivanov]]></dc:creator><pubDate>Tue, 13 Oct 2026 16:29:12 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!9lD-!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f66bb7c-c96f-4c71-ba2d-d561152c83a2_600x600.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I released The Conscious Node, a book about building Node.js backends that hold up in production. It&#8217;s been on my website for a while, and I never announced it here. That&#8217;s an odd miss, because you&#8217;re the readers I wrote it for.</p><p>So this is the proper announcement.</p><h2>What&#8217;s inside</h2><p>157 tips across 10 chapters, about 250 pages. Every tip has the same four parts: the context, the code to avoid, the code to prefer, and a one-line takeaway.</p><ol><li><p>Application structure and architecture</p></li><li><p>Code design and patterns</p></li><li><p>Error handling and logging</p></li><li><p>Security</p></li><li><p>Testing</p></li><li><p>API design (REST and GraphQL)</p></li><li><p>Database and data</p></li><li><p>Performance and production</p></li><li><p>Tooling</p></li><li><p>The 10 Rules of Senior Node</p></li></ol><h2>One tip: the retry that charges your customer twice</h2><p>A client sends &#8220;create order&#8221;. The server creates the order, but the response gets lost on the way back. The client retries, and now the customer has two orders.</p><p>Retried GETs are harmless. Retried POSTs aren&#8217;t, unless the endpoint is idempotent. Tip 6.13 fixes it with an <code>Idempotency-Key</code> header: the client sends a unique key with the write, and the server uses that key to recognize a retry instead of creating a second order.</p><p>That&#8217;s one tip. The other 156 work the same way.</p><h2>Two ways to get it</h2><ul><li><p><strong>Just the Book, $29.</strong> PDF, MOBI and EPUB, with lifetime updates.</p></li><li><p><strong>The Complete Package, $59.</strong> The book plus three companion repos: book-examples runs every tip as an Avoid/Prefer demo, case-studies has 6 deep-dive services, and express-boilerplate is a production Express 5 starter. Each repo ships with CLAUDE.md, AGENTS.md and .cursorrules, so Claude Code, Cursor and Copilot write code that follows the book.</p></li></ul><p>Both come with a 30-day money-back guarantee.</p><p><a href="https://petarivanov.tech/books/conscious-node/?utm_source=thetshaped&amp;utm_medium=newsletter&amp;utm_campaign=conscious-node-announce">Check out The Conscious Node</a></p><h2>Not sure yet? Read the free sample first</h2><p>The first three tips of Chapter 1 are free, as a PDF and EPUB: structure the app in modules, start with a modular monolith, and split routes, services and repositories into layers. They look basic. Chapter 1 is where most Node services go wrong, before the first endpoint ships.</p><p>Read them. If the way the book thinks clicks for you, you&#8217;ll know in ten minutes.</p><p><a href="https://petarivanov.tech/books/conscious-node/?utm_source=thetshaped&amp;utm_medium=newsletter&amp;utm_campaign=conscious-node-announce#free-chapter">Get the 3 free tips</a></p><h2>One favor</h2><p>If you know a backend engineer who&#8217;d get something out of this, forward them this email or send them the link.</p><p>Thanks for reading,<br>Petar</p>]]></content:encoded></item></channel></rss>