teleren/devto huggingface dataset:
Fighting impostor syndrome in four easy steps
Tags: motivation, career, beginners
Published: 2020-07-13 08:16:37


If you are anything like me, you have experienced impostor syndrome at some point in your life. If you are really like me, you have to deal with it pretty often. And we both know that sucks. So, for this week's lunch talks, let's try and get rid of it once and for all! *

_\* Ok, let's be honest. It probably won't work 100%. But if we can reduce it a teeny-weeny bit, we'll have succeeded_ 🙌

### What makes a developer? | Ivana McConnell _(29:33 min)_

First, repeat with me: "I **am** a developer". No matter where your background is, no matter what languages you know. Ivana McConnell insists on that, and puts focus on consciously pull away from perceptions that devaluate certain languages or paths into development. It's not you, it's them. You **are** a developer.

{% youtube LB-DvtCHOgE %}

### Attitude Determines Altitude: Engineering Yourself & Your Teams | Randy Shoup _(43:02 min)_

Ok, you now believe you are a developer. Great! But, I know, it's not easy to keep the confidence up. Randy Shoup focuses on the psychological aspects of how our mind works and talks about getting into a growth mindset and gaining trust and confidence.

{% youtube y1SpwCiRoPY %}

### Mejorando como desarrolladores | Belén Albeza _(42:24 min)_

Hopefully confidence is building up on you, and you want to keep improving as a developer. But, what to learn next? Many new shiny things come up every day, and it's hard to know what to focus on. Belén Albeza gives us concrete advice (in Spanish) on what to do to keep learning effectively, and how we can make our teammates better as well.

{% youtube AHVnR0oLk6Y %}

### Why you should make useless things | Simone Giertz _(11:58 min)_

Yay! You are a confident developer and you know how to keep improving. What's next? It's likely your career will be bumpy, and you will fail a lot, but that's ok because you will succeed on other things too. You don't need to build a rocket and save the human race by terraforming Mars to be a great developer. Simone Giertz talks about the importance of making useless things, how it will relieve you from pressure and how it can lead to unexpectedly awesome results. Plus, she is wearing a googly eyes t-shirt.

{% youtube c0bsKc4tiuY %}
Unjam your server: NodeJS collaborative multitasking
Tags: node, webdev, javascript
Published: 2020-07-13 08:16:30

#TL;DR

* Sometimes we need to write code in Node that does significant processing
* Often we can and should split this out into a separate process, but it isn't always practical
* If the main thread is busy then your server is totally unresponsive, even for simple tasks
* [js-coroutines](http://js-coroutines.com) now allows you to perform collaborative multitasking in Node so that one or two long-running operations will not stop the server being interactive.
* js-coroutines is available on MIT license and works on both front and back end JavaScript and TypeScript projects

## Node processing

One place where we might need to do significant processing in Node is when creating a cache of information or updating that on a regular basis.  As data volumes increase this processing can become very onerous and while it's happening the server is jammed up and not responding to other requests.

Even a rapid 5ms request will be blocked for potentially many seconds while the current workload is completed.

Here's an example, when you click the Run Big Job button, the time is no longer updating because the request is blocked on the main thread.

{% codesandbox il2xi %}

The example is firing a request for the server time every time it gets a result.  If you click the Run Big Job button then the server will do a process involving copying and sorting a million records.

```js
// This is the culprit 


let test = Array.from({ length: 1000000 }, () => Math.random() * 1000)

app.get("/bigjob", async (req, res) => {
    let copy = [...test]
    copy.sort()
    res.status(200).send("done")
})
```

## Coroutines

Using coroutines we can split up heavy jobs over time using collaborative multitasking. [js-coroutines](http://js-coroutines.com) comes with a bunch of out of the box functions and you can write your own using generator syntax. 

In this case we can rewrite our code above like so:

```js
const { appendAsync, sortAsync } = require("js-coroutines")

let test = Array.from({ length: 1000000 }, () => Math.random() * 1000)

app.get("/bigjob", async (req, res) => {
    let copy = await appendAsync([], test)
    await sortAsync(copy)
    res.status(200).send("done")
})
```

When you click the button in the example below, the time carries on updating.  You can even click it more than once and the results will come back when they are ready (adding a * to the button text).

{% codesandbox 05tqc %}

**It's important to note that all of these operations are using a single thread, so it should not be used where there are multiple processors available to offload work for maximum performance, it is very useful when you don't want operations to block the main thread and they aren't processing time critical.**

## Node Support

Node support is enabled immediately, jobs are allowed up to 20ms to run, and then the event loop is executed.


[![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qc7xww7co3re0jr8weh1.png)](http://js-coroutines.com)
Releasing Landr! 🚀
Tags: startup, showdev, saas, webdev
Published: 2020-07-13 08:05:34

👋 Hi Hunters. This is Sunil!

I'm very excited about [Landr](https://landr.page) taking off today.

Landr is a landing page creator which helps you create websites for your products in minutes.

{% youtube oqBbuaiVdgo %}

With growing internet popularity everyone wants to have a digital presence and having a website for their product is a must before they launch. Through Landr, i'm trying to make it easy for everyone to create landing page websites for their products with ease.

Landr is very different from the traditional website builders you see on the market today. All these website builders are mostly drag and drop solutions. Even though they provide you with all the tools needed to build websites, unfortunately not everyone is creative enough to build good websites using these tools. Landr solves this problem by providing users beautiful list of templates to choose from and not having to worry about customising them at all. Users just have to select a template, fill all the inputs needed for that template, check the live preview of their website with the current details and then just create it by the click of a button. It's that simple!

In the first version of the product I'm providing SaaS templates. In the next version the plan is to provide templates for other category of users like freelancers who want to showcase their skills, students who want to showcase their portfolio to everyone on the internet.

I hope Landr removes one more problem from this world. I just [launched](https://www.producthunt.com/posts/landr-3/) Landr on product hunt just now. Show me show love by upvoting if you like the product :)

I'm happy to answer any question you guys have.

Connect with me on [twitter](https://twitter.com/sunilc_) to join the journey of Landr.
The linux commands that help me work
Tags: linux, discuss, productivity, beginners
Published: 2020-07-13 07:59:10

Here are some commands to help me with my work.
And what are your useful commands that you use? 

Searching for files and folders with the given name
```bash
grep -i -n -r 'Search string' /var/www/path/
```

Shows how many times is the search text in the text and returns the result in numbers.
```bash
cat access.log|grep 'Search string' | wc -l
```

Remove all .gz from /var/log/
```bash
find /var/log/ -name "*.gz" -type f -delete
```

Find and replace text in all files in a directory
```bash
find ./ -type f -exec sed -i 's/string1/string2/g' {} \;

find /var/log/ -type f -exec sed -i 's/string1/string2/g' {} \;
```

Unpack tar files
```bash
tar -xJfv file.tar.xz
tar -xvf file.tar.bz2
```

while
```bash
while true; do COMMEND; done
```

Live viewing of web server logs
```bash
tail -f /var/log/nginx/korotkiewicz-access.log
```
Who receives H-1B visas to work in the U.S.: complete statistics and data
Tags: career
Published: 2020-07-13 07:22:14

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

**Learn key facts about the U.S. H-1B visa program: top nationalities, top employers, and the most common IT occupations of visa holders.**
 
Until President Donald Trump has suspended H-1B visas, this visa program remained one of the most popular among international high-skilled workers.

H-1B is a nonimmigrant visa that allows U.S. employers to sponsor foreign workers to temporarily perform jobs in skilled occupations. These visas are rewarded on a first-come, first-served basis, or through a lottery based on the number of applications submitted to United States Citizenship and Immigration Services (USCIS). The duration of stay on an H-1B visa is 3 years, extendable to 6 years.

## Which nationalities receive the visas most often
![H-1B petitions by place of birth](https://itshifting.com/photos/content/h1b-nationalities2019.png)
According to [analysis by ITShifting.com](https://itshifting.com/blog/who-receives-h-1b-visas-to-work-in-the-u-s-complete-statistics-and-data), almost 72% of all H-1B visas in 2019 were approved for Indians and 13% for the Chinese. These categories of migrants account for 278,491 and 50,609 visas, respectively (including visas that were extended). Canadians come third with 1.2% of visas. All other nationalities are trailing far behind, each having less than 1% of approved visa petitions.

## Top companies requesting H-1B visas 
![H-1B petitions by employer](https://itshifting.com/photos/content/h1b-employers.png)
About 65% of H-1B visas certified in the first half of 2020 account for the IT sector, with 8 companies out of the top 10 employers that requested H-1B visas being technology corporations (according to Myvisajobs.com data).

Almost 9% of visas (or 15,150) in the first half of 2020 were requested by Cognizant — an American multinational corporation that provides IT services and is headquartered in Teaneck, New Jersey. The company’s total number of employees in North America stands at about 46,400 as of 2019.

Google requested 5,188 visas for its international employers. Additionally, six more companies applied for more than 3,000 visas, including Deloitte Consulting, Infosys, Tata Consultancy Services, Amazon Services, Microsoft, and Ernst & Young. Top 10 companies also include Capgemini America and IBM. 

## Top IT occupations receiving H-1B visas
![H-1B petitions by occupation](https://itshifting.com/photos/content/h1b-jobs.png)
Software engineers and software developers are the top IT occupations by the number of H-1B visas in the first half of 2020. They account for 7.5 and 5% of visas, respectively.

Senior systems analysts, IT managers, and senior software engineers also make the top 5 occupations, according to the Myvisajobs.com data.

[Source](https://itshifting.com/blog/who-receives-h-1b-visas-to-work-in-the-u-s-complete-statistics-and-data)
Vanilla JavaScript Closest
Tags: javascript
Published: 2020-07-13 07:18:00

Today we are looking into the `JavaScript` `closest()` method, what it is, how it works, and a demo on using it.

## What is the JavaScript closest method?

It's a method in `JavaScript` which finds the closest parent to a specific element. It accepts a selector, so the syntax looks like this:

```js
var closestElement = myElement.closest(selectors);
```

In this syntax, the `myElement` is from where we will start searching. The method will look upwards until it finds the selector we specified.

The selector can be a `DOMString`, e.g.: `a:hover, label + input`

## HTML Structure

To test we are going to make the following `HTML` structure:

```html
<article>
  <div class="grand-parent">
    <div class="parent">
      <a href="#">
        <div id="myElement">This is me</div>
      </a>
    </div>
  </div>
</article>
```

## Using the Closest Method

```js
var myElement = document.getElementById('myElement');

var closest1 = myElement.closest('.parent');
console.log(closest1); // div class = parent

var closest2 = myElement.closest('div div');
console.log(closest2); // div id = myElement

var closest3 = myElement.closest('a');
console.log(closest3); // a href element

var closest4 = myElement.closest(':not(div)');
console.log(closest4); // a href element

var closest5 = myElement.closest('article');
console.log(closest5); // the Article

var closest6 = myElement.closest('article > div');
console.log(closest6); // Div with grand-parent class
```

As you can see it's a very versatile method which accept multiple ways of getting what we want.

See and try for yourself on Codepen.

<p class="codepen" data-height="265" data-theme-id="dark" data-default-tab="js,result" data-user="rebelchris" data-slug-hash="WNryVgp" style="height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="WNryVgp">
  <span>See the Pen <a href="https://codepen.io/rebelchris/pen/WNryVgp">
  WNryVgp</a> by Chris Bongers (<a href="https://codepen.io/rebelchris">@rebelchris</a>)
  on <a href="https://codepen.io">CodePen</a>.</span>
</p>
<script async src="https://static.codepen.io/assets/embed/ei.js"></script>

## Browser Support

The method is not supported in IE (Boooh!), but we can use a [Polyfill](https://vanillajstoolkit.com/polyfills/closest/) for it!

![Element.closest support](https://caniuse.bitsofco.de/image/element-closest.png)

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)
Launch your White label Cryptocurrency Exchange
Published: 2020-07-13 07:16:39

---
title: Launch your White label Cryptocurrency Exchange
published: true
description: 
tags: 
//cover_image: https://direct_url_to_image.jpg
---

![White label cryptocurrency exchange](https://i.imgur.com/CR3Fiuw.jpg)

As the usage of cryptocurrencies continues to soar across borders, [peer- to- peer exchanges](https://www.blockchainappfactory.com/p2p-exchange-development) are becoming the trend due to their secure functioning and swift settlement of transactions. With more focus on efficiency, white-label crypto exchanges have become a complementary part of the vibrant market. 

One of the leading P2P exchanges that operate on decentralized technology is the LocalBitcoins exchange based in Finland.  Some of the benefits are reduced time to develop the software, reduced costs on manpower, and better reach to a larger target audience. 

Let us know more about its functioning.

##**How P2P exchanges work?** 

* Buyers would place their orders at a particular price and payment method. Sellers will also execute the same. 

* A notification will be sent to buyers and sellers if they select an already posted buy/sell orders

* Transactions are processed once the respective orders are matched 

* Additional information such as trader’s history, quality score, existing trade volume will be displayed for better decision making. 

* Queries and doubts can be cleared using an interactive chat window 

* Slow execution of transactions can result in cancellation of trades 

* Cryptos will be released from the escrow account and transferred to the buyer’s wallet once the transaction has been authorized. 

**Some important features to include in P2P trading before launching your own white label crypto exchange are** 

* Two-factor authentication for user’s accounts 

* Multi-currency support in wallets 

* Profit maximizing opportunities through futures trading 

* Quick KYC/AML verification 

* Real-time information about market movements and price changes with graphs and charts

* Easy to handle user interface 

* Posting of advertisements for receiving more trade requests 

Reach out to the skilled developer team of Blockchain App Factory for launching your own [white label crypto exchange](https://www.blockchainappfactory.com/whitelabel-crypto-exchange-solutions). Their range of well-performing solutions at reasonable prices will suit your business requirements perfectly.
Laravel Vs CodeIgniter
Tags: laravel, php, sql, django
Published: 2020-07-13 07:16:25

Choosing the right PHP framework for customized solutions to the corporate sector has become a very important prerogative today. Although there are a couple of PHP MVC frameworks available in the market, yet the two most prominently discussed and heard are Laravel and Codeigniter.

Let us see in the following text which PHP web development services framework is better as in recent times lots of discussions are doing rounds in the industry.

What is Codeigniter?
An MVC framework based on PHP,  Codeigniter helps develop apps quite fast. It is useful for carrying out various options and to connect to the database. The security and encryption procedures are very much up to the mark. Some of the basic salient features of Codeigniter are –

MVC Frameworks for developers are user friendly
Data is encrypted with paging facilities
Error logging is much faster along with file uploading
XSS Filtering and higher security levels
Image manipulation library
Supports class extension and hooks
URLs are SEO friendly

What is Laravel?
Easing the development works like routing, caching, authentication and sessions, Laravel is a web app framework very much in demand and much in use by the developers. It is released under MIT license its source code is hosted on GitHub. Few important features of Laravel development services include:

Caching mechanism is built-in
Authentication mechanism inbuilt
Better IO with better modular packaging
User-friendly blade tempting machine
Can easily integrate with third-party libraries
Quality session control one of the finest
Fully composer based dependency manager

Learn in more details here: https://webmobileappcreator.wordpress.com/2020/07/10/laravel-vs-codeigniter-which-php-framework-is-better/
How To Obtain The Best Website Designing Services For Your Business?

Tags: websitedevelopment, webdev, design, discuss
Published: 2020-07-13 06:47:13

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

In the ever-growing digital world, having a website of your business is essential. It may grasp customers and clients that your business could not get without an online presence. Regardless of which [website development company](https://www.propelguru.com/website-development/) you choose, some fundamental principles and tips You must keep in mind to show your organization in the best light. 

**Step 1: Work on your Budget**
If you are establishing your business fresh with a tight budget in hand, you should have a clear vision of what you require and how much you are willing to pay for the same.
Market research about the existing companies and acquiring quotes from them is a wise first step towards your selection process. 

**Step 2: Check up on their previous work**
Once you move down in the funnel and find a suitable company within your budget, ask for their previous work. Go for some background check with the type of clients they are working with, do you like what they have served their clients with till now. In short, is the previous work of theirs, satisfying your taste and expectation. It will also give you a clear idea about their stability. 
It’s all about creativity. Settle only when you find the best website development company according to your business.

**Step 3: Meet your point of contact in the company**
You are now in the final steps of your selection process. If you have decided to work with a particular company, don’t miss a chance to meet your point of contact in the company. People you are currently meeting will not be the ultimate workers on your website, so to avoid future chaos, meet the people you will interact with.

**Step 4: Timeline is important**
You are now about to sign the deal with a website development company, wait, how much time it will take to finish the work. Don’t forget to ask this question and even get it mentioned in the contract, if any. It will save you time in the future.

Luckily, [Propel Guru](https://www.propelguru.com/) considers all the parameters and helps build an efficient website for various clients.
🔥 How To Be More Productive As Software Engineer | BugTalks | Episode #1
Tags: testing, tutorial, beginners, webdev
Published: 2020-07-13 07:11:37

✅ Join us - https://sendfox.com/thetestingacademy
✅ Master API Testing - https://learnapitesting.com

In this video, We are going to discuss the 9 Productivity Tips for Software Testers, Developers.

These are the exact methods I have used and got awesome results, Lets jump into it...


[![ Productive As Software Tester](https://i.imgur.com/tD35tlC.png
)](https://youtu.be/wMaej9d20WA "Productive As Software Tester")


So, Productivity is one of the challenges that I always have, I used to struggle to the task. 

> According to the Parkison Law, Which states that the Work expands within Given Time.

So if you have 1 day to write a 10 manual test, you will write 10 but if the same thing you can do it in 2 hours also.


- 🚀 Eat that frog Book: https://amzn.to/327rtra 
- 🚀 The 4-Hour Work Week: https://amzn.to/3eqgGeh
- 🚀 Best Website Blocker: https://bit.ly/3iQCMKd
- 🚀 Pomodoro Timer: https://pomotodo.com/
- 🚀 Download Notion: https://scrolltest.com/notion
- 🚀 Download Freetom.to: https://bit.ly/3iQCMKd


--
Be sure to subscribe for more videos like this!

[![ TheTestingAcademy](https://dev-to-uploads.s3.amazonaws.com/i/r7vcy6wbvyjbk1y1uu0o.png
)](https://www.youtube.com/TheTestingAcademy?sub_confirmation=1 "TheTestingAcademy")
It doesn’t work with Electron latest version
Tags: electron, javascript
Published: 2020-07-13 06:38:08

---
title: It doesn’t work with Electron latest version
published: true
description: Electron latest version doesn't work with windows-installer
tags: electron,javascript
//cover_image: https://direct_url_to_image.jpg
---

Hi folks,

I updated my electron app to the latest version(9.0.5), After that, I faced the problem. All build steps good working on the terminal but I want to run app.exe from generated windows-installer It doesn’t work. I returned back to prev version(8.3.4). Everything is good for working. I don’t understand what is the problem. Is anybody can help me?
Understanding Kubernetes: part 35 – Labels & Selectors
Tags: kubernetes, devops, docker, beginners
Published: 2020-07-13 06:20:56

---
title: Understanding Kubernetes: part 35 – Labels & Selectors
published: true
description: Serie of sketchnotes about Kubernetes. Explaining in a visual way Kubernetes principles.
tags: Kubernetes, DevOps, Docker, beginners
series: Understanding Kubernetes in sketchnotes
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/2ivnr9uk8daoj0xld1rc.jpg
---

Understanding Kubernetes can be difficult or time-consuming. In order to spread knowledges about Cloud technologies I started to create sketchnotes about Kubernetes. I think it could be a good way, more visual, to explain Kubernetes (and others technologies).

We continue the serie of Kubernetes Sketchnotes with a focus about labels and selectors.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/2ivnr9uk8daoj0xld1rc.jpg)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/xmqlac29zjg7a371lrlx.jpg)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/0mmtcht70tg1e0urvc35.jpg)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/afkifo4mv2sv6udyobn0.jpg)

If you are interested, I published all the sketchnotes on Kubernetes (and new ones!) to make a "book" of 120 pages: ["Understanding Kubernetes in a visual way"](https://gumroad.com/aurelievache#uCxcr).

As usual, if you like theses sketchnotes, you can follow me, and tell me what do you think. I will publish others sketchs shortly :-).