teleren/devto huggingface dataset:
How to Resolve Missing Clear Source of Information - Disclaimer App Rejection?
Tags: beginners, android, app
Published: 2022-02-05 00:26:49

**App description needs to be updated to clearly state the source of information and whether the app represents the government entity.**

When I first submitted my [US Election Info](https://vtsen.hashnode.dev/android-kotlin-developer-nanodegree-projects-review#heading-final-capstone-project-design-and-build-an-android-application) app, I got rejected.

![resolve_missing_clear_source_of_Information_01.JPG](https://cdn.hashnode.com/res/hashnode/image/upload/v1637716410874/yKWsPLgAa.jpeg)

These are the details:

> Disclaimer/Source: Missing Clear Source of Information/Disclaimer
App provides government information without providing the sources of the information and a clear disclaimer that the app do not represent the government entity in the app description.

So I dug a bit further and found the following requirement:
- [Requirements for apps that communicate government information](https://support.google.com/googleplay/android-developer/answer/9514050#zippy=%2Cunaffiliated-apps-that-communicate-government-information)

Since my app does not affiliate with any government, I refer to **Unaffiliated apps that communicate government information** section. There are 2 things that I need to do:
- Clearly conveying the sources to users in the app description, and
- Making clear that the app does not represent a government or political entity.

## What exactly I need to do?

I wasn't sure, and I googled this a bit. It turned out that I need to update my App description. So I added the **disclaimer** at the end of the app description.

This is the exact text that I added:

```
Disclaimer
(1) Information on this app comes from the <a href="https://developers.google.com/civic-information/">Google Civic Information API</a>, which aggregates data across the United States on elected officials in federal, state, county and local government offices.
(2) This app does not represent any government or political entity. Your use of this information provided on this app is solely at your own risk.
```
> Please note that you can add link in the app decription using `<a>` tag.

This is how the texts look like at the bottom of my app description:

![resolve_missing_clear_source_of_Information_02.JPG](https://cdn.hashnode.com/res/hashnode/image/upload/v1637717655953/mwRcgsNwu.jpeg)

After updating the app description, it gets approved!

---

*Originally published at [https://vtsen.hashnode.dev](https://vtsen.hashnode.dev/how-to-resolve-missing-clear-source-of-information-disclaimer-app-rejection)*.
Day 1 - 100 Days of Data
Tags: datascience, data
Published: 2022-02-05 00:19:45

### I'll share the timestamp for every event related to the challenge during the day.

those events will vary from enrolling in an online course, revising some subject, solving some problems, to even having thoughts about my career or productivity. 

some of those might seem silly or redundant for some of you, but it would mean a lot for me to share everything regarding my progress in this challenge, and because I wanna to make it real and honest progress check sheet.

<div style="line-height:10px;">

![Check your progress](https://as1.ftcdn.net/v2/jpg/02/12/55/68/1000_F_212556853_S99UB01zGa10PGgOTDSFddFgJlRWFefY.jpg)<small>
By <a href="https://stock.adobe.com/contributor/202972026/magele-picture?load_type=author&prev_url=detail">Magele-Picture</a> @ <a href="https://stock.adobe.com/images/check-your-progress/212556853">stock.adobe</a>
</small>
</div>

### Events related to the challenge Timestamp.

- 1:45 AM : Logged in to my [DataCamp](https://app.datacamp.com/learn) Account, and started to check out the different career paths and skill tracks it offers.

- Still tuned...
Construye para aprender
Tags: webdev, product, beginners, motivation
Published: 2022-02-04 23:24:38

Ya completaste ese curso de JavaScript, React y te preguntas ¿Y ahora qué? ¿Buscar el siguiente curso? y sin darte cuenta ya completaste 3 cursos diferentes de React, sin embargo no sabes si ya estás listo para encontrar laburo.

Déjame decirte que **llegó el momento** donde tendrás que hacer un proyecto propio sin tutorial ni profe que codea junto a ti.
Pero tranquilo tendrás la ayuda de Google y personas que tuvieron las mismas preguntas que tú hace 5 años en Stack Overflow.

Te aseguro cuando finalices ese proyecto no solo te sentirás más seguro de lo que ya sabes, habrás aprendido alguna cosa nueva desarrollándolo y tendrás algo cool para poner en tu CV y portafolio(si aún no tienes una web que hable acerca de ti y tus skills podrías empezar por ahí). 

### Definir qué proyecto hacer

Ahora necesitas encontrar esa idea para tu proyecto, aquí van mis sugerencias:

- Si no tienes **portafolio**, inicia a construir uno. Considera que tu portafolio tiene que decir quién eres, qué haces, con qué tecnologías y proyectos ya hechos, además incluye cómo te pueden contactar.
- Tienes una **super idea** para el siguiente Rappi, adelante tienes los skills y las ganas de comerte al mundo. Construye tu idea y conquista el mercado.
- **No hay ideas?** 🤔 Entonces clona una aplicación como por ejemplo Twitter, puedes practicar React y Redux con las funcionalidades como crear Tweet. Si también estás aprendiendo Node, haces tu aplicación full stack que interactúe con bases de datos.
- Hacer las siguientes **pruebas de entrevista**s, que incluyen los detalles técnicos sobre la aplicación [goncy/interview-challenges: A set of interview challenges excercises (github.com)](https://github.com/goncy/interview-challenges)

Y eso es todo por este Blog, ya puedes comenzar a construir tus primeros proyectos.

> Crea el futuro 🦄
Send Emails Anonymously
Tags: email, github, anonymous
Published: 2022-02-04 23:14:10

---
title: Send Emails Anonymously
published: true
description: Using a Updated script for Python3 you can send emails anonymously to anyone
tags: email, github, anonymous 

---

<p>Have you ever wanted to `prank` your mates by sending them fake emails? Well you are in luck this tool was made by <a href="https://github.com/htr-tech">htr-tech</a> and updated for Python3 by <a href="https://github.com/unofficialdxnny">unofficialdxnny</a>.

<p align="center">
<img src="https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2012/02/Encrypted-Email-Providers-Featured.jpg"
</p>


<h1> How does it work?</h1>


## Installation :
* `apt update`
* `apt install git python3 -y`
* `git clone https://github.com/unofficialdxnny/fake-mailer`
* `cd fake-mailer`

#### Run : `python3 mailer.py`

### Or ; Use Single Command
```
apt update && apt install git python3 -y && git clone https://github.com/unofficialdxnny/fake-mailer && cd fake-mailer && python3 mailer.py
```

<p align="center">
<img src="https://raw.githubusercontent.com/htr-tech/release-download/master/images/fakemailer.png"
</p>
100 días de código: 65, aprendiendo typescript parte 3: asersiones, literales y valores no definidos
Tags: spanish, 100daysofcode, webdev, typescript
Published: 2022-02-04 22:55:20

¡Hey hey hey!

Siguiendo con el aprendizaje de Typescript comenzamos con un nuevo concepto llamado

### Aserciones
Estas sirven para especificar tipos que Typescript no conoce. Un buen ejemplo de su uso son elementos específicos del DOM (Document Model Object) como un canvas, que a pesar de que typescript puede reconocer que es un elemento html deberíamos asegurarnos que reconoce que es un elemento html canvas para que nos provea de los métodos y propiedades especificas del elemento.

Ejemplo:
![typescript assertions example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uuu6w6jvqkco7eniodlv.png)
Es importante recalcar que aunque te permite especificar el tipo de dato Typescript solo te permite hacer asersiones de un tipo en una versión menos especifica o mas especifica es decir, no se puede convertir en otro tipo como de un numero a un string.

### Literales
Los tipos se pueden especificar mucho mas con los literales los cuales, explicado de forma simple, son valores que puede tener una variable. Un ejemplo sencillo es el siguiente:
![typescript literals example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9skzufp6erzry1t8isji.png)
Las literales por si solos no son muy valiosos pero en conjunto con las uniones se les puede dar un uso bastante interesante, un ejemplo del uso de los dos puede ser para obtener solo ciertos valores de parámetros en una funcion como la siguiente:
![typescript literals and union types example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vsprj1b6qygmm7n10h2k.png)
Y con ello evitar que se introduzcan parámetros incorrectos.

Otra opcion que me parece bastante interesante es el uso que se le puede dar en conjunto con las interfaces o types como el siguiente:
![Typescript literals union and type of types example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l9zwf5oyrncd44jxvods.png)

### null y undefined
Typescript tiene dos tipos correspondientes a null y undefined con los mismos nombres que, al igual que Javascript, se refieren a valores no declarados o no inicializados y se comportan dependiendo de la configuración de typescript llamada strictNullChecks.

Si esta ultima esta configurada en "on" deberás probar los valores están definidos, de lo contrario, Typescript te mostrara un error.

Por el momento esto es todo lo que aprendí de typescript ahora sigamos con la sección del reto:

### Hoy
- Aprendí typescript con ayuda del [handbook de typescript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html)
- Practique algo de Touch Typing.
- Aplique pomodoro para poder hacer sesiones mas largas.

¡Espero que tengas mucho éxito en tus proyectos y animo!
¡Hasta pronto!
100 Days of Data
Tags: datascience, database, python, sql
Published: 2022-02-04 22:40:28

Two months ago, I graduated with a bachelor's of Industrial engineering degree, so that, and I was lucky to land a job right after the graduation; as a Technical office engineer at a Steel door manufacturing company, My job responsibilities include: 
- Steel doors drawing for manufacturing
- Preparing the steel sheets cutting list
- Improving company's current products

It's a kind of a good job, but everyday I keep telling myself that I should work at Tech, and I have so many reasons that push me to do so.

To be honest, I don't know which domain of computer science is my passion, but I'm so biased towards Data, it's very interesting field for me, and I have previously completed the advanced data analysis Nanodegree program @Udacity.

So that, I have decided to participate in #100DaysOfData challenge Insha'Allah. I'm going to start from the beginning, and will share my progress everyday.

I hope to complete this challenge Insha'Allah, because I really desire to develop consistent habits and to increase my willpower as well.
this keyword in JS
Tags: javascript, this, beginners, programming
Published: 2022-02-04 22:35:07

As we know **Execution Context (EC)** consist of

- **Varaiable Enviornment**
- **Scope Chain**
- **this** keyword

So lets explore this keyword more.

1. "**this**" _keyword_/_variable_ in JS.
 
- _this_ is special variable that is created for every _**Execution Context (EC)**_ i.e for every function.

- _this_ takes value of (or points to) the owner of the function in whcih the "_this_" keyword is used.

- Remember _"this"_ is not static it depends on how the function is called, and it's value is only assigned when the function is actually called.

As we know the function can be called in 4 different ways 

**a. method => this = <_object that is calling the method_>**

- Ex:

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

```
Call to the function moreshwar.calcAge();
```

**Note**: The value of _**this **_should / is `moreshwar`

- As we can say now that _this_ is object giving call to method.

- So, using _this_ we can now access the properties of an  object. Accessing the properties using (_this_) is a way better solution.


**b. Simple function call: where this = undefined**

```
Note: its is valid only for strict mode
```
Ex. 

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


-  If not strict mode _this_ will point to Global object / Windows object. Which can then be more problamatic.

- This is reason we should always be useing **strict mode**.



**c. Function call using Arrow function**

- i.e ArrowFunctionName => <this> = <_this of sorounding function (lexical this)_>
  
- In Arrow function it does not get the "_this keyword_".


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


**d.**
`EventListner => this = <DOM elements that handler is attachedto>`

2. Hence, this will never points to the function, where we are using it, it would point to the object (parent object).

3. Also "_this_" keyword will never point to the variable enviornment of the function.

4. "_this_" keyword in Global Scope is always **Windows** Object, which make **_this keyword dynamic_** not static.
Day 35 of #100daysofcode: OOP with JS
Tags: 100daysofcode, javascript, beginners
Published: 2022-02-04 22:30:53

Hey again everybody!

Other than the post earlier today announcing my return, it has been quite a while since my last post. I have had a bit of inspiration since then, and I feel like I am coming back into this challenge with a fresher mindset. Part of that inspiration comes from companies I spoke to during the break who were interested in my blog and asked me a few questions about it. I thought it was really cool that my blog piqued their interest and it gave me a bit more motivation to get back on the horse.

What better way to get back into the swing of things than to work on a structured course? There are a total of 294 challenges in the FreeCodeCamp Javascript course, and of that 294, I have 71 remaining challenges as well as 5 Projects. I am unsure of how long the remaining challenges and projects will take, but I will be posting my progress as I chip through it.

## Today
* 1-2 hours of LeetCode
* Completed all 26 OOP Challenges in the FreeCodeCamp JS Course (45 remaining challenges)

## Upcoming
* Study Aid App work
* FreeCodeCamp work
* Look into AWS Certifications and LinkedIn Learning courses

### Resources
[JS Course - FreeCodeCamp](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/)

Until next time! Stay safe everyone.
How I built a megamenu feature with Vanilla JavaScript
Tags: javascript, webdev, react, css
Published: 2022-02-04 22:17:29

On one of the projects I'm working on, I want the visitor to be able to hover on a nav menu item, and a megamenu will appear. **Here's how I built it.**

After styling everything in CSS, I gave the original class in CSS a display: none. Then, I created another duplicate class with an ending (-visible) `(example: .thisdiv and .thisdiv-visible)` and gave it a display: block.


     .navmenucontent{
      display: none;
      }

     .navmenucontent-visible{
      display: block;
      }
 
Next, I went to JavaScript and created my variables. I then targeted the menu item itself (let's say "shop"), and gave it an EventListener of click. This lets the browser listen for a click, and then do something. 

I then created another EventListener that said that if the mouse left that div, to remove the div. This event is 'mouseleave'.

From there I created a function that basically said: **"When this menu item is clicked, show this menu-content, and if the mouse leaves, hide it."** Here's how I built this feature.

     let navhover = 
     document.getElementsByClassName('navhover') 
     [0]



     let newselections = 
     document.getElementsByClassName('navhover', 
     'new', 'selections')[1]

     let menuitemnew = 
     document.getElementsByClassName('nav- 
     hover', 'new')[0]




     let showitemnew = function () {
     {
        newselections.classList.add('navhover', 
           'new', 'selections-visible')
        navhover.classList.add('navhover- 
           visible')
           console.log('showing')
         }
     }

     let hideitemnew = function () {
       {
     newselections.classList.remove('navhover', 
          'new', 'selections-visible')
        navhover.classList.remove('navhover- 
          visible')
        console.log('removed')
        }
      }



     menuitemnew.addEventListener('mouseover', 
        function () {
        showitemnew();
     })


    newselections.addEventListener('mouseleave', 
       function () {
       hideitemnew();
     })

**One thing I learned from this:**  Organize both your CSS and your JavaScript, because it's very easy to get things confused.
Return of #100daysofcode: Taking Stock
Tags: 100daysofcode, python, react, beginners
Published: 2022-02-04 21:35:39


Hello again everyone! 

I hope everyone had a great holidays and a great start to the new year. It has been quite a while since my last post and I won't get into details as to why; let's just say it was an extended holiday!

I am coming back to this challenge with a fresh mindset and modified goals, so I want to quickly take stock on what I was working on prior to my hiatus and what my ideas are moving forward. 

## Previous Work/Goals

* LeetCode -- This one is not going anywhere. I intend on keeping LeetCode as my "warmup" routine. I likely will only share details about LeetCode if it is something I find interesting.
* Advent of Code -- While this was fun, it was no doubt a distraction from things I find more important. Perhaps I'll finish this up at some point, but I am going to focus harder on tasks I find important.
* FreeCodeCamp - Javascript Course -- I initially misjudged how much of this course was left, so I have much more of this remaining than I realized. That said, I really want to finish this course, so this will be one of my main focuses going forward.
* Study Aid App -- Another task I deem very important, especially since it has now been quite a while since I finished my previous app. This is going to be my other main focus. 

Any other work I was involved with is going to be considered a distraction. Previously, I had trouble jumping around between everything I wanted to work on, and I feel it hurt productivity quite a bit. 

## Moving Forward
For a little while, I want to try spending a bunch of time focusing on one task instead of jumping around constantly to make the posts more interesting. I'll update in the future as to how I feel this is working. 

Anyhow, here is a list of tasks that I will be working on, in order of importance:
* FreeCodeCamp - Javascript Course
* Study Aid App
* AWS Certification

Note that the AWS Certification will not start until at minimum I have finished the FCC course, and may not start until after I have finished the Study Aid App.

Until next time!
How to search faster and professionally on Google
Tags: php, laravel, programming, webdev
Published: 2022-02-04 21:33:43

If you make a mistake in your project or your code, or you want to search for a specific code or information that helps you in your project, here you must use some tips that help you and wanted to share with you. I got them from the source https://www.youtube.com/watch?v=0d6FcBTtXbA

1- by `` F6 `` in the keyboard Connect the search box quickly

2-  We put, for example, the error message in `` " " `` It will treat the text inside it with the same match in the search

3- Search for results in a specific site `` site: domain.com SearchTerm `` 

4- An example of excluding a specific word in the search `` python condition -if `` 

5- Search after a certain date `` SearchTerm after :2020 ``

6- Search before a certain date `` SearchTerm before  :2020 ``

7- Search between two specific dates `` SearchTerm 2015..2017 ``

8- Here we are looking for a specific information that is in a specific language of the two languages, as in the example `` change Background (js|css) ``

9- Here we are looking for two pieces of information next to each other, as in the example ``  js and css ``

10- We put a tick `` wild card * `` to give us suggestions in the search

11- Search for a specific file type as in the example ``  file :pdf clean code ``

I hope you enjoyed it as much as I enjoyed sharing the information.
Triangle of even numbers
Published: 2022-02-04 21:28:55

 I invite you to consider the issue.
Consider a number series consisting of even numbers.
Let's decompose sequentially even numbers in a triangle, starting from 0 at the top and on each new line we will add one element.

1.            0
2.          2   4
3.       6    8  10
4.     12  14  16  18
5.   20  22  24  26  28
n.  ...
n+1.     ......  And so on ad infinitum

  I think the layout is clear.
The question is as follows.
It is required to find the sum of the specified string and all elements of .

For instance:
    Given: the number X is the row number
     Find:
       1) all elements from this row
       2) the sum of these elements
 
Bonus:
 Given: the number A is a random number from 0 to infinity
  Find:
   1) check if the number is even
   2) if the given number is even then find 
       on which line this number is located 

Here is such a problem for warming up the brain.

I would be glad to hear your opinion, and it is interesting to see interesting solutions.

Sincerely yours @vova2kms
CJS & ESM modules cross-compatibility
Tags: node
Published: 2022-02-04 20:47:05

### <u>Two ways to be cross-compatible between Node's modules</u>:

Scenario **A.js** : you're in ESM module & you want to require CJS :

```javascript
// A.js
import { createRequire } from 'module'
const requireInESM = createRequire(import.meta.url)
requireInESM(path) // require CJS in this current module of ESM
``` 

_whilst,.._

**Scenario B.js** : you're in CJS module & you want to import ESM:

```javascript
// B.js
import (path); // use dynamic import to require ESM within current CJS module
```

---

Found a typo, or want to improve something, leave a comment in the comment sections below . Thanks !
Why am I getting tons of errs when adding mongoose to REACT?  
Tags: mongoose, react, mongodb
Published: 2022-02-04 20:35:16

Sure.. I can run npm audit fix --force  .. but REACT goes on error after error to the point where it doesn't responds any more..

Is this a mongoose problem?  Is there another way to work with it? 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yci0qjz8xbwj0fgixlel.PNG)
Looking for Guidance on what to learn....
Tags: programming, productivity, career, algorithms
Published: 2022-02-04 20:26:13

Hello, I am looking for guidance on what to do to excel myself as a Mid-Level Software Engineer. There's so much I want to learn and so many different things I want to get into but I'm looking for type of advice for how I should structure it. Down below are the list of things I want to learn which I believe will excel my career.

- Docker (learning to making microservices and creating containers)
- Distributed System (having a good knowledge of what it is, the architecture and how my company is using the paradigm)
- Spring Boot Full-Stack Application
- .NET Full-Stack Application
- DevOps Technologies such as Jenkins, and OpenShift
- Algorithms (More for increasing my problem solving ability and writing more efficient code)