teleren/devto huggingface dataset:
Create a portfolio that finds clients for you
Tags: freelancer, javascript, clients, career
Published: 2020-03-06 13:00:39

Hey, devs! I recently wrote an article on how to upgrade your site to attract more freelance clients, and wanted to share some of the main principles with you:

1) Adapt the copy to your clients
![Copy example](https://dev-to-uploads.s3.amazonaws.com/i/14422yj0ny7zy2f9jh5p.png)
We might be technical people, but our copy should target our clients from a business viewpoint. Potential clients know that there's risk in hiring somebody, so help them! Instead of showing off your skills and talking about you, explain what you can do for them and their business.

2) Write case studies
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/yzjs6b8n8nsxn463bklz.png)
Don't just list your projects. Help your prospects by writing about your work process and how your work impacted past clients. 

If you want a good case study model to base yourself off, check out https://bejamas.io/blog/case-studies/. These guys do an outstanding job showcasing their work with a business perspective.

3) Focus on your local SEO strategy
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/fclelp81wdbzj1c26qty.png)
Create pages that tackle the task + geographic location + type formula.

You can even target a wider audience by switching up the type (i.e. creating pages targetting freelancer AND agency searches).

4) Make your site fast and SEO friendly
 ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/asfnf0fhh00gmclkz960.png)

You don't need a super-fancy website to get clients as a web developer. Still, visitors will leave your site if it takes more than 3-5 seconds to load. Also, having an SEO friendly website is the least we can do to show our potential leads that we can deliver excellent work. 

If you don't want to spend too much time optimizing your portfolio, you can choose an excellent static site generator such as Gatsby.js or Gridsome, which will do the heavy lifting for you, and then make sure that you get a decent Lighthouse Audit score.

You can absolutely optimize your website to get more (and better) clients, but there's no need to get overwhelmed. Focus on these low-hanging fruits first, and then slowly keep tweaking it to make it a portfolio that attracts premium clients. 

Full article, weekly interviews with top freelancers and many more resources for freelance devs: https://thefreelancechoice.com/casestudies
Daily Developer Jokes - Friday, Mar 6, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-03-06 13:00:29

---
title: "Daily Developer Jokes - Friday, Mar 6, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Friday%2C%20Mar%206%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12592aa5db7.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
Asynchronous JavaScript is amazing.

I Promise you, await and see.
 -->
Why to Choose React Native and Ionic Developers?
Published: 2020-03-06 12:51:36

Building a progressive app or a mobile app is centerstage in 2020. Mobile penetration has taken over desktop, a couple of years ago and most of today’s surfing happens on the mobile. In fact, an average consumer in the West uses his mobile for 2 hours 51 minutes every day(Source: Leftronic). 

This has pushed the case to have a mobile first or a Progressive Web App strategy for today’s business as today’s consumer is accessing the Internet on the move and during his spare time and this is done predominantly via his smartphone.


React Native Development
How do a business take advantage of this vast market that keeps increasing year on year? The first step is to have a web presence to cover the basics. Post this first step, your web presence on social media helps. Depending on your business, a mobile app helps to be a companion to your website or brick and mortar store for new business and consumer engagement. A mobile app for a local ice cream shop in the US helped that business to get repeat orders, send marketing notifications and build and engage to his customer base…and we built this for a small brick and mortar ice scream shop! 

Such turnarounds help business to build the case for having a mobile presence. An app built for both Android and iOS helps you to capture all that is needed for turning the game in your favour. You can do this by going native or hiring a hybrid solution developer in React Native or Ionic to build your mobile app.

We have been pioneers in building hybrid apps when we first started with Ionic, helping our customers to save money by using one code base to serve both the Android and iOS platforms.

Today we recommend moving to React Native for new mobile apps as the platform is fast growing with new plugins and faster development time, which ultimately reduces the turnaround time for development; money saved which can be used for marketing and sales!


Ionic Development
Hiring a React Native or Ionic developer should be done by evaluating past work and their ability to understand your business and suggesting the right platform to use, depending on the solution needed to be built.

Talk to us to know how Inceptive Technologies can help you in your process to hire a React Native or Ionic developer. Our work on React Native and Ionic has been going on for the past few years. Some of the notable apps that we have made in React Native are Bird Call Xeno, an internal app for Airtel, Clean Toilet Finder India and in Ionic, we have built apps such as HeyBor! which was showcased on the Ionic framework’s website. 

Our Other Development services: 

https://inceptivetechnologies.com/hire-ios-app-developers/

https://inceptivetechnologies.com/hire-android-application-developers/

https://inceptivetechnologies.com/hire-reactnative-ionic-app-developers/

https://inceptivetechnologies.com/hire-angular-nodejs-web-developers/

https://inceptivetechnologies.com/hire-dotnet-php-developers/
Asimov's "Foundation" in retrospective
Tags: watercooler, machinelearning
Published: 2020-03-06 12:43:40

If you had to summarize Isaac Asimov's novel "Prelude to Foundation" in today's terms:

> The story of a Data Scientist named Hari Seldon and his quest for Labeled Data to train his new Machine Learning algorithm called Psychohistory.

Novel published more than 30 years ago!
Google Javascript Interview Question - Remove Duplicates from Sorted Array
Tags: javascript, webdev, tutorial, beginners
Published: 2020-03-06 12:39:04

# Problem Statement 
**Remove Duplicates from a Sorted Array**

arr = [1,2,2,3,3,4,4,4,5]

**Description** -  As you can see in the above array there are multiple occurrences of the same element like `2` is repeated twice then `3` is twice and `4` is repeated 3 times. So, we have to remove these duplicate elements and we have to keep only one copy of each element in our output

**Expected Output** : [1,2,3,4,5]


# Implementation
**Time Complexity**  - O(n) // as we are traversing the array only once where `n` is the size of the array
**Space Complexity** - O(n) 

#Javascript Implementation

```javascript

var nums = [1,2,2,3,3,4,4,4,5];

var removeDuplicates = function(nums) {
    var sortedArray = nums.sort();
    var len = sortedArray.length - 1;
    var newArr = [];

    if (len >= 0) {
        // Start traversing elements
        for (var i = 0; i < len; i++) {
            // If current element is not equal  to next element then store that 
            // current element
            if (sortedArray[i] !== sortedArray[i + 1]) {
                newArr.push(sortedArray[i]);
            }
        }
         // Store the last element as whether it is unique or repeated, it hasn't 
         // stored previously 
        newArr.push(sortedArray[len]);
    }
    return newArr

}

removeDuplicates(nums) // Returns => [ 1, 2, 3, 4, 5 ]

```
Copy and paste the above code in your browser developer tools and you will get 
[ 1, 2, 3, 4, 5 ] as the output.

If you found this article helpful, please tap the <img src="https://practicaldev-herokuapp-com.freetls.fastly.net/assets/emoji/emoji-one-unicorn-695106da1194513bfa0092f1a75943f59089be7d6addbc7459bdfab80f5709e6.png" alt="drawing" width="30" height="30"/> Follow this channel for more articles on data structures and algorithms.
Materiais de apoio para desenvolvimento Java
Tags: java, junior, career, developer
Published: 2020-03-06 12:31:35

Escrito por [Leila Farias](https://github.com/leilasoliveira) especialmente para @elasprogramam

Olá, meninas!

Prometi um artigo com uma lista de materiais para estudar Java e cá estou eu para cumprir a missão. :smile:

Quando comecei a programar em Java, eu fucei a internet atrás de material de apoio, conteúdos gratuitos para iniciantes e me apeguei a alguns materiais que hoje, infelizmente, não estão mais disponíveis.  :weary:

Porém, fiz uma listinha de alguns locais onde você pode dar seu start pra depois, seguir a minha dica do primeiro post ([clica aqui pra ver a dica]([https://dev.to/leilasoliveira/como-comecar-a-estudar-java-omh](https://dev.to/leilasoliveira/como-comecar-a-estudar-java-omh))).

Então, bora pra lista!

- **[Documentação oficial da Oracle](https://docs.oracle.com/javase/tutorial/)**
Claro que esse material é o primeiro da lista. A Oracle é a responsável pela manutenção da linguagem Java e ela disponibiliza todo material possível sobre a linguagem. Muito bom para quem está iniciando e para quem está revendo conceitos para fazer a prova de certificação (falarei sobre isso nos próximos posts). *Conteúdo em inglês*.

- **[Alura](https://www.alura.com.br/artigos/programacao)**
Artigos free de Java e outros assuntos de tecnologia. Eles também disponibilizam cursos básicos de Java, mediante pagamento. *Conteúdo em português* :raised_hands:.

- **[School of Net](https://www.schoolofnet.com/cursos/programacao/java/)**
Alguns dos seus vários cursos são gratuitos, mas precisa de cadastro para acessar. *Conteúdo em português* :raised_hands:.

- **[Baeldung ](https://www.baeldung.com/java-tutorial)**
Esse site reúne uma série de tutoriais de Java e Spring! Vira e mexe, quando tenho alguma dúvida, caio nesse blog com tutoriais práticos e ajuda muito no dia-a-dia. Essa dica vale para todos os níveis técnicos. *Conteúdo em inglês*.

*****Dica bônus: [HackerRank](https://www.hackerrank.com/)**
Descobri esse site por acaso e ele é muito legal porque você consegue praticar vááááários conceitos de programação Java (e de outras linguagens de programação) e ainda te coloca num ranking de usuários que conseguiram responder às questões de cada assunto. Para cada assunto há um texto contextualizando o problema a ser solucionado e embaixo há um editor de texto onde você coda e pode rodar alguns testes prontos antes de enviar sua resposta. Depois que você envia seu código de resposta, o site roda vários testes em cima do seu código e te dá um feedback sobre o resultado. Vale muito a pena conhecer para complementar os estudos. Há também uma aba de discussão sobre cada exercício onde a comunidade discute as questões, sanando dúvidas inclusive. Conteúdo em inglês.

Já viu que o inglês é importante, né? Pratique principalmente o inglês técnico, que é esse aí de compreender artigos técnicos.

Tem mais algum material pra indicar? Comenta aqui para eu e outras meninas conhecerem!  :heart:
Do personal posts in dev.to have an RSS feed? Personal posts in dev.to do have an RSS feed
Published: 2020-03-06 12:26:46

Even [RSS feed](https://en.wikipedia.org/wiki/RSS) are less and less popular, I find them extremely useful for several matters:

* Following the activity of other people in personal web pages (blogs) and so on.
* Using them to publish in social networks (my own posts).

So, the question was obvious: does my page at dev.to have an RSS feed? It seems so, as we can see at [RSS feeds?](https://github.com/thepracticaldev/dev.to/issues/28). 
For any user you have
   `https://dev.to/feed/username`
and for yours truly, as an example (of nothing but this topic, for now):
   `https://dev.to/feed/fernand0`

Enjoy!
5 Top Reads on Software Testing in the Time of DevOps

Tags: testing, agile, qa
Published: 2020-03-06 12:07:55

Did you know that some of the first software testers were those who tested software that was built following World War II? Quality assurance in general has a history that goes back much further. Even pre-industrial times.

But software testing as we know it now has come a long way from the pen and paper days. It is a vast and constantly evolving subject. And add to it the influence of various development methodologies, testing styles and the Agile and DevOps paradigm. There are new tools, trends and processes evolving every year.

In order to understand the new trends and technology, it always helps to have the basics in place. What are some great books that everyone interested in quality assurance and software testing must read? Here are the top picks of authors and books to add to your reading list, if software testing is your jam:

Let’s get you started with QMetry®
considering reduce vs forEach + object assignment
Tags: discuss, javascript
Published: 2020-03-06 11:58:52

Hi folks!

My first post here is a question I'm facing atm, hope you can share some wisdom :)

Consider the following two approaches to creating an object of counts from an array of filters and a collection of `items` (structure is irrelevant to the question):

**Using reduce**

```javascript
const filterFields= ['filter1', 'filter2']
filterCounts = filterFields.reduce((filterCountsAccumulator, currentFilterField) => {
  filterCountsAccumulator[currentFilterField] = getCounts(items, currentFilterField)
  return filterCountsAccumulator
}, {})
```

**Using forEach + object assignment**

```javascript
const filterFields= ['filter1', 'filter2']
filterCounts = {}
filterFields.forEach(currentFilterField => {
  filterCounts[currentFilterField] = getCounts(items, currentFilterField)
})
```

I like the elegance of `reduce` but find the `forEach` approach much more readable as it more clearly shows the structure of the resulting `filterCounts` object.

Is it just my inexperience with `reduce`, or would you agree that `forEach` communicates intent more clearly in this case?

Are there other reasons to prefer one approach over the other?

Many thanks in advance :)
The only console.log trick I use.
Published: 2020-03-06 11:58:00


## My `console.log` trick for modern javascript


You see a lot of those `console.log` tricks and such detailing `console.table` and all that jazz.

I almost never use those, but since `ES6` and single line Arrow functions poping up everywhere, it's often annoying to add simple `console.log` in the code without needing a bit of ceremony.


### The problem:

```js
const elements = [...Array(5).keys()]
const total = elements.reduce((total, value) => total + value)
```

for this code, let say I want to debug my reduce and see it in details, I would have done this:


```js
const elements = [...Array(5).keys()]
const total = elements.reduce((total, value) => {
  console.log({ total, value })
  return total + value
})
```

Which is always a bit annoying, not a big deal but still, adding all those `{}` and I always risk to forgot the `return` introducing a bug when I try to debug, not ideal

### A solution:

```js
const elements = [...Array(5).keys()]
const total = elements.reduce((total, value) =>
  console.log({ total, value }) || total + value)
```

I just slap a `||` after my `console.log` call since it does return `undefined` always so this way not much changes needed to poke inside single expression arrow functions :)
How To Bypass FRP Lock?
Published: 2020-03-06 11:57:18

Do you wan to bypass FRP lock for your android devices or samsung devices. Then you are in right spot. Today we will share with you the easiest way to bypass FRP Lock of any device quickly and easily.

Bypassing FRP is really a challenging task for android devices. People are searching to Bypass FRP and thus finding various ways to get unlock FRP. But they are unable to get rid of this Problem.

First of all we need to know what is FRP Lock?

FRP is lock which was introduce by Android Lollipop. When you purchase a new mobile you have to sign in with gmail account. Later when you resotre you mobile you have to sign in with same login details. If you failed to login you can not boot your android device completely.

The easiest way to Bypass FRP Lock is to use Technocare Apk. Technoare app is one of the famous app for bypassing FRP lock. This is the easiest and simple way to bypass FRP Lock

Features of Technocare Apk

Technocare is a safe, simple, and trustful application for Android devices.
It can easily unlock FRPs on Android devices.
You can install custom ROMs on your smartphone by using Technocare APK Download.
You are not required for any registration in this app.
It is safe from bugs, malware, and viruses.
The app doesn’t impose any age restriction to use it.
You can use Technocare APK Tricks easily anywhere in the world without any problem.

But most of the people are unable to find this Apk but don't worry today will share with two working source of downloading this apk
1) official tehcnoare site
https://www.technocare-apk.com/

If this source does not work then try the link given below this website is also provides tested and working Apks. I hope this apk will work for you as i personally test this apk and it worked for me.
2) Source tow:
https://www.mobapks.com/entertainment/technocare-apk/

I hope you will like this article and will share it with your needy friends. If you found any problem while downloading this Apk do comment below. We will solve your problem as quickly as possible.
3 Reasons for Executing Exploratory Testing with QMetry

Tags: testing, jira, qa
Published: 2020-03-06 11:11:35

Exploratory Testing
In the quest for continuously improving our software, exploratory testing makes its case by giving testers the freedom to check functionality and improve test suites. Being equipped with the right tool makes this experience quicker and more efficient. As the possibility of developing automated scripts and documentation comes into play, testers need to look no further.

1) Automates Documentation as you Explore
Backed-up by QMetry Digital Quality Platform, QMetry Test Mangement for Jira is a test management solution designed to work inside Jira. This unique QA tool follows your website and mobile application testings using Chrome browser. Simultaneously, these actions get converted into test documentation. QMetry Exploratory Testing Extension provides the ability to capture internal technical details required for debugging like ID and XPath.

QMetry Automated documentation for Exploratory Testing tool

2) Facilitates Team Collaboration through Seamless Integration Features
Exploratory testing with automated documentation 

QMetry Exploratory Testing‘s purpose is to ensure that testers’ time is invested in investigating the site instead of writing every single test activity. Since it is seamlessly integrated with Jira, all the documentation generated through this testing tool can instantaneously be linked to Jira issues. All those bug reports with comprehensive, multi-sourced test coverage can be escalated quickly and thus teams save time.

3) Provides a Full View
As testers keep exploring, all the documentation can be aggregated and evaluated. Testers can easily access this through Jira’s reports. Leveraging this integration will help QA and development teams get a more accurate perspective of where the defects are.

Evidence can be shown and shared through screen captures, mark assertions, open annotations, and voice memo to identify bugs and errors. All the evidence-support listed will facilitate precise communication between agile teams. Hence, it lessens the chances of confusion and maximizes the productivity of resources.

You can try QMetry Test Management for Jira which is accessible on Atlassian Marketplace.
Using ssh with servers that have a different set of keys
Tags: ssh, server, openssh
Published: 2020-03-06 11:06:03

I have to use an old server whose ssh installed configuration has not the more modern key exchange algorithms, so my config does not allow me to connect to it.
When I try to connect to it, I get:

~~~~
Unable to negotiate with xx.yy.ww.zz port 22: no matching key exchange method found. Their offer: gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
~~~~


 I don't want to allow these algorithms for all my connections so you can allow some less-secure protocols for a machine with a file `.ssh/config` containing:

~~~~
Host xx.yy.ww.zz    
     KexAlgorithms +diffie-hellman-group1-sha1
~~~~

This is more or less a note to self. I'm not sure if this type of posts are interesting here but I had to try to write something :-).
Why you should give Array.prototype.reduce() a chance too?🧐
Tags: javascript, codenewbie, webdev, node
Published: 2020-03-06 10:56:15

#### Let's Admit,
There is that one array method (usually **.map** or **.forEach**) which is close to our heart ❤️ and that is the one which we try to use for basically all array operations!

All of you are secretly admitting to the above sentence and thinking, *"Is it wrong to do that?"*🤔. Well, maybe, may not. But there's no harm in learning something new, right?

In this video, we look into a long time underrated child of **Array.prototype** and look into whether it covers some of our day to day use cases where the poor old **map/forEach** is forcefully shoved to work!

{% youtube FCaIRwXIqWc %}

Hope that helped, cheers!