Блог dev.to | DevsDay.ru

IT-блоги Блог dev.to

IT-блоги Блог dev.to


Разработка dev.to 18 мая 2024 г. 23:06

What is MVC According to the definition of MVC architecture, MVC is a design pattern used to separate user interface (view), data (model) and application logic (controller). In this pattern, the controller connects the model and the view. The MVC...... читать далее

dotnet laravel django webdev

Разработка dev.to 18 мая 2024 г. 22:51

While there are plenty of examples for using 11ty and Decap CMS in blog settings, I struggled to find a way to make it work for a non-blog static website. Leaving these tips out on the internet for anybody else looking to do the same. Maki...... читать далее

webdev jamstack javascript 11ty

Разработка dev.to 18 мая 2024 г. 22:42

In software development, the Broken Window theory suggests that small issues, if left unfixed, can lead to bigger problems. Imagine a codebase where minor bugs or style inconsistencies are ignored. Over time, these small problems accumulate, making t...... читать далее

softwareengineering softwaredevelopment software

Разработка dev.to 18 мая 2024 г. 22:40

Introduction In today's fast-paced development environment, having a CI/CD pipeline set up to automatically run tests, check project builds, and manage deployments can save significant time and enhance scalability. It has become a necessity for any...... читать далее

devops kubernetes githubactions cicd

Разработка dev.to 18 мая 2024 г. 22:35

Recently, my team received a task: create a form page. Sounds easy, doesn't it? After all, we were experienced with Angular and had built many forms. However, there was one big problem: the form page was separated into two parts—a top form and a bott...... читать далее

angular typescript frontend

Разработка dev.to 18 мая 2024 г. 21:40

This is a JWT token. It consists of a Header, a Payload, and a Signature. JWTs are considered the best modern way of authentication. eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflK...... читать далее

webdev jwt authentication

Разработка dev.to 18 мая 2024 г. 21:17

I've been using Open Interpreter quite a bit in building a React website. If you haven't heard of it, Open Interpreter lets LLMs run code on your computer to complete tasks. This has a major advantage over the average AI web interface in that it can...... читать далее

openinterpreter 01 ai

Разработка dev.to 18 мая 2024 г. 21:15

It's crucial for a new developer to choose the right tools for the job and not the right job for the tools. This expression is very common, but it rings true in our profession. It’s particularly relevant to new and beginner developers who are in the...... читать далее

webdev javascript beginners learning

Разработка dev.to 18 мая 2024 г. 21:13

Until last week, I was learning Redux in react js and my focus was on the front end, and I had already decided that instead of going forward with the full stack at the same time as the front end and the back end, I would choose a path in order to get...... читать далее

php nextjs react laravel

Разработка dev.to 18 мая 2024 г. 20:58

Sometimes it's hard to always write simple and clean commits, but we have a simple npm package called git-cz or commitizen wich help us to write better commits: https://www.npmjs.com/package/git-cz https://www.npmjs.com/package/commitizen Follow...... читать далее

conventionalcommits git commit development

Разработка dev.to 18 мая 2024 г. 20:54

Games have always been a part of my life in some shape or form. Whether it be the Pokemon game I obsessively played on my GameBoy I got as a consolation prize for a would-be PSP, or the Tomb Raider disc a friend of mine and I broke by playing it so o...... читать далее

beginners motivation programming

Разработка dev.to 18 мая 2024 г. 20:33

Nesta quarta parte de minhas reflexões, seguimos com a letra "L", obedecendo a ordem proposta pelo acrônimo SOLID. Trabalharei com TypeScript nos exemplos. Neste artigo Liskov Substitution Principle Exemplo abstrato Exemplo técnico (Fr...... читать далее

Разработка dev.to 18 мая 2024 г. 20:32

In this fourth part of my thoughts, we continue with the letter "L", following the order proposed by the SOLID acronym. I'll be working with TypeScript in the examples. In this article Liskov Substitution Principle Abstract example Tec...... читать далее

solidprinciples programming designpatterns typescript

Разработка dev.to 18 мая 2024 г. 20:18

Initial problem: can't connect to a Google Cloud VM instance created through vscode. Try to get SSH connection to the instance through Google Cloud Console: Checked firewall rules. There already exists a predefined rule that applies to all insta...... читать далее

cloud cloudskills

Разработка dev.to 18 мая 2024 г. 20:10

Have you ever been in a situation where you made a PR or MR and waited for a couple of seconds for the output of the CI pipeline? But something went wrong, and you can't see the issue in the blink of an eye. And you get annoyed that you must read a f...... читать далее

php opensource codequality

Разработка dev.to 18 мая 2024 г. 20:06

Sampling method DPM++ 2M SDE vs DPM++ 3M SDE with Schedule type Uniform vs Karras vs Exponential — I think winner is DPM++ 3M SDE Uniform — Tested on fairly overtrained DreamBooth RealVisXL V4.0 based SDXL model I wanted to the test newest Sampling...... читать далее

beginners tutorial ai learning

Разработка dev.to 18 мая 2024 г. 20:04

NestJS is a powerful, progressive Node.js framework for building efficient and scalable server-side applications. It is written in TypeScript and is heavily inspired by Angular. It comes with a modular architecture and in-built support for a plethora...... читать далее

javascript nestjs node beginners

Разработка dev.to 18 мая 2024 г. 20:04

Java'da scope ya da Türkçe karşılığıyla kapsam, bir değişkenin, metotun veya sınıfın erişilebilir olduğu ve yaşam süresinin tanımlandığı alanı ifade eder. Scope, bir değişkenin nerede oluşturulduğunu, nerede kullanılabileceğini ve ne zaman bellekten...... читать далее

Разработка dev.to 18 мая 2024 г. 20:01

Web assembly enables the use of code written in low-level languages on the browser for faster performance. In the tutorial below, I created two prime number checker functions one with Rust and the other with Javascript, and compared their execution...... читать далее

rust webassembly webdev

Разработка dev.to 18 мая 2024 г. 19:54

Understanding YouTube's Unique Video IDs: An Exploration of Base 64 Encoding Every YouTube video has a unique identifier embedded in its URL. This ID, a string of eleven characters, is crucial for distinguishing the vast array of videos on the plat...... читать далее

webdev discuss learning python