teleren/devto huggingface dataset:
Crisis Management Training in New Delhi
Published: 2021-04-05 11:10:46

Crises do not come with an appointment. It can strike any business at any time. It could be a corporate governance issue, a disgruntled employee, a plant by competitor, a fracas at the factory or on action by the authority or simple a call by any rent-a-course bridge a collateral damage is done. To recover from it you require compelling strategy and impeccable implementation that could leave nothing at chance. Our expertise and experience in managing crises communication for our clients through fast response timely communication and ability to put together a crisis management plan and its implementation has protected and rebuilt many reputations. The success have endured to the clients today this practice of ours is high end and unique in many ways where we have to built in cross function abilities ranging from reputation management, public affairs, media and online onslaught.
	
Know us more at https://www.oriel.in/
So you wanna say C++ is better than Java?
Tags: java, tutorial, computerscience, programming
Published: 2021-04-05 11:45:42

_No, I don't want to say that way or other way._ 

Nowadays, we hear a lot of crazy things in a dispute about langauge to write your code. First of all, you have to always keep in mind one phrase:
>Programming is not a code - it is the algorithm


**Let's mark some visible advantages and disadvantages of them:**

1. It is easier and faster to write cross-plattform applications on Java

2. It is easier to write multithreaded applications on Java, but faster on C++

3. When you work extensively on memory, then faster is C++

4. C++ is good, when your perfomance and memory is critical (large calculations and etc.)

5. Java is easier to study and faster to write a code

6. C++ is too strict. One small mistake can make a fatal lose in "game". Some people compare it to _"playing chess"_

7. There a lot of libraries for C++, that allow writing _"beautiful"_ and fast GUI

8. A lot of desktop applications are still being written on C++

9. Some say, that Java is a good start, but not "continue". C++ compilation is generic for every plattform, but not Java.

10. So C++ is merciless. How much time do you need to make an ideal code?

Have I marked everything? Of course, no. There is no general answer to this question, everything is individual. Every language is good and needed today as well. In conclusion, I wanna say NOT **"C++ vs Java"**, but **"C++ and Java"**  (Because of JNI, you can make one good of two)

I really want to hear your opinion on these points and I really want you to write your suggestions in comments to discuss. 

Check my website for more information
Good luck in your job!
Book notes: Hooked - Introduction
Tags: books, design
Published: 2021-04-05 11:40:10

Hey folks

I've decided I should probably read some of the books I've bought in the last years before I bought any new, so I am starting today the reading of "Hooked: how to build habit-forming products". 

As far as I was told, this is a book mostly about design, not coding or anything related.

### Introduction

* Habits are behaviors we have but don't think much about.

* Companies should focus on creating habit-forming products.

The hook model is made of four parts:

* 1 - trigger: what starts the action, can be divided into external (ads, emails etc) and internal (psychological needs)

* 2 - action: the thing people do to interact with a product (click a button). Actions should be easy to do.

* 3 - variable reward: the result of the action. This result must change in order to get people hooked, the reward must not be predictable.

* 4 - investment: the user puts something into the product (money, time, data, etc) and that improves his experience for his next hook cycle.
Free online code editor and code snippets
Tags: javascript, webdev, beginners, css
Published: 2021-04-05 11:37:25

---
title: Free online code editor and code snippets
published: True
description: 
tags: javascript, webdev ,beginners, css
//cover_image: https://direct_url_to_image.jpg
---
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tuj01yua2kae43i2zoqb.jpg)
<p>&nbsp;</p>
**1. CodePen**
CodePen is a social development environment for front-end designers and developers. Build and deploy a website, show off your work, build test cases to learn and debug, and find inspiration.


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


<p>&nbsp;</p>

**2. PlayCode**
Run javascript or typescript code online and see the result as you type. Best for practice code and developing complex algorithms.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fdq3zxa88d9sim9l5p8z.png)
<p>&nbsp;</p>
**3. JSFiddle**
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dgt70xlig8m0ufkj10kk.png)
<p>&nbsp;</p>
**4. stackblitz**
Code the Future.
In Your Browser.
Create, edit & deploy fullstack apps — in just one click.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pxpux6yi6m3s7ils98p2.png)
<p>&nbsp;</p>
**5. JS Bin**

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/szjdyx35y4ufflu1vx5l.png)
<p>&nbsp;</p>
**6. CodeSandbox**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1s494i7qsiyjaopr5mwk.png)
<p>&nbsp;</p>
**7. codeinterview .io**
CodeInterview lets you conduct hassle-free technical interviews in a real-time shared coding environment.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xn2c63r7alya589z4yc8.png)
<p>&nbsp;</p>
**8. godbolt .org**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5q38z8odd0t9desrgf73.png)
<p>&nbsp;</p>
**9. wandbox .org**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h7c99y1k6tpbou0dyvar.png)
<p>&nbsp;</p>
**10. ideone .com**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ekumbwb3z0uctychdffs.png)
<p>&nbsp;</p>
**11. ide judge0 com**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ttzh8tea3cn5wkx1q84a.png)
<p>&nbsp;</p>
<p>&nbsp;</p>
## Inspiring Codepen Examples You can Also read
**1.** [20 CSS Toggle Switches Example](https://dev.to/gscode/pure-css-toggles-dg)

**2.** [25+ CSS BUTTONS](https://dev.to/gscode/20-css-buttons-4cni)

**3.** [10+ The Best javascript games code](https://dev.to/gscode/10-best-of-javascript-games-3mjj)

**4.** [10+ CSS Digital Clock Animation](https://dev.to/gscode/10-css-digital-clock-animation-1763)
 
**5** [Many More Front End Web Developer Eaxmple ](http://gscode.in/)
Make everything with Svelte
Tags: svelte, javascript, github, webdev
Published: 2021-04-05 11:33:31

---
title: Make everything with Svelte
published: true
description: Become a Full Stack Javascript Developer with this Svelte Github Templates
tags: svelte, javascript, github, webdev
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wyprzvjcppzpe5hxx8y3.png
---

## 💡 Intro 

I would like to introduce you to my collection of templates (or also called boilerplate). What are? They are starting templates from which to develop apps, sites, bots, etc...

[https://github.com/ptkdev-boilerplate/](https://github.com/ptkdev-boilerplate/)![Schermata 2021-04-05 alle 13.15.28](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0vde5gsiadxsek8c5i1z.png)
 

## My Svelte Github Templates

🏗 [svelte-webcomponent](https://github.com/ptkdev-boilerplate/svelte-webcomponent-boilerplate) = to create native html5 webcomponents using svelte

👔 [svelte-spa](https://github.com/ptkdev-boilerplate/svelte-spa-boilerplate) = to create single page apps with svelte

🧬 [svelte-electron](https://github.com/ptkdev-boilerplate/svelte-electron-boilerplate) = to create desktop apps using svelte-spa

📱 [svelte-cordova](https://github.com/ptkdev-boilerplate/svelte-cordova-boilerplate) = to create mobile (android and ios) apps using svelte-spa

🧵 [svelte-kit-ssr](https://github.com/ptkdev-boilerplate/svelte-kit-ssr-boilerplate) = to create apps or websites with svelte optimized for seo using the server side rendering technique

🧰 [node-modules](https://github.com/ptkdev-boilerplate/node-module-boilerplate) = to create npm libraries

🪓 [node-cli](https://github.com/ptkdev-boilerplate/node-cli-boilerplate) = to create terminal commands

🤖 [node-telegram-bot](https://github.com/ptkdev-boilerplate/node-telegram-bot-boilerplate) = to create telegram bot in node

🤖 [node-discord-bot](https://github.com/ptkdev-boilerplate/node-discord-bot-boilerplate) = to create discord bot in node

## 🚀 About 

What do this boilerplate series have in common? All. They all use the same folder structure, preconfigured typescript and jest, the same prettier, tspaths, eslint, the same contributors and badges generators in short, they are totally userfriendly and mirror image. Learning to use one is very easy to switch to another.

##  💾 Setup Project
If you want replace all strings (example: package name, author, urls, etc...) in markdown file, source files and others files of this project you need edit `setup.json` with correct values and run `npm run setup`.

## 💫 License

Code and Contributions have **MIT License**
Python code snippets & resources for Developers
Tags: python, snippets, coding, developers
Published: 2021-04-05 11:23:07

### Here Is my whole collections of python resources sites.

## [1,100 Python Code Snippets for Everyday Problems](https://therenegadecoder.com/code/python-code-snippets-for-everyday-problems/)
## [2,Full Python Code Snippets list](https://stevepython.wordpress.com/full-python-code-snippets-list/)
## [3, Activestate -  python Recipes](https://code.activestate.com/recipes/tags/meta:min_python_3=*/)
## [4, Python source code search engine](http://nullege.com/)
## [5, 100+ Python challenging programming exercises](https://github.com/zhiwehu/Python-programming-exercises/blob/master/100%2B%20Python%20challenging%20programming%20exercises.txt)
## [6, Comprehensive Python Cheatsheet](https://github.com/kamyu104/python-cheatsheet/blob/master/README.md)
## [7, Pysheeet](https://github.com/kamyu104/pysheeet/blob/master/README.rst)
## [8, learn-python3 with samples](https://github.com/michaelliao/learn-python3/tree/master/samples)
## [9, Python LeetCode solutions](https://github.com/kamyu104/LeetCode-Solutions/tree/master/Python)
## [10,  geekcomputers - python snippets](https://github.com/geekcomputers/Python?files=1)
## [11, Scraping AJAX Pages with Python](http://toddhayton.com/2015/03/11/scraping-ajax-pages-with-python/)
## [12, Welcome to Python Cheatsheet!](https://www.pythoncheatsheet.org/)
## [13, Novixys Software Dev Blog](https://www.novixys.com/blog/tag/python/)
## [14, Playground and Cheatsheet for Learning Python](https://github.com/trekhleb/learn-python)
## [15, Python-programming-exercises](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended)
## [16, Scientific computing](https://pythonspeed.com/)
## [17, SaltyCrane Blog](https://www.saltycrane.com/blog/tag/python/)
## [18, Ask Python - Blog articles about python](https://www.askpython.com/python)
How to solve Pragma and pragmafrag can not be set while runtime is automatic error
Tags: react, pragma, jsx, emotion
Published: 2021-04-05 11:16:13


Make sure you have added this on top of your react code
<--->

/** @jsxRuntime classic */
/** @jsx jsx */
import styled from '@emotion/styled';
import { css, jsx } from '@emotion/react'


<---->


What is a pragma?


A pragma is a compiler directive. It tells the compiler how it should handle the contents of a file.

An example of this in JavaScript is 'use strict' mode. 'use strict' is a directive that enables JavaScript's Strict Mode, which is a way to opt in to a more restricted variant of JavaScript. It denotes that the code should be processed in a specific way.

What is JSX pragma?


JSX syntax on its own isn’t readable by the browser. In order to ship something readable to the browser, JSX needs to be converted to plain JavaScript.

Most React-based frameworks (like Gatsby), come with tooling already set up to support this conversion (usually Babel). How does that tooling know how to transform JSX? By default, the Babel plugin will convert JSX into JavaScript that calls the React.createElement function.
Your Comprehensive Guide to Effective Task Delegation
Tags: taskdelegationtool
Published: 2021-04-05 11:15:12

Task Delegation
Task delegation is quite a task and even a seasoned project manager may find it cumbersome. As a team leader or a project manager, when you have a lot of tasks to accomplish for meeting the deadline, you can consider delegating tasks to your team. But, here the question arises- how can you delegate tasks effectively with task management tool to get the maximum output? Read this article to get your answer. 

Importance of Task Delegation
In a project lifecycle, task delegation plays a vital role. When you use your authority as a manager for delegating tasks to your team members or even co-workers, you simply ensure that the project will be completed on time with the collective responsibility of all the team members. 

If you try to do everything yourself as a team leader, chances are high that you will feel stressed and this situation will lead you to professional burnout. This is risky for you and your organization alike. The effective delegation, on the other hand, can assist you to utilize available sources to accomplish tasks on time without any stress. 

It is fair to mention that proper delegation can increase the productivity, efficiency of your team, and streamline processes. It results in a better outcome and improved workflow. 

Key Benefits of Task Delegation for Managers
Let’s go through some of the key benefits of task delegation for managers or team leaders before moving to the challenges of delegation. 

1. Free up your valuable time
This is one of the biggest benefits of effective delegation. After delegating tasks, you can make yourself free for core activities or tasks that need your special attention. You can also utilize this free time to help your team grow and develop. 

Read More: https://www.taskopad.com/blog/comprehensive-guide-for-task-delegation/
Two months of daily DevOps emails
Tags: devops
Published: 2021-04-05 11:02:33

Yesterday marked two months since I started writing _daily_ DevOps emails (and cross-posting them here to dev.to).

![Email stats](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7r2jrjy7iaukodgkshn7.png)

It's been a lot more fun than I expected, feedback has been overwhelmingly positive, and I continue to get new subscribers from all over the place!

https://jhall.io/daily/
Working Subscribe Button For WordPress and Blogger 
Tags: subscribebutton, csstoastnotifcation, webpushnotification, htmlcss
Published: 2021-04-05 10:33:28

Hello my friends, welcome to my other blog on HTML & CSS, today we will learn how to create a working subscribe button using HTML with awesome CSS design and animation. I have been creating and various video tutorials and articles about HTML, if you are my regular viewers then you will definitely know how many things that we can do from HTML. Recently I have shared How to Scroll the Page in Navigation click.

Subscribe button is the type of button or medium to follow the particular person's work or other to get regular updates from them. For example, we have been subscribed to various person's videos on the youtube channel. It helps us to notify them when they uploaded new videos on their youtube channel.

The image I have given on the image is the actual design of subscribe button that we are going to build today. As you can see on that image on the right side there is one logo and on the left side, some text and one subscribe button, and one small cross button. Basically, when we clicked on that subscribe button, we will directly be redirected to the youtube channel of the coding lab and this cross button is for hiding that toast notification.

Actually, we can make this redirection to youtube or other sites from HTML anchor tag. I have also used CSS code to make that beautiful animation and design. If you are familiar with HTML & CSS then you can easily build this web push notification or CSS toast notification with subscribe button. Those friends who are feeling difficulty to built this program, don't worry I have provided a free source code file of this design below.

##You Might Like This:##
<a href="">Animated Share Button</a>
<a href="">Share Button With Tooltip </a>
<a href="">Custom Popup Modal Box</a>
<a href="">Social Media Hover Effect</a>

##Subscribe Button [Source Code]##
You can download all source code from the given link. <a href="https://www.codinglabweb.com/2021/04/working-subscribe-button-using-html-css.html">Click Here To Download All Source Code</a>
Social Media Agency in Kolkata
Published: 2021-04-05 10:30:16

Social Media Marketing Agency 
With more and more people joining social media sites and actively using them regularly, every business today needs to focus on using social media channels in the best possible way. Social media has become an essential part of the digital marketing strategy as it opens new avenues for brands and businesses. Connecting with new clients and expressing your thoughts has become quite easy with social media marketing.
Look around; you must have observed that before making a decision, netizens do a quick search online, visits websites, read reviews to know about brands and businesses. This underlines the need on why a brand or an organization must have a robust social media presence.
Our team of digital marketing experts help your business to grow with 360-degree digital approach, strategies and execution. With an in-depth knowledge of social media optimization& marketing, our experts generate traffic and conversations by focusing on the contents of customers’ interests and concerns. We give careful thought to your business objectives and focus on engaging target audience through both organic and inorganic way.
Social media platforms such as Facebook, Twitter, LinkedIn, Instagram, Google+, Pinterest, YouTube, Tumblr, Reddit, Snapchat, WhatsApp, Quora, etc. make it easy to interact and build a community of your customers where you can engage them with quality content. We build your identity on these platforms that allow you to showcase your products and services.

For more info about Orion Digital services Please Visit: https://www.oriondigital.in/
Queue
Tags: datastructures
Published: 2021-04-07 14:48:22

---
title: Queue
published: true
date: 2021-04-05 06:00:00 UTC
tags: datastructures,datastructures
canonical_url: https://jsedano.dev/data-structures/2021/04/05/queue.html
---

My notes on the `queue` abstract data type with an implementation using an array in Java.

You can find the complete code for this and other data structures here: [data structures and algorithms](https://github.com/jsedano/examples/tree/main/data-structures-and-algorithms)

A `queue` is an `abstract data type` that has a `First In First Out (FIFO)` behavior which means items will going to come out of the queue in the same order they were enqueued.

Common Operations for a queue includes:

| Operation | Complexity |
| --- | --- |
| enqueue(element) | O(1) |
| dequeue() | O(1) |

In this implementation we are using a normal array, and we need to keep track of a few things:

- **size** : which will hold the current size of the queue
- **dequeueIndex** : the index where the next element to be dequeued is located.
- **enqueueIndex** : the index where a new element will be placed.

`Enqueue` will add a new element to the queue.

```
public boolean enqueue(T valueToPush) {
    if(size == innerArray.length) {
        return false;
    }
    innerArray[enqueueIndex] = valueToPush;
    if (enqueueIndex == innerArray.length - 1) {
        enqueueIndex = 0;
    } else {
        enqueueIndex++;
    }
    size++;

    return true;
}
```

If size of the queue is equal to the `capacity` of the `inner array` then it means that queue is full and we don’t enqueue more items.

In the case the `enqueueIndex` is already at the end of the of the inner array we circle back to the beginning of the array.

`Dequeue` takes out an element of the queue and returns it.

```
public T dequeue() {
    if(size == 0) {
        throw new NullPointerException("empty queue");
    }
    T valueToDequeue = innerArray[dequeueIndex];
    innerArray[dequeueIndex] = null;
    if (dequeueIndex == innerArray.length - 1) {
        dequeueIndex = 0;
    } else {
        dequeueIndex++;
    }
    size--;
    return valueToDequeue;
}
```

Similarly to the enqueue method, if the `dequeueIndex` is at the end of the array we circle back to the beginning.

Download the complete code for this and other data structures here: [data structures and algorithms](https://github.com/jsedano/examples/tree/main/data-structures-and-algorithms).
Error: createReadStream is not a function

Published: 2021-04-05 10:27:59

this is my code [click here](https://stackoverflow.com/questions/66949608/error-createreadstream-is-not-a-function-when-uploading-a-file-im-trying-to-u)
When I'm trying to  upload a file to Cloudinary using apollo server and react js for the front-end
5 top tips for passing the Azure Administrator Associate certification exam
Published: 2021-04-05 10:15:49

<b>1. Establish a study routine</b>
 When it comes to studying, give yourself organization and prioritize study time. If you don't, it will be very easy to relax or ignore what you need to do.

<b> 2 Review the topics covered on the exam.</b>
 Microsoft publishes test descriptions of all of its tests and lists their objectives. Each sub-goal will also have a set of skills to review this page as many times as possible until you feel comfortable with all the topics.

 <b>3 Take notes while studying.</b>
 - If in doubt, write it down. Write down all the technical information you have seen while studying for any Microsoft certification exam.

<b> 4. Practice using the technology.</b>
 Work experience will not be valid during the exam. Instead of trying to answer questions about theoretical practice, read only if you have real-life knowledge of the task.

<b>5. Take practice exams.</b>
 One of the most important things you can do to prepare for your final exam is to pass a practice test first. Treat practice exams as realistic so you can understand what your view should look like when the important day comes. Wait until you pass the first practice test. Then review each incorrect answer to identify your weaknesses. Find the official Microsoft practice exam here.

What if I don't miss it? Never give up! These are not easy tests. If it were, it would not be of great value. Please try again, review some practice questions, and book another area. Passing the IT exam is an educational path, so every time you pass it, it becomes a little easier. Good luck in your studies!
Get ready to earn a Microsoft certification with JustCerts

Microsoft certification can be a powerful factor in driving your current job or getting a new job elsewhere. But remember: to get a Microsoft certification, you have to work. By preparing yourself for the exam, you will have the best chance of success.
The goal is here to help. JustCerts is a leading Microsoft Azure Certification platform that has been offering Microsoft Azure Administrator Associate certification exam Practice Test questions for many years. 

They all have passed the Microsoft Azure certification with the help of <a href="https://www.justcerts.com/microsoft/azure-administrator-associate-certification-exams.html">JustCerts</a>.
You can be the next successful candidate of the Microsoft Azure family. 

Best of Luck!!!