teleren/devto huggingface dataset:
How to not Demotivate (2)
Tags: beginners, codenewbie, motivation
Published: 2021-01-17 15:04:49

# So
This post will start by saying that is **fine to be a beginner**, everyone who is now an expert and professional with a lot of experience in the area already was. **Being a beginner is the first step to learn something new.**

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

## In the beginning
The idea that beginners had on their head is to do great things and that is fine... but don't forget that you are just a beginner. Let's start slowly, take some notes, and **practice**. It is recommended to get some free samples from the store to study and get some experience, there is a lot of free content available for everyone. **If you a beginner, don't start expending a lot. ** 

## Meanwhile
The beginner can get finally some results (that's great!) and can share them with the other users. Working on the same area where the beginner is learning, those **users can give feedback to improve and help to be better!**

But, **there is a lot of people waiting to get you down** (they cannot see someone getting results and success). **Don't let them put you down**, you are a beginner remember? So, **what you learned and what you did is already a big great achievement!!**

## At the end
You can learn a lot of things but don't forget that there is a huge world (and concepts and techniques and so on) waiting to be discovered. It's always good to share knowledge and to learn from other's experiences.

![just_do_it.jpg](https://dev-to-uploads.s3.amazonaws.com/i/v5qcsn77tgk067e84oim.png)

## Last Comments
1. **All developers struggle from time to time.** 
Keep going! And you will get results!

2. **Everyone will not be friendly.** Sometimes when you are finally getting results, someone just can say that you did nothing because the asset was available on the Marketplace or on the store... But **you know all the time that you spent struggling to put the things working!**

3. **Finalizing your project!**
If you are loving what you do...
if you are learning...
You will be able to reach the final of your project!

Keep going! 

### Social Media:
You can follow me on:
- [Youtube](https://www.youtube.com/c/DavidRicardo97/)
- [Twitter](https://twitter.com/DavidCRicardo/)

### Credits to:
- Cover Image: [Inspiring Decisions](https://www.inspiring-decisions.com/lorem-ipsum-8/)
- Image on the post: [AgileKnowHow](https://agileknowhow.com/2018/11/14/just-do-it/)

*[PS: When writing this article I am also writing for me]*
My Experience In MLH Local Hack Day: Build | Tech-Bubble 
Tags: mlh, majorleaguehacking, localhackday
Published: 2021-01-17 15:03:14

Hello everyone, this is Manish today through this I would like to share my experiences with **[MLH Local Hack Day: Build](https://manishbarnwal.tech/experience-in-hacker-community)** if you are hearing this term for the first just head to my previous [blog](https://manishbarnwal.tech/experience-in-hacker-community). 

So, basically this a weeklong challenge on which we have to be a part of a guild and fortunately I created a guild name **Tech Bubble** which a small guild but with the help of my guildmates we are keeping ourself in Top 20 throughout the leaderboard where almost 150+ guild is participating and 10,000+ participants. 

{% twitter 1349416921804914688 %}

If I talk about the challenges we were given was quite exiting and even a few are challenging. But as MLH had also organised many hands-on sessions and workshops for us to learn about the technologies and get your hand dirty with the same. 

It was really fun we build lots of projects, played lots of game together and also did a few in guild events. 

{% twitter 1350715573395619840 %}

And also in the weekend, we had participated in an MLH Partnered Hackathon named [Rose Hack](https://rosehack.com/) it was also great fun. I would also like to share my projects here in this blog I hope you will like it.

{% github imanishbarnwal/mlh-local-hack-day %}

Okay guys, thanks for being with me till here, I hope you enjoyed this. And want to be part of the event from next season. See you there!! :)
Using vscode as editor in zsh terminal
Tags: bash, linux, vscode
Published: 2021-01-17 15:03:02

Add following line in your .zshrc file and save.

```javascript
editfile() {
    sudo code $1 --user-data-dir
}
```
And try this command on zsh bash.

```javascript
editfile /etc/hosts
```

This command must open hosts file with vscode.

You can edit the "editfile" statement according to your own.

Thanks for reading.
Day 24 of 100DayOfCode : Simple Code On Python Iterator, Filter, Map
Tags: 100daysofcode, codenewbie, beginners, python
Published: 2021-01-17 14:52:57

Today I completed 24th Day of #100DayOfcode and #python. Today I also revised python basic with the help of internet and Youtube.
Tried to write some code in python.

New things today I learned were python iterator, python map, python filter, python reduce on  youtube and with the help of friend. some simple code today I learned given below.

# Some Simple Code On Python Iterator, Filter, Map
Python iterator is an object that can be iterated upon meaning that we can traverse through all the values. Technically, in python , an  iterator is an object which implements the iter protocal, which consists of the method `__iter__()` and `__next()`

```python
class TopTen:
    def __init__(self):
        self.num = 1
    def __iter__(self):
        return self
    def __next__(self):
        if self.num <= 10:
            val = self.num
            self.num += 1
        
        return val
    
values = TopTen()
print(values.__next__())
print(values.__next__())
```
The map() function executes a specified function for each item in an iterable. The item is sent to the function as a parameter.

```python
numbers = (1, 2, 3, 4)
result = map(lambda x: x*x, numbers)
print(result)


numbersSquare = set(result)
print(numbersSquare)
```
The filter() method constructs an iterator from elements of an iterable for which a function return true.

In simple words, filter() method filters the given iterable with the help of a function that test each element in the iterable to be true or not.

```python
def is_even(n):
    return n % 2 == 0
nums = [2,3,4,6,8,6,5,7]
evens =list( filter(is_even,nums))
print(evens)
```
The reduce (fun, seq) function is used to apply a particular function passed in its argument to all of the list elements mentioned in the sequence passed along. This function is defined in "functools" module.


```python
from functools import reduce 
nums = [2,3,4,6,8,6,5,7]
evens =list( filter(lambda n : n% 2 ==0,nums))
double =list(map(lambda n : n*2,evens))
sum = reduce(lambda a, b : a+b ,double)
#print(double)
print(sum)
```

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Day 24 of <a href="https://twitter.com/hashtag/100DaysOfCode?src=hash&amp;ref_src=twsrc%5Etfw">#100DaysOfCode</a> and <a href="https://twitter.com/hashtag/Python?src=hash&amp;ref_src=twsrc%5Etfw">#Python</a> <br>* More About Python Basic<br>* Learned About Python Iterator, Map, Filter, Reduce<br>* Some Code On iterator, filter, Map <a href="https://t.co/RWmGydHX34">pic.twitter.com/RWmGydHX34</a></p>&mdash; Durga Pokharel (@mathdurga) <a href="https://twitter.com/mathdurga/status/1350810463982899200?ref_src=twsrc%5Etfw">January 17, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
JavaScript unique object properties from object array
Tags: javascript
Published: 2021-01-17 14:50:24

The issue at hand, we have an array of objects with specific categories, and I want to have a list of all these categories.

I'll show you how we did this before using a manual loop and how easily this can be done with the Set and Map combination.

Our input array

```js
const data = [
  {id: 1, price: 12, category: 'T-shirt'},
  {id: 2, price: 50, category: 'Jeans'},
  {id: 3, price: 7, category: 'Cap'},
  {id: 4, price: 15, category: 'T-shirt'},
  {id: 5, price: 6.5, category: 'Cap'}
];
```

As you can see a pretty random array, how do we go about getting the following output?

```js
const output = ['T-shirt', 'Jeans', 'Cap'];
```

## Manually looping (Old-way)

Before Set and Map, we would need to do this. We would choose to have a temporary variable and push values into it based on whether they existed.

```js
let unique = [];
for (let i = 0; i < data.length; i++) {
  if (!unique.includes(data[i].category)) unique.push(data[i].category);
}
// [ 'T-shirt', 'Jeans', 'Cap' ]
```

The outcome is exactly what we want, but it can be written way easier and nicer.

## JavaScript array of unique properties

To get this unique properties array, we first need to map out input data to an array containing just the categories. For this, we will use the [Map method](https://daily-dev-tips.com/posts/javascript-map-method/).

```js
const mapped = data.map(item => item.category);
// [ 'T-shirt', 'Jeans', 'Cap', 'T-shirt', 'Cap' ]
```

We map our input data only to return the category, which gives us all the categories.

But, as you can see, we still have duplicates. This is where [JavaScript Set](https://daily-dev-tips.com/posts/javascript-es6-sets/) comes in handy. It will only keep unique values.

```js
const unique = [...new Set(mapped)];
// [ 'T-shirt', 'Jeans', 'Cap' ]
```

We can even write this as a one-liner:

```js
const unique = [...new Set(data.map(item => item.category))];
```

As you can see, this can be super powerful to get unique valued properties quickly.

### 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)
How to split table in CSS?
Tags: html, css, tutorial
Published: 2021-01-17 14:46:46

Hello, guys in this tutorial we will learn <a href="https://blog.stackfindover.com/how-to-split-table-in-css/" rel="dofollow">how to split tables using HTML & CSS</a>.

###HTML Tables###
**HTML tables allow web developers to arrange data in rows and columns.**

The `<table>` the tag defines an HTML table Code.
Each `<tr>` tag use for table row.
Each `<th>` tag use for table header.
Each table data/cell is defined with a `<td>` tag.
By default, the text in `<th>` elements are bold and centered.
By default, the text in `<td>` elements are regular and left-aligned.

How to split table
```html
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Table </title>
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
   </head>
   <body>
      <table class="table-bordered">
         <col>
         <col>
         <col>
         <colgroup span="4"></colgroup>
         <col>
         <tr>
            <th rowspan="2" style="vertical-align : middle;text-align:center;">S.No.</th>
            <th rowspan="2" style="vertical-align : middle;text-align:center;">Item</th>
            <th rowspan="2" style="vertical-align : middle;text-align:center;">Description</th>
            <th colspan="3" style="vertical-align : middle;text-align:center; width: 50%;">Items</th>
            <th rowspan="2" style="vertical-align : middle;text-align:center;">Rejected Reason</th>
         </tr>
         <tr>
            <th scope="col">Order</th>
            <th scope="col">Received</th>
            <th scope="col">Accepted</th>
         </tr>
         <tr>
            <th>1</th>
            <td>Watch</td>
            <td>Analog</td>
            <td>100</td>
            <td>15</td>
            <td>25</td>
            <td>Not Functioning</td>
         </tr>
         <tr>
            <th>2</th>
            <td>Pendrive</td>
            <td>16GB</td>
            <td>25</td>
            <td>16</td>
            <td>85</td>
            <td>Not Working</td>
         </tr>
      </table>
   </body>
</html>
```
**if you want to break a word in a table or want to split the table in <a href="https://blog.stackfindover.com/category/html-css/" rel="dofollow">CSS</a>. you can use the above code.**
New open-source Android VNC server droidVNC-NG looking for contributions
Tags: showdev, android
Published: 2021-01-17 14:39:27

The Android VNC server project [droidVNC-NG](https://github.com/bk138/droidVNC-NG) just reached version 1.0.0 and is now looking for contributors to further improve the code and add features. It's a VNC server using contemporary Android 5+ APIs and therefore does not require root access. GPL-2, mostly authored by me and named droidVNC-NG in reverence to the original droidVNC server.

Areas where contributions are most welcome:
* Keyboard handling first and foremost.
* Performance. Some stuff is still done in an rather costly way.
* Reverse aka listening VNC.
* [Open for more ideas](https://github.com/bk138/droidVNC-NG/issues).
How to live without Docker for developers - Part 3 | Push an image to Docker Hub and GitHub packages using Buildah
Published: 2021-01-17 14:35:44

As you might already know that Kubernetes is going to drop support for Docker. Starting from version 1.20 that was recently released in December 2020 you will see a deprecation warning for Docker. Docker runtime support will be completely removed from Kubernetes in version 1.22 that will be release in late 2021. After that you will need to switch to one of the other compliant container runtimes, like containerd or CRI-O inside your clusters. Despite both containerd and CRI-O know how to pull docker images and run them and Docker Images Manifest V2 and OCI image specification are almost the same, nobody knows how long Docker images will be supported.

As developers, we need to be prepared to build either docker or OCI images in just a one click and get used to living without Docker.

Therefore I decided to create a series of videos with the common title - How to live without Docker for developers.

The [third episode](https://youtu.be/DxCSsHJlumM) is already published. In this episode I'm going to show you how you can push an image to a container registry using Buildah. I will push my image to Docker Hub first and then  I will show you how to push it to GitHub packages, also known as GitHub Container Registry.

Please check it out and subscribe to my channel to be notified when my new episodes will be released.

Thank you in advance.

Link to video: [https://youtu.be/DxCSsHJlumM](https://youtu.be/DxCSsHJlumM)


Link to the first episode: [Migration from Docker to Buildah and Podman](https://youtu.be/Fl0iLoAMdzc)
Link to the second episode: [Native approach to build an image with Buildah](https://youtu.be/CLhzNZ9ZavQ)
3 necessary soft skills to get hired as a software developer
Tags: softwaredevelopers
Published: 2021-01-17 14:28:01

---
title: 3 necessary soft skills to get hired as a software developer
published: true
description: 
tags: softwaredevelopers
//cover_image: https://direct_url_to_image.jpg
---

In my experience working as a software developer for more than 6 years, I've had to work in environments in which communication has been the key to have successful projects. Today, I want to share with you these tips:

**Negotiation**: Sometimes, we do not agree with some co-workers about how to solve a technical issue, so, having the ability to negotiate the params of a controversial task is key to solving it.

A practical way to do it is talking with a technical leader, I mean, an intermediary that can help you and your co-worker fix the issue. Also, the scorecards used in SCRUM are a mechanism that can help all the team to decide what is the better focus and give you the opportunity to argue why you are choosing an option.

**Be concise**: A good practice to be effective in daily meetings is to have established order, for example, in SCRUM, all members of the team need to answer three key questions. But it's really important that each member.

**Assertiveness**: In some companies, having a knowledge base it's really important to document the more relevant concepts and to have order in each area, so, to have good writing skills to create documents with assertive content it's very relevant.

This is really useful because a lot of companies use Jira or tools like Notion.so to create documentation about weekly meetings, and other things, so, in the process of [hire software developers](https://www.sundevs.com/staff-augmentation), the companies pay a lot of attention to these soft skills.
Major League Hacking LHD: Build 2021
Tags: mlh, majorleaguehacking, localhackday, equicode
Published: 2021-01-17 14:27:52

I had enjoyed this event most in my entire life, meeting with lot of my seniors competiting with them and hard-working for position on leaderboard. 

This entire week, i had used my github most of the time, i never crossed over 20 commits in a week but during this event i did 40-50 commits per day. 

Major League Hacking gave us lot of opportunities to meet with good and hard-working developers. 

I would participate in the next Local Hack Day Event too! ❤

If you wanna be with me just visit the [MLH Website](https://mlh.io/). 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/wbcm3og1l0qmssphyei9.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/uan4ljmt3qs2ecac7ppa.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/b021v5nqsyyvf2jr2uev.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/86p3f7s9h1ejsetdggqb.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/scyeow45lysh01rwai8b.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/muu2r6onczjm88h58jgf.jpg)
The main reason to stop making whiteboard interviews to hire developers
Tags: hiredevelopers
Published: 2021-01-17 14:19:59

---
title: The main reason to stop making whiteboard interviews to hire developers
published: true
description: 
tags: hiredevelopers
//cover_image: https://direct_url_to_image.jpg
---

The whiteboard interviews have been very relevant for a lot of companies when they are looking to [hire software developers](https://www.sundevs.com/staff-augmentation), however, can be  counterproductive; here are my arguments:

Whiteboard interviews are focused on the performance of the candidate, so, when someone is looking at what are you doing the step to step, we can get nervous, and the anxiety could cause that we can't to think correctly.

This is exposed in a study published in November of 2020  from North Carolina State University and Microsoft [1]. They found that the technical interviews currently used in hiring for many software engineering positions **test whether a job candidate has performance anxiety** rather than whether the candidate is competent at coding. 

What do you think about this?

[[1] Does stress impact technical interview performance?](https://dl.acm.org/doi/abs/10.1145/3368089.3409712#.YAOlGCADIVY.twitter)
What Factors Can Slow Down the Process of hire remote software developers?
Tags: hiredevelopers
Published: 2021-01-17 14:14:00

---
title: What Factors Can Slow Down the Process of hire remote software developers?
published: true
description: 
tags: hiredevelopers
//cover_image: https://direct_url_to_image.jpg
---

Each company has a process to hire developers, but a lot of these companies not only has similar processes but also make de same mistakes

* Too many interview steps.
* A great deal of time between each stage.
* Technical tests take a lot of time for developers and the company.
* Lack of Decision-Making in the short-term.

There are many things that you can do to avoid using a lot of time in this process. For example, instead of projects at home, you can use automated technical tests. 

Also, you can reduce the number of the steps of your interview process, so it's very useful to identify what of your stages is not so necessary to [hire developers](https://www.sundevs.com/staff-augmentation).

Do you know other factors that can put slow your hiring process of software developers?
NPM Packages
Published: 2021-01-17 14:12:06

#**_Introduction_**

NPM Packages are a set of addons per say that can be added on to your JavaScript files. The serve the purpose of being able to manage, change, and execute different packages and files within your code. Beyond this NPM packages can work with source control to give you a better and more organized flow in your Git Repository. NPM Packages are most commonly used through the command line , whether its an OS CMD or an in-editor CMD.

Here are 3 NPM Packages I a going to recommend and show you today:
* npm-gui
* detect-installed
* test-all-versions

#**Package 1: npm-gui**

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/1yfvmges6k0rj8f53yln.gif)

> npm-gui is a useful tool for programmers that may be starting out with NPM Packages. This addon grants the user a graphical user interface, or gui, to manage and execute packages. For those who may struggle with the command line, this graphical interface creates an ease in the use of multiple packages in both management and organization.

> The gui portion of this package can be accessed through a localhost address in your default browser. This can be activated through a command line prompt of `~/$ npm-gui localhost:9000`. Once this is command is pushed through you just run that address into your browser and you're ready to go.

#**Package 2: detect-installed**

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

> detect-installed is another useful tool for programmers. This package checks multiple aspects of a newly installed package, such as whether it was installed globally locally, as well as it's path. This global or local checks will indicate to the programmer where that package can be accessed from, and the path check indicated how they can access it.

> You can install detect-install by running `$ npm install detect-installed --save` through the console, and then in your **package.json** file you input this line: `const detectInstalled = require('detect-installed')`.

#**Package 3: test-all-versions**

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

> test-all-versions is the final useful tool I will be talking about. This addons runs your code against all current versions of a given dependency. The usefulness in this is that maybe a dependency or package that you are using works with an earlier or later version of another dependency. This package looks for these incompatibility issues and lets the user become aware, so that they can be fixed.

> The package is put into use by `$ tav [options] [<module> <semver> <command> [args...]]`. Once all these inputs are filled, the command will be ran. This is an example: `tav mysql ^2.0.0 node test.js`.

#**_Sources_**

**My Class Teacher:** Matthew Larrubia
**NPM General Information:** https://en.wikipedia.org/wiki/Npm_(software)
**npm-gui:** https://www.npmjs.com/package/npm-gui
**detect-installed:** https://www.npmjs.com/package/detect-installed
**text-all-versions:** https://www.npmjs.com/package/test-all-versions