teleren/devto huggingface dataset:
Easy Shapes on the Canvas!
Tags: canvas, zim, zimjs, amazing
Published: 2020-10-27 12:26:30

Traditionally adding shapes to the canvas was a few lines of code to set the context, fill, stroke, shape, position, etc.  With ZIM the general JavaScript Canvas Framework it is as follows:

```javascript
new Circle(100,red).center();
```
The **article picture** was made with the following code.  This may look like a lot of code but we are laying out **six shapes** in a tile.  So just look at each shape in the array.  Nice and simple!  The colors are being applied by a series in the  STYLE but could have been added to each individual shape - just like we did above.  Paste the code here: [https://zimjs.com/lab.html](https://zimjs.com/lab.html) to try it!

```javascript
STYLE = {color:series(blue, green, orange, yellow, red)};
var shapes = [
    new Circle(),
    new Rectangle(90,90),
    new Triangle(),
    new Poly(),
    new Line({
        lineType:"curve", 
        lineOrientation:HORIZONTAL, 
        endHead:"arrow"
    }).to(90, 90),
    new Flare({
        angles:[-90], 
        color:brown, 
        anglesA:[15], 
        anglesB:[15], 
        thickness:45, 
        lengths:[100]
    })
];
var tile = new Tile({
     obj:shapes,
     cols:3,
     rows:2,
     spacingH:10,
     spacingV:10,
     unique:true,
     align:CENTER,
     valign:CENTER
 }).center();
```
There are is also a Blob and a Squiggle shape.  More on those later!

---

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).
Flutter VS React Native: A Comparison Based On Criteria
Tags: flutter, mobile, android, reactnative
Published: 2020-10-27 12:23:40

Digitization is the need of the hour. With the advancement in technologies, businesses need to find a way to increase their reach. Mobile applications are an essential medium to extend the circle. An average individual spends about 90% of their online time using mobile or web applications. Software application development needs to be approached in …

Continue reading "Flutter VS React Native: A Comparison Based On Criteria": https://www.cuelogic.com/blog/flutter-vs-react-native-a-comparison-based-on-criteria
First Post About Nothing
Tags: basics, mentorship, teaching, day0
Published: 2020-10-27 12:17:25

---
title: First Post About Nothing
published: true
description: Day 0: First blog post
tags: basics, mentorship, teaching, day0
//cover_image: https://direct_url_to_image.jpg
---

#The Basics: Day 0 - first blog post

I have learned very little today. But not nothing.  Today I learned that I can write a blog post. I know *some* markdown but **do not** know how to make a link work. 

Until I looked at [this cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet). Now I am on to the next thing:  

```javascript

export class Test {

   isExample: boolean;

   construtor(){
       this.isExample = true;
   }

    get showSomething(): boolean {
        return this.isExample;
    }

    toggleState() {
        this.isExample = !this.isExample;
    }

}

```

Cheers
Formulas to Count Cells Contains Equal Values or Numbers in Excel!!
Tags: excelformula, excelformulas
Published: 2020-10-27 12:20:45

---
title: Formulas to Count Cells Contains Equal Values or Numbers in Excel!!
published: true
date: 2020-10-27 12:15:45 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/formulas-to-count-cells-contains-equal-values-or-numbers-in-excel/
---

In this short tutorial, we will guide you to know the **Formulas to Count the Cells Which Contains Equal values or Numbers** in Excel Office 365. Let’s get into this article. 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)

!["<yoastmark](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/10/Formulas-to-Count-Cells-Equal-to-Same-Values-1.png)<figcaption id="caption-attachment-16344">Formulas to Count Cells Equal to Same values</figcaption>
## General Formula:

**=COUNTIF(range,value)**

## Explanations:

- **COUNTIF** – The Excel COUNTIF function helps to count the cells that match a single condition or criteria.
- **Range** – It is an input value given in a worksheet.
- **Values** – This value is will help to count the cells.
- **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 screenshot, we will give the inputs in **Column A** and **Column B**.
- Then, apply the given formula in the formula bar section.
- Finally, it will display the result as shown below.

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

- From this image, you can easily understand how to count the cells contains equal values in Excel using formula.

## Bottom-Up:

In this article, you can get to know **Formulas for Counting the Cells which contains Equal Values in Excel Office 365**. If you have any **suggestions,** leave it in the below comment section. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!!**

### Read Also:

- **[Excel Formulas to Count the Cells Between Two Dates!!](https://geekexcel.com/wp-admin/post.php?post=16261&action=edit)**
- **[Formulas for Counting the Times a Word Appears in a Cell in Excel!!](https://geekexcel.com/wp-admin/post.php?post=16248&action=edit)**
Issue in Integrating Telr Payment
Published: 2020-10-27 12:07:38

i have send data to gateway using curl and then i redirect to payment page
then i got error
after submitting card details
it shows invalid method
doc also showing same method

https://dev.to/mohammedaktaa/how-to-use-telr-hosted-and-remote-1kk0
i use this for reference
this is final error {"method":"unknown","trace":"4000/13088/5f9809fd","error":{"message":"E01:Invalid request","note":"Unknown method"}}
Running Puppeteer on Heroku Free Tier 
Tags: heroku, javascript, beginners, tutorial
Published: 2020-10-27 12:03:14

Heroku is my favorite cloud platform to host my apps.
During Covid-19 I created myself some cool automation(I'm working on another post on it) and was looking for a place to run it for free.

For example, notify me when my restaurant is open in Wolt.


So my requirement was:
* Running puppeteer
* Easy to create a scheduled task
* Easy to deploy
* Free

I have experience with Heroku, so it was my first choice.
The [free tier](https://www.heroku.com/pricing) is giving you more than 500h per month.

Easy to sync with my GitHub repo already integrated into Heroku.

Scheduled task - There is a simple addon named - [Heroku Scheduler](https://elements.heroku.com/addons/scheduler) which allows you to run commands in scheduled time. Super easy to use, and doesn't require any additional runtime of the instance itself(so we're still in the free tier)

The biggest problem for me was to find the right configuration to run a puppeteer in Heroku.
BTW, if you don't know [puppeteer](https://developers.google.com/web/tools/puppeteer) yet. `Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol.`

I was looking at how to run it, but couldn't find a configuration that worked for me...

So, this is my configuration(it's not necessarily ideal, but it works)
 
Buildpacks:
* https://github.com/jontewks/puppeteer-heroku-buildpack
* heroku/nodejs
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/e4p6pbituelx4aq03f99.png)


JS code
```js
const chromeOptions = {
	headless: true,
	defaultViewport: null,
	args: [
		"--incognito",
		"--no-sandbox",
		"--single-process",
		"--no-zygote"
	],
};
const browser = await puppeteer.launch(chromeOptions);
const page = await browser.newPage();
```

Use the following flags when you launch puppeteer
* "--incognito",
* "--no-sandbox",
* "--single-process",
* "--no-zygote"

Feel free to read more about it...

I hope it solved your problem:)
Good luck
Daily Developer Jokes - Tuesday, Oct 27, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-10-27 12:00:12

---
title: "Daily Developer Jokes - Tuesday, Oct 27, 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=Tuesday%2C%20Oct%2027%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/5e12593b1b51e.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:
A programmer was arrested for writing unreadable code. They refused to comment.
 -->
Asking is the new giving: developing the Quiv digital charity platform
Tags: startup, writing, programming, devops
Published: 2020-10-27 11:46:02

Donating to charities is a part of American life. According to Giving USA’s annual report, American individuals, estates, foundations, and corporations gave an estimated $427.71 billion to U.S. charities in 2018. Although these numbers are huge, Amit Shafrir felt that they could grow even more if the sector capitalized on the advantages of using new internet technologies. So, the seasoned entrepreneur and tech leader investigated how to use information technology in fundraising to help people donate to charities in a more meaningful way.

Being an entrepreneur himself, Amit knew how valuable it can be to pick an expert’s brain and get a piece of useful advice, a reference, or a connection. He decided to tie this opportunity together with a fundraising platform for charities, and so Quiv was born.

[Learn more about Quiv platform development.](https://evrone.com/quiv)
Prism: a visual bookmarking application that does what Pinterest can’t
Tags: uiweekly, startup, python, writing
Published: 2020-10-27 11:40:44

Prism is a remote, female-founded, design-led startup in the California Bay Area. Conceived by a designer, Prism focuses on making the experience of browsing the web more visual. It is a [web application](https://evrone.com/web-development) and visual bookmarks extension for Google Chrome that allows you to curate and browse all your favourite sites in one place. It takes screenshots that auto-update, so you’re always looking at the latest content, but you can also make them static, to track a moment in time.

Prism was founded by Anna Western, who is both the CEO and designer and has 10+ years of design experience working with studios, startups, and Fortune 500 companies. Previously, Anna was a product designer at Facebook, designing internal tools, and she co-founded a startup that launched at YC W19.

Learn more about how we developed Prism from scratch, turning Anna’s idea into a useful, working solution for users all over the world via the link above.
ASP.NET — Create your first “Hello World!” web app in 5 minutes
Tags: dotnet, vscode, computerscience, webdev
Published: 2020-10-27 11:37:30

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/iowowkw8e4h7k5ibh580.png)
#ASP.NET is an open-source web framework, created by Microsoft, for building modern web apps and services with .NET. ASP.NET is cross-platform and runs on Windows, Linux, macOS, and Docker.
##Purpose
We’ll be Installing and creating our very first Hello World ASP.NET web app that displays a Hello World! message on a web page.
##Prerequisites
None.
But I’ll be using Visual Studio Code. You guys can choose whatever IDE you’re comfy with. 
So let’s dive into it!
Step 1: (Installation)
To start building .NET apps, download and install the .NET SDK (Software Development Kit). (Link to Download) If you’re using an older version of windows (Windows 7 / Vista / 8.1 / Server 2008 R2 / Server 2012) you need to install additional dependencies.
After successfully installing .NET SDK into the system just verify it using our command prompt by using the following command:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/pe2vhfh28urtxjrci4yq.png)
If the command runs, printing out information about how to use dotnet, then you’re good to go.
##Step 2: (Create the Web app)
Open your command prompt and run the following command:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/37niz0v30jqklc9algpq.png)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ms7pry3wt3mq6s4mkt86.png)
The dotnet new is the command to creates a new application. The webApp parameter selects what template to use when creating your app. The -o parameter creates a directory named TestWebApp where your app is stored and the --no-https flag specifies not to enable HTTPS.
##Several files were created in the TestWebApp directory, to give you a simple web application that is ready to run.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/h3mendfuskomyrudjnkk.png)
Startup.cs contains all the settings and the configurations.
The TestWebApp/Pages the directory contains some example web pages for the application.
TestWebApp.csproj defines what libraries are referenced etc.
#Step 3: (Run your Web App)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qstap5l8hjwmb4llfqut.png)
#Once the command completes, browse to http://localhost:5000 ##Congratulations, you’ve built and run your first .NET web app!
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/gkzao7tcfy2mxb7wdwkm.png)
To Edit your code:
Open Pages/Index.cshtml in any text editor and replace all of the code with the following, then save the file.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/592is4dr1n42vn1g0pkf.png)
##Re-run your app using the previous dotnet run the command that is running the site locally, then run the following command to re-launch the site:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/vrvvmcig5a8zgwygk8pn.png)
Here you go!
If I have missed something, please add it so other readers can benefit from it.
#Linkedin: https://www.linkedin.com/in/iyashjayesh/
##Thanks for reading and keep coding 😄
How we developed software to solve the problem of counting growing plants
Tags: machinelearning, programming, webdev, python
Published: 2020-10-27 11:35:33

Information on how the plants are growing on the field is significant for further work on field processing, fertilization, crop forecasting. Previously, agrarian companies used traditional calculation methods. The number of plants was counted manually in several areas of the field and, according to specific formulas, the number of plants in the whole field was calculated. Such a method is imperfect and highly dependent on the quality of the agronomist’s work.

Evrone has developed software to solve the problem of counting the growing plants. All you need is a regular quadcopter with a set of equipment for video broadcasts, a computer and our software package.

[Learn more](https://evrone.com/plantscounter) about how we applied machine learning technology to determine the rows of planting on the field
Creating an intuitive, easy-to-use pharmacy and medication app
Tags: ios, android, reactnative, writing
Published: 2020-10-27 11:30:03

Our client reached out to us to create a mobile app designed to help people quickly search for medications, pharmacies, and current special offers. The top priority was to provide an intuitive, user-friendly experience where anyone could find the information they were looking for quickly and efficiently.

[Learn more](https://evrone.com/pinpil) about how we developed an advanced mobile application to search medications in the nearest drugstores
Dockerize a Flask App
Tags: docker, flask, python, devops
Published: 2020-10-27 11:25:15

How dockerize a Flask app…

here my very basic app:
main.py

```
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
    return 'Hello, World!'
if __name__ == "__main__":
    app.run(debug=True, host="0.0.0.0")
```

N.B: above I have set public ip 0.0.0.0, beacuse with 127.0.0.1 it’s reachable only inside the container and not from the outside outside.
create a file requirements.txt
and insert all the pip libraries that your app require (in my case only Flask).

requirements.txt

```
flask
```
create a file named Dockerfile:

```
FROM ubuntu:18.04
LABEL maintainer “yor name <your@email.com>”
RUN apt-get update -y && \
apt-get install -y python3-pip python3-dev
# We copy just the requirements.txt first to leverage Docker cache
COPY ./requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip3 install -r requirements.txt
COPY . /app
ENTRYPOINT [ “python3” ]
CMD [ “main.py” ]
```
build the image launching from terminal the command:
`docker build -t name_of_yuor_image:latest .`

run the container launching from terminal the command:

`docker run --name name_your_container -p 5000:5000 -d name_of_yuor_image:latest
`

connected to address: http://0.0.0.0:5000

Watch the video tutorial:

https://youtu.be/Pjd4k4l8oV0
From zero to hero in three weeks
Tags: design, webdev, startup, productivity
Published: 2020-10-27 11:25:15

PebblePost is a leading New York City-based “digital-to-direct mail” platform, capturing interest and intent data online and using that to drive and focus direct mail campaigns. They help brands convert more shoppers into buyers using advanced targeting, algorithmic optimization, attribution, and quantitative analysis.

In 2018, Richard Carreon moved from San Francisco to New York City to head up the PebblePost marketing team. As a seasoned marketing professional himself, he quickly found that their website fell short of his expectations, and required an overhaul.

With a tight deadline looming — just three weeks — the New York-based development team that PebblePost had been working with wasn’t able to deliver what they needed within the time and budgetary constraints.

[Learn more](https://evrone.com/pebblepost) about how we managed to develop a new website for PebblePost just in three weeks
Open Hacktoberfest Issues on Scaffolder 
Tags: hacktoberfest, github, webdev, javascript
Published: 2020-10-27 11:11:57

I have several fairly easy issues on my project [Scaffolder](https://github.com/galElmalah/scaffolder).
If anyone is looking to contribute before hacktoberfest is over, this could be a good chance to help a fellow dev.to user, learn a few things and get that cool looking t-shirt 🙂

## Hacktoberfest issues 

Add Scaffolder templates to the example repo or create a public repo of your own, then just open a PR adding a link to your template [here](https://github.com/galElmalah/scaffolder/blob/master/shared-templates.md). (More details in the issue)
{% github https://github.com/galElmalah/scaffolder/issues/27 %}

This one is a bit more technical but still a short PR. I will guide anyone willing to tackle this.
{% github https://github.com/galElmalah/scaffolder/issues/17 %}

## Scaffolder repo

{% github https://github.com/galElmalah/scaffolder %}

**If something is unclear feel free to reach out!**
Access control management system for Moscow State University supercomputer
Tags: technology, writing, programming, webdev
Published: 2020-10-27 11:11:53

In 2009 the Computing Center of Lomonosov Moscow State University launched its supercomputer called Lomonosov, which by mid-2011 ranked 13th in the global supercomputers ranking. Known as Octoshell, its access control management system was developed by Evrone.

The supercomputer was frequently used for computations in large-scale scientific [projects](https://evrone.com/erp) and lab work by MSU students. Prior to Octoshell's real-time access control system introduction access to it would be granted via ticketing by paper mail. For obvious reasons, this communications channel is far from being instant.

As letters were traveling from one business or post office to another, user tasks could become irrelevant, while deadlines of scientific work could be moved. Given that the number of supercomputer users was meant to be increased dozens of times, there was a risk of being lost in paperwork and heavily slowing down effective resource assignment.

Learn more about the development of the supercomputer access control management system via the link above.
First Time Participation in Open Source. 
Tags: hacktoberfest
Published: 2020-10-27 11:06:20

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


### Its about Hacktoberfest 2020
<!-- 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
Hey there, myself Abhishek Dutt, a second year CS undergrad, pursuing B.Tech from Kalinga Institute of Industrial Technology, Bhubaneswar, Odisha.(India)
I am new to open source community. For the first time I did contributed to the open source community. I have a good hold on Data Structures and OOP language C++.

<!-- Are you brand new to open source? What about coding in general? Tell us about how you got here →
 So I belong to the group of students, who didn't took CS as their extra subject in standard XII. So when I entered our College's CS lab for first time,  I was both enthralled and curious. 
From the first year itself, I had that passion to learn programming and implement it somewhere. 
So I started learning C and then worked with its various libraries like those related to memory allocation and advanced mathematical concepts. 
Then I started learning an OOP language (C++), and started learning DSA.

So all in all, my journey till here has been very interesting. 
### Progress

<!-- Share a bit about where you’re at in your Hacktoberfest journey. What stage are you at? How has the process been?  -->
So I have officially completed this years Hacktoberfest 2020 Challenge. I have pushed 15 PRs, out of which 10 got merged.


### 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!  -->

So as I said earlier, I am quite novice to open source,  so I just added codes written in C/C++,related to DS and Algorithms. 
For eg:- Many are unaware of a very famous algorithms, known as the Dutch National Flag Algorithms. 
I have pushed the code for the same.
https://github.com/3NCRY9T3R/H4CKT0B3RF3ST-2020/blob/main/Programs/Dutch_National_Flag_Algo.c

I have also pushed codes for various basic DS like stack(all types), some related to Queues.

### Reflections
<!-- Overall, how has your  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?  -->
I really enjoyed being a part of such a big fest, with over thousand of maintainers and millions of contributors. I am really looking forward to keep on contributing to the Open Source Community.