teleren/devto huggingface dataset:
How to install mongodb community edition to ubuntu 22.04
Tags: mongodb, nosql, webdev, ubuntu
Published: 2023-01-27 16:13:44


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1g077rgkvkw18ejmsdhi.png)
[Mongodb](https://www.mongodb.com/) is a widely used document oriented NoSQL database management system. Mongodb uses json like format called BSON ( Bianary Json) and it stores data in a collection of documents rather than storing in a table. Mongodb is designed in that way, it can be scaled and performed in an optional lavel and that became a choice for many large scale applications. 
    Mongodb is used in many web and mobile applications and here are the steps to install mongodb in ubuntu system 22.04,

_step 1 :_ Import the MongoDB public GPG key:

```
sudo apt-get install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
```
_step 2 :_ Create a file for mongoDB

```
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
```

_step 3:_ Reload the package database

```
sudo apt-get update
```

_Step 4:_ Install MongoDB Community Edition

```
sudo apt-get install -y mongodb-org
```

_Step 5:_ Start mongoDB

```
sudo systemctl start mongod
```
you can also enable automatic start of mongoDB on boot by using this command 

```
sudo systemctl enable mongod
```

Troubleshoot : While you are going to start mongoDB you might see this message,

`MongoDB Install Fails on Ubuntu 22.04 - Depends on libssl1.1 but it is not installable` as Ubuntu 22.04 has upgraded libssl to 3 and does not propose libssl1.1. as  MongoDb has no official build for ubuntu 22.04. To overcome this issue ubuntu 22.04 installed in your system need to force the installation of libssl1.1 by adding the ubuntu 20.04 source:

step 1: 

```
echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list
```
Sep 2: Now again run the same previosly used command to install mongodb,

```
sudo apt-get install -y mongodb-org
```
now delete the focal-security list file you just created,
```
sudo rm /etc/apt/sources.list.d/focal-security.list
```

Now you you can start mongoDB in your system using command,

```
sudo systemctl start mongod
```
and it will start working fine in your sytem.
Kickstart Your Frontend Development Journey with this Comprehensive Guide
Tags: webdev, beginners, programming, tutorial
Published: 2023-01-27 16:12:43

You are in charge of creating the user interface for websites and applications as a front-end developer. You are the one who brings a designer's concept to life, transforming it into a useful and lovely product. The demand for skilled front-end developers is growing rapidly in tandem with the development of mobile technology. This road map will assist you in getting started if you're interested in becoming a front-end developer.

1. Learning the Fundamentals
Learning the fundamentals of web programming is the first step. Start with HTML and CSS, the foundational languages for creating websites. A website's structure can be created using HTML, while its styling can be done using CSS. You can start learning JavaScript, the programming language used to generate interactive web pages, once you have a solid understanding of HTML and CSS.


2. Test Your Knowledge
It's time to put your talents to the test once you have a solid understanding of the foundations. Try your hand at coding competitions like TopCoder or register for online coding challenges like CodeWars or CodeFights. You may increase your coding skills and sharpen your talents by doing this.


3. Become acquainted with frameworks
You can graduate to more complex topics once you've mastered the fundamentals. Learn about front-end coding frameworks like Angular, React, and Vue.js. You may construct more effective and scalable apps with the aid of these frameworks, which are used to build complicated web applications.


4. Discover Design
You must be familiar with design in order to succeed as a front-end developer. Study layout, typography, and colour theory. You can develop stunning and user-friendly interfaces by understanding design principles.


5. Participate
Lastly, become active in the front-end development scene. Participate in meetups, get involved in online forums, and follow business influencers on Twitter. Maintain current with the newest styles and innovations while networking with other developers.

You will be well on your way to becoming a proficient front-end developer if you adhere to this road map. You can build incredible websites and applications with effort and attention. Good fortune!
5 things you should know about Laravel Vapor
Tags: serverless, laravel, vapor, awlambda
Published: 2023-01-27 16:06:22

_We've been using Laravel Vapor for almost 3 years now, and it has truly been a game-changer for us. Before discovering Vapor, we struggled with the scaling and management of our web applications. But since switching to this serverless deployment platform, we've been able to focus on building and improving our applications without worrying about the underlying infrastructure._

---

1. Laravel Vapor is an AWS Lambda-based serverless application platform that enables developers to quickly deploy and manage applications on-demand.

2. It offers a streamlined development process, from code deployment to scaling with load requirements.
3. Vapor uses a powerful serverless paradigm that eliminates the need for servers and provides restful APIs for data streams.

4. It is designed to be highly fault tolerant and secure, and provides a wide range of powerful features such as continuous integration, auto-scaling, logging and monitoring.

5. Laravel Vapor is easy to use and offers developers a great way to reduce operational costs, improve development speed and maintain consistent quality standards.

---

In conclusion, Laravel Vapor has proven to be a game-changer for us as it provides a seamless way to deploy and manage web applications on-demand. Its integration with AWS Lambda, streamlined development process, and serverless paradigm have eliminated the need for servers and allowed us to focus on building and improving our applications. The platform is highly fault tolerant, secure, and provides a wide range of powerful features such as continuous integration, auto-scaling, logging, and monitoring. Overall, Laravel Vapor is an easy-to-use, cost-effective solution that has helped us maintain consistent quality standards and improve development speed.

####_You are welcome to ask me any question about serverless_
Cap XV: Sobre frameworks, librerías y cómo reiventamos la rueda, El libro negro del programador. 💻
Tags: programming, books, productivity, spanish
Published: 2023-01-27 16:04:05

## **Sobre frameworks, librerías y cómo reinventamos la rueda**

---

> **No hay ningún problema que no se pueda descomponer en otros más pequeños y abordables.**

---

* Premisa que todo desarrollador debe saber: **Divide y vencerás**

* Independientemente al framework que usemos y a las tecnologias que implementemos, la premisa para abordar un problema adecuadamente debe ser dividirlo en problemas mas granulares y faciles de resolver.

* Existen multitud de librerías open source que podemos usar en nuestros proyectos.

* Los desarrolladores de software en cierto sentido somos traductores: dado un problema lo traducimos en un diseño que dará lugar a líneas de código que lo resuelvan.

* El error que cometemos es abordar un problema de manera general y de golpe en vez de analizarlo para subdividirlo.

* Es super importante saber descomponer lo grande en problemas **mas pequeños, individuales, independiente y totalmente desacopladas**.

* La calidad del software es directamente proporcional al nivel de **desacoplamiento** alcanzado por cada una de sus partes.

* Si nada en nuestro proyecto es reutilizable, puede que el proyecto funcione, pero cuando querrámos hacerle cambios y aumentar funcionalidades, tendremos serios problemas.

* Somos eficaces en la medida que reutilizamos y escribimos código reutilizable*

* Cuando identificamos este conjunto de partes pequeñas, modulares e independientes entre sí que pueden ser reusadas, tenemos ante nosotros una **librería**.

* El objetivo de todo proyecto es que el desarrollador se ocupe de los requisitos del mismo y no por temas de bajo nivel, acá vienen al rescate las librerías.

* Frameworks, librerías y bibliotecas en esencia persiguen el mismo fin, son herramientas que resuelven problemas de diseño, arquitectura y desacoplamiento de software para que los programadores piensen lo menos posible en esto y se dediquen de lleno a los requerimientos del sistema.

* No reinventes la rueda: en ocasiones por ego de querer sentirnos programadores geniales creamos soluciones que otros desarrolladores ya hicieron y compartieron; o en ocasiones somos flojos y no buscamos estas librerías.

* Todo el código que escribimos debe ser mantenido, mientras más pronto identifiquemos qué partes pueden ser resultas con librerías de terceros, menos código tendremos que mantener.

---

Te dejo el link gratuito de [*El libro negro de programador*](https://underpost.net/ir/pdf/cy3/el-libro-negro-del-programador.pdf) por si te intesa leerlo, o dale click a la imagen:


[![libro](https://www.digitalskillsinstitute.com/assets/media/books/5541eba31b4b42b5bb021dc77c70d658-480.jpg)](https://underpost.net/ir/pdf/cy3/el-libro-negro-del-programador.pdf)
Accelerate Your Frontend Web Development Learning with These 5 Websites
Tags: webdev, javascript, beginners, programming
Published: 2023-01-27 16:00:20

Anyone wishing to build websites must master frontend web development, and with the correct resources and instruction, it is simple to learn. Here are the best five resources for learning front-end web development:

FreeCodeCamp: This website provides a thorough education in frontend web development, covering HTML, CSS, and JavaScript. Since the curriculum is based on actual projects, you may apply what you are learning as you go. The nicest aspect is that it's totally unrestricted. Visit https://www.freecodecamp.org to learn more.

Codecademy: Codecademy offers a variety of web development courses, including frontend web development. Their interactive coding environment and step-by-step guidance make it easy to pick up the basics of HTML, CSS, and JavaScript, and the platform also offers interactive coding challenges to help you test your understanding. Find it at https://www.codecademy.com/learn/introduction-to-javascript

Frontend web development is one of the many web development courses offered by Codecademy. The platform also provides interactive coding tasks to help you evaluate your learning, making it simple to learn the fundamentals of HTML, CSS, and JavaScript thanks to their interactive coding environment and step-by-step assistance. Go to https://www.codecademy.com/learn/introduction-to-javascript to find it.

W3schools: W3schools is a website that offers guides and lessons for web development languages including HTML, CSS, JavaScript, and many others. It also offers interactive demonstrations and tests to help you gauge your learning. Visit https://www.w3schools.com/ to see it.

MDN Web Docs: For web developers of all skill levels, MDN Web Docs is a terrific resource. It offers comprehensive documentation on web technologies including HTML, CSS, and JavaScript in addition to advice on best practices and pointers for creating top-notch websites. Visit developer.mozilla.org/en-US/docs/Web to see it.

These websites are excellent resources that will aid in your successful and speedy learning of front-end web development. With the appropriate direction and some practice, you'll quickly be able to create beautiful, useful websites.
Ys88bet Situs Game Online Resmi 2023
Tags: ys88bet
Published: 2023-01-27 15:56:49


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2j9yqpwm9f8o8ix677bz.png)
[Ys88bet](https://ysgacor.com/) Game online adalah jenis permainan yang dapat dimainkan melalui internet, yang dapat diakses oleh pemain dari seluruh dunia. Game online sangat populer di kalangan pemain, dengan beragam genre yang tersedia, seperti aksi, petualangan, strategi, dan simulasi.

Lihat Juga : [Rtp Ys88bet](https://rtp-ys88bet.today)
 
Beberapa jenis game online yang populer adalah:

Massive Multiplayer Online (MMO) Games: MMO Games adalah jenis game online yang memungkinkan pemain untuk bermain bersama-sama dalam dunia virtual yang sama. Contoh MMO Games populer adalah World of Warcraft, Final Fantasy XIV, dan Guild Wars 2.

Multiplayer Online Battle Arena (MOBA) Games: MOBA Games adalah jenis game online yang memungkinkan pemain untuk berkompetisi melawan satu sama lain dalam pertandingan yang sengit. Contoh MOBA Games populer adalah League of Legends, Dota 2, dan Heroes of the Storm.

Battle Royale Games: Battle Royale Games adalah jenis game online yang memungkinkan pemain untuk berkompetisi melawan satu sama lain dalam pertandingan survival. Contoh Battle Royale Games populer adalah Fortnite, PUBG, dan Apex Legends.

Sports Games: Sports Games adalah jenis game online yang meniru olahraga seperti sepak bola, basket, dan baseball. Contoh Sports Games populer adalah FIFA, NBA 2K, dan MLB: The Show.

Casual Games: Casual Games adalah jenis game online yang mudah dimainkan dan dapat dimainkan dalam waktu singkat. Contoh Casual Games populer adalah Candy Crush, Angry Birds, dan Farmville.

Game online dapat dimainkan di berbagai perangkat, seperti komputer, konsol game, dan ponsel pintar. Beberapa game online juga dapat dimainkan dengan menggunakan browser web tanpa harus men-download aplikasi. Namun, beberapa game online memerlukan pembelian atau berlangganan untuk mengakses fitur tertentu, seperti konten eksklusif atau peningkatan karakter.

Sebagian besar game online menawarkan fitur sosial seperti chat, grup, dan komunitas, yang memungkinkan pemain untuk berkomunikasi dan bermain bersama-sama. Ini membuat game online menjadi pengalaman yang sangat interaktif dan menyenangkan bagi pemain. Namun, seperti halnya game slot, perlu diingat bahwa game online juga merupakan bentuk perjudian dan harus diperlakukan dengan hati-hati.
Discover new developer communities (Discord, Slack, etc.)
Tags: webdev, discuss, github, community
Published: 2023-01-27 15:55:44

Hello everyone ! If you're a web developer looking for a place to connect with other developers, then this repository is for you :

{% embed https://github.com/Romaixn/awesome-communities %}

The goal of this repository is to gather all the Discord, Slack, etc. servers speaking of development in the same place.

Do not hesitate to **contribute** to add the communities that you know, that you appreciate.

No matter the language (Javascript, PHP, etc.), topic, the spoken language (english, french, etc.) etc.
Jokes for Developers
Tags: funny, watercooler
Published: 2023-01-27 15:49:07

Why do programmers prefer dark mode? Because light attracts bugs.
Why was the computer cold? It left its Windows open.
Why do developers always mix up Halloween and Christmas? Because Oct 31 equals Dec 25.
How many programmers does it take to change a lightbulb? None, that's a hardware problem.
Why do developers always mix up Halloween and Christmas? Because Oct 31 equals Dec 25.
Why did the developer quit his job at the orange juice factory? He couldn't concentrate.
Why did the Java developer wear glasses? Because he C#.
How many programmers does it take to change a lightbulb? None, they just make the room darker.
Why do developers prefer working with Linux? Because Windows gives them too many problems.
What did the developer say when he found a bug in his code? "I'm gonna need a bigger keyboard."
User Meta Pro v3.0
Tags: programming, tutorial, beginners, wordpress
Published: 2023-01-27 15:43:01

The User Meta Pro Team is proud to announce the release of version 3, featuring exciting new upgrades and features! Its goal is to give you a superior WordPress user management experience with this bug-fixed, stable version that includes the latest resources. Get your copy [here](user-meta.com/downloads/).

**WHAT’S NEW?**

- **Bootstrap update**
User Meta has been updated to be compatible with the latest version of Bootstrap 5, which features many improvements and new additions. However, this ensures that there will be no conflicts with the recent WordPress updates.

- **Copy the Shortcode button on the forms**
Once you have located the shortcode, hover your cursor to reveal the copy button. Click this button and it will automatically copy the code for you. Then, paste it into any desired location.

- **Show/hide password on entry**
This feature helps with the password visible icon toggle button to show/hide passwords. It gets the password input field and changes its type from password to text to show the entered password.

- **Display public profile shortcode**
The public profile shortcode allows a user profile to be displayed. For this, a GET request containing the user_id must be submitted. Besides, you can call parameters by email or username. In addition, you can even customize your user profile display by table or line or in plain text.

- **Mailchimp Integration addon**
This addon integrates MailChimp with User Meta Pro. It allows users to subscribe to your mailing lists when registering on your site. 

- **Social Login Integration addon**
This addon integrates with Nextend social login plugin to User Meta Pro.
Wissen Sie, wie Sie das perfekte Bett für Ihr kleines Baby auswählen?
Published: 2023-01-27 15:14:26

Kleine Kinder, die sich im Schlaf wie der Stundenzeiger drehen, sollten mit Paneelen an der Wand neben ihrem Bett versehen werden. Sie können entweder Kissen (aber diese können leicht heruntergeworfen werden) oder Schutzpolster in Form von Geflecht wählen. Wählen Sie die Lieblingsfarbe Ihres Kindes und Sie können ziemlich sicher sein, dass sich Ihr kleiner Nachts nicht verletzt und vor einer kalten Wand geschützt ist.
Clean Pull Request Diffs
Tags: github, git
Published: 2023-01-27 14:46:00

---
title: Clean Pull Request Diffs
published: true
description: Why you should create minimal and clean pull request diffs to improve the code review process.
tags: GitHub, GitLab, Git
cover_image: https://gavinr.com/posts/images/dirty-diff.png
canonical_url: https://gavinr.com/clean-pull-request-diffs/
published_at: 2023-01-27 14:46 +0000
---
When collaborating on code with others using Git, keeping the overall list of code changes (the "diff") in a pull request as small as possible - not including lots of unnecessary changes like quotes and tabbing - is an important and considerate thing to do.

## Why lots of unrelated changes suck

A pull request (aka merge request) represents a request to merge a branch that has multiple outstanding commits, with each of those commits representing a variety of lines of code changes.  These code changes are shown on the pull request summary and is one of the main things someone who reviews the pull request reviews.

For those reviewers, it takes time and mental energy to understand what code change you're proposing: what it intends to do, what it actually does, and if there are any obvious bugs. When you have many un-related changed lines in the diff, that forces the reviewer to *also* analyze which lines are "actual" changed lines and which are unnecessary and can be ignored.

[![Dirty diff](https://gavinr.com/posts/images/dirty-diff.png "Dirty diff")](/posts/images/dirty-diff.png)
*A diff that's hard to see what are the significant changes*

## It discourages (good) reviews

The review process is already difficult enough. In many situations the reviewer is taking time out of his/her busy schedule to change contexts and review your code. Changing mind contexts then fully understanding the code changes takes a lot of effort, and adding any additional challenge to this process makes it that much harder. If a reviewer sees a large PR with a bunch of unnecessary code changes, it may influence him or her to just skip the review or perform a "low value review."

## Avoid it

So, create change requests that contain only the minimum necessary code changes to fix the bug or add the feature that your pull request is trying to do. Any additional lines are detrimental to the software creation process.
New features & Updates to the Module templates Upload process in Bunzz Repository
Published: 2023-01-27 14:42:14



For all developers who already started contributing to our open source Smart Contract Hub by uploading their own custom modules templates in Bunzz Repository we now have some updates to complete the process in our GUI.

## New Features:


- Now you can deploy your Modules in any **version of Solidity**

- Now you can enable an **Optimization Flag**

**Update:**

- OpenZeppelin Version required is 4.3.2





## Select the version of Solidity



Now you can deploy your Modules in any version of Solidity, like shown in the image below  and you are not longer limited to use only version 0.8.0 like before



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




## Enable an Optimization Flag



Now you can optionally enable an Optimization Flag that makes the compiler attempt to improve the performance and/or code size at the expense of compilation time and possibly the ability to debug the program.

You can select as shown in the image below.


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




## New OpenZeppelin Version



The OpenZeppelin Version required to upload your smart contracts is 4.3.2


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

In case the latest OpenZeppelin version is required, you can use them by copying them to the uploaded directory. 

For example, IERC20.sol can be used by moving it from 

```
import '@openzeppelin/contracts/token/ERC20/IERC20.sol' 
```

To

```
 import './interfaces/IERC20.sol'.
```

Start uploading your smart contract Modules in Bunzz Repository here:

https://app.bunzz.dev/repository/upload