teleren/devto huggingface dataset:
Paid Research Opportunity for Web app developers
Tags: webdev, webcomponents, web3
Published: 2022-01-11 23:23:04

Are you employed as a Web-App Developer within an Organization 

$750 incentive | Nationwide

Onboarding + 1 week journal + Offboarding 

See if you qualify: https://opinari.fieldwork.com/surveys/3761SE21-Cloud-Computing

#devops #webappdesign #fieldworknation #webdesigning #webapplication


https://opinari.fieldwork.com/surveys/3766SE22-Business-Decisions-Screener

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/57gihli0havyc9oepsl7.jpg)
Setup your env to start working w/ the blockchain
Tags: blockchain, web3
Published: 2022-01-11 23:08:03

1. First you'll need to get node/npm. If you don't have it click [here](https://hardhat.org/tutorial/setting-up-the-environment.html). 
Warning: Recommend you install at least node v15.

2. Now go to the terminal and type the following commands:
Warning: Do not use the GitBash terminal
`mkdir my-first-smart-contract`
`cd my-first-smart-contract`
`npm init -y`
`npm install --save-dev hardhat`

3. Now let's install the Hardhat with the command: 
`npx hardhat`
Warning: In case od error, use this command: `yarn add hardhat`

4. Choose the option create a sample project and agree with all the questions. 

5. The sample project will ask you to install hardhat-waffle and hardhat-ethers. Install the dependencies with the command:
`npm install --save-dev @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers ethers` 

6.  After that, you will run the command: `npx hardhat accounts` and it should print a lot of addresses like this: 
`0xa0Ee7A142d267C1f36714E4a8F75612F20a79720`
These are addresses that Hardhat generates to simulate users on the Blockchain. 

7. After that we will see if everything is working, run the command: 
`npx hardhat compile`
Then this command: 
`npx hardhat test`

8. Once this is done, you will see something like this: 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c0o6lmzbvs2cwe5de69g.png) 

That's it, your project is  configured to create Smart Contracts with Ethereum! 🎉🎉
Day 507 : Tell Him
Tags: hiphop, code, coding, lifelongdev
Published: 2022-01-11 22:52:15

_liner notes_:
- Professional : Pretty good day. Had a meeting with my manager. Added another function to a demo application. Created a bunch of tickets in Jira. Submitted an update to a blog post and demo to be reviewed. Started working on a couple of demo apps for a presentation I have this week. Also got to help a coworker create their first Web Component. It was cool to be able to guide and tell him how to put the pieces together.

- Personal : Last night I worked on my side project. I separated some functionality into separate files so that I can work on them separately and it makes the main file smaller. Think that was it.

![Photo of tree trunks in Redwood State Park, CA, USA with a branch with colorful flowers growing from one of the trunks.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nmouchej5ht0v9ccmv4y.jpg)

Didn't get as much as I wanted to at work for my presentation later this week, so I may spend like a couple of hours making sure that my demo apps are working then finish up the slides tomorrow. Then I'll probably work more on my side project. Going to eat some dinner.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube W2fY1dpwO00 %}
Bank Search-engine using MongoDB and Django
Tags: atlashackathon, django, mongodb, python
Published: 2022-01-11 22:16:37

[Instructions]: # (To submit to the MongoDB Atlas Hackathon on DEV, please fill out all sections.)


### Overview of My Submission
[Note]: # (Please make sure the project links to the appropriate GitHub repository, and includes the [Apache-2 permissive license](https://www.apache.org/licenses/LICENSE-2.0)  and README.)
A simple minimalist web page to search Bank info using IFSC code. 


![home-preview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tle0fbf76567vxawr5w3.png)

- Django (Backend)

- HTML/CSS/JavaScript (Frontend)

- MongoDB (DB - used pymongo to connect Atlas & Django)

### Submission Category: 
Choose Your Own Adventure
[Note]: # (E-Commerce Creation, Prime Time, Action Star, Automation Innovation, or Choose Your Own Adventure)


### Link to Code
{% github https://github.com/techonerd/BankSearch %}
[Note]: # (Our markdown editor supports pretty embeds. Try this syntax: `{% github link_to_your_repo %}` to share a GitHub repository)


### Additional Resources / Info

![search-result-preview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ilhsjb3xi4a7rrfpa6or.png)

source-code : https://github.com/techonerd/BankSearch

live-preview : https://banksearchs.herokuapp.com/
STAR ASCIIMATION WARS 
Tags: atlashackathon
Published: 2022-01-11 21:52:16

[Instructions]: # (To submit to the MongoDB Atlas Hackathon on DEV, please fill out all sections.)


### Overview of My Submission
Would you like yo watch Star Wars from MongoDB using nothing but mongo shell ? You are in good hands. The wonderful work done by Simon Jansen in [https://asciimation.co.nz/](https://asciimation.co.nz/) has been ported to MongoDB in full glory. You need nothing but a MongoDB and mongo shell. 


### Submission Category: 

Choose Your Own Adventure


### Link to Code
{% github bleakview/mongosaw %}


### Additional Resources / Info
Trailer: {% youtube vtps_yTAbV4 %}

I use starasciiwars database but you can select your own.
For trailer you only need the github repo to watch the entire movie. Open [https://asciimation.co.nz/](https://asciimation.co.nz/) in chrome

Press F12 to open developer console and paste the following code into console to download movie as a txt file.
```javascript
var temp = document.createElement('a');
temp.href = URL.createObjectURL(new Blob([film.join('\n')], { type: 'text/plain' }));
temp.download = 'starwars.txt';
temp.click();
```
Use the following command to convert txt to json file.
```
ascii2jsonmovie.py
```
Use the following command to import json file to DB
```
mongoimport --uri <your mongodb uri> --db starasciiwars --collection trailer --drop --jsonArray --type json --maintainInsertionOrder --username=<user name>  --file starwars.json
```
Use the following command for mongoshell to connect to MongoDB. 
```
mongosh <your mongodb uri> --username=<user name>
```
Select starasciiwars database
```
use starasciiwars
```

Run the following command to watch the movie. you can use speedX variable to set the speed.
```javascript
db.episodeIV.find().sort({_id:1}).forEach(function(frame){
cls();
speedX=1;
print(frame.line1);
print(frame.line2);
print(frame.line3);
print(frame.line4);
print(frame.line5);
print(frame.line6);
print(frame.line7);
print(frame.line8);
print(frame.line9);
print(frame.line10);
print(frame.line11);
print(frame.line12);
print(frame.line13);
sleep(frame.sleeptime*120*speedX);
});
```

Thanks to [https://github.com/JLChnToZ](https://github.com/JLChnToZ) for offline download
Solidity Bits
Tags: blockchain, programming, beginners, web3
Published: 2022-01-11 21:51:11


1. Storage and memory keywords in Solidity language determine how variables are stored in the blockchain. Memory variables are temporary while storage variables are stored permanently on the blockchain.

2. The internal and external keywords affect visibility of functions. Internal is similar to the private keywords, except a function with the internal keyword can be accessed by contracts that inherit from it. External functions cannot be used for internal calls and are meant to be called by other contracts.

Photo credit: <a href="https://unsplash.com/@theshubhamdhage?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Shubham Dhage</a> on <a href="https://unsplash.com/s/photos/blockchain?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
Nana Adwoa - Vaccine Appointment Chat Agent
Tags: atlashackathon, mongodb, dialogflowcx, typescript
Published: 2022-01-11 21:47:52



### 💡 Motivation and Context
COVID-19 infections are increasing in Ghana, with 420 new infections reported on average each day. That's 54% of the peak — the highest daily average reported on July 28. During the last week reported, Ghana averaged about 719 doses administered each day. At that rate, it will take a further 8,460 days to administer enough doses for another 10% of the population.

As taking Vaccines is still in progress, most of the population are busy and would find it difficult going to join long queues to take Vaccines Shot. Even though their health is important, the quality of health service they get also depends on the amount of money they make as such the decision of leaving work for the vaccination becomes difficult to make.

Not only are most people also busy but due to social distancing regulations and safety reasons, people feel afraid of joining long queues or waiting several hours at vaccination spots or centers where it would be easy for them to take shots if they know exactly the time to come for the vaccine.

The solution here is simple, a simple conversational assistant or chat bot integrated into all the health service web platforms and also can be deployed as a telephony system where people can book days available for people to take their vaccines shots and schedule the second shot day. In a day, there are a number of shots and number of people who can take. This will prevent long queues and give people the comfort to take the vaccines and keep everyone Safe. 

Realtime analysis of chat data can be used to distribute vaccines across the country.


### 🗃️ Submission Category & Features: 
Own Category : Intelligent Automation (Conversational AI)

- [Web chat bot ](https://dfcx-vaccine-appointment.herokuapp.com/)
- [Android app client](https://drive.google.com/file/d/1Os542HndWKD2n10RGn96aYmAJ_jmnXY4/view)
- Google Assistant Integration
- Amazons Alexa Integration

The assistant integrations are under development but a slight peek of it is shown in the demo videos below.

[Note]: # (E-Commerce Creation, Prime Time, Action Star, Automation Innovation, or Choose Your Own Adventure)


### 💻 Link to Code & Demo
 [Project Code](https://github.com/botchway44/covid-vaccine-appointment)
[Project Demo](https://dfcx-vaccine-appointment.herokuapp.com/)


### 📚 Additional Resources / Info
To get started with the project, you will need to setup these resources and guides.

- Guide on [Setting up MongoDB on ATLAS](https://studio3t.com/knowledge-base/articles/mongodb-atlas-tutorial/) to obtain connection string
- [Dialogflow CX](https://cloud.google.com/dialogflow/cx/docs/concept/console) Console overview
- Guide on obtaining [Google Service Account](https://cloud.google.com/dialogflow/cx/docs/quick/setup)
- Guide on setting up [Nodemailer](https://mailtrap.io/blog/nodemailer-gmail/) with Google Account


Web {% youtube ouJV9sv7l_c %}
Google Assistant {% youtube EjyUS4uUcfc %}


### 👨🏽‍💻 Collaborators

- @nathannunana
- @bigthinz
- @acquahsamuel
Top 7 Featured DEV Posts from the Past Week
Tags: top7
Published: 2022-01-11 21:40:21

---
title: Top 7 Featured DEV Posts from the Past Week
published: true
description: A round up of the most-read and most-loved contributions from the community this past week
tags: icymi 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sfwcvweirpf2qka2lg2b.png
---

_Every Tuesday we round up the previous week's top posts based on traffic, engagement, and a hint of editorial curation. The typical week starts on Monday and ends on Sunday, but don't worry, we take into account posts that are published later in the week._ 



## Who could do this better than you?

When it comes to being an ally at your company, @josefine says nobody! It's time to place being an empathetic and purpose-driven team member at the top of our list of 2022 resolutions. 

{% link https://dev.to/josefine/how-to-be-an-ally-in-2022-2521 %}

## Improving performance and preventing memory leaks

@jeremiahjacinth13 defines memory links, identifies why they are a problem, and illustrates how AbortControllers are the way forward.

{% link https://dev.to/jeremiahjacinth13/memory-leaks-how-to-avoid-them-in-a-react-app-1g5e %}

## Five different ways of centering vertically and horizontally with HTML+CSS

"[...] presented in chronological order: from how it was done in the past (which we should avoid now) to the modern ways of centering content in the present."

Super helpful, @alvaromontoro!

{% link https://dev.to/alvaromontoro/centering-vertically-and-horizontally-with-css-3hbk %}

## System design interview prep


@hellonehha breaks down the why and how of addressing system design in your next front end developer interview. This post is really clear and useful ⭐️ 

{% link https://dev.to/hellonehha/system-design-guide-for-front-end-developers-5fkl %}


## Even devs with 10 years of experience learn new things every day!

And @inhuofficial is no exception. This look at four and 8 digit HEX codes beautifully illustrates that there is still so much to learn and many misconceptions to break through — even if you have loads of software development experience!

{% link https://dev.to/inhuofficial/hold-on-there-are-4-and-8-digit-hex-codes-for-colours-261i %}

## The ABCs of MVPs

@andrewbaisden explains the concept of a Minimum Viable Product (MVP) and breaks down a sample process by which a team would build a product. Super interesting! 

{% link https://dev.to/andrewbaisden/how-to-launch-a-minimum-viable-product-mvp-in-2022-5hig %}

## Tiny URL, big takeaways

@jerrynsh built a URL shortener using Cloudflare Worker and learned a lot in the process. Take a look at this proof-of-concept...

{% link https://dev.to/jerrynsh/i-built-my-own-tinyurl-heres-how-i-did-it-11ah %}



_That's it for our weekly Top 7 for this Tuesday! Keep an eye on dev.to this week for daily content and discussions...and be sure to keep an eye on this series in the future. You might just be in it!_
Choosing a database instance class in AWS with the maximum simultaneous connexions
Tags: sre, aws, devops
Published: 2022-01-11 21:20:13

It's not always simple to know which kind of instance type we need in AWS for a database. So here is a point of view to help you in your choice : with the maximum simultaneous connexions possible.

*(This tips can also be used to know which engine you want to use depending if you need a really high number)*

---

## Before going further
To be able to do the calculations, we need to know :
- where we can found the list of memory size for each kind of instance 
- and how to convert a **GiB** in **bytes**

### Memory size of each kind of instance
For that point, please check the AWS documentation : https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#Concepts.DBInstanceClass.Summary

### How to convert a **GiB** in **bytes**
> 1 GiB = 1 073 741 824 bytes

---

## MariaDB & MySQL
Following the AWS Documentation (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.MaxConnections), the calcultation of the max connections is : 

> **DB Instance Class Memory / 12 582 880**

Where **DB Instance Class Memory** is the memory size in bytes of an instance type.

It's maximum value is **100 000** for MySQL and MariaDB, but if the value is greater than **16 000** AWS RDS set it to **16 000**.

So for a db.m5.xlarge instance :
> *16 GiB / 12 582 880*
> *16 * 1 073 741 824 / 12 582 880*
> *17 179 869 184 / 12 582 880*
> *1 365 simultaneous connexions*

---

## Oracle
Following the AWS Documentation (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.MaxConnections), we can setup the maximum of **sessions** between **100 - 65 535** manually.

But here it's the number of processes which depends of the instance class. Here is the calculation:

> **LEAST((DB Instance Class Memory / 9 868 951), 20 000)**

So for a db.m5.xlarge instance :
> *LEAST((16 GiB / 9 868 951), 20 000)*
> *LEAST((16 * 1 073 741 824 / 9 868 951), 20 000)*
> *LEAST((17 179 869 184 / 9 868 951), 20 000)*
> *LEAST(1 740, 20 000)*
> 1 740 processes

---

## PostgreSQL
Following the AWS Documentation (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.MaxConnections), the calculation is :

> **LEAST((DB Instance Class Memory / 9 531 392), 5 000)**

So for a db.m5.xlarge instance :
> *LEAST((16 GiB / 9 531 392), 5 000)*
> *LEAST((16 * 1 073 741 824 / 9 531 392), 5 000)*
> *LEAST((17 179 869 184 / 9 531 392), 5 000)*
> *LEAST(1 802, 5 000)*
> *1 802 simultaneous connexions*

---

## SQL Server
In AWS, by default, the maximum number of concurrent connections is **unlimited**.

---

I hope it will help you! 🍺
onPress on react native view component
Tags: react, reactnative, javascript, mobile
Published: 2022-01-11 21:13:49

Hey Everyone, 

In react native Generally we are using  touchable opacity or other touchable component and wrap the View component as Child then we set click event on View but no need to use additional Touchable component to make view clickable, instead of it you can use other props that i have described in this video. you can use other View props like:
onStartShouldSetResponder, onResponderRelease, onResponderGrant, onResponderMove or Pressable api of react native. 

You can watch this video in which i have explained how to use all of them to set onPress on react native view component.

https://youtu.be/YMyzKr3hoII

If you are interested to learn react native, ReactJS, NodeJS then subscribe my channel "JavaScript Centric" where, daily I am uploading interesting videos on different topics.

Link:
https://www.youtube.com/c/JavaScriptCentric
PlaneIt - One link to everywhere!
Tags: atlashackathon, react, mongodb, javascript
Published: 2022-01-11 21:12:20

### Overview

Have you ever felt that there should be a solution to the never-ending task of bookmarking at the start of every semester or finding each lecture link via email/whatsapp for the first 5 minutes of a lecture during online classes?

Well **PlaneIt** is that very solution.

### So what does PlaneIt exactly do?
PlaneIt is a schedule automator. It basically stores all the links of your lecture classes, regular online meets or literally any link of your choice which you want to open at a specific point of time. Then it stores all these details on **MongoDB's Serverless Atlas Database** and provides you a simple link which you can use to fly your way to all the scheduled events!


### Sounds interesting... What all do I need to signup?
Hmmm... nothing! All you need is a Google Account, no username-password creation. Just sign-in and set your schedule in the colorful-and-friendly UI inspired by Google.


### Enough talking, give me the link
Ah, here you go: [**PlaneIt**](https://planeee-it.herokuapp.com/)
_[This might take a moment to load because of heroku, pardon me for that!]_


### Side Note - Other Use Cases
If you are a schedule freak like me who lists down every single to-do before going work, this can also motivate you to make that colorful schedule of yours! Go automate your schedule now!!

_Also, just in case if you are worrying, PlaneIt is responsive enough to work on mobile devices and iPads too ;)_


### Submission Category:
Automation Innovation

### Link to Code
{% github im-adithya/PlaneIt %}

### Additional Resources / Info

This uses the famous `react-google-login` [package](https://www.npmjs.com/package/react-google-login) by [Anthony Grove](https://github.com/anthonyjgrove) to ease the Google Login process.
Also thanks to **MongoDB** for making a seamless database service for CRUD operations with Atlas Serverless!

### Screenshots

![Landing Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4lc18jidewy9ql565pnr.png)

![Schedule Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/exfhedni683zxycfuj0x.png)

![Set Screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rgkl6tfuvrflqa9n26k9.png)

![Home Screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2a6147ov8jyyogp9ywyx.png)
Lo importante para ser visibles para las audiencias
Published: 2022-01-11 21:01:23

Para ser visibles para la audiencia hay que existir en Internet. Y existir en la autopista de la información implica sobresalir del resto. En un entorno virtual con miles de millones de páginas web y en una sociedad saturada de información, hay que hacer una estrategia para destacar. La empresa no solo debe ser especial, debe parecer especial ante los ojos del público.

Uno de los elementos que ayuda en ese objetivo es la mención constante en los periódicos digitales especializados. Esto mejora la credibilidad e incrementa la confianza en los productos de la empresa, o en la calidad de sus servicios. Este es el trabajo que el grupo de periodistas expertos de SETROI, realiza todos lo días.

Otro factor a destacar es estar presente en las conversaciones de la audiencia. Si en estos momentos la emergencia ambiental a nivel global es un tema relevante, la temática de los contenidos no deberían ser ajenas al tema. Más aún si los procesos productivos de la compañía generan algún impacto ecológico.

Si por el contrario la compañía no produce ningún efecto sobre el ambiente, la gestión de contenidos debe reflejar la empatía de la corporación con esa preocupación mundial. De lo que se trata es, mediante una adecuada planificación, estar siempre en boca de la opinión pública en función de temas relevantes.

[Ver mas...](https://www.opiniones.digital/setroi/)
SETROI y la redacción de contenidos interesantes
Published: 2022-01-11 21:00:51

Desde su inicio, SETROI ha trabajado con un profundo conocimiento de las herramientas necesarias para que el contenido divulgado por una empresa sea interesante. Buena parte de los buenos resultados se obtiene desde el mismo inicio del trabajo de análisis y estudio de las tendencias.

Eso se logra realizando un diagnóstico de las búsquedas que realiza la audiencia que la empresa tiene como objetivo. Es básicamente un análisis de mercado que señala el camino que se debe seguir. Después el trabajo se enfoca en definir la mejor manera de articular el discurso para esa audiencia. El tratamiento debe tener mucho criterio para que supere las exigencias de los periódicos digitales que publicarán ese contenido.

SETROI redacta por las empresas un contenido atractivo que el cliente revisa y luego de su aprobación, se envía a más de 100 periódicos digitales. Ese contenido habla de la empresa, de su modelo de negocio, de su crecimiento o de sus intereses de responsabilidad con la sociedad.

A partir de allí, todo se planifica cuidadosamente porque los contenidos son interesantes si también son oportunos. Si se difunden en el momento preciso que pueden causar más impacto en la opinion pública y generan mayor cantidad de conversaciones. En función de esto, se elabora un calendario de posts diseñado según los intereses de la empresa.

[Ver mas...](https://www.opiniones.digital/setroi/)