teleren/devto huggingface dataset:
Python Name lookup
Tags: lookupforstringinpandas
Published: 2019-11-11 21:43:55

I have firstname,lastname,Middlename,fullname in a dataframe. I have a list of 500 titles like MR,MR.,DDS,D.d.d,MD,m.d., So I have to identify whether these titles are present in firstname or last name and full name, if they are, I have to drop it. Please help me with this.Thanks

Full_name	First_Name	Middle_name	Last_Name
Ramesh DDS., kumar, 	Ramesh		kumar DDS.
Suresh DDS, Kumar, G	Suresh	G	Kumar DDS
Anjali DDS, devi, 	Anjali		devi DDS
Aruna DDS, Kumari, G.	Aruna	G.	Kumari DDS
Christin DDS, Selva, G.	Christin	G.	Christin DDS
Rathana DDS, Kumari, 	Rathana		Kumari DDS
JOhn DDS, peter, R	JOHN C DDS	R	Kumar DDS
Raj DDS, Kumar, 	Raj		Jothi DDS
Siva DDS, Jothi, 	Siva		Nathan DDS
Senthil DDS, Nathan, 	Senthi		dev DDS
Prasath DDS, dev, 	Prasath		Kumar DDS
anil, Kumar C DDS, 	Anil		Kumar
varun DDS, Dhavan S, 	varun		Dhavan DDS
Vinoth, Kanna C DDS, 	Vinoth		Kanna
DDS joshi, mani H, 	Joshi		DDS Mani
DDS kamal, kanna H, 	Kamal		DDS Kanna
The Rise and Fall of my portfolio project:
Tags: ctrlshiftcodeschool
Published: 2019-11-11 21:31:04

<p>I’m from a mountaineous region, so hiking has always included some elevation changes.  My favorite part of a hike was always reaching certain vantage points and looking back.  You’re still feeling energetic, you know there’s more mountain to hike but  you put some work in, and you just can’t help but turn and look back to see how far you’ve come.  And the view...  The view was always “worth it”</p>

<p>After 6 weeks in my CTRL-SHIFT Code School Web Developper bootcamp,  I feel like I’ve reached my first vantage point, and I can’t help but look back at where I’ve been.</p>

<p>I started out in the foothills of HTML.  It felt like I was learning a secret code that I could send to anyone and the browser would “translate” it for anyone I wanted to see it (which was everyone and sort of defeated the purpose of it being “secret”)  The first real struggle was trying to get an image to show up.  😂 .   I went back and forth at least 10 times to see if it would “pop up” yet.</p>

<p>Wandering into CSS felt like I’d entered something vast and, frankly, intimidating, but other, more experienced hikers were quick to assure me that, this feeling will never go away.  Although, I wasn’t sure if this was meant to reassure me,  it at least told me it was ok to be here feeling like this and they showed me the tools they used to navigate the region.    I started trying out colors and positioning, and even a brief moment spent with moving an animation across my screen.</p>

<p>The really fun part came when I figured out how to create multiple pages and run the CSS across all of them.  I started to feel just a little sense like, “I’m a real developer”.  So thats where I’m at.  I’m sure that as I progress, I’ll look back at my first website, and smile fondly at it as one of my early steps, but for now, I get to feel just a bit proud of how far I’ve come and enjoy the view...  Its worth it.  </p>
![picture of my website](https://thepracticaldev.s3.amazonaws.com/i/kicaxzu73edsrb83mdke.png)
Want to Run DEV's Advent of Code?
Tags: adventofcode
Published: 2019-11-11 21:26:00

---
title: Want to Run DEV's Advent of Code?
published: true
description: Looking for someone to generate the discussion posts during Advent of Code!
tags: adventofcode
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ccva2e15maewiya3tl5a.png
---

It's almost here!  Advent of Code is almost here!  Last year, I had a really fun time putting together the daily discussion posts for everybody to share their solutions to all the puzzles.  This year, I want to give somebody else a chance to dive into the community a little bit more.

If you're interested in taking the reins (reindeer reins, I suppose they would have to be) this year, even partially, shoot me a DEV message.  I'll walk you through how I do it currently, get you set up with an easy cover image template/process, and help you as little or as much as you want.  We'll see if we can get the DEV team to make you an #adventofcode tag mod.  And if you can't commit to the daily posts, and you want to trade off days, or weeks, or want to message me when you can't do it and I'll fill in, we can work that out too.

OR!  If we get a whole bunch of people interested, maybe we can set up some sort of round-robin situation.  We'll see.  

I'm excited to code with everybody again this year (hopefully more successfully on the challenges too!).

Merry (almost) Christmas!  (And Happy Thanksgiving, which is a completely valid standalone holiday in America in its own right thank you very much Wal-Mart.)
Accessibility, why? how? (part.1)
Published: 2019-11-11 21:23:53

## WHY?

1.social aspect
In the modern world, the web should provide equal access and opportunity for people with or without diverse abilities.  
[Accessibility perspectives](https://youtu.be/3f31oufqFSM)

2. Accessibility is obligatory in most of the [countries](https://www.w3.org/WAI/policies/)

[There is a UN Convention](https://www.un.org/development/desa/disabilities/convention-on-the-rights-of-persons-with-disabilities/article-9-accessibility.html) on the Rights of Persons with Disabilities which recognizes access to information and communications technologies, including the Web, as a basic human right.

3.Business case
There is also a strong business case for accessibility. Accessibility stands in one line with other best practices such as mobile web design, device independence, multi-modal interaction, usability, design for older users, and search engine optimization (SEO). Case studies show that accessible websites have better search results, reduced maintenance costs, and increased audience reach, among other benefits. Developing a Web Accessibility Business Case for Your Organization details the benefits of web accessibility.


There are some [examples](https://24ways.org/2013/why-bother-with-accessibility/) when adding accessibility brings significant business value. 


## HOW?


while code: 

Eslint plugin:

Must have

```javascript
{
  "extends": [..., "plugin:jsx-a11y/recommended"]
}
```

Nice to have 

```javascript
{
  "extends": [..., "plugin:jsx-a11y/strict"]
}
```

While testing code: 

[jest-axe](https://www.npmjs.com/package/jest-axe)

examples:

### Enzyme

```javascript
const React = require('react')
const App = require('./app')
 
const { mount } = require('enzyme')
const { axe, toHaveNoViolations } = require('jest-axe')
expect.extend(toHaveNoViolations)
 
it('should demonstrate this matcher`s usage with enzyme', async () => {
  const wrapper = mount(<App/>)
  const results = await axe(container.getDOMNode())
  
  expect(results).toHaveNoViolations()
})
```

### React Testing Library

```javascript
const React = require('react')
const App = require('./app')
 
const { render, cleanup } = require('@testing-library/react')
const { axe, toHaveNoViolations } = require('jest-axe')
expect.extend(toHaveNoViolations)
 
it('should demonstrate this matcher`s usage with react testing library', async () => {
  const { container } = render(<App/>)
  const results = await axe(container)
  
  expect(results).toHaveNoViolations()
  
  cleanup()
})
```

### verify In Browser

[chrome-extension](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd)

IMPORTANT according to [research](https://accessibility.blog.gov.uk/2017/02/24/what-we-found-when-we-tested-tools-on-the-worlds-least-accessible-webpage/) made by GDS team, all automated tools will cover only about 30% issues. Rest you need to test manually.
Try Jupyter Hub on GKE with dummy authentication
Tags: jupyter, kubernetes, gke, devops
Published: 2019-11-11 21:21:35

### Create a new cluster
```
export cluster_name=jhub-cluster
export cluster_zone=us-central1-a

gcloud container clusters create $cluster_name \
    --machine-type=n1-standard-2 \
    --num-nodes 2 \
    --enable-autoscaling --min-nodes 0 --max-nodes 6 \
    --zone $cluster_zone
```

#### Set kubectl locally
```
gcloud container clusters get-credentials $cluster_name --zone $cluster_zone
```

---

### Install helm and set it up
```
brew install kubernetes-helm
```

### Setup Tiller Service account
```
# Make tiller an admin, do not do so in production
kubectl create clusterrolebinding user-admin-binding \
   --clusterrole=cluster-admin \
   --user=$(gcloud config get-value account)
kubectl create serviceaccount tiller --namespace kube-system
kubectl create clusterrolebinding tiller-admin-binding \
   --clusterrole=cluster-admin \
   --serviceaccount=kube-system:tiller

helm init --service-account=tiller
helm repo update

# Ensure that tiller is secure from access inside the cluster
kubectl patch deployment tiller-deploy --namespace=kube-system --type=json --patch='[{"op": "add", "path": "/spec/template/spec/containers/0/command", "value": ["/tiller", "--listen=localhost:44134"]}]'
```

### Verify helm and tiller were installed properly
By checking the client and server versions. You might need to wait a minute or two while the tiller pod is in the running state.
```
helm version
```
You should get a matching client and server versions like:
![helm version run](https://www.dropbox.com/s/teigpwkwn5xw7h3/helm_version.png?raw=1)

---

### Make Helm aware of the JupyterHub Helm chart repository
So you can install the JupyterHub chart from it, https://zero-to-jupyterhub.readthedocs.io/en/latest/setup-jupyterhub.html
```
helm repo add jupyterhub https://jupyterhub.github.io/helm-chart/
helm repo update
```

### Create JupyterHub config file
```
nano config.yaml

# proxy:
#   secretToken: "eb4e1c0f2a77bacc63c1a1ada95507f5b551d53e18b204df30bb23966>
#
# auth:
#   type: dummy
#   dummy:
#     password: 'password'
#   whitelist:
#     users:
#       - user1
#       - user2
#       - admin
```

---

### Now install the chart configured by your config.yaml
```
RELEASE=jhub
NAMESPACE=jhub

helm upgrade --install $RELEASE jupyterhub/jupyterhub \
  --namespace $NAMESPACE  \
  --version=0.8.2 \
  --values config.yaml

# Get the external IP to access JupyterHub
kubectl get service --namespace jhub
```

---

Share it and get it in touch, my [Twitter DMs](https://twitter.com/mgazar_) are open!
Update - Github Universe - RC (Live)
Tags: phalcon4, github, githubuniverse, rc
Published: 2019-11-11 22:24:32

---
title: Update - Github Universe - RC (Live)
published: true
date: 2019-11-11 21:19:46 UTC
tags: phalcon4,github,github universe,rc
canonical_url: 
---

A quick status update for a very busy week! Updates, Github Universe coming up and a live release this weekend coming!!

## Update

### Documents

Work has been steady on v4. We only have 7 documents left to review and revise from our documentation!! Believe it or not, we rewrote pretty much everything and our documentation for v4 has 57,948 lines of text and 193,905 words! (yes we used `wc` for that).

We should be having a couple of them done within the next day or so and then it will be the final stretch to get everything completed

### DevTools

[@Jeckerson](https://github.com/jeckerson) is working solely on the DevTools, with the goal to have everything functional by the time v4 is released. There are of course things that are _nice to have_ but those will be addressed after the release.

A much clearer path on what needs to be done for DevTools will come in the next week and will be available in the project’s GitHub.

### Issues

We had a good number of bugs (or features) that have been discovered by the community. We have tried to resolve them as fast as possible so that the fixes are included in the next RC.

## GitHub Universe!

GitHub Universe is GitHub’s main product conference of the year, held in San Francisco, CA. There are some very exciting changes and introductions of new products by GitHub and Phalcon is taking advantage of one of them!

The public announcement of the new functionality will be on Nov 13, 9:00 PST.

You can watch it live here:

[https://githubuniverse.com/watch/](https://githubuniverse.com/watch/)

## RC Time!!

We are going to have another live release this Saturday. Join us on Friday 16th of September at 12:00 EST (16:00 UTC) on a live YouTube event to release Phalcon v4 RC 3

### Thank you

Once again a huge thank you to all of our contributors! You guys have helped us a lot. You can help us even more by installing this version and testing it. If you find bugs, please report them in our [Github Issues](https://github.com/phalcon/cphalcon/issues) page. Alternatively you can always join us in our [Discord server](https://phalcon.io/discord) or our [Forum](https://phalcon.io/forum).

Finally, don’t forget to star our project on [GitHub](https://phalcon.io/github) and follow us on our social media:

Chat - Q&A

- [Discord Chat](https://phalcon.io/discord)
- [Forum](https://phalcon.link/forum)

Support

- [OpenCollective - Support Us](https://phalcon.io/fund)
- [Store - Merchandise](https://phalcon.io/store)

Social Media

- [Telegram](https://phalcon.io/telegram)
- [Gab](https://phalcon.io/gab)
- [MeWe](https://phalcon.io/mewe)
- [Parler](https://phalcon.io/parler)
- [Reddit](https://phalcon.io/reddit)
- [Facebook](https://phalcon.io/fb)
- [Twitter](https://phalcon.io/t)

Videos

- [BitChute](https://phalcon.io/bitchute)
- [LBRY](https://phalcon.io/lbry)
- [YouTube](https://phalcon.io/youtube)

<3 Phalcon Team
vsCode dataPixy 🧚‍♂️ dataViz 📈 📉 📊 devTools 🔬
Tags: showdev, vscode, dataviz, devtools
Published: 2019-11-11 21:15:52

---
title: vsCode dataPixy 🧚‍♂️ dataViz 📈 📉 📊 devTools 🔬
published: true
description: vscode dataviz dev tools
tags: #showDev #vscode #dataViz #devTools 
---

my mini-series on data 🈸, charts 📊, maps 🗺️, graphs 📈 & more in vscode for this year ;) [#3](https://dev.to/tarasnovak/3-charts-in-vscode-5gk8) post in this data series has all the 'bg' info in case you wonder ...

{% link https://dev.to/tarasnovak/visual-studio-code-data-preview-41no %}

{% link https://dev.to/tarasnovak/visual-studio-code-vega-viewer-5gi6 %}

{% link https://dev.to/tarasnovak/3-charts-in-vscode-5gk8 %}

{% link https://dev.to/tarasnovak/4-vscode-extension-stats-tool-46i8 %}

P.S.: since it's a Singles Day today I just wanted to note all of them were done solo! :)
A look back at week 1 of my #100DaysofCode
Tags: 100daysofcode
Published: 2019-11-11 21:00:00

I joined [#100DaysofCode](https://www.100daysofcode.com/) because it provides structure and reinforces commitments, something that's important if you're like me and always starting (but not finishing) side projects 😅

My goal with this round is to work on [Handsfree.js](https://dev.to/heyozramos/handsfree-js-a-web-based-face-pointer-24m1) - a wrapper library around computer vision models for interacting with pages handsfree. My mission is to help you leverage computer vision without needing to know how each model works, and my vision is a fully handsfree web!

The following is a look back at what I did over my first week of the challenge

## Day 1 - 4

{% twitter 1192585358506000385 %}

Most of my focus was on getting a simple "face pointer" working. The idea is that by knowing the your head pose, we can project an imaginary laser beam from between your eyes and onto the screen. Then through different face gestures we can treat the pointer like a mouse by using the native  `MouseEvent()` API.

This means that any mouse based listeners you have on your existing page will work out of the box without any extra coding! To test that the idea works, I created a simple game where you have to click the black tiles in a certain amount of time.

I hope to make it more accurate over time 😅

## Day 5 - 6

{% twitter 1193377112100503552 %}

Because I'm already using `handsfree.head.rotation` to calculate where to place the cursor, we can use that data to control different things on the page. To test this, I made a simple demo that controls a YouTube 360 video with your head.

## Day 7

{% twitter 1193763249289744384 %}

One of the final things to test with `handsfree.head` are the morph values, which are floats between 0 and 1 that measure how much a part of your face is being activated. To test this, I started working on a demo which matches an emoji to your face!

On this day, I also created a "Pitch Deck" which I'll be using to help me get grants and funding for the project over the next few months. You can take a peek through the slides on the metrics I'm using to hopefully justify funding

{% twitter 1193637125389873152 %}

## Next Week

I hope to finish the Emoji demo by tomorrow, which will include several new events to Handsfree.js, like `isSmiling`, `isWinking`, etc. I really love the process of iterating on the library by first creating a demo to see what needs to be done and then adding features.

The final `handsfree.head` feature set will be based on the head's position in 3D space, which I'll demo by creating a simple 3D face painting app (smile to draw, move head to move brush). I also hope to start working on a plugin for P5.js and start applying to grants.

## Thanks!

Thanks for reading, here are some other topics I created this week:

- [Getting started with Handsfree.js](https://dev.to/heyozramos/handsfree-js-a-web-based-face-pointer-24m1)
- [Controlling YouTube 360 videos Handsfree](https://dev.to/heyozramos/controlling-youtube-360-videos-handsfree-2801)

Have fun coding!
Introduction to Azure Functions
Tags: azure, serverless, dotnet, devops
Published: 2019-11-11 17:01:25

---
title: Introduction to Azure Functions
published: true
description: A crash course introduction into .NET Core Azure functions
tags: azure, serverless, dotnet, devops
series: Introduction to Azure Functions
---

Recently for work I have been assigned to a project that uses Azure Functions as its backbone. I have prior experience with the .NET ecosystem, but had not yet had much of a chance to work with Azure or newer versions of .NET Core. I spent a bit of time before the project started getting buffed up on all the tooling and know-how I would need to write and deploy functions to Azure.

This series is a walk through of everything I did to get a simple Azure Function setup and deploy-able (both manually, and through a CI/CD pipeline). The repository that contains my function is located [here](https://github.com/jsmithdenverdev/HelloAzure). 

The repository above contains a wiki with this entire series already in it. I also wanted to post to Dev in the hopes that the content might be useful to folks here!

The series is broken out into 5 parts. They can be referenced in any order but I would suggest going through them in order.

1. [Creating the .NET Core Solution](https://dev.to/jsmithdenverdev/introduction-to-azure-functions-pt-1-creating-the-net-core-solution-2enh)
2. [Creating the Azure Function](https://dev.to/jsmithdenverdev/introduction-to-azure-functions-pt-2-creating-the-azure-function-1ab7)
3. [Creating the Azure Function resources](https://dev.to/jsmithdenverdev/introduction-to-azure-functions-pt-3-creating-the-azure-function-resources-pfc)
4. [Deploying the Azure Function](https://dev.to/jsmithdenverdev/introduction-to-azure-functions-pt-4-deploying-the-azure-function-2l67)
5. [Automate the function deployment with a CI CD pipeline](https://dev.to/jsmithdenverdev/introduction-to-azure-functions-pt-5-automate-the-function-deployment-with-a-ci-cd-pipeline-2mi2)

Each post follows a similar structure.

- Introduction
    - Outlines what will be covered in the section, and what the output should be.
- Prerequisites
    - Calls out any prerequisites needed for the section and covers how to obtain them.
- Content
- Recap
    - Serves as a quick recap to show you all the work you just accomplished 😊.

I hope this series is informative for anyone reading it! Comments and feedback are more than welcome.
Study Group - Week 4
Tags: makers, ruby, tdd, rspec
Published: 2019-11-11 20:51:23

So we meet up again on Sunday this week, which I feel was more necessary this week due to the pair programming challenge. There was a lot of new faces there which was surprising since we were so close to the on-site course and we'd meet there. but honestly, I'm always glad to see new faces.

a few of the people there had to complete the pairing challenge. Although I had already done my pairing I was more than happy to do it again, practice makes perfect after all. It's also nice to get to work with as many new people in my cohort before starting. Everyone else was mainly just working through the *"student-directory"*. This week was like revision, using everything we learned in chapter 2 & 3 to make a project along with a *"CSV"* file to store our data. We also took the chance to look through each other's CV's and proofread them. It was nice to get another perspective and some feedback on it because it was kind of difficult to critique your own work. I got to polish off the challenges of week 4 so I left feeling accomplished.

We all left looking forward to the road ahead of us a new beginning. It's daunting but also exciting can’t wait to get started. We discussed the possibility of keeping this up but we’re still unsure if we'll have the time. If not we'll all be around each other at Makers so we can still discuss ideas so it's not a problem.
Sparkbox is Hiring Full-Time JS Developers
Published: 2019-11-11 20:32:53

---
title: "Sparkbox is Hiring Full-Time JS Developers"
published: true
description: "Sparkbox, a web studio, is hiring Frontend JS Developers, among other positions. We offer flexible hours, full-time remote positions, paid maternity leave, and more great benefits." 
tags: 
---

Come work with me! 

See more and apply: [seesparkbox.com/jobs](https://seesparkbox.com/jobs)

>We're always keeping our eyes out for great people—always looking, selectively hiring. The right person loves collaboration with coworkers and clients and believes it leads to the best work. The right builder also wants to work in a learning-hungry web environment and help lead the web industry by sharing. Sparkbox has been intentionally working to build a team where we acknowledge our own imperfections, make all feel welcome, and humbly help each other grow. If you can bring a fresh perspective to a team of humble people who love what they do, we’d love to talk with you.