teleren/devto huggingface dataset:
QR Code Generator
Tags: codepen
Published: 2022-09-02 11:38:45

<p>I created this QR code generator because the warehouse employees at my company kept mislabeling boxes and shipping them to the wrong facility. After several large mess ups consecutively, we implemented a scanning system the would check a specific number our company uses to identify parts against the customer part number. However, more than half of the parts we receive from  suppliers do not have a QR code that contains our specific part number on their labels. I made this so I, and other associates can create the QR code and send the image to our supplier to put on their boxes.</p>

{% codepen https://codepen.io/harunpehlivan/pen/abGbJej %}
Arquitetura de Sistemas Operacionais #5
Tags: architecture, devjournal
Published: 2022-09-02 11:23:36

Hoje irei falar um pouco sobre as divisões anteriormente mencionadas, os tipos de sistemas multitarefa e tudo mais. 

## Sistema Batch

O sistema batch foi um dos primeiros sistemas, ele funcionava a partir de cartões furados. Que mais para frente começou a usar discos ou fitas e tudo mais. 

Seu funcionamento era feito da seguinte forma: os programadores inseriam cartões que passavam por um leitor e enviava para o processador, enquanto ele estava processando, a parte responsável pela leitura já estava lendo o próximo programa. Assim, o problema de ter um processador ocioso era facilmente resolvido. 

A principal característica desse sistema é a de não exigir interação do usuário com a aplicação. Todas as entradas e saídas de dados são implementadas por uma memória secundária. Os programas que eram executados nesse tipo de sistema eram os de cálculo numérico, compilações, ordenações, backups e tudo mais que o usuário não precisa interagir. 

Atualmente os Sistemas Operacionais, simulam o processo batch. 

## Sistemas de Tempo Compartilhado

Os sistemas de tempo compartilhado, faziam com que o processamento fosse dividido em tempos, assim, cada processo pegava uma fatia do tempo livre, caso não houvesse uma fatia de tamanho suficiente para ele ou caso a que ele esteja usando não seja o suficiente, ele vai entrar em "stand by" até que liberem espaço de tempo para ele. 

Esses sistemas geralmente permitem que o usuário interaja com ele através de terminais que incluem vídeo, teclado e mouse. Esses sistemas permitem que você se comunique com o processador usando comandos, assim sendo possível ver os arquivos armazenados no disco ou cancelar a execução de um programa. 

Como é um sistema que geralmente responde em poucos segundos a maioria dos comandos e a todas as outras requisições, esses sistemas são conhecidos como sistema "on-line".

A maioria das aplicações comerciais usam esse tipo de sistema por conta do tempo de resposta razoável e custo baixo.

## Sistemas de Tempo Real

Esses sistemas funcionam de forma semelhante aos de tempo compartilhado, com uma principal diferença que é a de que o tempo exigido pelos processos, nesse sistema é rígido e não pode variar, ao contrário dos sistemas de tempo compartilhado. 

Nesses sistemas não existe o conceito de fatia de tempo, o processo vai usar o processador o tempo que for, ou até a aplicação definir que existe outra aplicação com maior prioridade, assim trocando de processo no processador. 

Esses sistemas são geralmente aplicados em coisas como controle de processos, monitoramento de refinarias, controle de tráfego aéreo, etc. Em resumo, sistemas em que o tempo de processamento é um fator crucial para o bom funcionamento. 

No próximo post irei falar um pouco sobre os sistemas com múltiplos processadores.
Certificate Watch
Published: 2022-09-02 11:17:11

---
title: Certificate Watch
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
canonical_url: 'https://kevwe.com/service/certificate-watch'
---
Your business depends on online assets:

- Applications
- Website
- Company Email
- Chat/Messaging Service

They all need to be secure and use TLS.

As such, they all make use of certificates.

Certificates have a validity range, that means that they expire, with all the issues and disruptions that it brings with it.

You either keep watch on that or have a partner that does that for you.

If you think we can be that partner for you, don't hesitate to get in touch:

https://kevwe.com/message
Job web scraper
Tags: scraper, python
Published: 2022-09-02 10:51:41


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6owfpvpempmfzdfd28zr.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ypfmpgkfoiyklh07h38.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vfipfekf28xi7nfakbep.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r9a367clom5kj7hqdr1l.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xrcpdbrn31gx7bko1vet.png)

Code: https://github.com/zacfrulloni/Indeed_job_scraper_python
AWS EVENT DRIVEN PYTHON
Tags: python, aws, serverless, covid
Published: 2022-09-02 10:42:25





![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kson5nmxwbpeaf9etxpg.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yqy6pqn47yccotlfhh7d.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7iqvw11kxod9nu2rnx5s.png)

Code: https://github.com/zacfrulloni/aws-event-driven-python
Responsive Images for web
Tags: html, css, webdev, beginners
Published: 2022-09-02 10:35:53

Recently I learned a new thing about responsive images and want to share it here.

As we all know, we can create responsive images through CSS and media queries but `<picture>` element allow us to show multiple images according to the browser viewport.

## With CSS
First, let's see an example of responsive image using CSS
```javascript
  <img
    src="./src/desktop-img.png"
    alt="desktop"
    class="responsive"
    width="100%"
  />
```
and give it css properties
```javascript
  .responsive {
     height: auto;
  }
```
{% codesandbox responsive-img-css-p8b2tf %}
As you can see, image will get adjusted according to the width of the screen but this solution is not very convenient on smaller screens if the image is designed for large screens and also if the image contains text then that information can get lost.

## With Picture element
`<picture>` element gives us flexibility to use different images for different screens. 
The `<picture>` element contains two tags: one or more `<source>` tags and one `<img>` tag.
The `<source>` tag contains *media* and *srcset* properties. The browser will check the media query which matches the current viewport width and display that image specified in *srcset* property.
Lets see its example
```javascript
<picture>
  <source media="(min-width:650px)" srcset="./src/desktop-img.png" />
  <source media="(min-width:465px)" srcset="./src/mobile-img.png" />
  <img src="./src/mobile-img.png" alt="desktop" style="width: 100%;" />
</picture>
```
Here I'm showing a *desktop-img* for the viewports having a width greater and equal to 650px and *mobile-img* for the viewports having a width greater and equal to 465px.
And also I gave the default image in `<img>` tag. It'll show this image if none of the media query conditions are fulfilled.

{% codesandbox responsive-img-picture-vcusol %}

You can read more about the `<picture>` tag [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture)

Thank you for reading!
Feel free to connect on [Twitter](https://twitter.com/Aneeqa_Khan25)
Why You Should Hire An Offshore Dedicated Developer To Save Cost?
Tags: software, outsourcing
Published: 2022-09-02 10:25:50

Outsourcing your development need is the best way to save money and get optimum results.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gkwcs2vprw301l244kdg.jpg)

## Step 1

First you need to ask yourself what exactly you are looking for in an offshore software developer.

Do not spend on everything. Instead, focus on your requirements.

## Step 2

Do some market research instead of hopping in for the cheapest one available. Compare and analyze offshore developer agencies by reviewing total experience, client reviews, flexibility, client base etc.

If you want to read in detail check out our full guide on this topic here.

[https://www.woblogger.com/how-to-minimize-the-offshore-software-development-cost/](https://www.woblogger.com/how-to-minimize-the-offshore-software-development-cost/)
How to Choose the Best Cloud Hosting Provider for Your Business?
Tags: cloud, devops
Published: 2022-09-02 10:14:38

## What is Cloud Hosting?
Cloud hosting is a cloud computing service that allows a website to be hosted on a remote server. Cloud hosting is an excellent choice for web admins who do not have the resources or budget to purchase a server and those who want to scale their hosting services quickly and easily. 

Cloud hosting is essentially renting a server or a collection of servers, with the option to add or remove resources in minutes. With cloud hosting, you have access to your server that is capable of running the applications and software of your choosing. It is also possible for you to have a server that is dedicated to you, or you can choose to have a virtual private server that can be shared with other websites.

## What are the benefits of cloud hosting?
Cloud hosting has become the de facto standard in today’s IT industry. The most significant benefit of using cloud hosting is scaling your business without fearing additional costs. If you want to grow your business, hosting with a cloud service provider (CSP) means you will not be left with a high monthly bill. 

The flexibility of cloud hosting means you can scale up your business quickly to meet the demand for your product or service. Cloud hosting is also a cost-efficient solution for any large or small business. Cloud hosting allows you to work anywhere you have internet access, as you don’t have to worry about running a server.

## How to choose the best cloud hosting provider for your business?
Cloud hosting refers to hosting your website or application on a cloud infrastructure. Businesses often prefer it as it is more cost-effective and scalable than traditional hosting. Here are some essential points to consider when choosing the best [managed cloud hosting provider](https://devrims.com/) for your business.

- Cloud Security
- Cloud Compliance 
- Architecture
- Manageability
- Service Levels
- CDN Support
- SSL Support
- Technical Support
- Costs

## Conclusion
Even while the factors mentioned above won't supply you with all the details you require, they will help you create a robust analytical framework to utilise when choosing which cloud service provider (or providers) you will entrust with your data and apps. 

By carefully examining your organisation's needs, you may add granularity and identify extra elements that can aid in your decision-making. The ability to supply the features and resources that best support your ongoing business, operational, security, and compliance goals will depend on your chosen provider.
How to Iterate Over a Plain Object in Javascript
Tags: javascript, webdev, tutorial
Published: 2022-09-02 10:08:51

Before continue on reading and follow the tutorials, ensure you satisfy the following prerequisite:

- Working knowledge of Javascript data structure

Though not common, but sometimes you might find yourself in situations where you need to loop through a Javascript object. Unlike _strings_ and _arrays_, objects, literal objects with curly brackets and _key: value pair_ are not considered to be iterable.

So, if you go with the `for... of` method to iterate the following objects like so:

```cpp
const fruitsQty = {
melon: 10, 
apple: 15, 
grape: 7, 
pineapple: 10, 
jackfruit: 22, 
strawberry: 14, 
orange: 30}

for (let exm of fruitsQty) {
console.log(exm)
}
```

You'll get an error.

However, if you present that object key:value pairs as an array, you'll be able to use the `for...of` method.

In order to do that, you need to use special methods: 
- `Object.keys()` to return an actual array containing the keys out of the object as an array
- `Object.values()` to return an actual array made up of the values out of that object
- `Object.entries()` which will return a literal nested arrays of the key:value pair of that object. 

```javascript
Object.keys(fruitsQty) // (7) ["melon", "apple", "grape", "pineapple", "jackfruit", "strawberry", "orange"]

Object.values(fruitsQty) // (7) [10, 15, 7, 10, 22, 14, 30]

Object.entries(fruitsQty) // ["melon" 10, "apple" 15, "grape" 7, "pineapple" 10, "jackfruit" 22, "strawberry" 14, "orange" 30
```

Now that we have those presented as an array (technically they are not turned into an array, we just sort of make array out of an object, ok apologies if this is confusing lol), we can use the previous `for...of` method to iterate that object because that does work with an array.

Here's an example of iterating over the quantity of the fruit

```javascript
for (let quantity of Object.values(fruitsQty) {
console.log(quantity) 
}

//
10
15
7
10
22
14
30
```

Basically, using those three methods will allow you iterate over objects using the `for..of` method as if they are an array. You can also loop through them to get the total quantity of the fruits.

```cpp
let sum = 0;

for (let quantity of Object.values(fruitsQty) {
sum += quantity;
}

// Each time it loops, the sum adds each fruit quantity
// 108
``` 

Since those keys and values are behaving like an array with those methods, you can also find out the length of the fruits quantity, like so:

```cpp
// first, create a variable that stores the fruit quantity information as an array

let quantity = Object.values(fruitsQty);

console.log(quantity.length) // 7
```
AMA with Jeremy Ravenel, CEO of naas.ai
Tags: datascience, analytics, naas, aviyel
Published: 2022-09-02 10:01:34

Data has undoubtedly become the new oil. Whether it’s FAANG companies or startups building products, it plays a huge role in both the functioning and marketing aspects of product-building.

Aviyel is organizing an AMA for the community about Building on Data with one of the best open-source data projects Naas.ai. We will be joined by their CEO - Jeremy Ravenel.

**What’s Naas.ai ?**

Notebooks as a service (Naas) is an open source platform that allows anyone touching data (analysts, scientists and engineers) to create powerful data solutions combining automation, analytics and AI from the comfort of their Jupyter notebooks.

Templates enable the user to create automated data jobs and reports in minutes.

Drivers act as connectors to push and/or pull data from databases, APIs, and Machine Learning algorithms and more.

Features transform Jupyter in a production ready environment with scheduling, asset sharing, and notifications.

**About the Speaker**

Jeremy is a data strategy leader and mentor with years of experience in Data-driven roles and now is the CEO of Naas.ai. He’s also a Stanford Lead Alumni and a veteran of many data-driven companies with his products being used by Fortune 500 companies like Amazon and Tesla.

Join us on September 9th, as we talk about The Open Source Data Solutions Platform.

Block your seats here:https://aviyel.com/events/439/ama-with-jeremy-ravenel-ceo-of-naas-ai

Wouldn’t be able to make it? Feel free to drop the questions you have in the discussion thread below!
what is a number line?
Tags: students, mathematics, number, line
Published: 2022-09-02 10:01:16

A [number line](https://www.turito.com/learn/math/number-line) is a visual representation of numbers on a straight line. This line is used to compare numbers that are placed at equal intervals on an infinite line that extends on both sides, horizontally or vertically. As we move towards the right side of a horizontal number line, the numbers increase; as we move towards the left, the numbers decrease.

## What is a Number Line?
A visual representation of numbers on a straight line drawn either horizontally or vertically is known as a [number line](https://www.turito.com/learn/math/number-line). Writing down numbers on a number line makes it easy for us to compare them and perform basic arithmetic operations on them. Zero (0) is considered to be the origin of a number line. The numbers to the left of 0 are negative numbers and the numbers to the right of 0 are all positive numbers. So, we can say that on a number line, as we move towards the right, the value of numbers increases. This means that the numbers present on the right are larger than the numbers on the left. 

## 
Negative and Positive Number Line
As we discussed above, a [number line](https://www.turito.com/learn/math/number-line) has positive and negative numbers. The section of the number line to the left side of zero forms a negative number line. While, the section on the right side of zero contains all positive numbers, and it forms a positive number line. It can be extended to infinity from both ends (right and left). 

## Tips and Tricks on Number line

We can represent various numbers on the [number line](https://www.turito.com/learn/math/number-line), according to our requirements. For example, they can be only positive numbers, integers between -4 and 3, or even fractions between -2 and 2.
Number lines can help us in real-life situations. For example, they read the altitude (height) which is shown on a GPS device's screen, and can tell you how high or low you are below sea level!
Contribute to open source: the right way 3rd edition
Tags: ebook, opensource
Published: 2022-09-05 08:44:05

---
title: Contribute to open source: the right way 3rd edition
published: true
date: 2022-09-02 09:51:51 UTC
tags: eBook,OpenSource
canonical_url: https://daniele.tech/2022/09/contribute-to-open-source-the-right-way-3rd-edition/
---

The 3rd edition it is publicly avalaible for anyone with new stuff about contributing to open source!

The post [Contribute to open source: the right way 3rd edition](https://daniele.tech/2022/09/contribute-to-open-source-the-right-way-3rd-edition/) appeared first on [Daniele Mte90 Scasciafratte](https://daniele.tech/eng).
How To Deploy Flask Application To Cyber Panel
Published: 2022-09-02 09:50:50

Hi,
I have created my flask web-application on local machine it works perfectly. Now I want to deploy my project to server through Cyber Panel. I don't have any clue to how to do this, I saw many tutorials and many articles but they didn't help me much. So If Anyone Knows how to do it proper step by step kindly reply. It will be much helpful for my project. I want to upload to 
"CyberPanel: Opensource Web Hosting Control Panel".
Thanks In Advance
Prime Numbers – Definition with Examples
Tags: students, mathematics, prime, numbers
Published: 2022-09-02 09:48:33

[Prime numbers](https://www.turito.com/learn/math/prime-numbers) are natural numbers that are divisible by only 1 and the number itself. In other words, prime numbers are positive integers greater than 1 with exactly two factors, 1 and the number itself. Some of the prime numbers include 2, 3, 5, 7, 11, 13, etc. Always remember that 1 is neither prime nor composite. Also, we can say that except for 1, the remaining numbers are classified as prime and composite numbers. All prime numbers are odd numbers except 2, 2 is the smallest [prime number](https://www.turito.com/learn/math/prime-numbers) and is the only even prime number.

Prime numbers are the natural numbers greater than 1 with exactly two factors, i.e. 1 and the number itself.

## List of Prime Numbers between 1 and 100
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

There are 25 prime numbers between 1 and 100.

## List of Prime Numbers between 1 and 200
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199

There are 46 prime numbers between 1 and 200.

## List of Prime Numbers between 1 and 1,000
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997.

## Some Facts about Prime Numbers
2 is the smallest [prime number](https://www.turito.com/learn/math/prime-numbers).
2 is the only prime number that is even.
2 and 3 are the only consecutive prime numbers.
Except for 0 and 1, a whole number is either a prime number or a composite number.
All odd numbers are not prime numbers. For example, 21, 39, etc.
No prime number greater than 5 ends in a 5.
Sieve of Eratosthenes is one of the earliest methods of finding prime numbers.
Prime numbers get rarer as the number gets bigger.
There is no largest prime number. The largest known prime number (as of September 2021) is 282,589,933 − 1, a number that has 24,862,048 digits when written in base 10. By the time you read this, it may be even larger.
Magento 2 Product Labels: How To Set Up & Benefits?
Tags: magento2, magento, ecommerce, productlabels
Published: 2022-09-02 09:46:34

In order to increase sales, each store offers promotions and discounts. Your promoted items will be more visible and appealing to your customers if you add a clear image to the [product labels Magento 2](https://www.fmeextensions.com/magento-2-product-labels-stickers.html) extension. Our extensions will enable you to market your online store efficiently and effectively!

1. Label your product photos with text and images
2. Stickers made from ready-made shapes
3. Label and sticker each product multiple times
4. Your product image can have the label placed anywhere you like
5. Labels that are out of stock & most viewed are automatically displayed
6. Use flexible conditions to attach labels to specific products
7. Different labels can be uploaded for product and listing pages
8. Multiple labels can be added at once
 

**Add Text & Image Labels to Your Products
**
Our extensions come with a variety of ready made label styles such as circle, leaf, arrow, which you can use to add attractive custom product labels for sale, bestsellers, and new Magento 2 products. Edit the label text according to the product type. You can also display plain text labels or upload a custom image as a background and customize the following options.

- Define text color, size, and style of text
- Change background color of ready-made design

**Position Label Anywhere on Product Images
**
You can position labels anywhere on your product images in a click. Just click on any of the 9 positions i.e. top left, top middle, top right, bottom left, etc. and the extension will position the label there. Moreover, you can set label positions differently for category pages and product details pages.

**Separate Labels for Listing Page
**
Different product labels for Magento 2 category and product detail page can be used to give customers a different look on both pages. Both can be managed from separate settings to optimize your promotions and marketing content.