teleren/devto huggingface dataset:
Introducción a la Ciencia de Datos
Tags: datascience
Published: 2020-10-23 17:55:28

---
title: Introducción a la Ciencia de Datos
published: true
description: 
tags: datascience
cover_image: https://images.unsplash.com/photo-1576669801775-ff43c5ab079d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80
---
Si buscamos en Google "Como convertirse en un científico de datos?", probablemente nos confrontemos con una larga lista de **habilidades**, desde modelado estadístico hasta programación en Python pasando por la comunicación efectiva eficaz y la realización de presentaciones. Una descripción de **trabajo** podría describir un rol mas cercano a un estadístico, mientras que otro empleador busca a alguien quien tenga una maestría en informática. Cuando buscamos formas de ganar todas estas habilidades, encontraremos opciones desde volver a la escuela por una maestría hasta hacer un campo de entrenamiento (bootcamp) para comenzar a hacer análisis de datos en nuestro actual trabajo. Poner juntos, todas estas combinaciones de caminos puede sentirse insuperable, especialmente para personas quienes no están seguras en querer ser científicos de datos.

La buena noticia es que no hay un único científico de datos que tenga todas estas habilidades. Los científicos de datos comparten bases de conocimientos, pero cada uno tiene su propia especialidad, al punto que no pueden intercambiar trabajos. La idea del post es ayudarlo a comprender qué son todos estos tipos de científicos de datos y cómo tomar las mejores decisiones para comenzar su carrera.

Los objetivos de este post son:
1. Conocer las bases de la ciencia de datos, incluyendo las habilidades que necesitas para un trabajo y diferentes tipos de científicos de datos.
2. Entrar en detalles sobre el papel de un científico de datos en cinco tipos de empresas para ayudarlo a comprender mejor cómo será el trabajo.
3. Cubrir los caminos para obtener las habilidades necesarias para ser un científico de datos y las ventajas y desventajas de cada uno.
4. Cubrir cómo crear una cartera de proyectos de ciencia de datos para obtener experiencia práctica en ciencia de datos y crear una cartera para mostrar a los empleadores potenciales
Automate version control for publishing
Tags: automation, bash, versioning, publishing
Published: 2020-10-23 17:19:09

---
title: Automate version control for publishing
published: true
series: Publishing workflow
tags: automation, bash, versioning, publishing
---

This is the fourth part of my Publishing workflow Series. I want to use git as versioning tool. After I published my new article I want to commit my new addition and push it directly to my github repository. This is a very small change to my `helper.sh`

```bash 
commitMessage="Published -$fileName-"

git add . 
git commit -m"$commitMessage" 
git push

```
I just generate a small commit message add all the changes in the repo and push it to my remote.
A complete walkthrough to Flutter mastering!
Tags: flutter, mobile
Published: 2020-10-23 15:53:56

---
title: A complete walkthrough to Flutter mastering!
published: true
description: Starting to learn Flutter. From zero to hero
tags: Flutter, Mobile
series: Flutter Walkthrough
//cover_image: https://direct_url_to_image.jpg
---

Hello Dev Community,

First post for me in here (originally post here https://drumor.dev/posts/learn-flutter/)! I'm so excited starting this new adventure on Dev.to!

So I decided that today is THE day! The day I start (or restart) learning Flutter.
For those who don't know what is flutter, here is a quick [video](https://www.youtube.com/watch?v=fq4N0hgOWzU) from Google.

I previously talk about this on my blog as an introduction on it [here](https://drumor.dev/posts/flutter-discover/).
I sadly had less time to discover this technology but i'm sure this is the future of mobile development. 

I'm so now back in this business and i will then start learning Flutter with some resources :

 1. https://flutter.dev/docs
 2. https://www.freecodecamp.org/news/how-to-learn-flutter-in-2020/
 3. https://medium.com/flutter-community/i-want-to-learn-flutter-how-to-start-ffb4145f9b26

This should give me a good base. I will then have a look to good open source project by checking GitHub :

 - https://github.com/iampawan/FlutterExampleApps
 - https://github.com/Solido/awesome-flutter
 - https://github.com/nisrulz/flutter-examples
 - https://github.com/mitesh77/Best-Flutter-UI-Templates

This will give me a solid learning evolution but there is also a lot of work.
Once i'll have a complete look on this, i'll realize a complete project that i'll explain in here. Stay tune!

Do you have any website for learning flutter that i definitely should see? Let's comment then!
[2] JS Minesweeper
Tags: webdev, codenewbie, javascript, beginners
Published: 2020-10-23 17:05:35

Well, it’s been over two weeks since the start of my vacation. Before it started, I thought I was going to [write here](https://create-react-app.com/) more often, but there were many other things and so on. Due to the coronavirus situation, it was almost impossible to travel anywhere except within the country. So we had a couple of car trips inside Finland (Tampere, Lahti, Järvenpää, Kirkkonummi, etc).

Anyway, my self-learning continues and I could say that I’m getting more familiar with JavaScript and React. There will be a separate post fully dedicated to React in a few days (I hope).

But let’s get back to the point of this post. In the last few days, I’ve been working on a minor JS project. I was trying to make a simple JS Minesweeper game. So, there is the [result](https://old.create-react-app.com/Projects/MineSweeper/index.html). At the moment, the game works to some extent, but I guess it still needs a couple of improvements.

I noticed a few lags, especially this applies to the corners of the map where it occasionally behaves weirdly. In the near future, I will try to fix them and, I suppose, I will also make some changes to CSS as well.

You can try the game (and see my other projects) by clicking one of the links below:

https://proj.ninja/

OR

https://proj.create-react-app.com/

P.S. You can also find the code at my [GitHub](https://github.com/villivald/proj_react_2020/tree/master/src/Projects/MineSweeper).

P.P.S In the current version of the game the winning is possible, but let’s say, quite unlikely 🙃.

[Original post 02.07.20 @ create-react-app.com](https://create-react-app.com/js-minesweeper-app/)

Site https://proj.create-react-app.com/
GitHub https://github.com/villivald
Destructuring nested key
Tags: javascript, webdev, beginners, codenewbie
Published: 2020-10-23 17:02:37

```js
const response = {
  body: {
    message: 'destructure this',
  },
};

const {
  body: { message },
} = response;

console.log(message); // 'destructure this'
```

---

**Thanks for reading 💙**  
Follow **@codedrops.tech** for daily posts.  
[Instagram](https://www.instagram.com/codedrops.tech/) ● [Twitter](https://twitter.com/codedrops_tech) ● [Facebook](https://www.facebook.com/codedrops.tech/)

Micro-Learning ● Web Development ● Javascript ● MERN stack ● Javascript  
**[codedrops.tech](https://www.codedrops.tech/)**
Ask Octopus - Can consumers of my step templates provide their own packages?
Tags: octopus, tutorial, devops
Published: 2020-10-23 17:00:52

---
title: Ask Octopus - Can consumers of my step templates provide their own packages?
published: true
description: You want to write generic step templates that let the consumers provide their own packages. What do you do? Find out in this Ask Octopus!
tags: octopus,tutorial,devops
series: Ask Octopus
---

You want to write generic step templates that let the consumers provide their own packages. What do you do? Find out in this Ask Octopus!

{% youtube ZvbGj5eLBAk %}

Do you have a question about how to use Octopus? Email advice@octopus.com and someone from our team will get you an answer. You might even see it in a future episode.

Join our community slack at https://octopus.com/slack
I Create This Blog Using Jekyll
Tags: todayilearned, blog, jekyll, staticsite
Published: 2020-10-24 09:22:43

---
title: I Create This Blog Using Jekyll
published: true
date: 2020-10-23 17:00:00 UTC
tags: TodayILearned,blog,jekyll,staticsite
canonical_url: https://clavinjune.dev/en/blogs/i-create-this-blog-using-jekyll/
---

![Photo by @jessbaileydesigns on Unsplash](https://images.unsplash.com/photo-1542435503-956c469947f6)

[This blog](https://clavinjune.dev/) is the result of my learning journey about a static-site generator made on top of [Jekyll](https://jekyllrb.com/). The design is kinda bad due to my lacked sense of design. To avoid creating a whole trash blog, I tried to ask my friends to give me feedback about the design a bit.

I have tried using the provided theme like [Minima](https://github.com/jekyll/minima) but, I just don’t like it after all. That’s why I think it’s better to create my own. I tried to create the simplest design as long as it is easy to be read. I used [Coolors](https://coolors.co/), [Google Font](https://fonts.google.com/), [Rogue](http://rouge.jneen.net/), [Jekyll Paginate](https://github.com/sverrirs/jekyll-paginate-v2), [Jekyll Feed](https://github.com/jekyll/jekyll-feed), and write a bit of Ruby, CSS, and JS for creating the theme itself. I didn’t think creating this simple blog costs me 2 Saturdays, even though it only consists of as many as 3 pages.

After I think the whole template is ready to be published, I create [this template repository](https://github.com/anon-org/jekyll-blog) just in case there’s someone who wants to try Jekyll using my template. It is ready to be deployed, just adjust `_config.yaml` a bit and a whole blog is ready with it’s auto-generated RSS feeds.

Integrating blog posts to [DEV](https://dev.to) using RSS is not a new thing. But this is a new experience for me since I only write two posts on DEV before. Despite this is a new blog, I have written my thoughts at [Medium](https://medium.com/@ClavinJune). I was looking for a way to publish to Medium via RSS feeds, but I didn’t find any. Luckily DEV supports this kind of thing with simple configuration, perhaps I need to adjust the post a bit before publishing it.

Perhaps I’m gonna try to integrate this blog using [Webmention](https://webmention.io/) and [Web Monetization](https://webmonetization.org/) after getting a bunch of visitors, but I’m gonna save it for later.

Thank you for reading, all feedbacks and comments are more than welcome!
Adding Authorization to a Node.js App – Beyond Role-Based Access Control
Tags: javascript, typescript, node, webdev
Published: 2020-10-23 16:54:27

We wrote a blog post on Adding Authorization to a Node.js App and Role-Based Access Control. Learn why RBAC isn't always enough & how we used oso (https://www.osohq.com/) to represent common access control patterns in a NestJS app. 

The post covers how to use the oso Node.js library, how to represent common access control patterns, what to do when RBAC isn't enough, and what a declarative approach to policy code looks like.

https://www.osohq.com/post/adding-authorization-nodejs-app-beyond-role-based-access-control
Object Shorthand
Tags: react, beginners, javascript
Published: 2020-10-23 16:49:21

## 'Collecting' an Object Pre-ES2015/ES6

~~Give~~ Given some existing 'in scope' _variables,_ if we wanted to 'collect' them into an _object,_ before ES2015, we had to do:

```javascript
const fname= "Mark";
const lname = "Galloway";
const aliases = ["Mean Mark", "The Undertaker", "American Bad Ass"];
const status = "retired";

const wrestler = {
  fname: fname,
  lname: lname,
  aliases: aliases,
  status: status
}
```

## 'Collecting' An Object ES6+

### Object Shorthand

```javascript
const fname= "Mark";
const lname = "Galloway";
const aliases = ["Mean Mark", "The Undertaker", "American Bad Ass"];
const status = "retired";

/**
  * If there is no ':',
  * the OBJECT LITERAL automatically 'creates' a STRING 🔑
  * and assigns the VALUE BOUND TO the VARIABLE IN SCOPE
  * that has the same name. 🦄
  */
const wrestler = {
  fname,
  lname,
  aliases,
  status
}
```

Summarily, this is a nice way to save some typing. Less typing ➡️ fewer mistakes and 🐛s.
Equivalencia de filter(), map() y reduce() en C#
Tags: javascript, csharp, beginners, functional
Published: 2020-10-23 16:42:08

Conforme voy profundizando en Javascript descubro lo potente que se está volviendo este lenguaje, sobre todo desde la parte de programación funcional.  A veces viene bien saber como usar en otros lenguajes dichas funcionalidades.

En este post voy a explicar la equivalencia de las funciones `filter()`, `map()` y `reduce()` de Javascript en C#.

##filter()
Dado un array de números vamos a filtrar los que sean mayores de 5

```javascript
const myArray = [1, 2, 3, 4, 5, 6, 7, 8, 9];
const filterArray = myArray.filter(n => n > 5);
```

`Where()` sería el equivalente en C#, no debemos olvidar importar Linq y en este caso como vamos a usar List también hay que importar Generics

```csharp
using System.Linq;
using System.Collections.Generic;
var myArray = new List<int>() { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
var filterArray = myArray.Where(n => n > 5);
```

De ambas maneras el resultado sería
[ 6, 7, 8, 9 ]

##map()
Ahora sobre dicho array vamos a multiplicar todas sus posiciones por dos

```javascript
const mapArray = myArray.map(n => n*2);
```

La misma operación la podríamos hacer en C# con `Select()`

```csharp
var mapArray = myArray.Select(n => n * 2);
```

Con ambas operaciones el resultado sería
[ 2, 4, 6, 8, 10, 12, 14, 16, 18 ]

##reduce()
Esta función es muy potente ya que lo que antes teníamos que hacer con bucles y variables para hacer un sumatorio de un array, lo podemos hacer en una línea con esta función

```javascript
const sum = myArray.reduce((accum, current) => accum + current, 0);
```

Su equivalencia en C# sería con el método `Aggregate()`

```csharp
var sum = myArray.Aggregate(0, 
          (accum, current) => accum + current);
```

En ambos casos el resultado sería 45
Hacktoberfest 2020 🏆
Tags: hacktoberfest, hacktoberfest2020, github, opensource
Published: 2020-10-23 16:35:45

---
title: Hacktoberfest 2020 🏆
published: true
description: Just submitted the four required PRs for the Hacktoberfest challenge
tags: hacktoberfest,hacktoberfest2020,github,opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/bmscqehqhuedrjgp9fio.png
---

DONE ✅ #Hacktoberfest #OpenSource 💪
I just completed the #hacktoberfest2020 challenge with more than 4 pull requests successfully merged.
@hacktoberfest

Who else have?

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/r6ayoov9tiy3oimygxas.png)

<p><a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jDlsm754--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/33k1xj960glsixid4tdi.gif" class="article-body-image-wrapper"><img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jDlsm754--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/33k1xj960glsixid4tdi.gif" alt="bravo celebration gif with an avocado" loading="lazy"></a></p>

"You did it! Congratulations on submitting four (or more) pull requests and contributing to open source projects this month."
FlexBox
Published: 2020-10-23 16:35:16

The flex property is a shorthand property for

flex-grow
flex-shrink
flex-basis

The flex-basis property specifies the initial length of a flexible item.

The flex-direction property specifies the direction of the flexible items.

The flex-grow property specifies how much the item will grow relative to the rest of the flexible items inside the same container.

The flex-wrap property specifies whether the flexible items should wrap or not.

The flex property sets or returns the length of the item, relative to the rest of the flexible items inside the same container.

The flex property is a shorthand for the flexGrow, flexShrink, and the flexBasis properties

The justify-content property aligns the flexible container's items when the items do not use all available space on the main-axis.

The order property specifies the order of a flexible item relative to the rest of the flexible items inside the same container.
Week 4: Forem Hacktoberfest Twitch Events Recap
Tags: hacktoberfest, opensource, meta
Published: 2020-10-23 16:29:42

---
title: Week 4: Forem Hacktoberfest Twitch Events Recap
published: true
description: 
tags: hacktoberfest, opensource, meta
series: ThePracticalDev Twitch Events recap
---
This week the Forem team hosted four streams on Twitch during Hacktoberfest. Here is a recap of what we discussed!

## Monday Oct 19th: Gratitude Stream.
{% youtube D1VYOXZXEWg %}
[Nick Taylor]([https://dev.to/nickytonline](https://dev.to/nickytonline)) and [I](https://dev.to/coffeecraftcode) gave shoutouts to DEV community members who contributed to Forem last week. We had over 18 PRs merged from 12 different folks 🎉
{% link https://dev.to/devteam/hacktoberfest-week-four-thank-you-to-our-contributors-on-forem-8e %}


## Wednesday, Oct 21st: Walkthrough Wednesday.
{% youtube sfGZe7dUwuM %}
Nick Taylor and I were joined by special guest [Vaidehi Joshi](https://dev.to/vaidehijoshi), a Senior Software Engineer at DEV/Forem and creator of [BaseCS](http://basecs.org/).
Vaidehi answered [questions](https://dev.to/vaidehijoshi/i-m-vaidehi-joshi-senior-software-engineer-at-dev-forem-ama-5b00)  about Forem’s backend architecture, her hobbies, side projects and more. 

## Thursday, Oct. 8th: Pair Programming with Marie.
{% youtube  ajz8nGCqLbM %}
DEV community member and Twitch streamer [Marie Antons](https://dev.to/marieantons) joined us on the stream to work on this [open issue](https://github.com/forem/forem/issues/3588) to add podcast validation.


Thanks to all our viewers who joined the streams and chatted with us this week! 

We look forward to seeing you again next when we are joined by podcast producer and sound designer [Levi Sharpe](https://dev.to/levisharpe ) to talk about podcasting and what he does as a podcast producer at Forem. 
{% listing https://dev.to/listings/events/walkthrough-wednesday-on-friday-with-levi-sharpe-5dcd %}

We will also be joined by community member [Shriyash Jalukar](https://dev.to/shriyash) to pair on an open Forem issue.
{% listing https://dev.to/listings/events/pair-programming-with-shriyash-jalukar-36o9 %}

Keep an eye on [ThePracticalDev Twitch](https://www.twitch.tv/thepracticaldev) channel for our streaming schedule. 

As we head into the final week of Hacktoberfest, I hope these upcoming streams help you submit those final PRs, learn more about open source, and get to know the Forem team and our community a bit more.

P.S. If you’re curious about the open Forem issues you can contribute to, check out this post:
{% link https://dev.to/devteam/contribute-to-forem-this-hacktoberfest-5cjj %}

P.P.S. Want a refresher on some Hacktoberfest rules, tips, and advice from DEV? Don’t miss this post:  
{% link https://dev.to/devteam/happy-hacktoberfest-here-s-how-to-show-up-for-open-source-this-month-4cee %}
What was your win this week?
Tags: discuss, weeklyretro
Published: 2020-10-23 16:16:07

---
title: What was your win this week?
published: true
description: Got to all your meetings on time? Started a new project? Fixed a tricky bug?
tags: discuss, weeklyretro
cover_image: https://cl.ly/188e843c2985/download/Image%202019-02-15%20at%202.36.37%20PM.png
---

It's almost the weekend!


**Looking back on your week — what was something you're proud of?**

All wins count — big or small 🎉

Examples of 'wins' include:

- Getting a promotion!
- Starting a new project
- Fixing a tricky bug
- Cleaning your house...or whatever else that may spark joy 😄


**Have a great weekend!**

![Relaxed Donkey](https://media.giphy.com/media/nWoCLtqbosH0k/giphy.gif)
Exploring Bias in Crime Data
Tags: datascience, python, crime
Published: 2020-10-23 16:04:24

I was joined this week by my colleague [Margriet Groenendijk](https://dev.to/margrietgr) to look through some crime data to do a bit of an exploration and see what we could see in the way of biases in the data.

[A 1080p version of this video is on Cinnamon](https://cinnamon.video/watch?v=434573556282557877)

This is the recording from my *ML for Everyone* show that broadcasts every Tuesday at 2pm UK time on the [IBM Developer Twitch channel](http://ibm.biz/matt-livestream).

We didn't know really what we were looking for, but wanted to see if some of the commonly heard views of biases in policing were visible in the data. This is a hugely political and emotive area at the moment. So much so that IBM has just launched [Call for Code for Racial Justice](https://developer.ibm.com/callforcode/racial-justice/) to encourage tech projects to combat racism.

![Screenshot of Call for Code for Racial Justice website](https://dev-to-uploads.s3.amazonaws.com/i/m04e7d3wunp9hwy2mlnp.png)

The data we used was taken from the UK police open data website: https://data.police.uk/

Margriet has a python notebook that we were using for the session: 

{% github IBMDeveloperUK/Data-Science-Lunch-and-Learn %}

We were specifically looking at "Stop and Search" data reported by the police force in the area I live in, Avon and Somerset Police.

The first thing we immediately found is that the data in itself can sometimes be confusing. For example ethnicity is broken down both by 'self reported' and 'officer reported'. Which in and of itself could be significant.

There are many different ways this data could be interpreted. And we'd need a lot more knowledge of the specific terms in the reporting to be able to draw any rigorous conclusions. But we wanted still to see what we could see.

One specific area we chose was the 'outcomes' of a stop and search versus the officer reported race. ie. if you suspected a bias in policing you might expect to see a higher prevalence of stop and searches carried out for one race for stops in which no action was subsequently taken.

We found that if you are classed as Black or Asian that the probability of the outcome being no action was 25% versus 30% for white people stopped. Of course we have to be aware of correlation versus causation here as there could be two plausible explanations for these numbers:

1. That BAME people stopped are 'let off' with no action more often.
2. That police officers are more likely to stop a BAME person for no offence.

So this was just a very superficial look at the data, but hopefully shows how you can use python notebooks, and the pandas library to explore and visualise the data.

If you want to learn more, then please drop by the [IBM Developer Europe Twitch stream](http://ibm.biz/matt-livestream) on Tuesdays from 2-3pm UK time, or have a look at the Data Science Lunch and Learn series we run on the [IBM Developer Europe Crowdcast channel](https://www.crowdcast.io/ibmdevelopereurope).
Spooky Times on Twitch with the Notifications API
Tags: codenewbie, wecoded, html, techtalks
Published: 2020-10-23 16:04:22

Another Twitch recap, this time for Halloween! Watch the full stream right [here](https://www.twitch.tv/videos/779280997).

###What did we do?

This episode was a mixed recap of a bunch of long, complex topics that we've worked with on other episodes -- geofencing and asset tracking. In the past, we've used webhooks to tell send us constant updates on our tracked object, and had them pop up as teams notifications. 

This time, we introduced configuring notifications using Postman, which makes adding changes to the object, its name, and other properties so much easier. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/e1988spyh96l1dipklmc.png)

###Why is it Spooky?

Using the geofences set up from out multi-stop routing for delivery cars in past episodes, we set up a ghost object and talked about how to track its whereabouts. 

This stream built a lot on our infamous Roswell geofencing episode, where we geofenced the city of Roswell and tracked a UFO which we set on a path. This time, we wanted to chat about how to be notified when our ghost (instead of the UFO) moved around to different areas. If you haven't already, you can watch that Geofencing episode [here](https://www.youtube.com/watch?v=1IVCzFPi0q0&list=PLMQuITfjE-_f0NFD4eCtG6rOzfzyBUXrL&index=3&t=1971s)! 

Booo! (And, happy mapping!)