teleren/devto huggingface dataset:
Introducing Faasly.io
Tags: serverless, opensource, startup
Published: 2020-10-29 17:21:16

The Serverless ecosystem is a nascent one. So nascent that the CNCF landscape for [serverless](https://s.cncf.io) will show you hardly 50 products listed and not even half of them are open-source.

In comparison, just the 'observability' category under the cloud-native CNCF landscape has more projects available than the entire serverless ecosystem.

[Faasly.io](https://faasly.io) is the only open-source serverless observability product.

To make it easy for businesses worldwide to migrate from EC2 or on-prem servers, we offer serverless deployment library and cost optimization solutions as a value add.

From conveniently migrating to serverless applications, to monitoring the production performance, and optimizing the serverless bills helping save up to 80% on infrastructure costs - Faasly has got you covered all the way.

Our version one will have support for AWS Lambda with every new version adding support for more serverless technologies.

Currently, we are in the final stages of development and launching our closed beta by mid-November. If you're interested to be an early adopter, kindly write to us at hello [at] faasly [dot] io and we will provide you super early product access.
Fedora 33 - Docker
Tags: fedora33, docker
Published: 2020-10-29 17:03:27

# Docker and Fedora 33

With the release of Fedora 33, Docker is not supported by Fedora 33 officially.
This article will help you install Docker on Fedora 33.

## Remove old version

```bash
sudo dnf remove docker-*
sudo dnf config-manager --disable docker-*
```

## Enable old CGroups

Docker still not support [CgroupsV2](https://fedoraproject.org/wiki/Changes/CGroupsV2).

```bash
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
```

## Set up firewall

```bash
sudo firewall-cmd --permanent --zone=trusted --add-interface=docker0
sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-masquerade
```

## Install Moby

Moby is the open-source version of Docker.

```bash
sudo dnf install moby-engine docker-compose
sudo systemctl enable docker
```

restart `sudo reboot`

## Test

```bash
sudo docker run hello-world
```

## Runing without `sudo`

```bash
sudo groupadd docker
sudo usermod -aG docker $USER
//reboot to take effect
```
Vulnerability Vs Exploitability - Leveraging Exploitability for Vulnerability Management
Tags: kubernetes, devops, security, docker
Published: 2020-10-29 17:02:21

Thousands of vulnerabilities are disclosed every month and developers get overwhelmed while managing so many vulnerabilities in their cloud infrastructure. Read our blog post on how Deepfence ThreatMapper helps developers and security analysts to prioritize and mitigate their most exploitable vulnerabilities in an efficient manner.

https://medium.com/deepfence-cloud-native-security/exploitability-vs-vulnerability-leveraging-exploitability-for-vulnerability-management-2c27b46eebf2
Daily Challenge #300 - Username / Password Comparison
Tags: challenge
Published: 2020-10-29 17:00:25

---
title: Daily Challenge #300 - Username / Password Comparison
published: true
series: Daily Challenge
description: You want to discourage users from using their username as part of their password. Follow this rule and validate the inputs. 
tags: challenge
//cover_image: https://direct_url_to_image.jpg
---

You are writing a password validator for a website. You want to discourage users from using their username as part of their password, or vice-versa, because it is insecure. Since its unreasonable to not allow them to have any letters in common, you come up with this rule:

For any password and username pair, the length of the longest common substring should be less than half the length of the shortest of the two.

In other words, you won't allow users to have half their password repeated in their username, or half their username repeated in their password.

Write a function `validate(username, password)` which returns true if your rule is followed, false otherwise.

Assume both the username and the password may contain uppercase letters, lowercase letters, numbers, spaces, and the following special/punctation characters: !@#$%^&*()_+{}:"<>?[];',. The username and password will each be less than 100 characters.

###Examples
validate("newyorkcity", "yankees101"), TRUE
validate("username", "usernamePW"), FALSE

###Tests
validate("Paa2", "Paaaaaa222!!!")
validate("wordpass", "password")
validate("superman", "persuzod")

***
_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
Pragma: A Language for Building GraphQL APIs In No Time
Tags: graphql, showdev, javascript, python
Published: 2020-10-29 16:53:22

We're very excited to announce the first release of Pragma: An [open-source](https://github.com/pragmalang/pragma) domain-specific language for building GraphQL APIs by defining data models, and their associated validation/transformation, and authorization logic. Pragma takes your data model definitions, and automatically generates a fully functioning GraphQL API that you can use right away.

# Motivation
Building a GraphQL API isn't a simple task. Writing a small API to create, read, update, and delete data in a database can take many hours, and lots of knowledge of the GraphQL framework and the language you're using.

Pragma aims to simplify this process by being incredibly easy to lean, fast to work in, trivial to set up, and very easy to maintain.

# What Does Pragma Offer?
Pragma offers a way to very quickly build incredibly powerful, and extensible APIs. It supports use of serverless functions written in many languages for data validation and transformation, and also in user authorization, which is built into the language. These languages include JavaScript, Python, Go, Swift, Rust, Ruby, PHP, Java, Scala, and Ballerina.

# How Can I Use It?
You can visit the [documentation](https://docs.pragmalang.com) and read the Getting Started section to install Pragma, and follow a tutorial where you get to build a basic Todo application.

# How Can I Contribute?
You can help by opening GitHub issues for any bugs you come across, or opening a pull request to improve documentation. You can read the [contributing](https://github.com/pragmalang/pragma#contributing) section in the README to learn how to start hacking on Pragma itself. Any help is greatly appreciated.

# How Do I Stay In Touch?
You can follow Pragma on Twitter [@pragmalang](https://twitter.com/pragmalang), and here on DEV. You can also join our [Discord server](https://discord.gg/hAS9FzY) for a chat. We'd love to talk to you guys and learn from your experiences.

We truly wish you enjoy the development experience we're creating as much as we enjoy working on it! Happy hacking everyone!
Experiment and prototype outside of your MVP
Tags: aws, startup, beginners
Published: 2020-10-29 16:48:44


{% youtube vM3ZBlpPaZ4 %}

You will have many questions when building a startup, a prototype is I think the best way to answer them. Experimenting and trying new things as often as possible is an awesome habit. And that's faster and easier outside of your MVP.

Your product and it doesn't matter if its a beta or v2.58.2 is what your customer use, and they use it because it solves and important problem for them. It needs to work. 

So prototype outside of your main product, it's easier to experiment, will fail faster, and have loads of fun trying new things.

[Subscribe](https://www.youtube.com/c/RobDeFeo?sub_confirmation=1) to the channel for the latest videos.
MY Hacktoberfest Experience
Tags: hacktoberfest, php, laravel, dev
Published: 2020-10-29 16:44:07

Hi Everyone! I'm a 2nd year student of Software Engineering, my name is Kirellos, for about a year i was struggling on how to get started with open source contributions, all i was doing is searching searching and more searching but could not find a right project, this hacktoberfest thingy helped me in making my first contribution as many beginners friendly projects came out in which i could contribute with my little experience. And Excatly i Realy Benefit From Event Too Much Knowledge and Experince

Background
I got know about this event organized by @DigitalOcean around 11th of October, i was not very positive for the event but registered myself anyway.

Progress
i am not a hardcore coder but i know banck-end quite well so i contributed in various front end projects, or minor php code patches.
and i have finally completed this years challenge, next time i will try to contribute in some major projects too

Reflections
this was my first time participating in this event and it helped me a lot, i would definitely love to do it again.
Software testing for Fintech. Part 2
Tags: testing
Published: 2020-10-29 16:43:25

Developing a Fintech solution, why should you connect software testing?

Can an engineering team run their own testing before moving the product to production or shipping new features? Sure it can. Will this check be unbiased and done with the necessary dose of professionalism? And what if there is a need to set up QA processes from scratch?

As the practice shows, there is always room for improvement after such checks. A fresh look taken at the solution allows uncovering hidden traps and pitfalls that may stand you high if released to the end-users.

That’s why QA done by specialists not only addresses the most critical facets like reliability, performance, compatibility, and security but also inspires confidence in the overall robustness of the product you are working on.

Introduced at the early stages of the software development lifecycle or even in a tandem with a DevOps, QA of a Fintech app entails numerous benefits, like:
- Well organized, powerful product development lifecycle.
- Enhanced user experience.
- All-inclusive test coverage.
- Quick time to market.
- Integral workflow.
- Improved issues traceability.
Want to learn more? Follow the updates or reach us out at info@hire-tester.com

http://hire-tester.com
¿Qué sería ahora lo más importante?
Tags: xaviermitjavila
Published: 2020-10-29 16:42:54

---
title: ¿Qué sería ahora lo más importante?
published: True
description: Con el confinamiento perimetral de la Comunidad de Madrid por un lado, las medidas adicionales tomadas por la Generalitat por el otro, sin saber dónde estaremos dentro de quince días y con medio país parado, me he preguntado qué es lo más importante para una empresa ahora.
tags: xaviermitjavila
cover_image: https://secureservercdn.net/160.153.138.53/24n.cd0.myftpupload.com/wp-content/uploads/2020/10/articulo_Xavier_Mitjavila_Moix_que_seria_ahora_lo_mas_importante_victor_kuppers.jpg
---
«Lo más importante en la vida es que lo más importante sea lo más importante»

La frase la soltó al principio de una charla el gran conferenciante Victor Küppers. "No está mal" pensé al escucharla. Que lo más importante sea siempre lo más importante... ¡Muy buena! Una frase simple y directa, aparentemente sin demasiadas complicaciones. Sólo tenía que escoger qué era lo más importante en mi vida y hacer que lo que era importante fuera siempre lo más importante. Tardé días en identificarlo y semanas o quizás incluso meses en poner en práctica el consejo de Küppers. Reconozco que hoy, años después, sigo esforzándome "trabajando" en esta frase. ¡Y funciona!

Pues bien, esta semana con el confinamiento perimetral de la Comunidad de Madrid por un lado, las medidas adicionales tomadas por la Generalitat para hacer frente al Covid19 por el otro, sin saber dónde estaremos dentro de quince días y con medio país parado, me he preguntado qué es lo más importante para una empresa ahora. ¿Quizás sus clientes sin los cuales no generaría ventas?, ¿Sus patentes y marcas, para competir bien en el mercado?, ¿O bien sus activos industriales sin los cuales no podrían producir? O bien ... ¡Hay tantas cosas importantes en una empresa!

Y si fuera verdad, como nos decían en la Universidad, que el activo más importante de las empresas son sus personas? Y si así fuera, ¿por qué todo el mundo empieza ya a hablar de despidos colectivos después de los ERTE? Si queremos garantizar un buen futuro, quizás ahora nos toca proteger el talento.
Software testing for Fintech. Part 1
Tags: testing
Published: 2020-10-29 16:42:36

How many banking or payment apps do you have on your smartphone? Following the Fintech Report 2020 by Statista (https://lnkd.in/e7nAf5X), the sector has considerably extended its boundaries this year.

To deliver top-notch solutions and successfully join the growing Fintech movement, companies should masterfully maneuver between the most common challenges arising during the Fintech web or mobile application development:
=> Smooth, simultaneous transactions and real-time processing.
=> Multi-tier functionalities, large-scale storage systems, integrations, transactions and storage systems.
=> Data confidentiality and personal data protection.
=> Quick and efficient troubleshooting.
=> Robustness against security threats and breaches.
=> Compliance with regulatory issues for financial transactions.

The best option is to maintain thorough quality assurance during the software development, before the release, and after important functionality updates.

To employ skilled QA specialists or to partner up with a software testing company that already has experience in testing Fintech apps, the choice is yours. Where will you start?

http://hire-tester.com
Automating testing processes with HireTester
Tags: testing
Published: 2020-10-29 16:39:08

Automating testing processes with HireTester

Automation Testing is the process of software verification, when the main functions and test steps, such as start, initialization, execution, analysis, and report on results, are performed automatically with the help of test automation tools.

Automation Testing Procedure at HireTester:

=> Study
We analyze specifications and other project docs, check the application, and select test tools and technologies. 

=> Requirements analysis
Manually test the application, develop test cases, and test scenarios. We can work with the ready-made test cases and scenarios supplied by you or create them ourselves.

=> Receiving approval
Discuss test cases and test scenarios with you, get your approval.

=> Scripts mining 
Start to develop scripts based on test cases.

=> Automation testing 
Run tests and report on the results. 

We're always ready to run the extra mile. Along with detailed bug reports, we can also share our feedback on overall solution usability, soft spots, and possible improvements. 

Get in touch, and we'll discuss the details.
Contributing: Samson Goddy on Sugar Labs
Published: 2020-10-29 16:38:16

> Leading up to (and during) the month of October, we want to help you discover open source projects to work on, and put your Hacktoberfest contributions to excellent use. Meet [Samson Goddy](https://twitter.com/samson_goddy), co-founder of [Open Source Community Africa](https://github.com/oscafrica), and one of the maintainers for the [Sugar Labs project](https://github.com/sugarlabs/).   
> ######*Check out [this page](https://www.contributing.today/) regularly for more interviews with contributors & maintainers*######

OSCA is a project I started with a friend and a couple of other people to encourage folks to contribute to open source. Sugar Labs is a software project that helps kids to learn how to code, a mathematics and science learning environment, on Linux.  

**What can you tell us about your project?**
Sugar Labs is a huge project, it started from a popular project called One Laptop per Child. The idea was to give developing countries a way to use computers in a more creative way in classrooms. It targets from 8 years old up to 18 years old. I got a computer when I was 8, so I grew up in the ecosystem, and then became a core maintainer for the project. We still believe in the vision of enabling kids that love science and technology to have an an environment that encourages their creativity - one good example is [musicblocks](https://github.com/sugarlabs/musicblocks), teaching the concepts of both music and programming at the same time. You can think of Sugar Labs as a sort of an App Store, a collection of activities. 

**What contributions are you welcoming?**
We're looking for any type of contribution! The project is 100% open and free. We're particularly looking for people with knowledge of Python and JavaScript - the Sugar Labs ecosystem is divided into 2 parts, the web part is written in JavaScript, the desktop side of things heavily depends on Python. Specifically things like PyGtk, which is the Gnome Toolkit. We also have some PHP on our App Store.

If you can code, if you can code, do technical writing, we very much welcome your contributions! 

**How do folks get started?**
I'd highly recommend you to go to [our Docs](Getting started: https://github.com/sugarlabs/sugar-docs) for more information about the project, on what to contribute to and how, and when you can't find the answer you're looking for there's also a way to contact the community. We look forward to your contributions!

*Check [contributing.today](https://www.contributing.today/) regularly for more interviews with contributors & maintainers, as well as online events to help you get involved in open source.*
What tools you'd use for automated API testing? 
Tags: testing
Published: 2020-10-29 16:36:59

Last week, we had a survey on our LinkedIn pages as for what tools to use for automated API testing.

API automation tests are important components of successful testing. Thus, having the right tools is critical for an efficient QA process. Asking the question of what tools you'd use for automated API testing, we've got such results:
- Most of the participants voted for Postman. 
- 28% voted REST Assured. 
- Only 6% selected Katalon Studio. 
- ReadyAPI, JMeter, Karate DSL, and Python Requests Module were named in comments.
Coffee Corner // Sinatra Application
Tags: flatiron, ruby, restful, crud
Published: 2020-10-29 16:31:34

Phew, okay.  So.  This months blog is reflecting over the process of creating, FROM SCRATCH, a working application that has CRUD actions (Create, Read, Update, Delte), and has RESTful Routes. 

___________________________________________________________________

`Day 1` - Monday, October, 26, 2020
This day was all about planning.  I set up my project with the appropriate files, folders, and bundled all of the gems required in order to provide the correct functionality to my application.  This day, wasn't TOO stressful.  Luckily, there was a Flatiron alumni that decided to bundle their own gem that helped us set up a big chunk of what we needed to complete this project by use of the `corneal gem`.

___________________________________________________________________

`Day 2` - Tuesday, October 27, 2020

This was one of the days that was close to being the hardest.  From here, I was able to give my models some associations through use of ActiveRecord and allowing these models to have those relationships to each other.  Then I began planning out what I wanted my application to do specifically and how I would achieve that.  With a little of basic formatting thrown in to start me off with a feel good 'I can do this' vibe. 

___________________________________________________________________

`Day 3` - Wednesday, October 28, 2020

By far, Wednesday was the most difficult day to get through, but as Nancy says, "Sometimes you just have to press the 'I believe' button, and keep asking questions, go to study group, and keep trying."  So that's exactly what I did, and hey, I added some buttons to my application, connected them to the appropriate routes, and had some views rendered.  Wasn't COMPLETELY horrible, just fear of the unknown and needed a little self-esteem boost...from self.  (HA, made a cheesy ruby joke.) 

___________________________________________________________________

`Day 4` - Thursday, October 29, 2020

This day was definitely feeling a little more accomplished.  This day is when I started doing a little polishing, adding the appropriate validations, and 'if' statements for some added security against those "dirty hackers" who would want to steal my users information.

___________________________________________________________________

`Day 5` - Friday, October 30, 2020
Also known as "All Hallow's Eve", feeling pretty decent about how far I've come building this second project in just 4-5 days!  Of course I had some help along the way, but hey, who doesn't need help learning how to build an application from the ground up?  Today is when I can begin to submit my application and schedule my assessment.  FINGERS CROSSED!!  
__________________________________________________________________

And now, I have my handy-dandy Coffee Corner application built with the Sinatra framework, using ActiveRecord, along with CRUD actions and adhering to the 7 (magical) RESTful Routes.  Time to drink some coffee myself :)  

Cold Brew, one scoop of maple sugar, and a dash of heavy cream. 

`YUM!`
Which cloud platform do you use for deploying your projects?
Tags: discuss, cloud, deploy
Published: 2020-10-29 16:28:45

Which platform do you use for deploying your projects? Production Grade or development , large scale or small scale or anything in between!
 
Do you prefer Heroku, Netlify, AWS, GCP, digital ocean, GitHub pages or some other? Is there any specific reason why you choose that specific platform?

Thank You!
REACT SPA structure
Tags: react, javascript, pattern, material
Published: 2020-10-29 16:21:41

### The rules

These are rules I use in my apps (mostly management software)
1) use as few libraries as possible
2) the VIEW must not contain code
3) use the STORE as CONTROLLER and possibly separate them from the BUSINESS LOGIC
4) the client must also work offline (mock)
5) of course: test

### Technologies

We choose REACT.
I don't like REACT but, in my opinion, it's the best choice today.
Therefore:
- **[CRA](https://create-react-app.dev/)**:
God Facebook says: there is no need to think about it
- **use the STORE**:
on how to use them (in my opinion) I wrote [this article] (https://dev.to/priolo22/react-and-stores-with-hook-29nc)
- **[material-ui](https://material-ui.com)**:
is the most used: many "use cases" and documentation
- **[react-router-dom](https://reactrouter.com/web/guides/quick-start)**:
this is also used a lot ... you need a router!
- **[cypress](https://www.cypress.io/)**:
you don't have to go crazy to create the test environment and it's absolutely "realistic".
It works for any framework - it's worth learning
- **[i18n](https://react.i18next.com/)**:
sooner or later it serves and in any case centralized texts are a good idea
- (optional) **[mswjs](https://mswjs.io/)**:
facilitates mocks to work even offline: rule 4

### Basic implementation
on sandbox:

{% codesandbox react-template-ln4gh view=editor module=/index.js%}


#### What you will find:

**material-ui** (material components)
It is a bit cumbersome for some things, for example the management of the *Drawer*.
But it is great for many others, for example managing *styles* and *themes*.

**STORE** centralize app status [link article](https://dev.to/priolo22/react-and-stores-with-hook-29nc)
[codesandbox] (https://codesandbox.io/s/react-template-ln4gh?file=/stores/storeLayout.js)
In the example only the `storeLayout` is defined.
It keeps, for example, the status of the Drawer, side menu and the title of the ToolBar

**ROUTING** on the client with `react-router-dom`
[codesandbox](https://codesandbox.io/s/react-template-ln4gh?file=/components/Main.jsx)
Intuitive and use hooks.
I personally find the documentation a bit confusing.


#### What you will not find:

- centralized component focus management in the STORE
- dynamic change of the interface theme
- handling of rendering errors (Error Boundaries)
- mock (mswjs)
- message box (you can't do without it!)
- component validation (mandatory fields, password confirmation, etc etc ...)
- route change validation (Preventing Transitions)
- internationalization (i18n)
- cypress test
- separation of BUSINESS LOGIC from STORE

> Which will be the next topics.
> The idea is to grow this DEMO in order to create a complete APP

*(Forgive my bad English)*