teleren/devto huggingface dataset:
Tips on Passing AWS Exam the First Time!
Tags: aws, career, beginners, tips
Published: 2019-06-05 19:40:04

---
title: Tips on Passing AWS Exam the First Time!
published: true
description:Tips on Passing AWS Exam the First Time!
tags: AWS, career, Beginners, Tips
---
I had a couple of people ask me on tips to passing the Amazon Web Services (AWS) Cloud Practitioner exam so I made a little video on resources I used and tips I learned.

Resources like...
☁️ A Cloud Guru
☁️ AWS Whitepapers
☁️ AWS Certification courses

Tips like...
🤓 Write down (not type) your notes
🤓 Make your own flash cards
🤓 Read those Whitepapers!
🤓 Do those quizzes daily

There’s a new resource I learned about a week before my exam called ExamPro with Andrew Brown but didn’t get a chance to check it out before this past exam. I will when prepping for next one though!

I also have a couple of upcoming presentations discussing...

👩‍💻 Cloud Computing for Small Businesses (how can use the AWS Cloud)

👩‍💻 Looking Up Into the AWS Cloud (how can teach about the AWS Cloud)
Run PoseNet with Nodejs
Tags: tensorflow, node, posenet, machinelearning
Published: 2019-06-05 16:42:57

## What is Posenet?
https://medium.com/tensorflow/real-time-human-pose-estimation-in-the-browser-with-tensorflow-js-7dd0bc881cd5
https://github.com/tensorflow/tfjs-models/tree/master/posenet


As you can see, basically we don't need to use nodejs for PoseNet since we need to use canvas to feed data to tensorflowjs lol

Also, we can use tensorflow with python instead of `js`, but I did try because there are nodejs and tfjs-node(https://github.com/tensorflow/tfjs-node).

### steps
1. install packages/libs
2. install npm packages
3. write code & run it


#### Step1
As I mentioned, need to use `canvas`, so need to install libs.
By the way, this is for mac, but you can find out information for Linux and Windows on the internet. In addition, now we can use Homebrew on Linux(I tested it on Ubuntu)
```zsh
$ brew install pkg-config cairo pango libpng jpeg giflib
```

#### Step2
I'm using yarn since npm didn't allow me to install tfjs. But, you can use/try `npm` instead of `yarn`.
```zsh
$ yarn add @tensorflow-models/posenet @tensorflow/tfjs @tensorflow/tfjs-node botkit canvas rollup
```


#### Step3
The code is messy since just test tfjs-node with posenet.
```js
const tf = require('@tensorflow/tfjs-node');
const posenet = require('@tensorflow-models/posenet');
const {
    createCanvas, Image
} = require('canvas')
const imageScaleFactor = 0.5;
const outputStride = 16;
const flipHorizontal = false;

const tryModel = async() => {
    console.log('start');
    const net = await posenet.load(0.75);
    const img = new Image();
    img.src = './test.jpg';
    const canvas = createCanvas(img.width, img.height);
    const ctx = canvas.getContext('2d');
    ctx.drawImage(img, 0, 0);
    const input = tf.browser.fromPixels(canvas);
    const pose = await net.estimateSinglePose(input, imageScaleFactor, flipHorizontal, outputStride);
    // console.log(pose);
    for(const keypoint of pose.keypoints) {
        console.log(`${keypoint.part}: (${keypoint.position.x},${keypoint.position.y})`);
    }
    console.log('end');
}



tryModel();
```

## Result
Got 17 keypoints, yay!
![](https://thepracticaldev.s3.amazonaws.com/i/7k5v8xlvhq5jyogu4uq3.png)
What's your preferred method for inserting DOM elements in vanilla JS?
Tags: askdev, javascript, tips
Published: 2019-06-05 19:27:27

---
title: What's your preferred method for inserting DOM elements in vanilla JS?
published: true
description: 
tags: askdev, javascript, tips
---

From `<template>` to template literals to the classic `createElement()`, what technique do you prefer to use when you need to take data, create DOM elements, and insert it into the DOM somewhere?
GitHub Just Released a New Version of Their Desktop App
Tags: news, opensource, github, git
Published: 2019-06-05 18:54:19

## **[👉 GitHub Desktop 2.0 expands to support stashing and rebasing](https://github.blog/2019-06-05-github-desktop-expands-to-support-stashing-and-rebasing)**

I'm a fan of this app for some of my workflows, but always felt there was a lot to be desired. So I am definitely happy about this. Alongside VSCode, I expect more and more good tooling around GitHub. I hope that this raises the bar for competitors, rather than just squashing them.

I made a post a little while ago asking for thoughts on how folks generally make use of the interplay between GitHub and their desktop environment. This strikes me as relevant to that general outlook.

{% link https://dev.to/ben/whats-your-typical-process-for-reviewing-a-pull-request-in-github-3klk %}

Thoughts?
Worry, Worry, Worry, Worry...
Tags: showdev, javascript, mentalhealth, wellness
Published: 2019-06-05 18:33:26

---
title: Worry, Worry, Worry, Worry...
published: true
description: This Worry Tree app is based on a mindfulness technique originally developed by Butler and Hope. Its purpose is to help you identify, address, and act on worries or concerns.
tags: #showdev, #javascript, #mentalhealth, #wellness
cover_image: https://images.unsplash.com/photo-1508440767412-59ce0b206bbc?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80
---

Perfect is the enemy of done.

Done is better than perfect.

After having a pet project essentially completed for a few weeks, I decided to just throw it up on Netlify and finish the remaining tweaks later.

# [Worry Tree App](https://worry.netlify.com)

The Javascript is probably a lot uglier than it needs to be, but I was just happy to get it working. Next up is making the transitions fade in and fade out to be a little nicer and improving accessibility. [It's living on Codepen, too](https://codepen.io/desilove/pen/dEmjqL)!

{% youtube TI9zZ6l0CTs %}
_A soundtrack for my fellow worriers_

Hopefully someone else will find this helpful - it's really done a lot for me already. If you have any tips on the fade animations, or the super hacky code, let me know!
Just launched my personal website and I need your honest feedback
Tags: discuss, design, ux, webdev
Published: 2019-06-05 18:30:42

[Visit the new blog - adyngom.com](https://adyngom.com/)

Just about  couple months ago, I've decided to really get back into writing and share the different bits and crazy ideas that throttle my mind. I have found in dev.to a very welcoming community and at the same time very on point and focused on just us - the devs. 

In parallel the plan was always to have an official space to gather everything Ady lol. But I do suffer from the "perfectionist syndrome" unfortunately and I have many times attempted to build my own platform because nothing else cut it for me. 

![adyngom.com](https://thepracticaldev.s3.amazonaws.com/i/j0e6wmr4mho8ehzp75aq.JPG)

Call it pretentious, I won't be mad - I deserve it, I simply call it a simple waste of time and more a huge waste of opportunities. I will write more about those two in a separate article.

In the meantime, I would appreciate it a lot if you were to take a minute from your busy lives and give me an honest feedback on your first impression.

My aim is to make it very welcoming and very easy to read. Let me know what you think and if you like what you read here and there, please subscribe.

[Visit the new blog - adyngom.com](https://adyngom.com/)
What Makes a Tech-First Company?
Tags: discuss, companyculture, startupculture
Published: 2019-06-05 18:28:13

---
title: What Makes a Tech-First Company?
published: true
description: Can developers thrive in companies which aren't tech-first?
tags: discuss, companyculture, startupculture
cover_image: http://thepracticaldev.s3.amazonaws.com/i/gxbrmvghjs0rkihs2rpl.png
---

I saw a tweet today about the top reasons people leave companies, and it got me thinking. 

{% twitter 1136269194436046848 %}

I would agree that not having a large impact and/or not growing are major reasons why developers leave companies, but I think there is a deeper reason behind why this happens. In my mind, there are companies which are "tech-first" and then there are companies where the technical stack and resources are simply not as high of a priority. 

It all comes down to where the company gets its revenue, and how closely tied that revenue is to the quality of the technology. This ultimately decides how high of a priority management puts on keeping the technical team and the developers happy.

Some examples below (you can skip the next two paragraphs if you already get what I'm talking about)

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

For example, a government contracting company which creates many apps in a year for various departments is unlikely to be tech-first because they never have a lot of time to polish and maintain their products,  because they are jumping from one project to another too quickly. Their top priority is to deliver to the government on time, and keep winning new contracts. 

Another example might be a company that makes hospital content management systems. Their top priority is keeping their customers happy, but rarely will they want to modify the interface or make dramatic changes to the system because it will directly affect doctors who are trying to treat their patients and don't have time to learn how to use a new CMS. 

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

In the long term, I think its more difficult for developers to grow and thrive in a company that isn't tech-first. But I wonder if there are also multiple tiers beyond tech-first as well. Are there "tech-second" and "tech-third" companies? How often do companies say they are tech-first but really are not? Many companies want to be seen as tech-first but below the surface might not be quite so shiny.

Some years ago it may have been pretty easy to identify companies which take their technology seriously, just by asking about things like Agile and seeing how they respond. However, I think this has become more difficult as the Agile methodology has become more widespread. What strategies have you used to tell whether a company is tech-first or not? Do you think developers can thrive in companies which are not tech-first? Why?  There's a lot to unpack, and I would love to hear from the community on this subject.
How can I get a diverse and inclusive team?
Tags: communities, feminism, event
Published: 2020-10-06 14:59:32

---
title: How can I get a diverse and inclusive team?
published: true
date: 2019-06-05 17:25:47 UTC
tags: Communities,Feminism,event,feminism
canonical_url: 
---

TL;DR: If you are really interested on improving the inclusivity and diversity on your team, you need more than a TL;DR

The post [How can I get a diverse and inclusive team?](http://delawen.com/2019/06/how-can-i-get-a-diverse-team/) appeared first on [Délawen](http://delawen.com) written by [María Arias de Reyna Domínguez](http://delawen.com/author/delawen/).
Favorite React/React native podcasts?
Tags: reactnative, react
Published: 2019-06-05 17:23:29

---
title: Favorite React/React native podcasts?
published: true
description: What are your favorite react or react native podcasts?
tags: reactnative, react
---

I recently moved a bit further away from the office so now I have a commute and could use a few awesome podcasts to listen to while driving. What are some of your favorite podcasts? Especially react and react native would be nice.
React Native Chat tutorial
Tags: react
Published: 2019-06-05 17:16:18

---
title: React Native Chat tutorial
published: true
description: We just launched this react native chat tutorial
tags: react
cover_image: https://thepracticaldev.s3.amazonaws.com/i/n5jw9shhglbp6zi3uo94.png
---


We just launched this React Native chat tutorial: https://getstream.io/chat/react-native-chat/tutorial/

Feel free to reach out to me, @jaapbakker or @nickparsons if you have any questions. Happy coding!
A Short Horror Story
Tags: discuss
Published: 2019-06-05 16:54:25

Everyone that works in tech has a horror story or two. Making mistakes and doing stupid things is all part of being human. With that in mind, let me tell you about something dumb I did recently!

On Monday, when I got into work, I took my laptop out of my backpack, placed it on my desk and at the same time, opened the lid and plugged in an external display. This is where things started to go wrong.

When I plug a display into my laptop, both screens go blank for a few seconds. This is perfectly normal as the laptop tries to work out the best resolution to display everything at.

Now, on Monday, I had a busy morning planned so to save a tiny bit of time, while the screens were still blank, I typed in my password and hit return. Unfortunately, while the screens were blank, my laptop had detected that I was wearing my Apple Watch, automatically unlocked and re-opened Slack.

I had just typed my password into Slack and sent it into a channel with of 2000 members.

Yikes!

![Grimacing Face](https://thepracticaldev.s3.amazonaws.com/i/kmrgicbaizg43arqd99d.gif)

Do you any short horror stories like this? I'd love to hear them!
WWDC 2019 Announcements in 15 minutes Podcast
Tags: wwdc, podcast, apple, conference
Published: 2019-06-05 16:27:36

---
title: WWDC 2019 Announcements in 15 minutes Podcast
published: true
description: I created a new podcast episode giving the highlights of everything announced that developers should care about from Apple's WWDC 2019
tags: WWDC, Podcast, Apple, Conference
---

In this rundown,​ I list the stuff that gets behind the marketing and matters for developers from Apple's WWDC conference. At least I hope so :)

[Listen here on Anchor.fm](https://anchor.fm/compileswift/episodes/Apple-WWDC-2019-Announcements-e483gb/a-agj58r)
Not Working is Death?
Tags: discuss
Published: 2019-06-05 15:53:38

---
title: Not Working is Death?
published: true
description: what does not working feel like to you?
tags: discuss
---

I feel I'm not alone in feeling like if you're not working on something productive, you're dying a small death. Each moment could be something new, but if you're doing what I've been doing the past two weeks (playing EVE Online), those moments are dying and you'll never get them back, is what it feels like.

Is it healthy to think a little bit of this, to try and get motivation, or is it all bad? I wonder if my avoidance of seriously working on code is due to some kind of burnout from months of thinking like this, but I don't feel particularly re-energized from my break, mostly just guilt.

What do you do you personally do when you don't feel like coding? What kind of feelings do you get when you aren't actively working?
How to define almost global variable and almost top level method in Rails
Tags: ruby, rails
Published: 2019-06-05 15:41:38

---
title: How to define almost global variable and almost top level method in Rails
published: true
description: 
tags: Ruby, Rails
---

```ruby
# app/models/application_container.rb
require 'singleton'

class ApplicationContainer
  include Singleton
end
```

```ruby
# app/controllers/application_controler.rb
class ApplicationController < ActionController::Base
  delegate_missing_to :container

  cattr_accessor :container, default: ApplicationContainer.instance
end
```

```ruby
# app/models/application_record.rb
class ApplicationRecord < ActiveRecord::Base
  self.abstract_class = true

  delegate_missing_to :container

  cattr_accessor :container, default: ApplicationContainer.instance
end
```
Tips for Passing AWS Certification 
Tags: aws, career, beginners, tips
Published: 2019-06-05 15:11:37

---
title: Tips for Passing AWS Certification 
published: true
description: Tips on Passing AWS Exam First Time
tags: AWS, Careers, Beginners, Tips
---
I had a couple of people ask me on tips to passing the Amazon Web Services (AWS) Cloud Practitioner exam so I made a little video on resources I used and tips I learned. 

Resources like...
☁️ A Cloud Guru
☁️ AWS Whitepapers
☁️ AWS Certification courses

Tips like...
🤓 Write down (not type) your notes
🤓 Make your own flash cards
🤓 Read those Whitepapers!
🤓 Do those quizzes daily 

There’s a new resource I learned about a week before my exam called ExamPro with Andrew Brown but didn’t get a chance to check it out before this past exam. I will when prepping for next one though!


I also have a couple of upcoming presentations discussing...



👩‍💻 Cloud Computing for Small Businesses (how can use the AWS Cloud) 

👩‍💻 Looking Up Into the AWS Cloud (how can teach about the AWS Cloud) 




https://youtu.be/-iSEEMdjhek
How do you get the most out of tutorials, courses, and other coding resources?
Tags: discuss, webdev, beginners
Published: 2019-06-05 14:43:05

---
title: How do you get the most out of tutorials, courses, and other coding resources?
published: true
description: With all of these development tutorials and courses on the internet, how do we get the most out of them? What tips and tricks are you using to maximize how much content you retain?
tags: discuss, webdev, beginners
---


As someone who teaches in tech, I am always interested in learning ways that educational material can be improved. Part of that is understanding how people are currently using the material at their disposal. So let's talk about how you are using your coding courses, tutorials, blog posts, and everything else out there.

*Sidenote: I have written about this a little more [here](https://dev.to/joncalhoun/getting-the-most-out-of-coding-courses-tutorials-3ooe), but I'm positive I am missing all sorts of things others are doing so I'm creating this #discuss post to hear what is working for you!*


Here are some ideas to get the conversation starts:

**How do you practice what you are learning?**

Do you just code along with the tutorial? 

Do you create your own app afterwards? 

Do you do the entire tutorial first, then create an app, or build an app that is different from the tutorial using it as a guide?


**How often do you reference the same resource?**

I am possibly at an odd extreme here; not only will I reference some blog posts and tutorials more than once, but **I'll even find myself referencing articles that I wrote** because I forget things after not using them long enough.

How often do you find yourself reusing resources?

Do you bookmark the great ones? How do you organize your collection of tutorials?


**What courses or tutorials do something awesome that allows you to learn more easily?**

For instance, a really small detail  in the React tutorials is the highlights on changed lines: <https://reactjs.org/tutorial/tutorial.html#passing-data-through-props>

It is subtle, but goes a long way in making it clearer what changed.


Or another awesome idea is having a mentor. Sites like [Exercism.io](https://exercism.io/) do this, but it is incredibly hard to scale.


Everything from themed courses (eg Rails for Zombies) or learning through a game - I want to hear what has made your learning experience better and how.


**How do you learn to go beyond the tutorial?**

One of the biggest complaints against tutorials and courses that hold your hand is that you aren't "learning to code on your own." How do you escape this position and learn to go beyond what is taught in a tutorial?

Do you add new features to whatever you build in the tutorial?

Do you try implementing the same feature using different libraries or approaches?
Need Feedback on a React Project
Tags: discuss, beginners, react, javascript
Published: 2019-06-05 14:41:45

---
title:Need Feedback on a React Project
published: true
tags: discuss, beginners, react, javascript
---

I did a project called movie-base using React JS and Firebase. Please give me your suggestions, tips and constructive feedback. Thanks in advance 🙂️. Here's the link [movie-base](https://bit.ly/moviebase).

Edit: From the feedback I received, As this is a test application you can even sign-up with a fake email to test the App.
Ship error free mobile apps faster 🔥
Tags: ios, android, showdev
Published: 2019-06-05 14:41:28

Let's face it! Finding a root cause of error or bug was never an easy task. Especially when it could be reproduced only in certain conditions on specific devices.

Do you remember how many times did you defer a bug reported by your QA-team or real user because you couldn't reproduce it?

## A bitter fact.
According to recent Cambridge University research, the global cost of debugging software errors has risen to $312 billion annually. It makes up half the development time of the average project.

## A new way. A better way.
Imagine, you could know what's happening inside your mobile app running on a real device somewhere in another city or even on another continent. Imagine, you could inspect every single user's session step by step. Replay each click, each network request, and each spike in CPU or Memory usage. 

And what if you could remotely access a CoreData or SQLite database and run the queries. What if you could do this in real time?

At Techery, we've been running a distributed engineering team for years. And we've been dreaming about the tool that will give us such capabilities. 

So we built it! And it's already saved us countless hours that we now can spend in a much better way.

![](https://thepracticaldev.s3.amazonaws.com/i/3ngmmtd8vxlm8u27sink.jpeg)


Now we're happy to share it with everyone. We hope you'll love it as much as we do!

Check it out at: [https://appspector.com](https://appspector.com?utm_source=devto)

## Getting Started

It's a breeze. [Create a free account](https://app.appspector.com/register?utm_source=devto) and install an SDK. That's it. You're ready to go.

You could browse our [docs website](https://docs.appspector.com/docs/getting-started?utm_source=devto) for detailed AppSpector integration guides.

We're always happy to chat and hear your feedback in [Slack](https://slack.appspector.com/)
HTML 5 StarterKit with Schema and Aria!
Tags: html, css, javascript, boilerplate
Published: 2019-06-05 14:20:50

https://github.com/dainemawer/html5-starterkit

I can't count on my fingers the amount of times I've trawled the web looking for good Schema.org snippets that actually makes sense. Im hoping this template will save time for everyone out there looking to get a solid start to a new project.
tflookup - Developer Diary Part 5
Tags: heroku, docker, tflookup, deployment
Published: 2019-06-05 14:17:56

Dear Diary!

MY LOOKUP APP WORKS! Yayy!

Locally at least.

But what good is a web app, if you can only enjoy it yourself?

So I needed a way to deploy my app automatically (and for free).

Luckily, [Heroku](https://heroku.com/) is around. Heroku is a simple app hosting provider, which hosts very simple apps for free. They connect to your [github repository](https://github.com/dploeger/tflookup) and deploy the app that's there.

Very simple.

**Wrong**

I guess, that's true for most apps, but I had some difficulties:

* I had a frontend and a backend to compile before starting the app
* I had to download the prerendered index before starting the app

[Heroku's documentation](https://devcenter.heroku.com/) is also quite extensive. However, I couldn't get my head around their release stage. All my tries to configure the releases right didn't work.

So finally, I simply wrapped my complete application into a [docker container](https://github.com/dploeger/tflookup/blob/master/Dockerfile) (which was good nonetheless) and used that to deploy the final app to Heroku using Herokus [container deployment feature](https://devcenter.heroku.com/categories/deploying-with-docker).

And now, my dear diary, I have to end my writings. I have finally made my lookup app. It's still not shiny or stable, but it works and I'm quite happy with it.

If anybody reading this might find it interesting and want to use it, they can all find it here:

[https://tflookup.herokuapp.com/](https://tflookup.herokuapp.com/)

Yours
Dennis

**The End**

*This post is one of five posts from the [tflookup developer diary series](https://dev.to/t/tflookup)*

*Cover Image: ["diary writing" by Fredrik Rubensson](https://flic.kr/p/ffFhz5)*