7 февраля 2023 г.
Просмотров: 525
NCrunch
NCrunch is a powerful tool that automates the testing and debugging of .NET and C# code. It integrates seamlessly into Visual Studio, allowing development teams to quickly identify and fix errors, ensuring that their projects are always of the highest quality.
NCrunch is designed to increase the productivity of development teams by automatically running tests in the background while developers work on their code. This ensures that all tests are run...
далее...
6 февраля 2023 г.
Просмотров: 502
In this tutorial, I'll teach you how to build a simple REST API with PHP and MySQL.
REST has become the de facto standard when it comes to exposing data via APIs and building web services. In fact, most web applications these days access and expose data via REST APIs. With the popularity of front-end frameworks that can consume REST APIs effortlessly, it’s always going to be a plus for you...
далее...
5 февраля 2023 г.
Просмотров: 458
Memory leaks have long been programmer’s worst nightmare in .NET. When it comes to production servers, memory leaks are one of the most common and annoying issues. As we all know production servers must operate with the least amount of downtime possible.
But memory leaks slow it down and eventually knock the server down by eating large chunks of memory. The majority of the time, customers reboot the machine to get...
далее...
5 февраля 2023 г.
Просмотров: 288
Вчера у меня в ленте на фейсбуке (жаль что в закрытом посте) проявился еще один аспект ChatGPT, жуть которого я не вполне осознавал. Представьте, что ваш менеджер присылает вам емейл: "я вот тут сгенерил с помощью ChatGPT код на языке описания аппаратуры SystemVerilog, который реализует мою идею, ты его поправь немного и в продакшн, а то нас сроки поджимают".
Почему это жутко? Потому что в обсуждаемом посте ChatGPT сгенерил так называемый...
далее...
5 февраля 2023 г.
Просмотров: 297
OpenAI, the company behind the chatbot ChatGPT, has ramped up its hiring around the world, bringing on roughly 1,000 remote contractors over the past six months in regions like Latin America and Eastern Europe, according to people familiar with the matter.
About 60% of the contractors were hired to do what’s called “data labeling” — creating massive sets of images, audio clips, and other information that can then be used to...
далее...
31 января 2023 г.
Просмотров: 1194
Today we will see, how to enable Logging directly to Loki via Serilog for a .NET Core Microservice and visualize the logs in Grafana.
Before we start,
What is Loki?
Loki is a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. It does not index the contents of the logs, but rather a set of labels for each...
далее...
30 января 2023 г.
Просмотров: 582
Прокрастинацию принято считать разновидностью лени и ерундой, а эффективным лекарством от нее грозный окрик: «Соберись, тряпка!» На деле прокрастинация — опасная проблема, сродни зависимости, которая вызывает много вины и стыда, и способна со временем разрушить личность. Почему она так опасна, редко лечится попыткой «взять себя в руки» и как ее одолеть?
Что представляет собой прокрастинация?
Прокрастинация выражается в том, что человек откладывает важные и срочные дела и заменяет их приятной деятельностью: пьет...
далее...
30 января 2023 г.
Просмотров: 456
Управлять программистами в ИТ-компании – дело особое. Не сказать, что сильно сложное. Совру, если назову простым. Особое.
Книжек, статей, курсов создано великое множество. Что-то помогает, у кого-то получилось. Собственно, промахнуться с оценкой сложно – отрасль ведь не просто существует, но и весьма активно развивается. Даже в нашей деревне. Значит, как-то, кое-как, с горем пополам, но управление программистами не только возможно, но и получается.
Однако, кризисы случаются. Бывает, что затяжные – например, какая-нибудь...
далее...
30 января 2023 г.
Просмотров: 442
Какой HR (или рекрутер) не сталкивался с этой проблемой? Думаю, что все. Сколько копий сломано на эту тему? - Сейчас мы сломаем еще одно!
Предполагаю, что сейчас все кадровики начнут кидать в меня тапками. Но умные и опытные вполне себе поймут, что мои тезисы защищают не только интересы разработчиков, но и интересы службы персонала. И вот почему.
Начну с начала. Представьте себе, что вы - достаточно опытный разработчик, и вам платят примерно...
далее...
28 января 2023 г.
Просмотров: 661
Prerequisites: VSCode and .Net 7 installed. Don't need to copy the code, GitHub link provided in the end.
Open up a terminal in VSCode or any IDE of your choice, run:
dotnet new console
2 files will appear, default Program.cs and .csproj named according to your folder:
Now let's create a file called OpenAIResponse.cs and start filling in the objects.
Main response object
Text response and usage objects
We will use these objects to translate the open...
далее...
26 января 2023 г.
Просмотров: 265
Повторяться, но каждый раз по-новому – разве не это есть искусство?
Станислав Ежи Лец, из книги «Непричёсанные мысли»
Словарь определяет репликацию как процесс поддержания двух (или более) наборов данных в согласованном состоянии. Что такое «согласованное состояние наборов данных» – отдельный большой вопрос, поэтому переформулируем определение проще: процесс изменения одного набора данных, называемого репликой, в ответ на изменения другого набора данных, называемого основным. Совсем не обязательно наборы при этом будут одинаковыми.
Поддержка репликации баз...
далее...
24 января 2023 г.
Просмотров: 358
You might already know that Google uses over 200 ranking factors in their algorithm…
But what are they, exactly?
Well, you’re in for a treat because I’ve put together a complete list.
Some are proven.
Some are controversial.
Others are SEO nerd speculation.
But they’re all here.
And I recently updated this entire list for 2022.
Let’s dive right in.
Domain Factors
Page-Level Factors
Site-Level Factors
...
далее...
23 января 2023 г.
Просмотров: 439
Собеседование инженера программиста сегодня часто включает в себя некий тест или упражнение на программирование, и я думаю, что это очень плохая вещь. Вот почему.
Ленивые тропы
Попросив инженеров-программистов выполнить конкретную задачу, например написать алгоритм генерации факториалов (очень распространённый) или отсортировать односвязный или двусвязный список, которые легко запоминаются, вы не получите никакого представления об умениях кандидата, кроме умения зубрить. С таким же успехом можно спросить ASCII-код символа 'A'.
Подробные решения многих задач легко найти...
далее...
18 января 2023 г.
Просмотров: 525
Naming, but not in the way you think.
Our knowledge represents a minute portion of reality. Names are the visible portion of that knowledge.
Phil Karlton once said, “there are only two hard things in Computer Science: cache invalidation and naming things.”
One is a real problem; the other is a problem of defining reality.
A misbehaving cache algorithm compromises the system’s integrity. Inadequate names can compromise the system’s entire existence.
On the surface, this...
далее...
18 января 2023 г.
Просмотров: 489
Did you ever face a situation where you have a search UI, like a front-end application, that has a data table and you need to support a complex query construction that can contain Free Text search, Sorting of multiple columns, and extra filters and query parameters starts to look a nightmare on your controllers?
ASP.Net offers great flexibility, extensibility, and customization to graceful handle these situations.
The problem
Let’s imagine the scenario where...
далее...
18 января 2023 г.
Просмотров: 421
Aha! There is always something intimidating about Dependency Injection. I distinctly remember a couple of years ago, telling a .Net recruiter for a contract project, that,
“I had no idea what DI is”
He immediately stopped talking to me. It’s just one of those moments.
It was true, to an extent. It’s one of those things that you have been doing for years, but, you never knew you were doing it.
Like how you...
далее...
18 января 2023 г.
Просмотров: 542
What is pagination
So you may have already used this one, but you may be wondering what this pagination 😀. So as in figure 1, pagination helps you break a large number of datasets into smaller pages. For example, a storybook contains 1000 pages. Why does it have 1000 pages instead of 1? To ease the reading. Same thing in here as well. Imagine you are dealing with a dataset that...
далее...
18 января 2023 г.
Просмотров: 2033
Unit testing is one of the major parts of software testing which can be handled by the developer itself. It is used to test the smallest components of your code. The purpose of the Unit test is to validate the functionality or expected output of your code during your development phases.
It helps every developer to test the code before pushing it to source control. There are several unit testing frameworks...
далее...
16 января 2023 г.
Просмотров: 951
C# AngleSharp tutorial shows how to parse HTML in C# with AngleSharp library.
The library can also parse SVG, MathML, or XML.
AngleSharp GitHub: https://github.com/AngleSharp
Document Object Model (DOM) is a standard tree structure, where each node contains one of the components from an XML structure. Element nodes and text nodes are the two most common types of nodes. With DOM functions we can create nodes, remove nodes, change their contents, and traverse...
далее...
15 января 2023 г.
Просмотров: 301
Defined long ago, the SOLID principles are intended to improve the readability, adaptability, extensibility, and maintainability of object-oriented designs. The five SOLID principles of object-oriented class design facilitate the development of understandable, tested software that many developers can use at any time and place.
We give Robert C. Martin, popularly known as Uncle Bob, credit for this idea in his 2000 work, Design Principles and Design Patterns. He’s also known for...
далее...