development

Single Page Application: Authentication and Authorization in Angular

Single Page Application: Authentication and Authorization in Angular

Introduction In a Single Page Application (SPA), each element has its own existence and lifecycle, rather than being part of a global page state. Authentication and authorization can affect some or all elements on the screen. Authentication Process in an SPA User login: Obtain an access and refresh token. Client-side storage: Store tokens and minimal details in local storage. Login resolver: Redirect away from the login page if the user is authenticated. Router auth guard: Redirect to the login page if the user is unauthenticated. Logout: Remove stored data. Additional Considerations HTTP interceptor: Use the token for API calls. 401…
Read More
CRISP-DM: The Essential Methodology for Structuring Your Data Science Projects

CRISP-DM: The Essential Methodology for Structuring Your Data Science Projects

As with any IT project, Machine Learning projects need a framework. However, classical methodologies do not apply or apply very poorly to Data Science. Among the existing methodologies, CRISP-DM is the most commonly used and will be presented here. Several variants exist. Be careful, CRISP is a framework and not a rigid structure. The purpose of using a methodology is not to have a magic formula or to be limited. It mainly provides an idea of the progress and steps, as well as good practices to follow. CRISP-DM stands for "Cross Industry Standard Process for Data Mining." It is, therefore,…
Read More
What is Actually GitLab?

What is Actually GitLab?

There is a genuine problem with managing and securing the deployment of software that is faced by a lot of companies. So, to help companies sort out this issue, GitLab was introduced. It’s an open-source code repository that helps in DevOps and DevSecOps projects. Developers can test as well as deploy code. The selling point of GitLab is actually its cloud-based Git repository that a lot of developers love. The best part? It’s totally free. There is an option for storing your online code and tracking your own issue. In fact, by using GitLab, you can host varying development chains…
Read More
Issue with NPM Package Installing Globally

Issue with NPM Package Installing Globally

I was not able to install npm packages globally in mac os(using npm install -g), but able to install locally in the project. Installing locally in every project will increase the total node_modules folder size and for every project we need to install the same packages that will be tedious and unnecessary. Here are the steps I performed. I was using Homebrew to install node and npm. So, Used command npm config get prefix - check where the npm actually points to. If this points to /opt/homebrew Check if node_modules are installed in cd /usr/local/lib If (2) is true, brew…
Read More
Greetings!

Greetings!

Greetings all. I'm really excited to be here. I'm a new developer, working hard to build up my skills. I focus mostly on Python and SQL, but am also learning full-stack web development (HTML, CSS, and JS). I'm really excited to join this community. I'm always looking to learn and never pass up the opportunity get better. I'm always willing to collaborate and learn more, as I'm still a newbie at this, even though I've been working hard for the last year, I feel like I move one step forward and take two steps back. I'm hoping that I can…
Read More
Boost Team Efficiency with Smaller PRs

Boost Team Efficiency with Smaller PRs

Ever felt overwhelmed by massive Pull Requests (PRs) that drag on for days, or even weeks? John Kline from Riot Games has the answers you’ve been looking for. In a recent DevLogue episode, John dished out game-changing insights on how reducing PR size can supercharge your team's performance. Slice and Dice: Breaking Down the Work The first step to conquering PR bloat is breaking down work into bite-sized chunks. Forget those monstrous, long-lived PRs. Instead, aim for short-lived PRs that deliver small, incremental changes daily. This not only makes reviews a breeze but also minimizes risk and integration issues. Two…
Read More
Understanding Chain-of-Thought Prompting: A Revolution in Artificial Intelligence

Understanding Chain-of-Thought Prompting: A Revolution in Artificial Intelligence

What is Chain-of-Thought Prompting? Chain-of-Thought Prompting is a method that guides language models through a series of logical steps to arrive at an answer or solution. Unlike traditional approaches where models generate responses directly, CoT encourages models to “think out loud,” detailing their reasoning process before formulating a conclusion. How It Works Problem Decomposition: The model is encouraged to break down a complex problem into simpler sub-problems. Reasoning Sequences: By stimulating thought sequences, the model can approach questions in a more structured manner. Iterative Reflection: The model can revise and refine its answers based on new information or identified errors.…
Read More
30 days of AWS – Part 3: AWS Well-Architected Framework

30 days of AWS – Part 3: AWS Well-Architected Framework

Definition To put it simply, the AWS well-architected framework is a collection of best practices and guidelines for designing and operating reliable, secure, efficient, and cost-effective systems in the cloud. It is built upon 6 pillars. Namely: Security Cost optimization Operational excellence Reliability Efficiency Sustainability Acronym to remember it by: S-C-O-R-E-S Operational Excellence Focus - Run and monitor systems to deliver business value. Continually improve and support processes and procedures. Key Topics Automating changes Responding to events Defining standards to maintain daily operations Design Principles Perform operations as code- Define the entire workload as code and update it with code.…
Read More
Como um Malware opera, quais são os seus tipos e como se proteger.

Como um Malware opera, quais são os seus tipos e como se proteger.

No mundo digital de hoje, a segurança cibernética se torna cada vez mais importante. Entre as principais ameaças, os malwares se destacam por sua capacidade de causar danos significativos a dispositivos, redes e dados. Entender o funcionamento, os tipos e as medidas de proteção contra malwares é essencial para garantir a segurança online. Mas, o que é um Malware? Malware, abreviação de software malicioso, é um termo genérico que engloba diversos tipos de programas nocivos projetados para causar danos ou obter acesso não autorizado a sistemas computacionais, causando algum prejuízo. Esses softwares podem ser criados com diversas motivações, como roubo…
Read More
An application form asked me what I feel about their value “doing what it takes”. I shared a story about an old dog.

An application form asked me what I feel about their value “doing what it takes”. I shared a story about an old dog.

"One of our values is 'Do-What-It-Takes.' Please provide an example of a time you’ve applied this and what the impact was." I'm kind of tired of the rinse-and-repeat job description-focused answers. 'I always met deadlines cause I did what it took', 'the customers were 99.98% happy with the results', etc... They've yielded no positive results for me on my job hunt. I'm not standing out over the noise of the 999 other applications. So, I kind of just write what I feel now. If something sticks, we'll probably have that "culture fit" we're all seeking these days. Anyway, here's what…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.