teleren/devto huggingface dataset:
Day 103 : Ticker Tape Parade
Tags: hiphop, code, coding, lifelongdev
Published: 2020-03-26 23:20:33

_liner notes_:
- Professional : So with the deployment scripts failing because of a dependency being updated, instead of rebasing my current branch, I just decided to create a new branch. There were some extra files I created before we decided to go in different direction. Figured it would be better to start with a new branch and just copy and paste the code. Note to self, in YAML files, indentation is very important. haha. Had a group meeting. Then finished up everything for the rest of the team to check out and get some feedback. Also looked into a library to build a CLI. Pretty productive day.

- Personal : Went through an old project to see how I'm going to finish it up. There's a few parts to it so I'm working on how it will all fit together. Coming together pretty well.

![Overhead shot of a beach in Sydney, Australia with rocks and shrubs](https://dev-to-uploads.s3.amazonaws.com/i/fzk1nxdy5m5xcc50z8kz.png)

Earlier in the day, I heard some honking outside. Went to the window and there must have been around 15 cars driving down my street honking, with signs and waving. haha It was like a mini Ticker Tape Parade. haha Whew. The week just flew by! Probably go through tracks for this week's show.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube jOjhZ-K9mnM %}
View App Entitlements 
Tags: ios
Published: 2020-03-26 22:54:25

---
title: View App Entitlements 
published: true
description: 
tags: ios
---

I was given this great tip today from Apple. If you want to view what entitlements the App Store is expecting from your App. You can download your provisioning profile from the developer.apple.com and use the following command from terminal to see what it expects. 

security cms -D -i ./YourProvisioningProfile.mobileprovision
Monitoring 101: AWS CloudWatch vs Serverless-oriented
Tags: monitoring, aws, awslambda, serverless
Published: 2020-03-26 22:33:07

---
title: Monitoring 101: AWS CloudWatch vs Serverless-oriented
published: true
description: Main shortcomings and restrictions of AWS CloudWatch for serverless applications
tags: monitoring, aws, awslambda, serverless
cover_image: https://dashbird.io/images/blog/2020-03-20/dashbird-vs-cloudwatch-header.png
---

At this moment, billions of people are rushing to the internet for work, entertainment, shopping - everything, really. It's great that we developed this virtual world and can keep the lights on, despite what’s happening outside.

On the other hand, cloud systems and developers are under pressure to meet an unparalleled demand. At [Dashbird](https://dashbird.io/aws-monitoring/?utm_source=dev.to&utm_medium=article&utm_campaign=small-teams&utm_content=dashbird-vs-cloudwatch), we have always thought developers deserve the most efficient tools to discover and resolve issues in order to keep cloud apps running smoothly.

For applications running on AWS, CloudWatch might have been enough so far. In our research, though, we identified that teams relying solely on CloudWatch tend to lag behind on issue discovery and resolution time.

We have compiled this feature comparison list between [Dashbird](https://dashbird.io/aws-monitoring/?utm_source=dev.to&utm_medium=article&utm_campaign=small-teams&utm_content=dashbird-vs-cloudwatch) and AWS CloudWatch to help you decide on the most efficient tool for your specific needs:

If you haven't yet, you can [start your free 14-day trial with Dashbird](https://dashbird.io/register?utm_source=dev.to&utm_medium=article&utm_campaign=small-teams&utm_content=dashbird-vs-cloudwatch) today and test out the premium features yourself. No credit card required.

![AWS CloudWatch vs. Dashbird](https://dashbird.io/images/blog/2020-03-20/dashbird-vs-cloudwatch-comparison-table.png)
exe closes immediately
Published: 2020-03-26 22:30:38

Hello, this is my first time with node.js
I followed your example and I could create an exe for windows, perfect. Let's say that we wish to add a part of "Hello world" in the main with a timeout , something like this : 

var http = require('http');

var server= http.createServer(function (request, response) {
  response.writeHead(200, {'Content-Type': 'text/plain'});
  response.end('Hello World\n');
}).listen(8124);

console.log('Server running at http://127.0.0.1:8124/');

server.setTimeout(100000);

I can compile it and create the exe. However, when I open the exe it closes directly and I cannot see what I expect as an output, the console looks like crushing and closes immediately. First world problems I guess...

Can you help?
Locating jar files containing a given class in the command line
Tags: java, linux, beginners
Published: 2020-03-26 22:12:28

Have you ever been in a situation where you need to check whether a given Java class is present or not in some jar library in a remote server's filesystem but all you have in your hands is just a *%@!# SSH terminal? You just feel like you have to cross the ocean with a spoon.

In such a case, and if luckily the remote server is running some sort of Linux, then you can use the *find* command in combination with *grep*.

The example below will try to locate which jar files contain the class *com.ibm.db2.jcc.Db2Driver*, starting from the current directory. Notice that we have to replace *dots* by *slashes*.

```bash
$ find . -name '*.jar' -exec grep -Hs com/ibm/db2/jcc/DB2Driver {} \;
```

And this is what I got after running the above command:

```bash
Binary file ./WEB-INF/lib/db2jcc4-10.5.2.jar matches
```

I hope this may eventually help you to cross your ocean. But take care. Sometimes there are lots of sharks out there! :-o
The Case for WebComponents
Published: 2020-03-26 21:09:33

I was able to utilize Web Components in order to create a simple superhero “playing card” of sorts using JavaScript and HTML. It was my first time using the tool, and I've only had limited HTML experience prior to this, but I was able to use the tool effectively and experience many of its great benefits. Through doing this, I was able to learn the value of the tool and why it is extremely important in front-end development.

First and foremost, having reusable HTML elements makes coding so much faster, easier, and reduces the risks of errors. I was able to make my first hero playing card relatively quickly, but when it came to making the second one, it was just a matter of copying and pasting the HTML element information from the first and changing the avatar and character attributes. By doing this, I was able to complete the second hero in a much faster time, utilize previously made code, and it completely eliminated the chance of me making coding errors the second time around.

Further benefits are as follows. They provide users with basic tools that can be used and implemented to make a wide variety of awesome things. And, because you can use multiple components on the same page, but they remain separate. This idea, encapsulation, allows coders the ability to modify, delete, or fix one of the custom elements without disturbing them all. Additionally, because Web Components are expressed as HTML tags, they can be used practically anywhere and are supported by pretty much all standard and popular frameworks and applications. As a whole, I really found a lot of value in learning about Web Components and I think that if they become a standardized tool, they will become a true asset to creators. 

[YouTube Video](https://www.youtube.com/watch?v=gA1jEWeC5G0&feature=youtu.be)
[SuperHero Card Code](https://codepen.io/bridgebits/pen/RwPqeJR?editors=1010)
Pure CSS Typing Animation
Tags: css, webdev, showdev
Published: 2020-03-26 21:01:01

With the use of keyframe animations, and a couple of (forgivable) magic numbers, we can create a pure CSS typing animation!

We use two keyframe animations - one for the cursor, one for the "typing" reveal of the letters.

A major advantage of this technique is the text being "typed" is always accessible via assistive tech as well as for things like SEO crawlers because we are using `overflow: hidden`. So it is only visually hidden temporarily while the full word is available in the DOM at all times.

{% codepen https://codepen.io/5t3ph/pen/qBdJVEq %}

You can borrow this animation, but it will require a bit of finessing by updating the following if you change the word and/or typeface:

```
// "Type" width 
// - controls how much the word container expands when each letter is "typed"
// - will need adjusted depending on word and typeface
$chWidth: .49em;
// Word length
$chCount: 9;
// Typing animation length
$typeDuration: 180ms * $chCount; 
```
😨How to write consistently...when pandemics happen
Tags: writing, motivation, productivity
Published: 2020-03-26 19:30:29

In prep for an AMA I'm hosting on Sunday, I asked participants to submit questions. Here's one I received:

🤔_How do maintain consistency with writing? Especially when crazy things in life (like pandemics) happen?_

This is a great question. I want to share my response with you all.

----

I'm currently writing my second book, [The Developer's Guide to Book Publishing](https://bit.ly/DGTBP) (out on May 19!). Earlier this month I made the decision to push out the release date to have more time to write the book. Then COVID-19 happened. I also live in New York (currently the "hot zone" of the epidemic in the United States) and worry about family and friends. So how am I maintaining consistency? I'm giving myself permission to take care of—and worry about—me and my loved ones first.

I read a tweet a few weeks ago that went more or less like this: "If you wrote 1,000 words today, you're still working on your book. If you wrote 100 words today, you're still working on your book. If you wrote 10 words today, you're still working on your book." It has given me a needed perspective.

A lot of us feel the need to maintain our previous levels of motivation and productivity even in times like these. Some of you might find that you're actually more productive now, and others may find that working on projects or writing is a welcome distraction from current events. Others may be more like me and find that they're too distracted or too tired. **Whatever your response, it's OK. There is no right or wrong here.**

So if you find that you aren't as "consistent" as you were before this all happened, give yourself a break! If you only write 10 words today, or 10 words this entire week, you're still working. I spent some two weeks away from the book and was able to contribute to the word count this weekend. Today, I added 100 words and an exercise, and I submitted my draft to my first reader! Progress has been slow but these are not ordinary times. You are not at "fault" for your reaction to extraordinary events. 

Resting is just as important as productivity. 💜
How to Make an Encrypted Messaging App
Tags: android, e2ee, messaging, chat
Published: 2020-03-26 20:54:21

Hey Android Devs!

Looking to implement encrypted chat/messaging into your Android app?

There is a great post over on [The Stream Blog](https://getstream.io/blog/) on [How to Build an Encrypted Chat/Messaging App for Android](https://getstream.io/blog/encrypted-messaging-app-android/).

Everything is written in Kotlin and well detailed. It comes with a complimentary repository if you want to jump right into the code. That can be found [here](https://github.com/nparsons08/stream-android-encrypted-chat) on GitHub.

Enjoy and happy coding! 🤓
ActiveStorage & S3 Server-side Encryption
Tags: rails, showdev, aws
Published: 2020-03-26 20:46:46

*Originally posted on [Hint's blog](https://hint.io/blog/activestorage-s3-sse).*

TIL, it is possible to use S3 server-side encryption and ActiveStorage.

This [commit to Rails](https://github.com/rails/rails/commit/32331b19e1da8bdab3c9f6d1666ac2d3108e5042) in 2017 adds the ability but did not add documentation or an example of how to use the `upload_options` feature. Below is a vanilla S3 service config for ActiveStorage.
```yaml
amazon:
  service: S3
  access_key_id: ACCESS_KEY_ID
  secret_access_key: SECRET_ACCESS_KEY
  region: us-east-1
  bucket: BUCKET
```

Here is a S3 service config using `upload`:
```yaml
amazon:
  service: S3
  access_key_id: ACCESS_KEY_ID
  secret_access_key: SECRET_ACCESS_KEY
  region: us-east-1
  bucket: BUCKET
  upload: 
    server_side_encryption: 'aws:kms' # 'AES256'
```
The `upload` hash is passed to `Aws::S3::Client#put_object(params = {})`. One of the configuration options for `put_object` is `:server_side_encryption (String)`. For more options checkout the [Ruby SDK docs](https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method).

💡If you are using KMS keys, the bucket user will need the following policies:
```json
"kms:Decrypt",
"kms:Encrypt",
"kms:GenerateDataKey",
"kms:ReEncryptTo",
"kms:DescribeKey",
"kms:ReEncryptFrom"
```

To help other Rails devs, here is a [PR to Rails](https://github.com/rails/rails/pull/38801) to add the above example to the official guides.

Have a great day!
Open platform of reusable microservices
Tags: microservices, blockchain
Published: 2020-03-26 20:37:15

It's time consuming to build applications: a lot of code is duplicated, and the business application represents only a small percentage of the codebase.

It's also expensive and unpredictable, You either deal with lots of overhead and limited scalability, or give up control of your application and processing.

The MESG Network aims to solve this through a platform that runs your app's microservices and processes, and allows the reuse of existing components so you can focus entirely on the business logic of your applications.

Apps run on local machines or on a distributed network, allowing you to pay only for the processing that you use, and scale up or down effortlessly. Income goes directly to those on the network who process and validate the executions.

MESG is a free, open source tool: you can start building and reusing services right now:

https://mesg.com/get-started
Productivity in the Quarantine ()
Tags: productivity, dart, flutter, discuss
Published: 2020-03-26 20:15:21

I think That quarantine isn't that bad finally cuz it's a big chance to improve our skills we should keep it up and stay away of laziness 
I started to study Dart it's language that will give us a chance to to build android and IOS apps on record time its works in flutter framework 
cheer up guys stay productive and don't forget everything has its own positive side !!
Create lambda function with aws cli
Tags: aws
Published: 2020-03-26 19:26:58

# Introduction

Creating functions are easy with AWS Console. Still, it's worth knowing the cli(command line interface) way. So, it can be automated later on.
In this tutorial, I will show you how to create a lambda function with aws-cli.

# Create

```bash
aws lambda create-function \
--function-name my-lambda-function-name \
--runtime python3.6 \
--role arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-tges6bf \
--handler my_pythonfile_without_py.my_handler_func \
--zip-file fileb://my-function.zip
```

Here keyword names,
`function-name`: is the name of lambda function, you can type what ever you want (with some exceptions).
`runtime`: I have given `python3.6`, many of them are available. You can check this from aws console as well.
`role`: this can be copied from AWS IAM page.
`handler`: is the method that runs on lambda function invocation. It's usually, named like file_name_without_py.handler_function_name. 
`zip-file`: This zip file contains code and any related packages. I will explain, how I created in next section.

Docs
https://docs.aws.amazon.com/lambda/latest/dg/python-package.html
https://docs.aws.amazon.com/cli/latest/reference/lambda/create-function.html

# Create Package

## For simple functions
Simple functions without any python package dependencies can be done in two steps
```bash
zip function.zip lambda_function.py
aws lambda update-function-code --function-name my-function --zip-file fileb://function.zip
```
## For functions with dependency
It can be done in few commands
```bash
# Create virtualenv
python3 -m venv v-env
# Activate that venv
source v-env/bin/activate
# Install all required packages (If you are python developer, this will make sense, otherwise, you may need to watch a tutorial on pip).
pip install Pillow
pip install -r requirements.txt
#etc.

deactivate
# go to site-packages
cd v-env/lib/python3.8/site-packages
# zip content with high-compression ratio (this 9 indicates that)
# OLDPWD is directory before our last cd
zip -r9 ${OLDPWD}/function.zip .
```
This part is well documented here. https://docs.aws.amazon.com/lambda/latest/dg/python-package.html

# Conclusion
I don't think, this tutorial is standalone one. But, with reference, you will get a basic idea.
Digging Into Unikernels
Tags: showdev, watercooler, slimcoder, unikernels
Published: 2020-03-26 19:49:15

---
title: Digging Into Unikernels
published: true
tags: showdev,watercooler,slimcoder, unikernels
cover_image: https://res.cloudinary.com/dwl34s9au/image/upload/v1585251475/1_e9Fewmpw-FJiMcMGI9suFw_hkdxpt.png
---
In below medium article, we will learn about Unikernels and how it will be on boom within a few years.


{% medium https://link.medium.com/dRbT8ViU74 %}


Here is my tweet and what i think about it.


{% twitter 1242597920861564928 %}
TIL: CSS border-collapse
Tags: todayilearned, css
Published: 2020-03-26 19:29:22

---
title: TIL: CSS border-collapse
published: true
description: When you set `border-collapse: collapse;` it means that the cells share a border instead of each having their own.
tags: todayilearned, css
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/4v3o1uiay4e2lw73llbf.png
---

Today I learned about the CSS **border-collapse** property: https://developer.mozilla.org/en-US/docs/Web/CSS/border-collapse

It defaults to `border-collapse: separate;`

![Default: Separate table borders](https://dev-to-uploads.s3.amazonaws.com/i/olz0e9iiza881xkj9udf.png)

When you set `border-collapse: collapse;` it means that the cells share a border instead of each having their own.

![Collapsed table borders](https://dev-to-uploads.s3.amazonaws.com/i/niim8d9azy31kjpqdxml.png)
Looking for web development Job Opportunities 
Published: 2020-03-26 19:27:54

I am a web development with more than one-year experience in project work. Skilled web development, Programming, Networking, Security and self-learning, and adaptable. I am an Openness, Trust and self-disclosure, Individual responsibility and Constructive feedback person. I have great interest in full-stack Web-development position. This passion motivated me to working in jobers online services of Malaysia Sdn Bhd company and web developed position. I have been developed two projects jobersonline and, Manpower Experts by using PHP, MySQL, Bootstrap, JavaScript and jQuery. Currently, I am looking for full-time job opportunity in any web development or other relevant position to leverage my diverse skills and experience.
Verifying self-signed JSON Web Tokens (JWTs) with AWS HTTP APIs
Tags: howto, serverless, apigateway, authorizers
Published: 2020-04-14 12:32:51

---
title: Verifying self-signed JSON Web Tokens (JWTs) with AWS HTTP APIs
published: true
date: 2020-03-26 19:16:40 UTC
tags: How To,Serverless,api gateway,authorizers
canonical_url: https://www.jeremydaly.com/verifying-self-signed-jwt-tokens-with-aws-http-apis/
---

“Trust no one.” Or at least that’s what Fox Mulder told me back in the 90s. With the recent GA of HTTP APIs for API Gateway, I decided to start evaluating my existing API Gateway REST APIs to see if I could migrate them over to take advantage of the decreased latency and reduced cost … [Continue reading "Verifying self-signed JSON Web Tokens (JWTs) with AWS HTTP APIs"](https://www.jeremydaly.com/verifying-self-signed-jwt-tokens-with-aws-http-apis/)

The post [Verifying self-signed JSON Web Tokens (JWTs) with AWS HTTP APIs](https://www.jeremydaly.com/verifying-self-signed-jwt-tokens-with-aws-http-apis/) appeared first on [Jeremy Daly](https://www.jeremydaly.com).
Redis University: An Opportunity to learn about Redis for free
Published: 2020-03-26 19:11:07

Hello how have you been ?

On account of Covid-19 and lockdown, I'm trying to put into practice an old project that would be creating a blog to share knowledge or "discoveries".
 
Keep in mind as discoveries, something that I identified as interesting and decided to share. Besides, I hope to maintain some consistency in the posts.

Due to a possible necessity for one of my projects, I'm start to figure out about  Redis. I ended up finding Redis University, which is an online course platform for Redis Labs. I'm enrolled in the course **Introduction to Redis Data Structures Redis Labs - RU101**

[Visit Redis University](https://university.redislabs.com/)
Using Dev.to as a product review channel
Tags: discuss
Published: 2020-03-26 19:02:18

I've spent a short amount of time using dev.to and I've seen quite a few service offerings, and product promotions.

This community is developer focused. And there are many startups, product developers alike who may need the solutions they have developed tested. Given the once over. Criticised. Applauded.

---
Questions

1) Should dev.to add a tag called **review** which people can follow and send all day enjoying reviewing websites and apps to help support the growth of developers and this community?

2) If you were a product developer or startup. Would you benefit from a review of your app, service, website?
That’s not funny
Tags: life, personal
Published: 2020-03-27 20:53:28

---
title: That’s not funny
published: true
date: 2020-03-26 18:55:11 UTC
tags: Life,personal
canonical_url: https://heidiwaterhouse.com/2020/03/26/thats-not-funny/?utm_source=rss&utm_medium=rss&utm_campaign=thats-not-funny
---

![](https://lh6.googleusercontent.com/kMqc-Rwkq-jrA1h3anl9ZHCrgLpi3Cwg2n8wbUgfMLOZZUpTVcmXym54tieaDlGxVnLV9i1nQWVNTFhaVh0Xir_FFDuHBj7t75gbnXgYR0hYnT0wkLkAeeB8k9_UhHAM_egLqaGfUk_E8k74uQ)

This is me and my sister with our half-yearly shipment of goods from South Africa. Until I was kindergarten-age, we lived in Zaire, now DR Congo. As you can see, stockpiling is nothing new to me.

What you need to know about DR Congo is that it’s not an accident I’m afraid of snakes. There are [green and black mambas](https://www.hluhluwegamereserve.com/black-and-green-mamba-snake/) in the area I grew up in. They will kill adults in under half an hour, and children much faster (I can’t tell you how uncomfortable that research made me, snake pictures, UUUGH).

One spring day, someone came racing up to my dad where he was working at the hospital, and said, “come quick, come quick! Heidi has been bitten by a snake!!”. My dad thought I was dying. He raced home, preparing to comfort me in my last moments.

When he pulled up to our cottage, he found me happily swinging from a tree, not a bit perturbed.

It was April Fool’s Day.

We’re coming up on April 1st again, and the world is full of scary, believable things. Please don’t make jokes about scary things, or people being sick, or ridiculous spending excesses. Really, this might be a good year to skip any kind of corporate prank. If you must, joke with your family or people who share a lot of culture with you, but not with strangers. Don’t try to fool people. Do pranks that are silly, not gotchas or lies. We don’t need any more lies, even ones meant to be funny…eventually.