teleren/devto huggingface dataset:
RudderStack x Avo
Tags: rudderstack, datawarehouse, dataanalytics, etl
Published: 2022-01-06 13:31:35

Today we're excited to announce our partnership with [Avo](https://www.avo.app/). RudderStack and Avo work together to ship analytics tracking faster with better data quality. With Avo, you can design exactly how your events and properties should look, before they are implemented and sent to RudderStack. Avo enables developers to get detailed instructions on how to implement Rudderstack events and tools to validate that the implementation is according to spec.

What is Avo?
------------

Avo is next-generation analytics governance. Today Avo is changing how product managers, developers, and data scientists plan, track, and govern analytics across organizations. Before Avo, teams were forced to choose between product delivery speed and reliable insights.

What are Rudderstack's Tracking Plans?
--------------------------------------

Rudderstack's Tracking Plans enable you to proactively monitor and act on event data coming into Rudderstack sources based on a plan you have defined ahead of time. Our server-side enforcement allows you to choose whether to drop or contextualize non-compliant events for later processing.

### Better Together

Data quality is critical to getting value from our customer behavior data. With the ability to publish into Rudderstack's new [Tracking Plan API](https://documenter.getpostman.com/view/16242548/TzeWFT6D#7df289e7-8758-4ec0-a86e-3aa08bd3260e), Avo's tracking plan management and developer tools enable developers to collaborate with product managers and data managers to implement analytics data 10x faster with better data quality.

[Click here](https://documenter.getpostman.com/view/16242548/TzeWFT6D#7df289e7-8758-4ec0-a86e-3aa08bd3260e) to learn more about how Avo and RudderStack work together.
5 Programming Languages To Learn In 2022
Tags: programming, javascript, python
Published: 2022-01-06 13:31:21

Well first of all A very HAPPY NEW YEAR Everyone. I hope that you have a great year ahead of you. Now to the main point. In this article, I am going to be sharing with you 5 Programming Languages to learn in 2022. So stick around till the end to find out.
So the first one on the list is

## PYTHON
Right now python is in the boom, mainly due to Data Science and Machine Learning. The reason being is that it is a simple Language, very similar to English. It also has a plethora of Libraries to use which makes our work easy. All this makes us feel
"Man, it's great being a python user😎"
Even if you are not from a CS background it is very easy to get into python.

The second one on the list is

## C++
You can say that C++ is basically C on Zenkai boost (dragon ball reference). It is mainly used in Embedded programming, IoT, Game development and cloud computing. It is also popular among Competitive Programmers. If you are into any of these then I would suggest checking this one out.

The third one is

## JAVA/SCALA
Java is that gem that does not lose its shine. It is a very powerful language. I think it was around the 1990s that it became popular and till now it did not lose its popularity. This is mainly used in making Enterprise Applications. We use this because it is secure, powerful and easily scalable. Webservers are also made using java. Scala is used heavily on big data applications.

The fourth one is

## JAVASCRIPT
Every web developer knows the importance of javascript. HTML and CSS give the website its shape and style. Javascript gives the website its interactivity. There are other applications where it can be used. If you are interested in web Development then consider checking this one out.

The Last one on the list is

## GO
This is a coming of age language. Nowadays this is used in creating APIs with the front-end. It is also possible to use it in Cloud and network services, command-line interface, web development and much more. I would suggest taking a look at it.

Do you agree with my list? Are there any other languages that should be on the list? Let me know in the comments. Also, it would be really helpful if you follow me on [LinkedIn](https://www.linkedin.com/in/karthik-bhandary-51b134229/). I also write on [Medium](https://karthikbhandary2.medium.com) and I have a [YouTube](https://www.youtube.com/channel/UCKplT0-YqAQdCq6Xajcq5Tw) channel as well, feel free to visit, I post content related to programming, self-development and Progression.
Understanding ES6 and Modern JavaScript
Tags: javascript, beginners, node, tutorial
Published: 2022-01-06 13:22:08

## Introduction

ES6 (ES2015) JavaScript version introduced major language features that have seen JavaScript gain a lot of popularity over the years.
This has been a major language to the JavaScript language since 1997.

## Features introduced in ES6 Javascript
The following features were introduced in the new JavaScript version:
1. The `let` keyword
2. The `const` keyword
3. Arrow Functions
4. `For/of`
5. Map Objects
6. Set Objects
7. Classes
8. Promises
9. Symbol
10. Default parameters
11. Function Rest Parameters
12. `String.includes()`
13. `String.startsWith()`
14. `String.endsWith()`
15. `Array.from()`
16. `Array.keys()`
17. `Array.find()`
18. `Array.findIndex()`
19. JavaScript modules(better known as ES6 Modules)
20. Iterables `Object.entries`


In our next article, we shall go through each feature in a summarized format and learn why leveraging on these features makes us better JavaScript developers.

Until next week,
Adios!

Found this article helpful? You may follow my handle on twitter [@nkmurgor](https://twitter.com/nkmurgor) where I tweet about interesting topics on web development.
Have them all with Zsh & ZI
Tags: github, productivity, opensource, news
Published: 2022-01-06 13:15:24

<h2 align="center">
<a href="https://github.com/z-shell/zi">
<img src="https://raw.githubusercontent.com/z-shell/zi/main/docs/images/logo.png" alt="Logo" width="60" height="60" /></a></h2>

### Zsh

  Zsh Unix Shell has many features like Bash but some features of Zsh make it better and improved than Bash, such as spelling correction, various automation, better themes, better plugins support, and much more. 

### Favorites

  Many Zsh users have their favorites like [Oh My Zsh](https://github.com/ohmyzsh/ohmyzsh), [Prezto](https://github.com/sorin-ionescu/prezto), [powerlevel10k](https://github.com/romkatv/powerlevel10k) and it is hard to get all the favorites to work simultaneously in a way you would enjoy it.

### ZI

  The [ZI](https://github.com/z-shell/zi) implementation isn't framework-specific and doesn't bloat the plugin manager with unnecessary code and allows to install almost anything and in many ways + has a turbo mode which yields 50-80% faster Zsh startup.


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

Try it out:

https://z-shell.pages.dev
[https://z-shell.pages.dev/installation](https://z-shell.pages.dev/docs/getting_started/installation/)
[https://z-shell.pages.dev/migration](https://z-shell.pages.dev/docs/getting_started/migration/)
[https://z-shell.pages.dev/collection](https://z-shell.pages.dev/docs/gallery/collection/)
[https://z-shell.pages.dev/customization](https://z-shell.pages.dev/docs/guides/customization/)

Search the docs to save time:

https://z-shell.pages.dev/search
Scaling Ansible
Tags: automation, ansible, automationmesh
Published: 2022-01-06 13:12:42

One of the main benefits of using Ansible is its simplicity. All we need is ssh access to a managed computer, and we are good to go. But as with all things in life, this agentless approach to automation has its downsides. Because the control node (the computer running the `ansible-playbook` program) is responsible for pushing modules and executing modules over ssh, the playbook's execution speed can plummet when we try to manage multiple computers in different geographical locations. 

The Ansible Automation Platform contains an Automation mesh component that addresses this performance bottleneck. At its core, Automation mesh is a set of executor nodes that we can place in the vicinity of the managed computers. By bringing the control node closer to the managed infrastructure, we can substantially increase the speed and reliability of our playbook execution. 

For more information about Automation mesh, visit https://www.ansible.com/products/automation-mesh.
A better way to show alerts in your next projects
Tags: javascript, html, webdev
Published: 2022-01-06 12:58:02

Are you bored with the default `alert();` of the browser?

Even I am bored with that error 😔

But now not anymore, there is a powerful JavaScript library to create amazing alerts - **Sweet Alert**

### Let's create some amazing alerts
- Import [Sweet Alert](https://sweetalert.js.org/) to your project
```url
https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js
```
- Now let's create three different types of alerts
1) **Success**
```js
const success = () => {
  swal ( "Welcome!" ,  "Follow at @codewithsnowbit" ,  "success" )
}
```
2)**Warn**
```js
const warn = () => {
  swal ( "You forgot something!" ,  "Follow at @codewithsnowbit" ,  "warning" )
}
```
3) **Error**
```js
const error = () => {
   swal ( "Oops" ,  "Something's not right" ,  "error" )
}
```
Check out the live demo:
{% codepen https://codepen.io/codewithsnowbit/pen/qBPKzxb default-tab=js,result %}

***
Thank you for reading

- Follow me on Twitter - [@codewithsnowbit](https://twitter.com/codewithsnowbit)
- Subscribe me on YouTube - [Code With SnowBit](https://www.youtube.com/channel/UCNTKqF1vhFYX_v0ERnUa1RQ?view_as=subscriber&sub_confirmation=1)
Integrating TypeScript into your NextJS app
Tags: typescript, nextjs, tutorial, react
Published: 2022-01-06 12:57:41

By Kim Pham, Senior Front End Developer, Tevpro

**A guide to installing Typescript in NextJS apps.**

NextJS is a wrapper for ReactJS, providing a more comprehensive framework solution to the popular front-end development library. NextJS allows for developers to use many useful "out-of-the-box" features that would otherwise have to be manually added to the relevant React apps. 

**NestJS not only enhances React – it uses React. **
"You still write React code. You still build React components, but it’s a framework for production because it adds all those missing features that you typically need to add to React apps to prepare them for production and solve common problems." - Imran Farooq in an Enlear Academy Article

**What features does NextJS offer?**

React itself is minimal, but extremely flexible in its ability to extend unto other features. In contrast, NextJS has a variety of features already included to help developers build their apps, including: 
* [Prerendering](https://nextjs.org/docs/basic-features/pages#pre-rendering)
    * [Server-side rendering](https://nextjs.org/docs/basic-features/pages#server-side-rendering) (SSR)
    * [Static export](https://nextjs.org/docs/basic-features/pages#static-generation-recommended) (SSG)
* [Automatic build size optimization](https://nextjs.org/docs/going-to-production#reducing-javascript-size)
* [Faster development compilation ](https://nextjs.org/docs/advanced-features/compiler)
* [Page based routing](https://nextjs.org/docs/basic-features/pages) (with support for dynamic routes)
* [Client-side routing](https://nextjs.org/docs/routing/introduction#linking-between-pages) with prefetching
* Built-in CSS and Sass support, and support for any CSS-in-JS library
* API routes to build API endpoints with Serverless Functions

**Steps to convert your NextJS application to use TypeScript**
1. Open a terminal and navigate to the directory of your project's root folder
2. Run the command `npm install touch-cli`
3. Run the command `touch tsconfig.json`
      * *If touch command is not found:*
        * run `npm install touch-cli -g`
        * run `touch tsconfig.json` again
5. Run the command `npm install --save-dev typescript @types/react`
6. Run nest (normally `npm run dev` or `yarn dev`)
7. Start converting your js files into ts/tsx files!
       * *Any js files that contain jsx will need to become tsx files*

**Final thoughts**
We hope you found this article useful. If you encounter any difficulties or unexpected "gotchas" – don't hesitate to [reach out to us](https://tevpro.com/contact-us/) for help in converting your app. 

---


* Photo by <a href="https://unsplash.com/@jannerboy62?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Nick Fewings</a>
NFT Gaming Platform Development Company & Services - Developcoins
Tags: gamedev, python, beginners, tutorial
Published: 2022-01-06 12:55:37

**Introduction:**

Nowadays NFT games are very Famous in Crypto World. The NFT Game provides a strong ownership right, immutability and gives security to the holders.It allows users to Buy or Sell theirs in gaming digital Assets.The NFT games offer tremendous revenue-generating opportunities.

To Kick Start your NFT Games Now!

Developcoins provides end-to-end NFT Game development services and solutions for all NFT games and clones.

**Our Famous NFT Game Clones,**

AxieInfinity Clone Script
Gods Unchained Clone Script
Decentraland Clone Script
AlienWorld Clone Script
Splinterlands Clone Script
MetaWars Clone Script
SandBox 3D Clone Script
Tiny Hero Clone Script
Cryptokitties Clone Script
Terra Virtua Kolect Clone Script
BetFury Clone Script
NBA Top Shot Clone Script
Idle Cyber Clone Script
Polkawar Clone Script
Sorare Clone Script
ZedRun Clone Script - Digital Horse Racing Game
Farm City Clone Script
Neon District Clone Script
Gold Fever Clone Script
Battle Racers Clone Script
Crypto Punks Clone Script
CryptoBlades Clone Script
Cryptosnake Clone Script
Crypto Dynasty CloneScript
And more game clones are available.

[Book a FREE NFT Game Clone Script Demo Here!](https://www.developcoins.com/nft-gaming-platform-development)

**Blockchain Platforms We Expertize,**

Our Developers are well versed to create games on all Blockchain Platforms. Here

Ethereum
Tron
Binance Smart Chain
Solana
Polygon
Hyperledger
Azure Blockchain
OpenChain
Corda
And more

**Features of Our NFT Game Development,**

Easily Verify
Liquidity
Transparency
Security
User Friendly
Decentralization
Smart Contracts
Instant Payment

**Why Choose Developcoins for NFT Gaming Platform Development?**

Developcoins is a Leading NFT Gaming Platform Development Company.We offer the best NFT games & Clones with advanced functionality & features based on your requirements.

**We Provide**

Expert NFT Game Developers
NFT Token Creation
Realistic Gaming Experience Platform
Easy Deployment
Customizable NFT Gaming Platform
AR/VR Integration
Automated listing in NFT marketplace
Exclusive NFT token creation
Robust platform
24/7 support assistance

**Get Connected With Us!**
Contact Us,
Visit Website - [https://www.developcoins.com/nft-gaming-platform-development](https://www.developcoins.com/nft-gaming-platform-development)
Book A Free Consultation via Call/Whatsapp: +91 9843555651 
Telegram - https://t.me/Developcoins
Skype - live:Tech Innovate
Email id - sales@developcoins.com
How to use the RxJS partition function
Tags: programming, webdev, javascript, tutorial
Published: 2022-01-06 12:47:14

By Kim Pham, Senior Front-End Developer, Tevpro

Here is a [quick guide](https://tevpro.com/blog/how-to-use-the-rxjs-partition-function/) for using the **partition() function** in place of if/else statements inside .subscribe() when working with an RxJS Observable.  

_*Please note that this article discusses the partition function, **not operator**.  See RxJS documentation for the deprecation of partition operator._

**What is an Observable?**
An RxJS Observable produces values over time and allows handling of various asynchronous streams of data. Much of logic and other handling is defined in the .subscribe() function of an observable, but operators and functions further enhance the managing logic and events. 

**Using the partition() function**
Logic for values emitted by an Observable can be implemented inside the .subscribe() block – this includes function calls, conditional/if-else statements, and more. However, instead of an if/else statement, you can split an observable into two separate observables based on a condition that you provide using the partition function. 

**Example usage of partition() with a Subject**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y35829t927sf8l9g8xsq.JPG)
A Subject is a special type of observable and is also an observer. Figure 1.0 demonstrates how to use the partition() function with a Subject, where the first parameter takes an observable (in this case, a Subject) and processes the emitted values from that observable based on the second parameter. The second parameter takes a condition that will be used to separate the values that pass said condition vs the values that fail the condition. In turn, two streams are returned and can be used for much cleaner mitigations and better code readability.

**Conclusion**
There are many ways to separate and handle logic of Observables' emitted values, such as pipe operators and if-else statements in the .subscribe() block. However, we've found that using partition() is a cleaner, more readable approach that avoids lengthy conditional logic inside your subscribe functions.  Reach out to us with any questions. 

We hope you enjoyed this article and encourage you to try it out on your next project. Happy coding!

---
Photo by <a href="https://unsplash.com/@soymeraki?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Javier Allegue Barros</a>
One Tap Login benefits
Published: 2022-01-06 12:36:21

If you're anything like me, you love the convenience of one-tap logins and it's been killing you that they don't exist on every app and website. But I'm here to tell you that one-tap login is finally here (and has been for a while now)! Here are some apps, websites, and sites dedicated to teaching you everything boss about how this amazing superpower works.  Is it a superpower?  Who knows.  It's definitely pretty cool though.  
1. One-tap Logins: How it works
As you know, one-tap logins have been available for several years on Gmail and other Android apps like Facebook Messenger, Duo Mobile and much more . . . but the feature is rarely talked about by companies or developers so the average user doesn't realize the power of one-tap logins.  The one-tap logins feature works by letting you create a one-tap login credential that you can use to log in to any app or [site](https://www.olehanaspain.com/) using the same smartphone you created the one-tap login on.  The way one-tap logins work is that when you first reach a login page for a website or app, after typing in your username, it will ask if you want "One-tap sign in", which is where the magic happens.
Types of routings in react js
Tags: react, routing
Published: 2022-01-06 12:26:21

1. window.location = `/jobCandidates/${jobId}?candId=${candidateId}`
2.   import { Redirect } from 'react-router';

   <Redirect to='/componentURL' />
3. <Link style={stylingObject.booked}
to={`/jobCandidates/${candidate.jobId}?candId=${candidate._id}`}
>{candidate.name}</Link>
4. props.history.push("/forgotpassword", { userId: user.username });
5. Define the routes first in App.js
import { Router , Route, Switch } from "react-router-dom";


class App extends Component {
  render() {
    return (
      <Router>
        <div className="root">
          <Switch>
            <Route path="/" component={MainPage} exact />
            <Route path="/dashboard" component={DashBoard} 
            exact />
            <Route path="/docs" component={Docs} exact />
            <Route component={ErrorPage} />
          </Switch>

        </div>
      </Router >
    );
  }
}
Telegram bot with Django
Tags: django, python, telebot, telegram
Published: 2022-01-06 12:23:45

Hi everyone. Recently I faced a problem with integrating the Telegram bot with Django. At first look, it looks very simple. There are several ways you can connect them. I think most of you will use API to integrate them. But it is a hard way of implementing this. Using this method you will need to open API in Django, make the authorization through REST API, write methods separately for Telegram bot and so more... It is an effective way if you have a simple Django application. But in my project, It would take much more time, because it was a complicated project. So I started looking for a simpler way of implementing it. After surfing the internet for several days and finding several wrong ways of it, I found the right method. And this method made my work much simpler, so I don't need to open the API from Django and write separate methods for the Telegram bot. The bot works directly from the Django server. It turns on when you start the Django server and turns off when you shut the server off. And I want to share this method with you.

First, you should set a webhook for your bot, so Telegram knows where to send requests for your bot. In this step, you will need a production server set, because the localhost is not reachable for Telegram. If you want to set webhook with your local machine, I recommend you use [NGROK](https://ngrok.com/). It allows you to make your local server for public usage. After you configure your production server go to `https://api.telegram.org/botYOUR-TOKEN/setWebhook?url=YOUR-URL` . This website should return a response like below

```json
{"ok":true,"result":true,"description":"Webhook was set"}
```
After the webhook is set, just copy the code from my [GitHub Gist](https://gist.github.com/UlugbekMuslitdinov/023482dcf264785109ea67c1577a8146) and paste it to your Django project. And, of course, write your bot token in the appropriate place.

I hope you will like this method.