teleren/devto huggingface dataset:
Adding Pronouns to My Slack Name
Tags: pronouns, slack, socialnetworking, gender
Published: 2019-02-22 14:37:21

---
title: Adding Pronouns to My Slack Name
published: true
description: 
tags: pronouns, slack, social networking, gender
---

Since deleting my Facebook and Twitter accounts over the past year, Slack has become an increasingly important tool for me to stay connected to my professional network as an engineer. 

Recently, I noticed an acquaintance of mine had modified their name to include (they/them) and it inspired me to also add my pronouns. Being a cis gender woman means that including my pronouns is unlikely to have any consequences since "she" and "her" meet people's assumptions. It also puts me in a powerful position to normalize the idea that sharing pronouns is helpful. It's helpful because it helps us avoid making assumptions about other people's gender.

So - I decided to try and figure out how to add my gender pronouns to my slack name in a way that was consistant and elegant.


##Attempt #1: 

First I tried adding them to my username.

 ![first attempt](https://thepracticaldev.s3.amazonaws.com/i/917cqgbz3zjgi5q0xxn7.png)

The problem with this solution is that depending on how other slack users have their settings configured for the group they may not see my pronouns. Here is an example of what a conversation looks like for a user that has their settings set to only show the user's full name: 

 ![results of first attempt](https://thepracticaldev.s3.amazonaws.com/i/83r3k3mcicp82lbwakrx.png)

##Attempt #2: 

Then I tried adding my pronouns to both my full name AND my user name: 

 ![second attempt](https://thepracticaldev.s3.amazonaws.com/i/tmd189yyo9uakdlxkcv8.png)

But then my profile that shows up when you hover my name looked busy and messy to me with all of the names and pronouns everywhere 😖

 ![results of second attempt](https://thepracticaldev.s3.amazonaws.com/i/4qoaot5emb03ib0flfj5.png)

I want something elegant! So - this was not the solution for me. 

##Attempt #3 and success:

Finally, after much mucking around with my full name and user name settings, I deleted my username. That's right - no username _just_ my full name and pronouns! 

 ![final attempt](https://thepracticaldev.s3.amazonaws.com/i/rss4u7d9nk54772nuigg.png)

You'll notice that the username defaults to your full name. So now, my hover profile only has one name on it and my pronouns show up regardless of how users have their slack settings! 

![results of final attempt](https://thepracticaldev.s3.amazonaws.com/i/wupy2ox4fk0dl2fdm7bg.png)

##Some final thoughts: 

I could see how this might not work for everyone. For example, some people like having their slack username match their github or twitter usernames. There could also be circumstanse that I don't know about that would lead a person to wanting a different username and full name. However, I love how up front and transparent my pronouns are now! Since adding them last week, I've noticed 2 other people add theirs and that's a pretty great reward.
Hello World (Dev.to)! It's me, Josh.
Tags: html
Published: 2019-02-21 20:20:09

---
title: Hello World (Dev.to)! It's me, Josh.
published: true
description: The obligatory initial post.
tags: html
---

This seems like an interesting platform. Digging the old school computer interface. From font choice to colors. Feel like I'm staring into my dad's old Mac circa 1984; or, the follow-on IBM we got later.

Self-taught: I built my first site in 1998. I never wanted to be a developer so much as a user experience person, hence the human-down not metal-up mindset. Unfortunately, the concept of UX hadn't really grabbed on and I didn't have the language or know where to look to find out. I also didn't have the means to pay someone else to make my visions (or experiments) a reality; so, I learned development.

Someone critiqued my HTML as being not that good back in the day; so, I threw myself ever further into the land of development while still keeping up with the psychology of humans and how we interact with the Hulked-up-calculators. I remember the first time I had a portfolio and applying for a UX position at a small shop, the owner said, "You seem more like a developer."

So, I freelanced for a couple years. What I found was that if I could get in doing the thing everyone thinks is hard and they can't do, then I could move on to doing things I was a bit more interested in. Therefore, software development became a way for me to get my foot in the door and see about doing other things.

After almost 20 years, I've started looking at the coding problem as a UX problem. The user in this case being the next developer in line. Of course, that's made some of my opinions around certain things a little more strict but it also eases my feelings about being labeled "a developer". :)
Quick Tip — Working with AbortController
Tags: javascript, abort, fetchapi
Published: 2019-06-16 09:25:10

---
title: Quick Tip — Working with AbortController
published: true
tags: javascript,abort,fetch-api
canonical_url: https://medium.com/@gilfink/quick-tip-working-with-abortcontroller-88d4a2d12428
---

### Quick Tip — Working with AbortController

There are some scenarios that you would like to cancel a server request. For example, your user is requesting a report which takes a lot of time to retrieve and changes her mind and request another report. What will you do? This is where **AbortController** can be very handy.

In this post I’ll shortly explain what is the **AbortController** and how to use it to abort fetch requests.

#### Stop Fetching Please

The **AbortController** is an object that can help you aborting fetch requests. How do you do that? First of all, create a new **AbortController** :

```
const abortCtrl = new AbortController();
```

Once you have an instance of **AbortController** you can use its API to abort fetch requests. The **AbortController** includes one property, **signal,** and one function, **abort**. The **signal** property is used to get an **AbortSignal** object. That object is used by fetch request for communication between the fetch request and the **AbortController**. You pass the **AbortSignal** object to fetch function as part of it’s options object. Here is a usage example:

```
const abortCtrl = new AbortController();
const signal = abortCtrl.signal;
fetch(url, { signal }).then((response) => {
  ...
}).catch((e) => {
  ... 
});
```

Once the fetch function includes a signal, you can abort the fetch request. If you need to abort the request all you have to do is to call the **AbortController**  **abort** function. For example:

```
abortCtrl.abort();
```

Requests that are being aborted will result in fetch promise rejection with **AbortError**. That means that the catch callback function will run with with **AbortError** object which has an error code 20. Using that knowledge you can add logic to handle the abort scenario:

```
const abortCtrl = new AbortController();
const signal = abortCtrl.signal;
fetch(url, { signal }).then((response) => {
   ...
}).catch((e) => {
  if (error.code === 20) { // abort occurred
   // Do something after abort occurred
  }
});
```

#### Summary

This short post explained what is the **AbortContoller** and how to use it in your code. Let me know in the comments if you found it useful.
Do You Remember Your First Coding Experience?
Tags: beginners, discuss
Published: 2019-02-22 09:48:48

Working in the tech industry day in, day out, we can become jaded to the reality of _just how cool_ programming actually is. As humans, we've figured out how to get inanimate objects to calculate things for us:

![](https://imgs.xkcd.com/comics/shouldnt_be_hard.png)
<figcaption><a href="https://xkcd.com/1349/">https://xkcd.com/1349/</a></figcaption>

I can vaguely remember how it felt the first time I wrote a program. I took C++ class and a Java class in high school and I think I took the Java class first. I remember that the syntax didn't make any sense to me at the time but I thought it was really cool how you could type something into the command line and your program could take your input and manipulate it and return a result.

I was really into creating text-based games and GUIs seemed way too advanced to even consider learning. I'm sure that's influenced my programming preferences today, as I still stick with languages that I mostly interact with through the command line (not too much web / graphical work for me).

Then, everyone got [Xanga](https://en.wikipedia.org/wiki/Xanga) accounts (remember that, USA people?) and was trying to customise their profiles, so I started learning HTML and CSS. There were so many acronyms for different kinds of "cutting edge" web design at the time: XHTML, DHTML, etc. It all seems so quaint now.

What was your first coding experience like? Was it decades ago or last month? Was it nerve-wracking or exciting?
Remote Workers: What's Your Daily Routine? 
Tags: discuss, remote, productivity
Published: 2019-02-22 12:36:27

Curious if anyone else has habits or systems in place that help get them centered and stay productive during the day, here's mine: 

- Very Early (6:00am): Get up, writing & side project work
- Early Morning (7:00am): Get ready, breakfast, walk dogs
- Start Work Day (8:30am): Check email, github, project management tools, sketch out plan for the day. Say good morning to teammates 
- `if(Monday && 10:00am)`: Weekly planning video call. 
- `if(Friday && 9:00am)`: Weekly [Coffee Cowork](https://glennstovall.com/coffee-cowork/) session. 
- `else` Working / Coding
- Lunch (12:00pm)
- More Work (1:00pm) 
- Afternoon break/more dog walks (2:30pm)
- Final email check of the day (3:00pm)
- Finish up work(3:15pm) 
- Shut off work laptop, leave home office, shut door (~5:00pm)
- `if(Monday || Wednesday || Friday && 5:30pm)` Hit the gym.
- `else` Chill. 

What's yours?
Schedule meetings like a boss
Tags: productivity, remote, tools, life
Published: 2019-02-22 12:25:59

---
title: Schedule meetings like a boss
published: true
description: In this article, we have touched upon productivity at work with focus on helping you schedule your meetings. Calendly, Doodle and Vyte are the ones to look out for.
cover_image: https://blog.flexiple.com/wp-content/uploads/2019/02/schedule_meetings_like_a_boss-1920x1282.jpg
tags: #productivity, #remote, #tools, #life
canonical_url: https://blog.flexiple.com/schedule-meetings-like-a-boss/
---

One mail that hits my inbox every morning at 5AM is my schedule for the day. However, all of that scheduling had to be done manually – either someone blocked my Calendar or I had to do it myself. Well, that was before I was introduced to some amazing scheduling tools.

In our last post, we spoke about [4 nifty tools that help boost personal productivity](https://dev.to/remotetools/4-tools-to-make-you-as-productive-as-elon-musk-4e3p). In this one, we touch upon productivity at work with focus on helping you schedule your meetings. We love tools that solve a specific use case because they do one thing and do it right. Read on to see for yourself if this is apt for these set of tools as well.

###[Calendly](https://calendly.com/)

A simple tool that removes the pains from scheduling meetings by creating a poll to decide the most convenient time for all. Has integrations with Google, Office365 and other tools, making it easy-to-use with the current product you are using.

Calendly’s official description is concise and apt,

*Calendly helps you schedule meetings without the back-and-forth emails.*

###[Doodle](https://doodle.com/)

Doodle simplifies getting a consensus whether to schedule a meeting or deciding on a place to meet. It executes this through a polling functionality. It also has native apps on both, Android and iOS. It bought Meekan in 2016, which is an AI chatbot that integrates with popular team chat collaboration tools such as Slack, and helps in easy scheduling of meetings.

In Doodle’s own words,

*Get together with Doodle. The simple way to decide on dates, places & more.*

###[Vyte](https://www.vyte.in/)

Vyte is a relatively late-entry into this space and this is reflected in the modern interface of the tool. It largely offers similar features as Calendly and Doodle, with a price point close to Calendly, primarily banking on better UI.

This is what folks at Vyte have to say about the tool,

*Smart all-in-one scheduling tool. Packed with powerful features that will save you time and ease all your headaches.*

That’s all for now! Keep watching this space for more interesting reads.

P.S: We have handpicked a host of tools across 20+ categories at remote.tools. Do let us know how we did 🙂

*This post was originally published on [blog.flexiple.com](https://blog.flexiple.com/schedule-meetings-like-a-boss/)*
(Updated) Minimal Gatsby-Starter with REST-Api
Tags: gatsby, rest
Published: 2019-02-22 12:16:07

---
title: (Updated) Minimal Gatsby-Starter with REST-Api
published: true
description: 
tags: gatsby, rest
---

UPDATED, here's the original post

-------------------

Hi Dev.to peeps,

I'm looking for an article, example or tutorial to get a minimal Gatsby-Site started, with JSON-data from a public REST-Api (like a list of Marvel-Heroes from their Api, with a detail-page for each).

Thanks!

-------------------

At first I thought it would be much more complicated to wire up a custom REST-API to Gatsby.

Turns out it's not that hard. I followed the steps on this [Stack-Overflow-Post](https://stackoverflow.com/questions/49299309/gatsbyjs-getting-data-from-restful-api/49317803#49317803). Thanks to Arden de Raaij for posting this in the comments!

Shoutout to Danilo Miranda and Petro Liashchynskyi for their links to also very insightful getting-started-articles!
What do you do while your waiting for builds?
Tags: discuss, meta, build
Published: 2019-02-22 12:15:38

---
title: What do you do while your waiting for builds?
published: true
description: What do you do while your waiting for builds?
tags: Discuss, Meta, Build
---

It takes maybe 10-15 mins to build and deployment the project I'm currently working on. And that is with all the cool modern things like Docker and GitLab pipelines.

This still feels like ages while I'm waiting.

Sometimes I do super useful things like update Jira ticket's, plan testing, listen to a podcast or do some learning.

I'm looking for inspiration, what else do people do?
Leadership by example
Tags: development, leadership, teams, techlead
Published: 2019-02-22 12:00:55

---
title: Leadership by example
published: true
tags: development,leadership,teams,tech lead
series: teams
canonical_url: https://craignicol.wordpress.com/2019/02/22/leadership-by-example/
---

Are you a manager or a leader?

What behaviour are you modelling for your team? Do you send many emails out of hours? [Do you multitask in meetings](https://hbr.org/2018/01/if-you-multitask-during-meetings-your-team-will-too%EF%BB%BF)? Do you project frustration and disagreement with C-suite?

Do your team copy you?

If you send emails that late, an expectation will be set that everyone needs to check, unless you are clear why. Tell them you have to leave a hour early to do the school run every day, so you do your emails after bedtime for everyone to pick up in the morning. Even better, write at night but don’t send until the morning. There are plenty of tools to schedule that for you.

If you’re not focussed on a meeting, how can you expect your team to be. If you don’t need to be there, don’t be. [If you trust your team](https://dev.to/craignicol/becoming-a-technical-lead-trust-your-team-dff) and you won’t add value, step back. [If you can change the meeting so it’s not boring, do that.](https://craignicol.wordpress.com/2017/09/08/flightplan-how-to-run-a-meeting/) When you’re in the meeting, be present, even if it’s just too watch the body language, and engage with that, use that feedback.

[Are your team frustrated by decisions and often blaming others](https://craignicol.wordpress.com/2015/11/17/handling-disagreements-as-a-team/)? Is that because you do it too? You’re not going to agree to every decision, but if you were on the room when it was made, or it’s your job to disseminate it, be at peace with the decision. If you can’t live with it, there’s other channels, up to and including leaving, but on your team decisions should be respected. They can be debated, reviewed and changed when circumstances change, but [if decisions can’t be respected collectively, you don’t have a team](https://craignicol.wordpress.com/2016/09/27/everyone-has-a-voice/).

Are you being the leading the team in the way you want them to work?
My Journey in Tech
Published: 2019-02-22 11:13:18

---
title: My Journey in Tech
published: True
description: 
tags: 
---

Started this very Tech Journey properly as of late 2015 as a developer using Wordpress, funny enough it seemed so interesting and i felt i have arrived at the top of the World. But not so, because as time goes by i saw people doing a lot of things in tech either as developers, tech consultants, tech blogger/writers, graphics and many more stuff. But i tried as much to reach out to people using what i already know (by this time i'm already good with my Html/Css cum Bootstrap and javasript. I created a blog to bring tech education closer to my locality and i did. 

I noticed that what i had wasn't enough, so i tried to learn more to develop myself and educate people. Today i'm a junior front-end developer that cools off with the little cash i make. Recently advancing in ReactJS 


I am still growing. What's yours
Agile vs Waterfall: Which is better for software development?
Tags: softwaredevelopment
Published: 2019-02-22 10:53:18

---
title: Agile vs Waterfall: Which is better for software development?
 
published: true

description: Should I stick with the old and proven Waterfall model or should I switch to the new and modern Agile model? This might help you out. [https://rezaid.co.uk/agile-waterfall-software-development/]

tags: Software development
---
What are the books about software engineering history that you have enjoyed most?
Tags: books, discuss, gamedev, history
Published: 2019-02-22 10:19:26

---
title: What are the books about software engineering history that you have enjoyed most?
published: true
description: Trying to compile a list of software engineering books about that software or those products that we enjoyed most when we were younger and that are now history of software development.
tags: books,discuss,gamedev,history
cover_image: https://thepracticaldev.s3.amazonaws.com/i/n588rf3x4n5owct27vvc.png
---

One of the genres I enjoy most reading is books about software history. Books that tell you real stories and experiences from software companies which relate how they got into what they are or how they released that product that you always have used. 

I defined them as teenage nostalgia books. Books that maybe describe how those games in which you spent countless hours when made. Masters of Doom and The Making of Prince of Persia are gold if you ask me. But there must be more! Making it Big in Software is a great set of essays about well known software leaders who narrate their stories. 

So, I'm asking this community. What books about software history do you recommend for reading?
What I did last year  - OR - How to avoid imposter syndrome
Tags: productivity, career, go
Published: 2019-02-22 09:53:27

---
title: What I did last year  - OR - How to avoid imposter syndrome
published: true
description: How to use a simple list to record your achievements
tags: productivity, career, go 
---

## What I did last year OR How to avoid imposter syndrome

# I'm an imposter

Sometimes I really enjoy my geeky job looking after servers

Sometimes I spend half a morning writing a script to fix something, I forget what I'm doing and then suddenly think "ooh better stop this and do some work"

Then I remember that this is my work, *for real* this is what I do

Other times I am talking to clever clever people and they say "I'm learning Go but I don't quite understand pointers yet".  And I start saying "Well, funcs are call by value..." and then I doubt that I am just the person to tell them this but then...

I remember, *for real* I have fixed projects, I've had live production code in Go

Of course, I'm not an imposter

# How to remember

To remind myself that I am learning all the new stuff and that is actually what I do, I keep a list in a spreadsheet.  It has 3 columns: datetime, area, winulation

 "datetime" is just my way of saying when

 "area" is the thing I've been working at.  For 2018 the areas are 
 - golang
 - kubernetes
 - book
 - conference
 - github
 - AWS  
 - public speaking
 - javascript
 - MOOC

"winulation" is the small achievement I've made in that area.

For example in the case of Golang, I had learnt the absolute basics of it late 2017
One aim I had for 2018 was to get good at it.  Some winulations for Golang said "did tests for go-spacemesh crypto with 100% cover and submitted pull request", "used the runtime/trace to instrument a toy web server", "finished reading Donovan & Kernighan book" and "Soduku program finally works.  Not terrifically fast :)"

As I'm sure you can appreciate from the above list, there is nothing earth-shattering there!  But each thing filled me with a brief sense of achievement, and it's this sense of achievement that I am trying to capture with the spreadsheet

Next time I feel like an imposter, I just look at the sheet and see all the stuff I've done.

This year's new areas are ML (Machine Learning), Squirrel (I am doing a side project, this is the code name) and Prometheus (an interesting thing at work)

I'd encourage you to keep a list like this, it's a great way to build confidence without arrogance