teleren/devto huggingface dataset:
Critique my Portfolio
Tags: portfolio
Published: 2019-10-29 00:24:59

---
title: Critique my Portfolio
published: true
description: 
tags: #portfolio
---

I was recently informed that my cushy job of the last 5-ish years is coming to an end. I've been meaning to build a portfolio for a while now anyways, but this was just the push I needed to actually get it done. Now I'm seeking advice on how I can improve it. I'm not much of a designer, so any tips on the UI/UX would be greatly appreciated, but I'll listen to any advice the community can give me.

The site is at https://tstark2.us

Thanks!
What do you do if a microservice in your ecosystem goes down?
Tags: microservices, react
Published: 2019-10-29 00:21:46

At least once a month I find myself in a moment where multiple servers, or a single point of failure server, is down. I worked back-end for years but now that I work on front-end products in a React project space, I really notice this issue more and would love to find a solution for this.

**If a server in your microservice ecosystem is down, what do you do?** Every time it happens I think of running the back-end projects locally to keep working, but when you have a large set of servers to run, its very complex to get every project running.
Yarn timeout when deploying a Node app to Azure app service
Tags: yarn, azure, node
Published: 2019-10-31 18:53:20

---
title: Yarn timeout when deploying a Node app to Azure app service
published: true
date: 29/10/2019
tags: #yarn #azure #node
canonical_url: https://darraghoriordan.com/2019/10/29/npm-timeout-deploying-node-app-azure-app-service/
---

I was trying to deploying a node app to azure app service recently but it kept timing out trying to download all the required modules.

I was able to fix this by specifying an explicit network timeout for the npm install in my azure-pipelines.yaml file

This really helps on the lower app service tiers because they are quite slow.

The network timeout is specified in the last part of this task.

```
- task: AzureRmWebAppDeployment@4
    inputs:
      ConnectionType: 'AzureRM'
      azureSubscription: '$(azureSubscription)'
      appType: 'webAppLinux'
      WebAppName: '$(serverWebAppName)'
      packageForLinux: '$(System.ArtifactsDirectory)/drop/$(Build.BuildId).zip'
      RuntimeStack: 'NODE|10.16'
      StartupCommand: 'cd server && node dist/index.js'
      ScriptType: 'Inline Script'
      InlineScript: |
        cd server
        yarn install --production --network-timeout=30000
```
Add Continuous Deployment, Authentication, and a Managed Identity to your Serverless Function in Under 10 Minutes
Tags: javascript, aws, azure, serverless
Published: 2019-10-28 23:56:00

---
title: Add Continuous Deployment, Authentication, and a Managed Identity to your Serverless Function in Under 10 Minutes
published: true
description: In this last installment of the six-part series, you learn how to set up continuous deployment of Azure Functions from any source repository, how to secure the function and require log in from popular providers, and where to configure a managed identity for the function to access other secured resources.
tags: javascript, aws, azure, serverless
canonical_url: https://medium.com/microsoftazure/moving-from-lambda-%C6%9B-to-azure-functions-b6d5ed5ca007?part=6
series: Moving from Lambda to Azure Functions
---

The previous episode in this series showed how to develop, debug, and deploy [Azure Functions](https://docs.microsoft.com/azure/azure-functions/?WT.mc_id=devto-blog-jeliknes) from your local machine. This episode concludes the series with advanced concepts. 

# Advanced Azure Functions Concepts

In this episode, continuously deploy your function app from a source code repository, then lock it down so only logged in users can access it. Finally, give it a managed identity so it can securely access other resources.
Watch the episode here:
 
{% youtube TOLplqari7g %}

You can view the source code for the sample app and deploy the migrated code directly to Azure with a single-click in the “AWSMigration” GitHub repository.

{% github JeremyLikness/AWSMigration %}

That concludes this series!

## Resources

* [A full day of free hands-on serverless training](https://aka.ms/learnazfuncs)
Create an Azure Cosmos DB using SQL API
Tags: azure, azurecosmosdb
Published: 2019-10-28 23:12:58

In this tutorial I’m going to show how to:

•	Create an Azure Cosmos DB/SQL API
•	Add data to the Azure Cosmos DB
•	Query Azure Cosmos DB



![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/7n3k7m64e13ai4ucd9y9.jpg)


You can find the PDF version of this tutorial [here](https://github.com/patricksameerajayalath/AzureTutorials/blob/master/Create%20an%20Azure%20Cosmos%20DB%20using%20SQL%20API.pdf).

You can find all my Azure/.Net tutorials [here](https://dev.to/patricksameerajayalath) and [here](http://sameerajayalath.blogspot.com/).

Enjoy !!
Sharing a Docker daemon with virtual machines
Tags: docker
Published: 2019-10-28 19:28:10

---
title: "Sharing a Docker daemon with virtual machines"
published: true
description: A brief tutorial on sharing Docker daemons between host and virtual machines
tags: docker
---

I was doing some testing on Windows for a command line tool last week that required a Docker daemon. I already had a Windows environment setup (minus Docker) on VirtualBox. The problem is VirtualBox does not handle nested virtualization well and my laptop was struggling with the virtual machines I needed already. Here are some easy steps to share a Docker daemon from your host machine with your VMs.

### Host Machine

If your host machine is Windows, open your Docker settings and enable the "Expose Daemon on tcp://localhost:2375 without TLS" option and continue to the Virtual Machine section below. Linux users, continue reading:

1. We need to edit the docker server configs, run `sudo vim /lib/systemd/system/docker.service`
2. On the `ExecStart` line add ` -H tcp://0.0.0.0:2375` to the end and save
3. Reload the service with `systemctl daemon-reload && sudo service docker restart`

To verify you can visit `http://localhost:2375/version` in a browser or `curl http://localhost:2375/version` and get JSON output of your Docker Engine version.

### Virtual Machine

Configuring your virtual machine to use your host machines Docker daemon requires access to that machine via the network and setting an environment variable, the process is nearly identical on Linux and Windows:

Windows:
`set DOCKER_HOST=<host_IP>:2375 && docker run hello-world`

Linux:
`DOCKER_HOST=<host_IP>:2375 && docker run hello-world`

You can, of course, permanently set your `DOCKER_HOST` environment variable and user Docker as you would as if the daemon was running on your machine.

> This post was original posted on my website: [https://jonfriesen.ca/blog/sharing-a-docker-daemon-with-virtual-machines/](https://jonfriesen.ca/blog/sharing-a-docker-daemon-with-virtual-machines/)
Outreachy Contributions
Published: 2019-10-28 22:28:01

Hello Hello fellows.
How are you doing?

Today I would like to share more about my progress at my Outreachy contributions. If you don't know that I am talking about, read [this post about Outreachy](https://dev.to/pachicodes/outreachy-what-57ci).

So, once the contributions period start, you have several projects to choose from, and the recommendation is choose one or two projects to focus on.
The projects I choose where projects that I have the basic skills for but that at the same time I felt would give me some challenge.

**For project number 1** *(HTML, CSS, JavaScript, React, UX)*, I had to add a badge on the page every time that a certain thing happened. While it sounds super simple, it was actually quite challenging. My react level is very low and working with a code you don't know, specially such a big code with soo many files, dude, I spend the first week just trying to understand what was going on, them another week actually coding and fixing my code and tidying up. There was a point where I got soo frustrated that [I had to cry] (https://dev.to/pachicodes/outreachy-what-57ci), but after a little over 2 weeks, I was done and that application was in.

**For my project number 2** I needed the same set of skills minus react to apply, but this contributions was a bit different. I just had to answer some questions about a webpage. While it sounds easier, it was also challenging. I enjoyed doing that a lot tho and it is my favorite project of the 2. 

*Both happen to be Mozilla projects, so hopefully in December I will be a Mozilla intern *-* *


**For future Outreachy applicants**
Before doing getting my contribution started, every source I read about the contribution period would tell me to plan to contributed more than  once to the same project, but sometimes it is not possible, so focus on having one good and strong contribution then say, 5 little ones.
Both projects I choose only asked for one contributions and that was their maximum, they didn't want you to do anything else.

So while it will be helpful to have goals don't set anything in stone until you get started.
Also, the projects I ended up contributing weren't the ones I was interested before. Once I had access to the full details I changed my mind and choose projects that  felt like I would be a better fit for and that I would enjoy working with.

It is frustrating, but you will learn in the process...
Also, ASK QUESTIONS! I had soo many questions and I didn't see anyone else asking questions to I felt embarrassed at the beginning, like was I the only one that needed help? But you know what? My mentors sure know by now how it will feel like to work with me. 


The results come out on November 26th, so I will be anxious until them, wish me luck!!!


thanks for reading friend,
have a great week

xoxo
Keinen Mucks weit nach rechts
Tags: allgemein, noafd, politik
Published: 2020-09-24 12:08:09

---
title: Keinen Mucks weit nach rechts
published: true
date: 2019-10-28 18:06:02 UTC
tags: Allgemein,noAfD,politik
canonical_url: http://drikkes.com/?p=13982
---

Das ist natürlich dumm gelaufen. Jahrelang rechtfertigen viele Medien ihre ständige Berichterstattung über jeden AfD-Furz mit der Begründung, nur so könne man Höcke & Co entlarven. Und spätestens mit der gestrigen Landtagswahl in [Thüringen](https://twitter.com/drikkes/status/1188699693620039682) sollte wohl jedem klar sein: Die Partei wird nicht _trotz_, sondern _wegen_ ihres Rechtextremismuses gewählt.

Gerade öffentlich-rechtliche Journalisten von Plasberg bis Maischberger, die sich von Reichsbürgern und ähnlichem Gesocks ihre Zwangsgebührenfinanzierung vorwerfen lassen, sorgen mit jeder Talkshoweinladung von AfD-Polikern dafür, daß deren kackbraunes Gedankengut Verbreitung findet. Sie helfen so bei der Normalisierung ihrer menschenverachtenden Meinungen und rassistischen Forderungen. Da ist nichts mit „Ha, ertappt“, sondern bei zu vielen kommt „Endlich sagt’s einer“ an.

![](http://drikkes.com/wp-content/uploads/2019/10/IMG_2297.png)

Dazu kommt die unsägliche Eigen-PR auf ihren deppenverstärkenden Social-Media-Kanälen. Interviewer und Autoren wollen Applaus für jede achsokritische Frage, die sie stellen und überbieten sich in einem Wer-zeigt-am-klarsten-Kante-Contest. Lassen sich von ihren Leuten feiern, es „denen“ mal wieder richtig gegeben zu haben. Dabei ist das mehr Selbstversicherungsritual als alles andere.

Preaching to the already converted. Ich twittere, mit ganz wenigen [Ausnahmen](http://drikkes.com/?p=11225), sehr bewusst nicht über die AfD. Außerdem riskiere ich so nicht, mich mit einem ganzen Haufen drunterkommentierender Schmeißfliegen rumschlagen zu müssen. Auf diese „Auszeichnung“ verzichte ich gerne.

[Twittern](https://twitter.com/intent/tweet?url=http%3A%2F%2Fdrikkes.com%2F%3Fp%3D13982&via=drikkes)
MyJournal.Notebook Add-In for OneNote: Journaling Made Easy
Tags: dotnet, onenote, opensource, productivity
Published: 2019-10-28 21:10:00

## Why should I keep a journal?
I have a two word answer to that question: "information overload."  Keeping an electronic journal helps you fulfill Bill Gates' promise of "Information At Your Fingertips".

{% youtube o0O0Xjpjvfc %}

Yeah, I know, you may say this is ancient history but developing good habits never goes out of style.

As an IT professional, I replaced my paper journal with Microsoft OneNote. To me, the main benefit I found was it's searchable. This helped me quickly locate important technical information.

Taking the time to document your day-to-day activities pays big dividends in helping to keep you better organized.

## How does the *MyJournal.Notebook* add-in for OneNote work?
OneNote uses a hierarchical structure to organize its notebooks:

1) Notebook
2) Section Group
3) Section
4) Page

The add-in automates the creation of this structure with one button click.

1) **Notebook**
- Name: **My Journal**
- Type: Directory
- Location: Documents » OneNote Notebooks » My Journal

![1_Notebook.png](https://gist.githubusercontent.com/atrenton/902362099149fa87d6b67a41efd11c54/raw/6ab781c5ff76fca378d620f840054bca601f614f/1_Notebook.png)

2) **Section Group**
- Name: **Year** (4-digit **YYYY** format)
- Type: Directory
- Location: Documents » OneNote Notebooks » My Journal » YYYY

![2_SectionGroup.png](https://gist.githubusercontent.com/atrenton/902362099149fa87d6b67a41efd11c54/raw/6ab781c5ff76fca378d620f840054bca601f614f/2_SectionGroup.png)

3) **Section**
- Name: **Month** (**MMMM** format; OneNote revision store **.one** file)
- Type: File
- Location: Documents » OneNote Notebooks » My Journal » YYYY » MMMM.one

![3_Section.png](https://gist.githubusercontent.com/atrenton/902362099149fa87d6b67a41efd11c54/raw/6ab781c5ff76fca378d620f840054bca601f614f/3_Section.png)

4) **Page**
- User configurable settings for the notebook page:
    - **Color:** Sixteen background color selections from the OneNote page color palette
    - **Title:**  Nine different date format styles to provide either a business or personal look and feel
    - **Rule Lines:** Four rule line styles
    - **Template:** Four page template styles
        + Default (business)
        + Bullet (business)
        + OrdinalDay (personal — see example below)
        + HappyDay (personal)

![4_Page.png](https://gist.githubusercontent.com/atrenton/902362099149fa87d6b67a41efd11c54/raw/6ab781c5ff76fca378d620f840054bca601f614f/4_Page.png)

## Where can I find the *MyJournal.Notebook* add-in?
Check out my GitHub Repo: {% github atrenton/MyJournal.Notebook no-readme %}

## Postscript: What if I have an Office 365 subscription or Office 2019, but don't have OneNote 2016?
Check out this Microsoft FAQ for more information: [Frequently Asked Questions about OneNote and Office 2019](https://support.office.com/en-us/article/frequently-asked-questions-about-onenote-and-office-2019-6582c7ae-2ec6-408d-8b7a-3ed71a3c2103)
404 Error page, Features section, Header intro | Module Monday 61
Tags: showdev, githunt, webdev, javascript
Published: 2019-10-28 21:09:16

---
title: 404 Error page, Features section, Header intro | Module Monday 61
published: true
description: Module Monday 61
tags: showdev, githunt, webdev, javascript
cover_image: https://res.cloudinary.com/component/image/upload/b_rgb:ffffff,c_lpad,h_350,w_800/v1572287156/404_qrftwe.gif
canonical_url: https://guide.anymod.com/module-monday/61.html
---

## Everything below is open source 
It's free to use on any website, web app, or anywhere else. There are hundreds more like these built & shared on [AnyMod](https://anymod.com).

Click a mod to see it along with its source code.

## 404 Error Page
Don't waste time making a 404 page, just copy paste this mod instead.
<a class="btn btn-sm" href="https://anymod.com/mod/404-error-page-dklrkr?preview=true">View mod</a>
<a href="https://anymod.com/mod/404-error-page-dklrkr?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1572287156/404_qrftwe.gif"/>
</a>

## Features section
Bold section for listing your product features.
<a class="btn btn-sm" href="https://anymod.com/mod/features-section-ormamd?preview=true">View mod</a>
<a href="https://anymod.com/mod/features-section-ormamd?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1572287157/features_ddgokx.gif"/>
</a>

## Call to action
Inform and guide your users.
<a class="btn btn-sm" href="https://anymod.com/mod/call-to-action-nkobbl?preview=true">View mod</a>
<a href="https://anymod.com/mod/call-to-action-nkobbl?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1572287155/cta_xjlyhb.png"/>
</a>

## Intro with header
Responsive intro / hero unit with optional social media links.
<a class="btn btn-sm" href="https://anymod.com/mod/intro-with-header-dkdmod?preview=true">View mod</a>
<a href="https://anymod.com/mod/intro-with-header-dkdmod?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1572287155/header_giyflu.gif"/>
</a>

## Spectral footer
Footer with subtle background, based on the Spectral theme.
<a class="btn btn-sm" href="https://anymod.com/mod/spectral-footer-nkrmmo?preview=true">View mod</a>
<a href="https://anymod.com/mod/spectral-footer-nkrmmo?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1572287155/footer_z8lexj.png"/>
</a>

<hr>

I post new mods from the community [here](https://dev.to/tyrw) every (Module) Monday -- I hope you find them useful!

Happy coding ✌️
My Journey to becoming a developer - First post =] 
Tags: beginners, starter, hacktoberfest, motivation
Published: 2019-10-28 20:46:39

The Beginning

Always wanted to post about my journey to becoming a developer so I thought were else to start if not here. 

Why I started programming?

I started programming because I've always found interest in how computers work and also how to program them to perform tasks for us.

**Rocky Roads**

I started programming around 3/4 years ago and remember thinking i'll never get that hang of it. Spent hours on the most trivial tasks and found it really hard to carry on, even cases were I'd think I'm not good enough to be a programmer. Luckily I always found comfort in thinking about all the cools things I'll be able to do once I passed these rocky moments.


Now I am software dev who's worked on both front-end and back-end. So if you were to take only one thing from this post it's to remember never to give up! Everyone hits hard times but it's the way you react to these moments will be the vital to you overcoming the thoughts of not being good enough.
When did you feel that your OOP skills were shapened?
Tags: oop, productivity, softwareengineering, codequality
Published: 2019-10-28 20:25:17

When did you realize that you were applying the concepts of object oriented programming correctly? How was the road to this point?
![batman](http://giphygifs.s3.amazonaws.com/media/a5viI92PAF89q/giphy.gif)
Pestañas en Flutter
Tags: flutter, dart
Published: 2019-10-28 20:23:34

###Introducción###
Flutter nos proporciona en su API una forma muy simple de presentar pestañas en nuestra aplicación que reaccionan a su pulsación presentando un contenido u otro. Empezamos!!!

En primer lugar vamos a describir teóricamente los elementos necesarios y finalizaremos con un ejemplo muy simple para verlo en la práctica. Este ejemplo consistirá en dos pestañas etiquetadas con un icono que mostrarán un texto u otro.

<img width="320" height="700" src="https://thepracticaldev.s3.amazonaws.com/i/n0rc8cb6inbbmmpldcqj.jpg"/>


###Elementos

Los elementos necesarios son:

1. [TabController](https://api.flutter.dev/flutter/material/TabController-class.html)
2. [TabBar](https://api.flutter.dev/flutter/material/TabBar-class.html)
3. [TabBarView](https://api.flutter.dev/flutter/material/TabBarView-class.html)

TabBarView contiene los contenidos a mostrar por las pestañas. Es el parámetro del tipo *List<Widget> children*.

TabBar contiene las etiquetas de las pestañas (tipicamente textos o iconos) en el parámetro del tipo *List<Widget> tabs*. Generalmente su contenedor es un tipo [AppBar.bottom](https://api.flutter.dev/flutter/material/AppBar/bottom.html).

TabController coordina el manejo de las pestañas y coordinación de elementos TabBar y TabBarView descritos. Generalmente no usaremos la clase TabController directamente sino que usaremos la subclase [DefaultTabController.](https://api.flutter.dev/flutter/material/DefaultTabController-class.html). Los parámetros de construcción relevantes son *length* con el número de pestañas a mostrar y *child* con el widget contenedor de los elementos TabBar y TabBarView.
 
<img width="320" height="700" src="https://thepracticaldev.s3.amazonaws.com/i/qokjj3awq0h2ssokzky8.jpg"/>


###Ejemplo###
```dart
import 'package:flutter/material.dart';

void main() => runApp(TabApp());

class TabApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(home: Tab());
  }
}

class Tab extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return TabState();
  }
}

class TabState extends State<Tab> {
  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
        length: 2,
        child: Scaffold(
            appBar: AppBar(
              title: Text('Tabs, Tabs, Tabs...'),
              bottom: TabBar(
                tabs: [
                  Icon(Icons.call),
                  Icon(Icons.call_end),
                ],
              ),
            ),
            body: TabBarView(children: [
              Center(child: Text('Llamar')),
              Center(child: Text('Colgar'))
            ])));
  }
}

```
HTTP requests from React not reaching Express backend on production server
Tags: help, node, react, discuss
Published: 2019-10-28 20:13:45

Hello, I am new to Node and React development and in desperate need of some help. I have a backend and frontend that are able to communicate when I run both locally, but I can't seem to get them to talk to each other on my production server (on a shared Apache server with SSH access). Details here: https://stackoverflow.com/q/58567160/6647072. Any leads hugely appreciated. Thanks!