A Crash Course in Testing Next.js Projects
Jest, Cypress, and StorybooksTesting more than just your patienceAudienceThis article is aimed at engineers with a solid understanding of React, Next.js, and Typescript. An excellent start would be my pieces linked in the previous sentence.The goal is to move from writing well-constructed front-end code to writing well-constructed front-end code we know
Read moreHow Does Kubernetes Decide Where to Place Pods?
Where, oh where, should I place this Pod?Continue reading on Better Programming »
Read moreDetermining Time Complexity of Algorithms Experimentally
Quality assurance is a goal that should be paramount for every professional software engineer. One of the components of this assurance is to make computer programs run smoothly and in acceptable latencies, i.e., write programs with low time complexities.One widely known way of expressing the theoretical behavior of time or
Read moreHow to Use CSS object-fit and object-position
Learn how to use CSS object-fit to determine how images fit within a given space, and how to position those images with object-position. Continue reading How to Use CSS object-fit and object-position on SitePoint.
Read moreAI and analytics: We’ve got answers to your burning questions
There’s no denying that the technical hiring environment we’re in today looks very different than it did a year ago. After a wild hiring frenzy, you’ve now likely swung the pendulum the other direction and are staring down resource constraints—all while trying to figure out how you can squeeze more
Read moreCoupling and Cohesion in Object-Oriented Programming
Photo by Redd F on UnsplashHave you ever found yourself navigating multiple files to determine how a straightforward function behaves? On the other hand, have you ever been in the middle of a good class that does everything while you are struggling to add your minor improvement? If you have been
Read moreExploring Snowflake and Streamlit With LlamaIndex Text-to-SQL
Integrating LlamaIndex into Snowflake and StreamlitContinue reading on Better Programming »
Read moreUnderstanding Prompt Injections and What You Can Do About Them.
Understanding Prompt Injections and What You Can Do About ThemFrom chatbots to virtual assistants, AI models are transforming our interactions. Yet, there’s a lesser-known aspect of AI that could have a massive impact: prompt injectionPhoto by Giannis Skarlatos on UnsplashPrompt injections become all the more dangerous with the increasing access of Large
Read moreYou’re Not Productive When Remote
Photo by Andreas Klassen on UnsplashFor the past month, I’ve noticed a hilarious trend. An uptick in articles all calling for an end to remote work, be it full or hybrid. People need to get back into the office because that’s how it has always been and should always be.Each piece is
Read moreDRY: The Unspoken Parts
Photo by Laine Cooper on UnsplashOne of the most common terms in software engineering is the DRY principle (Don’t Repeat Yourself), but many engineers associate this principle with “Don’t copy-paste lines of code.” This is a part of DRY; however, DRY is about duplication of knowledge.But first, why is duplication evil?The
Read more