teleren/devto huggingface dataset:
IBM Applied Data Science Capstone Project
Published: 2020-09-01 04:23:20

Introduction: 

Traffic accidents occur in everywhere around the world with very high frequency. 
There are many factors that cause a traffic accident to happen. For example, poor weather condition, difficult road condition, insufficient light intensity and irresponsible drivers.

In order to reduce the number of traffic accidents, we need to understand the causes of common traffic accidents so as to remind people to be aware of these traffic accidents and minimize the chances of inducing traffic accidents.

Therefore, we deeply hope that by doing this analysis, we can educate people and give some useful insights into related authority like the transport department.

Data Sources:

The data contributing to this capstone project come from IBM Data Science Capstone Course. The data is about all accidents or collisions that happened in Seattle. From these data, we will be able to understand the causes of traffic accidents and what makes the accidents more serious.

Methodology:

First,  I used df.dtypes to check the data types in the columns of the file. In order to investigate the relationship between car accidents and different conditions, I chose to focus on SEVERITYCODE (int), SEVERITYDESC (object), WEATHER (object), and ROADCOND (object).

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/74uvo5s13od2jedprtrk.png)


Result:

Here is the result.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jymluz7pa43q94tkgzls.png)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/2oqcd6m9ri2fezlymu22.png)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/yutdbkip8yc7pff5kny6.png)

Conclusion:

Although the data only recorded the traffic accidents in Seattle, not other places, it can still be used as reference in other places all over the world.

Also, it is safer for drivers not to take any drugs and drink any alcohol before driving.

Last but not least, though there is no direct relation in different conditions in weather, road and light etc, we should be more aware of poor weather condition , difficult road condition and insufficient light intensity before and during driving.
(｡`･д･)=o Kaomoji ┌(；　・＿・)┘ on your MacOS
Tags: text, graphic, font
Published: 2020-09-01 03:47:30

---
title: (｡`･д･)=o Kaomoji ┌(；　・＿・)┘ on your MacOS
published: true
description: 
tags: text,graphic,font
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/pykfs9bqpytdcyytrva4.png
---

Hi all　(;゜д゜)

I've been using Japanese text art (Kaomoji) for over 10 years on my Mac and I thought I should share this. It's cool and it's cute.

No extra app needed.

All you need to do is open `System Preferences > Keyboard`

Add Japanese Input Source and select only hiragana.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/9n57acqnzhrq0752tpxh.png)

Go to Text
Press + to add new replacement
on the left, I usually use を `wo` then on the right (｡`･д･)=o

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

Now, in any application you can just type `wo` then `spacebar` and a popup will appear with list of replacements.　Hit enter to select the Kaomoji you want.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/59zvykqiigv8fhfib0dq.png)

List of cool Kaomoji (670) 
[Kaomoji.txt](https://www.dropbox.com/s/lt8k3kki4m7ksuu/Kaomoji.txt?dl=0)

Lazy to add one by one? drag and drop this plist to your list of replacement to get everything I have now.

[Text Substitution.plist](https://www.dropbox.com/s/q81j3xcro6loyh9/Text%20Substitutions.plist?dl=0)

If you are using iphone + icloud, this will sync to iOS as well. So you can just type を `wo` with japanese keyboard on iphone and the same list will popup.

Feel free to modify it to suit your need. You may not need Japanese Input Source but I'm not sure if it will ruin your typing experience or not.

Please share cool Kaomoji ч(ﾟдﾟч)クレッ！
Exploring Feedback for Better Understanding
Tags: beginners, codenewbie, javascript, womenintech
Published: 2020-09-01 03:33:46

As I plan this week's activities, I realized that today (not last week) marks Week 4 of my dev journey. I think I got ahead of myself and felt like I was learning code longer than I actually was. But anyways, *yay me!* It's definitely a milestone to be 4 weeks in. So here's a picture to celebrate my hard work, my motivation, and my #1 supporters. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/10sgwy86w3mhdhl6bo7d.jpg)

Feedback is a wonderful thing and last week I received great feedback to explore further on my blog, ["Finally Understanding JavaScript."](https://dev.to/freddilynne/finally-understanding-javascript-50hb) Thank you to everyone who has been so kind and supportive. All your suggestions definitely kept me busy!

@aissshah introduced me to codewars to help sharpen coding skills by use of puzzles, which is really cool. You can't even sign up until you can prove your skills to play! @praveen52128991 was kind enough to share their blog, "Learn JavaScript Fundamentals." It was very easy to follow and broke down code examples with useful comments. @chrisoncode tweeted back some fun JavaScript projects with #JavaScript30. 

@patricktingen and @ericgeek even showed me different ways to write the Happy Birthday code I blogged about. This was great! I'm still learning and it was a awesome to know there are shortcuts to make things easier. Seeing the code in a different way, made me understand it better. Now each time I'm learning something new, I try to think how can I use other knowledge to make it better/easier. I'm constantly thinking to myself, *how many ways can I come up with to write one code?* It's still mind-blowing to me! 

Here's to getting through another week of JavaScript!

**Last Week's Accomplishments:**
- Continued reading and doing activities from *Head First JavaScript Programming A Brain-Friendly Guide* by Eric Freeman & Elisabeth Robson

**Check it out:** 
- [codewars](https://www.codewars.com/) by Qualified
- *["Learn JavaScript Fundamentals."](https://www.polytechnica.me/2020/08/fundamentals-of-javascript.html)* by Praveen
- [#JavaScript30](https://javascript30.com/) by Wes Bos

**On My Mind:**
- I'd love to see more projects that you've done with JavaScript to build your portfolio. Any cool suggestions?
- What's the best suggestion, feedback, or advice you have ever received?

Until next week!
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/59exhldxjocxu0sa4bz6.png)
Discord Servers to join as a Developer
Tags: productivity, discord, community, social
Published: 2020-09-01 03:21:01

Whether You're new to development or an experienced developer seeking to connect with like minded people then this article is for you. Discord is a platform which allows to connect with other people and there are dedicated servers only for developers.

Here's a list of recommended Dev Servers to join as a developer:
*  [Reactiflux](https://discord.com/channels/102860784329052160/377580704722190347)
*  [Nodeiflux](https://disboard.org/server/425824580918181889)
*  [Python](https://discord.com/channels/267624335836053506/267631170882240512)
*  [TypeScript Community](https://discord.com/channels/508357248330760243/508358407346978834)
*  [Vue Land](https://discord.com/channels/325477692906536972/325654285255704578)
*  [Tailwind CSS] (https://discord.com/channels/486935104384532500/572385218510716949)
*  [The Programmer's Hangout] (https://discord.com/channels/244230771232079873/244230771232079873)
*  [The Coding Den] (https://discord.com/channels/172018499005317120/443166941809737728)
* [DevCord] (https://discord.com/channels/174075418410876928/613611625827794944)
* [Programming Discussions](https://discord.com/channels/238666723824238602/308772291863642112)
* [Programming Humour] (https://discord.com/channels/494558898880118785/505003431837171723)

Did i miss any ?? Feel free to comment i'll be happy to checkout.
Usage of IoT set to increase with 5G Adoption. Are we ready?
Tags: rapinnotech, iot, software
Published: 2020-09-01 02:22:24

Faster speeds, low latency, and better bandwidth! 5G is all set to open doors for new opportunities. The year 2020 was deemed to be revolutionary for commercialization of the 5G technology. With predictions from global tech giants, 5G was supposed to establish millions of IoT network endpoints by 2020. While these predictions saw a setback, courtesy the COVID-19 health crisis, the numbers are expected to grow in the post-pandemic world with higher dependence on IoT.

Risks Involved

The blazing fast internet speeds and lower latency might promise large-scale deployment of IoT devices, but this cutting edge technology will come at its cost. 5G infrastructure will change global network spheres and user experience forever. The vast expansion of network endpoints under 5G support will attract more number of attack vectors. More access points will mean more opportunities for not just the users but for hackers too. 

The global interconnections that we benefit from will then increase this network vulnerability. If innovations in cybersecurity couldn't keep up with the rapid growth of this cutting edge technology, we might see large scale security mishaps in next few years.

Problems with possibilities

Cloud computing is pivotal for IoT capabilities over 5G infrastructure. The network elements and operations function using the data stored in the cloud. Deployment of computational components and services via the cloud will mean they will be closer to the edge of the network. It will ensure faster and easier wide-scale deployment of operations by service providers. 

The 5G architecture provides flexibility for the passage of massive amounts of data through the cloud. The downside to this is that it can result in an explosion of attacks ranging from standard IoT attacks, smartphone infections, OS malfunctions, and more.

Engagement with 5G architecture requires a more open, virtual environment, meaning restricted coordination with physical network elements and heavy dependence on the cloud. This heavy dependence means more number of interconnections, making it easier for hackers to expand the attack radius once the security of a single access point is compromised.

Final Thoughts

5G infrastructure might be ideal for deployment of IoT devices as it can handle large amounts of data, but the security risks give rise to industry level scepticism. The risks involved for both customers and service providers can lead to damaging trust between the two.

It won't be wrong to say that we have taken a leap of faith with 5G. The social desperation for improved IoT capabilities can lead to severe repercussions.
Machine Learning Glossary for Beginners
Tags: rapinnotech, machinelearning, software
Published: 2020-09-01 02:17:39

Machine Learning (ML), is the field of study that relates to computer algorithms that are capable of improving automatically though experience. Over the last few years, ML has gained prominence due to the cutting-edge applications in diverse sectors, such as aviation, healthcare, and finance. This has motivated many to delve into the field. 

This article covers the basic terms for beginners so that you will have a strong base of knowledge to support you in learning advanced ML concepts.

The 4 types of Machine learning systems are:

Supervised learning

This includes providing numerous labelled data for the algorithm to learn and generate underlying rules.

Unsupervised learning

A large amount of data is provided to the algorithm to identify patterns and categorize them based on observed similarities.

Semi-supervised learning

As the name implies, it uses limited labelled data to produce underlying criteria. Based on this, numerous unlabelled data is provided for learning.

Reinforcement learning

It is a trial and error method. The algorithm is provided with a large number of unlabelled data, processing which will grant it positive or negative feedback based on the result.

Having covered the types, we can proceed to learn the basic terminology you will routinely come across in the realm of ML.

NLP

Natural language processing essentially teaches computers human text and speech and operates using them.

Perceptron

Mark 1 Perceptron was the first-ever custom-built machine for image recognition developed by IBM, which failed to recognize many patterns. The software Perceptron was salvaged to be used in the future.

ANN- Artificial Neural Network

A set algorithm is modelled with feedback loops similar to our neural system. Many layers of these neurons are used to create a Neural network or Artificial Neural network. It is used to solve complex problems. Multi layering helps to exponentially improve the processing power of this system. Each layer can be used for distinct data attributes.

The most significant ML algorithms are:

Minimax

The Nearest neighbour algorithm that is used in pattern recognition

Backpropagation

It helps hidden neural layers to adjust to a newer set of characteristics presented by the data.

Boosting

This makes use of many weak learning algorithms to produce a strong learner.

The field of machine learning is vast and exciting. There is still a lot to learn through reading and experimentation. We hope this article has introduced you to the crucial fundamentals and has inspired you to take your learning to the next level.
What factorio taught me about work
Published: 2020-11-13 17:08:56

---
title: What factorio taught me about work
published: true
date: 2020-08-23 10:37:00 UTC
tags: 
canonical_url: https://borick.net/articles/what_factorio_taught_me_about_work/
---

Lately I’ve been playing a lot of Factorio. It’s a fantastic game, which I highly recommend if you have time you want to kill.

After a few hours of playing this morning, I was thinking about my attitude towards factorio versus my attitude about work, and I had some insights I’d like to share.This is going to be a bit of a ramble, so I’ll sum up at the end.

In factorio your job is build a factory. You have to collect resources, organize logistics, research new parts, and defend yourself against the attacking giant bugs.

In general, you want to spend as much of your time as you can on researching and building new parts. Like upgrading your power system from steam to nuclear.

But frequently other ‘mundane’ things will come up.

In programming, we draw this distinction between refactoring and adding new features. When talking about business we might talk about working ‘in the business’ rather than ‘on the business’. The implication is usually that we refractor in order to add more features faster later.

In factorio, maybe the bugs are attacking again, or you’re out of iron, or you need to make your steam power a bit bigger to last you until you’re done with the nuclear reactor.

When those things happen, sometimes I feel like it’s a failure of planning on my part. I should have known from the start that this would happen and do X. But that’s not a reasonable expectation for myself. I can’t see the future.

I found if I try and keep working on the big picture stuff while ‘mundane’ things build up, eventually the whole thing will collapse.

So I have to do some side quests. I have to take a step back and refractor.

As a result I’m not working on the most important item, but I **am** working on the most urgent.

And the nice thing, is eventually all of those little mundane tasks die down, and you can step back and work on the big projects.

And all that experience on your side quests will help you be better prepared for your big projects
Github actions triggering Alexa notifications
Tags: actionshackathon, github, opensource
Published: 2020-09-01 01:06:19

---
title: Github actions triggering Alexa notifications
published: true
description: Using a Github action to send an Alexa notification
tags: actionshackathon, github, opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/b40yp2rbac5yvh4iamb5.jpg
---

I've been interested in leveraging virtual assistant devices such as Alexa in my everyday routine. I've even documented [working from home with Alexa](https://dev.to/tonydiaz/working-from-home-with-amazon-alexa-4hko) during the pandemic. What a great way to stay up to date on your repo(s) than getting notified on Alexa when an event happens. 

For anyone working out of GitHub, you could get informed of new pull requests or issues. Any of the [Github action triggers](https://docs.github.com/en/actions/reference/events-that-trigger-workflows) could be used to activate a notification

### My Workflow
The GitHub action is called Alexa Notification Github Action.

To make the connection to Alexa happen I'm using an existing Alexa skill called [Notify me](https://www.amazon.com/Thomptronics-Notify-Me/dp/B07BB2FYFS). This skill allows you to easily set up a REST API to send notifications with your Alexa device.

#### Setup NotifyMe
First, ask your Alexa device to Open Notify Me :
```
"Alexa, open notify me"
```
It will add the skill to your device. You will then need to link your Alexa account to the skill by using the Alexa app on your mobile device. 

![Alexa app](https://dev-to-uploads.s3.amazonaws.com/i/pr8q198n15uf84xwwzh6.jpg)


Once in the app, you will just need to sign-in to your Amazon account. Amazon will ask if you allow the skill access to your profile. It will just use your email to allow you to get an API key and secret later.

![Notify me account is linked](https://dev-to-uploads.s3.amazonaws.com/i/tadp4fxte6iyyyfhr527.PNG)

**Optionally** you can edit the skill settings to turn on the green light notification on your device when the skill receives a message.

![Notify me permissions](https://dev-to-uploads.s3.amazonaws.com/i/w723a40fpw1jwxd51r4s.PNG)

Login to [https://www.getnotify.me/](https://www.getnotify.me/) to test a message on your Alexa device and get your API credentials. Once you have your key and secret go ahead and add those secrets to the repository you have set for your GitHub action. 


### Submission Category: 
Interesting IoT


### Yaml File or Link to Code

{% github https://github.com/tonydiaz/amazon-alexa-notification-github-action %}

### GitHub action in action
I posted a video to show how the Github Action will work when a new issue is created. After the action executes Amazon Alexa will chime with the notification light. I can then ask Alexa to tell me the notification. The notification is set to tell me a new is was created with the issue number and title. 
{% youtube EXI0h2txzGY %}

### Additional Resources / Info
Using [Notify me](https://www.amazon.com/Thomptronics-Notify-Me/dp/B07BB2FYFS) skill.
Front End Web Development Today - A Guide For Absolute Beginners
Tags: codenewbie, frontend, html, css
Published: 2020-09-01 01:04:57

Front end Web development is a huge deal today, as websites have become more complex. Developers have to be concerned about Accessibility, User experience and User Interface Design, Performance, SEO and so on. 



This is a straight forward guide for absolute beginners who may be confused with what to learn or making a choice of what technology to use. 



HTML, CSS and Vanilla Javascript are what every front end developer should start with, before thinking about the shiny frameworks. HTML defines the structure of a web page, CSS adds styling and Javascript adds functionality. 



Note that the following are my opinion, they are what I think wouldn't be overwhelming for a beginner.

A few important things to learn in:



 HTML

• Syntax

• Basic Tags

• Forms

• SEO

• Best Practices



CSS

• Syntax

• Positioning

• Box Model

• Flex and Grid

• Animation

• Responsive Design 

• Media Queries

• Best Practices



Vanilla Javascript 

• DOM manipulation

• Syntax

• Functions

• Arrays and Objects

• Loops



Learning technologies is by building with them, watching tutorials alone can be quite deceptive. 

Some beginner friendly channels on Youtube :  Dev Ed, Traversy Media and NetNinja. 



After a few projects highlighting all these technologies, you can proceed to picking a framework. 



Project Ideas 

• Clone websites of your choice

• Todolist

• A small game



There are three popular frameworks/libraries for front end web development and you can pick any of them after you do your research: Angular, Reactjs and Vuejs. On the websites of these frameworks, there are guides on what to understand in Javascript before learning them. Do well to follow their advice. 



Happy Learning!
🎉Golang + Lambda: Masterclass🎉
Tags: go, aws, microservices, serverless
Published: 2020-09-01 00:53:13

I am very excited to announce that my course "Golang & AWS Lambda - Masterclass" is now live at:
https://golanglambda.com
 
In the course, you will learn :
✅ Everything you need to start developing Golang & AWS Lambda based microservices and event-driven applications.
✅ Infrastructure-as-code using Cloudformation.
✅ Lambda Cold-starts, dead-letter queues, security best practices, IAM roles & fine-grained permissions for Go-Lambda.
✅ Go web framework, go modules, & go interfaces.
✅ Use of Mocking Libraries - Mockery & Mockgen.
✅ Best Practices to connect Go-Lambda with other AWS Services like S3, DynamoDB, RDS, SQS, SNS, Cloudwatch, API Gateway, Cognito etc.
 
You can sign up for the trial and watch free videos for an unlimited amount of time. Once you are ready, you can pay to enrol in and watch all the paid video lectures. 
 
🎉 Signup today at https://golanglambda.com
 
Please like, comment, share the post and spread the word. Your support is really appreciated.
Python Zero to Hero - Ep.21 - More Python List and Dict
Tags: python, tutorial, beginners, basics
Published: 2020-09-01 00:28:09

---
title: Python Zero to Hero - Ep.21 - More Python List and Dict
published: true
description: We go deeper with Python list and dictionary this time to see how we can create a list with the beautiful list comprehension. Also, we will see how we can sort a list in various ways. Before we end the episode, we also have a look at the OrderedDict and Counter that the Collections library offer.
tags: python, tutorial, beginner, basics
---
We go deeper with Python list and dictionary this time to see how we can create a list with the beautiful list comprehension. Also, we will see how we can sort a list in various ways. Before we end the episode, we also have a look at the OrderedDict and Counter that the Collections library offer. If you have any questions or any suggestions about which Python topics to cover, please leave your comment at my [Twitch channel](https://www.twitch.tv/cheukting_ho)

You can get the slide deck [here](https://slides.com/cheukting_ho) and the example code and homework form [GitHub here](https://github.com/Cheukting/python02hero). Ask questions at my [Twitch channel](https://www.twitch.tv/cheukting_ho)
Best Practice Guide For Rest API Security
Tags: restapi, restapisecurity, bestpractice
Published: 2020-09-01 10:57:34

---
title: Best Practice Guide For Rest API Security
published: true
date: 2020-09-01 00:00:00 UTC
tags: RestAPI,RestAPI,RestAPISecurity,BestPractice
canonical_url: https://www.loginradius.com/engineering/blog/best-practice-guide-for-rest-api-security/
---

RESTful APIs stateles interface for interacting with backend. Exposed to public, REST API would require a security mechanisms to prevent abuse, protect sensitive data. This blog explains some of the basics of REST API security.

   
[Read On](https://www.loginradius.com/engineering/blog/best-practice-guide-for-rest-api-security/)
What is the Meaning of += in Python?
Tags: python, codenewbie, python3, ddsry
Published: 2020-08-31 23:57:38

Meaning of += in Python Programming language?

- Do you know how in English we can rewrite "it is" to be "it's"? 

- Or we can rewrite "you are" to "you're?

- That's called contraction, and this is kind of like a 
contraction for the two operations = and +.

- That means x = x+y is the same as x += y.