teleren/devto huggingface dataset:
Quick tip about || vs ??
Tags: javascript, nullish, quicktip, ecmascript
Published: 2020-09-03 08:49:31

The **nullish coalescing operator** will help us to define nullary values equality (**null** or **undefined**), unlike the || operator.

```javascript
const basketValue = 0;
const orBasketValue = basketValue || 14;
const nullishBasketValue = basketValue ?? 14;
```

### What happened here ?
The **nullish coalescing operator** (the **??**) is a *logical operator* that returns its *right-hand side operand* when its *left-hand side operand* is **null** or **undefined**. Otherwise returns its *left-hand side operand*.

`||` implicitly converts our number to nullish value and returns `14`.
`??` checks the value of **basketValue** (different to nullary values) and returns `0`

So, in our example, the `orBasketValue` is equal to `14` and `nullishBasketValue` is equal to `0`.

That's it, make good use of it !

---

I'm not a native English speaker so, thanks in advance if you want to improve my article with correct syntax/grammar/sentences.

I can accept all kind remarks :)

Cover by [JC Dela Cuesta](https://unsplash.com/@jdelacuesta) on [Unsplash](https://unsplash.com/photos/itqkcMEix64)
Your First Dev Job: Branches and Pull Requests (video)
Tags: tutorial, github
Published: 2020-09-03 08:36:24

Hello! In this series, I discuss things to prepare you for what it's like to work at your first software developer job.

In this video series, I am going to give you a bit of insight into what it is like to work on large projects as a developer.

Imagine you have just got your first gig as a junior dev, but you realize that up till now you've only really worked on your own projects, or in small groups at best. If you want to know exactly what to expect in your first few weeks as a junior dev, this is the video for you.

In this video we are going two things that are the basis of all collaborative work :
Branches
Pull requests

Thanks for watching, if you would like to see more videos like this please do Like and Subscribe so I know to create more.

{% youtube VkC7O-66n3U %}
Grasshopper - Summation Ruby Version
Tags: ruby, rails, 100daysofcode, codenewbie
Published: 2020-09-03 08:34:17

{% youtube IwP_8anUX1U %}

To solve this problem, we'll take 4 different approaches.
Enjoy the video 😀🙏 

Also written version https://losseff.xyz/katas/009-grasshopper-summation/ruby/
Staffing Agency vs. Direct Hires: The Opportunity Cost for Startup Founders
Published: 2020-09-03 07:58:45

---
title: Staffing Agency vs. Direct Hires: The Opportunity Cost for Startup Founders
published: true
description: 
tags: 
//cover_image: https://direct_url_to_image.jpg
---

As a tech startup founder, should you hire directly or work with an IT staffing agency? As we’re about to show, hiring people takes a significant amount of time and effort.

Moreover, beyond simply hiring, many tech startups report turnover rates of 25% or higher. Should the hiring effort be on you as your startup’s visionary and strategic driving force? One thing to consider is the opportunity cost of managing your hiring process or vetting an IT staffing agency.

Read original blog post [Staffing Agency vs. Direct Hires: The Opportunity Cost for Startup Founders](https://perceptionbox.io/business/staffing-agency-vs-direct-hires-the-opportunity-cost-for-startup-founders/)
Geo fencing in Android
Tags: android, googlecloud, angular, reactnative
Published: 2020-09-03 07:58:34

What is Geo fencing?

Geofencing is a service that triggers an action when a device enters or exit from the specified predefined location or geographical area for given radius. This is a location-based service in which a creator of an app or other platform/software uses GPS, RFID, Wi-Fi or cellular data to send/trigger messages like SMS, Email or In-App/App-based notifications (pre-programmed action) when mobile devices that enter, exit, or remain parked in the geographical location.

Android allow you to create a geo fence by specifying the radius and lat-long (short for latitude and longitude) of the centre of the real geographical region that you wish to monitor.

Geofencing in Android

There are smart companies that send product offers or specific promotions to consumers’ smartphones when they trigger a search in a particular geographic location, enter a mall, neighborhood, or store.

 
How Does Geo fencing Work?

So far, we’ve covered a lot about Geo fencing and what it can do for your business. Do you know how it works?

It’s simple though. Geo fencing helps you to keep in control of your business by notifying you when a potential consumer is passing by your store, by a competitor’s, or entering into a predefined area.

 
Advantages of Geo fencing

    It helps in targeting customers in shops or retail outlets with appropriate ads as well as direct them to desired sections in order to increase sales.

    It helps in influencing purchase decisions.

    It does not require additional hardware to implement it. Mobile apps are available for android and iOS operating systems.

    It is very easy to implement and use with the help of google maps.

    It is very cheaper due to less costly mobile phones and availability of free apps.

 
Disadvantages of Geo fencing

    The size and accuracy of the Geo fences depends on the location and positioning technologies used. The Geo fencing positioning technologies such as GPS, cellular and WI-Fi deliver accuracy from 20 meters to 50 meters. Smaller Geo fencing use Bluetooth positioning technologies such as iBeacons and Eddystone beacons. These technologies deliver accuracy of about 2 meters.

    GPS positioning technique can also be used for Geo fencing but due to higher power consumption it is not recommended for battery hungry devices.

 
Obtaining a Google Maps API Key

Because this app uses Google Maps, you’ll need to obtain an API key.

   1. Open Google Cloud Platformand create a new project.
 

    2.Select APIs & Services ▸ Maps SDK for Android ▸ Enable.


    3. Click on Credentials, Credentials in the API Manager, CREATE CREDENTIALSand then choose API key.

 
   4. Copy your API key value. In your project, replace YOUR_KEY_HERE with the copied value.

Learn in details with code and images here: https://www.rlogical.com/blog/how-to-integrate-geofencing-in-an-android-app/
Hacktoberfest Online Meetup in Singapore
Tags: hacktoberfest
Published: 2020-09-03 07:43:57

---
title: Hacktoberfest Online Meetup in Singapore
published: True
description: 
tags: Hacktoberfest
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/nf55d3vjxmsnyue0bvka.png
---
A Message From the CEO, Yancey Spruill - Hacktoberfest 2020
<a href="http://www.youtube.com/watch?feature=player_embedded&v=0GgAt5r3Zkg" target="_blank"><img src="http://img.youtube.com/vi/0GgAt5r3Zkg/0.jpg" alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>

If you’re new to open source (which everyone was once!), you can take a look at the Introduction to Open Source tutorial series.

To make your first contribution, it’s required to familiarize yourself with how to create a pull request.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=jZtECuvNRiw" target="_blank"><img src="http://img.youtube.com/vi/jZtECuvNRiw/0.jpg" alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>

RSVP @ https://organize.mlh.io/participants/events/4089-hacktoberfest-online-meetup-in-singapore

For more information about HacktoberFest
https://hacktoberfest.digitalocean.com/
AWS Cognito simpler register form?
Published: 2020-09-03 07:39:37

Hello All,

I am working on implementing a register account option using aws cognito on my website. Is it possible to just have a form on my landing page and not have users go to that seperate create account page?

Would be so much cleaner if I could just have email and register button on landing page that registers the user. Currently user click register takes them to the create account page.

can anyone point me in right direction?
what are the type of questions that might be asked in QA interview?
Tags: beginners, help
Published: 2020-09-03 07:26:57

Hi There,

I am a newbie in the world of dev.to, i am currently preparing to be a quality analyst/tester. What type of questions can i expect in my interviews? i have basic knowledge of coding but do they really stress upon the coding part? will they ask a tester to write a piece of code? any suggestions?

Thanks
What should I do for my first open source project?
Tags: question, opensource
Published: 2020-09-03 07:23:07

Hi, everyone...

I need some advice to create some open source project.

I want to create some project to collect information of scholarships and learning bootcamps to share those information (and also persuade people who have scholarship information to share information together) for everyone. But I never create open-source project before.

What should I do to make my first open-source project?

Thanks...
How to display/output as template string?
Tags: help, javascript
Published: 2020-09-03 07:17:37

I'm trying to make prettier HTML for my tests so that they are easy to read. This means I want to write them as template strings.

The problem is that tools do not output template strings, instead giving me diffs like this:

```
"'\\n<ul class=\"list\">\\n    <li class=\"list-item\">\\n        <input\\n            type=\"radio\"\\n            checked=\"\"\\n            name=\"item\"\\n            value=\"1\"\\n        />\\n    </li>\\n</ul>\\n'"
```

Which I would like to see as:

```
`
<ul class="list">
    <li class="list-item">
        <input
            type="radio"
            checked=""
            name="item"
            value="1"
        />
    </li>
</ul>
`
```

I could write a custom solution but is there an existing tool for this?
How to Use Excel COUNTBLANK Function in Office 365?
Tags: excelcountblankfunct, excelfunctions
Published: 2020-09-03 10:48:32

---
title: How to Use Excel COUNTBLANK Function in Office 365?
published: true
date: 2020-09-03 07:15:38 UTC
tags: ExcelCOUNTBLANKFunct,ExcelFunctions
canonical_url: https://geekexcel.com/how-to-use-excel-countblank-function-in-office-365/
---

## Excel COUNTBLANK Function:

![COUNTBLANK Function](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/09/COUNTBLANK-Function.png)<figcaption id="caption-attachment-13228">COUNTBLANK Function</figcaption>

In this article, you will learn how to use **Excel COUNTBLANK Function in Office 365** with its syntax, explanation, and examples. Let’s step 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)

## **COUNTBLANK Function – Description:**

- This function **returns the number of blank cells from the given input range and returns the output in number**.

## **Syntax:**

**=COUNTBLANK(range)**

### Parameter Description:

**Range ** – The range of cells from which you want to count the empty-cells.

### Note:

- It will not consider the cells that contains **numbers** , **text** , **errors** , etc.
- Formulas that return **empty text** ( **” “** ) is considered to be a blank cell and it will be counted.
- The cells that contain **zero** are considered as **non-blank cells** , so it will not be counted.

## **Examples:**

### Example 1:

- Refer to the below example image.
- You can see the inputs in **five Columns that are A, B, C, D, and E,** the result is listed in **Column F**.
- It counts only the blank cells.

!["<yoastmark](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/09/1-11.png)

### Example 2:

- The cells that contain **zero** are considered as **non-blank cells** , so it will not be counted.

!["<yoastmark](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/09/2-9.png)

## **Closure:**

In this article, you can grasp the usage of the **Excel COUNTBLANK Function in Office 365** with its syntax, explanation, and examples. Leave your feedback in the below comment section. Thanks for visiting **[Geek Excel.](https://geekexcel.com/)** Keep Learning!!

### Similar Function:

- [**COUNT Function**](https://geekexcel.com/how-to-use-excel-count-function-in-office-365-with-examples/)
- [**COUNTA Function**](https://geekexcel.com/how-to-use-excel-counta-function-in-office-365-with-examples/)

### See Also:

- [How to Use Excel “FACT Function” in Office 365? – {with Examples}](https://geekexcel.com/how-to-use-excel-fact-function-in-office-365-with-examples/)
- [How to Use Excel TRUNC Function in Office 365? – (with Examples)](https://geekexcel.com/how-to-use-excel-trunc-function-in-office-365-with-examples/)
How To Print "Hello, World!" Without Using ";"
Tags: c, python, java
Published: 2020-09-03 07:14:28

A "Hello, World!" program generally is a computer program that outputs or displays the message "Hello, World!".It is often the first program written by people learning to code.
The tradition of using the phrase "Hello, World!" as a test message was influenced by an example program in the seminal 1978 book The C Programming Language.The example program in that book prints "hello, world", and was inherited from a 1974 Bell Laboratories internal memorandum by Brian Kernighan, Programming in C: A Tutorial.
Speaking of C Programming language, we know that ";" denotes the end of the statement. Standard code to print "Hello, World!" in C language is as follows:-
```c
#include <stdio.h>
int main()
{
	printf("Hello, World!");

	return 0;
}
```

Now, the question is how to print without ";".
Solution:
```c
# include<stdio.h>
int main()
{
	if(printf("Hello, World!"))
	{
		//EMPTY BLOCK
	}

	return 0;
}
```
Explanation:
In C language, printf() function returns the number of characters that are printed. If there is some error then it returns a negative value.
Also, in C language any number other than "0" is treated as "true", thus after printing "Hello, World!" it returns an int value which is treated as "true".

Bonus:
Using JAVA Language:
```java
public class Hello
{
	public static void main(String [] args)
	{
		if(System.out.println("Hello, World!").equals(null))
		{}
	}
}
```
But, it's easy-peasy-japanesey using Python language.
```python
print("Hello, World!")
```
:p

I hope 'twas helpful.
Configuring + Installing Chadwick for Parsing Retrosheet Data
Tags: datascience
Published: 2020-09-03 07:01:39

This post assumes you've set up VirtualBox & Vagrant. If you have not completed this step, follow the steps outlined in my previous blog post: https://dev.to/jakenherman/setting-up-virtualbox-vagrant-5bm2.

The first thing we're going to do is open up our terminal and run `cd baseball`, which is the directory we created in the previous post.

After than, we need to get the `.tar.gz` that contains the Chadwick software installer and configuration files. To download this, go to the chadwickbureau GitHub page, the Chadwick repository, and navigate to the "Releases" page. Here's a quick link to take you there directly: https://github.com/chadwickbureau/chadwick/releases

Take the latest release in the `.tar.gz` format, and move that file into your baseball directory. Once the tar file is in your baseball directory, in your terminal run the command `vagrant up`, followed by `vagrant ssh` . 

Your terminal instance will now be running on your VirtualBox virtual machine. What we need to do now is move the tar file we downloaded earlier into the `usr/local/src directory` (this file will currently be sitting in `~/vagrant`). We'll first navigate to the directory we're moving the file into by running the command `cd /usr/local/src`, then run the command below to copy the Chadwick tar file into the current directory (keep in mind, my file's version number is 0.8.1, but yours may be different - update your command accordingly):

![Copy and Unpack the Chadwick Tar File](https://dev-to-uploads.s3.amazonaws.com/i/vhi7e5ynohapspetf6y2.png)

Now that Chadwick has been copied and unpacked, we need to configure the software and complete the installation. To do this, run the `configure` file that you can see in the `chadwick-0.8.1` directory when you run `ls`, then `make` to compile, `make install` to install the software to our virtual machine, and `ldconfig` to make sure the program can link to the libraries it needs:

![Configure, Make, Install, and Link the new Chadwick Files](https://dev-to-uploads.s3.amazonaws.com/i/j7qizoyp4b3yzfsvn60e.png)

To test that Chadwick was properly installed, run the `cwevent` command, and you should get the following output:

![cwevent should succesfully fail (what a strange sentance)](https://dev-to-uploads.s3.amazonaws.com/i/nlpnjo2qwgm9t2isql63.png)

While this is technically an error, it means the installation was a success. `cwevent` is a command that Chadwick uses to parse Retrosheet event files, and since we've not yet provided one - we get this warning.

I hope this was helpful to you in your quest to begin working with Chadwick and Retrosheet. In the next post, we'll download our first few Retrosheet files and begin exploring.
Intro Lab: SQL vs NoSQL
Tags: sql
Published: 2020-08-30 20:46:43

##Who am I
   My name is Louis Persia. I was born and grew up outside of Pittsburgh, and recently came to school here at state college. I am currently a freshman; I am a cybersecurity major and looking to gain knowledge in almost all things computers. 

##My Tech interests
   My interests in software and tech came to me somewhat later in my life. I was first interested in the hardware aspect of computers, as some of my friends were PC gamers. While I never built my own computer, I do plan to when the time and money are right. When looking at the software of a machine, I am very much interested. I am not the best coder, but in my brief experience in python and HTML, I have made some cool things, in my eyes. As I grew older and started to think about a possible career with computer sciences, I kind of caught an attraction to cybersecurity. Being able to safeguard networks and essentially become a hacker, but work the good side, sounds super cool to learn and do, and that's what I hope I can do in my future.


##My IT Profession
   As of now, I am no professional in any type of IT. Right now, I see myself as some kind of sponge just trying to absorb any type of IT knowledge that will benefit me in my future IT career. As I mentioned before, I am a cybersecurity major and hope to find a job through that, but I am also taking SRA classes to further deepen my knowledge as a quote on quote network protector(I made that up).

##What am I doing with this
   While having written posts and videos, are assigned, I am using somewhat of a brand to go by when talking about the projects. I created, "The Box" which what I am hopefully trying to provide is more so a place someone can go to look find the right places to go to find IT information. I basically took idea from a "Star Wars: The Clone Wars" episode where bounty hunters are in a box to test their skills as bounty hunters. As they go deeper into it, the stages get harder. With my box, I hope to uncover and go deeper into IT topics, to show people online.

##Lab 1: SQL vs noSQL
   In this lab, I explain what SQL and noSQL databases are, along with what makes them different, and where the databases work best.

{% youtube m2uj52bFbis %}
How to Use “Excel COUNT Function” in Office 365? – {with Examples}
Tags: excelcountfunction, excelfunctions
Published: 2020-09-03 10:47:51

---
title: How to Use “Excel COUNT Function” in Office 365? – {with Examples}
published: true
date: 2020-09-03 06:57:35 UTC
tags: ExcelCOUNTFunction,ExcelFunctions
canonical_url: https://geekexcel.com/how-to-use-excel-count-function-in-office-365-with-examples/
---

## Excel COUNT Function:

![COUNT Function](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/09/COUNT-Function.png)<figcaption id="caption-attachment-13212">COUNT Function</figcaption>

In this tutorial, we will guide you to learn the usage of the **Excel COUNT Function in Office 365 ** with its syntax, explanation, and examples. Let’s step 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)


## **COUNT Function – Explanation:**

- This function will **count the number of cells that contain numbers and returns the output in number**.

## **Syntax:**

**=COUNT(value1, [value2],…)**

### Parameter Description:

**Value1 ** – The first input value, or cell reference, or range.

**Value2 ** – It is an optional one. You can give the input number or cell reference or range. Generally, we used this option when we have a range of inputs.

### Note:

- This function can handle up to **255 arguments**.
- It will ignore the logical input values **TRUE** and **FALSE**.
- This function ignores the **text values** and **empty (blank) cells**.

## **Examples:**

Let’s see some examples below.

### Example 1:

- Refer to the below example image.
- You can see the input values in **Column A** , and the output count value is placed in the **cell C2**.

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

### Example 2:

- It will ignore the logical input values **TRUE** and **FALSE**.
- This function ignores the **text values** and **empty (blank) cells**.

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

## **Verdict:**

In this tutorial, we guided you to learn the usage of the **Excel COUNT Function in Office 365 ** with its syntax, explanation, and examples. Drop your **feedback** in the below comment section. Thanks for visiting **[Geek Excel.](https://geekexcel.com/)** Keep Learning!!

### Similar Function:

- [**COUNTA Function**](https://geekexcel.com/how-to-use-excel-counta-function-in-office-365-with-examples/)
- [**COUNTBLANK Function**](https://geekexcel.com/how-to-use-excel-countblank-function-in-office-365/)

### See Also:

- [How to Use Excel SEC Function in Office 365? – {with Examples}](https://geekexcel.com/how-to-use-excel-sec-function-in-office-365-with-examples/)
- [How to Use Excel RADIANS Function in Office 365? – [with Examples]](https://geekexcel.com/how-to-use-excel-radians-function-in-office-365-with-examples/)
How I Remove Productivity Blockers ?
Tags: discuss, productivity, career, learning
Published: 2020-09-03 06:51:26

Hello everyone,
I am hustling for consistent productivity. I used many techniques and got magical results but I found 2 main blockers which are related to each other, Today I am looking for suggestions and techniques to resolve them. 

**Blocker 1:**
I do plan for daily tasks, split into small tasks, add todo time for each small task and I got done 90% of work according to plan. And then I leave them incomplete. I noted sometime I waste same/double time to finish that 10% remaining stuff.

**Blocker 2:**
After 2 months of work from home, I felt, I started making delay in actions, I wait for actions. And someday I successfully waste either first-half or second-half of day without doing anything.

**Note:** It's not in everyday routine. It's a few days in a month.

I talked with my friends. They tried to convinced me it's story of everyone. 

**What do you say ?**
Ansible ile Nextcloud Kurulumu
Tags: ansible, pardus, nextcloud, postgres
Published: 2020-09-03 06:36:38

* Pardus üzerine [**Ansible**](https://dev.to/omercakmak/pardus-ansible-237g) kurulum adımları

* Pardus üzerine [**Nextcloud**](https://dev.to/omercakmak/pardus-19-server-uzerine-nextcloud-kurulumu-postgresql-veritabani-kullanilmistir-29o7) kurulum adımları 

Yukarıdaki makaleleri incelediyseniz şimdi ikisini birleştirerek **Ansible** ile **Nextcloud** kurulum hazırladım. [github.com/farukomercakmak](https://github.com/farukomercakmak/ansible-nap) adresinden indirebilirsiniz.

Kurulumu Pardus 19 sunucu sürümü üzerine;

- Nextcloud 19
- Apache
- PostgreSQL

bileşenlerini kullanarak hazırladım. Umarım faydalı olur.