teleren/devto huggingface dataset:
Synthetic Data for Action Recognition
Tags: octograd2020, devgrad2020, showdev, upcoming
Published: 2020-05-20 13:51:17

I am currently writing my masters thesis about using synthetic videos (generated using game engines) to improve the accuracy of action recognition models.

Stay tuned for more, i will publish first results soon!

## Abstract
Human action recognition in public places is a challenging task. In this thesis a new dataset of actions in public places is presented, which was generated by a 3D simulation. It is then shown that the dataset can be used to improve existing action recognition models.

## My Final Project
will be published on https://github.com/AlexanderMelde after the official examination procedure.


[Note]: # (Our markdown editor supports pretty embeds. If you're sharing a GitHub repo, try this syntax: `{% github link_to_your_repo %}`)

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

Currently using Unity Game Engine and Keras, more information will be published here after the official examination procedure.


## Additional Thoughts / Feelings / Stories
I have the feeling this will lead to a success, stay tuned and follow me here or on [GitHub](https://github.com/AlexanderMelde) for more information!

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
coviD3.js
Tags: octograd2020, githubsdp
Published: 2020-05-20 13:49:30

coviD3.js is a web application specializing in telling stories through beautiful and engaging data visualizations. The application analyzes the ways the COVID-19 pandemic affects society outside of the hospital. Currently we have data visualizations of the changes in media sentiment and transportation due to the COVID-19 pandemic. I created this project with two fellow students: Eric Lau and Raymond Lee.

The application is split into four sections: dashboard, sentiment analysis, transportation, and numbers. The dashboard uses the D3.js and the Covid Python package to display live statistics regarding COVID-19 in the United States. The sentiment analysis section uses D3.js, spaCy for natural language processing, and TextBlob for sentiment analysis to analyze data from public media and tweets from the President of the United States. The transportation section analyzes and displays data from the New York City MTA with D3.js. The numbers section displays fascinating statistics regarding COVID-19.

## Demo Link
The application is live at https://covid3js.solonedu.com/
A video demo of the application can be found at https://youtu.be/EcRPQK6-89Q

## Link to Code
{% github https://github.com/kazijamal/TwoFortyNine_jamalK-lauE-leeR %}

## How I built it
The application was created with HTML, CSS, JavaScript, D3.js, Python, Flask, and the following Python packages: [spaCy](https://spacy.io/), [TextBlob](https://textblob.readthedocs.io/en/dev/), and [Covid](https://pypi.org/project/covid/). We used the GitHub Student Developer Pack on our project. This was mainly to utilize the DigitalOcean credit required to host our application on a Droplet with Apache and Flask. My entire team was new to using D3.js along with sentiment analysis packages, so we had to spend some time to learn how to use them individually, and in conjunction. This was also our first project analyzing large datasets. We learned a lot about data analysis and sentiment analysis.
Nanodegree Capstone Project (i-Transmit)
Published: 2020-05-20 13:41:34

# This is the Capstone Project of my Udacity's Android Developer Nanodegree.

iTransmit helps you organize your business and personal trips by recording your expenses, budget and the places you want to visit.

• Record travel expenses: Add new expenses with a press of a button, using the app or the home screen widget. Select the currency, the date, the category and add photos to an expense.
• Stop overspending: Create different budgets for each currency or category. It automatically converts it to your home country currency.
• Manage your itinerary: Never get lost again! Add places you want to visit for each trip and easily get directions to it.
• Never lost your data again: All your trip data is securely saved in the cloud)


# Features
● Store travel expenses with currency, image and location data
● Create individual budgets for each currency
● Create and manage multiple trips
● Automatically converts expenses to home country currency
● Create a travel itinerary and get directions to places when needed
 

## Link to Code
https://github.com/cnndev/Nanodegree-CAPSTONE-PROJECT


## How I built it 
It was built with Android Studio, Java, XML and Firebase


## Additional Thoughts / Feelings / Stories
It was a life changing experience under a scholarship for 9 months working on real life projects, i got the experience to mentor and be mentored by Global developers in different countries across the world!
Github = The best TA!
Tags: octograd2020
Published: 2020-05-20 13:49:15

During my school years, Github provides so many features to make my life easier. I'm sure I will keep using it. #githubsdp

## My Final Project
Car sharing & Carpooling

## Link to Code
{% github https://github.com/redgam8/McSeniorProj %}

## How I built it (what's the stack? did I run into issues or discover something new along the way?)
I worked with 3 other classmates who have never used Git before. We spent less than 1 hour to figure this out and immediately learned that this is necessary for our project. We didn't use all the features like branches, but it works as we wanted!
What part(s) of the tech interview process would you be interested in knowing more of?
Tags: discuss, career
Published: 2020-05-20 13:48:39

I've started [writing a book](https://www.thetechinterview.com/) to give an "inside out" view on the tech interview process. I still remember when I was doing my first interviews, not really knowing what to expect. Then, how I read up what the interview format is like at places like Facebook and different unicorns - going through lots of blog posts, some that contradicted each others.

Right now I'm a hiring manager and I've done hundreds of interviews the past years at large tech companies and startups. And when I talk with people about the interview process, they usually find it fascinating when I explain how recruiters work - and what their motivation is -, why coding itself is not the only thing you want to optimize for, ways people often fail the recruiter screen or how you can (and should) negotiate when you have an offer.

If you had access to a great tech recruiter, a hiring manager, and a technical interviewer, what questions would you ask them? What would you like to know more about, to help more both with your preparation, and your confidence in understanding the process, "behind the scenes"?
JS framework with its own online IDE?
Tags: webdev, javascript, html, css
Published: 2020-05-20 13:48:26

Hey guys, recently we released GlueCodes Web Framework. We’re making huge effort to document and explain rationales behind the design choices. We believe in the community and we want to stay with you at the same page. Hence, we've prepared a short video explaining the app state flow by example. Enjoy! - https://www.youtube.com/watch?v=CJ451ccca2M

A little spoiler alert - If you hate naming data, good news! - in our framework you access data by the name of an action that wrote it. Check this out!

The Beta can be found on our GitHub - https://github.com/gluecodes/gluecodes-framework
Frame Suggestion using Facial Recognition
Published: 2020-05-20 13:45:39

Use Case Slide:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/25z23w5hh78kc8zbm2i2.png)

{% github JhaNishant/Frame-Suggestion-using-Facial-Recognition no-readme %}

Download the file, copy it to ht-docs folder and view it on your localhost.
Six Tips for Programming Side Projects
Tags: 100daysofcode, productivity, career
Published: 2020-05-20 13:39:27

Side projects can be a fantastic way to prove your skill and experience as a software developer. Hopefully everyone is at least interested in building a personal portfolio, and I wanted to write a few tips to keep in mind as you work on your projects. 

### 1. Share Your Work

It's vulnerable, but it's important that other people see your work, even early in the process. Others might not get as excited about it as you but that's okay. Someone might, and showing your process can build confidence in your product, lead to valuable feedback, and help build an authentic following.

### 2. Treat Other People's Work As Inspiration Not Competition

Always remember that when we see the cool stuff other people have created, that's the product at the end of their effort while we might just be at the beginning. If they can do it, so can you, so let their work inspire you and push your confidently into your own project.

### 3. Understand More Than You Need

Don't stop reading the documentation as soon as your code starts working. Take a few extra minutes to read through the details of what you've added or created and think about how you might expand on it in the future.

### 4. Treat Your Code As Your Product

Always remember that people will be just as interested in your code and documentation as they are in your project. Take some time to organize everything properly as if you were only presenting the code. As companies start to dig into your side projects in your portfolio, nice looking code and documentation will distinguish you.

### 5. This Isn't Your Last Project

Not every project can be the Magnum Opus, and that's okay. You will have more ideas, the important thing is that you're actually doing the thing and executing on your ideas, and that's the hardest part. If your current projects hits a wall, don't get discouraged, there are plenty more on the way.

### 6. Good May Be Good Enough

Depending on the project, you will need to fight against perfectionism. Every project stays a little unfinished because there's always more we can do, but for a small side project you may need to evaluate the time you're spending on making minor improvements.

I hope these tips have been helpful and interesting! If you'd like to see me talk through them in a short video, [you can click this link](https://www.youtube.com/watch?v=awLv9V2M07I).
wow celebrate
Tags: octograd2020
Published: 2020-05-20 13:36:49

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

[Note]: # (If you used the GitHub Student Developer Pack on your project, add the "#githubsdp" tag above. We’d also love to know which services you used and how you used it!)

## My Final Project


## Demo Link
 

## Link to Code

[Note]: # (Our markdown editor supports pretty embeds. If you're sharing a GitHub repo, try this syntax: `{% github link_to_your_repo %}`)

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


## Additional Thoughts / Feelings / Stories


[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
MonsterJump
Tags: octograd2020
Published: 2020-05-20 13:35:54

<img alt="icon" src="https://github.com/abegehr/monsterjump/blob/master/assets/icon/icon.png?raw=true" width="200" />

Go as high as you can! Beat your high score and compare it with your friends.

## Go high!

Play on:

* iOS: https://apps.apple.com/sg/app/monsterjump-go-high/id1502870226
* Android: https://play.google.com/store/apps/details?id=app.monsterjump.app
* Web Browser (mobile): https://coronajump.com/

## Link to Code

{% github abegehr/monsterjump %}

## How I built it

The app is built on top of Google's mobile cross-platform framework Flutter as well as Flutter's third-party 2D game engine Flame and box2d physics.
It runs on iOS, Android, and mobile web browsers.

## Story

MonsterJump was developed as a side-project during the Corona pandemic and submitted as part of the #WirVsVirus hackathon to DevPost as CoronaJump: https://devpost.com/software/coronajump.
The game was then renamed and rebranded to MonsterJump and submitted to the iOS App Store and Android's Google Play Store.
React Native for MacOS & Windows?
Tags: reactnative
Published: 2020-05-20 13:35:48

Still in developmen, but this [Microsoft fork](https://microsoft.github.io/react-native-windows) of React Native makes it possible to run native Winows and MacOS applications.

Having work with the memory-hunger Electron in the past, I have great expectations for this one. Can't wait to see the 1.x release.
Scraping quotes
Tags: kunalrustagi08
Published: 2020-05-20 13:34:44

## A small project to scrape quotes that I built during the covid19 lockdown in my country. 

`{% github https://github.com/kunalrustagi08/Scraping-quotes %}`

[Note]: # (Our markdown editor supports pretty embeds. If you're sharing a GitHub repo, try this syntax: `{% github link_to_your_repo %}`)

It was the best time to revise the basic python and HTML concepts. I needed some inspiration to support myself during the lockdown. So I thought, let me read some quotes. That's when the idea of scraping quotes from a website.

It worked in two ways:
1. Helped me to regain my confidence in coding.
2. Quotes changed my mood for the better.

I used many libraries like `requests` and `BeautifulSoup` which are essential for web scraping. `time` and `random` are used to introduce a random sleep time between each scraping process.

The outer `for` loop is used to crawl different pages from 1 to 10. Here, a sleep timer is introduced. Then, a request is made to the url to fetch the HTML data and beautifulSoup is used for pulling data out of the fetched data.

The quotes are contained withing the `div` tag and `class = quote` attribute. We need two things from each container: The quote and the author

The quote and the author text is extracted from the respective tags and concatenated into a string. Subsequent quotes and authors are appended to same `quotes` variable.

In the end, this file can saved as a text file for later use.

## Additional Thoughts
Due to current pandemic, many students, like me, who are in their final year, missed out on their last college days and especially the farewell.
It has created a psychological and emotional imbalance. In these tough times, people should come together to support one another. 

The online graduation ceremony, hosted by GitHub, is a great initiative to celebrate the achievements of the students.

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
AeroStocks - Stock market prediction
Tags: octograd2020, githubsdp, showdev, devgrad2020
Published: 2020-05-20 13:29:11

## My Final Project
Since this was our final year, we had to work on a project and we decided to take up a challenging project involving stock market prediction through the help of purely news articles by using NLP and Machine learning prediction models. 

## Link to Code
{% github bhatshravan/AeroStocks %}

## How I built it 
Built using python, flask, beautifulsoup4, tensor flow, sklearn, VADER nlp library. 

Our first step was to form a dataset of the stock market on which we had to predict the stock market.
* We decided to build it on [NIFTY 50](https://en.wikipedia.org/wiki/NIFTY_50) which is the indian stock market index consisting of 50 stocks and was a large enough database.
* We downloaded the stock market data from alphavantage and yahoo finance of the large 8 years to use in our project.
* Then we wrote html parsers to data mine *20 lakh news articles* over the course of 8 years from 4 dataset news using beautifulsoup4 and python.
![News data](https://dev-to-uploads.s3.amazonaws.com/i/xrbaglbxbynduywtzg5w.png)
* This was then given as an input to an NLP library called VADER in python for giving us a sentiment score of positivity or negativity of the news. Since there were some false positives we had to include additional keywords and thus we got a score from 1.0 to -1.0 indicating sentiment.
* For each day, we took the news article, extracted any companies if it was present in the article which is part of NIFTY 50 and also took the mean of the news article sentiment of the day which belong to the same sector since stocks in same sector are affected by news as well. We extracted a dataset of 78000 points of data.
* Thus we had a csv file which had 
`date, stock, vader score, sector mean score, stock market price` which was used as input to the Machine learning.
![Sector score image](https://dev-to-uploads.s3.amazonaws.com/i/fq7l6o3q23uhg21j2pbv.png)


* We built an NLP which classified these and did predictive learning and thus achieved an accuracy of 55% which was what we were expecting!
![Final accuracy](https://dev-to-uploads.s3.amazonaws.com/i/py11nhj5osva6iqm25gf.png)

Thus just by giving a news headline as an input we can now predict the chance and percentage by which the stock will be affected using our project.

We are still working on the frontend and hope it will be built soon.

## Additional Thoughts 
It was a very tough project but it taught us a lot from the various ways to download, manage large amount of data and feed it to machine learning models to get very accurate results and helped us learn a whole lot!
Sell your software projects to investors
Tags: saas
Published: 2020-05-20 13:28:29

Hey everyone. We just put together a marketplace where developers and investors can get together to buy / sell software projects. 

If you have a software project you're no longer able to support but you want to give it a new home and make a bit of extra $, then consider listing it here:

https://www.whalepages.com/marketplace/

I hope you find this resource helpful!
Bite-Size Python: Tuples and namedtuple
Tags: python
Published: 2020-05-20 13:26:02

---
title: Bite-Size Python: Tuples and namedtuple
published: true
description: Simple example of how to use tuple and namedtuple in Python
tags: python
---

Tuple is one of the sequence data type like `List` in Python. The key main difference is tuple is immutable which mean once you create tuple you can not change it's value (but we can create new tuple from existing one after processing or something).

This post will demonstrate basic `tuple` operations and enhance it usage using `namedtuple`

Let's start


Creating tuple
```python
# empty tuple can create using ()
>>> a_tuple = ()
# we can check that it is really a tuple
>>> type(a_tuple)
# <class 'tuple'>

# create tuple with data
>>> a_tuple = (1,) # one element tuple must include comma
>>> a_tuple
(1,)

# create tuple using `tuple` function with sequence data type like `list` 
>>> a_list = [1, 2, 3, 4, 5]
>>> a_tuple = tuple(a_list)
>>> a_tuple
```


Accessing data in tuple
```python
# same manner of list by using zero-based indexing number
>>> a_tuple[0]
1

# slicing works as expect
>>> a_tuple[:3]
(1, 2, 3)
```


You can't modify tuple once it created
```python
>>> a_tuple[0] = "others"
# will raise --> TypeError: 'tuple' object does not support item assignment

# but we can work around by create new one using existing values
>>> a_tuple = ("others",) + a_tuple[1:] # using `+` sign to join tuples
>>> a_tuple
('others', 2, 3, 4, 5)
```


You can't remove item from tuple using `del` too
```python
>>> del a_tuple[-1]
# TypeError: 'tuple' object doesn't support item deletion

# `del` can only remove entire of the tuple
>>> del a_tuple
```


`namedtuple` is like an enhance version of tuple.
Key difference between these two guys is, in`namedtuple` you can `naming` something to tuples and you can accessing the value in `namedtuple` using name make it clearer and easy to read (but you can still use index number if you like.

```python
# import first before using namedtuple
>>> from collections import namedtuple
# create namedtuple name `Point` consists of `x` and `y` 
# representing x, y coordinate system
>>> Point = namedtuple('Point', ['x', 'y'])
>>> p = Point(20, -20) # x = 20, y = -20
>>> p.x
20
>>> p.y
-20
```


Useful functions in `namedtuple`

```python
# return as a dictionary
>>> p._asdict()
{'x': 20, 'y': -20}

# replacing value
# this will return new namedtuple not in-place replacing
>>> p._replace(x=0, y=0)
Point(x=0, y=0)
```

Thanks for reading! :)
Community Support for the Grant for the Web Call for Proposals
Tags: gftwhackathon, grantfortheweb, webmonetization
Published: 2020-05-20 13:25:33

With both the #gftwhackathon and [Grant for the Web's first public Call for Proposals] (https://www.grantfortheweb.org/apply) now underway, we know many of you have questions about potentially applying to Grant for the Web's CFP and would like to learn more. Here's how you can take part in the conversation about this funding opportunity.

**Community Calls**

We'll host two Zoom community calls. In each, the program team will provide an overview of Grant for the Web and share some tips on creating a strong application for the open Call for Proposals. These calls will be presentation-style with time for questions (taken via the chat feature). Registration is required and calls will be moderated.

- May 21 8:00am (US Pacific)/ 11:00am (US Eastern) / 4:00pm (London) / 11:00pm (Singapore) [Register for the May 21 community call.] (https://www.eventbrite.ca/e/105186226836)

- June 4  5:00pm (US Pacific) / 8:00pm (US Eastern) / 1:00 am (London) / 8:00am (Singapore) [Register for the June 4 community call.] (https://www.eventbrite.ca/e/105188768438)

Recordings of these calls will be available afterwards.

**Office Hours**

The program team will offer office hours where you can drop in and ask questions about the grant. Registration is required and calls will be moderated.

**Please note: The Program Team can not review your proposal.**

- May 28 8:00am (US Pacific)/ 11:00am (US Eastern) / 4:00pm (London) / 11:00pm (Singapore) [Register for the May 28 office hours.] (https://www.eventbrite.ca/e/105189538742)

    June 11 5:00pm (US Pacific) / 8:00pm (US Eastern) / 1:00 am (London) / 8:00am (Singapore) [Register for the June 11 office hours.] (https://www.eventbrite.ca/e/105190026200)

**Community Forum**

Join the [community forum] (https://forum.grantfortheweb.org/) to ask questions about the grant, learn more about the technology, and meet others interested in working towards a healthier internet using open standards.

‍
**And of course the DEV Hackathon**

Participate in [DEV's Grant For The Web x DEV Community hackathon] (https://dev.to/devteam/announcing-the-grant-for-the-web-hackathon-on-dev-3kd1)to build great tools on top of the proposed Web Monetization standard with a chance to win cash prizes and more! The help thread and participants' blogs offer a wealth of information and first-hand accounts of experimenting with the tech.

Also, feel free to message me on DEV.

Thanks!
Chris (Grant for the Web Program Team)
Lodash get() | Learn how to safely access values with Lodash _.get()
Tags: lodash, bestpractice, webdev, javascript
Published: 2020-05-20 13:22:26

---
title: Lodash get() | Learn how to safely access values with Lodash _.get()
published: true
description: Tutorial on the Lodash GET function and a deep dive into the codebase of lodash. I will show you how and when to use the get function and how it works under the hood.
tags: lodash, bestpractice, webdev, javascript
cover_image: https://public-youtube.s3.eu-central-1.amazonaws.com/thumbnails/get2.png
---

Who should watch this video:
- If you want to learn **how and why** to use the **lodash get** function to access javascript object properties. Start at [00:43](https://youtu.be/2NirvSLQhh8?t=43)
- If you want to learn how lodash get was implemented and take a look **under the hood**. Start at [06:42](https://youtu.be/2NirvSLQhh8?t=402)

{% youtube 2NirvSLQhh8 %}

Leave a comment with feedback or fill out my [3 Questions form](https://lucca.link/yttfld) to help me improve my content.