teleren/devto huggingface dataset:
Release 0.2 Hacktoberfest Week 1!
Published: 2020-10-08 20:10:08

The first task in OSD600 [Release 0.2](https://github.com/Seneca-CDOT/topics-in-open-source-2020/wiki/release-0.2) where we have to contribute to open source projects that is not from a fellow classmate.  Yikes!  No pressure... hahaha. I looked and I looked and then it was found.  Hoping it goes well, I picked [Hacktoberfest-animations](https://github.com/NiallEccles/Hacktoberfest-animations) because I feel that I missed out on learning CSS in the first WEB class. So this should be fun right??

The Exciting 1rst Process... 

The [issue](https://github.com/NiallEccles/Hacktoberfest-animations/issues/294) created was to contribute my own css file with personalized animation and font. I did my reading up on [css colors](https://www.w3schools.com/html/html_colors.asp) and [HTML Styles](https://www.w3schools.com/html/html_css.asp).  Viewed some examples because I was not quite sure how I wanted it to appear.  I felt like I was walking blindfolded since I had basically next to no experience. 
After I created my css file and added my name I sent the [request](https://github.com/NiallEccles/Hacktoberfest-animations/pull/295).
The owner made a request to fix.  What I learned was that I needed to add this @import url at the top of my [css file](https://github.com/strawberries73/Hacktoberfest-animations/blob/master/animations/harvestflare.css) so that it would be properly displayed. When I made the correction the merge took place.

Conclusion...not so exciting...

Ok so not the results I was hoping for but you can check them out in these [Hacktoberfest-animations](http://127.0.0.1:5500/). I think I should experiment a little more to see if I can get some better results. Either way I am relieve that it all worked out.
`switch-case`
Tags: javascript, beginners, react
Published: 2020-10-08 19:52:48

Generally are using _ternary_ or some `if-else` in React.

However, there is a specific...case, if you will 😼, where we will encounter a `switch-case`. This is when working with a _dispatcher_ in conjunction with a _reducer._

Now, this is just a series on 'pre-react' stuff, so the video doesn't go into all of that...it's just to illustrate an example of `switch-case`.

{% vimeo 466314958‬‬ %}

{% replit @CodeFinity/switch-case %}
Ternary
Tags: javascript, beginners, react
Published: 2020-10-08 19:30:51

_Ternaries_ are a more succinct way to write `if-else` statements.

I think 🤔 of it as 'yes : no' ❓

{% embed https://vimeo.com/466306145/692c58076a %}

{% replit @CodeFinity/template-literals-1 %}
Need an active Maintainer 👷🏼 for a beginner-friendly open source project.
Tags: opensource, github, hacktoberfest
Published: 2020-10-08 19:27:29

{% github rocktimsaikia/contribute-101 no-readme %}

**✨ Contribute-101** is a simple beginner-friendly open source project that I have been maintaining for quite a long time now. But due to my latest internship and personal projects, I don't have much time nowadays to actively maintain the project anymore.

So I wanted to write a post in a hope to find someone having a good knowledge of both open source and git in particular to further maintain this project. It is not that I am completely going to step away from the project but I just can't give the time anymore like I used to a few months ago.

So if anyone experienced in open source wants to help and be an active maintainer then please leave a comment with your Github profile below :) 🦄 👋.
Happy Developer Birthday to me!
Tags: career, motivation, birthday, devlive
Published: 2020-10-08 19:25:52

If you are interested in reading this article in Spanish 🇪🇸, check out my blog:
[The Developer's Dungeon](https://www.patferraggi.dev/blog/2020/oct/happy-birthday-me/)

On the 8th of October of 2014 something incredible happened, something that would change my life forever. 6 years ago I started writing code. 
Back then I was a 25 years old Economics student working at a bank, instead, I decided to switch to a Software Engineering major and quit my job to attend a one-month Bootcamp give by `Accenture`.

I had written my first line of code a few months earlier. It was a basic `Hello World` written in C, but on that day everything changed, I started learning to program daily, I had focus and intention to become a software developer. It was that day that I found my true calling in life, I noticed that I could do this forever and never get bored. So far this statement has survived the pass of time.

A little over a month later I was starting a job as a trainee/jr software developer while I was still trying to understand the concepts I read in [C# in depth from Jon Skeet](https://csharpindepth.com/).

----

## What Changed?

### On my career

In these years a lot of things have changed, I had 4 jobs as C# Developer while at the same time contributing to the frontend by learning HTML + CSS + Javascript, then moving over to Angular.js and eventually to Angular. Currently, I work as a full-stack developer focusing on C# and Angular.

Although I have had a few moments where I focused on other things apart from software development, learning has been a constant in this experience. This career has awakened something inside me that I never felt before, this burning fire and self attained drive to improve. 

* Object-Oriented Programming
* Functional Programming
* Backend development
* Frontend development
* Category theory
* Computer Science
* Software architecture

I have been all over the place but never ceased to follow the learning process. Hopefully, it will never stop.

### On my personal life

This career has brought me some amazing people to my life, most of my friends happen to be professionals in one or another area of software development. 

Now I also have the possibility to use my experience to help others, I am a member of various software development communities and often give mentorship in my spare time.

I grew up in Argentina, the situation there has always been hard. After a little less than 3 years working as a developer in Argentina, I decided to find a job in Europe and moved. Thanks to this career I was able to drastically improve my quality of life, visit countries I had only seen in my dreams, and provide a better life for my wife.

-----

I know my career is just starting, 6 years probably seems like nothing to the old-timers in the industry. It has been quite a path, one that I pretend to walk until my last day, I can't wait to see what the future will bring and what I will learn tomorrow.
Day 84: Vue Project
Tags: 100daysofcode, vue
Published: 2020-10-08 19:13:34


{% youtube Wy9q22isx3U %}

I'm learning by building. I'm re-building the todo app using Vue.  Here is what I have so far.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/l7l3zxxkdh6pc11uk6bt.png)

I'll be writing about it soon.

_That's it for now though_
_Day 84_
AzureFunBytes Episode 17 
 - @Azure Artificial Intellegence w/ @WirelessLife
Published: 2020-10-08 19:13:31

With AI, we can build solutions that seemed like science fiction a short time ago; enabling incredible advances in health care, financial management, environmental protection, and other areas to make a better world for everyone.

This week, Microsoft Sr. Cloud Advocate [Anthony Bartolo](https://twitter.com/WirelessLife) joins me to discuss Azure AI services.  We'll learn how AI empowers applications and users with Anthony, find some cool things to demo, and talk with you!

{% youtube haBsAOugzBY %}

AzureFunBytes! - Byte-sized content with a live Twitch show!

Learn about Azure fundamentals with me!

Live stream is available on Twitch at 2 pm EDT Thursday. You can also find the recordings there as well.

https://twitch.tv/azurefunbytes
https://twitter.com/azurefunbytes

Join me, ask questions, and learn about Azure!

[Microsoft Learn: Azure Fundamentals](https://docs.microsoft.com/en-us/learn/paths/azure-fundamentals/?WT.mc_id=blog-devto-jagord)
[ITOps Talk Blog](https://cda.ms/1Lk)
[Microsoft Azure: $200 Free Credit](https://azure.microsoft.com/en-us/free/?WT.mc_id=devto-blog-jagord)

Microsoft Learn: [Get started with AI on Azure](https://cda.ms/1Lj)
[Azure Cognitive Services](https://cda.ms/1Lm)
[Azure Cognitive Services Documentation](https://cda.ms/1Ln)
[Cognitive Services and machine learning](https://cda.ms/1Lp)
[HomeEXCEPT](aka.ms/homeexcept)
[From No Data to Computer Vision Machine Learning Model in 10 Minutes or less!](https://dev.to/azure/from-no-data-to-computer-vision-machine-learning-model-in-10-minutes-or-less-43g2)
[The Missing Children Society of Canada](aka.ms/hfm)
[WirelessLife on GitHub](https://aka.ms/wirelesslife)
`if-else-if-else`
Tags: javascript, react, beginners
Published: 2020-10-08 19:12:32

A seminal concept for any programming language is simple 'if this then that' logic.

In JavaScript a 'side effect' of `if` statements is that whatever expression we pass into it will always be _coerced_ into a _boolean._

{% vimeo 466300072‬ %}
The surprise of darkness
Tags: 100daystooffload
Published: 2020-10-08 19:06:38

Every year towards the end of September the mornings here start to get noticeably darker. Rather than being able to jump out of bed and see the light of a new day through the windows, I find myself wondering if it is actually time to get up or not. It surprises me every year, and this grim sense of getting up at night makes a real chore out of starting the day. We have a few weeks left until the clocks go back and provide us with a bit of respite, but in reality we are facing 6 months of dark mornings again.

Over the last fortnight this darkness has made running difficult. It's all in my mind – I realise that – but I find myself having to work quite hard to convince myself to go outside. I can find excuses ("it's too dark to run safely on the road") but then mitigate them ("try this other route"); I suggest that I'm too tired and need a rest but know that isn't true; I volunteer the compromise of running later in the day, but hate having to dodge people at a safe distance.

Eventually, I find myself with my shorts and shoes on. I open the door, greet the weather and before I know it I am warmed up, breathing the fresh morning air and running strongly into the sunrise.

*I'm publishing this as part of 100 Days To Offload. You can join in yourself by visiting [https://100daystooffload.com.](https://100daystooffload.com)*
Linux Commands: pwd
Tags: linux, beginners
Published: 2020-10-08 18:56:52

`pwd ` is one of the most helpful commands for linux newbie. Whenever you are lost just type it in your terminal and you will find where are you exactly. Let me show you how you can do it.


![Screenshot 2020-10-08 at 11.39.27 PM.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1602180574730/rtZa_5XQJ.png)

You can see it tells me my current working directory. Usually, there are two ways you can invoke this command. One way you already saw in the above example. The other way is through `/bin/pwd` they are almost the same. But `pwd` is your shell in-built command while `/bin/pwd` is calling the binary version of that. You can always verify which `pwd` is getting invoked by using `which` or `type` command shown below.

![Screenshot 2020-10-08 at 11.47.27 PM.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1602181052648/3661qXpf3.png)

`pwd` has two flags one is `-L` and `-P`.

* `-L`: Display the logical current working directory.
* `-P`: Display the physical current working directory (all symbolic links resolved).

Let's see them in action and understand what exactly one does.

- We will create a symbolic link of folder `/var/log` as h in your home directory and move to it. 
```
$ ln -s /var/log h
$ cd h
```
- We will print the working directory using the logical flag `pwd -L`. It will print the exact working directory from the environment even if it contains symlinks.
```
$ pwd -L
/Users/umesh/h
```
- After that we will print the working directory using physical flag `pwd -P`. It will print actual physical current working directory by resolving all symbolic links. 
```
$ pwd -P
/private/var/log
```
- Lastly we will check what happens when we run just `pwd`. From the output, it's pretty much clear that `pwd` takes `-L` as the default flag if no options are provided.
```
$ pwd
/Users/umesh/h
```

![Screenshot 2020-10-08 at 11.56.48 PM.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1602181616047/YfNsnuV3M.png)

### Conclusion
I will be writing more on these simple and yet useful commands in my coming blog. Linux commands look simple and probably you remember it but if you know a bit in-depth about them they can come in handy.
 
> If you liked this blog please feel free to share with others, if you are sharing it on twitter please tag [@imumesh18](https://twitter.com/imumesh18) . If you are interested in more of these please subscribe to my newsletter.
Ballot-tracking software — what works and what doesn't?
Tags: discuss, vote
Published: 2020-10-08 18:45:06

---
title: Ballot-tracking software — what works and what doesn't?
published: true
description: Let's brainstorm about how ballot-tracking software can be improved! 
tags: discuss, vote 
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/9cuc6d5quw8ebmpxsc6o.png
---

Hey all!

For those of you who are U.S.-based, it's a stressful moment in our country. We're on nearing up on an important presidential election and, at the risk of parroting a cliché, **every vote counts**. Hey, clichés are often clichés for a reason 😉 

Given the global coverage of elections in the United States, I'd venture to say that many DEV community members across the world are paying close attention to this election cycle, too. 

I'm not a developer, but I _am_ a voter and I have a question about some election-related software for all of you.
 

## My question

>**As a developer, how do you feel about BallotTrax or similar ballot-tracking software? If you're a user, what would you change about the UX/UI? How can we improve this service in terms of accessibility? Any other thoughts?** 

For those of you that are not aware of this, [BallotTrax](https://ballottrax.net/voter/) basically allows you to track your ballot (on its way to being delivered to your address _and_ on the outbound journey so you can ensure your vote is counted). This is a particularly important program during a pandemic when many folks have no choice but to vote-by-mail (thank you, USPS!). To my knowledge, this service is only offered in some states, but I suspect that will change after a year of record mail-in voting.

I'd love to hear your professional/hobbyist opinions!
Template Literals
Tags: javascript, react, beginners
Published: 2020-10-08 18:43:27

There are many times that we need to 'mix and match' _variables_ with _string literals._

In this video we see examples of [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) and how to use _interpolation_ to _evaluate JS expressions_ inside of said _template literals._

{% embed https://vimeo.com/466290614/baff274b5b %}

---

{% replit @CodeFinity/template-literals %}
EV Routing on Twitch Recap!
Tags: devlive, techtalks, tutorial, womenintech
Published: 2020-10-08 18:38:11

On Tuesday, we were live on Twitch coding an EV Routing example! You can watch the recap [here](https://www.twitch.tv/videos/764341570) on our TomTomDevs Twitch. Hit follow so you can be notified when we go live!

For those who don't know me, I'm a Dev Advocate at TomTom, along with my colleague Jose! Every other Tuesday at 11am PST, we build all things Geospatial using TomTom Maps APIs, so you can learn more about coding with maps. 

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

##What we covered!

We started off talking about electric vehicles and the different aspects we need to route them -- battery level, car weight, the battery's max capacity, the route itself, and probably some resources on finding charging stations.

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

After selecting our luxury example EV, an Audi e-tron, we created a variable storing things like the car's current charge level.

We showed a way to calculate reachable range on click for any given point, using a polygon which adheres to actual roads at the extension of your current battery life. 

Next, we showed a way to search and add waypoints and calculate a route, and added functionality to show charge points along the way by creating a search for charging stations that are no more than a few minutes out of the way for our existing road trip.

Check out our stream to learn more!

##Catch us next time!

We'll be talking about working with the Notifications API on October 20th!

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/872riicywi3xl79guuqw.jpg)
How to get a beginner role in coding?
Tags: beginners, career
Published: 2020-10-08 18:24:17

Just a little post I thought I would put up as recently I felt like I was judged on my coding skills which I have learnt all in my own time while doing a very demanding job which involves me doing shift work.

So I got assessed on some code recently and made some minor mistakes on it which was missing out on some parentheses and some commas. Anyway the code was all fine though just could not be executed due to the little mistakes. So the company rejected me on that technical test, okay that is fine but why would they reject me when the job I applied for was to get a place in a training academy to learn code better and then being given a full time job as a junior developer with that one company?

They even stated that it was okay to make mistakes as I was a beginner and they just wanted to see that I at least gave the test a go. So I just do not understand how I am supposed to transition into a coding career when people know my situation and that I am self taught and still learning in my own time on my days off. I feel like I have just rambled alot here but I just felt like posting this on here as maybe someone out there might be able to give me some advice or tips or something?? 😔

Anyway hope everyone is safe and well 😁
Hackathon App - Building SaaS #61
Tags: python, django, saas, hackathon
Published: 2020-10-08 18:13:03

{% youtube gHf2CJSM6g8 %}

In this episode, we took a break from the regular app to work on an app for a local hackathon that I'm participating in.  My team is building a mobile web app for the homeless around Frederick, MD.  In this stream, we cranked through some modeling, admin building, a couple of pages, tests, and templates! We got a lot done!

The virtual hackathon running in Frederick is split into multiple teams serving three different community groups around Frederick county.  My team is working on an mobile responsive web app for SHIP, the Student Homelessness Initiative Partnership.  After explaining the basics of what the app should do, we got started.

I made a new app called `announcements` to provide a good home for an `Announcement` model that will be one of the big features of the app.  I wrote tests for the model, added a factory, and created the admin interface.

Once the basics of the model were set, I added `ordering` on the model because the display of announcement should be ordered by the expiration date.

We finished the model and switched to building a page.  The first page needed was a page to display a service category.  I used a `DetailView`, connected it to the index page via a hyperlink in the template, then proceeded to write the tests to build out the view.  I also showed how to add additional context to the view to also display the services related to the category.

The last thing we did was build another page to show details about a particular service.  This page was similar to the `ServiceCategory` page so this view was quick to crank out.

This article first appeared on [mattlayman.com](https://www.mattlayman.com/building-saas/hackathon-app/).
Shazam-to-JSON
Tags: javascript
Published: 2020-10-08 18:07:55

My approach to exporting Shazams to JSON via 
https://www.shazam.com/myshazam

No intro? Just jump [to the code](#code)

## Intro
I love my Shazams. They only contains songs I absolutely didn't know when tagging. It's growing since 2011 and it's a ride through all genres. I don't want to lose it.

That said, when Shazam for Android suddenly lost a couple of songs back in 2016 and showed them as 'unknown track' for whatever reasons, I realized I wanted a backup. With a little bit of mistrust I also wondered if a migration to a new phone would work, although [Titanium backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup) had never let me down so far.

I have no idea when Shazam introduced the feature to [access your tags via web](https://www.shazam.com/myshazam). I also don't know when they introduced the Export to Spotify feature. The Spotify thing sounded like just what I wanted, because Apple Music is not for me. Unfortunately, the resulting Spotify playlist left me with just about 60% of my original tags, probably because song matching seems to be done via artist and song title, which isn't particularly precise sometimes.

So what the heck, a text export (read: JSON) that I could drop into a git repo (because why not) would be just enough for me. Luckily, with a little bit of Javascript that's not too much of a hassle, as long as Shazam/Apple keeps up the web access to our tags.

<a name="code"></a>
## Code
Copy the code below and drop it into your browser's console. Don't forget to scroll all the way down the website before executing. Otherwise not all songs will be loaded.

The result is then available in your clipboard. Voilà.

{% embed https://gist.github.com/hennzen/dc2b7bb76ce5507063f6c5e60c68886a %}
OneDrive Settings are terrible
Tags: onedrive, python, thuglife
Published: 2020-10-08 16:57:22

---
title: OneDrive Settings are terrible
published: true
description: 
tags: onedrive, python, thuglife
//cover_image: https://direct_url_to_image.jpg
---

Recently I updated my vscode powershell extension, and wanted to update my package management. I noticed onedrive with a big red X. I don't use OneDrive\MyDocuments on my company laptop exactly for this reason, but I needed to keep these dlls for powershell, and I also needed to sync to onedrive for a few folders I shared with my coworkers for documentation.

[onedrive discussion #fail](https://onedrive.uservoice.com/forums/262982-onedrive-archive/suggestions/6988070-use-a-file-to-ignore-exclude-files-or-folder)

If you ever need to sync onedrive, but is complaining about file extensions that are not whitelisted. I wrote a little script for it, if you've ever had to fight OneDrive then this is for you.

https://github.com/kodaman2/OneDriveIgnore

```
pip install onedrive-ignore
```

Usage:

```
onedrive --ignore
onedrive --restore

# Short version
onedrive -i
onedrive -r
```

Files ignored, synced to onedrive:

![](https://github.com/kodaman2/OneDriveIgnore/raw/main/images/files_ignored.PNG)

Files restored, onedrive complaining, and not syncing:

![](https://github.com/kodaman2/OneDriveIgnore/raw/main/images/files_restored.PNG)

Let me know if you've ever came across this issue before, or how is your IT dealing with it.