teleren/devto huggingface dataset:
new Circle().center().drag();
Tags: canvas, zim, zimjs, amazing
Published: 2020-10-28 13:09:02

Chaining is when the methods can be dotted to each other.  Basically, a method can be dotted to an object.  `new Circle()` is the object so `center()` can be dotted directly to it.  In this case `drag()` does not seem to be dotted directly to the object.  So how does this work?

The answer is that the `center()` method must return the object - and it does.  It is quite easy to make a method return the object... at the end of the method just return this.

Indeed for us to assign the expression to a variable and expect the variable to refer to the object, the `drag()` method should also return the object - and it does.

In [ZIM](https://zimjs.com), almost all methods are chainable.  The only ones that are not are methods that need to return a value.  The `on()` method for instance, should not be chained as it returns an event id used to turn the event `off()`.

ZIM has a set of short chainable methods that replace common properties like x, y, rotation, alpha, scale, etc.  This means we rarely use properties to set initial values and quite often, this means we do not need to even store an object in a variable - only if we need to access it later.  We also have chainable `tap()` and `change()` methods to use instead of the `on()` method.

```javascript
new Circle()
  .center()
  .mov(100)
  .drag();

// Note the semi-colon is at the end. 
// Putting these on multiple lines 
// allows you to comment out individual commands for testing. 

pos(), loc(), mov(), sca(), alp(), hov(), rot(), reg(), siz(),
ske(), tap(), hov(), cur(), top(), bot(), ord(), sha()

// Other methods can be chained too such as

center(), centerReg(), cache(), setMask(), etc.
```

---

If you have not checked out the Canvas recently - you simply must!  Here is the [ZIM&nbsp;Dev&nbsp;Site](https://dev.zimjs.com) and some [In-depth&nbsp;Guides](https://drabstract.medium.com/) by Dr&nbsp;Abstract including [Your Guide to Coding Creativity on the Canvas](https://drabstract.medium.com/your-guide-to-coding-creativity-on-the-canvas-ada0996298f6).
Formulas to Count the Cells contains Not Equal to a Particular Value!!
Tags: excelformula, excelformulas
Published: 2020-10-28 12:19:40

---
title: Formulas to Count the Cells contains Not Equal to a Particular Value!!
published: true
date: 2020-10-28 11:55:47 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/formulas-to-count-the-cells-contains-not-equal-to-a-particular-value/
---

In this article, we will see the Formulas to Count the Cells Contains Not Equal to a given number or value in Excel Office 365 with its brief explanations. Let’s get started!! 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 count cells not equal to](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/10/Formula-to-count-cells-not-equal.png)](https://geekexcel.com/formulas-to-count-the-cells-contains-not-equal-to-a-particular-value/formula-to-count-cells-not-equal/#main)<figcaption id="caption-attachment-16431">Formulas to count cells not equal to</figcaption>

## **General Formula:**

- The below formula will help to count the number of cells that contain values not equal to particular things or values in Excel.

**=COUNTIF(range,”<>X”)**

## **Syntax Explanations:**

- **COUNTIF** – The COUNTIF Function will help to count the cells that match a single condition or criteria.
- **Range ** – It represents the input values of the cell.
- **X** – It represents the value you don’t want to count. Except for this, all other values will be counted.
- **Operators (<>)** -This symbol will count the range which is not equal to a given value.
- **Comma (,)** – It is a separator which helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## **Example:**

- In the below image, we enter the inputs in **Column D**.
- Then, enter the given formula in the **formula bar**.
- After applying the formula it will display the results as shown below.

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

## **Closure:**

From this article, we explained the **formulas for counting the cells that contain values not equal to a particular number or value in Excel Office 365** with its example. Hope that this article is useful to you. If you have any **suggestions** , leave it in the comment box. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!!**

### Read Also:

- [**Formulas to Count Cells Equal to One Of Many Values in Excel!!**](https://geekexcel.com/wp-admin/post.php?post=16374&action=edit)
- **[Formulas for Counting the Cells Greater than a Given Values in Excel!!](https://geekexcel.com/wp-admin/post.php?post=16395&action=edit)**
- **[Excel Formulas to Count the Cells Less than a Given Number!!](https://geekexcel.com/wp-admin/post.php?post=16409&action=edit)**
Complete tutorial - Grid component with React + Typescript + Storybook + SCSS
Tags: tutorial, webdev, react, css
Published: 2020-10-28 13:08:11

One of the best ways to learn React is by creating reusable components. Instead of using bootstrap or other frameworks when working with Grid layout, why don't make it yourself?

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

# In this tutorial, I am going to show you:

- Set up create-react-app with typescript template
- Create a simple Box component
- Create a Reusable Grid Component using Flexbox
- Create Grid Ruler using CSS Grid
- Handle Responsiveness in Grid Layout
- Add dynamic props JustifyContent and AlignItems
- Set up storybook
- Write Grid Document in storybook
- Deploy storybook with Netlify

# What you will learn in this tutorial:

## [React](https://reactjs.org/)

React is a popular Front-end framework and one reason for that is the ability to create Reusable component, so why not start learning by creating those amazing components?

## [Typescript](https://www.typescriptlang.org/docs/)

I am not going to go into details about Typescript in this video but you will have an idea of how React and Typescript working together

## Flexbox and CSS Grid

By working with the basic concept, we will use and master the basics of Flexbox and CSS Grid

## [SCSS](https://sass-lang.com/documentation) + CSS modules

We are going to work with some of the most common features in SCSS like:
- Variables
- List
- Map
- Mixins,...

## [Storybook](https://storybook.js.org/)

One of my first tasks, when I started my job, was maintaining the storybook for our design system. 

Storybook is a great tool to document Reusable components or even multiple flows in UI.

## [Netlify](https://www.netlify.com/)

We are going to use Netlify to deploy and host our storybook
[Demo](https://tender-ride-20dfc0.netlify.app/)

🏝 Source code: [Grid React Component](https://github.com/nghiemthu/grid-react-component)

📝  Text Editor: https://code.visualstudio.com/
Plugin:
- Prettier
- ESLint
- Auto Import

Video:

{% youtube DgahQ6W5shQ %}

For other resources, check out:
👉  https://devchallenges.io/

Follow me:
🐦 [Twitter](https://twitter.com/thunghiemdinh)
Seed Identity User and Role In ASP.Net Core with EF Core

Tags: dotnet
Published: 2020-10-28 13:05:50

Seeding is the process of creating an initial set of data in the database.

In the OnModelCreating method of my database context, I use the below code to

* Seed a new “admin” role
* Seed a new admin user
* Seed admin into the role

{% gist https://gist.github.com/Frankofoedu/cdb8692798c2d0f39490d28772cc0405 %}



And that’s the ef core way to seed a user into a role.
Commenting out the Comment ?
Tags: codenewbie
Published: 2020-10-28 13:04:54

    Disclaimer: This is not essentially a productivity tip. But rather, something I experienced while coding.

# The Context
I was casually sharing some programming differences to my friends. The programming language was C, the topic was:

*Difference between `if-else if` and `if if` conditions*.
And the code was like:

```c
void main(){
    
    // if-if statement
    
    if(2+2 == 4){
       printf("\nI execute because 2+2 is 4.");
    }
    if(5+3 == 8){
       printf("\nI execute because 5+3 is 8.");
    }

    // if-else if statement

    if(9+8 == 17){
       printf("\nI execute because 9+8 is 17.");
    }else if(9+3 = 12){
       printf("\nI execute because 9+3 is 12.")
    }
}
```

At first, I wanted to demonstrate the if-if statement. Therefore I **commented** the `if-else if` statement out.

```c
void main(){
    
    // if-if statement
    
    if(2+2 == 4){
       printf("\nI execute because 2+2 is 4.");
    }
    if(5+3 == 8){
       printf("\nI execute because 5+3 is 8.");
    }

    // if-else if statement

    /*
    if(9+8 == 17){
       printf("\nI execute because 9+8 is 17.");
    }else if(9+3 = 12){
       printf("\nI execute because 9+3 is 12.")
    }
    */
}
```

After the first demonstration, I had to demonstrate the `if-else if` statement. So, in order to make it executable, obviously I had to **uncomment** it by removing those `/* */` symbols (aka multiple line comment).

*But, I being Rahul Dahal, had a crazy thought like,*

> "What if I put `//` (aka single line comment) before the `/*` & `*/` (multiple line comment start and end), to comment them out and make the text inside it executable ?"

Basically, I wanted to check if we can *comment out a comment*. So that *comment* will no longer be a *comment*.

## I did that.

```c
void main(){
    
    // if-if statement
    
    if(2+2 == 4){
       printf("\nI execute because 2+2 is 4.");
    }
    if(5+3 == 8){
       printf("\nI execute because 5+3 is 8.");
    }

    // if-else if statement

    // /*
    if(9+8 == 17){
       printf("\nI execute because 9+8 is 17.");
    }else if(9+3 = 12){
       printf("\nI execute because 9+3 is 12.")
    }
    // */
}
```

## And guess what, it worked!

That *trick* worked. As I expected.

## But Why? Why did it work ?

Answer,
Actually what happens is, whatever we type after the comment starter (both `//` & `/*`), no matter what, the compiler *understands* it as a comment text.

That is why the `/*` itself was treated as a *normal* text.

And since, `/*` is treated as a normal text, the code after it will no longer be commented out. Hence, making it **executable**.
Add user with all privileges in MySQL 8
Tags: mysql, 8, user, privileges
Published: 2020-10-28 13:04:27

First things first you need to connect to mysql service:

```mysql -u root -p```

After that we can create an user:

```CREATE USER 'username_here’@‘%’ IDENTIFIED BY ‘password_here’;```

Then we have an user and now we can set all privileges to the user:

```GRANT ALL PRIVILEGES ON*.* TO ‘username_here’@‘%’ WITH GRANT OPTION;```

It's done! You have an user with all privileges set to the user.
How to Implement Push Notifications for iOS and Android In React Native
Tags: android, ios
Published: 2020-10-28 13:01:38

Push notifications have a powerful impact on the conversions, engagement, and retention on your website. You can use them in different ways and forms to promote your valuable content, direct users to other channels, announce news and offers.

In this article, we want to show how to setup and customize [push notifications for iOS and Android in React Native](https://apiko.com/blog/react-native-push-notifications/).
First Hacktoberfest
Tags: hacktoberfest
Published: 2020-10-28 12:40:37

I am so happy to announce that today I completed Hacktoberfest. I submitted 4 PRs and all are reviewed and merged.
This would be my first step towards open source contribution.

For discussion on tech or F.R.I.E.N.D.S let's connect on [twitter](https://twitter.com/geekrk).
Deleting ClickHouse replication entries from ZooKeeper
Tags: clickhouse, zookeeper
Published: 2020-10-28 12:17:38

When playing with ClickHouse replicated tables it is quite probable that we end up getting errors like:

```txt
DB::Exception: Replica /clickhouse/my_cluster/tables/shard_01/bids/replicas/replica_01 already exists
```

Deleting this entry it's quite simple. Just connect to one of the ZooKeeper nodes in the cluster and execute:

```txt
./zkCli.sh deleteall /clickhouse/my_cluster/tables/shard_01/bids/replicas/replica_01
```

If we want to start all over we could even delete all the information regarding the cluster `my_cluster`:

```txt
./zkCli.sh deleteall /clickhouse/my_cluster
```
eCommerce Integration Solutions. Powerful tools to boost your sales
Tags: ecommerce, customdevelopment, posintegrations, fashionstore
Published: 2020-10-28 11:49:55

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

If you are concerned about how to please your customers and to bring all your store vital operations to perfection, consider using eCommerce integration services. What integration groups they divide in and what boring manual tasks these services are able to get you rid of. Let’s observe. 

**Marketing and Advertising Integration** helps to form data-driven strategies, which is an essential part of every successful business. It’s a third-party tool which monitors users website behaviour, saves obtained information for further grouping by preferences. In the end every consumer will be treated individually and will be offered the list of items that take into consideration his or her tastes and habits. No doubts, every campaign an entrepreneur runs with this integration will be a precise hit. 

**POS Integration** is the topic that can be endlessly discussed. It’s a magic key to replace all business routines with automated processes. In fact, it’s the best option for multichannel companies, for it allows merchants to closely integrate sales and inventory. To learn more about POS integrations, [follow the link](https://dinarys.com/blog/best-ecommerce-integration-solutions-for-your-clothing-store).

**Warehouse Management Integration** is a reliable system that makes a supply chain accurate, lets sellers keep under control every its step including returns and warranties and aims to avoid inventory overloading or overselling. WIth the help of this service you will always meet clients expectations and will never lead to their disappointment. 

**CMS Integration**. CMS stands for content management system and its purpose, as you may understand from the name, is to manage all actions related to a shop content. It’s a necessary tool for websites which regularly update its content and never let its visitors get bored. With CMS it’s much more convenient.

**ERP Integration** is an enterprise resource planning system that can be united with previously mentioned integrations for complete eCommerce website optimization. It’s a good match for instance when you want to have a single database and to provide your consumers with exact stock amounts or periodically update products availability.

**Payment Gateway Integration**. When the case concerns users’ payment information, there should be the most serious attitude. With an integrated payment gateway you will forever solve the security problem and will be able to implement the most optimal payment options for your area.

But wait, there’s more. If this topic is catchy for you, [here](https://dinarys.com/blog/best-ecommerce-integration-solutions-for-your-clothing-store) you can read about other crucial services as site search or shipping integration. And if you are on a way of launching your own fashion brand, [this blog](https://dinarys.com/blog/best-ecommerce-integration-solutions-for-your-clothing-store) is even more actual for you. Good luck with your business!
Render api and make  search engine using useState and useEffect hook in reactjs.
Tags: react, javascript, 100daysofcode, webdev
Published: 2020-10-28 12:08:50

Hi I'm a newbie react devloper. Today I just render some random API from outsource and add a search bar in the project. That JSON api has country name, capital, population and flag.
Here is the live preview link-: https://goutamsamal9.github.io/CountryList/
My GitHub account-: https://github.com/GoutamSamal9
Thanks for reading 😊
Happy Codding 👍
It's OKAY to not know everything
Tags: productivity
Published: 2020-10-28 13:11:11

---
title: It's OKAY to not know everything
published: true
date: 2020-10-28 12:07:52 UTC
tags: productivity,
canonical_url: https://phongduong.dev/blog/it-s-okay-to-not-know-everything/
---
There are many fields in programming. Each field contains many topics. We can't learn and know all of them. 

As a developer, I want to learn new frameworks and libraries. But there are many frameworks and libraries created every day. Learning all of them is impossible.

When I started learning web development, I wanted to learn all tools that I was suggested, from programming languages to libraries. Because I thought I would become a professional developer. This made me feel nervous because I can't keep up with the releasing pace. 

After I joined a tech company as an intern, I was assigned to a PHP project. Although I worked with PHP, I also wanted to learn other programming languages and tools my company was using. I thought I could be fired if I couldn't use them. 

Fortunately, I got the developer job and continued working on this project for almost 1 year. I was also assigned to some PHP projects. Some of them had been written 3 - 4 years ago. I only maintained and updated some minor features. It made me realize that although the technology changed rapidly, the projects did not. Companies didn't want to upgrade to the latest versions of technologies. If the project was working well, there is no reason to change.

At that time, I also knew about Node.js. It was really interesting. You can write Javascript on both front-end and back-end. I decided I would stick with it and be a full-stack Javascript developer. Because I was tired and lazy. I was tired because I try to learn so many things but not use them much. I was lazy because the time was not enough for me. So I wanted to focus on only one thing. This was better.

Now I don't rush to learn new technologies as I did. I am not afraid of being obsolete. I learn new technologies due to being curious. If I want to create something, I will learn a library. I only learn the fundamental and non-technical topics. I love it.

If you just start learning web development or being a professional developer, you don't need to learn all of the latest technologies. Just learn the fundamentals and master them. You should also learn soft-skill. It is important. Although technologies change every day, companies don't change that much. I hear that some projects were written over the decades but still using old technologies.

You don't become a professional developer if you learn all technologies. You also don't become obsolete if you don't learn new technologies. Pick something you want to learn and stick with it. As long as you know the fundamentals, there are many opportunities for you. 

It's OKAY to not know everything. Be patient and enjoy learning.
7 factors for choosing the right website development company for a startup

Tags: discuss, startup, webdev
Published: 2020-10-28 12:03:49

“Any business that aspires to be successful in this day and age needs a robust presence on the world wide web and social media platforms.”

The above statement is a very understated way of saying that you need an appealing, up-to-date, responsive, and adaptive website/webpage as your online home at the least.  To add to it, you need to have an active social media profile on social networking sites like LinkedIn, twitter, Facebook, Instagram, Pinterest, et al.

You obviously need a website development company to handle all your online needs and portfolio.  But you are a startup.  You have unique constraints owing to your nascent status in the business world.  So, how do you choose a web developer?  Well, here are some pointers:

1. Affordability:  Isn’t it obvious?  As a startup entity, you need to invest the maximum amount of seed capital in the core business.  Yet, you need an effective marketing strategy.  A website/webpage provides maximum reach within a limited budget.  But you probably don’t have a vast budget to spend on a flashy website design with n number of webpages to go on and on about your potential.  You need a website design that is simple, effective, concise, and to the point.  This will help you stay in budget and get your point across to your intended audience.

2. Experience and Guidance:  Being a startup entity, your business is going to face more than a fair share of teething problems in the market.  You don’t require a web design company that is facing similar issues at its own end.  A smart choice would be to entrust your online needs to an experienced hand.  You should look for a web development agency which has handled many projects such as yours. This helps in anticipating many problems that may arise in the future and plan accordingly right at the outset. An experienced web designing company will make sure that the fundamental technical aspects of your website are strong for future needs.
Daily Developer Jokes - Wednesday, Oct 28, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-10-28 12:00:10

---
title: "Daily Developer Jokes - Wednesday, Oct 28, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Wednesday%2C%20Oct%2028%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1259ae4191d.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q___: Why did the developer cancel their dinner plans?

___A___: They were unable to fulfil peer dependencies
 -->
Question about react js open source library?
Tags: react, opensource
Published: 2020-10-28 11:57:06

I am a newbie react developer and I want to contribute open source react library but when I saw the library, at first glance it was very overwhelming and I was give up because I don't know where to start and what contribution should I give in it so anybody tell me how do I make contribution in react library which technology should I need to learn or which concepts should I need to learn I am seriously master this technology is anybody guide me?

Thank you in advance🤗 and sorry for my horrible english😅
Face Recognition using Python 
Tags: python, machinelearning, datascience
Published: 2020-10-28 11:36:04

Check out My #Youtube Channel At : - https://lnkd.in/eKFAgpG

#Learn Face Recognition (In Just 20 Minutes)

Face Recognition using #python and #facerecognition #library.Need Just one #image for #traning and #Model works with 98% accuracy
Thanks<3
Tags: hacktoberfest
Published: 2020-10-28 11:35:05

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

First time @ #Hacktober . I am a software engineering student and Robotic Process Automation developer, but never worked with Github repositories before.

Did fairly simple contributions, but had lots of fun and learned more about version control and synchronizing.

One step closer to understanding practical methods of open source development. Thanks for the event and see you next year!

Peace,
Joonas