<?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>DEV Community: Cristian Mayorga</title>
    <description>The latest articles on DEV Community by Cristian Mayorga (@cristianmayorga).</description>
    <link>https://dev.to/cristianmayorga</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4153117%2Fd5c309f2-3966-4a7d-82cf-0f1aea75e4ef.png</url>
      <title>DEV Community: Cristian Mayorga</title>
      <link>https://dev.to/cristianmayorga</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cristianmayorga"/>
    <language>en</language>
    <item>
      <title>Do not infer installed dimensions from a shipping box: a catalog data example</title>
      <dc:creator>Cristian Mayorga</dc:creator>
      <pubDate>Wed, 07 Oct 2026 13:23:16 +0000</pubDate>
      <link>https://dev.to/cristianmayorga/rom-a-shipping-box-a-catalog-data-example-2jhi</link>
      <guid>https://dev.to/cristianmayorga/rom-a-shipping-box-a-catalog-data-example-2jhi</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2a5z29n15krrqsml3ehq.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2a5z29n15krrqsml3ehq.webp" alt="Product image" width="756" height="756"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Product-data modelling example for Hollis Forge: shipping measurements and installed dimensions should be separate fields. This is a promotional technical reference, not an independent product review. Text and code were prepared with AI assistance.&lt;/p&gt;

&lt;h2&gt;
  
  
  A shipping box is not an installed product
&lt;/h2&gt;

&lt;p&gt;When building a catalog or a recommendation assistant, a field such as &lt;code&gt;dimensions&lt;/code&gt; can be ambiguous. It might describe a shipping carton or an assembled product. A UI that quietly substitutes one for the other can give shoppers misleading placement advice.&lt;/p&gt;

&lt;p&gt;The example below uses the Hollis Forge American-Style Vintage Mailbox with Post. Its supplier page is the source for current product details. No assembled measurements are invented here; unknown values remain &lt;code&gt;null&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;product&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;brand&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Hollis Forge&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;American-Style Vintage Mailbox with Post&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;sourceUrl&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://hollisforge.com/product/american-style-vintage-mailbox-with-post/&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;colorOptions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Red&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Blue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Brown&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Black&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;assembledDimensionsMm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;packageDimensionsMm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;mountingHardware&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;postalApproval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;not_verified&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;placementData&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;item&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;dims&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;assembledDimensionsMm&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;valid&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;dims&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;width&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;depth&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;height&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;every&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nx"&gt;key&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isFinite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;dims&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;key&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;dims&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;key&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;valid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;needs_confirmation&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Ask the seller for assembled dimensions.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;};&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;known&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;dimensionsMm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{...&lt;/span&gt;&lt;span class="nx"&gt;dims&lt;/span&gt;&lt;span class="p"&gt;}};&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Keep unknown values explicit
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;placementData&lt;/code&gt; deliberately has no fallback to &lt;code&gt;packageDimensionsMm&lt;/code&gt;. An unknown measurement is useful information: it tells the UI to request confirmation instead of generating a confident but unsupported recommendation. A valid measurement still does not establish clearance around a door, mounting compatibility or postal approval.&lt;/p&gt;

&lt;p&gt;Apply the same separation to package weight and assembled weight. Keep provenance alongside imported data, and recheck the live listing before showing stock, price or availability. This model is a small application example; it is not a complete product specification.&lt;/p&gt;

&lt;h2&gt;
  
  
  Source
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://hollisforge.com/product/american-style-vintage-mailbox-with-post/" rel="noopener noreferrer"&gt;Hollis Forge American-Style Vintage Mailbox with Post — current supplier details&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The example makes no claim about personal installation, waterproofing, durability tests or postal approval. Product images belong to the supplier listing.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Cast Iron vs Powder-Coated Steel: Which Finish Lasts in Zone 8b?</title>
      <dc:creator>Cristian Mayorga</dc:creator>
      <pubDate>Thu, 01 Oct 2026 07:20:21 +0000</pubDate>
      <link>https://dev.to/cristianmayorga/cast-iron-vs-powder-coated-steel-which-finish-lasts-in-zone-8b-1gek</link>
      <guid>https://dev.to/cristianmayorga/cast-iron-vs-powder-coated-steel-which-finish-lasts-in-zone-8b-1gek</guid>
      <description>&lt;p&gt;Quick answer: for USDA zone 8b, use hot-dip galvanizing for anything that stays wet, powder coat over welded seams for anything that carries load, and bare cast iron only where you will re-coat it once a year.&lt;/p&gt;

&lt;p&gt;Austin sits on the boundary of zones 8b and 9a and records roughly 30 days a year at or above 100 °F (38 °C), with winter lows near 15 °F (−9 °C). Two local factors do most of the damage: UV exposure across a long summer, and Houston Black clay — a vertisol whose coefficient of linear extensibility is above 0.09.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which finish fails first here?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Finish&lt;/th&gt;
&lt;th&gt;How it fails here&lt;/th&gt;
&lt;th&gt;Best use&lt;/th&gt;
&lt;th&gt;Life I measured&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Bare cast iron&lt;/td&gt;
&lt;td&gt;Surface rust blooms, then flakes; flakes trap moisture and the section thins&lt;/td&gt;
&lt;td&gt;Planters you will wax annually&lt;/td&gt;
&lt;td&gt;1 season before visible bloom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Powder coat&lt;/td&gt;
&lt;td&gt;Brittle relative to steel — cracks at edges and flex points&lt;/td&gt;
&lt;td&gt;Wall brackets, planter bodies, anything welded&lt;/td&gt;
&lt;td&gt;3–5 years in full sun&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hot-dip galvanizing&lt;/td&gt;
&lt;td&gt;Sacrifices zinc to protect steel; looks industrial&lt;/td&gt;
&lt;td&gt;Bird baths, feeders, anything that stays wet&lt;/td&gt;
&lt;td&gt;10+ years&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Why is the weld always the failure point?
&lt;/h2&gt;

&lt;p&gt;A powder-coated bracket holding a loaded pot fails at the weld, not on the face. If the surface is flat and unstressed, the coating holds; if stress concentrates at a joint, the coating thickness is least uniform exactly where the load lands. A welded seam spreads that load. Spot-welded and riveted joints do not.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does the anchor matter more than the finish?
&lt;/h2&gt;

&lt;p&gt;In black clay, a flat stamped stake has a large surface area and almost no lateral resistance, so it tips after the clay swells. A round or spiral rod cuts through the movement instead — the same reason a screw anchor holds better than a wedge in soil that moves. If the anchor is a flat plate, re-seat it after every major rain; if it is an 8–10 mm rod, leave it alone for a season.&lt;/p&gt;

&lt;h2&gt;
  
  
  How can you test a piece before you buy it?
&lt;/h2&gt;

&lt;p&gt;Press a fingernail into the finish at a weld. If it lifts, the piece will not survive a Texas summer. If it holds and the metal under it does not flex, the coating will likely outlast the pot. I run this test on every planter I buy now, and it has been accurate across four seasons.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the seasonal routine?
&lt;/h2&gt;

&lt;p&gt;Mulch 2 inches deep, run drip irrigation on a 6 a.m. timer for 20 minutes, and wax the welded joints every spring with carnauba wax. Move planters under cover before a hard freeze — trapped water cracking the base is the most common winter failure, and it is entirely avoidable. Don't seal drainage holes to stop rust; trapped water does more damage to cast iron than rain ever will.&lt;/p&gt;

&lt;p&gt;For the pieces themselves I use &lt;a href="https://hollisforge.com" rel="noopener noreferrer"&gt;Hollis Forge&lt;/a&gt;, which builds cast iron garden decor for outdoor weather.&lt;/p&gt;

</description>
      <category>gardening</category>
    </item>
  </channel>
</rss>
