teleren/devto huggingface dataset:
Mid Meet Py - Ep.5 - Interview with Naomi Ceder
Tags: python, interview, chat
Published: 2020-04-30 18:30:29

---
title: Mid Meet Py - Ep.5 - Interview with Naomi Ceder
published: true
description: We meet in the middle of the day n the middle of the week to chat about Python news. Interview with Naomi Ceder, chair of the Python Software Foundation, co-founder of TransCode
tags: #Python, #Interview, #Chat, #news
---
PyChat (news in the community and tools):

PyCon Hatchery Programs looks for attendees and mentors:
[Data Workshops for Beginners](https://us.pycon.org/2020/hatchery/beginnersdata/)
[Mentored Sprints](https://us.pycon.org/2020/hatchery/mentoredsprints/)

Remote Python Pizza surprise people that online conference does works!
* Great speaker lineup
* Chat on Discord is amazing
* Hiccups with YouTube Streaming
* 2 mins lightning talks
* After party till 1am !!!!!

[Python 3.9a6 is out!](https://twitter.com/gvanrossum/status/1255164435502489600)

[Harvard is offering free courses](https://online-learning.harvard.edu/catalog?keywords=&subject%5B%5D=3&paid%5B1%5D=1&max_price=&start_date_range%5Bmin%5D%5Bdate%5D=&start_date_range%5Bmax%5D%5Bdate%5D=)

Meet Hall of Fame:
Interview with Naomi Ceder, chair of the Python Software Foundation, co-founder of TransCode
[Follow Naomi on Twitter](https://twitter.com/NaomiCeder)
[Check out her twitch channel](https://t.co/wJ0PDZFTmN?amp=1) for tutorials every Friday.

IDE showcase for Python with Lais:
Atom / PyCharm / VSCode / Vim / Sublime etc
A Smart-ish Covid ChatBot 🤖
Tags: twiliohackathon, python, fastapi, chatterbot
Published: 2020-04-30 18:27:40

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project.)

[Reminder]: # (Make sure you've submitted the Twilio CodeExchange agreement: https://ahoy.twilio.com/code-exchange-community)

[Important]: # (By making a submission, you agree to the competition's terms: https://www.twilio.com/legal/twilio-dev-hackathon-terms)


## What I built
I built a ChatBot that communicates via Twilio's API on WhatsApp. The Bot gives Covid-19 statistics from the US & the UK. It also provides some positive news articles to read in light of recent times. 

#### Category Submission: 

COVID-19 Communications
Interesting Integrations

{% youtube KKgx-MwcKdQ%}

{% github ari-hacks/covid-chatbot %}

## How I built it 
Stack 

- Python web framework using FastApi
- Twilio API for WhatsApp
- Automated responses and bot training with Chatterbot

Some Issues
- Setting up ChatterBot produced issues with the [nltk package](https://pypi.org/project/nltk/).
- It took some time to find the right way to set up deployment in Heroku, [FastApi](https://fastapi.tiangolo.com/) is a relatively new Python framework so there are not as many resources for it as Django or Flask. 
- Querying news articles based on keywords did not always produce 'good' news, however, I selected The Guardian API because you can also query on basic logic operators. 
- The Chatbot doesn't always return the desired results.

Things I learned

Since this is my first Hackathon and I am quarantined in another country I decided to use the time and opportunity to learn all new things! This is the first API I've created with python. I decided on FastApi because of its simplicity and great features (especially the built-in docs 🙌🏾). 

I also wanted to add a machine learning component so after some research, I landed on [ChatterBot](https://github.com/gunthercox/ChatterBot). I think it is a great introduction for someone wanting to learn some of the basics of ML.     


## Additional Resources/Info

I used the [Guardian API](https://open-platform.theguardian.com/) to get news articles and a Covid-19 API from [rapidapi.com](https://rapidapi.com/Gramzivi/api/covid-19-data) to get coronavirus statistics.
Learning Resources for WebGPU, OpenGL, and Shaders
Tags: shader, opengl, webgpu, glsl
Published: 2020-04-30 18:23:14

In the near future, your browser will be able to run graphic-heavy games, bitcoin mining, and TensorFlow thanks to WebGPU.

Here are beginner-friendly learning resources:
- [Learn WebGPU](https://github.com/sotrh/learn-wgpu)
- [Learn OpenGL](https://learnopengl.com/)
- [[Youtube] Sebastian Lagues - Coding Adventure: Compute Shaders](https://www.youtube.com/watch?v=9RHGLZLUuwc)
- [Get started with GPU Compute on the Web  |  Google Developers](https://developers.google.com/web/updates/2019/08/get-started-with-gpu-compute-on-the-web)
- [A Taste of WebGPU in Firefox](https://hacks.mozilla.org/2020/04/experimental-webgpu-in-firefox/)
- [WebGPU
Editor’s Draft, 25 April 2020](https://gpuweb.github.io/gpuweb/)
Testing Apollo Server Graph API
Tags: graphql, typescript, jest
Published: 2020-04-30 18:06:36

---
title: Testing Apollo Server Graph API
published: true
description: I often see people on community complaining about testing Graph API's, So I decided to create this little template using apollo server and jest with Typescript! I hope you can use it as a base to make something just as good as you need! The idea is to separate the application from the server, this way you can use supertest npm module to make real requests and do not need to initiate a local server!
tags: GraphQL, Typescript, Jest
---
### I often see people on community complaining about testing Graph API's, So I decided to create this little template using apollo server and jest with Typescript! I hope you can use it as a base to make something just as good as you need! The idea is to separate the application from the server, this way you can use supertest npm module to make real requests and do not need to initiate a local server!

https://github.com/deLimaNicolas/graphql-typescript-test-boilerplate
DotNet OpenSource Days-3
Tags: dotnet, showdev, beginners, conference
Published: 2020-04-30 17:58:49

Conducting a virtual conference is always different than organizing an in-person event. We had some great talks shared by our amazing speakers.

Thanks to all speakers who shared their insights at DotNet Open Source Days. We will be back in November for Version 2.0 with another set of amazing content. 

Did you miss attending the conference? If so we have got you covered.

Check out the amazing keynote delivered by Chris Woodruff 
{% youtube QCGQ3KkAugE %}


Scientist DotNet Overview by Matt Eland @integerman
{% youtube X3ELYSnd3CY%}

Your Technology your way by Rob Richardson 
{% youtube wP-yW6qxfks %}

NoSQL Design Patterns by Ado Kukic
{% youtube 0dfLlKznvIo %}

Deep Dive on .git Folder by Rob Richardson
{% youtube zL69mwurEe0 %}

Watch this page as we publish all the talks to YouTube.

Follow us on Twitter - @dotnetopensour1
appointment reminder
Tags: twiliohackathon
Published: 2020-04-30 17:35:35

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project.)

[Reminder]: # (Make sure you've submitted the Twilio CodeExchange agreement: https://ahoy.twilio.com/code-exchange-community)

[Important]: # (By making a submission, you agree to the competition's terms: https://www.twilio.com/legal/twilio-dev-hackathon-terms)


## What I built
I built a web application that reminds the user of important events like appointments, meetings, and more.
this application uses Twilio APIs to notify users with SMS and calling features.

#### Category Submission: 
**Engaging Engagements**

## Link to Code
https://github.com/PurpleCodePill/appointment-reminders.


## How I built it
I used Nodejs for backend and ejs,html,css for frontend.


## Additional Resources/Info
All other info in the projects Readme file.
"assertion"   (python3)
Published: 2020-04-30 17:33:40

Assertions

An assertion is a sanity-check that you can turn on or turn off when you have finished testing the program.
An expression is tested, and if the result comes up false, an exception is raised.
Assertions are carried out through use of the assert statement.

print(1)
assert 2 + 2 == 4
print(2)
assert 1 + 1 == 3
print(3)
We have sponsors! Alpas Updates, 30 April 2020 Edition
Tags: alpas, kotlin, webdev, framework
Published: 2020-04-30 17:33:43

---
title: We have sponsors! Alpas Updates, 30 April 2020 Edition
published: true
date: 2020-04-30 17:32:12 UTC
tags: alpas,kotlin,web-development,framework
canonical_url: 
---

![](https://cdn-images-1.medium.com/max/1024/0*7VvRq3qE5HpywaO2)<figcaption>Photo by <a href="https://unsplash.com/@gkumar2175?utm_source=medium&amp;utm_medium=referral">Ganapathy Kumar</a> on <a href="https://unsplash.com?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption>

We’ve lifted our heads up long enough to realize that it’s been 5 weeks since our [last Alpas update](https://dev.to/armiedema/alpas-updates-25-march-2020-edition-1iga). Wow, time flies when you’re working hard! ⏳✈️

So what have we been up to? A lot! And, when will you see what we’ve been working on? Very soon!

In our previous newsletter, I mention that we are working on a surprise. That surprise is [**Cleaver**](https://www.producthunt.com/upcoming/cleaver-2), a SaaS server provisioning and app deployment tool, and we are getting super close to bringing it to beta.

Not only will Cleaver make deploying Alpas apps a cinch, but since it is a very complicated app, built using Alpas, we have learned a lot and improved Alpas a TON! 💪🏽

You will see these Alpas updates in the coming weeks. And, we promise, it’s well worth the wait. 😎

### But wait, there’s more good news… Alpas has sponsors!

Over the last week, Alpas has achieved the 100+ ⭐️ club on [GitHub](https://github.com/alpas/alpas). 🎉

We have been absolutely humbled by the support and interest we’ve received with Alpas over the last 4 months since our first public release.

Alpas is still quite far from a true version one, but this milestone did help us get our first sponsor, DigitalOcean! 🎊

[**DigitalOcean**](https://www.digitalocean.com/) is well known in the community for being very supportive of open source technologies. At the 100 star mark, an open source project qualifies for DigitalOcean sponsorship and receives web hosting assistance.

In addition to Digital Ocean, we have also recently received support from [**JetBrains**](https://www.jetbrains.com/). Another major supporter of the open source community, JetBrains provides key contributors with free access to their professional level tools.

Now that we’ve had time to lift our heads up for a bit, share a status with you, and take a couple of breaths, it’s now time to put our heads back down and get back to business. Exciting things are on their way!

PS — if you’d like to follow along more closely with Cleaver and would like to have early beta access, subscribe to the [Product Hunt pre-launch page](https://www.producthunt.com/upcoming/cleaver-2) and we’ll be in touch!

PSS — these last few months have been something else… As the Coronavirus appears to subsiding and things start opening back up, we hope that you continue to be safe, healthy, and responsible.
Submission: GoNotify: WhatsApp messages as a Service
Tags: twiliohackathon, showdev
Published: 2020-04-30 17:28:39

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project.)

[Reminder]: # (Make sure you've submitted the Twilio CodeExchange agreement: https://ahoy.twilio.com/code-exchange-community)

[Important]: # (By making a submission, you agree to the competition's terms: https://www.twilio.com/legal/twilio-dev-hackathon-terms)


## What I built

GoNotify is a service that can be used to send notifications to yourself in the form of WhatsApp messages. For example, you can use this to send yourself notifications if a build fails in the CI, etc. This service extracts out the logic behind maintaining various contacts, managing them into groups, and sending them messages. GoNotify provides you with a simple WebUI and API to manage the phone numbers and groups, and send them notifications. 

#### Category Submission: Engaging Engagements

GoNotify can easily be leveraged by a business to send notifications to its customers and employees without much hassle.


## Demo Link

A demo is hosted on https://gonotify.xyz.
> *Important Note:* To be able to receive messages over WhatsApp using https://gonotify.xyz, you would need to join the Twilio WhatsApp sandbox first.

You can join the sandbox easily by using this link https://wa.me/14155238886?text=join%20including-tin

![Sandbox QR](https://dev-to-uploads.s3.amazonaws.com/i/04ag25r3z4eqovyh8pgz.png)
Or by scanning this QR code on your phone.

## Link to Code

The code is hosted on my GitHub profile. {% github prmsrswt/gonotify no-readme %}


## How I built it

I started learning Go recently and this seemed like an ideal opportunity to gain some good experience with the language. It was pretty challenging and fun. I used `Gin` as it seemed like a mature web framework to me. The front-end was built using ReactJS as I am quite familiar with it.

## Some Screenshots

![Groups](https://dev-to-uploads.s3.amazonaws.com/i/75nxj3lycz8m9j2l3kew.png)

![Numbers](https://dev-to-uploads.s3.amazonaws.com/i/fzlmv5huv2u9t2yy6ngl.png)


## Additional Resources/Info
Additional details can be found in [this Project's README](https://github.com/prmsrswt/gonotify/blob/master/README.md)
To-do list - helpful or disappointing?
Tags: javascript, webdev, react, productivity
Published: 2020-04-30 17:26:37

Do you like to write down your plans for the day? Do you like to plan for tomorrow or the week ahead? 

For me it's easier to live if I know what I'm gonna do today, and also so I don't forget anything!😀
Also, I know there's no point in writing down more than 10 tasks, it'll be depressing if you don't finish them in time. 
And you don't want to plan anything else. You don't have to push yourself, you have to help yourself. 
Start with five important things for a day!
![to-do list](https://dev-to-uploads.s3.amazonaws.com/i/jhwlcer5hhn3pyp7i0yh.gif)
I have combined practicality, ease of use, and I think a beautiful design and created [To Do List](https://yaninatrekhleb.github.io/to-do-list/) and [I've open-sourced it on GitHub](https://github.com/YaninaTrekhleb/to-do-list).

What about you? Does planning ahead help you?

[👉🏻Try it here👈🏻](https://yaninatrekhleb.github.io/to-do-list/)
100daysofcode Flutter
Tags: 100daysofcode, flutter
Published: 2020-04-30 17:01:26

day 52/100 of #100daysofcode #Flutter
Learning Flutter , courses Udemy from
@maxedapps

Today Today learn about fetching data from firebasae
https://github.com/triyono777/100-days-of-code/blob/master/log.md
Creating a HUD in react-three-fiber
Tags: threejs, r3f, vr
Published: 2020-04-30 16:31:02


_Follow along as I try building a virtual reality application using react-three-fiber. See [my fist post on building the scene](https://dev.to/jhsu/hello-webvr-with-react-three-fiber-4k45)._


After creating a basic scene with react-three-fiber, I wanted to add a HUD for the user.


## Single Camera

On my first several attempts, I tried to render multiple cameras, a `PerspectiveCamera` for the player and an `OrthographicCamera` for the HUD. After thinking about targeting a virtual-reality context, I realized I needed a [spatial UI](https://www.ibm.com/design/v1/language/experience/vrar/ux-patterns/spatial/).

_use the mouse to drag the camera and look around_
{% codesandbox r3f-vr-hud-example-yi7xy %}

## Having the HUD follow the camera.

Instead of sticking the HUD directly to the camera, I used `react-spring/three` to animate the HUD's group with a spring to bounce to the camera orientation.

Inside of the `useFrame` hook, I grabbed the camera's position and orientation. Using the `set` provided by `useSpring`, I update the HUD's target position and rotation.

## Next Steps

### HUD positioning

I need to figure out how to get the headset position and place the HUD based on that. Simply using the `PerspectiveCamera` position doesn't seem to place it HUD based on the headset position, but maybe the camera's position is the play area?

### HUD interaction

Now that I have a HUD, I will need to to allow the player to interact with the HUD and figure out a layout.
Building a non-root Docker container
Tags: docker
Published: 2020-04-30 16:30:56

Up until recently, I have been building container images with root and I run them as such, which is (of course) a very poor practice. 

I started learning how to build non-root container a few days ago. In many examples, an arbitrary user is created. Files and directories are created and permissions are set with `chmod`. This makes `Dockerfile` slightly bloated with commands which make the image building process look like system administration.

The first question that comes to mind is, "Can't I use any one of the existing user in the container?" I opened up `/etc/passwd` in both `ubuntu:18.04` and `alpine:3.11`, 2 base images that I commonly use. I found `nobody`, with id 65534 defined in both images. 

Least privileged user? This is it.

I use Docker, VS Code with Remote Development extension for development. It allows me to attach to a running container and develop inside it. The source code is mounted into the container using bind mount. 

Now, how do I save my files if the container runs as `nobody` while the source files on my host owned by me (another user)? It turns out that there is an (sort of) easy solution. 

```
Dockerfile
---

from ubuntu:18.04
ENV HOME /app
USER nobody
WORKDIR ${HOME}
COPY src ./src/
ENTRYPOINT ["./src/helloworld.sh"]
```
```
docker-compose.yml
---

version: "3.7"

services:
    app:
        build:
            context: .
```
```
docker-compose.override.yml
---

version: "3.7"

services:
    app:
        user: "nobody:${GROUP}"
        volumes:
            - .:/app
```

With the files above in the project directory, the first step is to update the source folder with the group writable permission recursively, like so:
```
$ chmod -R g+wX <project dir>
```

Then, I run the container as the same group as the host user's group, like so:
```
$ GROUP=$(id -g) docker-compose up
```

Now, I can attach to the docker container from VS Code using Remote Development extension and develop inside it. When the image is deployed, it runs as `nobody`, which should be safer than running as `root`.

That said, I am still not sure if this is the best approach to non-root container. But this seems to work for my development workflow as well as deployment (with/without swarm mode)

Comments are welcomed.
Placeholder title
Tags: twiliohackathon
Published: 2020-04-30 16:18:06

---
title: Placeholder title
published: True
description: My submission to the Twilio x DEV Hackathon!
tags: twiliohackathon
---

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project.)

[Reminder]: # (Make sure you've submitted the Twilio CodeExchange agreement: https://ahoy.twilio.com/code-exchange-community)

[Important]: # (By making a submission, you agree to the competition's terms: https://www.twilio.com/legal/twilio-dev-hackathon-terms)


## What I built
#### Category Submission: Interesting Integrations
It's a digital butler which would fulfill your day to day needs. Currently, it is intelligent enough to provide you with the latest news of the day. This feature will be improvised and will be expanded in the coming days.


## Demo Link
 https://drive.google.com/open?id=1Scixs2mvi9zq9OAD9_xi7hX8Q53dcQwa

## Link to Code
https://github.com/ishmeet1995/Twilio-Submission

## How I built it (what's the stack? did I run into issues or discover something new along the way?)

I built it using Twilio's Whatsapp API and Newapi (for gathering news). We can host this on Heroku to ensure a continuous service.
Stack - Python3 

## Additional Resources/Info 
newsapi.com
twilio.com
Submission post for the Twilio Hackathon
Tags: twiliohackathon, java, javascript, html
Published: 2020-04-30 16:10:06

#Creating-JOY
####It's an integrated interface to help you help others.

##How Creating-JOY came about?

During this COVID 19 crisis, a lot many people want to donate and contribute to the people in need and the community at large. But I didn't find any relevant applications to do so, hence came Creating-JOY. 

##What I built? 
We built an application that’ll bring all the individual donors as well as NGOs under one roof, to facilitate the queries raised by anyone to help the needy (being humans or animals alike).

#### Category Submission: Exciting X-Factors
An innovative idea that doesn't necessarily fit into any of the three categories but is definitely gonna help a lot many people in need. So, a winner in our eyes already!

##Creating-JOY's value preposition:
- Provision to list the queries to seek help which will include information such as query text, address along with a photograph of the being in need.
- Provision to view queries for all the visitors.
- Provision to post, like, dislike and accept the queries for registered users.
- Provision to delete a query if it reaches the maximum dislikes limit (in our case 5) and to decrease the rating of the associated user who posted. Once a user reaches a minimum rating, they’ll be removed.
- Provision to segregate queries based on categories
- Provision to view requested as well as accepted queries by the registered user.

##Some salient features:
- Interface to post and accept the queries for registered users.
- User verification using Twilio API.
- A user can act as a donor or a requestor.
- Like/Dislike and interact with queries.
- Queries posted are viewable by all the visitors. 

## Link to Code
[GitHub Repo](https://github.com/neerajk2/Creating-JOY.git)
Go through the README.md to get additional details and setup information for your system.

## How we built it:
So, we as a team planned strategically to materialize our vision in a short duration of time. Hence we decided to divide our work on two fronts, frontend and backend. From then on we had small tasks to be done everyday. And magically we reached our end goal.

### What's the stack?
- Frontend : HTML, CSS, Javascript, Thymeleaf, Bootstrap
- Backend : Spring Boot
- Database : H2 Database
- Verification : Twilio Verify API

## Additional Resources:
####Screenshots : HOMEPAGE
![Homepage](https://dev-to-uploads.s3.amazonaws.com/i/abb4mcjq2ahfbaakv53t.png)

####Screenshots : QUERIES
![Queries Page](https://dev-to-uploads.s3.amazonaws.com/i/g23kn0x85jumdi9tznqq.png)

##Future enhancements: 
Adding GoogleMaps API to track queries and notify relevant donors. 

###Feedback
Thanks for reading, I hope you've liked the app. Your feedback is highly appreciated.
Twilio Hackathon-BorrowMyProducts
Tags: twiliohackathon, github
Published: 2020-04-30 16:05:37

## BorrowMyProducts
### What we built
BorrowMyProducts application  helps people to rent/lend the products around them in this COVID-19 crucial time.

### Category Submission
- COVID-19 Communications

### Link to code
<a href=https://github.com/Hemasree5c2/BorrowMyProducts.git>GitHub Link</a>

### How it works
- Simple UI to show the products available near a user’s location.
- Provision to add the products that someone is willing to lend.
- Provision to notify the product owner when someone requests to borrow their product.
- Provision to notify the borrower when the owner accepts his product request.

### Features
- SMS notification through Twilio SMS api.
- Inventory management to keep track of user rentals. 

### Tech Stack
- Frontend:   Html , CSS , JavaScript , BootStrap, Thymeleaf
- Backend:   Spring Boot , JPA ,Database(H2)   
- Notifications: Twilio SMS API 
- Location : Google Maps API

### Future Enhancement
- Feature to set range(distance) to look for products.
- In-app chat feature.
- User rating feature.

### UI Screenshots
#### Login Page
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jtx3o8iscqvi19vdmijf.png)

#### Signup Page
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/kp6zpncr2ms08e85h9pe.png)

#### Home Page
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/vxop8ua3kx2lifk38jn3.png)

#### Products Page
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/m6a17e4tonws5js0odap.png)