teleren/devto huggingface dataset:
Let's Talk What are The Functions of the ESP8684 development board Has
Published: 2022-08-04 05:59:11

If you are a person just getting started with the development board. You should know the ESP8684 development board. The WT99-DK-8684 development board is an entry-level development board for the ESP32-C2 series. It has rich peripherals and optimized pin layouts to help users quickly develop products.

**Support Wi-Fi & Bluetooth connection**

WT99-DK-8684 is a small development board based on ESP32-C2 series modules, which supports Wi-Fi and Bluetooth functions. The development board has a wealth of peripherals, and users can easily realize product development.

**Easy and fast development**

WT99-DK-8684 has excellent RF performance, users do not need to consider RF and antenna design when designing and developing applications. The basic system requirements are already included on the development board, and users only need to connect the USB cable to develop.


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

WT99-DK supports Wireless-tag's Espressif-based WT32 series, WT8266 series, Lingsiwei WT50, /51 series, Nordic Bluetooth WT51832/51822/51840 series, Espressif ESP32/ESP32-C2/C3/ESP32-S2/S3 series of modules. Includes important components such as USB-UART bridge, Reset and Boot buttons, UART to RS485 and Micro-USB connectors. The key GPIO ports have been brought out for developers to use.
Number Guessing Game using Java 🎮
Published: 2022-08-04 05:57:00


The game contains 5 players. One Umpire, one Guesser and three Players.
The guesser guesses a number between 1 and 10 and tell it to the umpire secretly. The remaining 3 players try to  predict the number guessed by   the guesser. 
The one who predicts the number accurately is the winner of the game.
 If  more than one Player predicts the right number, all of them are winners.

## Class Diagram for the game:

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


The guessing game involves an ‘Umpire’ object , 'Guesser' object and three ‘player’ objects. All the  objects are created by instantiating the above 3 classes.



**_Features Included in this game:_**

⇒ Restricted the all the players and guesser to guess  a number between 1 and 10. Even if they predict/guess a number out of this range, then the program will prompt to re-enter the input until they're choosing a value with in allowed range. 

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

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

⇒ added a counter to print player numbers in the console. 

⇒ Print summary of the game after finding the winner. The summary includes Accuracy of prediction of players who lost the game.
    Accuracy is displayed in terms of, how close number predicted by players towards the number guesser by guesser.


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

---
🖥The source code of the game is uploaded on GitHub: 
https://bit.ly/3vGfAXo

🌎Connect with me on LinkedIn : https://www.linkedin.com/in/safvan-p/
IVR Services for better leads management and better customer satisfaction
Tags: ivr, service, beginners, programming
Published: 2022-08-04 05:56:30

As we are heading forward, modern technologies are playing a major role these days in the success of different startups and businesses. Different technology has different purpose. It is important for every business to find out which technology can boost up their business. Moreover, every business should know how to make the best of that latest technology for their growth. One thing that is common among most of the companies in the market is lead generation. Leads are important for the growth and sustainable development of any company. It is more important to manage the leads in an effective and efficient way. But how can you do that in the first place? Well, IVR is something that you need to know about. 

IVR is Interactive Voice Process that helps in calls and leads management for better productivity and growth. **[IVR System](https://www.ivrguru.com/)** has been a part of a lot of companies for a long time now. Many companies have identified the importance of IVR in their company and are fully utilizing the opportunity. IVR is helping a lot of businesses in providing customer satisfaction and getting more opportunities. And how is that?

Let's take a case study that will be perfect for an explanation. Suppose you are running a company and you have different departments. You put an IVR system in your company. IVR System is going to make you're working system effective and efficient. Not only it is going to make everything productive but it will also help you reduce costs and increase revenue. 

Let's take a scenario in this situation. A guy named X is interested in your product. He calls the company on the given IVR number. Now, the IVR is going to help the customer to reach the right agent by redirecting the number to a Sales representative. Even if one sales representative fails to pick the call, the call will be forwarded to another Sales Representative. If you have fewer sales agents and the call gets missed, you will be informed about it through missed call alerts. This process is going to benefit the company in different ways. These benefits include less wastage of time and resources, better productivity, a better image of the company, and you won't miss any opportunity for the sale of your product. All these factors will increase your revenue and reduce costs that used to come through wastage of resources and time. 

Even if we talk about any other department, IVR is going to help in the same way with its amazing features. We can conclude that IVR is one of the revolutionary changes that is going to be a big factor in the coming times. It is important to identify the upcoming trend and the importance of IVR in the coming time.

While choosing IVR Service, it is also important to choose the **[best IVR Service provider](https://www.ivrguru.com/)** for long-term growth. IVR Guru has been the leading IVR Service provider all over India. IVR Guru has been providing quality IVR Services with the best pricing. Check out the prices or call us at +91-9015350505
Want to start 100 days of Code again?
Tags: programming, webdev, tutorial, productivity
Published: 2022-08-04 05:28:00

Hello devs,

I did my first 100 days of code once.
It got me some progress in my career.

Now, I wish I could do it again to level up my career.
I would post my 100 days of code progress in dev.to as well.

month 8,9,10 will be my average challenging months to reach 100 days target.

Mostly I will focus on Code structure, design patterns and AWS certified learning.

My Rules
--------
At least 1 hour studying time will be taken each day.
After studying, will post on social media like Facebook, dev.to.
Will track my daily progress with some app
Will Review every week (at the end of week, mostly like Sunday night)
Will Keep Notes
After finishing 100 days of code, I will review myself and let everyone know about my 100 days journey


Everyone, Give me energy and Wish me luck!

Thanks!!
How to make immutable dictionaries in Python #PyTip01
Tags: python, programming, tutorial
Published: 2022-08-04 05:20:09


Python is known for its batteries included capability, it has solutions for every data structure requirements. Dictionaries in Python are very useful when storing a record as Key/Value pairs.
Although dictionaries are awesome, they are mutable that means their values can be changed after their intialization. 

In this short post you will learn how you can use `MappingProxyType` to make your dictionaries immutable. 

## Problem
Below is the example of how you would use dictionaries in Python.

```
>>> person = {"id" : 735616, "first_name": "John", "last_name":"Doe"}
>>> person["id"]
735616
>>> person["first_name"] + ' ' + person["last_name"]
'John Doe'
>>> person["id"] = 000000
>>> person["id"]
0
```

In the above code we can see that our `person` record was changed and we have no way to block this change. This is where `MappingProxyType` comes in.

## Solution

`MappingProxyType` is a read-only wrapper that provides a proxy to the underlying data structure. `MappingProxyType` do not support item assignment which makes our data immutable.

```
>>> from types import MappingProxyType
>>> im_person = MappingProxyType({"id":736533, "first_name":"John", "last_name":"Doe"})
>>> im_person["id"]
736533
>>> im_person["id"] = 87
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'mappingproxy' object does not support item assignment
```

In the above example you can see that when we attempted to change the value of `id`, `MappingProxyType` immediately throws `TypeError`, thus making our dictionary immutable. Please note that `MappingProxyType` accepts any data type not just dictionaries. You can also use `str` and `list`.

## Caveat

Before using `MappingProxyType`, you must know that it only provides a Proxy to the underlying data structure which means if the underlying data is changed then `MappingProxyType` will reflect those changes.

```
>>> im_person = MappingProxyType(person)
>>> im_person
mappingproxy({'id': 0, 'first_name': 'John', 'last_name': 'Doe'})
>>> person
{'id': 0, 'first_name': 'John', 'last_name': 'Doe'}
>>> person["id"] = 00
>>> im_person
mappingproxy({'id': 0, 'first_name': 'John', 'last_name': 'Doe'})
>>>
```

As you can see in the above code that the `MappingProxyType` changed when the underlying data dictionary was changed.

## Conclusion

In this short article you learned about `types.MappingProxyType`,
they are useful when you want to make sure that your Key/Value pairs remains immutable. Hope you liked it.
I Quit My Job to Become an Indie Maker
Published: 2022-08-04 05:05:35

I finally did it: I quit my well-paying full-time job a few days ago to become an indie maker!

For context, I am a 28-year old Indian male. I am single, and don’t have any financial dependents. I live in Chennai, India.

I’ve always wanted to build things with software. I’ve always wanted to travel, see places, understand different cultures, meet interesting people, and gain perspectives… and I wanted to do all this while working on things that I loved. I was fascinated to learn many years ago that there was a term for this: digital nomad. And another word for someone building something on their own: indie maker. I am not one for labels, but I did identify a lot with these.

It took me a few years, but I’ve finally taken the leap of faith. My dream is to build a bootstrapped company as a solo maker.

**Have you been through a similar journey? What advice would you give yourself if you were to do it all over again?**

---

You can find the more detailed [blog post here](https://pradeepcep.com/i-quit-my-job-to-become-an-indie-maker/).
VS Code Tip of the Week: Inlay hints configuration options
Tags: vscodetips
Published: 2022-08-04 04:46:00

This week's VS Code Tip of the Week is care of Matt Bierner. Matt always has amazing tips, so I highly recommend giving him a follow on Twitter.

I'm a big fan of inlay hints, but sometimes they can get in the way. Matt goes through a few ways on how you can configure them to make them less annoying.

{% embed https://twitter.com/mattbierner/status/1531681919078834176 %}

Thanks for the tip Matt!
Development with Node Js Application? Why not!
Tags: node, webdev, programming, news
Published: 2022-08-04 04:44:50

Various modules make up the Node Js Framework. These modules include fs, query-string, HTTP, crypto, child_process, and many more. It’s important to note that while these modules are important for [Node Js development](https://www.emveep.com) they do not need to be imported each time application is created.

There are some very common guidelines you should keep in mind when developing with Node Js. Keep in mind that Node Js development should be done in the browser. This will add more to the development scope than you might imagine. Moving from your IDE should be very simple and shouldn’t take much time. Webpack has been used for this purpose and it has been very useful because it can be handled by the IDE without problems.

When developing Node Js applications, you should always use ES6 and ES7 features available to you and not touch other technologies aside from these. You should leave out non-JavaScript features such as SQL databases, XML, and so forth.

Developing with Node Js is very important because it will help you learn how to create better and more flexible applications. Adding Node modules and developing them in the application will be easier than if you were to develop your module or even if you hired a developer to do it for you. Adding Node modules is very easy. You can do it by creating a package.json file in the project root and add the Node modules.

## Some advantage points developing with Node Js:

## Scalability

It is one of Node's most important features for businesses that want to expand over time. It is preferred by app-based startups for developing lightweight and quick systems with a strong real-time response that can be scaled up later, as well as adding more modules to existing ones.

## An engaged community

An engaged community entails a great deal of help and feedback. Again, the active Node Js community can help you avoid reinventing the wheel — they've created a number of useful tools and instruments to speed up development.

## Fast development

The environment is ideal for the development of microservices (spilling monolith functionality into dozens or hundreds of smaller services). Microservices must communicate with one another quickly, and Node Js is one of the fastest data processing technologies available. Non-blocking algorithms are one of the most important features of Node Js for software development. Node Js can handle multiple requests at once without having to wait for the first one to complete. Messages can be sent across dozens of microservices, and they will all be received and responded at the same time.

All in all, Node Js is the best alternative for you to launch faster and make your product more scalable. Get a free consultation if you want to build a custom website or application. In addition, you can [hire our remote freelance Node Js developer](https://www.emveep.com).
Change your old methods for writing a JavaScript Code - Shorthand's for JavaScript Code
Tags: javascript, webdev, beginners, programming
Published: 2022-08-04 04:44:00

### 1. Shorthand for if with multiple OR(||) conditions
```javascript
if (car === 'audi' || car === 'BMW' || car === 'Tesla') {
    //code
}
```
In a traditional way, we used to write code in the above pattern. but instead of using multiple OR conditions we can simply use an array and includes. Check out the below example.
```javascript
if (['audi', 'BMW', 'Tesla', 'grapes'].includes(car)) {
   //code
}
```
### 2. Shorthand for if with multiple And(&&) conditions
```javascript
if(obj && obj.tele && obj.tele.stdcode) {
    console.log(obj.tele .stdcode)
}
```
Use optional chaining (?.) to replace this snippet.
```javascript
console.log(obj?.tele?.stdcode);
```

### 3. Shorthand for checking null, undefined, and empty values of variable
```javascript
if (name !== null || name !== undefined || name !== '') {
    let second = name;
}
```
The simple way to do it is...
```javascript
const second = name || '';
```
### 4. Shorthand for switch case to select from multiple options
```javascript
switch (number) {
  case 1:
     return 'Case one';
  case 2:
     return 'Case two';
  default:
     return;
}
```
Use a map/ object 
```javascript
const data = {
  1: 'Case one',
  2: 'Case two'
};
//Access it using
data[num]
```
### 5. Shorthand for functions for single line function
```javascript
function example(value) {
  return 2 * value;
}
```
Use the arrow function
```javascript
const example = (value) => 2 * value
```
### 6. Shorthand for conditionally calling functions 
```javascript
function height() {
    console.log('height');
}
function width() {
    console.log('width');
}
if(type === 'heigth') {
    height();
} else {
    width();
}
```
Simple way 
```javascript
(type === 'heigth' ? height : width)()
```

### 7. Shorthand for To set the default to a variable using if
```javascript
if(amount === null) {
    amount = 0;
}
if(value === undefined) {
    value = 0;
}
console.log(amount); //0
console.log(value); //0
```
Just Write 
```javascript
console.log(amount || 0); //0
console.log(value || 0); //0
```
858. Leetcode Solution in CPP
Tags: cpp
Published: 2022-08-04 04:33:27

```
class Solution {
 public:
  int mirrorReflection(int p, int q) {
    int m = 1;  // # of room extension + 1
    int n = 1;  // # of reflection + 1

    while (m * p != n * q)
      m = ++n * q / p;

    if (n % 2 == 0)
      return 2;
    if (m % 2 == 0)
      return 0;
    if (m % 2 == 1)
      return 1;
    throw;
  }
};
```
#leetcode
#challenge
Here is the link for the problem:
https://leetcode.com/problems/mirror-reflection/
React JSX – JSX in React
Tags: react, beginners, javascript, webdev
Published: 2022-08-04 04:05:00

React JSX is the React JavaScript extension, or you can say react JavaScript XML, both are same. So the question is what is React JSX? And why need to know about it?

React’s JavaScript Extension JSX (JavaScript Extension) allows you to write JavaScript code that looks similar to HTML. JSX, an HTML-like syntax that React uses to extend ECMAScript, allows the syntax to co-exist with JavaScript/React. The syntax is preprocessors, i.e., source to source compiler such as babel, to convert HTML-like syntax into a standard JavaScript object that a JavaScript engine can parse.
[Read More](https://reactjsguru.com/react-jsx/)
Javascript Tagalog - Temporal Dead Zone (TDZ)
Tags: javascript, tagalog, tdz, filipino
Published: 2022-08-04 03:48:00

**Ano ngaba ang Temporal Dead Zone o TDZ?**

Ang Temporal Dead Zone ay yung zone na kung saan dipa na initialized yung variable, tignan nyo nalang ang mga pictures nato yung may **_//Temporal Dead Zone_** na comment yun yung TDZ ng isang variable. eto yung mga iba't ibang behavior ng different types of variables sa loob ng Temporal Dead Zone

---

**Let Behavior Inside TDZ** (console.log is nasa TDZ din)
![Tagalog Let Variable Temporal Dead Zone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1xky9hdgsa5btapxglgc.PNG)

---

**Const Behavior Inside TDZ** (console.log is nasa TDZ din)
![Tagalog Var Variable Temporal Dead Zone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0bbqnrmb8k8onduinulg.PNG)

**Var Behavior Inside TDZ** (console.log is nasa TDZ din)
![Tagalog Var Variable Temporal Dead Zone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/17fjy1h7g4qpkoal0jbr.PNG)

More info about TemporalDeadZone [Here](https://www.freecodecamp.org/news/what-is-the-temporal-dead-zone/)

---

**More tagalog Javascript Learning Resources:**
https://javascript-methods-in-tagalog.vercel.app/
Customize the Angular ComboBox Using Templates
Tags: angular, webdev
Published: 2022-08-04 03:46:19

Learn how to customize our [Angular ComboBox](https://www.syncfusion.com/angular-ui-components/angular-combobox) list items, values, header, and footer using templates. You will also learn how to add custom values to the ComboBox popup list using templates. 

**Product overview**: https://www.syncfusion.com/angular-ui-components/angular-combobox

**Download an example from GitHub**: https://github.com/SyncfusionExamples/customize-the-angular-combobox-using-templates

**Documentation**: https://ej2.syncfusion.com/angular/documentation/combo-box/templates/

{% youtube gY8gh6fAzMQ %}
Como iniciar em C# e Angular - Referências
Tags: csharp, angular, programming, beginners
Published: 2022-08-04 03:32:08

Recentemente um amigo me pediu ajuda para iniciar na área de desenvolvimento de software, ele queria ajuda para procurar cursos, livros e outros materiais.

Após conversarmos, também ficou claro que ele precisaria de ajuda para criar um [roadmap](https://pt.wikipedia.org/wiki/Roadmap) de estudos.

Após coletar algumas indicações de outros amigos com os quais já trabalhei, ao invés de enviá-las por Whatsapp para meu amigo, decidi escrever esse post para que todas as recomendações fiquem reunidas e minimamente organizadas para consultas futuras, não só do meu amigo, mas para todas as pessoas que também desejam começar a programar, especialmente se o foco for desenvolvimento Web com C# e Angular.

O objetivo é desse material é evoluir com indicações, então ajude-nos colocando indicações e sugestões nos comentários.

## Lógica de Programação

Embora seja um pouco teórico e aparentemente chato para quem está começando, é um assunto super importante e será necessário independente da linguagem que você for programar. Então investe um tempo nesse curso.

> [Lógica de Programação]
(https://www.youtube.com/playlist?list=PLHz_AreHm4dmSj0MHol_aoNYCSGFqvfXV)
> Disponível no Youtube (gratuito)

Quando já tiver visto toda a teoria, que tal tentar um curso que aplica lógica de programação na prática usando C#?

> [C# - Lógica de Programação](https://www.youtube.com/playlist?list=PLOky0hrmU5at0MPXKZtUJ4lZDLxP0IMIF)
> Disponível no Youtube (gratuito)

E para se aprofundar, porque não mergulhar nesse livro [C# e Orientação a Objetos - Caelum](https://www.caelum.com.br/apostila/apostila-csharp-orientacao-objetos.pdf) distribuido gratuitamente pela Caelum.

Após ter alguma familiaridade com os temas acima, indicaria um curso [Fullstack](https://pt.stackoverflow.com/questions/52450/o-que-%C3%A9-e-o-que-faz-um-full-stack-web-developer) e por indicação deixo o link abaixo. 

> [Fullstack com .Net Web API e Angular](https://www.udemy.com/course/angular-dotnetcore-efcore/)
> Disponível na Udemy (pago)

## Versionamento de código

Paralelamente ao aprendizado da linguagem de programação, eu indico ainda ir se familiarizando com versionadores de código, principalmente o Git. E para isso indico usar o Github, por ainda ser a plataforma mais difundida.

> [Git e Github para iniciantes](https://www.udemy.com/course/git-e-github-para-iniciantes/)
> Disponível na Udemy (gratuito)

## Referências

Além do conteúdo acima, vou deixar algumas referências aqui.

> [Carreira Desenvolvedor Backend .NET - balta.io](https://balta.io/carreiras/desenvolvedor-backend-dotnet)
> Conteúdo free e pago
>
> [Carreira Desenvolvedor Frontend Angular - balta.io](https://balta.io/carreiras/desenvolvedor-frontend-angular)
> Conteúdo free e pago
My default and secondary apps (Linux)
Published: 2022-08-04 03:27:00

## My default and secondary apps (Linux)
Welcome, and thanks for reading!

Default apps (and seconday and some thirds)
- **Shell**: Zsh or Bash
- **Terminal**: Alacritty or Kitty
- **Editor**: NVIM and nvim-qt
- **File Browser**: dolphin or pcmanfm-qt
- **Web Browser**: Firefox or qutebrowser or chromium
- **Music**: Spotify
- **Video player**: VLC
- **DE**: KDE or sway or XFCE
- **Linux distro**: Archlinux ALL THE WAY!
 - Linux newbie? Try Manjaro, which is Arch-based, and very nice!

Thanks for taking the time to read my recommendations, I hope they help!