teleren/devto huggingface dataset:
What if I tell you "Sparrow"?
Tags: devops, automation, ci
Published: 2021-01-13 15:12:02

When I read **Sparrow** I think about:
![Pirate dog](https://dev-to-uploads.s3.amazonaws.com/i/44r9ext2vneypddlukxo.jpeg)

Or:
![Pirate dog](https://dev-to-uploads.s3.amazonaws.com/i/a10qil1g6r9wpy1y4u7z.jpeg)

Or even :grin::
![Pirate dog](https://dev-to-uploads.s3.amazonaws.com/i/vnnhqr61fv462bagrfxy.jpeg)

But I'm pretty sure that [his author](https://github.com/melezhik) sees this:
![Sparrow](https://dev-to-uploads.s3.amazonaws.com/i/btwr1970ogcitpon32zl.jpeg)
(because it is actually what means "sparrow")

Alternatively, I think about the well known contemporary pirate:
![Jack Sparrow](https://dev-to-uploads.s3.amazonaws.com/i/tcbkbxaq4ppw5t3zifdr.jpeg)

But to be honest, my favorite stays the **pirate dog** !

## What exactly is Sparrow ?

[Sparrow](https://github.com/melezhik/sparrow6) is an automation framework. And to be more specific, it is "agentless" and comes with a [hub](https://sparrowhub.io) with hundreds of ready to use tasks.

Tasks can be written in various programming languages because of the flexibility of [Sparrow](https://github.com/melezhik/sparrow6).

If we talk about scenario file (the "recipe", think playbook/Jenkinsfile/workflow), [Sparrow](https://github.com/melezhik/sparrow6) accepts an handy DSL but has aswell real programming capabilities (= you can mix code).

Overall, think *"ansible"* but without yaml (bye bye `loop` and `with_<lookup>`).

## What next ?
Today, the [Sparrow](https://github.com/melezhik/sparrow6) ecosystem is mature enough ([Sparrow](https://github.com/melezhik/sparrow6) and [Sparrowhub](https://sparrowhub.io/)) but is still in active development, including [Sparky](https://github.com/melezhik/sparky), a lightweight CI server/UI built on top of it that is in early development.

If you want to support, you can join the effort with code or simply just drop a star or a comment on one of projects linked previously.
AzureFunBytes New Episode Reminder -1/14/2021 2 PM EST - Terraform and @Azure with @zdeptawa 
Tags: azure, terraform, beginners, tutorial
Published: 2021-01-13 15:11:06

This week [Zachary Deptawa](https://twitter.com/zdeptawa) joins me again!  This time we'll dive a bit deeper into Terraform!  This Thursday, January 14, 2021 at 2PM EST / 11AM PST.  Zachary has a ton more information to share about how to deploy your applications using HashiCorp Terraform along with Microsoft Azure.

Join us with your questions and learn even more fundamentals

AzureFunBytes! - Byte-sized content with a live Twitch show!

Learn about Azure fundamentals with me!

{% youtube Y42hgiSvXfE %}

Live stream is available on Twitch at 2 pm EST Thursday. You can also find the recordings here as well:

https://twitch.tv/azurefunbytes
https://twitter.com/azurefunbytes
https://aka.ms/jaygordononyoutube

Join me, ask questions, and learn about Azure!


Useful Docs:

[Microsoft Learn: Azure Fundamentals](https://cda.ms/1jV) 
[Microsoft Azure: $200 Free Credit](https://cda.ms/1tj) 
[Terraform with Azure](https://cda.ms/1z2)
[Quickstart: Configure Terraform using Azure Cloud Shell](https://cda.ms/1z3)
[HashiCorp Terraform on Azure](https://cda.ms/1z5)
[Infrastructure as Code](https://cda.ms/1z6)
Speedcode "To Do List" HTML|CSS|JavaScript
Tags: javascript, showdev, beginners, tutorial
Published: 2021-01-13 15:08:13

What About Making a Simple "To Do List" with Just HTML, CSS and Javascript? I leave this video here, which I think will be useful for beginners.

{% youtube NOqZUSRTu6s %}

Moreover, you can develop this project and send it to me via CodePen. Send me your CodePen links in the comments. I wonder what you are doing.

Happy Coding.

Take care of yourselves :)


For SpeedCode Snake Game:
{% link https://dev.to/fkkarakurt/snake-game-in-10-minutes-speedcode-3a5e %}
How do I check if an array includes a value in JavaScript
Published: 2021-01-13 15:03:26

The includes() method determines whether a <a href="https://askavy.com/javascript-contains-array/">javascript array contains</a> a specified element.

This method returns true if the array contains the element, and false if element not exist in array.

```javascript

var list = ["A", "B", "C", "D", "E"];

console.log(list.includes("A")); // true

 console.log(list.includes("A",1)); //returns false, as "A" is not present at index 1. 

console.log(list.includes("B",1)); //returns True , as "B" is present at index 1. 

console.log(list.indexOf("A") !== -1 ); // true

```

<h2>Array indexOf function</h2>

how to check exact position of element using indexOf JS method

indexOf(element) method, which search for element in the specified array and returns the index of its first occurrence, and -1 if the array does not contain element

```javascript

var JSArr = ["A", "B", "C", "D"];

console.log(JSArr.indexOf("A")) // 0  found at postion 0 
console.log(JSArr.indexOf("B")) // 1  found at postion 1 
console.log(JSArr.indexOf("F")) // -1  not found

```

Example 2 using function 

```javascript

      var JSArr = ["A", "B", "C", "D"];

      if (JSArr.indexOf("A") !== -1) {
        alert("Value exists");
      } else {
        alert("Value does not exists");
      }

```
what is main.js and main.js.map? and other stuff
Tags: angular, typescript, javascript
Published: 2021-01-13 14:58:43

chunk {main} main.js, main.js.map (main) 24.5 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 141 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 12.5 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 3.02 MB [initial] [rendered]

can anyone tell me what these js.map files do? and i know main.js contains all source code but i don't know what other files contains?
Make Your Learning Fun!!
Tags: crio, learnbydoing, cwod, shareyourlearning
Published: 2021-01-13 14:54:51

**_Learn.Do.Create._**🤖

**Exhausted with watching video tutorials?🤯 Wanna upskill yourself by making your learning interesting?🤗**

[*Crio.do* ](https://www.crio.do/) provides such a platform that will not only help you develop your skills but also will make your learning interesting!

I am going to share my learning experience that I have started with **CRIO Winter Of Doing**. I was exploring some better ways to learn and improve my skills. Then I found the Crio Winter of Doing externship program ad on my Instagram. 

The Crio Winter Of Doing **Stage 1** started on 9th January 2021 and I was quite impressed by the Crio dashboard features provided to me. The Dashboard provides an *Activity Board*, *Modules*, *Workspace*, and *a Progress Report*.

In Stage 1, I have covered **HTTP**, **REST APIs**, **Basic knowledge about Linux**, and a lot of new things like **Gitlab** and **Gitpod**. I also **deployed** my **first app** in **AWS!** The most interesting part is it provides its own workspace platform for the developers. 

Crio's hands-on sessions and activities helped me a lot to understand the concepts in a better way. It was a complete practical implementation and not just brush up things and learn definitions, it can definitely be called **#LearnbyDoing**. Their ideology of *#LearnbyDoing* is resonated very well through their **#work-like** Micro-Experiences. **Crio Micro-Experiences** provide an environment optimized for learning, with real-world problems curated from the industry.
 
Moreover, some of the extremely eminent speakers in the tech industry like **Vivek Ravishanker** and **Binny Bansal** inspired us with the motivational aspect of becoming a developer, which was a great opportunity for us.🥳

I would recommend every user reading this to visit the [*Crio.do* ](https://www.crio.do/) website and explore its courses, projects,micro-experiences, etc.
Evaluar si una propiedad existe en un objeto
Tags: javascript, object
Published: 2021-01-13 14:43:18

### Varias maneras de hacerlo

Se puede evaluar si una propiedad determinada se encuentra incluida en un objeto y les presentaré, al menos, tres forma de hacerlo.

Asumiendo que tenemos el siguiente objeto:

``` js
const objeto = {
  propiedad: "Valor de la propiedad"
};
```

**Primera forma:**

``` js
console.log( typeof objeto["propiedad"] !== "undefined" );
```

**Segunda forma:**

``` js
console.log( objeto.hasOwnProperty("propiedad") );
```

**Tercera forma:**
``` js
console.log( "propiedad" in objeto );
```

**O también:**

``` js
if ( "propiedad" in objeto ) {
  // Realizar acciones
}
```
Setting down the blog: The Structure
Tags: latex
Published: 2021-01-13 14:37:41

Hello :) 

In this post, I am going to announce to you the structure of this blog, the topics in a brief way

> There is a chance that I post some stuff, something not so formal to write down, on Twitter, so follow me in `@latexteada` 

Remaining the idea, here is how I am going to organize this, so, observe

* Document and style: Document structure letter size and fonts, working space, languages and its own characters, index, columns, footnotes, numbering, symbols, verbatim

* Lists and images: environments, including images and tables, graphics

* Maths: Packages, environments, equations, matrices, macros for maths, plotting, symbols, operators, errors, and warnings

* Miscellaneous: Beamer, other sites where we can write in LaTeX, Python and LaTeX, external resources, bibliography

Those are some of the topics that I am going to review, so this is how I am going to cue you in the LaTeX world and you can get hold of some knowledge of these topics. 

> According to my experience, I firmly think that this is the best order of the topics, because, when we are writing math we would need tables and images, so it is better to have a background of that instead of just writing spontaneous code lines

Of course, those are not all the topics, I just put the most relevant ones, but sometimes I am going to add something spontaneously 

### I want to utter to you something: 

According to the LaTeX project

> LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. [Quoted from here](https://www.latex-project.org/)

This is, to create documents like papers, scientific books, thesis, documentation, presentations. So, if you are thinking about learning something to create a cluster of scientific things then LaTeX is for you

I encourage you to be engaged to share with us how you are using this and to learn together

Thanks and see you :)
Appending Dynamic variable value to ng model of mat select is not working
Published: 2021-01-13 12:13:35

When i tried to use two way binding to bind dynamic value to ngmodel, ng-reflect-model is updating correct value, but view is not getting updated.
 <mat-label class="col-sm-4 col-form-label" >Crop Type  <span  class="required-asterisk">*</span></mat-label>  
     
       <mat-select   placeholder="Select Crop Type" [(ngModel)]="cropname"  class="select" formControlName="croptype">
            <mat-option *ngFor = "let i of Croptype"  [value] = "i">{i.CropName}</mat-option> 
       </mat-select>
   
In component.ts 
Croptype = [ { CropID: '1', CropName: 'sweetlime', ScientificName: 'CitrusImetta' }, ];
 this.cropname="sweetlime" when iam updating ng model value with below line the above issue occurs
The Example for the issue :https://stackblitz.com/edit/angular-be1gqv?file=src%2Fapp%2Fapp.component.html
In the above issue if [value]=i.Crop Name and Crop name value inside array and ng model value are same, then it is showing on dropdown ,but if [value]="i", it is not working. But based on our requirement we need to have complete object value in [Value].so please suggest how to resolve this issue
App in sleep mode
Published: 2021-01-13 14:25:52

Hello everyone,
I have developed an app that also in the Background, through a geolocation service, saves the position history on the localStorage and periodically sends them to the server.
My problem is that this App, which works correctly on other devices, on a Huawei EMUI 8.0.0 Tablet does not work when the display goes into protection. 
I tried to configure the energy saving mode settings but obviously I could not because the problem persists.
Is there anyone who can help me please so that my app can continue to work even in sleep mode?
Thank you in advance.
Copying Javascript objects 
Tags: javascript, deepcopy, shallowcopy, spreadoperator
Published: 2021-01-13 14:25:13

There are three types of syntax using which we can copy objects in javascript.


```
const area = {
  let length = 5,
  let breadth = 5,
  let type = 'square',
};
```
//Shallow copy
1. Using spread operator:
```
let sqr= {
  ...area
};
```
//Shallow copy
2. Using object method:
```
let sqr = Object.assign({}, area);
```
//Deep copy
3. Using JSON method:
```
let sqr = JSON.parse(JSON.stringify(area));
```
How to Use Files Email Extractor
Tags: extractfiles
Published: 2021-01-13 14:15:51

Extract Emails from Word, Excel, PDF, and Other Files on Your Hard Drive

One of the places that contains a lot of email addresses is your PC: on your hard drive. Have you ever thought about the number of emails stored there? They can be located anywhere — in Program Files, in your Internet browser cache, in Outlook’s «personal» folder, and so on. Why not use them?

https://www.atompark.com/file-email-extractor/  all file email extractor will extract all email addresses stored on your hard drive. It’s fast, easy-to-use software that doesn’t require an Internet connection.
5 AWS Services you need to know for Web Development
Tags: aws, webdev, beginners, codenewbie
Published: 2021-01-13 13:41:49

If you're getting started with AWS and you're interested to build your web applications using AWS services in a short amount of time, then you're in the right place. AWS offers more than 300 services, and to start developing applications with AWS without the right information might be a huge burden. As for today, we'll provide to you only 5 AWS services you need to know, to develop your web application.

Without further ado, let's get started.

## Amazon Web Services

Our top 5 picks of AWS services are:
### AWS S3
### AWS API Gateway
### AWS Lambda
### AWS DynamoDB
### AWS CloudFront

### Extra AWS Service - AWS Cognito

---

For each service, we will go through __what is the service__, what are the __benefits__ of using one, __the pricing__, and __how to get started__.

---

### Follow the [article here](https://www.webiny.com/blog/5-aws-services-you-need-to-know-for-web-development?utm_source=Dev-to&utm_medium=webiny-blog&utm_campaign=webiny-weekly-blog-jan-11&utm_content=webiny-5-aws-services-you-need-for-web-development&utm_term=W00473) to get into the details of the services you need for web development!  

---

Now that you have the tools you need, building your web applications with AWS is an amazing experience considering the benefits it offers for developers. And if you want to go one step further, try [Webiny](https://www.webiny.com/?utm_source=Dev-to&utm_medium=webiny-blog&utm_campaign=webiny-weekly-blog-jan-11&utm_content=webiny-5-aws-services-you-need-for-web-development&utm_term=W00472) — [Webiny](https://www.webiny.com/?utm_source=Dev-to&utm_medium=webiny-blog&utm_campaign=webiny-weekly-blog-jan-11&utm_content=webiny-5-aws-services-you-need-for-web-development&utm_term=W00472) is an open-source serverless application framework that brings all those tools together. Start building your serverless applications using Webiny. today 🚀

---

Thanks for reading! My name is Albiona and I work as a developer relations engineer at Webiny. I enjoy learning new tech and building communities around them = ) If you have questions or just want to say hi, reach out to me via [Twitter](https://twitter.com/albionaitoh).
Flutter vs React Native performance benchmark
Tags: fluttervsreactnative, flutter, reactnative, reactnativevsflutter
Published: 2021-01-13 13:41:14

{% youtube C1ZFgQjG_hM %}
Which one is better interms of the build size, speed and CPU utlization and Hot reload.

Here is the parameters which I benchmarked.
1. Project creation time in React native
2. Project creation time in flutter
3. iOS build and run in React native 
4. iOS build and run for the 2nd time in react native
5. iOS build and run in Flutter
6. iOS build and run in Flutter 2nd time
7. Hot reload time in flutter
8. Hot reload time in react native
9. CPU utilisation and performance for the flutter run
10. CPU utilisation and performance for the React native run
11. Android build and run time in Flutter
12. Android build and run time in React Native
13. Android app build size in flutter
14. Android app build size in React Native
15. iOS iPA build size in flutter
16. iOS iPA build size in React native
17. Flutter and React native parallel run
18. Dart programming cpu utilisation time
19. Node cpu utilisation time

Which one is better ? Flutter or React native, Who is the winner.
Is Flutter is better than React native ?
Is React native is better than flutter ?
Which one is best as a hybrid mobile application development
Flutter Vs React native.

Below video explains everything. Click to watch it!

{% youtube C1ZFgQjG_hM %}
Best practices every mobile app developer should know and adhere to
Tags: mobile, programming, android
Published: 2021-01-13 13:32:27

Mobile app development is the process by which a mobile app is developed for mobile devices, such as personal digital assistants, enterprise digital assistants or mobile phones. It also means developing mobile application for devices that run mobile operating systems like iOS, Android, and Windows Phone. Here are some best practices every mobile app developer should follow: 

1) Adhere to the app store development policies: If you want to make an Android app, you need to follow the Android Developer Guide. Similarly, for an iOS app you need to follow the Apple Developer Program guideline. You also need to understand regulations and best practices for the Apple App Store and Google Play Store. Failure to comply with those rules, could get your app rejected when you distribute your app to the app store. Now that's not good at all, so adhere to their instructions!

2) For every task you do, do it properly: You should list all the features that are the most important for your app functionality. Then, other features can come around. When this is done right, you will create a very good app.  For every task you do, you should do it properly. This reduces the chance of making bugs and errors during the development process. Ensure all the features are well-connected with each other. Don’t just rush to the next step. Try to complete each stage.

3)  Prioritize security: Your app could contain a lot of sensitive data (personal information) like name, email, phonenumber, credit card information, etc.
You need to prioritize security from the very start. Your users will be concerned about cyber-attacks and data breaches. If app isn't secure, users may leave you.

4) Test your app repeatedly : For every feature you complete, you should test it. If you don’t do this, it will be harder to identify and fix bugs. Test as you progress. This will improve your app's performance.

5)  Get people to review your app: You’re going to need this to develop your app properly.

 You can reach out to other developers that you know for advice.

When you’re working on a project for a while, you may not see something obvious that another developer would easily notice.

 Other developers can help you identify things that an average user wouldn’t notice.

Conclusion

You’re developing a mobile app, that’s something that most people can't do!
You’re going to encounter some speed bumps along the way.  Try not to stress out, even though sometimes it might be tough.  Hope this helps!

Connect with me: 
Twitter : @DaCodess 
Instagram : @realsuccess._
Where do you like to work?
Tags: discuss
Published: 2021-01-13 13:28:39

Hello dev community, what is your view about working on small company vs large company? What is your preference and what do you suggest to the fresher or intern?

I am working as ML Engineer(from few months) on startup and I also did a internship on 2019 on another startup and I found very hard to manage myself as intern on startup because there were no PM and tech lead. What I am feeling now is if I had never been to the startup then I would have never learned what I am doing now.
GraphQL Asia - Announcing First Round of Speakers
Tags: graphql, graphqlasia, conference
Published: 2021-01-18 07:10:09

---
title: GraphQL Asia - Announcing First Round of Speakers
published: true
date: 2021-01-13 13:25:56 UTC
tags: GraphQL,GraphQLAsia,Conference
canonical_url: https://hasura.io/blog/graphql-asia-announcing-first-round-of-speakers/
---

 ![GraphQL Asia - Announcing First Round of Speakers](https://hasura.io/blog/content/images/2021/01/gqla_announcing_1st_round_of_speakers-1.png)

GraphQL Asia is the largest gathering of GraphQL enthusiasts across Asia...and, now, it is online.

[http://graphql.asia  ](http://graphql.asia)

On the 24th and 25th of February, the third edition of GraphQL Asia is occurring. It has, and remains, deeply important to the Hasura team to ensure that there is a regional conference discussing the successes, challenges, and providing education material about GraphQL in Asia.

To make good on our vision, we are having several talks this year in multiple Asian languages. It is, as of today, somewhat unclear how we will handle live translation to English. But, the only benefit of an online event is that most talks are pre-recorded. And, as such, there is flexibility.

It is not just about GraphQL adoption.  
It is about expanding the community in Asia.  
In the languages that countries in Asia speak.

(As an aside, there is already a channel in our [community Discord](https://discord.com/invite/hasura) for Japanese speakers. Please feel free to join us.)

The 2021 edition of GraphQL Asia is proving to be very exciting. We have, today, announced 4 talks:

**The State of GraphQL**  
Tanmai Gopal, Hasura  
Dan Schafer, Facebook

**Evolution of GraphQL@Tokopedia with increase in Scale**  
Aditi Singh, Tokopedia

**Building high performing applications using GraphQL for heterogeneous system**  
Sunitha N, SAP

**GraphQL Error Handling Done Right**  
Kewei Qu, Facebook

In addition, we have listed 3 Workshops:

**Server-side Authentication in GraphQL**  
Roy Derks, Vanderbron

**GraphQL on SQL Server with Hasura**

**Introduction to Hasura**

There have been enough CFP submissions to support a week long event. So the event team is hard at work sorting through all of the submissions. Expect a steady stream of updates over the upcoming weeks.

If we can’t meet in person, at least we can ensure that the best possible content is highlighted at the event. Registrations are open and we look forward to seeing you there.

_Our #GraphQLJanuary continues with blog posts, live streams, Discord Q&A, office hours, and more. For a schedule of upcoming events, join the community or register at https://hasura.io/graphql/graphql-january/._