teleren/devto huggingface dataset:
Amazing things to build on Github
Tags: camivasz, github, graduation
Published: 2020-05-20 18:38:32

## My Final Project
My final career project involved building a pipeline for image registration in medical images using a novel approach via copulas to estimate the correlation ratio between two images.

## Demo Link
 
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/CamiVasz/Similarity/master) 
The project is mostly academic, but we hope some hospitals can make good use of it for radiotherapy planning.

## Link to Code

`{%github github.com/CamiVasz/Similarity %}`

## How I built it

From a wide study in the theory of couples and non-rigid image registration, we went ahead and code the necessary supplies for integrating our similarity measure into a registration pipeline.

## Additional Thoughts / Feelings / Stories

This has been quite a journey, and even when this is not my largest project built on GitHub is my last one in my career and I am very happy about it!


[Final Note]: # (Thank you for reading!)
Judges are tough!
Tags: django, bash, linux
Published: 2020-05-20 18:34:07

#Turing Online Judge
##### -- A basic online judge in Python

When I was a fresher and came across all the online judges, like spoj, codeforces, a2oj, I wondered how they worked, how they managed to enforce all those limits and test the solutions.

I decided to make one on my own, it may not have all the advanced features but still it should be able to judge the solutions agains the test cases and enforce different constraints over the execution of the solution submitted by a user.

><u>**Tech**</u>
> - Django (Web framework)
> - MySql (Database)
> - Python (for the judge script)
> - Bash (for some system calls)

Checkout the project:

{% github pranavraj219/turingoj %}

_Work in Progress_
Predictive Maintenance in Delhi Metro
Tags: machinelearning, python, datascience, rails
Published: 2020-05-20 18:30:21

In the last place, I interned in (Delhi Metro), right before the corona lockdown started, I built a predictive analytics solution. Delhi metro has a humongous network of rails ( most dense in India ) with data being collected at a very fast rate. But most of it is unstructured and categorical data which is only readable by the maintainers in the workshops the train gets sent to on a monthly basis. So I built a model to clean the data, preprocess it and using 2 methods ( SPADE and ARIMA ) I found out the patterns in occurrences of faults in components (which component had a higher probability of failing after a failure in a specific component) and built a time series out of the fault data to build an ARIMA model out of it so that they can predict future faults! Although the accuracy of the model was relatively low because I was interpolating quite a few data points since we had fewer data to train my model (the data collection process of Delhi Metro is slow since the trains visit the workshop only once a month and I worked as an intern for only 2 months), once the complete data of the complete railway network gets collected, we will have a robust model to predict future component failures in trains.
We have also pushed the data to the cloud and created dashboards so that all stakeholders can easily access the data. The complete implementation was done by me in 2 months. :D
FAMU Grad - gBook
Tags: octograd2020
Published: 2020-05-20 18:28:58

[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
This isn't my final project but a project I'm truly passionate about. I created a startup, gBook, with another student that empowers entrepreneurship on college campuses by allowing students to safely find products and services on campus.

## Demo Link
 (WIP) https://gbook.io/

## Link to Code
Not available 🙈
[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?)
Built this with FERN stack (Firebase, Express, React / React Native, and Node). For native development, we are using Expo as well.


## Additional Thoughts / Feelings / Stories
I'm super excited to be done with school and ready to see what the future holds for me and tech 🎉

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
LogDNA Engineering
Tags: logging, devops, engineering, startup
Published: 2020-05-20 18:27:10

Let’s get this blog started!

## What’s this blog all about?

We’re going to focus on technical discussions around logging and discuss some of the challenges and failures that we meet along the way. You’ll hear from me (Laura) a lot, but you’ll also hear from members of our engineering teams.

You won't see product pitches or other vendor-y posts here. This is a technical blog, not a sales blog. We will likely mention LogDNA sometimes&mdash;we can't help but talk about the company when we're discussing unique challenges we've faced along the way. However, the focus will always be on the technical side of things.

If there's any topics around logging you'd love to hear about, let us know!
Is there a way I can use class abstraction to interact with React components?
Tags: react
Published: 2020-05-20 18:24:52

I have a Maze class, and all of my logic is abstracted inside the class. I looking for ways to react component to re-render every time the data into the class changes.

I simplified everything so you guys can see it easier. When I press flipAll in Maze, I'm trying to make the components Cell to rerender. At the moment it's static.

I understand that a component can only rerender via state or prop change. But doesn't my cell prop is subscribing to data inside the class. Therefore a prop change?

Is there a way I can make it work without forceUpdate?

End goal: I'm trying to do a maze-making generator that can visualize the path/action taken by the algorithm sequentially.


{% runkit %}
class Maze {
    constructor(width, height, includesDiagonal = false) {
        this.grid = this.createGrid(width, height)
    }
    flipAll () {
        for (let i = 0; i < this.grid.length; i++){
            for (let j = 0; j < this.grid.length[0]; j++){
                this.grid[i][j].flip()
        }
    }
    createGrid(width, height) {
        const row = i => [...Array(width)].map((__ele, j) => new Cell(i, j))
        const grid = [...Array(height)].map((__ele, i) => row(i))
        return grid
    }
}
class Cell {
    constructor() {
        this.visited = false;
    }
    flip() { this.visited = true }
}


class MazeChaser extends Component {
    constructor(props) {
        super(props)
        this.Maze = new Maze(5,5)
    }
    clickTest = () => this.Maze.flipAll()

    render() { return (<><Grid grid={this.Maze.grid}/></>)}
}

const Grid = props => {
    const rows = props.grid.map((row, ind) => <Row key={ind} row={row}/>)
    return (<div className="grid">{rows}</div>)
}
const Row = props => {
    const cells = props.row.map((cell, ind) => <Cell key={ind} {...cell}/>); 
    return (<div className="row">{cells}</div>)
}
const Cell = ({visited})=> (<div>{visited}</div>)

{% endrunkit %}
Should I learn golang?
Tags: go
Published: 2020-05-20 18:24:06

Yes, it never hurts to learn a new language and Go is great at concurrency. Go (Golang) is an open-source programming language. It creates binaries from code and is not interpreted.

Go language is developed at Google and in syntax it's similar to C. But unlike C, it does memory management for you. It's great for building a back-end and is easy to deploy in the cloud.

The Go programming language has tools that let developers use memory in a secure way, collect garbage, manage objects, and allows them to type statically with concurrency.

**So how to get started with Go?**

1. For beginners, try the tutorial at <a href="https://golangr.com/">golangr.com</a>. It's a brief tutorial that goes over the basics.

2. Do the <a href="https://tour.golang.org/">Go tour</a>, which is like an interactive slide show. It also goes over the basics

3. Go through <a href="http://www.golangbootcamp.com/book/">this book</a> to learn more about Go

4. Go through some books like

* Go in Action by William Kennedy, Brian Ketelsen, Erik St. Martin
* Learning Functional Programming in Go by Lex Sheehan
* The Go Programming Language by Alan A. A. Donovan and Brian W. Kernighan

There is no official Golang examination, but there are some companies offering training. These companies are not affiliated with Google.
Welcome Thread - v74
Tags: welcome
Published: 2020-05-20 18:23:17

---
title: Welcome Thread - v74
published: true
description: Welcome to DEV! A thread of hellos and intros.
tags: welcome
---

![amy poehler hello](https://media.giphy.com/media/WpIPS0DWNpMm4kfMVr/giphy.gif)

### Welcome to DEV!

1. Leave a comment below to introduce yourself! You can talk about what brought you here, what you're learning, or just a fun fact about yourself.

2. Reply to someone's comment, either with a question or just a hello. 👋 

**Great to have you in the community!**
[Object Recognition Using Firebase ML Kit]
Tags: octograd2020
Published: 2020-05-20 18:22:48

[Comment]: It was a project for a subject where the most important thing was to use some kind of Machine Learning and to use Open Source Licensing 

[Note]: It was left as a kind of minimum viable product #GithubSDP

## My Final Project
We were required to develop an app using Machine Learning, so with some friends we decided to build an app that let's you know general information of a product after you scan it with the camera within our app. We decided to call it MayDayCV, due to the meaning of MayDay being a call for help, and the app was thought to help a customer visiting a supermarket in a different region to know more information about a product that he doesn't already know. Sadly due to time issues, we couldn't apply all the features we wanted at the beggining such as rating and average price of the product, but we achieved the object recognition and were able to show the name of the product and a little description.

## Link to Code

{% github https://github.com/acampos96/MayDayComputerVisionApp %} 

## How I built it 

At first, we wanted to build the app using Flutter and the ML kit, but after running through some troubles, mainly that most features of the ML Kit were in Beta release at the time, we decided that it was best for the app to be developed in a native environment using Kotlin with the same Firebase Features.
For more information about the techonologies used and more accurate description of the firebase features and other libraries used, you can check the readme on the Github Repo!


## Additional Thoughts / Feelings / Stories

It's important for me to remark that this project would not have been able to see the light without all the people sharing their experiences using Firebase and different camera libraries. Special thanks to all the writers of the tutorials listed in the readMe.
Commentary Generation using DL
Tags: showdev
Published: 2020-05-20 18:22:03

## My Final Project
Created a deep learning application to automatically generates commentary of a cricket video provided. Initially the full length cricket video was cut into videos of each ball. Now the video of each ball was converted into frames and saved into the corresponding ball number folder. Given a ball video length folder, separated the starting scene frames from other scenes using scene segmentation. A pre-trainded SSD was used to generate the bounding boxes for batsman and bowler. The frames were cropped with the bounding boxes and saved into the corresponding folders as batsman/player_id and the bowler/player_id. These cropped images were then used to train a siamese network for naming batsman and the bowler and then the commentary is generated using NLP (Natural Language Processing).

## Demo Link
 https://www.youtube.com/watch?v=DZOQS_a0dEo

## Link to Code
{% github https://github.com/Vishal1541/Cricket_Video_Annotation_DL %}

[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

Technologies Used : Python (tensorflow, imageai, object detection etc.), Keras, cv2, Networks used in the project were : scene segmentation, SSD (Single Shot multibox Detector), classifiers for annotating batsman and bowler name and shot played by the batsman using conv LSTM.  # (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!)
COVID-19 tracker through Python and REST API
Tags: octograd2020, showdev, 2020DEVGRAD
Published: 2020-05-20 18:20:52

Following the Coronavirus pandemic over the globe. This is an ongoing web application for live following instances of covid19 all through the world(Globally). Tracks the instances of contaminated individuals, recuperation individuals, and passing individuals all inclusive just as nation savvy. 

This is the primary constant venture I have chipped away at. While doing this task I have figured out how to analyse Data sets provided, Data cleaning, Data extraction and API information bringing, every last bit of it in Python.

Repository Link:

https://github.com/God-father1/Covid19-tracker


Thank you!
Avalon Online
Tags: octograd2020, githubsdp
Published: 2020-05-20 18:13:01

[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
The last project I made after classes were put online due to COVID-19 was an online version of "The Resistance: Avalon," a board game my friends and I played throughout college. This idea has already been implemented by other people, see [avalon.fun](avalon.fun), but it still seemed like a fun idea and an opportunity for me to learn something new. It was a fun project and I'm proud of my solution.

## Demo Link
[avalon.seanfitzgerald.dev](avalon.seanfitzgerald.dev)

## Link to Code
[https://github.com/fitzmill/online-avalon](https://github.com/fitzmill/online-avalon)
[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
The full stack is PostgreSQL, .NET Core 3, and Vue.js. Each player is synced with the server in real-time using Microsoft's SignalR library which was what I focused on learning for this project. The hardest part was handling player disconnects and reconnects since the way it should be handled varied widely on what role the player has and what state the game is in. Also, trying to manage the entire game server side since I didn't want the player to have access to more information than they should be allowed to have about the game.

## Additional Thoughts / Feelings / Stories
It was fun to build something as a distraction while waiting for the world to calm down. Even though the pandemic isn't over and I'm pausing development for the moment, I'm glad I took the time to build it.


[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
Hello, Worl... ¡Hola, Mundo!
Tags: writing, espanol, spanish, beginners
Published: 2020-05-20 18:08:00

Zamir, aquí. Tengo 30 años, nací en Perú y mi vida ha dado un vuelco enorme en los últimos meses. Algunas cosas sobre mí: amo a los animales; me gusta el arte en todas sus expresiones (especialmente, la música); estudié Derecho y trabajé en ello los últimos 7 años; me gusta la tecnología y decidí -no hace mucho- darme la oportunidad de incursionar en el desarrollo de software.

Como hombre de letras, este viaje es un reto importante para mí y este espacio será mi cuaderno de bitácora. Aquí escribiré lo que voy aprendiendo y cómo lo voy aprendiendo, principalmente por dos motivos que me inspiró el artículo [Learn in public](https://www.swyx.io/writing/learn-in-public/):
  1. Escribir para mí, para ayudar a mi futuro yo.
  2. Escribir para otros aquello que me hubiera gustado encontrar cuando inicié mi aprendizaje (además, recibir feedback de alguien me ayudará).

Por último, decidí escribir en español debido a que la mayor cantidad de información valiosa sobre estos temas está en inglés. Considero que aprender este idioma es fundamental y lo recomiendo por lo enormemente útil que es, especialmente en este campo. Sin embargo, siendo _realista_, no todos tienen la suerte de acceder a educación bilingüe en muchos países de Latinoamérica. Y siendo _idealista_, deseo contribuir a cubrir esta brecha para que la comunidad de habla hispana interesada en el mundo de la programación pueda empezar por algo.

_Blast off!!_
Vex Robotics Competition - 4001A
Tags: devgrad2020
Published: 2020-05-20 18:04:40

## Overview
I was the lead programmer for my high school's Vex Robotics Competition team. We competed with the team number 4001A. We improved throughout our three years in Vex, and this year's competition season was our best yet. We were the winners of the excellence award (the highest honor in a Vex tournament) for the Eastern Pennsylvania region, finalists at the Night at the Museum event (held at the National Air and Space Museum outside Washington, D.C), and we were ranked #16th in the world for our skills score. 

## Final Project 

https://github.com/phsengineering/TowerTakeover-4001A

You can watch a video of our robot in action here: https://www.youtube.com/watch?v=Vv0BrwyyyRo

You can also watch our team compete at the Night at the Museum tournament at the National Air and Space Museum: https://www.youtube.com/watch?v=i5q04zsQwEw

## How I built it
This project was built using PROS, the open source development platform for Vex V5 microcontrollers. PROS is developed by a volunteer team at Purdue University in West Lafayette, Indiana. This project also depends on OkapiLib, a path planning library developed by a team at Worcester Polytechnic Institute in Massachusetts. Thanks to PROS and OkapiLib teams, and everyone else on the Vex Discord server for their help through this year. Congratulations to the Purdue team (BLRS) for winning the university division at the Vex Virtual Worlds tournament.
I want to talk about myself
Tags: motivation
Published: 2020-05-20 18:03:59

Hi!
My name is Vadim, I am 16 years old and I am a student.
Let's start from the beginning.
I didn't do very well in school, I often got bad grades, I didn't understand teachers and I was just "on my own".
In 9th grade, I graduated from school, happily passed the exams and entered college.
Now I am finishing the first course of four.
I won't lie, I started teaching programming in early 2020, but now I regret that I didn't start teaching earlier ...
In a few days I will study at the CHESS Academy,
and I hope they will give me the skills I need in Cyber Security

by Chorrny Inc
Advanced Dependency Injection in .NET Core
Tags: dotnet, csharp, tutorial
Published: 2020-05-20 18:03:22

Hi,

inspired by this years Microsoft Build conference I decided to get back to creating my own videos about things all around the .NET ecosystem.

This morning I took a stab at explaining the .NET Core dependency injection extension, from basics to how other frameworks utilize it internally, like ASP.NET Core.

It is not 100% beginner friendly, as I won't explain DI in itself. I just detail how this specific implementation of an IoC container works.

Here it is:

{% youtube VwIRrsQDVWQ %}
Fallback link: https://youtu.be/VwIRrsQDVWQ

I also plan on doing more videos, so please give me some feedback for improving the videos. You can also request topics that I should cover.

Happy coding everyone
~InDieTasten
You learn the most when you fail - Distributed programming project
Tags: octograd2020
Published: 2020-05-20 18:00:27

## The project

This project was done for network and distributed programming subject of University of São Paulo. The idea of the project was to build a distributed program that would run on different nodes, and it had the goal of sorting an array (using all the nodes in our network). It needed to support the addition of new nodes, death of nodes, and the change of "leader nodes" that would distribute the work load. The array would start in one of the nodes that would act as a "master".

## Link to Code

{% github https://github.com/breno-helf/Network-Distributed-Prog %}

## How I built it

To the project we had freedom of choice. We, (Me and my teammate [Matheus Cunha](https://github.com/matheushw)) choose Golang for the language and made some "simple" architecture choices. The first one was how to divide the tasks, we choose to divide the array into chunks, that would be sorted in the nodes with the default sort function of golang. The tasks would come from the master node (that has the data), and the receivers of each task would be defined by the leader node.

![Chunk division](https://dev-to-uploads.s3.amazonaws.com/i/ezha4ravaehripmqz5r8.png)

Then we would send the array back to a "master" node, (The one that started with the array). The master node would then register the array into its filesystem.

![Simple Architechture](https://dev-to-uploads.s3.amazonaws.com/i/9fty9ln2n1z2454yno9f.png)

Later, when all chunks are sorted and stored in the master, the master node would perform the last step, that is going though all chunks in order (we would have a pointer for each chunk in memory) and storing them in a heap, doing some sort of "heap merge" that would take O(N * log(chunks)). 

As you may be expecting by the title of this post, the project "failed" in some way. Although it sorted the chunks correctly, it took way more time distributing the tasks than sorting it, so one node used to work better than N nodes (We tested with 1, 2, 3 and 4 nodes, all raspberry pies). The reason it took so long could be many. The extra "leader" -> "master" step (that was required, due to need of implementing leader election, a requirement of the assignment), can be the issue. Maybe its because we used raspberry pies for testing. However, my favorite candidate is the way we decided to transfer the data, through strings that would be parsed by the other side (Serializing and then de-serializing). Just to "compress" the chunk data, would take longer than to sort the entire chunk, which made the whole idea useless.

## Why failing this project was good

Well, during this project I think I learned a lot of things. More than just exercising distributed and parallel concepts in practice, I learned what is important, how to measure and diagnoses a problem in a distributed environment and how to think solutions for those problems. None of this things would be learned if I didn't fail, and in the end I am glad I failed. The project didn't had any major goal or responsibility and I learned how to not fail in more important projects.