teleren/devto huggingface dataset:
Genetic algorithm learning to jump
Tags: octograd2020, javascript
Published: 2020-05-20 17:19:06

## Lots of circles doing their best to reach the goal as quickly as possible
![Bups trying to improve their score](https://imgur.com/pxgnOON.png)

## What's going on?
What you are seeing on the image above, are lots of *bups* (My name for these circles) trying to jump their way towards the end goal, shown here as a floating yellow sun. These bups know nothing of their environment and have no specific instructions programmed in. The only thing they have is a list of 10 vectors, indicating in what direction they should jump and with which force. These vectors are being changed by a *genetic algorithm*, which does its best to improve the "AI" of these bups. This genetic algorithm knows very little as well - the only info it has is the time needed for each bup to reach to goal, or if it couldn't reach the goal in 10 jumps, the distance it was removed from it. Let's go a bit more in detail.

## The inner workings
As mentioned before, each bup has 10 vectors which it uses one by one to jump around. These are initially random, but the goal of this little program is to optimize these vectors to ensure a quickest path is found. After each bup used its 10 jumps (or reached the goal), the genetic algorithm will order them by *fitness*. This is a value given to each bup based on how quickly or how close it got to the goal. The higher the fitness of a bup, the higher odds it has of passing on its genes to the next generation of bups (an "iteration" of the program). These genes are of course, the vectors. New young bups will be created by mixing the vectors of parents with high fitness. Occasionally, a vector will be completely mutated (randomized) to ensure new strategies can always emerge. Using this continuous improvement, bups should perform better and better until they eventually reach the goal and start optimizing their times.

## Results
Picking the best vector from a randomized pool sounds strange. What's even more strange however, is that this actually produces results, and *boy are they good*. Often in a few hundred generations time (less than a second if skipping the visual representation) bups will have found an extremely fast path towards the goal, and keep improving to shave milliseconds off their best time. Personally I found it extremely surprising how well this worked. The bups know absolutely nothing, yet they successfully keep improving with the help of the genetic algorithm. While it's not as advanced as a neural network, it has been a fun little project to see the effects of evolution in nature in action. 

#### Test it out here yourself!
https://winnie334.github.io/smart_bups/

#### Thanks to:
* [p5.js](https://p5js.org/) for making this possible and being a great library overall.
* [Daniel Shiffman](https://shiffman.net/) for inspiring me to make this project.
* [Github](https://github.com/) for encouraging me to write this post for their graduation yearbook!


#### If you are interested in the code, check it out here.
{% github https://github.com/winnie334/smart_bups %}
Azure Routing explained in plain English with a story in 10 mins-User Defined Routes, Route priority
Tags: azure, beginners, networking, cloud
Published: 2020-05-20 17:17:18

---
title: Azure Routing explained in plain English with a story in 10 mins-User Defined Routes, Route priority
published: true
description: Azure Routing explained in plain English with a story in 10 mins - User Defined Routes, Route priority, System Routes 
cover_image: https://www.azuremonk.com/assets/blogposts/video/route.png
tags: #azure, #beginners ,#networking , #cloud
---
{% youtube tXLScLO-DRI %}

Everything you ever wanted to know about Azure Routing explained in plain english with an easy to understand story in a super simplified way

1. We will talk about a fictional company Modern Zoo who hosts two Virtual Networks - Domestic Animals Virtual Network and Wild Animals Virtual Network - we will answer the answers from the new CTO - Curious George on how Azure system routes work
2. We will talk about what a route table with a simple easy to understand New York City to SFO analogy. 
3. The new Zoo Keeper has stringent requirements to route traffic a certain way
4. We will also talk about how routing priorities work in Azure and how Azure picks a route when we have User Defined Routes, System Routes and BGP routes. 
5. We will talk about how User Defined Routes are created from the portal and how they are associated to a subnet. 
6. What are the different next hop types in User Defined Routes and how we can use them to accomplish the requirements set by the new ZooKeeper Appliance. 

All this in 10 minutes. I promise you - you won't be bored and the video will keep you engaged :) 

For more videos check out - https://www.azuremonk.com 
For the service endpoint explanation click here - https://www.youtube.com/watch?v=gxsitRRgylI

#azure #azurenetworking #userdefinedroutes #udr #azuresystemroutes #virtualnetworkrouting #routingpriorities #systemroutes #explainedinplainenglish #lessthan5min #explainedsimply #simplified #azuremonk
TowerDefense
Tags: 2020devgrad, octograd2020, showdev, githubsd
Published: 2020-05-20 17:11:53

---
title: TowerDefense
published: true
description: Just a TowerDefense game from my years as a student at the Hochschule Karlsruhe.
tags: 2020devgrad, octograd2020, showdev, githubsd
---

Last year I've started with this project to get deeper into game development. I've programmed this by follwing the tutorial of the YouTuber [Brackeys](https://www.youtube.com/playlist?list=PLPV2KyIb3jR4u5jX8za5iU1cqnQPmbzG0). It's build with Unity in 3D, what was a lot of fun!

To have some versioning I've used GitHub in combination with GitKraken. To build and experiment with the graphics I've used Blender, Affinity Designer and of course Unity itself.

## Demo Link
 https://td.chamo.de

## Link to Code
{% github florianrusch/TowerDefense %}
Messing around with Deno - Live
Tags: deno, typescript, javascript, ffmpeg
Published: 2020-05-20 17:11:12

{% youtube AI01iYIgK7c %}

I'm going live at 1:15 PM EST to mess around with the new **Deno** runtime. Most likely going to try another **ffmpeg** related idea I have using it.

Come on in to chill and chat while I figure out what I'm going to do exactly.
Welcoming Gracie Gregory to the DEV Team
Tags: meta
Published: 2020-05-20 16:53:15

---
title: Welcoming Gracie Gregory to the DEV Team
published: true
description: We are so excited to welcome Gracie Gregory to the DEV Team as our Content Manager.
tags: meta
cover_image: https://thepracticaldev.s3.amazonaws.com/i/97a2sge9bgapcn6szuep.png
---
We are so excited to welcome Gracie Gregory to the DEV Team as our Content Manager.

Gracie is an accomplished writer and editor in the developer space, with many years of experience tweeting from one of software's biggest accounts - [The Linux Foundation](https://twitter.com/linuxfoundation)! Most recently, Gracie was writing all about serverless and cloud computing at Stackery. 

You can expect to read lots of posts from Gracie in the coming weeks, both on DEV and across our social accounts. We can't wait to give her the keys to DEV's 20+ Twitter feeds, where she'll keep you up-to-date on community posts and happenings! 

To learn more about Gracie, check out her post below:

{% link https://dev.to/graciegregory/i-just-joined-the-dev-team-267m %}

![aw-yeah](https://media.giphy.com/media/3oz8xRF0v9WMAUVLNK/giphy.gif)

Please give Gracie a warm welcome!
React Native for Windows and macOS is released!
Tags: javascript, react, reactnative, discuss
Published: 2020-05-20 17:10:11

Microsoft finally released their React Native fork that can build native apps for Windows and macOS.

https://microsoft.github.io/react-native-windows/blog/2020/05/19/rn4mupdadates

I'd love to hear what the React/React Native developers here think about this project.
Skill Match UVA
Tags: octograd2020
Published: 2020-05-20 17:09:05

## My Final Project
Website for students at the University to connect through shared classes to find help with assignments and study groups for tests. Students can create a profile and add their classes so that they can connect with other students enrolled in each class. Students can also add friends to see all posts these students make.

## Demo Link
http://skillmatch13.herokuapp.com/

## Link to Code

{% github https://github.com/jfullerton44/skill-match-website %}

## How I built it 
Built using Django and SQLite and hosted through Heroku.
QuizzeR
Tags: octograd2020, showdev, devgrad2020, NLP
Published: 2020-05-20 16:50:16

[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!)

## QuizzeR 
A bot which generates Multiple Choice Questions for an input keyword. Fetches information from Wikipedia and analyses the received information using spaCy and NLTK. Generates MCQ type question with 70-80 % accuracy. Implemented in Python, Flask, HTML/CSS.

## Demo Link
You will have to run it locally on your machine.

## Github Repo Link
{% github https://github.com/adhv45/QuizzeR %}

[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
* Search the content from Wikipedia. 
* Divide into sections.
* Filter the sentences by length and no. of named entities after than pick two random sentences from each section.
* To make question remove the most important keyword and replace it with a blank string.
* Use similarity to generate options.

##Additional Thoughts / Feelings / Stories
It was my first project which we did on our own in a college hackathon.
GradeView App
Tags: octograd2020, node, reactnative, javascript
Published: 2020-05-20 17:02:46

## My Final Project
My school had a website for checking grades but I felt it was about time they had an app for that. 

## Demo Link
You can check out my project on the Apple App store or the Google play store here: https://gradeview.kihtrak.com

## Link to Code
https://github.com/KihtrakRaknas/GradeViewApp}

## How I built it
I ended up having to learn React Native and node.js as I made the app.
I built the App using React Native to take care of the front end. I used Google's Puppeteer library in node.js to web-scrape my school's website, convert the data to JSON, and send it to my app. Once I got this working I added other features like automatic GPA calculation, checking your lunch balance and offline caching.

## Additional Thoughts / Feelings / Stories
At this point my app is used by 1300+ students at my school. It brings me great joy knowing that I was able to build a tool that has helped so many people
EdgeKernel
Tags: octograd2020
Published: 2020-05-20 16:56:27

[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
EdgeKernel

## Demo Link
A Presentation on EdgeKernel can be found here: [https://youtu.be/neguWBuOzgY](https://youtu.be/neguWBuOzgY)

A Demonstration of how to set up a fresh Ubuntu machine to use EdgeKernel can be found here: [https://youtu.be/P9SZiQzDopU](https://youtu.be/P9SZiQzDopU)
## Link to Code
`https://github.com/cm16161/EdgeKernel`
[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?)
It's a serverless platform which uses MirageOS unikernels rather than containers. EdgeKernel uses Redis for its messaging layer and datastore and can outperform equivalent functions running on Apache OpenWhisk.

``Triggers" placed on the Redis MQ is monitored by a Ruby script which will spawn a unikernel accordingly. To spawn a unikernel a number of checks are made such as maximum limits, available networking devices and whether or not to scale up.
Scaling is implemented using a threshold-based rule by monitoring the number of active unikernels and the number of data-items in the queue.

By doing this I learnt a lot about serverless platforms, unikernel technology, OCaml and Ruby. I also learnt about the different issues with unikernel technology being as cutting edge as it is - such as not having support for sending packets over an HTTPS connection!

## Additional Thoughts / Feelings / Stories
From start to finish it has been an excellent project which required a lot of reading. I enjoyed feeling that the work I was doing was new. 

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
I participated in the making of a road safety app.
Tags: octograd2020, android
Published: 2020-05-20 16:54:12

I'm a french computer science student, and for the past 3 years, I've been working along with 7 other students from my class on our end study project.
The project was started after almost 2 weeks of brainstorming at the start of our 3rd year, and the project needs to be functional in the middle of our 5th year !

## My Final Project

So after a lot of brainstorming about the technical stack, the business plan and the need of our project for people around the world, we decided to create a road safety app.
Why ? Because we saw that in France, we got problems with road safety, almost 40% of fatal accident by car are caused by 3 major factors:
 - Speed
 - Distraction
 - Sleep

This is why we created SharpEye, SharpEye is a mobile application that prevents the dangers while driving. It uses the rear camera of the phone to detect obstacles, pedestrians or any potential dangers and alert the driver by sending him a sound signal.

The app is functional and we're proud of this !
But the code is in some part very wacky, and because any of us want to continue this project so it'll actually stay as it 😓

## Demo Link
 
You can actually find it on the Play Store under the name of "SharpEye"
Here is a [link for you](https://play.google.com/store/apps/details?id=sharpeye.sharpeye) !

Also a video [here](https://www.youtube.com/watch?v=MRkEZyZCgwY&feature=youtu.be)

Also here was the stand of our project in our school !
![Stand](https://dev-to-uploads.s3.amazonaws.com/i/yvs7ptlw43rx7cz34mtq.jpg)

## Link to Code

{% github https://github.com/BLKKKBVSIK/Sharpeye %}

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

As I previously said, we started this project as a 3rd year student and finished it in the middle of our 5th year, after what we made a lot of presentations of the project to various tech events in Paris and France.

So in 2 years of making, the project has evolved a lot and we too !
The technical stack changed a bit, mostly what's concerning TensorFlow !

So as I speak, SharpEye Android is mostly written in Kotlin, Java is not prohibited but try to avoid it as much as possible, and we use it only if there is no Kotlin alternative.

We used TensorFlow Lite to train models that we used to recognised pedestrians and cars/truck etc.. Also OpenCV played a big role in our stack with different tracker (like the MOOSE tracker) that we implemented and tracking cars/obstacles/pedestrian between two TensorFlow Lite detection.



[Final Note]: 20/30, we passed !
MaterialColor -a color code app
Tags: android, kotlin, materialcolor, developers
Published: 2020-05-20 16:49:52

## **MaterialColor**

### Demo SS
https://github.com/dilipsuthar97/MaterialColor/blob/master/README.md
 
### Code Link
https://github.com/dilipsuthar97/MaterialColor

### How I built it
I built this project for the Android platform using Android Studio and I used Kotlin programming language to build this project.
I pushed this project on GitHub as open-source so, that anyone can contribute to this project.

This is a color palette app for web/mobile developers and designers to get their required color code on the go.
MaterialColor Palette is an all in one toolbox for developers especially web-developers.

### Features
- Explore pure Material Code with their different shades
- Explore a rich set of gradients
- Extract color from images
- Bookmark your favorite color
- Make custom color using the color tool
- Make a custom gradient using the gradient tool
- Material design tool (beta)
Palindrome Program in Java for Reversing String
Tags: java, palindrome, interviewquestions, algorithms
Published: 2020-05-20 16:46:33

<hr/>
<p><strong>Palindrome</strong> is nothing but any number or a string which remains unchanged when it is reversed. For example: <b><i>121 </i></b>or <em><strong>RAR</strong></em>. It is observable that letters form reflect images on turn around.</p>
<blockquote>
<pre>class PalindromeProgramInJavaForReversingString{
      public static void checkPalindrome(String s){
      // Reversing given string using StringBuffer class
      String reverse = new StringBuffer(s).reverse().toString();

      // checks whether the string is palindrome or not
      if (s.equals(reverse)){
          System.out.println("Yes, it is a palindrome");
       }else{
          System.out.println("No, it is not a palindrome");
       }
     }
     public static void main (String[] args)throws java.lang.Exception{
        checkPalindrome("madam");
     }
 }</pre>
</blockquote>
<p>Learn More about <strong>Palindrome</strong>:</p>
<ul>
<li><a href="https://onlinetutorials.tech/palindrome-program-in-java-using-while-loop">Palindrome Program in Java using While Loop</a></li>
</ul>
<hr/>
Configuración inicial de PostgreSQL y PgAdmin4(Ubuntu)
Tags: postgres, ubuntu
Published: 2020-05-20 16:42:01

¡Hola!, si estás en este post deberás de tener los siguientes requisitos:

 - PostgreSQL (de preferencia claro la versión más reciente)
 - PgAdmin4 (interfaz gráfica de PSQL)

Si no es así, te comparto una guía que redacté que te ayudará con ello:

https://dev.to/develobert/instalar-postgresql-y-pgadmin4-para-linux-ubuntu-2020-29k3

¿Listo para comenzar? ¡Genial!, el primer paso será entonces ingresar a la sesión por default que crea PostgreSQL, con el siguiente comando:
```
$  sudo -i -u postgres
 ```
Una vez adentro de la sesión, crearemos el usuario(rol) personalizado a utilizar,recomiendo personalmente al ser tu primera configuración, crearlo con tu nombre o el mismo nombre que tengas en tu sesión de Ubuntu. Así mismo también darle privilegios de super usuario, esto permitirá entonces crear, eliminar y modificar bases de datos, ajenas incluso a su rol.
```
`postgres@nombre_de_tu_pc~$ createuser --interactive`
```
Seguimos las instrucciones y ¡listo!, hemos creado nuestra sesión propia en PostgreSQL. El siguiente paso será crear la BD (mismo nombre que el usuario de preferencia):
```
`postgres@nombre_de_tu_pc~$ createdb 'mismo_nombre_que_el_usuario'`
```
Verifiquemos que todo vaya en orden hasta acá, escribe `psql` y una vez adentro lo siguiente `\l`, presiona `Q` para salir

Observamos entonces la lista de Base de Datos, en donde Owner es el role propietario y al costado el nombre de la misma. Ahora solo nos faltaría añadirle un password y lo hacemos con el comando 
```
`=# \password 'usuario'`
```
Listo, ya tienes configurado tu nuevo usuario y base de datos, puedes visualizarlo entrando a PgAdmin4 o con el comando anterior `\l`
Building Discord4J
Tags: octograd2020
Published: 2020-05-20 16:17:26

[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!)

## Discord4J
One of my first major projects was forking the now-defunct nerd/Discord4J repository. It is a Java library for building chatbots for the Discord chat platform. I originally was just a major contributor, contributing many PRs but I soon turned into the maintainer. Under me, I was able to amass a few hundred stars, get a handful of volunteer staff to help development, and foster a friendly community of hundreds of Java developers. 
 
## Link to Code

{% github https://github.com/Discord4J/Discord4J %}

## Additional Thoughts / Feelings / Stories
I've met many people over the course of the development of Discord4J. From them I have learned a lot about development. I don't think I would be where I am today without the Discord4J community. I am extremely thankful for everyone that has been in some way involved in the community! Especially to the other developers that have picked up the slack while I have been busy with school work.

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
Muil - Build Dynamic Email Templates using React
Tags: javascript, react, email, startup
Published: 2020-05-20 16:41:10

Hi All,

In the last few months, I'm working on a new side project Muil.

**Muil is a powerful service to build email, PDF and image templates using React, then generate via a simple REST API.**

I'm sure you know how challenging building transactional email templates can be, you have to write a tangle of archaic HTML and inline styles and there is no easy way to share code and style.

With Muil you can build templates with React and all other libraries you already working with. You can also use shared components and styles from your web client.

Whilst it's still early days, the service core functionality is ready and I receive great feedback and high satisfaction rating from users.

I'd love your feedback, experience, and thoughts!

https://www.muil.io/

Getting Started Guide
https://docs.muil.io/blog/2020/04/21/start-guide/
Automated Censorable Content identification in Films Using Deeplearning
Tags: octograd2020, githubsdp, machinelearning, devgrad2020
Published: 2020-05-20 16:40:23

## What is my project ?

The movies may contains censorable scenes like smoking, heavy drinking, riding without a helmet, driving without the seatbelt, etc. It is the responsibility of the editors to check the whole video to identify such contents. This process consumes a large amount of time. We introduce an automated statutory warning generator that will add exact statutory labels to the scene. This is more helpful for movie editors.



## Demo Link
https://drive.google.com/open?id=1sf1FDhFkoBceAA7SenRlr8AomZ_f_8l4

## Link to Code

{% github https://github.com/AkhilGKrishnan/CensorLabel %}

## How I built it 
In this project we used two deeplearning model, first is ResNet model for Human Activity Recognition and the second is YoloV3 model for object detection. And we used openCV dnn module for detection. We created an desktop application for users to add videos. The desktop application is built using python EEL.

## Result
We got a better result in accurac. We got 85% of mAP , so we can say that this system will perfect detect the censorable contents in movies and add corresponding statutory warning to that scenes.

Thanks and everyone stay healthy and safe. 


[Final Note]: # (CONGRATULATIONS!!! You are amazing!)