teleren/devto huggingface dataset:
We Are Looking for a Data Scientist Remote in USA
Tags: datascience, datascientist, python, machinelearning
Published: 2021-04-22 01:40:48

Hi everyone! Iaso AI is looking for a Senior Data Scientist. "We are a growing machine learning medical platform.We are working on tough and exciting problems, and need experienced senior level engineers with diverse backgrounds to make our vision a reality".

Skills and experience needed: 3+ years of experience in: Data science, Python.
1+ year of experience in Machine learning, AWS. 

Compensation: USD$120K to 180K per year.

Location: Remote job from United States Residents 

Language: English Conversational

You can apply easily using the following link: https://jobs.torre.co/3ar0udy

If you don't have a torre.co account yet, I can help you set it up and then submit the application for you.
Avaliação Heurística
Tags: heuristica, nielse, avaliadores, niveis
Published: 2021-04-22 01:09:33

As heurísticas originais (1990) surgiram da análise de 249 problemas, identificados a partir de avaliações realizadas por especialistas em 11 projetos distintos. Proposta por Nielsen análise Heurística é um método de engenharia de usabilidade para encontrar os erros de usabilidade em uma interface para que sejam corrigidos em um processo de desenvolvimento iterativo. Usa um grupo de avaliadores e tem como resultados compilados. Avaliadores devem ter conhecimento da aplicação, usuários e suas reações. 

Número de Avaliadores:

N(i) = N (1-(1-p)i) 

Aonde i= número de avaliadores, N = nº de problemas e p = probabilidade de encontrar um problema com 1 único participante. Um único avaliador até 35% dos problemas. 5 avaliadores encontram 75% dos problemas. 

Examinar a interface separadamente percorrendo para ter noção do fluxo de navegação e focar em elementos específicos.

Compilação, reunir os avaliadores e discutir os problemas e soluções. Importante lembrar que nenhum problema deve ser descartado. 

Severidade de cada problema: frequência (nº de vezes), impacto (impedimento de continuar) e persistência, tempo do usuário. Para cada tópico mencionado a cima usasse os níveis: 0 não concordo, 1 cosmético (não precisa ser corrigido), 2 baixa prioridade, 3 importante corrigir e 4 corrigir urgente.

As heurísticas:

1.Diálogo simples e natural;
![Diálogo simples e natural](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6nrm0ostyazqvitllblz.png)
2.Usar a linguagem do usuário;
![Usar a linguagem do usuário](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/izgkzho7s5w17mt1jue2.png)
3.Minimizar carga de memória;
![Minimizar carga de memória](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4q5hrt99hucuixxn9kes.png)
4.Ser consistente;
![Ser consistente](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qzt8j9ulr20eznurbla6.png)
5.Fornecer realimentação;
![Fornecer realimentação](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m72sh4jk66cpp9aiq3c8.png)
6.Apresentar saídas claras;
![Apresentar saídas claras](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2myy3ez9civ31whzo36j.png)
7.Fornecer atalhos e padrões;
![Fornecer atalhos e padrões](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/97v00axuxhx0l43209zn.png)
8.Mensagens de erros claras e construtivas;
![Mensagens de erros claras e construtivas](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4vtuppurrj6vrua31erd.png)
9.Evitar erros;
![Evitar erros](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/77rm0oan5w4tram1ias4.png)
10.Fornecer ajuda e documentação.

Referências:
1. Como os artigos científicos são escritos https://www.youtube.com/watch?v=Pkb-ScoKwko;
2. Design Interativo em processos ágeis de 
desenvolvimento de software https://www.cin.ufpe.br/~tg/2004-2/cpbb.pdf;
3. Processo de teste ágil x tradicional https://www.devmedia.com.br/processo-de-teste-agil-x-tradicional/36854 .
Notion + React + Blog: best libs and posts
Tags: notion, react, blog
Published: 2021-04-22 01:04:31

Here i´ll list libs and posts related to using Notion as a CMS for static generated blogs.

# Libs

### 1. React-Notion-X
https://github.com/NotionX/react-notion-x

### 2. Notion Oficial API
https://developers.notion.com/

# Posts

### 1. SpencerWoo´s Blog

https://github.com/spencerwooo/react-notion-blog
https://blog.spencerwoo.com/2021/02/nextjs-blog-notion

### 2. samuelkraft / notion-blog-nextjs
Next.js example blog powered by Notion Official Public API
https://github.com/samuelkraft/notion-blog-nextjs

### 3. transitive-bullshit/nextjs-notion-starter-kit
Deploy your own Notion-powered website in minutes with Next.js and Vercel.
https://github.com/transitive-bullshit/nextjs-notion-starter-kit

### 4. Daniel Wirtz
Daniel Wirtz personal website built with Chakra UI, NextJS and Airtable.
https://github.com/wirtzdan/website
Pair Time! Help my friends helps me to keep motivated
Published: 2021-04-22 00:11:02

Hello everyone, this past Saturday I began a project called as Pair time to help my friends about software development. it was so cool because we talked about API, HTTP, software modeling, SCRUM and some other concepts that nowadays i only use, but I don't talk much.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ux2wgswliprh8a4l7e2f.png) 
 
 We model a simple project that have a simple message bot an API and a front, and we discussed what we need to know for execute this project and when we finished this discussion we create some objectives for this research process, so our idea was study and create one simple article about this studied theme and the others members will review this article to help with concepts and grammatical mistakes.
 ![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kdf48xp74k6ctfbjl5kd.png)
 
 This group is motivating me to create articles in English and this people are my motivation for study more and for this week we hope create some articles about gitflow, HTTP, HTTP methods, API and JSON.

For today that's it! i'll create articles in english about this project and i hope that next article will be better than this =)  

![Alt](https://res.cloudinary.com/practicaldev/image/fetch/s--uLCaazgs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5991methcmv4ojwolws2.gif)
Are retrospectives required?
Tags: scrum, retrospective, continuousimprovement, practices
Published: 2021-04-24 08:12:55

---
title: Are retrospectives required?
published: true
date: 2021-04-22 00:00:00 UTC
tags: scrum,retrospective,continuousimprovement,practices
canonical_url: https://jhall.io/archive/2021/04/22/are-retrospectives-required/
---

Over the years, I’ve heard a wide variety of opinions on the topic of “retrospectives”, which exists to “plan ways to increase quality and effectiveness,” according to [scrum.org](https://www.scrum.org/resources/what-is-a-sprint-retrospective).

But some people seem to _hate_ retrospectives. So what if your team decides not to do them?

While I’m happy to admit that the format of many retrospectives borders on silly, I believe the content of retrospectives (when done appropriately) to be very valuable. In fact, it’s one of the two “formal” methods I advocate for [continuous improvement](https://en.wikipedia.org/wiki/Continual_improvement_process) in my course [_Ship better code faster_](https://jhall.io/sbcf) (the other being the [postmortem](https://jhall.io/posts/zero-prep-postmortem/)).

But the content of a retrospective doesn’t need to fit the form of a biweekly meeting, with post-it notes and brainstorming sessions.

If you and your team are able to reflect on your performance and behavior, and actively seek ways of improving regularly without a regularly-scheduled retrospective meeting, then please, don’t waste your time!

On the other hand, if your team is stagnant, or unable to communicate effectively about how to improve things, then maybe a Scrum-style retrospective would be [a good place to start](https://jhall.io/archive/2021/04/21/minimum-viable-agility/).

* * *
If you enjoyed this message, [subscribe](https://jhall.io/daily) to _The Daily Commit_ to get future messages to your inbox.
Métodos de Array - Filter
Published: 2021-04-21 23:40:28

Chegamos a mais um post da minha [saga de estudos](https://dev.to/inando85/bem-vindo-de-novo-javascript-1b48) em JavaScript.

No último post eu falei sobre o [método map](https://dev.to/inando85/metodos-de-array-map-1nh3)

No post de hoje irei falar um pouco sobre o método de array `filter`.

### Método Filter

O método `filter`, recebe uma função como argumento e executa essa função para cada um dos itens do array.

Usamos esse método quando baseado em uma condição, nós precisamos obter um novo array mas somente com alguns itens do array original.

A função que o método recebe como argumento, pode receber 3 parâmetros:

- 1: Item, que é o item atual que está sendo iterado
- 2: Index, que é o índice do item atual que está sendo iterado
- 3: Array, que é o próprio array original que está sendo iterado

Dos 3 parâmetros, somente o `item` é obrigatório.

Exemplo básico da utilização do `filter`:

```js
const randomNumbers = [36, 99, 37, 63]
const numbersGreaterThan37 = randomNumbers.filter(number => number > 37)
console.log(numbersGreaterThan37) // Array(2) [ 99, 63 ]
```

Em cada iteração que a condição retornar em true, o item iterado será adicionado ao novo array, se caso todos os itens retornem false, o filter irá retornar um array vazio.

```js
const randomNumbers = [36, 99, 37, 63]
const numbersGreaterThan99 = randomNumbers.filter(number => number > 99)
console.log(numbersGreaterThan37) // Array []
```

Abaixo confirmaremos que o método filter mantém o array original intacto.

```js
console.log(randomNumbers) // Array(4) [ 36, 99, 37, 63 ]
console.log(numbersGreaterThan37) // // Array(2) [ 99, 63 ]
console.log(numbersGreaterThan99) // Array []
```

Agora trazendo para um caso mais próximo do que podemos fazer no dia a dia.

Temos um array com usuários e queremos filtrar apenas os usuários que sejam premium.

```js
const users = [
  { name: 'Ada Lovelace', premium: true },
  { name: 'Grace Hopper', premium: false },
  { name: 'Alan Turing', premium: true },
  { name: 'Linus Torvalds', premium: false },
  { name: 'Margaret Hamilton', premium: true }
]

const premiumUsers = users.filter(user => user.premium)
console.log(premiumUsers)

/* 
Array(3) [ {…}, {…}, {…} ]
​
0: Object { name: "Ada Lovelace", premium: true }
​
1: Object { name: "Alan Turing", premium: true }
​
2: Object { name: "Margaret Hamilton", premium: true }
​
length: 3
*/
```

Ficamos por aqui com mais um conteúdo dos meus estudos, vou deixar o link da documentação do site da MDN sobre o [método filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter).

________________________________________________________________

Esse foi mais um post da minha saga de estudos em JavaScript Vanilla. Espero que estejam gostando!

Qualquer dúvida ou sugestão, vocês me encontram nas minhas redes sociais:

[LinkedIn](https://linkedin.com/in/inando85)
[GIthub](https://github.com/inando85)
Type Hinting for Dictionaries in Python
Tags: python
Published: 2021-06-09 15:41:21

---
title: Type Hinting for Dictionaries in Python
published: true
date: 2021-04-22 00:00:00 UTC
tags: python
canonical_url: https://tech.serhatteker.com/post/2021-04/type-hinting-for-dicts-in-python/
---

We can use generic version of [dict]: `Dict`, to declare the dictionary type in
python:

```python
from typing import Dict


def get_request(self) -> Dict[str, str]:
    ...


def validate(request: Dict[str, str]) -> bool:
    ...
```

However this is **deprecated** since version **3.9**. We can use directly [dict]:

```python


def get_request(self) -> dict[str, str]:
    ...


def validate(request: dict[str, str]) -> bool:
    ...

```

For more info: [Dict]




All done!




[dict]: https://docs.python.org/3/library/stdtypes.html#dict
[Dict]: https://docs.python.org/3/library/typing.html#typing.Dict
How to get the creation time of the file asynchronously using Node.js?
Tags: node
Published: 2021-04-22 00:00:00

---
  title: How to get the creation time of the file asynchronously using Node.js?
  published: true
  tags: Nodejs
  date: Thu Apr 22 2021 05:30:00 GMT+0530 (India Standard Time)
  canonical_url: https://melvingeorge.me/blog/get-creation-time-of-file-asynchronously-nodejs
  cover_image: https://melvingeorge.me/_next/static/images/main-55bd6dc39f9d2f33dea48717ba176c93.jpg
  ---
  [Originally posted here!](https://melvingeorge.me/blog/get-creation-time-of-file-asynchronously-nodejs)
  
To get the creation time of a file asynchronously, you can use the `stat()` method from the `fs` (filesystem) module and then use the `birthtime` property from the returned `stats` object in Node.js.

Let's say we have a file called `myFile.txt` in which you want to get the time of creation. Here you can use the `fs.stat()` method and pass:

- the `path` to the file as the first argument.
- a callback function that will get invoked after statistics about the file is obtained, in which the first parameter is an `error` object and the second parameter is the `stats` object which contains all the information about the file.

In our case, the creation time of the file can be obtained using the `birthtime` property from the `stats` object. The `birthtime` property returns a valid `Date` object in JavaScript.

It can be done like this,

```js
// require fs module
const fs = require("fs");

// get creation time using fs.stat() method
fs.stat("./myFile.txt", (error, stats) => {
  // in case of any error
  if (error) {
    console.log(error);
    return;
  }

  // else show creation time from stats object
  console.log("File created at: ", stats.birthtime); // File created at:  2021-04-30T23:53:07.633Z
});
```

See the above code live in [repl.it](https://replit.com/@melvin2016/get-creation-time-of-file-asynchronously-nodejs).

If you want to see the `Date` in a more human-readable way you can use the `Date` object methods. Let's use the `toUTCString()` method like this,

```js
// require fs module
const fs = require("fs");

// get creation time using fs.stat() method
fs.stat("./myFile.txt", (error, stats) => {
  // in case of any error
  if (error) {
    console.log(error);
    return;
  }

  // else show creation time from stats object
  console.log("File created at: ", stats.birthtime.toUTCString()); // File created at: Fri, 30 Apr 2021 23:53:07 GMT
});
```

That's it! 😀

### Feel free to share if you found this useful 😃.

---
Rust in Android OS and Linux
Tags: rust, news, linux, android
Published: 2021-04-22 10:02:25

---
title: Rust in Android OS and Linux
published: true
date: 2021-04-22 00:00:00 UTC
tags: rust,news,linux,android
canonical_url: https://rendered-obsolete.github.io/2021/04/22/rust_android_linux.html
---

Google had two recent announcements of particular interest to Rust enthusiasts: ongoing efforts to introduce Rust into [Android OS](https://security.googleblog.com/2021/04/rust-in-android-platform.html) and the [Linux kernel](https://security.googleblog.com/2021/04/rust-in-linux-kernel.html).

While a number of memory-safe languages like Java/Kotlin/go/et al. are used in user-space, the majority of OSes are written in C/C++ where incorrect memory usage is still a source of “high severity” bugs. The idea is that using Rust would avoid such classes of bugs and provide other benefits.

The [Linux article](https://security.googleblog.com/2021/04/rust-in-linux-kernel.html) has a few specific examples for a simple character device, ioctl handling, and synchronisation primitives. They illustrate some of Rust’s advantages: immutability, static typing, lifetime checks, bounds checks, [RAII](https://en.cppreference.com/w/cpp/language/raii), required initialisation and error-handling, and so on. Most achieved at compile-time rather than run-time.

Why not bring C++ to Linux? [Linus Torvalds had this to say](https://itwire.com/open-source/rust-support-in-linux-may-be-possible-by-5-14-release-torvalds.html):

> LOL. C++ solves _none_ of the C issues, and only makes things worse. It really is a crap language.
Calculating the Mean (Disclaimer)
Published: 2021-04-21 23:40:20

In posting today, I did not know the limitations on how to upload my screenshots of the program I explained. What I will do tomorrow is post the code within the post without screenshots from Visual Studio Code. However, it is still the coding environment for me and gives me everything I need without using a more feature-driven IDE like Visual Studio. So, I will post the raw code in my posts going forward. So, look for the corrected posts with some coding modifications tomorrow. I will eventually do some stuff with R as well. Both R and Python have democratized data science by allowing more people to use the language to analyze data.
Python Basics Again: Variable, expression, Statements, Conditionals and Functions
Tags: python, vscode, django, machinelearning
Published: 2021-04-21 23:35:28


### A variable refers to a value.
 a = 2
### An expression is a combination of values, variables and operators.
 a+2-2
### A statement is a unit of code that has an effect on your code like the print statement.
 print(a)
### Python follows the PEDMAS order of operations.
Python data types: integar(int), string(str), float
(float) and boolean which is often debatable.
#Conditionals (if,else,elif) state conditions your code must follow. 
#Functions help you reuse code instead of writing it over and over and it begins with a def. In-built functions like math comes already baked in python.
You can call the functions you create between different scripts.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kt8i75sxda6f4bgenuh3.png)
NLW#5: Voltando a estudar ReactJS
Tags: react, braziliandevs, javascript, nlw5
Published: 2021-04-21 23:01:32

A quase um ano migrei para um projeto Angular e tive que focar meus estudos nesse novo framework. Nas ultimas semanas resolvi voltar a estudar React, e nada melhor que voltar com um projetinho do #NLW5 da [@rocketseat](https://www.instagram.com/rocketseat_oficial/). 

Tem sido muito gratificante ver como o React evoluiu nos últimos meses, principalmente com a chegada de novas ferramentas como o Next.js.

Estamos no meio da construção de uma plataforma de podcasts e o resultado esta ficando incrível. Agora é subir no foguete e continuar decolando!
Executando o SQL Server em um contêiner docker 🐳 no windows
Tags: docker, sqlserver
Published: 2021-04-21 22:47:51

#### Pré-requisitos:

- O [Docker for Windows](https://docs.docker.com/docker-for-windows/install/), que permitirá a criação de imagens e contêiners para testes em máquinas de desenvolvimento baseadas no Windows 10;
- O Windows PowerShell para a execução de comandos envolvendo o uso do Docker.
- Após instalar o docker for windows para executar contêiners do Windows, você precisa "Alternar para contêineres do Windows" no menu Docker:

![docker-for-windows](https://dev-to-uploads.s3.amazonaws.com/i/dpcc6qr069jvqz9oa69o.png)

![docker-for-windows-2](https://dev-to-uploads.s3.amazonaws.com/i/y4hok91p6ertlrn974hr.png)

Imagens retiradas no seguinte tópico do [stackoverflow](https://stackoverflow.com/questions/43346580/docker-image-operating-system-windows-cannot-be-used-on-this-platform)

#### 1. Baixando a imagem do SQL Server e criando o container
Abra o terminal PowerShell do windows e digite o seguinte comando:

```
docker pull microsoft/mssql-server-windows-developer
```

Aguarde o download finalizar e digite no terminal o comando para listar as informações da imagem:

```
docker image ls ou docker images
```

#### 2. Para executar a imagem de contêiner com o Docker, você pode usar o comando:

```
docker run -d -p 1433:1433 -e sa_password=<SA_PASSWORD> -e ACCEPT_EULA=Y microsoft/mssql-server-windows-developer
```

A tabela a seguir fornece uma descrição dos parâmetros no exemplo de `docker run` anterior:

| Parâmetro                                | Descrição           |
| ---------------------------------------- |:-------------------:|
| -e "ACCEPT_EULA=Y"	                   | Defina a variável ACCEPT_EULA com qualquer valor para confirmar sua aceitação dos [Termos de Licença](https://go.microsoft.com/fwlink/?LinkId=746388). Configuração exigida para a imagem do SQL Server.
 |
| -e "SA_PASSWORD=<SA_PASSWORD>"	   | Especifique sua própria senha forte que tenha pelo menos 8 caracteres e atenda aos [Requisitos de senha do SQL Server](https://docs.microsoft.com/pt-br/sql/relational-databases/security/password-policy?view=sql-server-ver15). Configuração exigida para a imagem do SQL Server.
|
| -p 1433:1433	                           | Mapeie uma porta TCP no ambiente do host (primeiro valor) para uma porta TCP no contêiner (segundo valor). Neste exemplo, o SQL Server está escutando na TCP 1433 no contêiner e isso é exposto para a porta 1433 no host.
      |
| microsoft/mssql-server-windows-developer | A imagem de contêiner do SQL Server Windows Developer.     |
Back-end Senior Software Engineer
Tags: javascript, typescript, aws, offers
Published: 2021-04-21 22:30:38

Hi everyone!
Iaso AI is looking for a Back-end Senior Software Engineer.
 
Skills and experience needed: 5+ years of experience - Software development, TypeScript, Javascript and Backend, 3+ years of experience - AWS and 1+ year of experience - RESTful API.
Language(s) required: English - Conversational.
Location: Remote - USA.
Compensation: USD$120K - 180K/year.
 
You can apply easily using the following link: https://jobs.torre.co/3ekQXG5
If you don't have a Torre account yet, I can help you set it up and then submit the application for you.
Reach out to me with your CV and email if you’d like my help.
What was the hardest concept for you to grasp when learning Object-Oriented Programming?
Tags: discuss, watercooler, oop
Published: 2021-04-21 22:26:28

I would say about 99% of developers use OOP in their day-to-day programming and perhaps even a higher percentage than that *learn* OOP at the very least.

I'm curious to see if there is a concept or idea specific to OOP that many people agree was hard for them to learn at first.

For me, understanding the difference between class variables/methods and instance variables/methods was a bit of stumbling block to me. I used to not understand why you'd want to make a method `static`.

How about you? When you learned OOP or if you're currently learning it, what concepts did/do you find most challenging to understand?
Day 350 : So Close, So Far
Tags: hiphop, code, coding, lifelongdev
Published: 2021-04-21 22:06:39

_liner notes_:
- Professional : Definitely thought today was Tuesday. haha Basically lost a day somewhere. haha. This week is flying by! Had a couple of meetings. Other than that, I focused on my hackathon project. Running into some issues, of course. haha. So close, so far. haha Making progress though, little by little.

- Personal : Last night, I worked on getting the layout right for my hackathon project. Probably spent way too much time on fixing the CSS. haha Found out that Method Man and Redman were participating in a Verzuz. Felt good to travel down memory lane and listen to tracks I haven't heard in a while. Watched an episode of "Dr. Stone".

![Looking up at a building on a cliff in Gilgit Baltistan, Pakistan with more mountains in the background](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bjpdzx8p13m2yag4qgtn.jpg)

Going to try and see if I can get this hackathon project working. I want to keep going down this road a little more before I totally scrap it and go another way I'm pretty sure will work. We'll see. Hopefully I can get in an episode of "Dr. Stone".

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube dU0hX34z13U %}