teleren/devto huggingface dataset:
How Salesforce Development is good for every Business?
Tags: salesforcedevelopment
Published: 2020-10-26 13:57:06

Almost all of today's business owners who walk with technology know what CRM is. CRM or customer relationship management systems allow companies to manage their data using cloud computing, where they can be accessed from anywhere.

CRM systems are built like social media platforms. It allows users to manage a series of connections for their businesses and store all the information in a single cloud-based system. You can also opt for a central database to store all this information if you are not comfortable with cloud computing. It is a valuable asset for any fast-growing business located anywhere in the world. Today, there are many CRM systems, but according to Forbes magazine, Salesforce has been the best CRM system for several years in a row.

Salesforce development makes it easy to manage your relationships and your information from anywhere in the world. [Salesforce development](https://www.cloudanalogy.com/) is especially beneficial for small and medium-sized businesses seeking faster growth with a cloud-based data management system that makes information accessible in real-time for all types of devices. Another advantage of such a system is that as the business grows, so does the system. The flexibility of Salesforce development allows you to add more features and services as your network grows. Here are the top five benefits of using Salesforce CRM for your business and customer relationships.

-> Follow your competitors and create a solution to better manage opportunities. Salesforce development allows you to keep track of each sales lead. Growing companies often have trouble managing a large number of leads. A system built with [Salesforce](https://www.cloudanalogy.com/) can respond to inquiries faster and keep track of your competition. It is a competitive world and for growing companies, it is important to keep up with the competition, such as new services, discounts, etc. they offered.

-> Predict the growth and decline of your business. Since the system keeps track of all past performance, you can easily retrieve data and find out exactly what is happening in the market. You can track customer and market behaviour and use it to predict the future performance of your new services/products.

-> Stay in touch with your customers. Salesforce development will let you know what the needs of your customers are. You are in direct contact with your customers as a social network that allows you to have feedback on your products and services. This feedback is invaluable for product development and updating of current services for customer satisfaction.

-> End-to-end order management and customer relationships are easy to manage if you have a good CRM. All customer activities are visible, from the moment they inquire about their products to the moment they place an order.

-> Manage territories and areas for sellers. Often times, the sales staff will receive a request for one domain and then the next request will be for a completely different domain. You can assign territories to your staff so they can work in specific areas.
Well I used to be bad in creating slides too until I found this tool
Tags: productivity, presentations, functional, discuss
Published: 2020-10-26 21:26:50

In my day job I sometimes have to prepare presentations for workshops or tech-talks for companies.
What a terrible thing to do... Creating slides...

I used to think that:
1. A slide-deck required creativity.
2. It required hours and hours of work.
3. There's no fun in creating a presentation.
 
And one big question always remained.
*Does the overal style piece together nicely?*

**Well [Beautiful.ai](https://www.beautiful.ai/) solved all those issues for me.**

Using Beautiful.ai is so easy to use.
1. You start by picking an overal theme eg `minimal`.
2. Start creating your slides and choose between a set of existing slides that include graphs, stock images, diagrams & timelines, people and even laptop placeholders! 

Try it out, and let me know what you guys think!
Which tools do you guys use to create beautiful presentations?
Pdb debugging tips
Tags: python, programming
Published: 2020-10-19 15:24:07

This will be a short port of the most useful diagnostics you can inspect while running the Pdb debugger.

## Quick overview

[Pdb](https://docs.python.org/3/library/pdb.html) is the *de facto* debugger for Python scripts, with commands similar to [GDB](https://en.wikipedia.org/wiki/GNU_Debugger). Many Python developers use Pdb in order to diagnose an abrupt exception, or to see the internal state of their variables while their scripts run.

The minimum code to debug a function:

```python
>>> import pdb
>>> import mymodule
>>> pdb.run('mymodule.test()')
```

The functions or code you want to debug has to be already imported in a module.

Or use:

```python
python3 -m pdb myscript.py
```

To arbitrarily break into the debugger, put this statement in the place of your script you want it to break at:

```python
pdb.set_trace()
```

The following function enters the debugger using the last exception raised as the stack:

```python
pdb.pm()
```

At any rate, when the debugger enters you will arrive at a command prompt that looks like `(Pdb)`. Sometimes you will be at the first statement and you either need to `s`tep into a function, step (`n`ext) over one, or set a `b`reakpoint and `c`ontinue.

## The help function

Use `h` or `help` to print a list of commands, or to print the documentation of a single command. Other basic commands are `p` to print a variable, `pp` to pretty-print it, `locals()` (a Python function) shows you the list of variables, and `ll` to list the source code of the entire function you're in.

## Moving around functions

`up` and `down` moves you up and down the call stack respectively, allowing you to view the variables in that local scope. `where` prints a traceback with an arrow pointing at the frame in the call stake you're currently in.

## Debugging code blocks within a debugger

For this, you need to enter a recursive debugger. Using `debug function_call()`, you will get a clean state that lets you step through execution or set breakpoints, letting you print variables in the process.

## Set a breakpoint

The easiest way is when the breakpoint is a line in the current file, then you can just type `break LINE_NUMBER`. It is also possible to break in a different file if you give it the absolute path such as `break /home/pythonuser/src/script.py:42`.

To avoid the hassle of spelling out the full path each time, add part of the folder into `sys.path` while you're in the debugger:

```python
sys.path.append("/home/pythonuser/src/")
break script.py:42
```

## Viewing traceback outside of a debugger

The last point I want to go over is how to get the traceback information without raising the exception again or entering a debugger. This can be done using the `traceback` module and the exception's `__traceback__` member:

```python
import traceback
traceback.print_tb(e.__traceback__)
```

## And we're done

I hope you learned something new from this post. If you see any errors, please let me know so I can correct them.
The cost of QA is falling, LinkedIn's scale achievements, and taking care of the details
Tags: performance, monitoring, performancematters, testing
Published: 2020-10-26 20:20:33

Hi folks, 

Welcome back to Performance Matters. 

In this edition, we have something for everyone. Read about how the cost of software quality could be falling, LinkedIn Engineering's deep dive on Linux filesystem performance regressions, and the virtual summit coming to your screens soon. 

Enjoy! 

Your Curator 

------------------------------

### FEATURED ARTICLES

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

<strong>A move in the right direction</strong>

The results are in: Quality assurance (QA) testing quality is going up while costs are coming down. The share of IT budget allocated to QA testing has been falling year-on-year for the last four years.
 
[What does that mean for software teams?](https://www.forbes.com/sites/forbestechcouncil/2020/10/20/three-reasons-software-testing-delivers-better-quality-for-less-money/)


------------------------------

<strong>Preserving software quality</strong>

From formatting code to writing docs, the mundane tasks could be the most important. 

[Build a culture of quality](https://blog.scottlogic.com/2020/10/15/van-halens-rider-and-software-development.html)

------------------------------

<strong>Linux perf. regressions</strong>

LinkedIn shares a new set of learnings from refining their processes for scale. 

[Read the case study](https://engineering.linkedin.com/blog/2020/fixing-linux-filesystem-performance-regressions)

------------------------------

### BUG OF THE WEEK

<strong>The cause of Twitter's outage is still unclear</strong>

“We have no evidence of a security breach or hack, and we’re currently investigating internal causes,” a Twitter spokesperson said in a statement to The Verge.


[So what happened?](https://www.theverge.com/2020/10/15/21518367/twitter-down-outage-tweets)

------------------------------

### COMMUNITY

<strong>DevOps Experience</strong>

Returning for its third year, DevOps Experience is back with more great stories of DevOps transformations, including talks on observability and monitoring. With speakers from Netflix, Microsoft, and more, it's worth adding to the calendar. 

[Get the details and see the line-up](https://devopsexperience.io/)


------------------------------

If you think Performance Matters is pretty great, why not [sign up](https://performancematters.dev/) to receive it in your inbox every week? 🙌

------------------------------


![Made with Love by Raygun](https://dev-to-uploads.s3.amazonaws.com/i/gylnptlhm42m5jlmim8p.png)

------------------------------
Puppeteer Sandbox Error - Unable to Launch browser mode in sandbox mode.
Tags: centos, puppeteer
Published: 2020-10-26 20:14:55

Real problem starts here , We are not able to launch browser without --no-sandbox flag.Most of you might have faced the sandbox error in puppeteer [Centos 7](https://thelinuxterminal.com) on AWS or Any VPS .

Navigate to node_modules/puppeteer/.local-chromium/linux-549031 folder you will notice chrome_sanbox.

Follow the below commands to fix this issue 
```
sudo mv chrome_sandbox chrome-sandbox
sudo chown root chrome-sandbox
sudo chmod 4755 chrome-sandbox
```

Have a look at the article [here which has a detailed steps and resources to install puppeteer on centos7](https://frugalisminds.com/how-to-setup-puppeteer-in-centos-7/)
How to set up a Next.js project with TypeScript and React
Tags: nextjs, typescript, react, ssr
Published: 2020-10-26 20:08:17

[NextJS](https://nextjs.org) is one of the most important, widely-used, and reliable frameworks for server-side rendering and production with React. This, combined with the ability to integrate TypeScript into your NextJS project makes it all-the-more great to use.

*But how exactly do you go about doing so?*

## 1. Initial setup

Before we begin integrating TypeScript into our project, we must first set up our boilerplate Next app with the default JavaScript.

### Generate the Next app
In order to generate our boilerplate Next starter code, run the following command in your terminal:

```
yarn create next-app
``` 
**NOTE: You can always use NPM's `npx create-next-app`, but we will be utilizing Yarn over the course of this project and walkthrough.**

After you run the initial script, the CLI will prompt you with the following question:

`? What is your project named? >` 

After you type in the name of your project and press *Enter*, you'll be good to go! (at least for the basic NextJS setup).

You can now test that the setup has gone smoothly by running `yarn dev` in your command-prompt and opening the port (usually `localhost:3000`, on a browser:

```
cd my-app
yarn dev
```

## 2. Create a tsconfig.json file

In order to implement TypeScript into our NextJS project, we must first create. a `tsconfig.json` file. Having this file automatically tell NextJS that the root directory is one of a TypeScript project. To put it simply, *the presence of a tsconfig.json file in a project indicates that TypeScript is present as well*.

How do we go about creating one? Simply run this command in the root directory of your project:

```
touch tsconfig.json
```

## 3. Install TypeScript & Test Server

### Install dependencies

Install all required dependencies for TypeScript and NextJS by running the following command in your terminal:

```
# If you're using NPM
npm install --save-dev typescript @types/react @types/node

# If you’re using Yarn
yarn add --dev typescript @types/react @types/node
```

Now, pause your server (`Ctrl+C`) and start it back up again by using `yarn dev`.

As you do so, you will notice that NextJS has automatically detected TypeScript in your project (due to the tsconfig.json file that we created earlier). 

## 4. Convert to TypeScript (really simple)

### Change the file extensions

Now that TypeScript is properly set up in our project, we can now use it to program our app.

For starters, I would suggest you convert all existing JavaScript files in the `pages` directory of your project into TypeScript (REMEMBER: `filename.tsx` for React).

You are now ready to enjoy the benefits of using TypeScript inside of your NextJS app.

Happy hacking!
How to stop repeated Ajax calls in React class ?
Published: 2020-10-26 19:35:11

Hello, I inherited an old version of React that starts like this:

var rc = React.createClass({
 
     render() {

          // Ajax code, here, is called repeatedly for some reason

          return {
               ...
          }
     }
})

I'm stuck with this old code architecture, and I could not import React component.  I tried to make an Ajax call to the server side using jQuery and saw the expected result returned in the console.  I also tried using React to make the Ajax call but no result was returned, perhaps due to the lack of the React Component.

The problem is that, for whatever reason, the Ajax was called repeatedly, non-stop, for both React & jQuery methods (the Ajax code was not inside any loop).  I didn't have this Ajax repeating issue at home when I used a more recent version of React.  At work, I had to work with the above code implemented by a previous developer.  I have tried all possible solutions to stop / abort the Ajax after the first call but not successful.  Any idea ?  Thanks a lot!
A love note to e-mail and e-mail readers
Published: 2020-12-03 16:32:07

---
title: A love note to e-mail and e-mail readers
published: true
date: 2020-10-26 19:21:13 UTC
tags: 
canonical_url: https://social.johanbove.info/2020/10/26/a-love-note-to-e-mail-and-e-mail-readers
---

Thank you E-mail for delivering me the important things I need to know about. Enjoying the fact that you let me sip through you on my own pace and time and allowing me to see everything in a time organized manner. Thank you for not engulfing me with unnecessary images and self-starting video advertisements. Thank you for giving me a way to reply and sort my messages. Thank you also for allowing me to filter my messages based upon my own criteria. Also a big thank you (with imap and SMTP) for allowing me to get to my messages on different devices and having them all synchronize the folders. Thank you also for allowing to sign and send secure email with Pretty Good Privacy. I forgive you for the occasional unexpected message from a far - away land as I can simply toss these in the junk folder. Thank you for keeping track of you over many years and after changing many different devices and even accounts. I hope we can enjoy many years together more.

Yours sincerely,

A happy Thunderbird E-mail user.
The One Thing You Should Prioritize As A Developer
Tags: mentalhealth, productivity
Published: 2020-10-26 19:20:03

After talking with so many different developers and listening to their experiences, there is one thing that I learned to really focus on. It is something that we often overlook and never really pay attention to it until we reach the tipping point. This really needs to be at the forefront of the conversation when it comes to being a developer.

### Thats Mental Health

Again, this is something we often overlook as devs. We can get carried away with "The Grind" or "The Hustle" when in reality, learning to code should be where we deploy patience and consistency over time. Not this idea of working/learning all day every day cause thats what we think we need to do to make it big as a developer. Completely not the case here.

Instead, we should take it one day at a time at a pace that is reasonable and maintainable. Learning how to control our pace will not only help us be more productive, but it will also keep us farther away from **burnout**. No one likes to burnout, especially when it comes to something we love to do! Which makes it even more important to stay at a steady pace.

Along with pacing, we need to take more time for our personal lives. That means taking breaks to go outside for a run, hangout with friends/family, read a book or anything that isn't related to your work! Having our minds wrapped around our work all the time is not only unhealthy, but counterintuitive. It is something I learned the hard way and don't want to see anyone else go through. I almost quit everything because of this very problem.

### Conclusion

Short and sweet for my first blog post on a topic that is super important to me. Hope you got something out of that and if you want a more detailed explanation from me on this topic, check out my recent YouTube video that I made below! Let me know what you think in the comments! 

{% youtube bIvBvKqPcwo %}
Ubuntu Linux is vulnerable to viruses?
Tags: linux, security, ubuntu
Published: 2020-10-26 19:13:34

I mean, Ubuntu Linux has the same vulnerability like Windows? 
Why?
**Annexed the next link about Top 50 Products By Total Number Of "Distinct" Vulnerabilities**

* https://www.cvedetails.com/top-50-products.php?year=0

`What's your thinking about?`
terraform-docs zsh plugin
Tags: zsh, terminal, devops
Published: 2020-10-26 19:04:48

Working with terraform creating modules I would like to have documentation so I've used [terraform-docs](https://github.com/terraform-docs/terraform-docs).
It is tool to generate documentation based on terraform code contains:
- input variables
- outputs
- providers
- requirements

Usage is very simple:
`terraform-docs markdown table . > README.md`

so you get generated documenation in _README.md_ file in _markdown_ format with tables based on _.tf_ files in current directory.

I've created [zsh](https://en.wikipedia.org/wiki/Z_shell) plugin to completation commands and flags. I've decided to share my code in Github:

## https://github.com/jsporna/terraform-docs-zsh-plugin


PS
Tool itself contains _completetion_ command to setup _bash_ and _zsh_ but it was added much later than I've created my code.
5 generators of noise you probably didn’t hear about.
Tags: productivity, focus, audio, creativity
Published: 2020-10-26 18:48:37

For most people who work from home, or the office for that matter, there’s a specific level of the perfect amount of the “right” noise. Sure, there are hundreds of white noise apps and sites out there, but only a few of them can actually help you focus and stay productive. Here are some great ones, you don’t want to miss:

**1. For fun**

Relax with a multitude of combinations of the ambient noise generator called *[Defonic](https://defonic.com/)*. This web-based app features interactive illustrations that can control the intensity of the sound balance. Nice touch with the color scheme switcher that includes a night mode.

**2. For productivity**

More often than not these days, people are going to their local coffee shops to work which Wi-Fi has helped make possible. The informal atmosphere of the local cafe actually has a positive influence on productivity. Thanks to *[Hipstersound](https://hipstersound.com/)*, you can experience the relaxing feel of your favorite coffee shop from home and still enjoy a “productivity” boost.
 
**3. For meditation**

Do you remember the last time you were out in nature, listening to the pure acoustics of your surroundings, feeling an overwhelming sense of calm that’s difficult to experience in a city setting? You can still enjoy the experience from your home or office with *[the Ambicular](http://www.ambicular.com/)* noise generator.
 
**4. For relaxation**

Let *[the ASMRion](https://asmrion.com/)* sound generator help you block out all of those frustrating, distracting noises, creating an atmosphere that encourages peace of mind, improved clarity and productivity. Its sounds also create a tranquil environment for sleeping or just relaxing after a long day.
 
**5. Finally, for pluviophile**

Due to the benefits of listening natural sounds, we should try spending some time with nature, and if we find that to be rather difficult, we may listen to them online. *[Rainyscope](https://rainyscope.com/)* gives you access to 5 soundscapes and 4 stunning simulations of raindrops on your screen. The tracks include different types of rain sounds that will be appreciated by pluviophiles.
Useful Ionic + Capacitor commands
Tags: ionic, capacitor, angular, javascript
Published: 2020-10-26 18:47:01

- Run app with live reload (Android)

```
ionic cap run android -l --external
``` 

- Run app with live reload (iOS)

```
ionic cap run ios -l --external
``` 

- How to generate a release APK without opening the android studio

```
ionic capacitor copy android --prod && cd android && ./gradlew assembleRelease && cd ..     
``` 

- How to generate a debug APK without opening the android studio

```
ionic capacitor copy android && cd android && ./gradlew assembleDebug && cd ..
```
- How to generate icons & splash screen without specifying platform

``` 
cordova-res --skip-config --copy
```
- How to build and run apk directly on the device from CLI
```
ionic capacitor copy android && cd android && ./gradlew assembleDebug && ./gradlew installDebug && cd ..
```

I will be updating this post with more useful commands. Thank you for reading!!!
Use SVG for Favicon
Tags: top7, html, performance
Published: 2020-10-26 18:45:40

What size image should I use for my favicon? How many sizes do I need? What format? What about browser support? 😤

## tldr;

Use SVG for your web site's favicon for scalability with broad browser support.

```html
<link rel="icon" type="image/svg+xml" href="/favicon.svg" sizes="any">
```

## Browser Support

SVG favicon is widely supported by modern browsers.

Of course, Internet Explorer 11 and older browsers do not support SVG favicons. If you need to support older browser I recommend that you include a few additional PNG images:

```html
<link rel="icon" type="image/png" sizes="48x48" href="/favicon-48x48.png">
<link rel="icon" type="image/png" sizes="512x512" href="/favicon-512x512.png">
```

## Safari Web Clip

If you also need to support Safari's web clip feature, and your website is not a Progressive Web Application, then you have two options:

1. Create a file named apple-touch-icon at the root of your website, or
2. explicitly declare the <link> element as follows.

```html
<link rel="apple-touch-icon" href="/favicon-512x512.png">
```

That's it! [Check out more of my lookouts on lookout.dev where I learn in public](https://lookout.dev/brian_love).

Contact my company for [angular consulting](https://liveloveapp.com) and [react consulting services](https://liveloveapp.com).