engineering

O que é um mapeamento de estoque?

O que é um mapeamento de estoque?

Mapeamento de estoque Um mapeamento de estoque eficaz envolve um conjunto de regras para garantir que os processos relacionados a inventário e gestão de estoque sejam precisos e eficientes com o objetivo de suprir as necessidades da empresa. Armazenamento e localização! Definição de locais de armazenamento (prateleiras, seções, armazéns) Capacidade e limites de armazenamento Sistema de endereçamento para rápida localização *O que é um WMS? * Warehouse Management System (Sistema de Gerenciamento de Armazém) = Gestão de Armazém. Pense que no seu sistema empresarial, você tem o controle de estoque, você tem funcionalidades como entrada e saída, funcionalidades pertinentes a…
Read More
Unveiling URI, URL, and URN

Unveiling URI, URL, and URN

This guide provides an overview of URI, URL, and URN, explaining their differences and use cases. When developing web apps, we often need to call different web services. When configuring the communication and connection of different web services, we frequently encounter the concepts of URI, URL, and URN. Usually, users find it difficult to distinguish between them, leading to mixed or incorrect usage. In this article, we will provide examples and explain the differences between them to help everyone better understand these concepts and correctly interpret and use them when reading technical blogs, documentation, or communicating with other engineers. What…
Read More
FastAPI for Data Applications: From Concept to Creation. Part I

FastAPI for Data Applications: From Concept to Creation. Part I

In this blog post, we'll explore how to create an API using FastAPI, a modern Python framework designed for building APIs with high performance. We will create a simple API that allows users to add, update, and query items stored temporarily in memory. Alongside this, we'll discuss how you can extend this example to expose machine learning models, perform online processing in decision engines, and ensure best practices for a robust, secure API. Pre-requisites: Installation of FastAPI and Uvicorn Before diving into the code, we need to install FastAPI and Uvicorn, an ASGI server to run our application. Run the…
Read More
Introducing jekyll-crypto-donations: Easily Add Crypto Donation Blocks to Your Jekyll Site

Introducing jekyll-crypto-donations: Easily Add Crypto Donation Blocks to Your Jekyll Site

Hello Dev Community! I'm excited to share the release of my new Jekyll plugin, jekyll-crypto-donations. This gem allows you to seamlessly integrate cryptocurrency donation blocks into your Jekyll-generated websites. Whether you're a blogger, content creator, or developer, this plugin can help you receive support from your audience through crypto donations. Why jekyll-crypto-donations? Cryptocurrency donations offer a decentralized and borderless way to receive support from your audience. With the rise of digital currencies, it's essential to have a simple solution for integrating donation options into your site. That's where jekyll-crypto-donations comes in. This plugin provides a straightforward way to display donation…
Read More
EF Core 8 Update Entity

EF Core 8 Update Entity

When entities are being tracked (this is the default, to track changes) EF Core is efficient with updates in that if there are several properties for a model and only one or two properties changed the update statement only updates those columns/properties which changed rather than every column/property. Model public partial class Person { public int Id { get; set; } public string Title { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public DateOnly BirthDate { get; set; } } Enter fullscreen mode Exit fullscreen mode Example 1 Read data.…
Read More
Don’t refactor the code

Don’t refactor the code

This is a piece of advice someone gave me a long time ago. Unfortunately, I don't really remember who, so I cannot properly attribute (although chances are they heard it somewhere too). But I decided to re-share this. What is refactoring? I'm sure we can find multitude of definitions. But with modern software development process it often becomes synonymous with any kind of code changes that do not add, modify or remove features. In other words, a non-product work. In effect it often becomes a blurry term and cause of tension between product stakeholders and the dev team. Who among…
Read More
Understanding Types and Interfaces in TypeScript: A Comprehensive Guide

Understanding Types and Interfaces in TypeScript: A Comprehensive Guide

TypeScript, a superset of JavaScript, introduces static typing to the language, which helps developers catch errors early and write more maintainable code. Two of the most powerful features in TypeScript are types and interfaces. In this blog post, we'll explore the differences between types and interfaces, when to use each, and how they can help you write better TypeScript code. Table of Contents Introduction to Types and Interfaces Defining and Using Types Defining and Using Interfaces Differences Between Types and Interfaces Advanced Features Best Practices Conclusion 1. Introduction to Types and Interfaces Both types and interfaces allow you to define…
Read More
Terraform Functions Guide: Complete List with Detailed Examples

Terraform Functions Guide: Complete List with Detailed Examples

[*] Terraform functions are essential for creating effective infrastructure code. They help automate tasks like generating resource names, calculating values, and managing data structures.  In this blog post, we will explore using Terraform CLI's built-in functions in different ways, such as in locals, the console, output, and variables. Understanding these functions is important for any DevOps or Infrastructure engineer who wants to improve their Infrastructure as Code (IaC) skills. ‍Disclaimer‍_All Terraform functions discussed here work similarly in OpenTofu, the open-source Terraform alternative. However, in order to keep it simple and closer to what devops engineers are familiar with, we will…
Read More
Running a Node Service with PM2

Running a Node Service with PM2

Managing a Node.js application in a production environment can be complex. PM2 (Process Manager 2) simplifies this process by ensuring your application runs continuously, providing load balancing, and offering robust monitoring and logging features. This guide will walk you through setting up a Node.js service using TypeScript, compiling it to JavaScript, and managing it with PM2. Prerequisites Node.js and npm installed on your machine. Basic understanding of TypeScript and Node.js. Step 1: Create the dist Folder for Compiling TypeScript to JavaScript 1.1 Set Up Your Project First, create a new Node.js project and initialize it. mkdir my-node-service cd my-node-service npm…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.