teleren/devto huggingface dataset:
Resources for LGBTQ+ People in Tech
Tags: lgbt, lgbtq, inclusion
Published: 2019-11-12 19:04:48

A little while ago I created a [readme with resources for LGBTQ+ people in technology](https://github.com/ryderdamen/lgbtq_technology_resources).

![LGBTQ+ Resources in Technology](https://github.com/ryderdamen/lgbtq_technology_resources/raw/master/misc/header.png)

If anyone knows of any [that aren't on the list](https://github.com/ryderdamen/lgbtq_technology_resources), I'd love a pull request or an email!
Blockchain 5.0
Tags: exchange, poker, crypto, casino
Published: 2019-11-12 18:41:37


You will get a whole new experience in the world's first revolutionary decentralized blockchain Casino. Propersix is reinventing the gambling which provides a mixture of provably fair,live croupier, automated and virtual games. So undoubtedly Propersix is a such reliable platforms for Casino gambling.Technology is a blessing of modern civilization. Blockchain is one of them. It is more secure than the other technology. But only few platform are using this technology. For this reason the other platform are not secured. Propersix is a platform which is using the latest artificial intelligence blockchain technology. But now it planning to use the Hydro Raindrop 2FA which is a update version of the google app. This version make the network more secure. So it's the right time to take the right decision and choose the right platform for you.

https://www.propersix.com/blockchain/
Serverless Cloud Products Comparison
Tags: node, serverless
Published: 2019-11-12 18:38:43

Deploying your Node REST API to a dedicated server can be costlier at times, considering you have to pay a fixed cost whether or not the server is used to its full potential. Then configuring, scaling, getting https certificates and managing these servers will also be a tedious task.

With serverless you don't have to manage any infrastructure, the provider will handle it. So let's now compare some of the serverless product offerings,

##1. AWS API Gateway + AWS Lambda

The API gateway acts as a front door which handles all the tasks involved in accepting and processing of concurrent API calls, authorization and access control, data validations, monitoring, and API version management.Then it passes the data to AWS Lambda where you can code your business logic.

But your development time may increase by choosing the method as you have to use two different services and you also have to use another service from AWS called as SAM(Serverless Application Management) to ease your deployment and to test your app locally.

####Pricing
#####API Gateway

![API Gateway Pricing](https://res.cloudinary.com/ds5isiog4/image/upload/v1573397410/AWSAPIGATEWAY_LAMBDA.jpg)
#####Lambda

![AWS Lambda](https://res.cloudinary.com/ds5isiog4/image/upload/v1573397411/Lambda.jpg)

##2. Google Cloud Funtions

Cloud functions are event-driven serverless compute platforms with which you can create a function. These functions can be invoked via a URL.

Google Cloud functions internally uses express, so we can use this to create REST APIs. But cloud functions often have cold start issues and minimal compute time. So it is better to create multiple functions to split your resources if you have a big API.

####Google Cloud Functions Pricing
![Google Cloud](https://res.cloudinary.com/ds5isiog4/image/upload/v1573581175/Cloud_functions.jpg)

##3. Google Cloud Run

Google cloud run is a beta product which runs stateless containerized applications and there are no language limitations. To deploy a node REST API you just need a include a docker file in the root directory of your app and build the container. To build container images you can run docker on your device or you can choose Gcloud CLI.

This is one the best methods if you wish to go serverless as you can even deploy your existing APIs developed with express, hapi , etc.,

####Google Cloud Functions Pricing
![Google Cloud](https://res.cloudinary.com/ds5isiog4/image/upload/v1573582498/Google_cloud_run.jpg)


###Resources
https://aws.amazon.com/api-gateway/pricing/
https://aws.amazon.com/lambda/pricing/
https://cloud.google.com/functions/pricing
https://cloud.google.com/run/pricing
I created a fullstack app for pet adoptions, ask me anything, give me more ideas and feedback.
Tags: opensource, reactnative, graphql, react
Published: 2019-11-12 18:32:59


I created a fully open source animal adoption application. I used react-native and apollo for the app and graphql, nodejs and mongodb for the backend. See the readme for more informations about tech stack.

Check this repo: https://github.com/wendelfreitas/animavita

Give me feedback, ask me anything, teach me what you know.


Obs: If I posted this in the wrong place, please let me know.
Build dynamic app based upon a build type
Published: 2019-11-12 18:28:08

I'm doing a POC, where i have to build app having dynamic component (routing).
Suppose  i have defined 5 component. Based upon requirement i can build the app using only 4 component. like if there is a login component then we can include the login component or remove it while doing build. Please help i'm not getting any clue how to proceed.
A Universal Hostless Substrate for a Post-Serverless Future at Øredev 2019
Tags: øredev, serverless, webassembly, ipfs
Published: 2019-11-13 19:54:40

---
title: A Universal Hostless Substrate for a Post-Serverless Future at Øredev 2019
published: true
date: 2019-11-12 18:22:12 UTC
tags: ØREDEV,serverless,WASM,IPFS
canonical_url: https://blog.fission.codes/a-universal-hostless-substrate-for-a-post-serverless-future/
cover_image: https://s3.fission.codes/2019/11/fission-next-wave-of-platforms.jpg
---

Brooke was at [Øredev 2019](https://oredev.org/) in Malmö, Sweden and presented a talk covering the evolution of server architecture that we call "hostless". This also serves as a high level technical roadmap for what we're working on here at Fission. We've shipped IPFS support, and will move on to identity using zero-knowledge proofs and DIDs, and distributed compute with WASM and smart contracts.

While those are a blizzard of next-gen technology concepts, we're integrating them in such a way as to make them usable and turnkey. The outcome is a better developer experience (DX).

Key takeaways:

- There has been a 60-year progression of server architecture, and there is one final phase left
- There have been recent advances in cryptography, distributed systems, and web infrastructure
- It is possible to store data and run computation **anywhere** , even on untrusted machines
- Remove the concept of “local development”, “production”, and “deployment” entirely

The last 60 years has seen the rise and fall of several models of computing: mainframes, private server, shared hosting, containers, and serverless (to name a few). We have one final phase left: “hostless” or universal apps. By leveraging technologies like secure multiparty compute, the content-addressable web, blockchain, and the rise of WASM, we are seeing the beginnings of a future liberated from specialized providers, acting on a distributed substrate of store and compute.

With all this in place, users fully control their own data (and it never touches your servers), deployment is as simple as setting a flag on your local environment, and developers maintain zero infrastructure.

Come learn about what is being built today for the next wave of computing, how we evolve past the serverless paradigm, and how it can make life simpler for developers and end users!

{% vimeo 372223208 %}

The slides are [available on Notist](https://noti.st/expede/I79QlQ/a-universal-hostless-substrate-for-a-post-serverless-future).
I Want to Make A Text Adventure With ASCII Art - Any Hints Towards Libraries/Frameworks?
Tags: rust, videogames, discuss
Published: 2019-11-12 18:17:30

Hi there! For quite some time I'm thinking about making a small text adventure, but I didn't want it to be text-only. A graphic novel is also something I don't want. Then I found the quite fascinating game [Santuary RPG](https://www.sanctuaryrpg.com/) and I realized that such a reduced ASCII art style is something I would really like. I would like to do write the game in either Python or Rust.

![Example](https://steamcdn-a.akamaihd.net/steam/apps/328760/ss_d151176a848d46b9c712b134c1d612ec8eb5fef8.1920x1080.jpg?t=1494607361)

Now, whenever I google my way around the internet, I find a lot of [pygame](https://www.pygame.org) and [Renpy](https://www.renpy.org/) references, but nothing convincing for Rust. And those two Python libs/frameworks seem to offer a bit too much. Now that I'm writing these lines, it occurs to me that I could adapt a simple terminal UI (TUI) framework for my purposes.

Should you happen to know a library that offers explicit support for story-supporting ascii art, please do let me know. :) And if you can recommend a simple TUI library, I'd also love to hear from you.

Cheers,
Peter
Ansible Cranked to 11 - Building SaaS #14
Tags: python, django, saas
Published: 2019-11-12 18:02:40

{% youtube iZy4qC9ToAw %}

In this episode, we super charged the Ansible deployment of College Conductor.  We reduced the time it tasks to deploy from 7 minutes down to 1 minute and 30 seconds by using a tool called Mitogen.

Check out how Mitogen can be added to your deployment with little configuration and how it speeds up Ansible.

Show notes for this stream are at [Episode 14 Show Notes](https://www.mattlayman.com/building-saas/ansible-cranked-to-11/).

To learn more about the stream, please check out [Building SaaS with Python and Django](https://www.mattlayman.com/building-saas/).
Podcast for beginners?
Tags: discuss, beginners
Published: 2019-11-12 17:54:30

I'm finding that I'd like to listen to a podcast during work. My work is not mentally challenging so I can afford to devote some brain cells to listening. I see there are a lot of podcast options on Dev but I'm not sure which ones would be a good spot to jump in as a beginner? I'd love some suggestions! TIA!
I'm on the Stack Overflow Podcast!
Tags: career, stackoverflow
Published: 2019-11-12 17:50:21

---
title: I'm on the Stack Overflow Podcast!
published: true
description: 
tags: career, stackoverflow
---

Over the summer, [Sara Chipps](https://dev.to/sarajchipps) shared some top secret information with me:  The Stack Overflow podcast was in the middle of a revamp and she would be co-hosting with Paul Ford (gasp!) and Ben Popper. It was a no brainer "Yes!" when she asked me to be a guest.


You can listen to the episode right here on DEV, while you browse around: 

{% podcast https://dev.to/stackpodcast/too-dev-to-quit %}

Major shout out to whoever came up with the episode name 😂

Fun fact: the first podcast I ever appeared on was actually the Stack Overflow podcast, back in 2017 where Anil Dash was a guest host (along with several people from the SO team). I was super terrified. This session was 1000x more fun. But I'm still scared to listen to it.
Securing Angular Applications with Auth0 and Deploying to Netlify
Tags: angular, netlify, programming
Published: 2019-11-12 17:44:07

---
title: Securing Angular Applications with Auth0 and Deploying to Netlify
published: true
description: Angular, Auth0, and Netlify are a perfect combination for creating, securing, and deploying your application.
tags: #angular #netlify #programming 
canonical_url: https://auth0.com/blog/securing-angular-applications-with-auth0-and-deploying-to-netlify/
---
TL;DR: Many Angular applications need some form of authentication to protect different sections of the app. Auth0 is the perfect tool to do just that. But what makes these two awesome tools even better is a simple way to deploy the application, and that's where Netlify comes in. In just a few short minutes, you can create a new Angular application, secure it with Auth0, and deploy it to Netlify.

[Keep reading 🚀] ( https://auth0.com/blog/securing-angular-applications-with-auth0-and-deploying-to-netlify/?utm_source=dev&utm_medium=sc&utm_campaign=angular_netlify)

![Securing Angular Applications with Auth0 and Deploying to Netlify](https://cdn.auth0.com/blog/illustrations/angular.png)
Git: How to move misallocated commits
Tags: beginners, tutorial, git
Published: 2019-11-12 17:42:16

---
title: Git: How to move misallocated commits
published: true
description: Git: How to move misallocated commits
tags: beginners, tutorial, git
series: Shorties
---

Accidentally, I committed 6 times into `master` instead of creating a new branch.

One wrong commit wouldn't be painful, I would do a simple `git reset --soft HEAD~1`, stash and re-commit.

### But how to solve this problem?
Easier than expected.

Logic:
1. Create a new branch based on `master`
2. Remove the commits from `master`

Step-by-Step:
1. Go into `master`: `git checkout master`
2. Create a new branch based on `master`: `git branch my-new-branch`
3. (In `master`): `git reset --hard HEAD~N`, where `N` is the number of commits I want to remove, `6` in my case.
Github Portfolio 
Tags: github, html, devops
Published: 2019-11-12 17:24:35

Design, Code & Caffeine
divider

Hello, my name is Arya Soni. A passionate UI designer and a Full Stack developer from Delhi/Gurgaon, India.

I'm a 20-year-old developer based in Delhi. I specialize in JavaScript and my main area of interest is Front-End Development. I love developing tools/sites/apps that solve real problems or help make someone's life easier. I like impactful work.
BuildEverywhere.org wants to be the WordPress.org for Home Construction. We're looking for contributors! 
Published: 2019-11-12 17:12:33

Hi there!

Brand here. (Yep that's my name) CEO and Co-Founder of Everywhere® (https://everywhereco.com) . We're based out of Lehi, UT and we've built a platform for constructing really cool tiny homes and cabins. We've learned a TON in the past couple of years about how complex it is to build a new home on your own. 

We've also heard a lot recently from people that are much much smarter than us, that the entire home construction space is changing for the better. In short, it means that it's going to get a lot easier to build your own home. The complex "magic" that has existed for years is being revealed so to speak, and with all the instructional DIY videos that can be found on YouTube, building a home doesn't seem as daunting as it once was.

This is just the beginning.

I really am passionate about what's happening. The entire construction landscape is shifting -- very rapidly. I see a lot of comparisons to WordPress and how they created an ecosystem. One side is the business that allows those without any dev experience to enjoy a seamless end-to-end experience. The other side is for anyone that wants to rip apart the code and create plugins and do some really cool things with all the tools they have at their fingertips. I believe home construction can thrive out of this way of thinking and an open platform like this can also solve a lot of the complexities around finding land, permitting, zoning, inspections, validating contractors, and the entire construction process of the home as a whole as well. 

I'm now taking two worlds that I am engrained in and meshing them together. I come from a software background, mainly consisting of a bunch of UI/UX experiencing as well as building complex branding systems for startups and personal brands for athletes. I've also done a lot of front-end development over the years as well. Feel free to connect with me on LinkedIn, and learn more about me here: https://www.linkedin.com/in/brandwinnie/

We're very very early days on this and looking for some people that may want to build their own home in the near future and want to help solve this problem! If you'd like to contribute please email us at buildeverywhere@protonmail.com or join us on discord (https://discord.gg/CCmXSdb) or GitHub (https://github.com/buildeverywhere/build).

In the meantime, go take a peek at what we've got up so far:
https://buildeverywhere.org

All the best,

-Brand
Defining Drupal - Spinning up a Drupal 8 site
Tags: drupal, webdev
Published: 2019-11-12 17:03:00

Let’s do this! There are three major ways to spin a up a Drupal 8 site:

1. Manually, using FTP
2. Via Composer in the command line
3. Through a hosting site such as Pantheon, which will do it for you, lickety split!

Let’s walk through each option.

###Manually installing Drupal 8 

This is the old school way. This keeps you from using the command line to make updates in the future, just FYI, so you’d have to manually make updates to core and modules via FTP.
 
First off, make sure you have a server with a database and PHP. You can use a service like Pantheon or if you just want to spin up a site for fun, you can download XAMPP and install Drupal on your local machine.

Secondly, [download the code!](https://www.drupal.org/download) Make sure you unzip it in the root (htdocs or www or whatever the root is for your web server).

Next, create a database for your Drupal installation. As it says in the [official instructions](https://www.drupal.org/docs/8/install/step-3-create-a-database):
>Take note of the username, password, database name and hostname. (For example, are you installing in http://example.com, or in http://drupal.example.com, or http://example.com/blog?) as you create the database. You will enter these items into fields in your browser when running the installation script.

Lastly, install it! Go to localhost/core/install.php (or replace localhost with the IP address or web address for your site) and follow the instructions. 

###Installing Drupal 8 via command line

There is a handy resource here for installing Drupal 8 using [Composer, a command line interface.](https://www.drupal.org/docs/develop/using-composer/using-composer-to-install-drupal-and-manage-dependencies)

Once you download composer and follow the instructions, it’s a cinch to get your Drupal installation set up. I recommend using drupal-composer/drupal-project so you can use Drush and Drupal Console.

###Installing using a web host

Sometimes, like with Wordpress, certain web hosting services will allow you to spin up a site through their service. Pantheon.io does this, for example, and it’s super easy and handy to use. They even make it super easy to make backups and updates! I highly recommend looking into this option if it’s one you can consider.

Congrats! You’ve just installed your first Drupal site! Now, you’ve still got a long road to go down, but honestly, this was probably the hardest bit. So good work!
HowIVSCode Contest - Win a Free Dev.to Gift Card and more
Tags: vscode, contest
Published: 2019-11-12 17:00:56

Over on [HowIVSCode](https://howivscode.com) I am running a content over the next 2 weeks. All you have to do to enter is sign up and sync your VSCode data.

I am hoping after the content is over to be able to share some aggregate data around what themes and fonts are used most often.

Full contest details here: [HowIVSCode Contest Details](https://howivscode.com/contest)
What is ViewEncapsulation and ways to do?
Tags: encapsulationstrategies, angular, viewencapsulation
Published: 2019-11-12 16:42:20

View encapsulation defines whether the template and styles defined within the component can affect the whole application or vice versa. 

Angular provides three encapsulation strategies:
1.None 2.Emulated 3.Native

Method 1.The styles can be wrapped in a style tag and placed before the templates:
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/ggv2dxwdqs2jtt237yer.png)

Method 2.The style can be written as normal inline styles in the template tags:
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/6ec0bu0453j8v1us1nn4.png)

The expected behavior in various view encapsulation techniques are:

•None: Styles defined in a component are visible to all components of the application
For method 1, the style is wrapped in a style tag and pushed to the head. It is appended right after the component inline and external styles. For method 2, the style just remains in the tag.

•Emulated: Styles used in other HTML spread to the component
For method 1, the style is wrapped in style tag, pushed to head and uniquely identified so it can be matched with its component's template just like component inline style. For method 2, the style still remains in the tag.

•Native:  Styles used in other HTML doesn’t spread to the component
Behaves as expected of web components.
Is there an online documentation generator for c#?
Tags: csharp, help
Published: 2019-11-12 16:24:43

I've been looking all over and all the documentation generators for c# I've found needs to be installed on the developer's computer - at least as a visual studio extension.

I can't install anything on my computer, and since it's for a side project I really wouldn't want to ask the IT department to install SandCastle (or DocFx or whatever) for me.


Isn't there a free only xml-to-html converter that can generate a half-decent html documentation from a project's xml documentation file?

Sure, it can be done using xslt and css, but I was kinda hoping there's already something out there, since it's been at least 15 years since I've last worked with xslt and probably 10 since I last wrote css...
Serverless Spotify Playlist Updates
Tags: serverless, api, node, aws
Published: 2019-11-12 16:16:37

Ever wonder if you could get notified when new songs are added to a Spotify playlist?

I made a Twitter bot using node.js that tweets out new songs added to Spotify's [POLLEN] (https://open.spotify.com/playlist/37i9dQZF1DWWBHeXOYZf74?si=7JIGBdDaQQm_DYosKZc3qg) playlist.
Link to Github Repo: [Github Repo](https://github.com/rohanmeh/SpotifyUpdates)

Tools and Frameworks used:
* [Serverless Framework] (https://www.npmjs.com/package/serverless)
* [AWS Lambda] (https://aws.amazon.com/lambda/)
* [AWS CloudWatch Events] (https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/WhatIsCloudWatchEvents.html)
* [AWS DynamoDB] (https://aws.amazon.com/dynamodb/)
* [aws-sdk npm package] (https://www.npmjs.com/package/aws-sdk)
* [Twitter for Node.js npm package] (https://www.npmjs.com/package/twitter)


App Workflow:
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/7i7akijmzwyvmxx7yze3.png)
1. CloudWatch Events Rule is set to trigger the Lambda function once an hour.
2. Lambda function retrieves all songs Spotify's POLLEN playlist.
3. If a song is not currently in the DynamoDB table, add the song to the table.
4. For each new song, post a tweet with the artist name, song title, and link to the song.

My Thoughts:
* Why is this a good use case for AWS Lambda? Given that I'm only running the CloudWatch Events Rule once an hour, I don't need to manage a server and run a web app 24/7. It's easier and cheaper to use a Lambda function since the code will run only when invoked.
* I've used Lambda before but this was my first time using the Serverless Framework. I found it very useful to be able to invoke my function locally before deploying to AWS. 
* Initially I planned to use the npm package Lowdb to store the songs within my Lambda file but I then read Lambda functions should be stateless and any persistent state information should be kept in a separate database. This was the first time I used DynamoDB in a personal project. I found it quite easy to use the aws-sdk npm package to upload data to my DynamoDB table.  

Next Steps:
* I'd like to separate the functionality of my single Lambda function into multiple Lambda functions connected through [AWS Simple Notification Service](https://docs.aws.amazon.com/sns/latest/dg/welcome.html)
* Use [Serverless Mocha Plugin](https://serverless.com/plugins/serverless-mocha-plugin/) to create and run a test suite for my function.


Useful Links:
* [Spotify Web API Documentation](https://developer.spotify.com/documentation/web-api/)
* [Twitter API Documentation](https://developer.twitter.com/en/docs/basics/getting-started)
* [Deeply Understanding JavaScript Async and Await with Examples](https://blog.bitsrc.io/understanding-javascript-async-and-await-with-examples-a010b03926ea)

Please feel free to leave questions or comments below!