teleren/devto huggingface dataset:
Hactoberfest Challenge completed
Tags: hacktoberfest
Published: 2020-11-04 17:25:12

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->

Hactoberfest challenge completed### [Intro Heading]
<!-- If you are new to the DEV community, introduce yourself and share a bit about why you joined DEV and decided to participate in Hacktoberfest this year.  --> 
### Background

<!-- Are you brand new to open source? What about coding in general? Tell us about how you got here →
I completed this challange in 1 month

### Progress

<!-- Share a bit about where you’re at in your Hacktoberfest journey. What stage are you at? How has the process been?  -->

### Contributions

<!-- This is where you can list the contributions you made and explain why you chose the projects you did. Don’t forget to add links!  --> I've contributed in designing and web development repositories


### Reflections
<!-- Overall, how has your Hacktoberfest 2020 experience been? If you’re a first-timer, will you participate again? What have you learned? Have you made any interesting connections? What is your next step in open source?  -->it was an great experience I'm surely be a part of this next tear
Change vs disturbance
Tags: agile, change, disturbance, discipline
Published: 2020-11-04 17:08:29

One of the strong promises of going agile for a team (induced by the term itself) is to gracefully adapt to change. Agile methodologies place a bet: that by adapting to change the team will release a product that will eventually bring more value to its customers.

There are different kinds of change though, for which going agile is relevant:
* Change of product positioning (a strategic change)
* Change of priorities (a tactical change)
* Change in the market stakes (induced by competitors for instance)
* Change in the Business Model (repositioning value in your model)
* Change induced by uncertainty (disruptive innovation context)
* Change in the technical approach (a need to update the tech choices)

**"Good change" builds confidence in the future for the team and helps navigating from uncertainty to less uncertainty.**

Lacking product vision, changing your mind 3 times about a feature, having no consistency on your priorities (or no idea what they are), continuously introducing emergencies, altering the proper functioning or the stability of the team... these are NOT change. This is disturbance. 

**Disturbance doesn't help navigating through uncertainty but it adds more noise to it.**

To deal with disturbance, agile brings no answer. I'm afraid you'll have to look into self-discipline.
How to Be a Freelancer When You’re Feeling Down and Depressed
Tags: freelancing, depression, startup, entrepreneurship
Published: 2020-11-15 18:53:40

---
title: How to Be a Freelancer When You’re Feeling Down and Depressed
published: true
date: 2020-11-04 17:03:17 UTC
tags: freelancing,depression,startup,entrepreneurship
canonical_url: https://medium.com/swlh/how-to-be-a-freelancer-when-youre-feeling-down-and-depressed-b7225d9c8b88
---

[![](https://cdn-images-1.medium.com/max/1920/1*DD1XCOQKFiKM9OApabc0qw.jpeg)](https://medium.com/swlh/how-to-be-a-freelancer-when-youre-feeling-down-and-depressed-b7225d9c8b88?source=rss-8f1b0c5dd7cc------2)

You can navigate through the fog — and come out on the other side.

[Continue reading on The Startup »](https://medium.com/swlh/how-to-be-a-freelancer-when-youre-feeling-down-and-depressed-b7225d9c8b88?source=rss-8f1b0c5dd7cc------2)
Daily Challenge #304 - Consecutive Letters
Tags: challenge
Published: 2020-11-04 16:52:14

---
title: Daily Challenge #304 - Consecutive Letters
published: true
series: Daily Challenge
description: Check if a string contains consecutive letters as they appear in the English alphabet.
tags: challenge
//cover_image: https://direct_url_to_image.jpg
---
In this challenge, we will check if a string contains consecutive letters as they appear in the English alphabet and if each letter occurs only once.

Rules are: (1) the letters are adjacent in the English alphabet, and (2) each letter occurs only once.

For example: 
`solve("abc")` = True, because it contains a,b,c
`solve("abd")` = False, because a, b, d are not consecutive/adjacent in the alphabet, and c is missing.
`solve("dabc")` = True, because it contains a, b, c, d
`solve("abbc")` = False, because b does not occur once.
`solve("v")` = True
All inputs will be lowercase letters.

###Tests
`solve("abc")`
`solve("zyx")`
`solve("azj")`

Good luck!

***
_This [challenge](https://www.codewars.com/kata/5ce6728c939bf80029988b57) comes from KenKemau on CodeWars. Thank you to [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
Can we have Deno-like URL imports in Node.js?
Tags: deno, node, npm, typescript
Published: 2020-11-04 16:46:46

The decentralization of dependencies is one of my favorite features from [Deno](https://deno.land/). Something Deno also does is simplifies the process of publishing and managing dependencies. Any file online can independently can be included in another project, and only it's tree of dependencies will be pulled in. On the flip side using npm modules, if you were to require a single file, that used a single npm module you unfortunately have to include ALL npm dependencies in your project.

I would love a way to include url-imports in node, and I have a few thoughts about what that looks like.

0. Do not use existing `require` or `import` keywords, use a third-party module, or, use a seperate command to run node.
1. Never fetch asynchronously at runtime, having a `url-import install` command that parses the file and downloads locks / files.
2. The need to accommodate for npm packages, given a url we have to scanning or resolve `package.json`, `package-lock.json`, `yarn.json`, `yarn.lock`, `npm-shrinkwrap.json` at every directory level.
3. The need to accommodate for `tsconfig.json`, searching for the file within the url structure at every directory level, and applying individual configs to specific files. 
4. Locking hashes of all files / urls downloaded, throwing exceptions for mismatching hashes.
5. Need to create vscode plugin to add type support.

## The Vision

This is what it looks like if `url-import` is a third-party module. Running `url-import install` would download the file and do a couple of other checks:

```ts
import { urlImport } from 'url-import';
const file = urlImport('https://reggi.com/foo/bar.ts')
```

* Download `https://reggi.com/foo/bar.ts` to a common folder `~/url-import`.
* Parse `bar.ts` for `require`, `import` and `urlImport`
  * If there are local dependencies, download those files.
  * If there are package imports start checking for `package.json`.
* Check `https://reggi.com/foo/tsconfig.json` 
* If above not found check `https://reggi.com/tsconfig.json`
* Save a `url-import.lock` in the current-working-directory and include a "snapshot" that looks something like this `{ fileUrl, fileHash, tsconfigUrl, tsConfigHash, packageUrl, packageHash }` essentially, save all the urls used / found, and hash the contents of every file. This will allow us to confirm that the state can be replayed and track changes.
* Check `https://reggi.com/foo/url-import.lock`
* If above not found check `https://reggi.com/url-import.lock`
* Pluck the npm modules in the files crawled and match them up with their relevant resolved `package.json`.
* Confirm all hashes / locks

## Conclusion

I'd love it if we would have a more robust system for managing dependencies in Node.js, and I wish that the Node.js team was interested in creating a system using urls, but this is really hard to do because of NPM and because mixing URL imports and NPM imports means making a lot of requests and crawling urls.

What do you think? Does Node.js need to step away from NPM? Should we all just switch to Deno?
Is Angular Still in Demand?
Tags: angular, react, typescript, javascript
Published: 2020-11-04 16:41:14

<sub>I recall the first Angular.js meet-up I attended. To my surprise there were a number of recruiters there. They were taking names and kicking butt (with job offers on the spot). The demand was so high, that anyone was easily able to get work if they had even a bit of Angular.js experience. Who knew that meet-ups were the interviews of the day?

**Angular Changes**
Then it happened. The older Angular.js architecture changed, and for a good reason. It had been a JavaScript framework in "theory" only. They had locked down JavaScript to the extent that ES6 modules couldn't work as designed. JavaScript was a prisoner to Angular, held hostage to what Angular decided. 

**Angular 2-10**
Angular's new changes allowed JavaScript and Typescript to control their own destiny based on ECMA standards. A great relief, with a very good architecture. However, their adoption of Typescript put off a lot of the JavaScript base as Typescript's reception was lukewarm to the leaders of the JavaScript community.  

Angular 10 is stellar.

**React Charges Forward**
The power of React is indisputable. How many billions of posts does Facebook have daily? Have you ever seen major problems with Facebook?  Indeed React was and still is a very strong architecture. It's the most popular web library today. 

Typescript was adopted into React subsequently and many today prefer this option. 

**Is Angular Still a Good Skillset?**
The answer is yes. There are many large corporations who have been with Angular since the beginning.  This leaves plenty of work in Migration arena as well as plenty of work in using the new Angular Architecture for new work.  This makes the job market robust even today. 

**So what's the future?**
We've written many articles on the concept of Polymorphic Composition. Its power lay in re-usability.  The future is in having tool-kits of our own-making; which, are *reusable* regardless of which View framework or library we use.  The Views themselves only account for about 10% of the code anyway. 

>It's the business logic, array manipulation, event handling, reusable libraries we create, and styling that count.

The future from a view perspective is 'getting closer to the metal'.  As HTML continues to improve, (think HTML5) we are seeing trends in the direction of native HTML with vanilla Typescript and JavaScript support. Just because HTML5 Web Components never took off like the big 3, doesn't mean it's an invalid design. 

**The Future is...**
Polymorphic Compositional libraries mostly of our own making and pedal-to-the-metal View libraries. Svelte, Lit-HTML, or WebComponents are the future of Views while WebAssembly will open up other possibilities. 

The big 3 will live on due to their immense installed base and the improvements they will make. If we create truly generic reusable libraries, we as developers can apply our toolkits to any View in the future. Prove it to yourself by ensuring all the work you do going forward is:

- Asynchronous 
- Truly Generic
- Added to your toolkit
I completed
Tags: hacktoberfest
Published: 2020-11-04 16:32:09

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


### [Intro Heading]
<!-- If you are new to the DEV community, introduce yourself and share a bit about why you joined DEV and decided to participate in Hacktoberfest this year.  --> 
### Background

<!-- Are you brand new to open source? What about coding in general? Tell us about how you got here →

### Progress

<!-- Share a bit about where you’re at in your Hacktoberfest journey. What stage are you at? How has the process been?  -->

### Contributions

<!-- This is where you can list the contributions you made and explain why you chose the projects you did. Don’t forget to add links!  -->


### Reflections
<!-- Overall, how has your Hacktoberfest 2020 experience been? If you’re a first-timer, will you participate again? What have you learned? Have you made any interesting connections? What is your next step in open source?  -->
Google's engineering practices documentation.
Tags: codereview
Published: 2020-11-04 16:16:37

Code reviews can be time-consuming and ineffective if the developer does not know what standard to follow or the reviewers do not have a uniform set of guidelines for reviewing the code. In this aspect, a code review developer guide is essential for every organization.

Google has published standard practices for code review [here](https://google.github.io/eng-practices/). Their guide is clear and concise. It's a good read for people who are interested in code review standards and best practices.
Top Issues Stemming From Multi-Cloud Adoption
Tags: cloud, cloudnative
Published: 2020-11-04 16:16:08

Whether to **optimize the costs** associated with running and managing their own infrastructure or to enable development teams to **build more efficient apps**, most businesses today are interested in adopting a cloud infrastructure.

This is why now we have quite a few cloud solutions on the market, from **public clouds** such as Amazon Web Services, Microsoft Azure, and DigitalOcean, to **private clouds** such as Azure Stack, VMWare, or HPE. 

In the early days, cloud adoption was about using a new approach to building applications. Today, however, implementing the cloud model is about the ability to **embrace a multi-cloud architecture**. Each of the solutions available appeals to different types of businesses and business needs. They can even be combined to create **hybrid clouds**. 

And this is exactly where the problems start to appear. In their race towards creating the best cloud architecture for their organizational needs, companies **sacrifice visibility**. 

Because their infrastructure is spread across multiple platforms and vendors, it’s almost impossible to have a clear overview. This lack of visibility leads to issues such as **time-consuming infrastructure management** and even the **impossibility of scaling**.

Find out more about [the drawbacks of multi-cloud adoption](https://www.bunnyshell.com/blog/multi-cloud-adoption-issues-solutions/?utm_source=Devto&utm_medium=Devto&utm_campaign=Multi-cloud) on our blog.
5 Ways to Integrate Chatbots in your Business
Tags: chatbots
Published: 2020-11-04 16:05:43

Artificial intelligence has rapidly grown in the past five years. New approaches in AI-based services and software have begun penetrating various industries and markets. One of the most common manifestations of AI today is [chatbots](https://chatbotslife.com/).

Chatbots are slowly replacing frontline personnel to handle customer service, marketing efforts, and more. Consequently, more and more consumers are embracing chatbots. In fact, [more than 67 percent of customers](https://www.invespcro.com/blog/chatbots-customer-service/) around the world have interacted with chatbots in the past year. It is projected to increase to up to 85 percent in the next year.

These artificial assistants are becoming easier to adapt, as well. [Many service providers](https://clevermessenger.com/) are focusing on intuitive [chatbot](https://chatbotslife.com/) applications that you can easily use without having to learn computer programming. They can be used on practically any part of business processes such as marketing, customer support, employee communication, and more.

***
Continue reading on [**ChatbotsLife**](https://chatbotslife.com/5-ways-to-integrate-chatbots-in-your-business-a435464dbcb1)
5 Reasons Why Chatbots Should Be Part of Your Business
Tags: chatbots
Published: 2020-11-04 16:00:18

[Chatbots](https://chatbotslife.com/) are the future of business, and the future is here!

The increasing popularity of chatbots is finally making way to actual industrial applications. Multi-national companies such as H&M and American Express have begun integrating their own chatbots to various parts of their businesses. The cutting-edge technology is steadily providing more and more companies, the much needed proactive customer service experience while maintaining efficiency.

Since 2017, chatbots have increased rapidly in various industries. The use of chatbots on the popular Facebook Messenger alone jumped from [30,000 in 2916 to 100,000 in 2017](https://chatbotsmagazine.com/10-chatbot-tips-for-businesses-894b39be34f4). Even the current generations of customers are expected to use chatbots on a daily basis, with [60 percent of the youth](https://chatbotsmagazine.com/10-chatbot-tips-for-businesses-894b39be34f4) already doing so. It is projected that [80 percent of businesses](https://www.businessinsider.com/80-of-businesses-want-chatbots-by-2020-2016-12) will be using the technology by 2020.

***
Continue reading on [**ChatbotsLife**](https://chatbotslife.com/5-reasons-why-chatbots-should-be-part-of-your-business-10d6f993aaea)
Node.js Crash Course - Part 11 - Express Router and MVC
Tags: node
Published: 2020-11-04 15:59:23

#1. Using express router to make app.js clutter free
```
app.get('/', (req, res) => { ...
app.get('/about', (req, res) => { ...
app.get('/blogs', (req, res) => { ...
app.post('/blogs', (req, res) => { ...
app.delete('/blogs/:id', (req, res) => { ...
app.get('/blogs/:id', (req, res) => { ...
app.use((req, res) => { ...
```
There are 5 routes with prefix `/blog`. We can move it to another to make `app.js` clutter free.

/routes/blogRouter.js:
```
const express = require('express');
const router = express.Router();
const Blog = require('../models/blog');

router.get('/', (req, res) => {...
router.post('/', (req, res) => {...
router.delete('/:id', (req, res) => {...
router.get('/create', (req, res) => {...
router.get('/:id', (req, res) => {...

module.exports = router
```
and the app.js
```
const blogRouter = require('./routes/blogRouter');
app.get('/', (req, res) => {...
app.get('/about', (req, res) => {...
app.use('/blogs', blogRouter)
app.use((req, res)=>{...
```


#2. MVC - Model, View, Controller
We've already seen models, and views.

Controller is , moving the functions which communicate with models to an another folder generally called 'controllers'.
/controllers/blogController.js
```
const blog_index = (req, res) => {
    Blog.find().sort({ createdAt: -1})
        .then( results => {
            res.render('blogs/index', { title: 'Home', blogs: results });
        })
        .catch( err => {
            res.render('blogs/index', { title: 'Home', blogs: [] });
        })
}
```

and using this `blog_index` function from blogRouter.js
```
router.get('/', blogController.blog_index);
```

Useful naming convention example is:
blog_index, blog_details, blog_delete, blog_create_get, blog_create_post
Create RSS Feed from any website
Tags: typescript, showdev, algorithms, angular
Published: 2020-11-04 15:55:42

With the current decline in support of RSS feeds I felt the urge to do something about it, cause I really like the idea of being able to automate on top of a website of choice using feeds. My idea was to analyze the HTML and derive article candidates from it. 

The resulting proof-of-concept https://rssproxy.migor.org/ (Repository https://github.com/damoeb/rss-proxy) works quite well, with obvious potential for improvements. You may try to run it locally using docker. The webapp will then be available at http://localhost:3000.

```
$ docker run -p 3000:3000 -it damoeb/rss-proxy
```

Keep in mind, that one of the limitations is like a lack of support for browser generated content.

Thanks for reading – I'd love to get your thoughts, feedback, and ideas!
Open Source Project: Available for Contribution
Tags: showdev, contributorswanted, news, githunt
Published: 2020-11-04 15:42:12

# [OhMyLearning - Learning Resource](https://github.com/shravan20/LearningResources)

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
Hoping to see more developers contribute to it.

# Needed Contributors working from different Tech-Stack to add content related to it.

## Project Name: [OhMyLearning](https://github.com/shravan20/LearningResources)

Thank you.
Welcome Thread - v98
Tags: welcome
Published: 2020-11-04 15:39:51

---
title: Welcome Thread - v98
published: true
description: Welcome to DEV! A thread of hellos and intros.
tags: welcome
canonical_url: 
---

![Dinosaur Hey](https://media.giphy.com/media/3o6YfZJ8ZzRUDy3FE4/giphy.gif)

### Welcome to DEV!

1. Leave a comment below to introduce yourself! You can talk about what brought you here, what you're learning, or just a fun fact about yourself.

2. Reply to someone's comment, either with a question or just a hello. 👋 

**Great to have you in the community!**
Check list before re-install Xcode Command Line Tool
Tags: xcode
Published: 2020-11-04 15:38:25

---
title: Check list before re-install Xcode Command Line Tool
published: true
description: before re-install Xcode command line tool that does not work well.
tags: Xcode
//cover_image: https://direct_url_to_image.jpg
---

## Environment & Phenomena

- Mac Pro (Late 2013)
- macOS Catalina ver. 10.15.7
- Xcode ver. 12.1 (12A7403)

failed to xcodebuild.

```
$ xcodebuild -version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
```

## Really installed?

check the path

```
/Library/Developer/CommandLineTools
```

## Check Location

Xcode > Preference > Locations

![xcodeLocation](https://dev-to-uploads.s3.amazonaws.com/i/qe1yloc3jsyhyc94mmo8.png)
 
For me, this setting was empty. and now it works.

```
$ xcodebuild -version
Xcode 12.1
Build version 12A7403
```

## Still not work, then Re-Install

```
$ xcode-select --install
```

or

```
$ rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install
```

or download installer from [Apple Developers](https://developer.apple.com/download/more/)
NLP task with TextBlob | Python | 2020
Tags: python, nlp
Published: 2020-11-04 15:37:30

full tutorial at :- https://www.youtube.com/watch?v=Bp2Ewg-k0_A

Natural Language Processing, or NLP for short, is broadly defined as the automatic manipulation of natural language, like speech and text, by software.

The study of natural language processing has been around for more than 50 years and grew out of the field of linguistics with the rise of computers.

In this post, you will discover what natural language processing is and why it is so important.

After reading this post, you will know:

What natural language is and how it is different from other types of data.
What makes working with natural language so challenging.
Where the field of NLP came from and how it is defined by modern practitioners