teleren/devto huggingface dataset:
Making apps during quarantine!
Tags: node, api, express, coronavirus
Published: 2020-03-26 05:05:02

## Boring, huh?
Quarantine, a different perspective of "staying home as usual", only it's unusual and you can't go out if you get bored. Bad, huh? Eventually it makes you bored - that much that I created a COVID-19 tracker.
But how does it work? I mean, what's the difference of it from many others crappy trackers? Well this one is developed by two people & it contains time charts :) (https://covid-19-system.herokuapp.com/developers)

## What is this tracker all about?
I mean, now you compare two time periods (e.g.: December & March)
Kinda useless? Maybe, but social media like using phrases like "COVID-19 infection rate has raised, 5% more than it was in February" and things like that. Who knows, maybe journalists will use that thing. The funny part is that the API wasn't even created by us, yeah - you heard right!
Basically, we will be utilizing a second API soon which is also not ours!
That's open-source for you, beginners! (yes, especially contributing is amazing). Back to our topic, we won't even implemented a custom API, although I may also do this later. Anyways, we will be adding more charts, country search, better mobile responsibility & much more.

Now, let's see how that thing works behind the hood...

## Exploring the project
So, if you `git clone` the site repository you will basically download the repository. Let's start exploring it - open the **src** folder to get started. See? There are many files; some are for Pug, other are for browser JS, there is also one CSS, nevertheless there are many things on that repo.

## But how do they talk?
Well, if you type `npm start`, a node express server will start. Express is responsible for the routes & some minor things inside the repo.

Then comes Pug, a HTML pre-processor, something like a library that replaces placeholders inside HTML, with real content!

Next coming up is the public directory which contains CSS files and JavaScript that runs in browser (not related to Node, it's linked by Pug),
this fetches information, from an API that you can find on the GitHub project repository as soon as this article ends. [1]

This was a brief documentation, I am not gonna dive deeper; you will be able to do that yourself when the major release will be ready!

Let's not forget to mention the developers;
* Me, (Edward, also the writer of this post)
* Lean, (Tasos, a cool dude who has developed from Discord bots to an Arduino-to-Discord webhook system)

## Some important links

[1]. https://github.com/pasenidis/covid19-stats
[2]. https://github.com/pasenidis
[3]. https://github.com/TasosY2K
ed25519 と x25519 で公開鍵と秘密鍵を作る
Tags: erlang, crypto
Published: 2020-03-26 09:07:20

OTP-22.3-rc2 で ed25519 に対応しました。

```erlang
Erlang/OTP 23 [erts-11.0] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [sharing-preserving]

Eshell V11.0  (abort with ^G)
1> crypto:generate_key(eddsa, ed25519).
{<<125,35,162,182,22,21,162,141,50,135,15,227,58,228,192,
   29,126,65,238,25,99,54,18,220,253,153,209,222,...>>,
 <<162,78,62,125,24,238,130,139,208,62,159,201,51,207,143,
   240,70,226,152,30,39,89,65,172,131,198,164,...>>}
2> crypto:generate_key(ecdh, x25519).
{<<240,91,161,68,198,253,253,158,164,169,36,43,229,150,53,
   196,178,35,147,54,62,156,121,213,54,156,135,231,...>>,
 <<0,171,160,172,83,207,11,26,217,171,220,241,161,245,193,
   171,32,209,157,20,7,88,248,186,231,5,219,...>>}
```

戻り値は {公開鍵, 秘密鍵} です。生成される証明書両方で compute_key は実行できるので、どちらで作っても大差ないです。
IT Outsourcing 2020 Overview & Trends
Tags: devlive, todayilearned, todayisearched
Published: 2020-03-26 11:03:29

In today's world of ever-changing requirements, fleeting markets and the incredibly fast pace of life, everybody naturally wants to optimize everything. In the present conditions, companies who want to be innovative are methodically searching for ways how to optimize costs, human hours, and operations. A lot of them choose IT outsourcing services as they provide operational flexibility, generous cost savings and access to specific skills. Remote IT outsourcing has changed the way businesses operate today.

Today the fundamental shift in outsourcing of IT has been made from low-risk functions towards business activities and strategic directions, such as idea generation. IT outsourcing providers are expected to deliver not only solutions to present problems but to help companies differentiate themselves in the world market, create new opportunities, and obtain competitive opportunities.

Companies expect IT outsourcing to ensure:
-High-quality solutions
-Cost efficiency
-Excellent performance
-Cutting-edge technologies
-Customer-centricity
-Strong partnerships
-Multitalented pool
-Affordable resources
-Overhead reduction

Over time organizations grow naturally and stand more complex. For companies who want to survive the automation-first approach is becoming a strategic peremptory. The evolution of AI will remain exponential, the synthetical intuition is the way to go, and the leaders should leverage the expertise of IT outsourcing companies for the development of a digital transformation strategy

Let’s dive into the most anticipated trends in IT outsourcing for the 2020:
IT Outsourcing
Robotic Process Automation (RPA)
Artificial Intelligence (AI) and Machine Learning (ML) provide a practical and real opportunity to automate processes and delegate them to machines. The combination of these technologies has progressed into Robotic Process Automation (RPA), which is an innovative form of business process automation technology.
Read More: https://www.romexsoft.com/blog/it-outsourcing-trends/
Onworks, how to run Ubuntu online
Tags: linux
Published: 2020-04-02 10:40:44

Continues from my last post:

------


Onworks.net is a free Linux emulation site, it allows you to use distros like Ubuntu for free with root access and internet connection.

But how do we use it?

1. Go to https://onworks.net
2. Find Ubuntu 19 and click 'run online'
3. A new tab will open, please wait until a piece of red text shows reading something like 'OS ubuntu-19.10-desktop-amd64'
4. Click 'start'

You repeat the steps for any distro on its site, FYI the root/user password is 123456 (says in banner on startup)

You can now use this to install many things, but to be honest- I would use fedora workstation

-----
Neural Network Basics: Gradient Descent
Tags: machinelearning, learninpublic
Published: 2020-04-07 12:44:30

In the [previous post](https://dev.to/_akshaym/neural-network-basics-training-a-neural-network-47gl), we discussed what a loss function is for a neural network and how it helps us to train the network in order to produce better, more accurate results. In this post, we will see how we can use gradient descent to optimize the loss function of a neural network.

## Gradient Descent

Gradient Descent is an iterative algorithm to find the minimum of a differentiable function. It uses the slope of a function to find the direction of descent and then takes a small step towards the descent direction in each iteration. This process continues until it reaches the minimum value of the function.

![Gradient Descent](https://dev-to-uploads.s3.amazonaws.com/i/jmzj24jwurnsg5uuy873.png)

Let's say we want to optimize a function J(W) with respect to the parameter W. We can summarize the working of the Gradient Descent algorithm as follows:

1. Start at any random point on the function.
2. Calculate the slope of the function at that point.
3. Take a small step in the direction opposite to the slope of the function.
4. Repeat until it reaches the minimum value.

The algorithm works in the same way for any N-dimensional differentiable function. The example above shows a 2D plot because it is easier for us to visualize.

For our neural network, we need to optimize the value of our loss function J(W), with respect to the weights(W) in the used in the network. We can write the algorithm as:

**Algorithm**

![Summary](https://dev-to-uploads.s3.amazonaws.com/i/np62rev0ganz1s1t6jba.png)


## Learning Rate

The parameter <span><img style="width: 18px" src="https://math.now.sh?from=%5Calpha" /></span> is known as the learning rate. It is the rate at which we descend the slope of the function.

- A small learning rate means that the algorithm will take small steps in each iteration and will take a long time to converge.
- A very large learning rate can cause the algorithm to overshoot the point of minimum value and then overshoot again in the opposite direction, which can eventually cause it to diverge.

To find an optimum learning rate, it is a good idea to start with something small, and slowly increase the learning rate if it takes a long time to converge.

## Conclusion

To summarize the basics of a neural network:

![Summary](https://dev-to-uploads.s3.amazonaws.com/i/e3kf2cztgngul5g4zoi8.png)

1. Perceptron is the basic building block of a neural network. It multiplies an input with a weight and applies a non-linearity to the product.
2. Perceptrons connect together to form a layer of a neural network. There are multiple set of weights between different layers.
3. To train the network we choose a loss function and then optimize the loss functions with respect to the weights W using gradient descent.

This concludes this series on the basics of neural networks. I would love to hear your views and feedback. Feel free to hit me up on [Twitter](https://twitter.com/_akshaym).
Announcing GraphQL Fireside Chats: A Special Series of Online Events
Tags: graphql
Published: 2020-04-16 04:44:11

---
title: Announcing GraphQL Fireside Chats: A Special Series of Online Events
published: true
date: 2020-04-07 12:11:05 UTC
tags: #graphQL
canonical_url: https://hasura.io/blog/graphql-fireside-chats/
---

![](https://hasura.io/blog/content/images/2020/04/lasma-artmane-gd88udnwc2Q-unsplash.jpg)<figcaption>Photo by <a href="https://unsplash.com/@lasmaa?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Lāsma Artmane</a> on <a href="https://unsplash.com/s/photos/bonfire?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption>

We are thrilled to be partnering with [This Dot](http://thisdot.co) for a special series of GraphQL online events!

Starting on April 14th, we will be co-hosting weekly “GraphQL Fireside Chats”, where each week we’ll focus on a different GraphQL related topic. Join the panel of special guests for a roundtable discussion and lively Q&A!

The purpose of these events is for the GraphQL community to come together and discuss some key topics in the GraphQL ecosystem and facilitate cross collaboration amongst the community. We are thrilled to be able to connect with fellow GraphQL enthusiasts!

Check out the various topics we’ll be discussing below:

- **[April 14, 2020](https://www.graphql-meetup.com/#/2020-04-14T12:00-04:00)**: Platform and data centric use cases with GraphQL with special guests, **[Sasha Solomon](https://twitter.com/sachee)**, **[Eve Porcello](https://twitter.com/eveporcello)**, and **[Alex Banks](https://twitter.com/moontahoe)**.
- **[April 21, 2020](https://www.graphql-meetup.com/#/2020-04-21T12:00-04:00)**: Performance and monitoring tips/tricks/caveats with GraphQL with special guests, **[Mark Stuart](https://twitter.com/mark_stuart)** and **[Jon Wong](https://twitter.com/jnwng)**.
- **[April 28, 2020](https://www.graphql-meetup.com/#/2020-04-28T12:00-04:00)**: Authorization and security patterns for GraphQL with special guest, **[German Frigerio](https://twitter.com/gagoar)**.
- **[May 12, 2020](https://www.graphql-meetup.com/#/2020-05-12T12:00-04:00)**: Event driven applications with GraphQL & serverless with special guests, **[Simona Cotin](https://twitter.com/simona_cotin)** and **[Christian Nwamba](https://twitter.com/codebeast)**.

If you would like to attend the live stream and interact with the speakers during the Q&A, sign up for each event. You'll receive a live link the day of!

Looking forward to seeing you there!

Enjoyed this article? Join us on [Discord](discord.gg/hasura) for more discussions on Hasura & GraphQL! 

Sign up for our [newsletter](http://eepurl.com/dBUfJ5) to know when we publish new articles.
Quick Security in VS Code with CodeSweep
Tags: vscode, appsec, sast, security
Published: 2020-04-07 13:01:12

_I'll start with a disclosure and mention that I'm working for the company that put out this product (HCL AppScan), but I'm writing this as Florin, the guy who write some code and has an interest in Security._ 

Tl;DR: here's a video: https://www.youtube.com/watch?v=zQvonHi4ak8
plugin here: https://hclsw.co/codesweep

In the recent years everyone's been talking more about security, cybersec, IT security, cyber, etc. If you're a developer and did not hear about any of these, I would be very surprised. 
One of the key areas companies have been focusing lately is application security. The area of security that focuses on securing applications and making sure they can't be exploited to hurt the company, the customers or its partners. You've seen this happening a bunch of times to various companies. Just a quick Google search could produce a very interesting list for you. There's various types of vulnerabilities that could be exploited to produce harm. I'll classify them in 2 main categories: proprietary code (your code) and 3rd party code (libraries). 

The purpose of HCL AppScan CodeSweep is to help you find potential vulnerabilities in your code as you introduce them. They range from Cross Scripting, SQL Injection, hardcoded credentials, OS Injections to old encryption algorithms, and so on. Created as a VS Code plugin the tool will review your files upon saving them. If there's something potentially dangerous we'll flag it. This will give you two options: Fix it or ignore it. It's up to you what risk you're willing to take, but try to understand the issue before jumping to the conclusion it's not a problem. :) 

If you have any questions feel free to join the community. 

Without adding more words to something that shouldn't take more than 140 characters, you can get the plugin here: https://hclsw.co/codesweep

And you can join our community here: https://hclsw.co/CodeSweepCommunityInvite
WEB APP REACTJS POKEMON API
Published: 2020-04-07 14:13:46

https://lnkd.in/e9mg7jA

Fala, galera, beleza?

Um belo dia me deparei com uma API com todos os dados sobre pokemons (https://pokeapi.co/) e na mesma hora tive uma super nostalgia! Quando criança sempre acompanhei e pensei em criar algo sobre pokemon. 

Pois bem, chegou a hora! Criei este projeto com objetivo de testar e praticar meus conhecimentos em javascript es6 com reactjs e json-server e espero que gostem do resultado!

Segue o link dos projetos desenvolvidos e que são open source:
front-end: https://lnkd.in/e86vtVu
back-end: https://lnkd.in/eHMrq8y

Me adiciona no linkedin! https://www.linkedin.com/in/raphael-de-falco-ayres-6b053826/

Deixe o seu LIKE e compartilhe! 

Comentem com sugestões para que eu possa melhorar e também deem sugestões de novos vídeos! Vlw Abraço!
StartNames - www.startnames.co
Tags: showdev, sideprojects
Published: 2020-04-07 14:17:59

Like everybody else amidst this crisis, I have found myself stuck at home without much to do. This sudden free time has lead me back to my one passion — building awesome products.

Too often I struggle to come up with exactly what to build... My favorite technique to overcome this is to start with the name. So I built a product around this idea.

I'm super excited to announce my first product on Product Hunt, StartNames! I'd love to hear your feedback and hope StartNames can inspire your next project 😄 HTTP://startnames.co
Spoiler: 5-star reviews are a good start, right? 
Tags: testing
Published: 2020-04-07 14:21:01

Who does not want to learn more about the team he is going to work with? Especially when your product quality is at stake.
If you'd like to know the HireTester team better, follow the link to check out what clients say about us on Clutch: https://clutch.co/profile/hire-tester
Asteroid App: Phase Three
Tags: twiliohackathon, javascript, node
Published: 2020-04-14 11:57:25

For the Twilio Hackathon, I'm doing an automated WhatsApp account to which you can ask information about the closest asteroid to Earth at a particular date.

## Today's Work

Today was the hardest day of work so far. Not because anything was particularly challenging in itself, but because all I did was very unfamiliar terrain for me. I deployed the asteroid app on Heroku, I configured the end point to properly interpret and respond to Twilio's request and set that as the end point for incoming messages on Twilio.

I'm not going to bore you with the details of all that. Big thanks to @avalander for helping me deploy the app on Heroku, though. It is nice that now I just need to push changes to the repository and they get automatically deployed.

The API's endpoint wasn't all that hard to configure, but I had to read through a lot of documentation to get there. It also didn't help that I was parsing a JSON instead of stringifying it and that caused it to throw an error.

I didn't get to tidying up the code. But oh well, that'll be another day's trouble.

## Next Steps

Now I finally have a bare bones app. It is extremely simple, but it is completely functional. Next on my list is:

- Tidy up the code a bit (this time for real).
- Create a fallback URL for error handling.
- Allow for some level of customisation when sending a request for asteroid data.
Comando para rodar todos os testes instrumentais do app Android
Tags: gradle, android, androidstudio, commands
Published: 2020-04-07 19:01:04


Segue abaixo o comando e mais detalhes verificar a [documentação](https://developer.android.com/studio/test/command-line). Um ponto importante é que o `Debug` e o nome da build variant.
```
./gradlew connectedDebugAndroidTest mergeAndroidReports --continue
````
OpenNMS Meridian 2018.1.17 (Pandemic) Released
Tags: news, circleci, confd, drools
Published: 2020-04-20 21:07:20

---
title: OpenNMS Meridian 2018.1.17 (Pandemic) Released
published: true
date: 2020-04-07 19:20:10 UTC
tags: News,circleci,confd,drools
canonical_url: https://www.opennms.com/en/blog/2020-04-07-opennms-meridian-2018-1-17-pandemic-released/
cover_image: https://i.imgur.com/74fmzvG.png
---

Release 2018.1.17 is a small update to 2018.1.16 that fixes another security issue that affects most current OpenNMS releases. Hat tip to Johannes Moritz for reporting this.

The codename for 2018.1.17 is _Pandemic_.

##### Bug

- Security issue disclosures, 31 Jan 2020 (Issue [NMS-12513](http://issues.opennms.org/browse/NMS-12513))
- Drools working memory facts are not restored properly on engine reload (Issue [NMS-12586](http://issues.opennms.org/browse/NMS-12586))
- Confd download fails silently on Docker install (Issue [NMS-12642](http://issues.opennms.org/browse/NMS-12642))

##### Story

- Backport CircleCI pipeline to foundation-2018 (Issue [NMS-12476](http://issues.opennms.org/browse/NMS-12476))
Daily Developer Jokes - Thursday, Apr 9, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-04-09 12:00:00

---
title: "Daily Developer Jokes - Thursday, Apr 9, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Thursday%2C%20Apr%209%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1259b6d7a73.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ Did you hear about the programmer that was scared of IDEs?

___A:___ They retreated back into their shell
 -->
🐋 Docker Cheat Sheet [PDF + Infographic]
Tags: docker, devops, beginners, inthirtyseconds
Published: 2020-04-09 15:27:20

**Docker** is a fantastic tool designed to make it easier to create, deploy, and run applications by using containers.

Here's a cheat-sheet to help you remember common docker commands.

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

📁 [Download](https://github.com/godcrampy/cheat-sheets/blob/master/docker/docker-cheatsheet.pdf) the pdf version of this cheatsheet
🌟 All my cheat-sheets are in this [repo](https://github.com/godcrampy/cheat-sheets/) (Star it!)
🚀 Find me on [Instagram](https://www.instagram.com/godcrampy/) | [Github](github.com/godcrampy) | [Twitter](twitter.com/godcrampy) | [Website](sahil.surge.sh)
😄 Have a wonderful day!
What are your thoughts on GitLab vs Github?
Published: 2020-04-09 15:44:54

Hey guys, I'm creating a brand new 2020 edition article on the topic - "GitLab vs Github"

And I'm looking for your expert opinions on the topic.

If you can these questions it would be great:

Github or Gitlab?

What is the one feature that you really love about the platform you are using?

Why do you use your current platform instead of the other?

Also, feel free to send me your twitter account so that I can feature you in my article!

Thanks!
Career Advice: PHP vs Python vs JS?
Tags: discuss, php, javascript, python
Published: 2020-04-13 14:39:44

I am a Laravel/Vue full stack developer with 2+ years of experience. While searching for new job, I observed that big companies or small but exciting companies tend to use technologies like React, Python, C# etc. And that sort of demotivated me as I am only efficient in Laravel with bit of experience in Vue.

Should I learn and focus on these technologies? (I love working with Laravel but I want to work for company which has exciting product to work on or bigger companies (everyone fancies working for BIG companies I guess)

If yes,
then I am confused between Python or JS (React mostly as vue is not being used much by bigger companies)

Also, I have experience with only web development which I love but don't know about other development.
My Dilemma comes down to my wish for working for great and exciting company for long term rather than jumping from one startup to another
Conceito de Mock
Tags: testing
Published: 2020-04-13 14:47:11

Olá, esse é meu primeiro post no dev.to.

Vou começar a minha jornada para ajudar a comunidade colocando um pouco do que estou aprendendo durante o meu dia a dia, com isso espero ajudar alguém. :)

Bom vamos lá...

Mock serve para substituir o retorno de uma função muito demorada com algum retorno esperado.

Veja esse exemplo:
    
 ```
   //Instaciando o Mock
   
    var userMock = new User() {
    	id = 123;
    	name = "John Doe"
    }
    
    public User GetById(string id) {
    	// Ir até o banco de dados e buscar o usuário de acordo com aquele ID
    	return user;
    }
    
    //Exemplo para retornar o userMock da função GetById
    _mock.Setup(x => x.GetById(It.IsAny<string>())).Returns(userMock);
```

Nesse caso eu estou falando que para a função GetById o retorno dela vai ser userMock, com isso diminuímos o tempo dos testes, pois eles não precisam ir para o banco de dados e buscar a informação.

Uma característica interessante do Mock é que eu sempre assumo que o retorno da função está sempre certo, não queremos testar o retorno da função que pega do banco de dados, seria alguma outra função que necessita desses dados.

Bom por hoje é isso...

Gostaria do feedback de vocês, espero que gostem.