teleren/devto huggingface dataset:
Feature Release: Field Rules | Busywork
Tags: nocode, lowcode, webdev
Published: 2020-03-26 09:33:05

---
title: Feature Release: Field Rules | Busywork
published: true
date: 2020-03-26 09:23:40 UTC
tags: nocode,lowcode,webdev
canonical_url: https://medium.com/@patrickstolc/feature-release-field-rules-busywork-34984380968e
---

![](https://cdn-images-1.medium.com/max/673/0*7fgaY17Mxu_ZQWal.png)

Following the addition of roles and permissions, we’ve just released **field rules**. Field rules allow you to set up validation rules for fields in your database.

### Field Rules

The Busywork platform is database-centric, which means that many of the major feature releases lately have revolved around the database API and view. Our latest release introduces field rules. This allows you to set up validation for individual fields, visually, from within Busywork.

For starters the following rules have been implemented:

### Text Rules

- Maximum length
- Minimum length
- Equal To
- Not Equal To

### Number Rules

- Equal To
- Not Equal To
- Greater Than
- Greater Than or Equal To
- Less Than
- Less Than or Equal To

These rules are in **addition** to the schematic rules already available, such as **required** , **unique** and **data type**.

![](https://cdn-images-1.medium.com/max/600/0*hHAfQSK-sJ5o0EXb.gif)

You can add multiple rules to each field, like in the example above. This allows you to set lower and upper limits to the length of a text field, for instance.

### Examples

This example requires you to set up a new database table. The first step is to create the new table, let’s call it **Projects**. The table should contain the following fields:

In addition to specifying the type for the fields, now add a set of rules to the Lines of Code field. Specifically, add a rule that doesn't allow values **less than** 0 and **greater than**  100.000.

![](https://cdn-images-1.medium.com/max/673/0*TyE36pixtFZWRY_J.png)

Now you can test that the rules validate queries correctly. Make a POST request according to the tables API docs. Pass data that should be valid according to the rules you've set up.

```json
{
    "name": "SaaS Corp",
    "shipped": false,
    "owner": "Busywork",
    "lines of code": 1000
}
```

This results in a response similar to this:

```json
{
    "id": "5e79d3ef26d01e05bbcc0138",
    "status_code": 201,
    "status_descr": "created"
}
```

Now we can try to make the query fail by changing lines of code to a value less than 0 or greater than 100.000.

```json
{
    "name": "SaaS Corp",
    "shipped": false,
    "owner": "Busywork",
    "lines of code": 100001
}
```

This should give you the following response:

```json
{
    "status_code": 400,
    "status_descr": "lines of code must be less than or equal to 100000"
}
```

Confirming that the insert operation isn’t valid because of the lines of code value we're trying to pass.

### What’s next?

The next item on the roadmap will allow you to link storage items, such as images, videos or documents to fields in your database. This will allow you to implement user uploads and reference their files directly in your database.
Random Rubik's cube solve
Tags: rubiks, experiment, probability, random
Published: 2020-03-26 09:11:44

---
title: Random Rubik's cube solve
published: true
description: Similar to infinite monkey theorem, I've tried to solve the Rubik's cube by random rotations
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/o55d8bszttmqof7nbwl4.png
tags: Rubik's, experiment, probability, random
---

#Inspiration
I'm sure that all of you have heard about the [infinite monkey theorem](https://en.wikipedia.org/wiki/Infinite_monkey_theorem) states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare.

#Idea
In this direction I was wondering what if a monkey finds an unsolved Rubiks cube and starts rotating it for an infinite number of times, will it eventually solve it? I have the algorithm for solving the Rubik's cube, I wrote it for my last project, now I can use it in a different way, I can simulate random rotation for an infinite number of times and apply them to unsolved Rubik's cube and calculate the percentage of completion. According to the theorem, it will solve it one day, the chance of it occurring during a period of time hundreds of thousands of orders of magnitude longer than the age of the universe is extremely low (but technically not zero).

Please note that I'm not using any learning algorithm, it's just a random rotation, that's the basic idea, so the maximum completion level is increasing/decreasing all the time.

#Experiment
In order to start the experiment, I've got a solved cube and apply several random rotations in order to get a randomized cube. After randomization, it was 14.58% completed.

![StartingCubeRandomized](https://i.imgur.com/bmvodr6.png)

After one day of running, in other words, after 1,808,200,376 (~2 billion) rotations, it gets to 66.67% completion.

![MaxCompletedCubeDay1](https://i.imgur.com/rRMkI2s.png)

Here is a sample of the random rotation moves.
![RandomCubeRotationsDay1](https://i.imgur.com/w5YTdMj.png)


#Next steps
I'll keep monitoring the progress and if it gets above the current maximum completion, I will post an update.

I hope this was interesting to you and also inspire you to do some fun with your old code or project. In days of isolation brilliant ideas can come to your mind, please use them in a good way and share them with the community.
How does a premium course look like for you?(any language or technology)
Tags: discuss, courses, training
Published: 2020-03-26 08:32:43

Hi everyone,

**How does a premium course look for you(what would you define as a premium course, what should it contain to be premium)?**

Anyone is welcomed to this discussion no matter the experience.

Also, even if you are introverted your opinion may provide new ways to look at things, so don't be shy(timid) and express yourself.

Thanks in advanced for any experiences and opinions on this subject
How to install Docker in Parrot os ?
Tags: devops, docker, linux, webdev
Published: 2020-03-26 08:32:19

Following steps:-
1. INSTALL DOCKER ENGINE 
 add user to docker group for using docker command without sudo 

#!/bin/sh
 set -e
#Install Dependencies,
  sudo apt install -y curl apt-transport-https \
software-properties-common ca-certificates

2. #Install Docker :-
curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add-
echo "deb https://apt.dockerproject.org/repo/debian-stretch testing" | \ 

sudo tee /etc/apt/sources.list.d/docker-engine.list
sudo apt-get update -y
sudo apt-get install -y docker-engine

3. #Run Docker

sudo systemctl start docker
sudo systemctl enable docker

4 #Adding user to docker for using Docker without sudo command .

sudo gpasswd -a "${user}" docker

5. #Reboot
  sudo reboot 

** Execution Result **
    $ docker run hello-world 
    <snip>
    Hello from Docker ! 
     <snip>
Docker sur Arch Linux
Tags: archlinux, linux, docker, french
Published: 2020-03-26 08:27:49

Voici un petit guide de mise en route pour déployer une application Spring Boot dans un conteneur docker sur ArchLinux

## Pré-requis
Les commandes ci-dessous sous exécutée sur ArchLinux.
### Installation de docker et de ses autres outils
```bash
$ sudo pacman -Syu docker docker-compose docker-machine
$ sudo systemctl start docker
$ sudo systemctl enable docker
```
### Modification des droits d'accès de l'utilisateur

> __ATTENTION__ : <br/>
> If you want to be able to run docker as a regular user, [add your user to the docker user group](https://wiki.ArchLinux.org/index.php/Docker#Installation). 
> Anyone added to the docker group is root equivalent. More information [here](https://github.com/docker/docker/issues/9976) and [here](https://docs.docker.com/engine/security/security/).

```bash
$ sudo gpasswd -a ${USER} docker
$ sudo reboot
```
Sous GNOME j'ai dû redémarrer la machine car un simple déconnexion de session n'a pas suffi.

## Testons la configuration
### Est-ce que Docker est bien configuré
```bash
$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
```
Si on vous demande un mot de passe c'est que vous avez merdé lors de l'ajout du groupe docker à votre utilisateur

### Récupérons un simple projet Spring Boot, compilons le
```bash
$ mkdir Projets
$ cd Projets
$ git clone https://gitlab.com/docker-spring-cloud/docker-demo.git
$ cd docker-demo
$ ./mvnw install dockerfile:build
```
Félicitation, vous venez de compiler et de "_conteneuriser_" votre première application Spring Boot

### Démarrons le conteneur Docker
```bash
$ docker image ls
REPOSITORY                     TAG                 IMAGE ID            CREATED             SIZE
andycostanzacom/docker-demo    latest              18c5d16986d9        2 hours ago         119MB
openjdk                        8-jdk-alpine        97bc1352afde        7 weeks ago         103MB
$ docker run -p 8080:8080 -t andycostanzacom/docker-demo
```
Dans votre navigateur internet, ouvrez la page http://localhost:8080/hello et si la page vous répond "hello" c'est que tout va bien, vous venez d'appeler un endpoint Spring Boot dans un conteneur docker.

## Trucs et astuces
Pour savoir quel conteneur est en cours de fonctionnement :
```bash
$ docker ps
CONTAINER ID        IMAGE                         COMMAND                  CREATED             STATUS              PORTS                    NAMES
43721a2aff5d        andycostanzacom/docker-demo   "java -cp app:app/li…"   8 seconds ago       Up 7 seconds        0.0.0.0:8080->8080/tcp   hungry_greider
```

Pour arrêter un conteneur :
```bash
$ docker stop 43721a2aff5d
43721a2aff5d
```
Ouais je sais, il pourrait être plus explicite que de renvoyer juste le _Container ID_!
Hack for COVID-19!!!
Tags: productivity
Published: 2020-03-26 08:06:14

We can still beat #COVID19! 

Forkwell is hosting a 2-week online hackathon to combat #Coronavirus. The hackathon tackles 2 topics, "Drug Discovery" and "Virus Combat". 

Our sponsors include Microsoft, MDEC, Runcloud, AWS and DigitalOcean. They are giving winners up to USD3,200 worth of prizes and exclusive access to Sunway's iLabs Accelerator Program. 

Sign up now! bit.ly/fch2020

#ForkwellCoronavirusHack #FlattenTheCurve #COVID 19 #fch2020
Rails: Conserve your database by “audit”ing its space in right way !!!
Published: 2020-03-26 07:52:22

Link: https://blog.joshsoftware.com/2018/07/19/rails-conserve-your-database-by-auditing-its-space-in-right-way/

In most of the Rails applications, we track the important data for auditing. Most of the time, database table in which these audit records are stored, is under same database of our application.

Keeping this table in same database is helpful until it doesn’t grows tremendously. We use this table most of the time for analysis & sometimes for recovering the data. As this size increases, it will start showing impacts in space consumption, like, increase in database size and backup size and also time taken for database backup.
Why a distributed system (highly concurrent) is mostly asynchronous?
Tags: discuss, distributedsystems, microservices, architecture
Published: 2020-03-26 07:51:31

The actual problem in synchronous systems is the waiting time between the client and server where both have to wait for the process to complete. In a system where millions of requests are made per second, they usually take the request and process it asynchronously with messaging systems like Kafka or any MQ's. A gateway client may wait for the response event to respond to the user, but the actual process happens in async (maybe) in the internally distributed systems. So there are two questions I would like to ask - 
1) Is my concept correct about high concurrent systems?
2) Is there any way we can make this kind of system synchronous? (internally)
Announcing Jupiter Release 0.2.0
Tags: jupiter, post
Published: 2020-03-27 16:44:23

---
title: Announcing Jupiter Release 0.2.0
published: true
date: 2020-03-26 07:20:05 UTC
tags: jupiter,post
canonical_url: https://horia141.com/announcing-jupiter-0.2.0.html
series: "Jupiter Dev Log"
---

Today marks the date of the second “minor” release of Jupiter - version `0.2.0`.

The biggest public facing change is the addition of [public docs](https://jupiter-goals.readthedocs.io). They’re hosted on [read-the-docs.io](https://readthedocs.org/), and the docs are generated from the repo itself via a nice integration. How things have changed!

The second change is adding a [difficulty](https://jupiter-goals.readthedocs.io/en/stable/concepts/#tasks) rating to jobs, and a bit better sorting of inbox views in Notion.

The third change is adding support for linting. It’s a tech only change, but it’s a nice step towards “better code quality”.
Benefits Of Building Projects
Tags: javascript, productivity, webdev, beginners
Published: 2020-03-26 07:16:29

Hello Folks 😊,

Today I just wanted to share my personal experience related to building projects.
About 1 month ago I started learning Javascript(ES6) and following the tutorials daily and it feels good that I learn something new every day 🤩.

The course I followed has some projects in it just after every 2 to 3 tutorials instructor built a project and advice us to follow it.

But I neglect that and think that oh dude these projects are so small and wastage of time🙄.

What my thinking was that, First I will learn all the concepts and features then I will build a huge project 😎.

But, I was wrong ...😓

After learning all the features when I sit down to built a project, I fell my self as an empty mind🤯.

Feel like I don't know anything... how to think in a sense of solving a problem and using all the advance syntax and their concepts I've learned so far 😤.

Then I realize I made a big mistake.😤

I learned everything but without their real-world implementations, that's why my thinking process was not developed.😯

Then I go back again watch the tutorials, build those projects and guess what??? I feel great and my thinking process was also developed related to problem-solving.🤓

I just wanted to give advice to all the beginner developers that please don't neglect the projects...build them and you will surely feel great...🤗

That's All Folks😊

Thank you.

Shahroz Signing Off.. Take Care.
Introducing the team version of Boost Note
Tags: showdev, confluence, evernote, devopstools
Published: 2020-03-26 06:49:02

---
title: Introducing the team version of Boost Note
published: true
description: 
tags: showdev, confluence, evernote, devopstools
---

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

We’ve launched the Boost Note for team called [“Boost Hub”](https://boosthub.io) and have started distributing it.

Boost Hub will aim to be a collaborative wiki tool for developer teams to centralize and amplify the availability and search ability of both first-party and third-party (SaaS and other external sources) information.

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

# Where can I register my interest and when will I get on it?

~~Please register your email address [here](https://boosthub.io).~~

~~When it’s your turn, we’ll reach out again to get your team started. You’ll be able to create a new team on Boost Hub.~~

~~We have thousands of users waiting, but if you fill out this survey we’ll give you a priority invite.~~

You can register Boost Hub now!💯
https://boosthub.io

We are extremely grateful for your time and look forward to hearing your ideas and thoughts.

Cheers,
The Boost Note team
Remote work journey - Day 8
Tags: watercooler, remote, webdev, development
Published: 2020-03-26 06:47:14

---
title: Remote work journey - Day 8
published: true
description: Continuous journey of working from home due to COVID-19 outbreak at the world. This is my journey, my challenges in trying to be productive and completely changing my work habits from office first to remote first. 
tags: watercooler, remote, webdev, development
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/kx7itvv87ke5ersnpxzp.jpg
series: working from home
---
## General

Day 2 of 2nd week where 

The weekend was intense with good and bad parts. Having more time with kids yet struggling to have a clear plan for the whole day made it difficult. It is a new situation for all of us. Our son is in his exploration and [autonomy phase](https://en.wikipedia.org/wiki/Autonomy#Child_development) which can be tough.

On Monday, I realized that slowly the team gets used to daily standups. Yet, no one stands anymore, so it is now a "daily sitdown" when one does remote work.

I also started to feel some back pain and hope that my the chair I ordered from Ikea will arrive this week.

All in all, it still works but now with my wife working 4-5h per day and me ~7h / day for now, it's still a huge challenge.

I hope this week I can write my learnings in one structure blog. The difference is, this time I will use Medium.com again.

## Work

On Monday, I realized that slowly the team gets used to daily standups. Yet, no one stands anymore, so it is now a "daily sitdown" when one does remote work.

We are also moving into a different App Setup for 2020 and move to a WebView driven approach. 
Also our Bug process will be presented to all managers and we will have a decision soon here.


## TIL

On Monday, I started to add more logic to our A/B Test and used the Provider Pattern for React Components. In this case I realized I could also use a React Hook but the Component I'm working in is complex and I already refactored too much stuff for one PR.

The Provider Component is basically an action trigger for the redux store to handle a side effect. I'm not using the High-Order Component approach as the Page Component is already connected to the Redux Store, so using `mapStateToProps` is the easier solution here.

Enjoy your weekend (#stayAtHome)🤩

 ----
Past Posts:
{% link https://dev.to/fokusman/remote-work-journey-day-5-4fok %}
My day as a developer working from home (temporarily?)
Tags: habits, routine, lifestyle, webdev
Published: 2020-03-26 06:47:08

As developers, many of us need to work from home during the current situation. It's an opportunity not given to many and I believe we must appreciate it.

That said, working from home requires discipline and routines. Otherwise, it can get messy.

In the video below, I'm sharing one of my days as a developer.
Let it be said that it's my second week doing so and I'm still not fully used to it.

{%youtube K2e9kkEiaSQ %}

Also, if you have any advice for people working from home, please add a comment!

---
If you're a developer and interested in topics like growth mindset, developer lifestyle and technical tutorials, make sure to follow [developerHabits in Youtube](https://www.youtube.com/channel/UCJLZwePkNHps5Bv7VwISyTA)!
Cambiar color de la barra vertical en vim
Tags: vim
Published: 2020-03-26 06:45:48

---
title: Cambiar color de la barra vertical en vim
published: true
description: Modificar el color de la barra del vertical split
tags: vim
---

Cuando se hace una división vertical de la ventana de `vim` se puede ajustar los colores.
![gvim vsplit orig](https://dev-to-uploads.s3.amazonaws.com/i/7o5bfwqr7tev26l3lld5.png) ![im vsplit orig](https://dev-to-uploads.s3.amazonaws.com/i/b0uoybbij3gbsyi7tod3.png)

```vim
<esc>:highlight VertSplit guifg=white guibg=blue
<esc>:highlight VertSplit ctermfg=white ctermbg=blue
```
![gvim vsplit color](https://dev-to-uploads.s3.amazonaws.com/i/d2i6ph7qj7c90wgefuw0.png) ![vim vsplit color](https://dev-to-uploads.s3.amazonaws.com/i/wcqh3tpeedb16qlplmgs.png)

También se puede cambiar el carácter que se usa para dividir
```vim
<esc>:set fillchars=vert:+
```
![gvim vsplit campo](https://dev-to-uploads.s3.amazonaws.com/i/itzqdw9dj197d2tx3wbh.png) ![vim vsplit campo](https://dev-to-uploads.s3.amazonaws.com/i/evex77h1l77sc7yvxfxp.png)
Mobile Camera Chip Market Size 2025 
Tags: mobilecamera, chipmarket
Published: 2020-03-26 06:19:35

MarketStudyReport.com adds Global Mobile Camera Chip Market research focusing on the major drivers and restraints for the key players. It also provides analysis of the market share, segmentation, revenue forecasts and geographic regions of the market.

The recently documented report on the Mobile Camera Chip market is a detailed analysis of this business landscape, and contains important details regarding the present market trends, current revenue, market size, industry share, periodic deliverables, alongside the profit anticipation and growth rate registered during the estimated timeframe.

A thorough inference pertaining to the performance of the Mobile Camera Chip market over the forecast period, along with the key factors driving the market growth is enclosed in the report. It also delivers information about the market dynamics and focusses on the challenges encountered by the business vertical while providing a brief about the growth opportunities prevailing in the market over the analysis timeline.

Read Full Article @ http://technologymagazine.org/mobile-camera-chip-market-size-outlook/
A Software Engineer's Guide to DevOps
Tags: softwareengineer, devops, darrenhuston
Published: 2020-03-26 06:15:51

In this episode, Damien sits down with Laurie Barth to talk about Getting comfortable with DevOps as a developer. Software Engineers don't always understand how they fit into the DevOps pipeline and they should! Understanding the technologies and concepts at play are important pieces of context for improving our ability to build applications.

Read Here @ https://channel9.msdn.com/Shows/DevOps-Lab/A-Software-Engineers-Guide-to-DevOps
Top 5 reasons to choose Axton Group for Magento 2 development
Published: 2020-03-26 06:06:37

Axton Group is a global <a href="https://www.axtongroup.com/services/magento-2-0-development/">Magento ecommerce development company</a> in NJ,NYC. We have been in the industry from past 15 years. From ideation to development to implementation our motto is to achieve excellence.
Right from the beginning we have set our bars high and have trained back-end and front-end Magento developers to exclusive cliffs. We have sufficient experience on both the versions of Magento.  We not only promote the brand value but also present the appropriate methods to maintain that value. Here are some reasons that will ensure you that why Axton Group is best for your ecommerce store Magento 2 development, lets have a look:

•	Highly qualified professionals
We have a team of skilled experts which possess great knowledge and use latest development techniques. We deliver client centric and customizable Magento solutions.

•	Authentic Methodologies
By the use of latest emerging technologies that enables the best practices, our expert Magneto developers gives a new dimension that will work as a skyrocket for your business!

•	Face to face communication
We are local in Manhattan, Brooklyn, NYC and NJ and we can always do face to face meet before initiating discussions.  

•	Cost effective solutions
We offer world-class solutions with guaranteed performance with necessary expenses.

•	Quality support
Connect to Axton groups. We provide maximum quality support to our clients who have any doubts. We have a large team of technicians to decrease the complexity as a result increment in the rate of productivity. we put our feet in client’s shoe and try to understand from their perspective. 

Our Magento 2 services:

Custom Magento development
Magento 2 migration
Magento 2 multi store development
Magento 2 SEO
Magento 2 customization
PSD to Magento 2 conversion
Magento 2 theme integration
Magento 2 upgrade services
Magento support and maintenance

Dont worry ! we provide the world best services to our clients by extensive hardwork, deep research and years of experience in order to transform their dream ventures into reality.
Still not sure? Talk to our experts on on 610-209-3937 or 201-884-7338 or drop us an email on info@axtongroup.com

 You are just one click away from the step of your success!