teleren/devto huggingface dataset:
3 Hours of Serverless
Tags: serverless, programming, cloud
Published: 2020-08-17 22:46:07

Date and Time: August 25, 2020 7:30 pm - 10:45 pm IST

* Do you agree that the Future of Computing is Serverless?
* Do you want to know how to start with serverless? 
* Are you a practitioner who is looking for deeper insights into architecting applications for the age of serverless? 
* Are you an entrepreneur and techie who is looking for tips on how to save the time of development and deployment? 

Then we have you covered. 

Registration is free of cost, seats are limited (only 300), register now: https://bit.ly/3-hours-of-serverless-devto

We're thrilled to bring you this event, with serverless from all around the world to bring different perspectives. 
We encourage participation from developers with diverse skillsets and expertise, hackers, open-source enthusiasts, and students interested in jumping into an exciting and rapidly evolving field of research and innovation.

The conference speakers: 
* Rodric Rabbah, CTO & Co-founder at Nimbella, co-creator at Apache OpenWhisk
* Jeremy Daly, Serverless Consultant and Host of Serverless Chats
* Rob Allen, sofware consultant and developer concentrating on HTTP APIs.
* Srushith R, Head of Engineering at KonfHub
* Arjun Guha Associate Professor, Professor, Northeastern University, USA

Agenda: 
* 7:30-7:45 pm - Rodric Rabbah: Introduction to Serverless and the future of the technology 
* 7:45-8:20 pm- Srushith Repakula: Become Thanos of the LambdaLand: Wield all the Infinity Stones +Q&A
* 8:20 - 9:20 pm - Rob Allen: PHP in a Serverless World +Q&A
* 9:20 - 9:50 pm - Dr. Arjun Guha: Speeding up Serverless Functions by Language-based Isolation + Q&A
* 9:50 -10:25 pm - Jeremy Daly: Building Resilient Serverless Systems with "Non-Serverless" Components + Q&A
* 10:25- 10:55 pm - Dr. Rodric Rabbah: Stateful Serverless and Stateful APIs +Q&A


More details and register: https://bit.ly/3492chA
Day 197: one life, might live
Tags: hiphop, code, coding, lifelongdev
Published: 2020-08-17 22:28:45

_liner notes_:
- Saturday : Mostly packing and getting radio for the radio show The recording of this week's show is at https://kNOwBETTERHIPHOP.com

![Kool Herc's party flyer which marks the birth of HIPHOP on August 11, 1973 with the words August 15th 2020 and Real Player](https://dev-to-uploads.s3.amazonaws.com/i/caj5sy5kamynobzbjvcq.jpg)

- Sunday : Did a lot of work on the van! Put in the shower system. My father helped install the composting toilet. Loaded in the cooler. Prepared the stuff that goes into the composting toilet. Other than that, I packed up my room for the most part.

- Professional : Pretty chill day. Was pretty tired from packing all weekend. Mostly worked on a promo video for a conference and did research on my next blog post.

- Personal : Finished preparing the material that goes into the compositing toilet. Pretty much just broke it up into smaller pieces. I was pretty therapeutic breaking it up with my hands. Felt like playing with dirt. haha

![Overhead view of a cove in Big Sur, California](https://dev-to-uploads.s3.amazonaws.com/i/8rsndfodfqvfzy8zzhf6.png)

Going to finish up packing my room and clean my bathroom. I think this may be the last night I'm in this house and moved into the van. Got a good anxious feeling. Probably more excitement than anything else. As far as I know, only got one life, might as well live it. haha.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube hRa6LjVtfo4 %}
You ask, I share my opinion - Free ebook
Tags: watercooler, discuss, ama, webdev
Published: 2020-08-17 22:17:45

*Cover photo by https://unsplash.com/@robschreckhise*

Since I released my Cloud Native Web Development book, many readers messaged me saying they enjoy my personal view of various topics.

Would you read a free ebook written by me where I discuss my view of the tech world? You ask, I answer.

Any tech topic is fair game. Learn how to code, job hunting, hiring process, interviews, promotions, big vs small biz, testing, pair programming, job levels, spaces vs tabs. Whatever you can think of, I'm sure I have an opinion.

**Who am I?**
I have twenty years of web dev experience and am the author of Cloud Native Web Development (http://mikenikles.com/cloud-native-web-development). I was an individual contributor, software architect, co-founder, CTO and now work at Google Cloud helping enterprise customers modernize their applications.

**How does it work?**
1. Simple, ask your question in the comments.
1. I will collect all of them, together with the responses I get on Twitter. I will then answer each question and combine all answers in a free ebook.
1. You download the book and start reading and learning.

Ask me anything!
Simplify a Lambda dependency with a Lambda Layer
Tags: lambda, python, docker
Published: 2020-08-17 22:07:56

Faster code deployments are better.  A Lambda layer can reduce the time to deploy a Lambda function.  A Lambda layer is simply a support layer to store code.  Here's how the layer speeds a deployment up, code in a Lambda layer may be excluded from the Lambda zip file. It's that easy. Smaller Lambda zip files are the pathway to Lambda rock stardom! 🤩

## Quick Start

Let's example how to quickly create a Lambda for the Python 3.7 runtime engine.

1. Create a [requirements.txt](https://pip.pypa.io/en/stable/user_guide/#requirements-files) file listing one or more Python package dependencies
1. Download the dependencies to a local disk with `pip install`
1. Archive the dependencies into a single zip file
1. Create a single Lambda layer in the AWS Console, uploading the zip file artifact to the console
1. Add the single Lambda layer in the AWS console to list of layers for the Lambda function

## Tips

The Lambda community is simplifying local install of tools like 'pip' or 'aws cli'.  It's a long time in the making.  No longer must we install tools.  Docker containers with tools are available.  Here are two containers to consider for this quick start.  The containers are optional.  The containers simply save time. It's up to you.

#### LambCI

[LambCI](http://lambci.org/) is on a mission to improve serverless computing integration.  The docker container `lambci/lambda:build-python3.7` has a perfect installation of `pip`. Run step two with `pip` from this container.  

Here is some community code to do it:

Example:
```shell
#!/bin/bash
export LIB_DIR="python"
rm -rf ${LIB_DIR} && mkdir -p ${LIB_DIR}
docker run --rm -v $(pwd):/foo -w /foo lambci/lambda:build-python3.7 \
    pip install -r requirements.txt -t ${LIB_DIR}
```

#### AWS CLI

The aws cli v2 is in a docker container. No need to repeat the install instructions, please simply read them here at [Using the official AWS CLI version 2 Docker image](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-docker.html).  The cli is faster than the console. 
It's simply a preference. 

Here's another community code example:

Example:
```shell
docker run --rm -it -v ~/.aws:/root/.aws -v $(pwd):/aws amazon/aws-cli s3 cp s3://aws-cli-docker-demo/hello .
```
Vue Reactive CSS Properties
Tags: javascript, vue, showdev
Published: 2020-08-17 22:01:46

Hey, so I just finished my first implementation, porting `reactive-css-properties` to a Vue plugin that I hope to release (I am trying to cover all the major players React, Vue, Angular).

Here is what the hello world starter with my stuff added in, my question is, is this idiomatic Vue? Would you be happy to use it, is there anything more ergonomic you would do as a Vue developer or anything that is unexpected?

``` vue
<template>
  <div id="app">
    <p :style="{color: `${themeTextColor}`}">Inline test</p>
    <input type="color" @input="handleColorChange">
    <p @click="handleClick">click me</p>
    <img width="25%" src="./assets/logo.png">
    <HelloWorld :themeTextColor="themeTextColor" :msg="msg"/>
  </div>
</template>


<script>
import { CSSProp } from "./plugin/vue-reactive-css-properties";
import HelloWorld from "./components/HelloWorld";

export default {
  name: "App",
  props: {
    themeTextColor: {
      type: CSSProp,
      validator: CSSProp.validator,
      default: () => new CSSProp()
    }
  },
  data() {
    return {
      msg: "Hello code sandbox!"
    };
  },
  components: {
    HelloWorld
  },
  mounted() {},
  methods: {
    handleColorChange(e) {
      const value = e.target.value;
      this.themeTextColor(value);
    },
    handleClick() {
      this.themeTextColor("blue");
    }
  },
  watch: {
    themeTextColor(color, oldValue) {
      console.log("change", color, "was", oldValue);
      this.msg = `Hello Reactive CSS!, the color is now ${color}`;
    }
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  margin-top: 60px;
}
</style>
```
*Live preview*
{% codesandbox plul4 %}

I really am looking for comments in feedback, tell me if Im way off. Thanks!
npm@6.14.8
Tags: npm, node, javascript, cli
Published: 2020-08-17 21:52:19

---
title: npm@6.14.8
published: true
description: New npm cli patch release
tags: npm, node, javascript, cli
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/xq22ibfxa620rin0uuqv.jpg
---

<img src="https://dev-to-uploads.s3.amazonaws.com/i/w0phglanuv3swzn07rqh.png" width="350" height="380" />

We just shipped a new version of the npm cli!

:arrow_down: Get it now: 

```
npm i -g npm@latest
```

To check the full changelog, check out the [blog post in the official blog](https://blog.npmjs.org/post/626732790304686080/release-6148).

And that's it! :sunglasses: Have an awesome week everyone!

---

<sub><span>Photo by <a href="https://unsplash.com/@kellysikkema?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Kelly Sikkema</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></sub>
Evaluating “ReadLine using System.IO.Pipelines” Performance in C# — Part 2
Tags: csharp, dotnetcore, benchmark, dotnet
Published: 2020-08-19 16:01:17

---
title: Evaluating “ReadLine using System.IO.Pipelines” Performance in C# — Part 2
published: true
date: 2020-08-17 21:10:37 UTC
tags: csharp,dotnetcore,benchmark,dotnet
canonical_url: https://medium.com/@joni2nja/evaluating-readline-using-system-io-pipelines-performance-in-c-part-2-b9d22c95254b
series: Evaluating “ReadLine using System.IO.Pipelines” Performance in C#
---

### Evaluating “ReadLine using System.IO.Pipelines” Performance in C# — Part 2

#### Read string line by line using System.IO.Pipelines API in C#

![](https://cdn-images-1.medium.com/max/1024/1*fzEzlMkFhQ11niqozD3DmA.png)

On [part 1](https://dev.to/joni2nja/evaluating-readline-using-system-io-pipelines-performance-in-c-2io8) of this series, I concluded:

> In terms of speed, it is surprisingly slower than the _ordinary_ ReadLine version given the string length ≤ 80 (perhaps I am doing it wrong? Let me know! I am still learning!). It is starting to shine, getting faster and faster if the string length ≥ 90. (270% 🚀 faster for string length = 1000).

I decided to take a further look and added more patterns to the benchmarks. The new code, instead of blindly using SequenceReader<T>, is a mix of _fast_ ReadOnlySpan<T> and _slow_ SequenceReader<T>; by inspecting [ReadOnlySequence<T>.IsSingleSegment](https://docs.microsoft.com/en-us/dotnet/api/system.buffers.readonlysequence-1.issinglesegment?view=netcore-3.1) property.

{% gist https://gist.github.com/jo-ninja/6f7171ac2b78300057bc67cd34315dc5 %}

The idea is, _get a_ _Span once and then pull as many lines as possible out of it before moving to the next segment of the sequence_, as also pointed out by a generous Reddit user _u/scalablecory_, thanks! (apparently a member of the .NET Team?!)

Here is the result:

![](https://cdn-images-1.medium.com/max/1024/1*wcZqGz5SFVPJ4OQnugMVqw.png)

### As you can see, it performs well under every test case, rendering my previous conclusion obsolete!!!

And here is the gist version:

{% gist https://gist.github.com/jo-ninja/7e6736e2b23b79e7cf70691dfa46a07d %}

Noticed that this time it has fewer test cases; I reduced some LineCharMultiplier variations, as I don’t think we need it.

You can find the source code in my [GitHub repository](https://github.com/jo-ninja/ReadLinesBenchmarks).

### Conclusion

- Pipelines versions are better in terms of memory usage (using less memory).
- In terms of speed, it is 103% ~ 333% 🚀🚀🚀 faster, depends on the string length.
- Less GC pressure (a good thing) for Pipelines versions (Gen 0, Gen 1).
- The amount of code to write for the Pipelines version is super longer!

_DISCLAIMER: Your mileage may vary. As with all performance work, each of the scenarios chosen for your application should be measured, measured and measured. There is no silver bullet._
A Netflix Style Node.js Project Created Using movieDB API
Tags: javascript, node, npm, webdev
Published: 2020-08-17 21:52:11

## Welcome to Node Popcorn 👋
> Simple Movie,TV App

### 🏠 [Homepage](https://popcorn-film.herokuapp.com/)
## Github
https://github.com/vaibhavpacharya/node-popCorn

## Table of Contents

* [About the Project](#about-the-project)
* [Built With](#built-with)
* [Installation](#install)
* [Contact](#author)

## About The Project

There are many great online database of information related to films, television programs, home videos, video games, available on internet, however, I didn't find one that really suit my needs, they are cluttered and contain advertisements and provide bloated information. 
So I created this enhanced and simple one. Its UI is inspired by Netflix homepage.
## Install

```sh
npm i
```

## Usage

```sh
npm run start
```

## Run tests

```sh
npm run test
```
## Built With

* [Node.js](https://docs.npmjs.com/) - The JavaScript Runtime used
* [BootStrap](https://getbootstrap.com/) -  The CSS framework

## Author

👤 **Vaibhav Acharya**

* Website: http://vaibhavpacharya.surge.sh/
* Twitter: [@IAmVaibhav1993](https://twitter.com/IAmVaibhav1993)
* Github: [@vaibhavpacharya](https://github.com/vaibhavpacharya)
* LinkedIn: [@vaibhav-acharya-6b484a11a](https://linkedin.com/in/vaibhav-acharya-6b484a11a)

## Show your support

Give a ⭐️ if this project helped you!


***
3 things that make Flutter > Android native (for me)
Tags: android, flutter, productivity
Published: 2020-08-17 21:52:01

I come from native Android development and I am trying out Flutter mostly for mobile but also Desktop development. I know they are not the same thing, so this post is about my **personal experience** with both frameworks. 

## Simplicity

In Flutter, most of the common structures and boilerplate is so simple that **I can actually remember how to do it**. Realizing this is just crazy. I can do my job with only the contents of my brain. Amazing.
This means that even with very little experience, I can just sit and start coding in Flutter and make actual progress. This allows me to very easily get in 'the flow' and it's a more rewarding experience overall.

In Android native I struggle constantly with things like adapters, fragments, the navigation stack, and so on. Even with Jetpack and Kotlin (which simplified things **a lot** for me) I still am constantly going to other projects to borrow pieces of code, or searching StackOverflow for answers to things that feel like they should be much easier to understand and use. This distracts me from what I want to achieve, and requires a huge mental effort.

Maybe because I'm getting older, I feel like native Android is always getting more and more complex and it's impossible for me to catch up anymore.

## Documentation

I thought I would **never** say this about a Google product, but I think that the Flutter documentation is very good, even useful!
 
I'm sure the Flutter team is full of (or directed by) designers, and the native Android team is mostly engineers, and it shows. 


## Time economy

**Android native makes me waste so much time**. Everything takes so long that some times the app finally runs in the emulator and I end up staring at the screen because I can't even remember what I wanted to test.

On the other hand, Flutter's hot reload and hot restart is like breathing fresh air after being locked up in a 1 by 1 jail cell underwater.

Again, this keeps me in 'the flow' and makes the whole experience much more enjoyable.
Citellus GitHub Action
Tags: actionshackathon, python, troubleshooting, report
Published: 2020-08-17 21:37:17

### My Workflow
https://github.com/citellusorg/gh-action-citellus/ allows to run a custom set of rules against a folder and generate a GitHub site so that the report can be previewed online.

A new rule added triggers a new execution with new report rendering.

### Submission Category: 

Wacky Wildcards

### Yaml File or Link to Code

{% github citellusorg/gh-action-citellus %}

### Additional Resources / Info

Used at IPI Validations by @iranzo to use a custom set of scripts and config to generate validation output <https://github.com/iranzo/ipival/>

Sample output from that repository at: <https://iranzo.github.io/ipival/>
tsParticles - New Big Circles Preset, easy to install, beautiful to see
Tags: codepen, showdev, javascript, html
Published: 2020-08-17 21:06:00

# tsParticles new preset: Big Circles

[tsParticles](https://github.com/matteobruni/tsparticles) has a new preset available: Big Circles

You can find it on jsDelivr: <https://www.jsdelivr.com/package/npm/tsparticles-preset-big-circles>

You can see a sample here:

{% codepen https://codepen.io/matteobruni/pen/rNeLmeQ %}

## How to use it

```html
<div id="tsparticles"></div>

<!-- tsParticles library -->
<script src="https://cdn.jsdelivr.net/npm/tsparticles@1.17.8/dist/tsparticles.min.js"></script>

<!-- tsParticles Big Circles preset -->
<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-big-circles@1.2.9/dist/tsparticles.preset.bigCircles.min.js"></script>
```

```css
#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
}
```

```javascript
tsParticles.load("tsparticles", {
  preset: "big-circles"
});
```

And you're done, you can have this beautiful animation easily in your website.

If you want to customize it, you can still override tsParticles properties in your config like this: 

```javascript
tsParticles.load("tsparticles", {
  particles: {
    shape: {
      type: "square"
    }
  },
  preset: "big-circles"
});
```

You can see a sample of this configuration here: 

{% codepen https://codepen.io/matteobruni/pen/XWdKeXo %}

And with this configuration you will have colored Big Squares.

{% github matteobruni/tsparticles %}
Helpful Tips for Working with Material Design 💻
Tags: design
Published: 2020-08-17 21:04:16

Did you ever wonder how Google applications always look so uniform and clean? I did. I admire the simplistic design and tried to duplicate it with little success when I first started learning how to program. It wasn't until I took a course for my degree that I was recommended to look into the use of Material Design from material.io.

Material is a design system created by Google that utilizes the simplistic design that Google uses in all of its systems to create a uniform look. There are a large amount of resources for anything that you could want to know at material.io. Every application that I have used Material in as been programmed in Angular; however, Material can be used in almost any application.

I am by no means an expert in Material Design but there are a few tips that I wish I would have been told when I first started working with the system.

1. Dialog Boxes
    Dialog boxes are incredibility helpful for drawing the attention of the user to a participate response or action needed from them. We used dialog boxes for basically every feature of the application; however, we did run into a few common bugs with them. Definitely make sure that the dialog boxes are declared properly in the @NgModules, and that a MatDialog service is being utilized to actually open the box. Below is a link to a Stack Overflow question that was super helpful for debugging the dialog box problem.

2. Color Tool
   Definitely utilize the Material's color and theme tools! Material's color tool allows for the developer to establish a color palette that best suits their application. Just pick a primary and secondary color and the color tool does the rest! These tool allowed for us to settle the debate about what would be the best palette for us.

3. Figma Material Design Theming Kit
   To help establish a mock of our design to show to our customer we utilized Figma's Material Design Theming Kit. Figma is a fantastic prototyping tool that allows for developers to test their designs before implementing them. We started mocking up a prototype in Figma but were having a little trouble trying to implement the Material Design style. It wasn't until we found the Material Design Theming Kit that we were able to create an accurate prototype. If you want to work with Material definitely mock up your designs with the tool kit in the links below!

If you have any Material pointers, please feel free to post them in the comments!😁

Also, here are a very important resources that I hope make your Material journey easier!

 Stack Overflow Dialog Question:
https://stackoverflow.com/questions/48481733/matdialog-doesnt-open-as-dialog
 Quick Start for Material Components: https://material.io/develop/web/docs/getting-started
  Tutorials :
https://material.io/resources/tutorials
  Color Tool:
https://material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=BA68C8&secondary.color=90CAF9
   Figma Material Design Theming Kit:
https://www.figma.com/resources/assets/material-design-themeing-ui-kit/
Hi everyone!
Tags: startup, augmentedreality, virtualreality, showdev
Published: 2020-08-17 20:55:04

We're echoAR, a cloud platform for AR/VR apps and experiences! 

For **FREE** access to our platform visit: 
https://www.echoar.xyz/

**Any questions?** Useful tutorials can be found here:
https://docs.echoar.xyz/

You can also reach out to us via our **Slack channel** here:
https://go.echoar.xyz/join

Useful **open source demos** to get you started can be found on our GitHub page: 
https://github.com/echoARxyz

We would love to hear your thoughts on your experience with echoAR in this **quick survey**: https://go.echoar.xyz/uYDV. It only takes 60 seconds (we counted!) and will help us better meet your needs.