teleren/devto huggingface dataset:
What if the recruiter refuses to give a range? // Live stream recording
Tags: career, negotiation, beginners, hiring
Published: 2020-02-26 08:38:09

Adam and I answer a question about what to do if the recruiter refuses to give you salary expectations or a range.

Recording from Candidate Planet's first ever Office Hours Ask-Me-Anything AND first audio appearance of the other half of DangoorMendel.

CANDIDATE PLANET:
Empowering candidates to ace interviews and negotiate offers. We answer questions from anyone, and have had great results working with engineers, developer advocates, designers, marketers, managers, recruiters, and many more. 

Leave a comment or email ask@CandidatePlanet.com with questions you want us to answer.

SUBSCRIBE:
☆ Youtube ☆ https://youtube.com/channel/UCdvny6qs8e4VUJIG01puw2Q
☆ Newsletter ☆ https://dangoormendel.com/newsletter

MORE ABOUT US:
☆ Website ☆ https://dangoormendel.com
☆ Speaking Inquiries ☆ lusen@candidateplanet.com
☆ Client Inquiries ☆ hello@dangoormendel.com
☆ LinkedIn Lusen ☆ https://linkedin.com/in/lus
☆ LinkedIn Adam ☆ https://linkedin.com/in/adamdangoor
☆ Twitter Lusen ☆ https://twitter.com/staycalmcomic
☆ Twitter Adam ☆ https://twitter.com/AdamDangoor

{% youtube 511IE1HhZvE %}
What is the difference between 'Var' and 'Let' ?
Tags: javascript, beginners
Published: 2020-02-26 07:41:52

First of all, I want to talk about *Javascript Scopes*.
Scopes determine the accessibility of the variable. You can't access a variable from outside of its scope.

In Javascript, before ES6 there were two types of scope:

1. Global Scope
2. Local Scope (Function Scope)

## Global Scope

Any variable declared outside of a block or function is inside *Global Scope*.You can access these variables from everywhere.

___
## Local Scope (Function Scope)

As the name suggests, variables declared inside the Function has Local Scope. They can only be accessed inside the Function.

___

ES6 introduces **Let** and **Const** variables that can be scoped to a block. So now there is one more type of scope.

## Block Scope

In Javascript curly brackets creates a block. So if you declare a variable inside the block with **Let** or **Const**, you can't access it from outside of that block.

***

# Var
Variables declared with **Var** has function scope. You can't access this variable from outside the function. However, if you declare variables inside the block with **Var** you can access it from outside.

[![block.png](https://imagehost.imageupload.net/2020/02/26/block.png)](https://www.imageupload.net/image/L6dTB)

Unlike **Var**, **Let** has block scope. You can only access these variables from inside the block. So if you try to access from outside it will give you *Reference Error*.

[![let-block.png](https://imagehost.imageupload.net/2020/02/26/let-block.png)](https://www.imageupload.net/image/L6HRs)

___

You can reassign the variable that declared with **Var**.

[![var-reassign.png](https://imagehost.imageupload.net/2020/02/26/var-reassign.png)](https://www.imageupload.net/image/L6nVK)
But you can't with **Let**.

[![let-reassign.png](https://imagehost.imageupload.net/2020/02/26/let-reassign.png)](https://www.imageupload.net/image/L64NM)

___

Var declarations (`var a`) whenever they occur, they move up to the top of the file. This is called `hoisting`.With this, you can do something like this. (You can read more about `hoisting` if you click [here](https://developer.mozilla.org/en-US/docs/Glossary/Hoisting))

[![var-hoisting.png](https://imagehost.imageupload.net/2020/02/26/var-hoisting.png)](https://www.imageupload.net/image/LMGyv)

With **let** you can't do this. It will give an error:

[![let-hoisting.png](https://imagehost.imageupload.net/2020/02/26/let-hoisting.png)](https://www.imageupload.net/image/LMgla)

___

##Reference

- https://developer.mozilla.org/en-US/
Top Android App Development Frameworks Of 2020
Tags: android, startup
Published: 2020-02-26 07:21:05

Mobile app development is more popular than ever before. With the steep decline in the price of both smartphones and the internet, the space is ripe for further investments. Both android apps and iOS apps have seen a huge growth in popularity and usage in recent years.

An increasing number of entrepreneurs are getting into this space without a clear idea of what they want to accomplish so let’s take a quick look at what one needs to know about the android app development framework.

There are many android frameworks out there that one can choose from. We took the time to break down the available choices into a list of the top five android app development frameworks.

For More: https://medium.com/@vinothinoru/top-android-app-development-frameworks-of-2020-e825e2ef467e
Learn Python 3 from One Picture!
Tags: python, beginners, githunt
Published: 2020-02-26 07:15:08

---
title: Learn Python 3 from One Picture!
published: true
description: 
tags: python , beginner , githunt
canonical_url: https://dev.palashbauri.in/learn-python-3-from-one-picture-ck72zn28706tddfs1gz2342bp
---
**Source :** [Github: coodict/python3-in-one-pic](https://github.com/coodict/python3-in-one-pic/blob/master/py3%20in%20one%20pic.png)
[![Image](https://i.imgur.com/nDPI4Xs.png)](https://i.imgur.com/nDPI4Xs.png)
Laravel Create Custom Class
Tags: laravel, php, class
Published: 2020-02-26 06:31:53


First we will [create custom class](http://coderuck.com/) file inside laravel project app/Classes If Classes folder doesn't exist inside app folder then create it manually.

![coderuck-laravel-custom-class-1](https://webadmin.coderuck.com/public/editiorimages/coderuck-laravel-custom-class-1_1582697843.PNG)

Second step is to create your class file, I have created like SendSms.php inside your app/Classes folder.

Third step define your class code.

![coderuck-laravel-custom-class-2](https://webadmin.coderuck.com/public/editiorimages/coderuck-laravel-custom-class-2_1582698099.PNG)

Finally you have created your custom class now how to access custom class method.?

Define use App\Classes\SendSms; on the top of your controller.Then only you can able to access custom class method.

![coderuck-laravel-custom-class-3](https://webadmin.coderuck.com/public/editiorimages/coderuck-laravel-custom-class-3_1582698376.PNG)

[@Other Reference](http://coderuck.com/laravel-create-custom-class/50)

[@Coderuck](http://coderuck.com/)
What are the agile testing levels?
Tags: agiletesting, useracceptancetesting
Published: 2020-02-26 06:29:40

In Agile undertakings, test levels are frequently characterized in the meaning of the done record which are coherently identified with one another and demonstrates the wide test inclusion territory. Since testing in dexterous is never again a different stage without anyone else, all test levels cover with one another. The client stories which contain prerequisites and structure depiction and advancement alongside testing exercises cover with one another.

Scrum carefully disallows item proprietor changing necessities in the dash; be that as it may, the group can advance the run excess as they reveal new insights regarding a client story. During an emphasis, here is the arrangement of tests: 

Unit testing, normally done by the engineer, however here and their analyzer likewise makes a difference 

Highlight acknowledgment testing, which might be broken into a couple of exercises: 


Highlight confirmation testing, which is regularly computerized 


Highlight approval testing, which includes everybody and for the most part done physically 

Case of Feature acknowledgment testing: 

Automated tests are regularly utilized for running parallel <a href="https://www.testingxperts.com/services/devops-agile-testing/">agile testing</a> to test, if any of the recently created highlights may have broken. The constant mix system additionally aides checking if any forms are neglecting to code accumulation blunders. The framework level test may likewise begin when client stories are finished. 

There are different tests like execution, unwavering quality, convenience tests which may likewise run in parallel to the framework tests. Acknowledgment testing may likewise incorporate alpha and beta tests dependent on the kind of the item being grown, either in emphasis or toward the finish of the discharge. <a href="https://www.testingxperts.com">User acceptance testing</a> toward the finish of the cycle is a smart thought. In controlled situations, certain administrative testing additionally might be standard to fulfill the review of consistency rules.
I created Git-Widget for websites/blogs.
Tags: showdev, javascript, webdev, npm
Published: 2020-02-26 05:50:20


Showcase your project's open-source timeline on their websites/blogs using **git-widget**.

# Check it out

{% codepen https://codepen.io/Prafulla1998/pen/OJVNzxP %}

# Usage 

## - Via Script

```html
    <git-widget data-projectid="Pika1998/CYOMS"></git-widget>
    <!-- Place script tag before the end of the body tag -->
    <script src="https://unpkg.com/git-widget@1.0.0/dist/card.component.mjs" type="module"></script>
```

## - Via NPM 

This can be used in React, Vue and almost any other frontend framework 
```sh
npm install --save git-widget
```

Inside your framework component
```js
import 'git-widget'
```
Then you can use
```html
    <git-widget data-projectid="Pika1998/CYOMS"></git-widget>

```

Check out the detailed documentation at

{% github Pika1998/Git-Widget %}


 Github - https://github.com/Pika1998/Git-Widget
 NPM - https://npmjs.org/package/git-widget
 Codepen - https://codepen.io/Prafulla1998/pen/OJVNzxP

# Feel free to make contributions to the project 💖 and 🌟 the repository.
How Do You Boil the Ocean?
Tags: devops
Published: 2020-02-26 13:15:30

---
title: How Do You Boil the Ocean?
published: true
date: 2020-02-26 05:46:31 UTC
tags: DevOps
canonical_url: https://chrislayers.com/2020/02/26/how-do-you-boil-the-ocean/
---

This is a phrase I end up using a lot while talking with clients. I used to use a different phrase about elephants but moved away from that language to be more respectful. Let’s start with what it means, at least in the context I use it, and why this phrase is so useful when talking about Devops.

![](https://chrislayers.files.wordpress.com/2020/02/sunrise_at_ocean1.jpg?w=1024)

## The Meaning

I’ve seen and heard a few meanings and usages of the phrase, “Boil(ing) the Ocean”. I’ve heard many negative contexts like: to undertake an impossible task or project. I usually use it in this context, Here is a big task with lots to do, how do you get started and make progress?

## Applied to DevOps

So how, and why do I apply this strange phrase to DevOps? Because as I work with clients, educating them and enabling them, they start getting excited. Depending on where they are in their DevOps journey, they might have a bigger or smaller list of things they want help with. Maybe its Infrastructure as Code (IaC), and a pipeline to help release it consistently and repeatedly. Maybe they are using a centralized version control system and are interested in moving to git and picking a branching strategy to work more effectively. When they release those cool new features, do they have monitoring and observability in place to know if and how their users are using those features? I could go on for a while, there are so many things that can impact an organization’s software delivery performance. And like “boiling the ocean” it seems like that can be an impossible task.

So how do you “boil the ocean”? One cup at a time. Iteratively make progress. Progress over perfection. Don’t _choose_ to do nothing because its **not** perfect. Make an improvement, any improvement. Pay attention to the results, take that feedback and make another improvement. Just like a pot of water, the ocean won’t go from cold to boiling, it takes time.
&str和String
Tags: rust
Published: 2020-02-26 05:28:46

在 `Rust` 中 `&str` 是字面量值, 程序编译成二进制文件后，这个字符串会被保存在文件内部, 为了保持这个字符串在固定位置的引用, 所以要加引号.由于已经被保存在文件内变成了二进制, 所以不需要生命周期, 它是Static的, 整个程序的任何时候都能访问.

而 `String` 它其实是Vec的一种实现.
关于 Box<T>
Tags: rust
Published: 2020-02-26 05:16:59

### 适用场景

1. 当有一个编译时未知大小的数据类型，而有需要在确切大小的上下文中使用这个类型值的时候；
2. 当有大量数据并希望在确保数据不被拷贝的情况下转移所有权。
3. 当希望拥有一个值并只关心它的类型是否实现了特定的Trait而不是其具体类型时。
Chingu Weekly 107 - job, projects, & cheetahs! 
Published: 2020-02-26 04:22:07

---
title: Chingu Weekly 107 - job, projects, & cheetahs! 
published: true
description: 
tags: 
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/p902xp34jb788dqwz6ef.jpeg
---

## News, Shout-outs & Showcases

🎉 Congratulations @ivilili18 on getting your first job as a frontend developer!!

🚀 We're launching the [Cheetah Dash](https://dev.to/chingu/chingu-cheetah-dash-prep-pack-so-you-don-t-freak-out-before-we-start-4g4) cohort this week! 100+ coders from 35+ countries will go on a code adventure to build as many projects as they can in a month. 

🔥 A collection of dark [Visual Studio Code themes](https://marketplace.visualstudio.com/items?itemName=eddyw.azure-shades) using azure colors by the legendary @ eddyw! 


🔥Andrew Sabato wrote this article called [2020 Apollo + GraphQL State Management](https://medium.com/@andrewsabato8/2020-apollo-graphql-state-management-8da78ab25f82)! 


🔥Check out Adam Shaffer's article [My favorite resources for learning web development and coding](https://medium.com/chingu/my-favorite-resources-for-learning-web-development-and-coding-a95fe7aa0008). 


🔥Varun wrote an article called [You Know More Than You Think](https://dev.to/chingu/you-know-more-than-you-think-59ib). Check it out! 


## Overheard in Chingu

>Toronto is a big tech city now
You know what I really loathe? The employers who want prospective employees to basically work for free for half a day, or even a full day. Like a "trial run"
People test on dsa , which has 0 practical value in real world
Yeah I've been casually looking at options. Amsterdam and Berlin stick out to me. Or Canada, Toronto sticks out to me.
Who you calling nerds
I have a friend who has a friend who has a friend who - oh okay
A slow one, wasted so much time on wrestling with Mongoose
I don't wanna make donuts… I wanna code.
I'd love to redo all my React projects, simply because I really struggled with them and would like to improve.
the beer or the virus?
On a lighter note I've always wanted to catch an AC game
they don't have wine in germany?

## Resources of the week

From @ marekiaro

>Well, this is not properly a resource, but hey, such an amazing way of making a portfolio 

https://bruno-simon.com/

## Meme to go
![Meme](https://dev-to-uploads.s3.amazonaws.com/i/p7ftsn5g7k4zsv21v350.png)

See you next week!
PHP Quick Tip: How to check loaded extensions on CLI
Tags: php, tip, cli
Published: 2020-02-26 03:41:15

Suppose we have PHP installed on our machine and we want to quick check what extensions loaded on our PHP. Plus you just want to know through CLI. It's easy.

Usually I just type this.

```
php -i
```

It will display complete information about PHP and all its configuration. It is similar like we call `phpinfo()` function.

The second is typing this command.

```
php -r "print_r(get_loaded_extensions());"
```

It will display loaded extensions only. The result example is like below.

```
Array
(
    [0] => Core
    [1] => date
    [2] => libxml
    [3] => openssl
    [4] => pcre
    [5] => zlib
    [6] => filter
    [7] => hash
    [8] => pcntl
    [9] => Reflection
    [10] => SPL
    [11] => sodium
    [12] => session
    [13] => standard
    [14] => mysqlnd
    [15] => PDO
    [16] => xml
    [17] => bcmath
    [18] => calendar
    [19] => ctype
    [20] => curl
    [21] => dom
    [22] => mbstring
    [23] => fileinfo
    [24] => ftp
    [25] => gd
    [26] => gettext
    [27] => iconv
    [28] => igbinary
    [29] => imap
    [30] => json
    [31] => exif
    [32] => msgpack
    [33] => mysqli
    [34] => pdo_mysql
    [35] => Phar
    [36] => posix
    [37] => readline
    [38] => shmop
    [39] => SimpleXML
    [40] => sockets
    [41] => sysvmsg
    [42] => sysvsem
    [43] => sysvshm
    [44] => tokenizer
    [45] => wddx
    [46] => xmlreader
    [47] => xmlwriter
    [48] => xsl
    [49] => memcached
    [50] => Zend OPcache
)
```

Thank you and I hope you enjoy it.

## Credits
- Cover image Pencil Shred by Pixabay from https://www.pexels.com/photo/cake-candy-celebration-chocolate-261738/
Practical GIT Command for Working with the Project (Part 1)
Tags: git, tutorial, productivity, beginners
Published: 2020-02-26 03:38:20


Git is a Version Control System (VCS) probably known and used by all programmers nowadays. It uses for managing your projects, files, and changes much easier and more intuitive. But, as it's a big and complex system, people new to programming can have a hard time learning it.
In this opportunity, I want to share my experiences using all basic commands which I still used until today. 

## Lets start

``` git clone ```
This is the first command we will use when we want to make some improvements or creating changes in some projects. This command will copy the project to our local/machine.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jk735arazt34fp46bivs.jpg)

``` git branch ```
We use this command when we want to check which branch we are in right now.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/tlkra3ignhj5x81bnvm3.jpg)

## 3 Important Commands
Next, those are 3 commands which we used sequentially because of the condition and the nature of the command. As long as we worked with Project with GIT, we will use them. Those are `git add`, `git commit`, and `git push`.
Below I will elaborate more how to use them.

``` git add ```
After we already satisfied with the changes we made, We can add all the changes we made to our remote repository. we can use this command to verify, choose, and mark which changes to be pushed to our remote repository.

``` git commit -m <your_commit_message> ```
When you want to commit, we need to input a message about a commit we make. Usually in this part, we will describe or elaborate the changes we created in this commit. So our team can know and get the context about the change we created.

``` git push ```
After we verify with `git add`, commit the changes with `git commit`, Next with this command, we can push our changes to the remote repo so the changes we made will be updating our remote repo.

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

## Some Thought
You can follow this tutorial now and can start contributing to some simple projects. All the steps above can help a person who wants using GIT immediately without knowing too much detail for what the GIT itself.

Next, I will cover how to use GIT if we have something to do in the middle of the project. I will create this tutorial in 3 parts. So follow this tutorial until the end.

I think that's what I want to share right now for this article. Leave a comment below about your thoughts! Thanks.
Working the project with 'Team'
Tags: git, laravel, php, codequality
Published: 2020-02-26 02:37:45

## introductions
This is maybe not gonna work for some of you . but so far it has been helping me throughout my software development career path. 

## Tips & Best Practices
### Naming Conventions
it would be nice if the variable naming conventions follows [Laravel Best Practice](http://www.laravelbestpractices.com/) it would be like 20 minutes reading.
### Pushing and Pulling Codes from Repositories
* refer this docs [git forks and upstreams](https://www.atlassian.com/git/tutorials/git-forks-and-upstreams)
* always pull from ```Master (upstream/master)```  upstream branch every single time u want to commit or start coding or before pushing codes. 
* always check for conflict issue and fix it before pushing .
* always follow commit message formats [Commit Message Standards ](https://dev.to/puritanic/how-are-you-writing-a-commit-message-1ih7). most of the time i'll be using feat and fix. below are the sample of my commit message
    * fixes - `fix : update logic codes of this feature`
    * feature - `feat : create new endpoints for feature`
*  if youre fixing bug or adding feature or enhancement, put the github issue number as follows `fix : issue #385` or `feat : issue #385`
* always run `bin/csfix.sh` before pushing. this is to ensures that code style across application would be the same and formatted.

### Code Branching
* always practice creating a new branch for new features or fix. 
* everytime you want to do sprint endpoints always create new branch for your sprint eg: `sprint-12` do not use the `Master` branch for every commit you want to make. 
* once the commit and push the codes into the branch , make a pull request to **upstream** `Master (upstream/master)` branch .
* it'll be easier if u create new branch from **upstream** `Master (upstream/master)` and code whatever u need  inside that separate branch. 
* after pull request has been merge, please delete the branch. and start over again if you want to run a new sprint.
* always pull codes from **upstream**  `Master (upstream/master)` by running `git pull upstream master`


i would be grateful if you can add more.
Python: Set Interval
Tags: python
Published: 2023-01-06 01:38:48

---
title: Python: Set Interval
published: true
date: 2020-02-26 02:34:03 UTC
tags: Python
canonical_url: https://brandonrozek.com/blog/pythonsetinterval/
---

Javascript has a function called `setInterval` which given a length of time $T$ and a callback function, it will perform that function every $T$ milliseconds. For example, to print “Hello, World!” every 5 seconds:

```
setInterval(function() {
    console.log("Hello, World!")
}, 5 * 1000)

```

Wouldn’t it be nice if Python had a similar functionality? Well thanks to [right2clicky](https://stackoverflow.com/a/48741004), there’s a nice and quick way to implement one.

```
from threading import Timer

class Repeat(Timer):
    def run(self):
        while not self.finished.wait(self.interval):
            self.function(*self.args, **self.kwargs)

```

Since `self.finished.wait` only returns `True` when the Event `self.finished` is set to true, the thread will keep waiting and calling the function for the set interval time period.

The same post has a usage example:

```
from time import sleep

t = Repeat(1.0, lambda: print("Hello, World!"))
t.start()
sleep(5)
t.cancel()

```