teleren/devto huggingface dataset:
WHAT THE HECK REACT !? 😡
Tags: webdev, javascript, beginners, tutorial
Published: 2024-04-10 14:45:52

> React is a framework that does the same thing what html does but is fancied with hooks and components

**This is what my grandfather who used angular js feels about react**. I feel the same too cuz.. 

**I made an amazing website for one of my relatives and chose react for getting the job done**

<img src='https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExZDE2bGpxazgxbzZrN2NxZjRrejRodDd2dXJ3MDdvYWtweGVuaGJxYyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/1Bh2zyW2yuBEalV0rO/giphy.gif'/>

**The greatest part about it was even though** it was responsive, working, amazing, useful. BECAUSE of **_REACT_** (*I guess 😅), I did not work when I tried to deploy it.

## I went into depression.....

> DEPRESSION IS THE DEEP SUPPRESION OF EMOTIONS IN A SUPPRESIVE WAY. IF YOU HATE BIOLOGY TEACHER TAKE IT COOL BUD...

After this quote from my grandfather and after listening to the song believer a hundred times, I touched the computer back to start creating some awesome content (* I guess 😅 again).

## MAIN TOPIC WHY REACT IS OVER REACTIVE 

See guys react is not supposed to create desktop apps


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ruv1pvp0nqsu3jc3fkcz.png)

**💢But it does**

In a very annoying way of converting everything into chromes 

<img src='https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExOWsxYmVrN2YxNGwwdHM0cTZvbGdoMHJxODE1MnA1OXp1Z3F4M2w0aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ojJsHKUFHRaAU/giphy.gif'/>

## MOVING ON

React is not supposed to create mobile apps

But it does 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/59qdzls7stpmx6onqij8.png)


Here are the negatives I found about react native on google 😖

Issues regarding compatibility and debugging. ...
You cannot do the job without Native developers. ...
It is dependent on Facebook. ...
The memory management here is not excellent. ...
The Licenses and Patent controversy. ...
React Native is slow at adding the latest features.

## MY BAD BONDING WITH REACT

Overall my developer experience with react

<img src='https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExY3F6NjNsem1yOXR1aWF2cnJ0NDN0NzdiaXB2YnNzaW5qY2piazNxNyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/lwYxf0qKEjnoI/giphy-downsized-large.gif'/>

## THE REALITY

This is just for fun and for the haters, but in reality react is one of the most followed and liked programming language in the entire world. It is forever the most popular and evergreen programming language which you will have to code with atleast once in your life time. Hoping that this article does not have comments scolding me for this sin.

## CHECK OUT MY NEXT POST IN WHICH I REMEADE GODZILLA KONG TRAILER COMPLETELY IN AI
Clean code doesn't make your bosses happy.
Published: 2024-04-10 14:26:14

Talking about one of the legends like Robert C. Martin with his very famous book Clean Code makes one of the experts in the field wonder if he will say something good or bad, and although many like to follow the design pattern or philosophy of Clean Code I certainly can not agree that this helps in speeding up the programming.

Don't get me wrong, I love the architecture, development, style and design of Clean Code, but in the real world it is very difficult to implement this kind of things unless you are in a big company, your bosses give you reasonable lead times or you are just a software architect with a lot of free time.

But as far as ordinary programmers are concerned, doing clean architecture is torture, it slows down delivery times, it slows down programming, it slows down the programmers' Eureka! moment, turning them into constant boilerplate machines all over the code. It keeps order, but... At what cost?

In my experience as a Freelancer using technologies like JavaFX, Android, Electron.js, Ionic, Flutter or Angular is always critical to have a framework that allows you to streamline all processes and deliver to the client as soon as possible the product requested with the desired quality and desired functionality, and ... It is not always possible to do this, even if you are a junior or senior programmer is always complicated to deliver these projects when delivery times are tight, and... It is not always possible to do this, even if you are a junior or senior programmer is always complicated to deliver these projects when delivery times are tight.

There is always the possibility of expanding the hours, but being a freelancer there are hundreds of programmers that sometimes offer the same quality as you and with a much shorter delivery time, so you always have to think about competing with this, it is a long competition of who offers the best in the fastest delivery, many clients are not even interested in quality, they just need the code urgently, and when we put together the clean code with being fast... That's when everything falls down.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gstciauz3ggpat69h07s.png)


It seems exaggerated, but being a freelancer you will experience cases where clients ask for exaggeratedly ridiculous times, but with an excellent pay, so it's up to the programmer (that's you), to decide if it's worth delivering an incredibly dirty code, desperate, sleepless, and a good cup of coffee in order to deliver that software on time for the client.
Migrating MySQL database to SQL Server Using Radzen Blazor Studio.
Tags: database, migration, blazor, radzen
Published: 2024-04-10 14:25:07

{% embed https://youtu.be/V9nJX383Ivo %}

Source code can be pulled from https://github.com/benjaminsqlserver/MigratingMySQLToSQLServerUsingRadzenBlazorStudio

Video Steps:-
1. Connection is made to MySQL.
2. Database ProductCatalogue is created with 2 tables ProductCategory and Products. A one to many relationship is also created between the 2 tables. Dummy data is also inserted into the 2 tables.
3. A Radzen Blazor app is then created which connects to the MySQL database.
4. The data in the two tables are then backed up as csv files via the Radzen app.
5.  A copy of the app is then pasted into the Converter folder where it is opened with Visual Studio. 
6. MySql related packages are then removed from the copy. 
7. Sql Server related packages as well as Microsoft.Entityframeworkcore.Tools packages are then added. 
8. The class BlankTriggerAddingConvention is removed from the Data folder and references to it are also removed from ConDataContext class.
9. The appsettings.json and appsettings.development.json files are also updated to point to an instance of SQL Server.
10. Program.cs file is also modified so that ConDataContext is initialized using SQLServer instead of Mysql.
11.Migrations for SQL SERVER are then generated using Package Manager Console.
12. The database is then generated in SQL SERVER using update-database command
13.The converted app is then run.
14. Data in the csv files are imported into SQL SERVER

The script used to create the initial MySQL database is as follows:-

-- Create the ProductCatalogue database
CREATE DATABASE IF NOT EXISTS ProductCatalogue;

-- Switch to the ProductCatalogue database
USE ProductCatalogue;

-- Create the ProductCategory table
CREATE TABLE IF NOT EXISTS ProductCategory (
    category_id INT AUTO_INCREMENT PRIMARY KEY,
    category_name VARCHAR(50) NOT NULL
);

-- Create the Product table
CREATE TABLE IF NOT EXISTS Product (
    product_id INT AUTO_INCREMENT PRIMARY KEY,
    product_name VARCHAR(100) NOT NULL,
    price DECIMAL(10, 2) NOT NULL,
    category_id INT,
    FOREIGN KEY (category_id) REFERENCES ProductCategory(category_id)
);

-- Insert sample data into ProductCategory table
INSERT INTO ProductCategory (category_name) VALUES
    ('Electronics'),
    ('Clothing'),
    ('Books'),
    ('Home & Kitchen'),
    ('Toys');

-- Insert sample data into Product table
INSERT INTO Product (product_name, price, category_id) VALUES
    ('Smartphone', 599.99, 1),
    ('Laptop', 999.99, 1),
    ('T-Shirt', 19.99, 2),
    ('Jeans', 39.99, 2),
    ('Python Programming for Beginners', 29.99, 3),
    ('The Great Gatsby', 9.99, 3),
    ('Coffee Maker', 49.99, 4),
    ('Blender', 39.99, 4),
    ('LEGO Set', 59.99, 5),
    ('Doll', 24.99, 5),
    ('Tablet', 299.99, 1),
    ('Headphones', 79.99, 1),
    ('Dress', 29.99, 2),
    ('Sneakers', 49.99, 2),
    ('Data Science Handbook', 49.99, 3),
    ('Cookbook', 19.99, 3),
    ('Microwave', 99.99, 4),
    ('Toaster', 29.99, 4),
    ('Board Game', 34.99, 5),
    ('Action Figure', 14.99, 5);
SDK,IL,JIT,CLR,GC,CLI
Published: 2024-04-10 14:18:54

Har bir dasturlash tilida yozilgan codeni dastur sifatida ishga tushishi uchun uni mashina tiliga o'girish kerak bo'ladi.Bu jarayon **Compiling** deb ataladi.C# <u>cross-platform </u> bo'lganligi sababli dastlab code **IL(Intermediate Language)** tiliga o'tkaziladi.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l3yi89kt4r2rkmedwdxs.png)
Keyin <u>IL </u>ni istalgan qurilamada  .**NET Runtime** degan dastur ishga tushirib beradi. _.NET Runtime_  o'z ichiga bir nechta kompanentalarni oladi.Ulardan biri  **JIT(Just in time)Compiler**.Uning vazifasi dastur ishga tushganda IL codeni faqatgina kerakli qismini o'rnida compile qilib beradi.Bu orqali katta loyihalarda compile qilishda ko'p vaqt sarflanmaydi.
Runtimening yana bir asosiy qismi **GC(Garbage Collector)** deb ataladi.Buning vazifasi dastur tomonidan ishlatilib bo'lingan yoki keraksiz obyektlarni tozalab joyni sistemaga qaytarib beradi.Umuman olganda xotirani manage qilishda ishlatiladi.Bu komponentlar hammasi birlashib ya'ni  _(GC,JIT...)_ lar 
 **CLR(Common Language Runtime)** ni hosil qiladi.CLR tayyor kodni ishga tushirib beruvchi barcha qurilamalar bilan jihozlangan dastur.
C# da CLR,Kutubxonalar,Debugging qiluvchi va xatolarni aniqlovchi komponentlar birlashib .**NET SDK** ni tashkil qiladi.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/39jqf6ldp2k0uiujnh0c.png)
.NET SDK o'rnatib olingandan so'ng avtomatik ravishda **CLI(Command Line Interface)** dastur yuklab olinadi.Bu dastur terminal oynasida **dotnet command** larni bajarishda ishlatiladi.
List of dotnet CLI commands
Command	Function
**dotnet build**	Builds a .NET application.
**dotnet build-server**	Interacts with servers started by a build.
**dotnet clean**	Clean build outputs.
**dotnet exec**	Runs a .NET application.
**dotnet help**	Shows more detailed documentation online for the command.
**dotnet migrate**	Migrates a valid Preview 2 project to a .NET Core SDK 1.0 project.
**dotnet msbuild**	Provides access to the MSBuild command line.
**dotnet new**	Initializes a C# or F# project for a given template.
**dotnet pack**	Creates a NuGet package of your code.
**dotnet publish**	Publishes a .NET framework-dependent or self-contained application.
**dotnet restore**	Restores the dependencies for a given application.
**dotnet run**	Runs the application from source.
**dotnet sdk check**	Shows up-to-date status of installed SDK and Runtime versions.
**dotnet sln**	Options to add, remove, and list projects in a solution file.
**dotnet store**	Stores assemblies in the runtime package store.
**dotnet test**	Runs tests using a test runner.
For more commands [.NET CLI Commands](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet)
#BestTips: What tips do you have to Better Communication, as-a-dev?
Tags: discuss, writing, career, besttips
Published: 2024-04-10 14:17:27

Hey DEV Squad! 👋

Got those coding skills on lock 🔒, but how do you fare when it's time to step up the communication game?

Good news: Stellar communication is just as crucial as your top-notch coding project. 🌟

I've shared my four simplest communication strategies right here to help you smooth over team interactions, dodge those pesky misunderstandings, elevate your writing, sail through conflicts, and converse like a pro with the non-tech crowd, making sure your genius ideas truly hit the mark. ✨

Dive in: [4 Simple Tips to Boost Your Dev Communication](https://dev.to/leogopal/4-simple-tips-to-better-communication-for-devs-or-how-to-avoid-conflict-confusion-and-talk-to-people-1g85)

{% embed https://dev.to/leogopal/4-simple-tips-to-better-communication-for-devs-or-how-to-avoid-conflict-confusion-and-talk-to-people-1g85 %}

---

### Your turn now! 🎤

> What secret weapons do you wield for killer chats, emails, writing enhancements, or even conquering those meetings we'd rather not attend? 📧🤝

Whether it’s a genius tool, a shift in perspective, or a killer routine, drop your best practices for first-class dev dialogue here.

Let’s kick miscommunication to the curb, together. 🚫🗣️

### Spill your Communication #BestTips in the comments! Let’s hear them! 📣
SBOM, Libs e Components
Tags: sbom, libs
Published: 2024-04-10 14:13:38

**Knowledge base**

- [Awesome SBOM](https://github.com/awesomeSBOM/awesome-sbom)

---

**Articles**

- [Aqua :: OWASP Software Component Verification Standard (SCVS)](https://blog.aquia.us/blog/2022-09-27-owasp-scvs/)
- [CSO Online :: 8 top SBOM tools to consider](https://www.csoonline.com/article/3667483/8-top-sbom-tools-to-consider.html)
- [MergeBase :: What are the Best Tools for Generating SBOM (Software Bill of Materials)](https://mergebase.com/blog/best-tools-for-generating-sbom/)
- [Anchore :: How to Generate an SBOM with Free Open Source Tools](https://anchore.com/sbom/how-to-generate-an-sbom-with-free-open-source-tools/)

---

**Tools**

- [OWASP Dependency-Check](https://owasp.org/www-project-dependency-check/)
- [OWASP Dependency Track](https://dependencytrack.org/)
- [CycloneDX](https://cyclonedx.org/)
- [anchore/syft](https://github.com/anchore/syft)
- [microsoft/sbom-tool](https://github.com/microsoft/sbom-tool)
- [OSV by Google: A distributed vulnerability database for Open Source](https://osv.dev/)
Laravel 11 with Servbay: Quick Start Guide
Tags: webdev, beginners, programming, tutorial
Published: 2024-04-10 14:11:21

## Introduction
Laravel 11 has been released, bringing many improvements. 
It introduces a streamlined application structure, per-second rate limiting, health routing, and more. 

In addition, Laravel Reverb, a first-party, scalable WebSocket server has been introduced to provide robust real-time capabilities to your applications.

In today's guide, I will setup an example laravel application, and install ServBay for local development on Mac.

NOTE: ServBay is your one-stop-shop for local PHP development on Mac. It bundles together everything you need like web servers, databases, programming languages, mail servers and queue services.

## Create Example Application
Let's get started generating an example applicaiton using `composer`.

```
composer create-project laravel/laravel example-app
```

This will create an `example-app` directory, cd to it.

```
cd example-app
```

Now you can start the server:

```
php artisan serve

```
Go to http://127.0.0.1:8000 and you'll see the default Laravel welcome page.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kal13yj0j09ts8mylbw9.png)



## Install ServBay

We'll use ServBay to manage our local PHP development environment on Mac.

ServBay includes multiple versions of PHP/Node/MariaDB/PostgreSQL, and it can install Redis/Memcached for you.

These are the steps to install ServBay:

1. Go to Servbay's home page: https://www.servbay.com
2. Download the latest version
3. Open the installer and drag `ServBay.app` into the `Applications` folder


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3zc6zjmlf7sybkddhto8.png)


4. Open ServBay.app and follow the initialization steps


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hm3od0xkq8pc0pdllx9r.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wao0f8k0bkv2b18vok9b.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/95pfr3pw1bqnby2p3331.png)





## Add a New Host

After installing ServBay, you can add a new host for your example laravel application.

Go to the `Hosts` tab, click the plus button, and you'll see the Add Host form.

1. Set `Name` to "Laravel 11 Demo"
2. Set `Domain` to "lara.host", 
3. Set `Root Directory` to the public folder of `example-app`


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yvo8amirj3bu46bcre9f.png)



Hit the "Add" button and you're ready to go.

Now visit `lara.host` and you will see the default welcome page from the `example-app`.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/akve52h6wfpz4e3fbebx.png)



From now on, you can use ServBay for Laravel local development, happy coding!

[Check video for more.](https://x.com/ServBayDev/status/1775200028740739205)
What the f#$k is strict equality.
Tags: javascript, beginners, booleans, comparison
Published: 2024-04-10 14:06:24

Sometimes I see some memes regarding Javascript equality and yeah, some of them are pretty funny, here is my favorite.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9726sw3ikldgmlmawwir.png)

I see that there is a common pattern, this "weird" behavior always happens with the double equal sign operator `==` which we can call [loose equality](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness#loose_equality_using). This happens because it perfoms the [IsLooselyEqual](https://tc39.es/ecma262/multipage/abstract-operations.html#sec-islooselyequal) algorithm, and the Javascript engine will perform a typer cohertion to try to match both sides in type and value.

## How can avoid these "weird" behavior?
Well when you use the triple equal operator `===` javascript doesn't convert at all the type of your values, and then performs a comparison and checks that both values and types, and if both are for example the same number and the same type, the result of the comparison will be 'true'.
PATHRI MATA COMPUTERS
Published: 2024-04-10 13:51:37

ALL TYPES OF IT SOLUTIONS
puneetsharma712000@gmail.com
PUNEET
SHARMA
8595474432
Our company services and repairs every brand and model of desktop computer, laptop computer or notebook computer and apple products. We troubleshoot, diagnose, service, network, maintain, ...
Our trained technicians can service and repair any computer problem. With any computer laptop and apple products repair, our service techs will always recommend replacing your computer ...
Technicians' disassemble and reassemble computers using various types of hand tools. They help in producing test procedures for different types of products.
Laptop and Apple Products repairing refers to the process of diagnosing and fixing issues or malfunctions in laptop computers. It involves a range of tasks, including troubleshooting hardware and software problems, replacing or repairing faulty components, and ensuring the laptop functions correctly. Technicians may address issues such as broken screens, damaged keyboards, software errors, overheating, or power-related problems. Laptop repairing requires technical expertise, specialized tools, and knowledge of various laptop models and operating systems. It can be performed by individuals with the necessary skills or by professional technicians and service centers.
Computer repairing involves the process of diagnosing and fixing issues in desktop or laptop computers. It includes troubleshooting hardware and software problems, replacing or repairing faulty components, and ensuring the computer functions properly. Technicians may address issues such as hardware malfunctions, software errors, virus removal, and system optimization. Computer repairing requires technical expertise, specialized tools, and knowledge of various computer models and operating systems. It can be performed by individuals with the necessary skills or by professional technicians and service centers.
Boost your career with Informatica Cloud Training
Tags: cloud, opensource, devops
Published: 2024-04-10 13:50:35

Techsolidity offers you project-oriented Informatica cloud training that makes you an expert in cloud integration and data management. This program gives you broad exposure to core areas of IICS like cloud data integration, application integration, API management, and Cloud data quality. This Informatica cloud certification covers skills like architecture, cloud secure agent, data integration features, data synchronization, data replication, cloud mapping, data transformation, task automation, masking tasks, maas ingestion, connectors, cloud repository, REST API, performance tuning, administration, and much more. Our real-time instructor will make you understand the process to transform any sort of data into useful insights using the IICS platform.

Schedule and Attend Free Demo here! TechSolidity [Informatica Cloud Training](https://techsolidity.com/informatica-cloud-training)

**Key Features:
**
- Flexible Schedule
- Certification & Job Assistance
- 30 Hrs Certification Training
- 100% Job Oriented Training
- 24/7 Support
- Self-Paced Learning
- Live Projects
- Real-Time Use Cases
- Live Session

**About Techsolidity:
**
Techsolidity is an emerging e-learning platform that offers a wide range of upskilling programs worldwide. We design and develop learning modules for corporates and individuals that enable them to achieve considerable growth in their careers.

Techsolidity is an EdTech company with a team of 1000+ subject matter experts covering 500+ training programs. We build simplified learning solutions for corporates and individuals that are innovative and career-changing. Moreover, we help companies in finding the right talent to match their project requirements.

**For information please visit our website:-
**
https://techsolidity.com/
https://techsolidity.com/informatica-cloud-training

To Attend Free Demo (Or) for any Queries Write to us at

info@techsolidity.com(or) Call us on +91 8341166233
Threat Modeling
Tags: threat, modeling, owasp, stride
Published: 2024-04-10 13:48:07

**Guides**

- [Threat Modeling Manifesto](https://www.threatmodelingmanifesto.org/)
- [OWASP :: Threat Modeling Process](https://owasp.org/www-community/Threat_Modeling_Process)
- [Microsoft :: Threat Modeling ](https://www.microsoft.com/en-us/securityengineering/sdl/threatmodeling)

---

**Usefull links**
Articles

- [Gitlab :: Threat Modeling ](https://about.gitlab.com/handbook/security/threat_modeling/)

---

**Tools**

- [OWASP Threat Dragon](https://threatdragon.github.io/)
.NET Architecture
Published: 2024-04-10 13:41:03

1.OOP tillarning barchasida dasturning eng kichik bo'lagi bu **Obyekt**dir.Har bir obyekt ichida **Data**(Ma'lumot) va **Behavior**(Bajaradigan ishi) bo'ladi.Obyekt ichidagi _Data_ uning **Property**si,_Behavior_ esa **Method**i deb ataladi.Obyekt yaratishdan avval ularning maketi yoki andozasi yasab olinadi.Bu andoza **Class** deb ataladi.Dastur kattalashgan sari klasslar soni oshib boradi.C# da o'xshash funksiyaga ega klasslar **Namespace** ostida birlashtiriladi.Ko'pgina namespacelar birlashib **Assembly** hosil qiladi.