Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      10 Benefits of Hiring a React.js Development Company (2025–2026 Edition)

      August 13, 2025

      From Line To Layout: How Past Experiences Shape Your Design Career

      August 13, 2025

      Hire React.js Developers in the US: How to Choose the Right Team for Your Needs

      August 13, 2025

      Google’s coding agent Jules gets critique functionality

      August 13, 2025

      GitHub Availability Report: July 2025

      August 13, 2025

      From private to public: How a United Nations organization open sourced its tech in four steps

      August 13, 2025

      We Might Need Something Between Root and Relative CSS Units for “Base Elements”

      August 13, 2025

      Microsoft Targets ‘Critical AI Talent’ from Meta to Dominate Next AI Breakthroughs

      August 13, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Laravel Global Scopes: Automatic Query Filtering

      August 12, 2025
      Recent

      Laravel Global Scopes: Automatic Query Filtering

      August 12, 2025

      Building MCP Servers in PHP

      August 12, 2025

      Filament v4 is Stable!

      August 12, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Anthropic Offers Claude AI to All U.S. Government Branches for Just $1

      August 13, 2025
      Recent

      Anthropic Offers Claude AI to All U.S. Government Branches for Just $1

      August 13, 2025

      Microsoft Tests Prompting Heavy Chrome Users to Pin Edge to Windows 11 Taskbar

      August 13, 2025

      PC Maintenance Software: 6 Best to Use in 2025

      August 13, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»News & Updates»CodeSOD: Raise VibeError

    CodeSOD: Raise VibeError

    August 13, 2025

    Ronan works with a vibe coder- an LLM addicted developer. This is a type of developer that’s showing up with increasing frequency. Their common features include: not reading the code the AI generated, not testing the code the AI generated, not understanding the context of the code or how it integrates into the broader program, and absolutely not bothering to follow the company coding standards.

    Here’s an example of the kind of Python code they were “writing”:

    if isinstance(o, Test):
        if o.requirement is None:
            logger.error(f"Invalid 'requirement' in Test: {o.key}")
            try:
                raise ValueError("Missing requirement in Test object.")
            except ValueError:
                pass
    
        if o.title is None:
            logger.error(f"Invalid 'title' in Test: {o.key}")
            try:
                raise ValueError("Missing title in Test object.")
            except ValueError:
                pass
    

    An isinstance check is already a red flag. Even without proper type annotations and type checking (though you should use them) any sort of sane coding is going to avoid situations where your method isn’t sure what input it’s getting. isinstance isn’t a WTF, but it’s a hint at something lurking off screen. (Yes, sometimes you do need it, this may be one of those times, but I doubt it.)

    In this case, if the Test object is missing certain fields, we want to log errors about it. That part, honestly, is all fine. There are potentially better ways to express this idea, but the idea is fine.

    No, the obvious turd in the punchbowl here is the exception handling. This is pure LLM, in that it’s a statistically probable result of telling the LLM “raise an error if the requirement field is missing”. The resulting code, however, raises an exception, immediately catches it, and then does nothing with it.

    I’d almost think it’s a pre-canned snippet that’s meant to be filled in, but no- there’s no reason a snippet would throw and catch the same error.

    Now, in Ronan’s case, this has a happy ending: after a few weeks of some pretty miserable collaboration, the new developer got fired. None of “their” code ever got merged in. But they’ve already got a few thousand AI generated resumes out to new positions…

    [Advertisement]
    Keep all your packages and Docker containers in one place, scan for vulnerabilities, and control who can access different feeds. ProGet installs in minutes and has a powerful free version with a lot of great features that you can upgrade when ready.Learn more.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleLaravel Global Scopes: Automatic Query Filtering
    Next Article Firefox 141: l’AI è un problema, i consumi di CPU e batteria aumentano

    Related Posts

    News & Updates

    GitHub Availability Report: July 2025

    August 13, 2025
    News & Updates

    From private to public: How a United Nations organization open sourced its tech in four steps

    August 13, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    The “Infinite Workday” is Here: Microsoft Warns of Never-Ending Work Driven by Hybrid Models & AI

    Security

    CVE-2025-4282 – SourceCodester Oretnom23 Stock Management System CSRF Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Hash-o-matic – generate, compares and verify MD5, SHA-256 and SHA-1 hashes

    Linux

    Ambrosia Sky is a gorgeous science-fiction game that’s all about death, and I can’t wait to play more

    News & Updates

    Highlights

    CVE-2024-51775 – Apache Zeppelin Origin Validation Bypass WebSockets Vulnerability

    August 3, 2025

    CVE ID : CVE-2024-51775

    Published : Aug. 3, 2025, 11:15 a.m. | 12 hours, 22 minutes ago

    Description : Missing Origin Validation in WebSockets vulnerability in Apache Zeppelin.

    The attacker could access the Zeppelin server from another origin without any restriction, and get internal information about paragraphs. 
    This issue affects Apache Zeppelin: from 0.11.1 before 0.12.0.

    Users are recommended to upgrade to version 0.12.0, which fixes the issue.

    Severity: 0.0 | NA

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    New Data Management Experience in the Atlas UI

    May 28, 2025

    Postman introduces Agent Mode to integrate the power of AI agents into Postman’s core capabilities

    June 4, 2025

    Distribution Release: Commodore OS Vision 3.0

    April 22, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.