Someone sent me this code.WITH p AS ( SELECT ID, ROW_NUMBER() OVER (ORDER BY ID ASC) AS RN FROM wp_posts WHERE post_parent = 94341; ) UPDATE p SET menu_order = RNThat’s not great code. In fact, it won’t run. I know that, but does an AI? Let’s see how Copilot does.This is part of a series of experiments with AI systems.The First TestI entered this prompt, but accidentally hit Enter. When I then pasted in the code and hit enter, I got this:That is just about what I would have sent the author to let them know this code doesn’t…
Author: drweb
Amazon Web Services (AWS) has made generally available a service that makes use of artificial intelligence (AI) agents to migrate and modernize infrastructure, applications and code.Sriram Devanathan, general manager for low-code/no-code AppBuilder service at AWS, said the AWS Transform service provides access to a natural language chat interface that makes it simpler to either refactor, for example, VMware, mainframe and .NET workloads or upgrade older instances of Java.Initially previewed as an extension to Amazon Q Developer, AWS has a series of AI agents that have been specifically trained to both understand how code is constructed and invoke various tools, such…
At Uber, hundreds of engineers working from tens of development centres across the globe push changes to a single shared repository, commonly referred to as a monorepo. A monorepo is a single repository where all — or most — of a company’s code is consolidated rather than distributed across multiple repositories. According to Google’s case study, monorepos offer several benefits, including simplified dependency management, enforcement of consistent code standards and improved code shareability and reuse. However, as commit velocity increases and the number of active contributors grows, monorepos also introduce significant CI challenges — such as an ever-growing queue of…
A survey of 110 security leaders finds all are investing in software supply chain security, with application security posture management (ASPM) and DevSecOps automation and orchestration topping the priority list, followed closely by security composition analysis (SCA) tools, application programming interface (API) security and dynamic application security testing (DAST) tools.In addition, 30% of respondents expect to be piloting a software bill of materials (SBOM) initiative in the next 24 months, the survey finds.However, the source of the funding for these initiatives is becoming more of a shared responsibility, with only 21% of respondents reporting that security budgets are the sole…
Why does DevOps appear to be the last priority for a team when it looks glaringly like something that only the larger tech enterprises can afford to maintain? If this question has crossed your mind at least once, you are not alone. Many development teams avoid DevOps like the plague, thinking it is too complicated, multidimensional or expensive, since the perception is that it’s not tailored for them. Contrary to popular belief. Small teams can adopt DevOps without the restrictiveness or requirements of a maintained engineer if they focus on the backbone principle of collaboration, automation and continuous improvement. Lastly, expect…
scipy.special felt like something I could skip. Turns out, if you are doing any work in physics, engineering, or advanced math, this subpackage is a lifesaver. Special functions are not “special” because they are rare—they are essential because they show up everywhere in scientific formulas, from signal processing to statistical distributions.The scipy.special module gives you fast, accurate implementations of mathematical functions that go far beyond standard NumPy operations. Things like the gamma function, error function, Bessel functions, and orthogonal polynomials are all here—implemented in C under the hood but easily accessible from Python.What Are Special Functions in SciPy?In SciPy, special…
DevOps.com is now providing a weekly DevOps jobs report through which opportunities for DevOps professionals will be highlighted as part of an effort to better serve our audience.Our goal in these challenging economic times is to make it just that much easier for DevOps professionals to advance their careers.Of course, the pool of available DevOps talent is still relatively constrained, so when one DevOps professional takes on a new role, it tends to create opportunities for others.The five job postings shared this week are selected based on the company looking to hire, the vertical industry segment and naturally, the pay…
Senior Backend/Frontend – LARAVEL y VUE.JS. FULLTIME
If you’re working with physics equations or scientific simulations in Python, you don’t need to manually define constants like the speed of light or Avogadro’s number. The scipy.constants module gives you immediate access to hundreds of predefined physical and mathematical constants—all with correct units and precision. You’ll also find unit conversion factors, allowing you to convert between metric, imperial, and other systems cleanly in code.Why Use scipy.constants?Avoid hardcoding physical constants.Get correct values with units (e.g., ‘c’ for speed of light in m/s).Built-in unit conversions (e.g., Celsius to Kelvin, joules to calories).Enables readable, reliable scientific code.How to Acess SciPy Constants?Start by…
When you build a server according to your plan and requirements, you want it to run quickly and efficiently, right? But did you know that modern Linux systems, especially those using systemd, often install and run many services by default, even if you don’t need them? These unwanted services consume precious system resources and can even become security risks. In this article, we’ll walk through how to identify and disable unnecessary services on systemd-based Linux distributions like Fedora, CentOS, Ubuntu, Debian, and others. Why Should You Care About Unwanted Services? When you install Linux, the OS typically enables several services…
