teleren/devto huggingface dataset:
Azure DevOps workitems don't show frequently used users? Here's how to fix it.
Tags: azuredevops, devops
Published: 2021-02-24 16:04:19

---
title: Azure DevOps workitems don't show frequently used users? Here's how to fix it.
published: true
date: 2020-05-24 23:00:00 UTC
tags: 
 - azuredevops
 - devops
canonical_url: https://www.visualstudiogeeks.com/azure/devops/identity-field-not-populating-users
---

Ever had an issue where you are just got access to the client Azure DevOps instance, but for some strange reason you find that workitems are unable to populate recently used users, even after you searched for them previously? In this post, we will see what causes it and how to fix it.

<!--more-->

![](https://www.visualstudiogeeks.com/images/screenshots/utkarsh/2020-05-25-identity-field-not-populating-users/card.png)

### What causes it?

In my case, I was added to client’s Azure AD (AAD) as a guest user. By default guest users in AAD do not have `Directory Readers` permissions. Hence, Azure DevOps will not be able to enumerate user list in the identity column when logged in as you.

## The fix

Its simple. Go to Azure Portal and then navigate to Active Directory and select the Users. Select the user and under `Assigned Roles`, ensure user has `Directory Readers` assignment. Once you assign, give it few minutes (or log off and log back in) and you should be able to search other users in Azure DevOps organisation.

![](https://www.visualstudiogeeks.com/images/screenshots/utkarsh/2020-05-25-identity-field-not-populating-users/permission.png)

That is it, thanks for reading 🎉
🔥 Emojis and A11y
Tags: html, a11y, beginners
Published: 2020-05-24 22:49:48

If you are using Emojis on your website they should be wrapped in a span tag, have role="img", and have an accessible description. This will provide an invisible label to users using devices such as screen reader.

```html
<!-- This is much better -->
<h1>Take off! <span role="img" aria-label="Space rocket">🚀</span></h1>
<!-- than this -->
<h1>Take off! 🚀</h1>
```

If you enjoyed this little snippet you can [follow me](https://twitter.com/iain_freestone) on Twitter where I regularly post bite size tips relating to HTML, CSS and JavaScript.
Checking site status after deploying with Laravel's Envoy
Published: 2020-05-24 22:49:17

At [MonitorBase](https://www.monitorbase.com) we've started using Laravel's [Envoy](https://laravel.com/docs/7.x/envoy) to deploy our new inhouse invoice system.

For us, our invoice system is hosted on a basic AWS set up on a single server. I'll be publishing more on our deploy process but it is a little complex due to our security protocols. 

After the deploy we wanted to know if the invoice system was live and returning a 200 as it should. 

(Here's our dumbed-down code with the health check to return a 200)

```
@setup
    $healthUrl = 'https://yoursiteurl.com';
@endsetup

@servers(['server' => '127.0.0.1'])

@story('deploy')
    deployCode
    healthCheck
@endstory

@task('deployCode', ['on' => 'server'])
    deploy
@endtask

@task('healthCheck', ['on' => 'local'])
    @php
    sleep(10);
    $headers = get_headers($healthUrl);
    $response = $headers[0];
    @endphp
    echo {{ $healthUrl }} - {{ $response }}
@endtask
```

Let me know if you have a better way!
Pretty tips: Como instalar pacotes Snap
Tags: ubuntu, snap, linux, tutorial
Published: 2020-05-24 22:48:27

Se você já tentou instalar algum aplicativo no Ubuntu sabe que as vezes pode ser bem fácil, outras vezes pode ser mais difícil do que ouvir Henrique e Juliano e não lembrar daquele rolo que nunca deu em nada😑.
É para isso que existe o Snap, uma vez que você instala essa ferramenta basta entrar no seu terminal pesquisar o aplicativo que você quer e baixar em seguida, sei que falei aquela palavra (terminal👻) mas é mais fácil do que posso ter feito parecer 😂.

**1**. Então abra seu terminalzinho em qualquer distribuição derivada do Ubuntu e digite os seguintes comandos.

```
sudo apt update
sudo apt install snapd
```

**2**. Bem meu caro com isso você já vai ter ele instalado se deu tudo certo. Mas vamos dar uma olhadinha no que ele pode fazer por nós, digite "snap find spotify"

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

**3**. Podemos ver que essa procura deu bastante resultados, mas o que queremos é somente o nosso querido Spotify, que é a primeira opção inclusive

**4**. Caso queira baixar o spotify digite "snap install spotify" e ele logo será instalado bastando esperar um pouquinho e logo poderá assistir seus hits da Taylor Swift.

###Por hoje é só meus hitzeiros
Espero que tenham gostado, e espero que tenha ajudado de alguma forma😁
Microservices and Monorepo, React and jQuery/no frameworks
Tags: javascript, webdev, architecture, react
Published: 2020-05-24 22:44:07

The debates of microservices vs monorepo never really end, with articles arguing over one side or another. I came across [this article against microservices](https://medium.com/swlh/stop-you-dont-need-microservices-dc732d70b3e0) the other day, and while it has some very valid points and yes, if you're starting a new company or a new project and say "I know! I'll use microservices as backend for this", it's probably the wrong call; I'd probably argue that at a certain point in the growth of an organization, microservices begin to make sense.

While thinking about that, that got me thinking -- that kind of statement is really not unlike the argument for React vs not-react (the framework-less option usually being jQuery with some static HTML) in frontend.

If you're starting a hobby project and you just want to build an MVP, using React is probably overkill, unless you're working on a highly interactive web app (dashboards, charts, etc.). For most web sites with some minimal set of interactivities, static HTML and jQuery is probably sufficient.

The difference between the React vs jQuery question in frontend and the Microservices vs Monorepo question in backend is probably the point on the spectrum at which it makes sense to switch. For frontend, once you get a certain size of a frontend web app (that isn't even very big), it probably starts to make sense to start using a framework already (although for myself, I'd definitely prefer Svelte over React). For backend, you can go a looooong way on a monorepo setup before moving to microservices. Many legit tech startups still run fully monorepo and that's completely valid.
Pretty tips - Lidando com csv's
Tags: python, regex, csv, tutorial
Published: 2020-05-24 22:42:57

Você já teve que lidar com uma planilha com vários dados inconsistentes, e-mails incompletos, cpf's inválidos ou com anúncios da Jequiti no meio??
Então caso queira lidar de uma forma rápida, prática, e com planilhas realmente grandes tenho uma dica use programação 😆.
Vou dar um exemplo aqui de como limpar uma planilha com e-mails inválidos, esta mesmo abaixo.

| Nome                | Email                   |
| --------------------| ----------------------- |
| Alexandre Fernandes | af.santos1998@gmail.com |
| Vinicius Ferreira   | blacksabbathgmail       |

Link caso queira baixar: Planilha.
Então há vários métodos de fazer isso, nesse artigo vou usar Python, então booora 👊:

**1**. Salvar a planilha em csv (Importante!).

**2**. Ter Python instalado (Relaxa vou fazer um guia de como instalar nosso coleguinha)

##3. Vamos programar:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/zr34kv3h0lv12tktvjyu.png)

**3.1** Primeiro damos um import em re, que é nossa biblioteca que tem a ferramenta que checa o e-mail para ver se é inconsistente.

**3.2** Abrimos o arquivo em modo de leitura.

**3.3** Uma coisa legal do csv é que ele separa as colunas da planilha com ',' e ';' ou algo desse tipo. Então basta separar a linha em cada ','(nesse caso), que teremos cada coluna separadinha 👍

**3.4** Sim estamos usando regex, não se assuste é mais simples do que parece, mas não vou explicar aqui porque o texto poderia ficar um pouco extenso.

**3.5** Colocamos a linha válida em uma string.

**3.6** E depois só abrimos um outro arquivo para por os dados e escrevemos nele as linhas validas

**3.7** Fechamos os arquivos, essa operação é bem importante para termos certeza que todos os dados foram salvos na planilha

**3.8** Link do código caso queira limpa-dados.py


##4 - Felicidade
Bem agora que você tem sua planilha bonita, pode mostrar para sua turma do Pokemon Go.Muito obrigado por ter lido, não ficou tão pocket quando desejava mas né ... 💁 e fé no pai que a planilha vem.
📺 Display any element on your site full screen 
Tags: html, javascript, beginners
Published: 2020-05-24 22:40:17

The Fullscreen API allows you to present individual elements of your site in full-screen mode & exit when required.

This is useful if certain areas of the site would benefit from being in full screen so that full attention can be given to that part when needed, such as videos, games, charts, etc.

The very simple example below has 2 elements that have been "enabled" for full screen mode (fullScreenElement1, fullScreenElement2) a user clicking on one of these will initiate a requestFullscreen on it.

```html
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="styles.css">
    <title>Static Template</title>
  </head>
  <body>
    <div class="main">
      <div class="wrapper">
          <div
            id="fullScreenElement1"
            class="button"
            onclick="document.getElementById('fullScreenElement1').requestFullscreen()"
          >
            <p>🍔</p>
            Click to go fullscreen
          </div>
          <div
            id="fullScreenElement2"
            class="button"
            onclick="toggleFullScreen('fullScreenElement2')"
          >
            <p>🌶️</p>
            Click to go fullscreen
          </div>
        </div>
      <!-- <script src="main.js"></script> -->

      <script>
        function toggleFullScreen(id) {
          document.getElementById(id).requestFullscreen()
        }
        </script>
  </body>
</html>
```

If you enjoyed this little snippet you can [follow me](https://twitter.com/iain_freestone) on Twitter where I regularly post bite size tips relating to HTML, CSS and JavaScript.
Download the latest release file from a Github repo
Tags: bash, github, latest, script
Published: 2020-05-24 22:19:48

I have a simple post installation bash script for the software I use in my personal computer. I usually do a fresh install of Ubuntu / Pop!_OS for every new major release, so this file comes in very handy.

For the most part, this script consists of the typical `sudo apt install ...`, but there are some applications that are only distributed in .deb or similar packages. For example, to use [Anki](https://github.com/ankitects/anki), the open-source flashcard program, you have to download a compressed file from their official [Github repo](https://github.com/ankitects/anki/releases) and install it from source. To download the latest version, I use the following command:

```bash
wget -qO - https://api.github.com/repos/ankitects/anki/releases/latest \
| grep browser_download_url \
| grep amd64 \
| cut -d  '"' -f 4  \
| wget -cqi - -O Anki.tar.bz
```

To use this command, change accordingly:

* Change `ankitects/anki` for the repo you need. 
* Change `amd64` for the file name you need. In my case, the Linux files in the Anki repo have `amd64` in their name. You could use `deb`, `dmg`, etc.
* Change `Anki.tar.bz` for the name of the file you want. This is useful when the file name includes the version. I use this for running other commands as a next step, for example, uncompressing the file.
How do you backup your data
Tags: discuss, cloud, backup
Published: 2020-05-24 22:11:37

Imagine you are done with your coding for today and discover tomorrow that your PC has stopped working.

This exact thing happened to me a few days back and luckily I was able to recover most of the important things as

- I always push the code before turning off the PC.
- My photos, videos are always in sync with the iCloud.
- I upload my sublime snippets frequently to my GitHub account.
- My Firefox bookmarks, history, addons are always in sync.

I didn't really feel the I lost my data when I switched to my new PC.

How do you guys backup your data? Or you don't (Just think if the same thing happened with you :P)
My First Flutter Project
Tags: octograd2020, flutter
Published: 2020-05-24 04:41:42

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project and experience.)

[Note]: # (If you used the GitHub Student Developer Pack on your project, add the "#githubsdp" tag above. We’d also love to know which services you used and how you used it!)

## Experience building the App
It was almost the end of my 6th semester of engineering and Google releases its first stable version of Flutter, I was curious and started learning it from a [Flutter development course by Angela Yu](https://www.appbrewery.co/p/flutter-development-bootcamp-with-dart). But soon I had my sem exams and lost touch of Flutter. 
A company was looking for interns with sound knowledge of Flutter and one of my senior recommended me & two of my friends. To be honest, I was scared and nervous because I didn't have much experience with Flutter and I hadn't worked on a project of a huge scale before. But then my senior said, _"Sometimes you've just got to jump into the ocean to learn to swim"_ and that hit me!
I learnt a lot (and quicker) of new stuff in the span of the internship. Yes, there were many UPs and Downs in the journey but it was all worth it. I got to experience a corporate working environment - the deadlines and massive changes to the features from the client.

### A little about the App
Sell on Dufa is a marketplace for sellers and buyers of artistic products. If you have a hobby of making artistic handmade products, this app provides a platform for you to sell them.

### Link to App
Since the app is a client's project cannot provide the link to the codebase, because I could be jailed (LoL). But it is live on Playstore: https://play.google.com/store/apps/details?id=in.dufa.vendor&hl=en_IN
👀 Detect when your site is visible to users
Tags: javascript, html, beginners
Published: 2020-05-24 22:05:59

You can detect whether a user is looking at your page or is currently on another tab using onvisibilitychange and visibilityState 

This is a super useful feature and can help ensure users do not miss out on important content when they move to a different tab. For example you can use it to pause a video that is currently playing and only restart it when the user clicks back onto your site. 

The very simple example below changes the document title depending on whether the page is currently visible, but this can easily be modified to change other parts of your site.

```html
<html>
  <body>
    <h1>Welcome</h1>
    <script>
       document.onvisibilitychange = function () {
          document.visibilityState === "visible"
             ? (document.title = "👋 Hello")
             : (document.title = "😟 Bye!");
       };
     </script>
  </body>
</html>
```

If you enjoyed this little snippet you can [follow me](https://twitter.com/iain_freestone) on Twitter where I regularly post bite size tips relating to HTML, CSS and JavaScript.
Code Trends 0.0.1
Tags: machinelearning, opensource, react, node
Published: 2020-05-24 21:13:12

---
title: Code Trends 0.0.1
published: true
description: Stay informed on the trends happening in software
tags: #machinelearning #opensource #react #node
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/has2artqcx6467b2tj9g.png
---
Welcome to the first edition of code trends. I’m going to give you the rundown on the most popular repos this week to keep you sharp, so you can pretend to understand what that new hire is talking about. Or maybe it’ll spark your next big idea. Let’s get to it.

**State of Machine Learning**. 🤗 [Huggingface](https://github.com/huggingface/nlp)  is still crushing it with their NLP models and open source code. If this name is new to you, I urge you take a look. They have a ton of great off the shelf models.

**Republic of Javascript**. A new state management library from Facebook called [Recoil](https://recoiljs.org/). The only benefit I can see from this is that it’s from Facebook, creators of React, and looks extremely well thought out. If you’re a hardcore React fan, it’s also going to be compatible with [Concurrent Mode ](https://reactjs.org/docs/concurrent-mode-intro.html). That being said, popping this sucker into your ugly legacy app isn’t going to fix it.

**WebRTC on the rise**. Looking to build a video conferencing solution but ffmpeg and gstreamer make you want to run? [MediaSoup](https://github.com/versatica/mediasoup) is a newcomer on the trending list helping you build the video conferencing solution of your dreams.

**Department of Getting More Smart And More Better**
- Torture yourself with these algorithms in [C++ ](https://github.com/TheAlgorithms/C-Plus-Plus) and these ones in [C](https://github.com/TheAlgorithms/C) and these ones in [Python](https://github.com/TheAlgorithms/Python). As long as employers keep pretending this matters, it will always be popular to have a repo of well documented algos.
- 🤷‍♀️ Lots of people want to learn [Go](https://github.com/inancgumus/learngo).
- [Rust](https://github.com/pretzelhammer/rust-blog) is awesome

**Random**
- Spin up your own  [GraphQL IDE](https://github.com/graphql/graphiql).
- Another [IOT big data platform blah blah blah](https://www.taosdata.com/en/)
- There’s still room in [e-commerce](https://github.com/PrestaShop/PrestaShop).
- Do you spend a lot of time drawing engineering plans? First, I’m sorry, second, maybe [this will help](https://github.com/mingrammer/diagrams).

If you have any suggestions or haterade, yell at me on twitter (https://twitter.com/AndrewPierno).

[I'm running a content experiment. For the next 10 weeks I'm going to do a once a week newsletter on trending open source software. If you find this valuable I'd love a [subscribe](https://codetrends.substack.com/). If I don't get to 100 people in the next 10 weeks, I'll kill the experiment.]

Hugs,

AP
Heat Mapping Software
Tags: healthydebate, help
Published: 2020-05-24 21:05:50

I am very interested in doing some heat mapping for some of my websites for myself and for others to see where users are interacting on the page and for conversion rate optimization.

Is there any free service or fremium app that allows this to be done on any website like React, Shopify, Wordpress, etc that you recommend.

I am aware of HotJar, what is your favourite tool for this and what do you recommend and why!?

Thanks Dev Community!
A Developer’s Eye View - Decoding a Learning Journey
Tags: career, work, productivity, workplace
Published: 2020-05-24 21:01:14

Hello! I help Technical Professionals understand their next steps in their learning journey, often referred to as “a career in Software Development”.

I am intending to write about how it feels to be a Software Developer at different stages of their career.
  
If this is successful and we find reader interest, I could move on to writing this from the perspective of a Development Manager and other roles within a Development organisation i.e. a Software Tester, UX Designer and Project Manager.  It may be interesting for you to see what it is like to be part of developing software from other points of view too.

I have helped many Developers launch their careers and I have been involved in many conversations to help them in their search for a role, approach to their first day and establish themselves with their team.

I have a strong base as a Software Developer, Development Manager and now a Technical Resource Manager within the Software Industry – which uniquely qualifies me in only one respect – I have been there too.  I have realised that my personal learning journey has led me to know a lot about how people learn, how software is developed and how to find a role and employer that suits you.  

For instance, I have observed that Software Developers often speak about:

* What they do not know
* How much they have to learn
* How their tech is becoming “obsolete”
* They wish to be like a certain thought leader but see the gap as "very large"

As they start to gain experience of people, technology and organisational culture they tend to move towards realising:

* My current knowledge is the base for my next realisation
* Learning takes time, choosing a path will be my guide
* Tools are transient, knowledge is incremental
* A thought leader is someone that shares their learning journey with others

Everyone is a function of their unique knowledge, experience and personality.  I believe that if this could be codified – this would enable us to refactor approach and gain the personal optimisation we seek.

Please feedback on if you have shared a similar experience.  So let’s see where this journey takes us!
Impostor syndrome and my experience learning a new technology
Tags: impostorsyndrome, codenewbie
Published: 2020-05-24 20:55:21

I finished the university and got my B.Sc degree not being the top of the list, but not being among the lasts either. However, being most of the time surrounded by people that are smarter than the average, I slowly developed (what some call) the [impostor syndrome](https://en.wikipedia.org/wiki/Impostor_syndrome).
Being in your early 20s and trying to find your way in the society (a.k.a getting a job) while doubting every single thing you know or do is not a fun experience.

Years passed and I found a niche to exploit working as a developer for over 6 years now. I got thrown into random technologies without training or time to actually learn it. "Learn it by doing it" I was told. And so I did.

I am currently considered a key developer in the company, my work  is "valuable" and yet every day I live with the feeling that "I have no idea what I'm doing".
![GIF](https://media.giphy.com/media/ToMjGpNuOksUiclTp4c/giphy.gif)

I didn't develop anything at home so far. After being 10-11 hours at work, I couldn't deal with anything similar at home. Yet, recently I decided to take on a personal project and learn React by doing so.

Everything went great. My mood was very optimistic, the energy was there and the stars seemed to align. I spent a few hours watching some videos, I started and configured my "Hello world" project and pushed everything to GH. 

![](https://media.giphy.com/media/xUA7aQOxkz00lvCAOQ/giphy.gif)

I spent the upcoming days laying down a plan, decide what was important to focus on, what could come later and what was only "nice to have". I implemented my first component, but it felt a bit hacky and I decided that learning React was my personal choice and I might as well do it well. As a result, I subscribed to a course on Udemy. What better way to learn something from scratch?

And this is where the impostor syndrome kicked in. Again. Three - four hours into the course, trying to follow the basics and my mind goes into the _you are not a real engineer_ mode.  I can't follow, I can't learn and all my energy is  drained, day and night, by an "invisible force".

It's been not 6 days since I pushed last time to GH. I've been trying since to write a basic component that handles my avatar, but every time I open the IDE my mind goes blank. I can't focus. I'm trying to look online for what others did, yet I keep telling myself that stealing code from SO is what I always did in my career, as this won't work forever.
![](https://peopleofcolorintech.com/wp-content/uploads/2016/02/impostor1.jpg)

I was reluctant posting in here. I feel like I'm crying online for _nothing_ while the world has some real issues to face. Yet, we each have our own demons and I have no  idea how to fight mine. I want to break the "watch Netflix forever just don't try to code anymore" kind of mood that seem to control my life lately.