teleren/devto huggingface dataset:
JS Curved Text Generator
Tags: curvedtext, javascript, css, generator
Published: 2020-11-18 12:09:12

JS function to generate curved text from a HTML text element. This technique makes a span element for each letter and rotates it slightly.  You can generate a circle text by adjusting the font site and circle radius.

# THE CODE

- [Codepen Project](https://codepen.io/inegoita/pen/gOMyeKd)
- [Github Gist](https://gist.github.com/codingdudecom/29c9ab69f12c6d72964eb9ce90c87e78)

Check out MockoFun Online: [curved text generator](https://www.mockofun.com/tutorials/curved-text-generator/)

Follow me on Twitter [@codingdudecom](https://www.twitter.com/codingdude.com)
Excel Formulas: Histogram with Frequency in Office 365!!
Tags: excelformula, excelformulas
Published: 2020-11-18 12:01:13

---
title: Excel Formulas: Histogram with Frequency in Office 365!!
published: true
date: 2020-11-18 11:58:54 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-histogram-with-frequency-in-office-365/
---

Here, we will see the **Formulas for Histogram with frequency in Excel Office 365**. Let’s see them below!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Formulas to create Histogram with frequency](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/11/Formulas-to-create-Histogram-with-frequency.png)](https://geekexcel.com/excel-formulas-histogram-with-frequency-in-office-365/formulas-to-create-histogram-with-frequency/#main)<figcaption id="caption-attachment-17572">Formulas to create Histogram with frequency</figcaption>
## General Formula:

- The below formula helps to create the histogram with frequency in Excel.

**=[FREQUENCY](https://geekexcel.com/how-to-use-excel-frequency-function-in-office-365-with-examples/)(data, criteria)**

## Syntax Explanations:

- **FREQUENCY** – In Excel, the [**FREQUENCY Function**](https://geekexcel.com/how-to-use-excel-frequency-function-in-office-365-with-examples/) will return a frequency distribution which means the frequency of each value in a range.
- **Comma symbol (,)** – It is a separator which helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.
- **Data** – It represents the input range from your worksheet.
- **Criteria** – It is the condition that is used to count the values.

## Example:

- In the below image, we will give the input in **Column C**.
- Then enter the given formula in the Formula bar section.
- After applying the formula, it shows the results in selected **Cell G5**.
- Finally, we create a Histogram chart from the results.

![Example](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/11/Example-44.png)<figcaption id="caption-attachment-17571">Example</figcaption>

## Wind-Up:

In this short tutorial, we described the **formulas used to create the Histogram with frequency in Excel Office 365**. Hope that this article is useful to you. If you have any **suggestions,** don’t forget to share it with us.

### Read Ahead:

- **[Excel Formulas for Converting Days to Years, Months, and Days!!](https://geekexcel.com/excel-formulas-for-converting-days-to-years-months-and-days/)**
- **[Excel Formulas To Count Unique Values In a Column!!](https://geekexcel.com/excel-formulas-to-count-unique-values-in-a-column/)**
- **[Formulas to Count Matches Between Two Columns in Excel!!](https://geekexcel.com/formulas-to-count-matches-between-two-columns-in-excel/)**
- **[Formulas to Count Rows that meet OR Logic in Excel Office 365!!](https://geekexcel.com/formulas-to-count-rows-that-meet-or-logic-in-excel-office-365/)**
Social Media Optimization Techniques
Published: 2020-11-18 10:52:00

The funniest thing about SMO is that the activity never ends. The thread of communication in social media is never broken. So you can extend and optimize it. [Social Media Optimization](https://www.propelguru.com/social-media-optimization/) plays a very important role to promote your product and services.

**Techniques**

Let's understand this through an example. You manufacture a product. Some people buy it. However, customers find it difficult to use. This prevents the product from becoming popular. 

You create a "how-to" video that simplifies the use of the product. You put it on your website, blog (blogs), forum, microblogging profile (microblogging like Twitter) and other video sharing sites (like YouTube, Vimeo or blip.tv). Each view will disseminate information.


The work is not finished. It is never with social media. Remember it happens that you want to optimize social resources, vote to publicize many things to say. Keep, you got them involved. Build active communities, cross them and win prizes. The conversation format is unique in its relationship with the customer and changes the perception of the brand. 

At the end of the competition, it will stimulate you to sell them by creating a buzz about your product or service and as a guarantee of repeat business, as well as new business thanks to referrals. To do this, you may even need the help of a service provider to run SMO in a professional and managed way.

All these factors make social networks a conducive space for interaction. The Internet is destined to be governed by its users. They will decide what they want. They can also determine the particular need they want. Businesses must understand that the power of the media is herein.

For more information about Social Media Optimization  you can visit Propel Guru, a [Digital Marketing Company](https://www.propelguru.com/).
5 reasons why developers love React Native
Tags: hiring, react, reactnative, mobile
Published: 2020-11-18 11:58:36

React Native has been named a breakthrough in the development of app cross-platform. Specialists consider it to have one of the highest rates of creating a great user experience.
Here are some reasons why developers choose React Native:

* Simple And Easy to Work with
* Contains Changes Preview.
* Can also use third-party plugins.
* Live reloading function.
* Great community.

For these and many other reasons, developers love React Native.

It’s a short summary of our new article about <a href="https://exceed-team.com/hire-react-native-developers">hiring a React Native developer</a>.
In the original source you may learn more reasons to consider React Native cool. Check out the article and leave comments here.
Dapr: Reading local secrets with .NET 5
Tags: azure, dapr, dotnet, secrets
Published: 2020-11-22 18:25:15

---
title: Dapr: Reading local secrets with .NET 5
published: true
date: 2020-11-18 10:00:00 UTC
tags: azure, dapr, dotnet, secrets
canonical_url: https://carlos.mendible.com/2020/11/18/dapr-reading-local-secrets-with-.net-5/
---

Now that [Dapr](https://dapr.io/) is about to hit version 1.0.0 let me show you how easy is to read secrets with a [.NET 5](https://dotnet.microsoft.com/?WT.mc_id=AZ-MVP-5002618) console application.

## Create a console application

```
dotnet new console -n DaprSecretSample
cd DaprSecretSample
```

## Add a reference to the Dapr.Client library

```
dotnet add package Dapr.Client --prerelease
```

## Create a Secret Store component

Create a `components` folder and inside place a file named `secretstore.yaml` with the following contents:
```
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: starwarssecrets
spec:
  type: secretstores.local.file
  metadata:
    - name: secretsFile
      value: ./secrets.json
```

> This component will enable Dapr, and therefore your application, to read secrets from a `secrets.json` file.

## Create a Secrets file

Create a `secrets.json` file with the following contents:

```
{
    "mandalorianSecret": "this is the way!"
}
```

## Replace the contents of Program.cs

Replace the contents of `Program.cs` with the following code:

```
using System;
using Dapr.Client;

var client = new DaprClientBuilder().Build();
var secret = await client.GetSecretAsync("starwarssecrets", "mandalorianSecret");
Console.WriteLine($"Secret from local file: {secret["mandalorianSecret"]});
```

## Test the program

Run the following command to test the application.

```
dapr run --app-id secretapp --components-path .\components\ -- dotnet run
```

## Experiment

> One of the amazing things about Dapr is that you code will be the same even if you change the underlying secret store.

In your local environment you can also try reading “secrets” from environment variables. In order to do so, replace the contents of the `./componentes/secrets.yaml` file with:

```
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: starwarssecrets
spec:
  type: secretstores.local.env
```

Be sure to set, in your system, an environment variable named `mandalorianSecret`, for instance:

```
export mandalorianSecret="May The Force be with you"
```

and run the application again:

```
dapr run --app-id secretapp --components-path .\components\ -- dotnet run
```

> **Note:** I recommend using the secret stores shown in this post only for development or test scenarios. For a complete list of supported secret stores check the following repo: [https://github.com/dapr/components-contrib/tree/master/secretstores](https://github.com/dapr/components-contrib/tree/master/secretstores).

Hope it helps!
Cross-Browser Extension Update -- Lessons Learned 
Published: 2020-11-18 11:33:38


I've updated my Media Bias/Fact Check Extension to be cross-browser, and it was a chore. The new version is now available in the [Chrome Web Store](https://chrome.google.com/webstore/detail/facebook-media-bias-and-f/ganicjnkcddicfioohdaegodjodcbkkh) and to [Firefox](https://addons.mozilla.org/en-US/firefox/addon/facebook-media-bias-extension/).

The source code is [in this github repo](https://github.com/drmikecrowe/mbfcext). If you a creating a cross-browser extension, there were several things I found out:

*   Webpack 5 is blazingly fast.  It took a bit to upgrade, but worth the effort.
*   If you are passing messages between tabs/content scripts and your background script, check out my [messageUtil.ts](https://github.com/drmikecrowe/mbfcext/blob/main/src/utils/messages/messageUtil.ts) script (which I enhanced from this fantastic extension [Forget Me Not](https://github.com/Lusito/forget-me-not)). IMO, this extension is the gold standard for how to develop extensions...
*   Use [webextension-polyfill](https://github.com/mozilla/webextension-polyfill). It's invaluable
*   For settings, [webext-options-sync](https://github.com/fregante/webext-options-sync) worked like a charm
*   IMO, React/Vue are too big for a lean extension. I settled on [malevic](https://github.com/alexanderby/malevic) and am very pleased. It felt like I got `JSX` w/o everything else. Perfect for context scripts and popup boxes (and configuration)
*   Use [web-ext lint](https://github.com/mozilla/web-ext) prior to submission. My chrome extension was approved in hours after I got rid of (most) of the warnings. However, I spent days trying to get webpack to properly build w/o using `Function("return this")`. I finally had to write a short script to post-process and compress the build rather than doing it in webpack. I'm sure it can be done in a webpack plugin, but I was frustrated and abandoned it.
*   Unbeknownst to me, using `innerHTML` is a security risk. I used [doma](https://github.com/fregante/doma) to convert it into a document fragment to insert (and avoided `innerHTML` completely)
*   Use [ga-lite](https://www.npmjs.com/package/ga-lite) to avoid downloading google analytics during runtime

I started my own browser extension starter template, but haven't had time to port my latest changes.  Hope to do that soon...

<smaller><span>Photo by <a href="https://unsplash.com/@gui_vasconcelos?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Guilherme Vasconcelos</a> on <a href="https://unsplash.com/s/photos/browser?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></smaller>
How to prevent data loss in MongoDB
Tags: devops, database, mongodb
Published: 2020-11-18 11:30:46

---
title: How to prevent data loss in MongoDB
published: true
description: 
tags: #devops #database #mongodb
//cover_image: https://direct_url_to_image.jpg
---

MongoDB is a popular NoSQL database and is one of my top choices when starting a project. Recently, I came across a [report](http://jepsen.io/analyses/mongodb-4.2.6) that explained why MongoDB with its default configurations is unreliable and how it can lose data. In this post, I will be going through what makes MongoDB lose data and how we can fix it.

## The fault of the defaults 🛠️
MongoDB cannot guarantee to save your data durably if you continue working with its default configurations, namely write concern and read concern.

[Write concern](https://docs.mongodb.com/manual/reference/write-concern/) defines how durably you want your data to be saved before giving you a success message. The default is `{ w: 1 }`, which means that MongoDB will save data to the primary and give you a success message even if the data isn't yet replicated to  any of the secondaries. So, if the primary goes down for  some reason before replication happens, the data will be rollbacked.

[Read concern](https://docs.mongodb.com/manual/reference/read-concern/) defines what level of durable data you want to read from the database. The default value is `local` and it means that there's no gurantee that the data you read from the database will not be rollbacked in the future.

So, in short you can read and write data that can just vanish into thin air 😱

## Is there a solution? 😟
Fortunately yes 😌. For this, we need to tell MongoDB to make sure the data we save gets replicated before giving us a success message and that we only want to read data that has been replicated successfully too.

This can be done by setting both write and read concerns to `majority` in the connection string itself.

```
mongodb://db0.example.com,db1.example.com,db2.example.com/?w=majority&readConcernLevel=majority
```

## Why isn't this the default then? 🤔
As MongoDB researchers [reported in VLDB](http://www.vldb.org/pvldb/vol12/p2071-schultz.pdf):
> ...users would prefer, of course, to use readConcern level “majority” and writeConcern w:“majority”, since everyone wants safety. However, when users find stronger consistency levels to be too slow, they will switch to using weaker consistency levels. These decisions are often based on business requirements and SLAs rather than granular developer needs. As we argue throughout this paper, the decision to use weaker consistency levels often works in practice because failovers are infrequent and data loss from failovers is usually small.

## Conclusion
Even though it's true that MongoDB can lose data if you use the default settings, the failovers aren't that frequent to make a significant difference. However, if your business requires safety to be the topmost priority, MongoDB provides you with configurable durability levels to suit your needs.
How to get the most from AWS Activate
Tags: aws, startup, beginners
Published: 2020-11-18 11:15:26

{% youtube GMEnuAHRVnU %}

Startups have access to credits through AWS Activate, but thats just the start. Your membership includes credits, support, training, exclusive offers and more. 

Here are my top suggestions on how to use Activate for Startups to learn, grow, and move fast.

Signup to [Activate](https://go.aws/3ctbXHY) and get access to the Activate Console, upto $100,00 in credits, training, support and more.

[Subscribe](https://www.youtube.com/c/RobDeFeo?sub_confirmation=1) to the channel for the latest videos.
Neon - a VueJS design system
Tags: vue, design, webdev, opensource
Published: 2020-11-18 11:13:47

Hi all,

I just wanted to share the project I've been working on for most of the year.

It's called Neon and it's an open source design system for VueJS. Docs and demo here - https://aotearoan.github.io/neon/

It supports multiple themes plus light/dark modes and is very customizable. More components and themes coming soon...

A.
CPU Scheduling | Operating System - M02 P02
Tags: linux, beginners, codenewbie, devops
Published: 2020-11-18 11:08:44

**This is a multipart blog article series, and in this series I am going to explain you the concepts of operating system. This article series is divided into multiple modules and this is the second module which consists of 11 articles.**

_In this article we will see about CPU scheduling and various time related to CPU scheduling._

#### CPU Scheduling
CPU scheduling is a process which allows one process to use the CPU while the execution of another process is on hold (in waiting state) due to unavailability of any resource like I/O etc. thereby making full use of CPU. The aim of CPU scheduling is to make the system efficient, fast and fair.

_There are different types of time related to CPU scheduling._

- **Arrival time:**
    - Arrival time is the time at which the process enters the ready queue or state.
    - Arrival time is a particular point of time.
- **Burst time:**
    - Burst time is the time required by a process to get execute on CPU.
    - It is the time duration not point of time.
- **Completion time:**
    - Completion time is the time at which process complete its execution.
    - Completion time is a particular point of time.
- **Turnaround time:**
    - The total time taken by the process to get completely executed is known as turnaround time.
    - `Turnaround time = Completion time - Arrival time.`
- **Waiting time:**
    - Waiting time is the time duration at which the process was ideal and was not executing.
    - `Waiting time = Turnaround time - Burst time.`
- **Response time:**
    - In how much time CPU responded to a process after its arrival in the CPU is known as response time.
    - `Response time = The time at which process get CPU first time - Arrival time.`

_This was all about CPU scheduling and different types of time related to CPU scheduling. Hope you liked this is article and learned something from it._

If you have any doubt, question, queries related to this article or just want to share something with me, then please feel free to contact me.

### 📱 Contact Me

[Twitter](https://twitter.com/r_mishra10)
[LinkedIn](https://www.linkedin.com/in/rahul-mishra-66210b185)
[Telegram](https://t.me/rahul_mishra10)
[Instagram](https://www.instagram.com/rahul_mishra10/?hl=en)

### 📧 Write a mail
<rahulmishra102000@gmail.com>

#### 🚀 Other links

[GitHub](https://github.com/rahulMishra05)
[HackerRank](https://www.hackerrank.com/rahulmishra10201)
Best jobs remotely for QA and Devs
Tags: wordpress, testing, android, ios
Published: 2020-11-18 11:05:02

See more on our [Telegram](https://t.me/remotely_jobs/204)

1. [QA Lead](https://www.remotely.jobs/remote-qa-lead-job-at-sleeknote) (Sleeknote)
 
- You understand that communication is the most significant responsibility of your job and the one you’re least likely to get right unless you focus on it. 
- When you take on a task, whether it’s huge and scary or tiny and boring, you’re going to see it through to the best of your ability.

2. [Front End Shopify & WordPress Developer](https://www.remotely.jobs/remote-front-end-shopify-wordpress-developer-job-at-aeolidia) (Aeolidia)

- You have WordPress experience as well, and can ensure one seamless-looking site between the two software programs.
- You know how to code a website from a Sketch file, PSD file, AI file, or Zeplin. Really, really well.

3. [Marketing Developer](https://www.remotely.jobs/remote-marketing-developer-job-at-indebted) (InDebted)

- Work experience in a Marketing Developer, Web Developer, or Frontend Engineer role.
- Remote, work-from-home experience.

4. [Software Engineer - Senior QA] (https://www.remotely.jobs/remote-software-engineer-senior-qa-job-at-dev)(DEV)

- Experience with Rails, Ruby, RSpec, and Capybara
- Feature integration testing with Ruby

5. [Full Stack Engineer](https://www.remotely.jobs/remote-full-stack-engineer-job-at-serial-box)(Serial Box)

- You have three or more years experience in web development
- A bachelor's degree in Computer Science, or equivalent training and experience
What are the 5 common benefits of an effective Salesforce development service?
Tags: salesforcedevelopmentcompany
Published: 2020-11-18 10:48:55

Regular and continuous research by professionals has facilitated the management and accessibility of the database for business owners. It does not matter if you are a small or medium-sized business, for the database to work properly, you must hire experts. They will help you get things done easily and easily enjoy the premium benefits of services.

When planning for the [Salesforce development company](https://www.cloudanalogy.com/) you need from the professionals, it is imperative to contact companies you trust. Some of the most common benefits of these excellent facilities:

**1. Highly Adoptive -** This will help business owners, as well as employees, to get the best management facilities for the database. As a business owner, you can also easily manage your existing customer file for future communication.

**2. Painless updates-** This will help you update the tool and software as needed to the latest version and gain additional benefits. The update process can be completed by following the steps to get the best results and benefit from the tool.

**3. Easy customization -** To meet specific customer needs, different companies provide services to business owners with efficient customization facilities. The company's experts will first know the customer's requirements and then customize the tool or software accordingly. This will help business owners to easily use the tools or software and enjoy the premium benefits of business enhancements.

**4. Seamless integration-** The available tools are designed and developed by experts in such a way that users can easily use them to obtain the necessary benefits. All the functions are seamlessly integrated to help the user update the information in the database for future reference. It will help you manage your business assets more comfortably and enjoy premium benefits.

**5. User-friendly interface-** It is the common but effective advantage of using such software or tool for business enhancements. You will get a simple, secure and easy to use interface to use the tool and enjoy the premium benefits of managing your corporate database.

To get all these benefits and more, you need to approach a reputable company. This is necessary because only a reputable company can [hire qualified developers](https://www.cloudanalogy.com/) to help you develop the best CRM applications and solutions.