teleren/devto huggingface dataset:
Why array indexing in C++ starts from 0, not 1
Tags: cpp, array, compiler, computerscience
Published: 2020-08-11 09:44:38

![](https://www.educative.io/api/edpresso/shot/5968957287694336/image/4900789106507776)


__Do you know why the C++ array is indexed from zero and not one?__

Suppose we have an Array __A__ where the size of data type is __W__ (2 or 4 bytes for int depends on the compiler) then the logical address of element at i<sup>th</sup> index is calculated as:-

__Logical Address(A[i]) = Base Address(L<sub>0</sub>) + ( i - 1 ) * W__

in this formulae, we have to perform 3 arithmetic operations __+, -,__ and __*__ but when we take the __zero__ as the starting index then the formula becomes:-

__Logical Address(A[i]) = Base Address(L<sub>0</sub>) + ( i ) * W__

which have only 2 arithmetic operations __+__ and __*__
so if the size of an array is __n__ then the formula with starting index one will execute slower due to one extra operation overhead. thus, affecting the time taken by the program for larger values of __n__.

The above discussion was for the __1-D__ array but when it comes to __2-D__ or multidimensional arrays the case is even worse, suppose i and j are respectively the ith row and jth column in a 2-D matrix then the address when considered 0 as the first index is given as:-

__Logical Address(A[i][j]) = Base Address(L<sub>0</sub>) + ( i* n +j ) * W__

having 4 arithmetic operations, but when taken ONE as the starting index we have

__Logical Address(A[i][j]) = Base Address(L<sub>0</sub>) + ( (i-1)* n +(j-1)) * W__

this is having 6 arithmetic operations so it keeps on increasing as the dimension of the array increases too.

![](https://www.educative.io/api/edpresso/shot/5968957287694336/image/5604476548284416)


And hence, we use __ZERO__ as the Starting index rather than __ONE__.
A cutting-edge integration of blockchain and gaming
Tags: blockchain, gaming, webdev, solidity
Published: 2020-08-11 09:35:40

Binary Options is one of the relatively new asset trading services, and it has certainly gathered a huge number of followers over the last few years. The integration of [blockchain technology](https://evrone.com/blockchain) in a binary options trading framework eliminates any concerns about fraud.

Bulls vs. Bears is a blockchain-based binary options trading platform that uses Tronix (TRX) crypto as the main digital currency for making trades, where players can trade on 30-second candles. 

[Learn more about how we helped the Bulls vs. Bears team develop this safe betting platform from scratch](https://evrone.com/bulls-vs-bears)
C# Switch statement
Tags: csharp, dotnet, beginners, tutorial
Published: 2020-08-11 09:32:53

The **switch** statement is a type of selection statement which performs an action according to the condition. The switch statement used to select one condition among many.

The switch statement can be used as an alternative to the `if-statement` if there are too many possible cases. It provides a descriptive way to write `if-else` statements.

### Syntax

```csharp
switch (number){

   case a:
      // Do something for 'a'
   case b:
      // Do something for 'b'
   ...
   case n:
     // Do something for 'n'
   default:
     // Do something none of the cases match.

}
```

### Example

```csharp
using System;

namespace SwitchCase
{
    class Program
    {
        static void Main(string[] args)
        {
            int number = 3;

            switch (number)
            {
                case 1:
                    Console.WriteLine("It's One");
                    break;
                case 2:
                    Console.WriteLine("It's two");
                    break;
                case 3:
                    Console.WriteLine("It's three");
                    break;

                default:
                    Console.WriteLine("It's Default");
                    break;
            }
        }
    }
}
```

The above program will print the output as 
```
It's three
```

#### The 'break' keyword

The break keyword is used to breaks out of the `switch` block. It is used to stop the further comparison of cases inside the switch block.
In C# the break statement is **required** otherwise, the code generates a compiler error as 
```bsh
Program.cs(16,17): error CS0163: Control cannot fall through from one case label ('case 2:') to another

The build failed. Fix the build errors and run again.
```
You can also use `return` and `goto` to breaks out of the switch statement.

#### The 'default' keyword

The **default** keyword is **optional** and used to execute some code block if there is no match for the cases.
Your Gal is Back in Business!
Tags: womenintech, codenewbie, devjournal, beginners
Published: 2020-08-11 09:18:50

_This post was originally published on August 11, 2020 on [my blog] (https://alexlsalt.github.io/blog)._

Hi friends! I'm back from a relaxing vacation from work, coding, and all things requiring significant mental focus.

I don't even know how long it lasted, but I do know that I lost track of the time and what day it was (which, now that I think about it, tends to happen during the first couple weeks of August of really any year).

During my vacation, I spent some time traveling around the south of France with my boyfriend and basking in the sheer bliss of a European summer under the influence of utter vacation-mindset.

Needless to say, I came back from all of it with a breathless excitement to jump back in to everything I've been working on. Isn't that such a great feeling?

I'm taking it slowly today - might dip my toes back into a few Ladies Code Collective things (back to podcast production tomorrow!) and then I also want to try to scope out what the next few weeks of study will look like (looks like it's going to be React!).

Re: React, I've dabbled a bit before, but I never really got it to *stick* so now that I've spent a solid amount of time and done significant amount of work around drilling in the basics of JavaScript, I think I'll be better-equipped to dive all the way in.

Also. I'm currently listening to the new Glass Animals album - two tracks in and I already can't get enough.


----------


P.S. Did you know I have a podcast with new episodes each Wednesday? Go listen [right over here >>] (https://www.ladiescodecollective.com/podcast)

P.P.S. Have a coding project you want to work on in a supportive environment of other creative coding women? Come apply for a spot in my upcoming Ladies Code Collective Cohort (space is limited!) >> [More info here] (https://www.ladiescodecollective.com/cohorts)
A VSCode extension to find things faster in your JavaScript codebase
Tags: devtools, vscode, extension, javascript
Published: 2020-08-11 09:07:38

---
title: A VSCode extension to find things faster in your JavaScript codebase
published: true
description: Waypoint is a VSCode extension with rich symbol search and bookmarking capabilities
tags: devtools, vscode, extension, javascript
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/tvvtykczqrsgnrlmu3it.png
---

We spend a lot of time reading code. And a portion of that time is spent on finding the right code to read.

I love using VSCode as my editor but I wanted a better way to search my JavaScript code. I wanted a powerful search that will let me search for only functions or classes or typescript interfaces or other types of symbols.

VSCode has a [built-in symbol search](https://code.visualstudio.com/docs/editor/editingevolved#_open-symbol-by-name) but I wanted something that I can keep it to the side like a sidebar.

Also, I wanted a rich bookmarking capability. Instead of bookmarking a line in a file, which could change if you add more lines, I wanted to bookmark a function and still be able to go back to the function even if the function is moved to a different position in the file.

The thing about VSCode is you could extend it if the built-in functionality is not something you are happy with.

So I did just that.


### 👋 Say hello to Waypoint

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

[Waypoint](https://github.com/Raathigesh/waypoint) is a VSCode extension which provides a fast symbol search and bookmarking experience. It works with JavaScript, TypeScript, and Flow codebases.

* 💨 Waypoint indexes your source files so the search is ridiculously fast. 
* 🎲 You can filter your search results by applying filters such as classes, functions, variables, and types.
* 🔖 You can bookmark your symbols for later. This is a lifesaver if you need to refer a symbol over and over again.
* 📑 You can copy the import path for a symbol with a click.



### ⚡️ Getting started

If you like what you are seeing, here are a few links to get started:

* [Github Repository](https://github.com/Raathigesh/waypoint)
* [Documentation](https://waypoint.netlify.app/)
* [Get the extension from VSCode marketplace](https://marketplace.visualstudio.com/items?itemName=Raathigeshan.waypoint
)

### 🌱 The Future
We are just getting started with Waypoint. There are a lot of things we could do to improve the way we read code. I'm really excited to see what else we could add to Waypoint. If you have ideas, please open an issue in our Github repo.
Build An Emoji Picker Component In ReactJS
Tags: react, node, m
Published: 2020-08-11 09:07:13

# Emoji Picker Component In ReactJS

## Steps
1. Download the zip or git clone https://github.com/abhishek305/emoji-picker-component.git
2. Open in VScode integrated terminal root directory
3. npm i
4. npm start
5. Your app will be started in localhost:4000

Video

{% youtube 7U-5bAcXW1U %}
Webinar on Increase Business Revenues
through Augmented Reality
Tags: webinar, augmentedreality, ar, businessrevenues
Published: 2020-08-11 09:03:39

In this webinar you’ll learn how to :

Complete overview of how AR can help increase your revenues.
Use cases for various industries.
Benefit vs Complexity analysis of various AR use cases.
Learn More and Watch: https://www.queppelin.com/webinars/
Tooltip Sequence
Tags: javascript, showdev, productivity, webdev
Published: 2020-08-11 08:59:07

Hi guys,
Recently I started working on an npm package using a simple concept.

So suppose you create a Web Application and you want to take your users or anyone on a walkthrough on one, two or maybe all the features in your app, you can install this simple Javascript package to create a sequence of small tooltips that will guide the user to each feature( in our case a web element ) and show a small description of what you want them to know about that feature.

A small example
![Example](https://dev-to-uploads.s3.amazonaws.com/i/vqboubwyjoeuf0yta7uw.png)

This package would save you the time to manually create tooltip descriptions on each page and link them together in action.

Link to npm Package: [https://www.npmjs.com/package/tooltip-sequence](https://www.npmjs.com/package/tooltip-sequence)

Link to Repository: [https://github.com/SoorajSNBlaze333/tooltip-sequence](https://github.com/SoorajSNBlaze333/tooltip-sequence)
(Please star if you like the package)
MeetBeans - a virtual event platform useful for event managers.  
Tags: vue, aws, mongodb, eventsinyourcity
Published: 2020-08-11 08:43:47

Meetbeans is an all in one online event platform designed to provide highly interactive experience between Host, Speaker & Attendees.

We know it takes a lot to run an event – from registrations, emailers, streaming, engagement, communication, feedback, analytics – the list goes on. Keeping these in mind we co-created the Meetbeans platform with event organizers like you. Meetbeans is the unified platform to host, attendee, and manage all your virtual events in one place. Be it a webinar, virtual conference, product launch, virtual expo, or any other event. Oh, and did we say our virtual event platform also supports in-person events & hybrid events? Start saving your time and money today with our easy-to-use features to create a branded immersive modern digital experience for your attendees.​

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

​So we have designed to keep in mind as an event manager, we tried to create an online ecosystem to handle your event efficiently.

​MeetBeans Live​

1. Zero-delay HD Live Stream Broadcast​
2. Integrated Registration & ticketing​
3. Multi-Broadcast Flexibility​
4. Simulive​
5. Stream to Facebook / Youtube LIVE​
6. Auto Recording & Replay​
7. BYOB – Bring Your Own Broadcast​

​MeetBeans Engage

1. Interactive Rooms​
2. Reaction emojis​
3. Invite anyone on-screen​
4. Pop-up Polls​
5. Share Screen & Videos​
6. Sponsored Spaces & Offers​
7. Push Notifications​

MeetBeans Network
1. Breakout & Meeting rooms​
2. Public Chat​
3. Discover attendees – Lounge​

MeetBeans User Experience
1. Beautiful UX & design​
2. Custom branding​
3. Go Live within minutes​
4. No downloads​
5. Single Branded URL​
6. Embed to your website​
7. DIY Content management​

MeetBeans ​​Support & Reliability

​1. Enterprise-grade security​
2. GDPR Compliant​
3. Scalable Streaming​
4. Advanced analytics & Data export​
5. Browser support​
6. Moderation & Ban attendees​
7. Knowledgebase & Documentation​
8. Free 24×7 Chat & Email Support​
9. Paid Dedicated customer success​

Would love to hear feedback, feel the experience on meetbeans.com
Picture won't scale with CSS scaling
Tags: css, html, webdev
Published: 2020-08-11 08:36:58

So I'm trying to make a responsive page for different size devices. I was making some progress, but now my picture is not scaling well and becomes too big when in tablet size... And mobile size is not scaling well either. Can someone help with this? Here is the HTML and CSS code: https://codepen.io/Sampsa96/pen/zYqvKOy
Goopensource.dev released a new version
Tags: jobs, jobsearch, jobhunting, career
Published: 2020-08-11 08:35:06

---
title: Goopensource.dev released a new version
published: true
description: 
tags: jobs, jobsearch, jobhunting, career
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/2shccqqggip9ce32eaa2.png
---

Hi, everyone! We've just released a new version of Goopensource it's immediately available on https://www.goopensource.dev/

This release includes new features, stability, and performance improvements. 

You can see a full list of the changes in the Feature set. If you find a new issue, please let us know by contacting me over email or LinkedIn.

## New Features

* Linking between goopensource and partner company
* Advanced filtering and search: Search for a country, state or positions
* Improved filtering and ranking systems 

Thanks for your great support!

Best,

Dontloop
Convince me to use SQL
Tags: sql, changemymind, database, discuss
Published: 2020-08-11 08:23:24

Let me say first that, I care most about data integrity, monitoring and maintainability, rather than performance; and I do have relational data.

There was a talk, and pretty much consensus amongst experienced and vocal people, that PostGRES is preferable to MongoDB.

{% post https://dev.to/ben/postgresql-vs-mongodb-30b1 %}

However, I see this as not necessarily between RDBMS and NoSQL, but as the SQL syntax, and availability of services.

Also, there are many kinds of [NoSQL](https://en.wikipedia.org/wiki/NoSQL) and even [NewSQL](https://en.wikipedia.org/wiki/NewSQL). I see it more as newer implementations, **with or without sacrificing** older (and sometimes important) features.

{% post https://dev.to/patarapolw/generous-sql-or-nosql-hosting-similar-to-mongodb-atlas-1g3h %}

<small>I don't need that many rows right now, BTW.</small>

{% post https://dev.to/patarapolw/is-sql-outdated-not-relational-algebra-18fg %}

Open source databases are actually free to host, but **hosting servers are usually not free**; not to mention **maintenance** costs and security. (How far do I need to know DevSecOps?)

Furthermore, how much are research in **embedded database** currently being done? [Are we pretty much stuck with SQLite?](https://dev.to/patarapolw/a-stable-alternative-to-sqlite-for-offline-desktop-app-5gbg) Or, are there better ones for which languages? (maybe, Neo4j or H2?)
DevRel books
Tags: devrel, productmarketing, marketing
Published: 2020-08-11 08:18:26

Read more about my journey on devrel in my blog: https://alexmoreno.net/

----

Anyone can share recommendations for someone trying to break into a #devrel or developer relations role?

Here goes mine:

First two obvious:
- The Business Value of Developer Relations
https://blackwells.co.uk/bookshop/product/9781484237472?gC=5a105e8b&gclid=Cj0KCQjwg8n5BRCdARIsALxKb96d-GzenZomeJ4lyURhnBov3YSz5xIMx-uxs7Ir9o41Vu4YewUvfEAaAtIHEALw_wcB

- Developer relations the essential guide
https://www.devrelx.com/book

Then two great readings that I'll explain on a latter article why I loved reading them

- The Product Marketing Manager role
https://www.amazon.co.uk/Product-Marketing-Manager-Responsibilities-Technology-ebook/dp/B076S6WN3L

- Product marketing debunked
https://www.amazon.co.uk/Product-Marketing-Manager-Responsibilities-Technology-ebook/dp/B076S6WN3L
Salesforce CRM Development: A Must for Rapid Business Growth

Tags: salesforce, crmdevelopment, businessgrowth, cloudanalogy
Published: 2020-08-11 08:16:47

Knowing the needs of customers and the market is essential for any business to grow and grow. To help companies meet their needs, it is now essential to have an integrated customer relationship management (CRM) system to easily connect with customers and optimize business processes. Salesforce CRM is a pioneering cloud-based platform-based system that helps businesses connect with customers, prospects, partners, and employees. Helps an organization create business opportunities and share information effectively.

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

Salesforce CRM development companies offer flexible solutions that meet the needs and requirements of each business. Salesforce CRM integration services can be used to develop and integrate custom applications that can be served on the Salesforce.com cloud platform. It helps users to work efficiently and efficiently.

The main features of Salesforce CRM are described below:

• With Salesforce CRM, an organization can easily connect with its customers and employees. You can also quickly share relevant information with your team and clients.
• Works in the cloud, which is fast and secure.
• Can be used to develop desktop and mobile applications to stay in touch with employees and access information regardless of time and place.
• Suitable for any organization and its various departments.
• Provides integrated analysis.
• Helps maintain a library of content, saving a lot of time searching for important documents and files.
• There are program management and monitoring tools that help an organization manage the company's programs effectively.
• You can also plan your social media strategy and report its impact to team members.

As well as offering flexible CRM solutions, it meets all business needs and can be easily deployed across multiple departments. It also integrates seamlessly with other customer solutions and enables a business to quickly access its information and database.

To enhance and refine the functionality of a popular Salesforce.com CRM solution, you can opt for Salesforce development services tailored to your business needs and requirements. Services include developing and maintaining custom objects to create new tabs and applications on the Salesforce.com platform.
Should You Learn Bootstrap in 2020?
Tags: html, css, bootstrap
Published: 2020-08-11 07:59:17

This is an important question to answer according to me.Very Recently the alpha version of Bootstrap was released.Since then people are asking that whether they should learn Bootstrap anymore or not.Now In this blog I will try to answer this question in a simple way.

For many developer,it will be a kind of situation that don't learn bootstrap,it's a waste but If you are a Frontend Developer I strongly suggest you to learn Bootstrap.But before learning bootstrap you must learn HTML and CSS and build some complete static sites and then you should move on the bootstrap.The main thing is that You don't have to learn anything in Bootstrap,if you are knowing CSS,you just need to remember some classes or you can also copy and paste the code from the official website it's completely on you but I recommendation is that you should learn Bootstrap if you are a Frontend Developer or UI Developer.
 

Many Developer says that Bootstrap is not good don't learn it but Believe me Bootstrap is really a very good CSS Framework but you can definitely replace it with other CSS Frameworks,you can also learn tailwind CSS which is also a great CSS Library but it's a bit different from Bootstrap,it's totally different belong to a different group.

In the latest update or version i.e. the Bootstrap 5 you also don't need to use JQuery,every thing will be done with pure CSS,But you should learn JavaScript if you want to build more dynamic and functioning pages.

 


Buy Siteground Web hosting:
https://www.siteground.com/index.htm?afcode=4bbbeb6048f7d8fd1efec76817755662

Teestring Merchandise:
https://teespring.com/get-coder-s?pid=328&cid=6277&sid=front


Programming Tutorial:https://bestpythontutorials.com
My blogs:https://devtipsntricks.com
Instagram:https://instagram.com/skvprogrammer
Twitter:https://twitter.com/skvprogrammer
Facebook:https://facebook.com/satyam.varman.12
 
> Thanks for Reading
🤦‍♂️ Weekly fail (33/2020)
Tags: fail, lessonslearned, windows, updates
Published: 2020-08-11 07:58:50

It might be weird, but from time to time, I check for updates manually on my Win 10 computer. Last week, when applying updates on my desktop workstation, right after restarting the PC, my display turned black without any response. Long story short, after waiting 30 minutes and some unsuccessful attempts to hard reset and enter the UEFI settings to revive my screen, I decided to check cables - nothing helped. 

Then, during the constant whining, cursing, and sobbing, I realized I got the second display connected - my TV via the HDMI (love debugging on 55" screen😜). After unplugging this HDMI, I saw the updates were still in progress, at this time, on my default screen. The TV was turned off all the time, however, the operating system somehow changed my default screen selection. I'm pretty sure my PC didn't like all the manual enforced RESETs during the update procedure... 🤦‍♂️ 

*Lesson learned:* **If you think your OS is dead or corrupted and you consider reinstalling the system, it's a good idea to check all your connected (even turned off) monitors...**
How is your sticker game in 2020 💻
Tags: discuss, stickers
Published: 2020-08-11 07:57:51

So how is your current sticker game in 2020
Show everyone how your laptop 💻 looks in 2020 and what your favorite sticker is.

Also, let me know if you have any rules for stickers.

## My sticker game in 2020

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

#### 😍 My favorite(s):
- The pride version of my companies logo (Snyk)
- The pulp fiction movie quote (MyDevSecOps)

#### 📋 My sticker rules:
- Stickers may not overlap on my laptop ....ever!
- I have to be related to the message or product. (Worked for or with it, be a contributor etc.)

## So what is your sticker game?
I would love to hear your story ...