<?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: Juan Carlos Peña</title>
    <description>The latest articles on DEV Community by Juan Carlos Peña (@juan_carlospea_cd99d347).</description>
    <link>https://dev.to/juan_carlospea_cd99d347</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3437939%2F8049262e-8642-4237-9c85-111ddafa96ce.png</url>
      <title>DEV Community: Juan Carlos Peña</title>
      <link>https://dev.to/juan_carlospea_cd99d347</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/juan_carlospea_cd99d347"/>
    <language>en</language>
    <item>
      <title>What Are Iron Railings? The Hardware Firewall of Architecture</title>
      <dc:creator>Juan Carlos Peña</dc:creator>
      <pubDate>Sat, 23 Aug 2025 18:02:33 +0000</pubDate>
      <link>https://dev.to/juan_carlospea_cd99d347/strength-you-can-lean-on-27pf</link>
      <guid>https://dev.to/juan_carlospea_cd99d347/strength-you-can-lean-on-27pf</guid>
      <description>&lt;p&gt;Have you ever leaned on an old railing, only to feel it wobble just a little? Scary, right? I had that once at a friend’s building, and for a second, I thought: &lt;em&gt;this thing’s supposed to protect me, not test my balance.&lt;/em&gt; That was the moment I realized railings aren’t just about looks—they’re about trust.  &lt;/p&gt;

&lt;p&gt;When Looks and Safety Collide&lt;br&gt;&lt;br&gt;
I once helped my uncle redo his porch. He picked something cheap because, well, “a railing’s a railing.” Until it rusted out way too soon. The lesson? Not all railings are built equal. That’s why I started looking into quality options like &lt;strong&gt;&lt;a href="https://osceolafence.net/commercial-railings-chicago/" rel="noopener noreferrer"&gt;Iron Railings Chicago&lt;/a&gt;&lt;/strong&gt;—because sometimes saving money upfront ends up costing you more in headaches later.  &lt;/p&gt;

&lt;p&gt;Railings and Code: A Surprising Parallel&lt;br&gt;&lt;br&gt;
Think of railings like software frameworks. If your base code is shaky, the whole app is at risk. Same with buildings—if the railing isn’t strong, it compromises everything around it.  &lt;/p&gt;

&lt;p&gt;When I debugged my first big project, I realized: just like testing code prevents crashes, maintaining railings prevents accidents. In both worlds, invisible stability is what keeps things running smoothly. That’s why I once googled &lt;strong&gt;&lt;a href="https://osceolafence.net/commercial-railings-chicago/" rel="noopener noreferrer"&gt;Iron Railings near me&lt;/a&gt;&lt;/strong&gt;—because behind that stability is careful planning, design, and execution.  &lt;/p&gt;

&lt;p&gt;How to Think About Choosing Railings (and Writing Code)&lt;br&gt;&lt;br&gt;
You don’t need to be an architect—or a senior developer. Ask yourself:  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What’s my end goal: safety, style, or both? (Like choosing between performance or aesthetics in code.)
&lt;/li&gt;
&lt;li&gt;How much upkeep can I handle? (Think bug fixes and refactoring.)
&lt;/li&gt;
&lt;li&gt;Do I want something quick and temporary, or built to last? (Prototype vs. production-ready software.)
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I remember a small café I visited once—they had these gorgeous black rails that looked like they’d been there forever. That little detail made the whole place feel more welcoming. And yeah, later I found out they were custom &lt;strong&gt;&lt;a href="https://osceolafence.net/commercial-railings-chicago/" rel="noopener noreferrer"&gt;Iron Railings chicago il&lt;/a&gt;&lt;/strong&gt;, which totally made sense.  &lt;/p&gt;

&lt;p&gt;Real-Life Benefits (Explained Like a Dev Chat)  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You stop worrying about accidents—like fewer runtime errors.
&lt;/li&gt;
&lt;li&gt;Your space looks more professional—like clean UI.
&lt;/li&gt;
&lt;li&gt;People notice quality—even if they don’t know why.
&lt;/li&gt;
&lt;li&gt;Less maintenance—fewer patches, more stability.
&lt;/li&gt;
&lt;li&gt;It just feels &lt;em&gt;right&lt;/em&gt;—like when your code compiles on the first try.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;python
def safe_step(step):
    if step &amp;lt; 0:
        raise ValueError("Watch your step! Railing saves you.")
    return f"Step {step} is safe."

print(safe_step(1)) Safe
print(safe_step(-1)) Error handled
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Securing the Perimeter: What Iron Bollards Teach About Safe Coding Practices</title>
      <dc:creator>Juan Carlos Peña</dc:creator>
      <pubDate>Fri, 15 Aug 2025 20:33:06 +0000</pubDate>
      <link>https://dev.to/juan_carlospea_cd99d347/securing-the-perimeter-what-iron-bollards-teach-about-safe-coding-practices-12on</link>
      <guid>https://dev.to/juan_carlospea_cd99d347/securing-the-perimeter-what-iron-bollards-teach-about-safe-coding-practices-12on</guid>
      <description>&lt;h1&gt;
  
  
  Securing Your Code Like You Secure a Storefront: Lessons from Iron Bollards
&lt;/h1&gt;

&lt;p&gt;You ever walk past a row of iron bollards and think, &lt;em&gt;“Huh… these things are just standing there, but they’re actually protecting everything behind them”&lt;/em&gt;? I had that moment last week while grabbing coffee downtown. And oddly enough, it got me thinking about code security.&lt;/p&gt;




&lt;h2&gt;
  
  
  That Time I Learned the Hard Way
&lt;/h2&gt;

&lt;p&gt;A few years ago, I pushed a “quick fix” into production without testing it thoroughly. Yeah, I know—rookie move. It worked fine for a couple of hours… until it didn’t. That’s when I realized the value of strong, visible defenses. In real life, you might have &lt;strong&gt;&lt;a href="https://chicagolandfencepros.com/iron-bollards-installation-chicago" rel="noopener noreferrer"&gt;iron bollards installations Chicago&lt;/a&gt;&lt;/strong&gt; to keep reckless cars from smashing into a storefront. In code, those defenses are your validation layers, access controls, and security reviews.&lt;/p&gt;




&lt;h2&gt;
  
  
  Bollards = Boundaries
&lt;/h2&gt;

&lt;p&gt;Bollards don’t stop &lt;em&gt;everything&lt;/em&gt;, but they set a line: “You can go here, but not there.” It’s the same with secure coding. You put up “boundaries” in the form of authentication checks, input sanitization, and encryption. Without them, you’re basically leaving the front door open. Just like a good row of &lt;strong&gt;&lt;a href="https://chicagolandfencepros.com/iron-bollards-installation-chicago" rel="noopener noreferrer"&gt;iron bollards installations near me&lt;/a&gt;&lt;/strong&gt;, your code should block the bad stuff before it gets anywhere important.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Five Little “Bollards” for Your Code
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Validate everything&lt;/strong&gt; – Don’t trust user input, even if it &lt;em&gt;looks&lt;/em&gt; safe.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Limit access&lt;/strong&gt; – No one gets more permissions than they need.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Encrypt sensitive data&lt;/strong&gt; – Both in transit and at rest.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test under pressure&lt;/strong&gt; – Break it yourself before someone else does.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Patch often&lt;/strong&gt; – Updates are your friend, not a chore.
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  How to Apply It Without Overthinking
&lt;/h2&gt;

&lt;p&gt;The trick is not to build an impenetrable fortress overnight. Start small. Add logging. Review your endpoints. Run a quick vulnerability scan on Friday afternoons. Think of it as gradually setting up &lt;strong&gt;&lt;a href="https://chicagolandfencepros.com/iron-bollards-installation-chicago" rel="noopener noreferrer"&gt;the best iron bollards installation chicago&lt;/a&gt;&lt;/strong&gt;—you don’t dump them all at once; you place them strategically where they’ll do the most good.&lt;/p&gt;




&lt;h2&gt;
  
  
  Quick Example: Input Validation in Java
&lt;/h2&gt;

&lt;p&gt;Here’s a simple example of setting up a “bollard” in your code—validating input to avoid dangerous requests:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
java
import java.util.regex.Pattern;

public class InputValidator {
    private static final Pattern SAFE_INPUT = Pattern.compile("^[a-zA-Z0-9_\\- ]+$");

    public static boolean isValid(String input) {
        if (input == null || input.isEmpty()) return false;
        return SAFE_INPUT.matcher(input).matches();
    }

    public static void main(String[] args) {
        String userInput = "Hello_World123";
        if (isValid(userInput)) {
            System.out.println("Input accepted: " + userInput);
        } else {
            System.out.println("Input rejected: " + userInput);
        }
    }
}




&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
  </channel>
</rss>
