teleren/devto huggingface dataset:
Today, let's talk about using SDKs to enhance developer's workflows
Tags: webinar, devops, opensource, productivity
Published: 2023-03-22 16:58:35

Hi devs!

This afternoon (**4 PM EST**) I will host another webinar at CTO.ai, and I'll talk about **How to use CTO.ai’s open-source SDKs to create customizable Workflows for software delivery**.

Come join me and let's discuss the topics in the agenda:

✅ What workflows stand for
✅ What are the open-source SDKs available to get started
✅ How to use them (examples of usage in a real-life environment)
✅ How can these SDKs integrate with third-party tools for product delivery?
✅ Using SDKs to calculate DORA metrics in your project
✅ Q&A

You can still [subscribe here](https://cto-ai.zoom.us/webinar/register/WN_cvrr1hhsSW2eHX4BXtnQtg).

See you there :D
Quick Tips to Learn Monitoring With Grafana
Tags: beginners, monitoring, grafana, tutorial
Published: 2023-03-22 16:49:09

I recommend you try this, get a free cloud-based Grafana at [the official site](https://grafana.com/get/). The free resources are enough to get acquainted with monitoring and observability.

[Grafana](https://grafana.com/grafana/) is a trendy open-source monitoring software.

If you are learning different technologies, this will be helpful. 
1. You will learn and try monitoring software.
2. You can connect your apps and servers to the Grafana cloud and use it for free at the start. 

Also, I took some courses today at University Grafana, and I find them very useful because they are quick (about 10 minutes per course) and teach.

I went through 5 blocks of practice in just one hour on the [Playlist: Intro to visualizing data with dashboards and panels](https://university.grafana.com/learn/lp/27/playlist-intro-to-visualizing-data-with-dashboards-and-panels).

I recommend spending this hour today learning about software monitoring. 

![Grafana: Playlist: Intro to visualizing data with dashboards and panels](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sllz1gqw4v5otylchb78.png)

![Grafana: Dashboards](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mt1q57vuucy7ktffs0u3.png)
Concurrent,Chunked,Mult-file Upload with Livewire
Tags: tutorial, laravel, fileupload, discuss
Published: 2023-03-22 16:47:53

[Laravel Livewire](https://laravel-livewire.com/docs/2.x/file-uploads) offers an easy way to upload multiple files in a few lines of code! One default behavior of Livewire's multi-file upload is uploading the files in one request.


There are times when we'd want to upload the files in separate requests, or customize how we upload each files--like showing separate file-upload progress bars, or even uploading each file in smaller chunks.


In my article, "[Multi-File Upload with Livewire](https://fly.io/laravel-bytes/multi-file-upload-livewire/)" , we walk through three approaches in uploading multi-selected files with Livewire:

1. Default upload of files: in a single request
2. Concurrent, upload of files in separate requests
3. Chunked and concurrent upload of files in separate requests


Article Link: https://fly.io/laravel-bytes/multi-file-upload-livewire/
Chunked File Upload with Livewire
Tags: discuss, tutorial, laravel, fileupload
Published: 2023-03-22 16:36:05

Have you ever encountered the 413 status code error when uploading files in your Laravel application? This is due to the file's size exceeding our application or its server's maximum request size limits!

Of course we can increase the config limits in our server and PHP's to allow file uploads until a certain, new, and increased maximum limit. But do we perpetually increase our config limitations with each new file limit exceeded?

In my article [Chunked File Upload with Livewire](https://fly.io/laravel-bytes/chunked-file-upload-livewire/), instead of perpetually relying on increasing config limitations on request size, we'll slice, dice, and merge file chunks with Livewire!
Python One Line While Loop
Tags: python, tutorial, beginners, programming
Published: 2023-03-22 16:33:20

In this tutorial we will see [how to find even or odd in python program](https://www.programdoc.com/python/if-else) using one line while loop.

## Python Terniary Operator
Python doesn't have a inbuild terniary operator, we can simulate the operation using one line if statement
```py
print("EVEN") if 4%2==0 else print("ODD")

Output:
EVEN
```

Using the same techinque we can create a single line while loop
## Normal Python While Loop
```py
l = list(range(1, 6))
i = 0

while i<len(l): 
    print(l[i])
    if i%2==0:
        print("EVEN") 
    else:
        print("ODD")
    i+=1
```

## One line Python While Loop
```py
l = list(range(1, 6))
i = 0

while i<len(l): print(l[i]); print("EVEN") if i%2==0 else print("ODD"); i+=1;
```

```py
# OUTPUT
1
EVEN
2
ODD
3
EVEN
4
ODD
5
EVEN
```


### Explore Other Dev.to Articles
[Read and write csv file in Python](https://dev.to/max24816/python-read-and-write-csv-file-2onh)
[Python Install Jupyter Notebook](https://dev.to/max24816/install-jupyter-notebook-1cm0)
[Python Create Virtual Environment](https://dev.to/max24816/python-create-virtual-environment-3iai/edit)
[Read and Write JSON in Python Requests from API](https://dev.to/max24816/read-and-write-json-in-python-requests-from-api-52ga)
[Read and Write Python Json](https://dev.to/max24816/read-and-write-python-json-h6i)
Learn Web Development Easily with "fromCoding"
Published: 2023-03-22 16:32:18

Are you ready to take your web development skills to the next level? Look no further than fromCoding, the premier online learning service designed by a seasoned web application engineer who has been through countless trials and tribulations to master the craft.

At fromCoding, we understand the pain points of learning web development, especially for beginners. That's why we've created a comprehensive online learning experience that is both interactive and intuitive. Our expertly curated content is focused on delivering only the essentials, giving you the tools you need to investigate and explore related issues on your own. Best of all, you can become proficient in web development basics in just 15 hours, which is less than half the time of other courses!

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

Our innovative platform features an online code editor that lets you code and check execution results in real-time. Our gamified learning approach makes learning fun and enjoyable for beginners, while our bite-sized lessons ensure that you master one concept at a time without feeling overwhelmed or lost.

But what sets us apart is our focus on helping you develop actual web applications. Our service offers practical guidance on creating buttons, setting borders, and displaying text on the screen when clicked, among other essential skills. You'll learn how to test your apps to see how your newly acquired skills work in practice, making it easier to apply your knowledge in real-world scenarios.

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

Additionally, our service features a three-step program for building a simple web application. Each step comprises ten chapters that take you through the process of building a web app from scratch. By the end of the program, you will have created a responsive web app with essential features like a start and stop button and a timer that counts up.

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

Our ultimate goal is to help you become a web development expert. We believe that our service offers the best way for beginners to learn web development. It’s simple, intuitive, and easy-to-understand, providing an interactive and gamified learning experience that makes learning easy and fun.

So why not give fromCoding a try today? With our online learning service, you can experience comfortable learning and acquire the knowledge and skills you need to become a web development expert.

[fromCoding - Let's be able to build web apps!](https://fromcoding.com/)
All SwiftUI Scene Types Noted
Tags: swift, swiftui, ios, mobile
Published: 2023-03-22 16:21:12

### Discover the latest SwiftUI scenes to help you present windows within your apps.

*SwiftUI scenes* are the main building blocks to structure and easily build more kinds of apps for apple platforms.

While most developers build apps for iOS, knowing the different scene types helps you to **easily build multiplatform apps** and follow the apple human interface guidelines to better design and architect your ideas.

Below I share all the *SwiftUI scene* types available with a resume of these key points concepts and their use.

![Sketch note All SwiftUI Scene Types Noted](https://cdn.hashnode.com/res/hashnode/image/upload/v1679500612878/fea52ce0-1632-49bc-a70b-ed13454a50a4.png)

### Things to take in mind:

1. `WindowGroup`: Provides a way to **build data-driven applications** across all of apple's platforms.
    
2. `DocumentGroup`: Enables support for opening, creating, and saving documents.
    
3. `Settings`: Presents an interface for viewing and modifying an app's settings. (*macOS* only)
    
4. `Window`: Present its content in a **single, unique window**. (macOS - only.)
    
5. `MenuBarExtra`: Create a utility app that only shows in the menu bar.

I hope this sketch note is helpful to you.
    
[If you find this content helpful, please consider buying me a coffee by downloading the rich and high-resolution version of this sketch note here.](https://amarildocodes.gumroad.com/l/all-swiftui-scene-types-noted)

**References:**

1. **WWDC 2022**: https://developer.apple.com/videos/play/wwdc2022/10061/
Collect Time Video Metrics with Livewire
Tags: discuss, tutorial, video, metrics
Published: 2023-03-22 16:21:06

When creating online video tutorials, it is important to get insight on how viewers engage with each tutorial.

In my latest article "[Collecting Time Video Metrics with Livewire](https://fly.io/laravel-bytes/time-insight-video-livewire/)", we use Laravel's response helper to serve videos in a route, and use Livewire to easily share user-video interaction to our server!
I'm planning to build a new OS for embedded smart displays
Tags: opensource, javascript, design, devops
Published: 2023-03-22 16:20:45

I'm Prototyping a new operating system for Smart Mini Displays (Embedded Linux System) that can run even on low-end ARM motherboards.

I'm making it mostly for IoT devices. Will be working on web technologies like PWA. Forking Mozilla's Boot2Geeko (aka Firefox OS) for development.

It's similar to Kai OS but for smart touch screen devices. I've chosen web technologies so that developers not mind to migrate their app.

I will be supporting apis for all types of sensors so that developers can easily build their dream app. And also will be open source :)
What is Defense in Depth?
Tags: security, tutorial, cloud
Published: 2023-03-22 15:39:07

Defense in depth uses a layered approach when designing the security posture of an organization. Think about a castle that holds the crown jewels. The jewels will be placed in a vaulted chamber in a central location guarded by security guards. The castle is built around the vault with additional layers of security—soldiers, walls, a moat. The same approach is true when designing the logical security of a facility or system. Using layers of security will deter many attackers and encourage them to focus on other, easier targets. 

Defense in depth provides more of a starting point for considering all types of controls—administrative, technological, and physical—that empower insiders and operators to work together to protect their organization and its systems. 

Here are some examples that further explain the concept of defense in depth: 

Data: Controls that protect the actual data with technologies such as encryption, data leak prevention, identity and access management and data controls.
Application: Controls that protect the application itself with technologies such as data leak prevention, application firewalls and database monitors.
Host: Every control that is placed at the endpoint level, such as antivirus, endpoint firewall, configuration and patch management.
Internal network: Controls that are in place to protect uncontrolled data flow and user access across the organizational network. Relevant technologies include intrusion detection systems, intrusion prevention systems, internal firewalls and network access controls.
Perimeter: Controls that protect against unauthorized access to the network. This level includes the use of technologies such as gateway firewalls, honeypots, malware analysis and secure demilitarized zones (DMZs).
Physical: Controls that provide a physical barrier, such as locks, walls or access control.
Policies, procedures and awareness: Administrative controls that reduce insider threats (intentional and unintentional) and identify risks as soon as they appear.
HTML basic elements for beginners
Tags: beginners, html, frontend, codenewbie
Published: 2023-03-22 16:05:16

Let's talk about HTML Elements....

HTML elements are embedded within the HTML structure. This blog will list and explain all basic HTML elements. 

## Heading Element:
<`h1`>,<`h2`>,<`h3`>,<`h4`>,<`h5`>,<`h6`>

## Paragraph Element:
<`p`>

## List Element:

- <`ul`> (unordered list)

- <`ol`> (ordered list)

- <`li`> (list element)

## Image Element:
<`img`>

## Span Element:
<`span`>

## Div Element:
<`div`>

I'm sure we all now know what the heading and paragraph elements mean (if not, read my blog about HTML tags), so let us now look at what the other listed elements mean...

The <`ul`> tag stands for 'unordered list'. It creates an unordered list which is presented with bullet points. 

The <`ol`> tag stands for 'ordered list'. It is used to create an ordered list. It is basically the opposite of the <`ul`> tag.

The <`li`> tag stands for 'list element'. It is placed either within a <`ul`> or <`ol`> element to represent each individual item within that list.

Here are some examples of the list elements:

```
<ul>
   <li>This is an item...</li>
   <li>This is an item...</li>
   <li>This is an item...</li>
</ul>
```

```
<ol>
   <li>This is an item...</li>
   <li>This is an item...</li>
   <li>This is an item...</li>
</ol>
```

The <`img`> tag embeds an image into the document. It has two required attributes (we will talk more about attributes in another blog) These attributes are 'src' and 'alt'. I will give an example below:

```
<img src="image.jpg" alt="image">
```

- The 'src' attribute states the path to the image.

- The 'alt' attribute states an alternative text describing the image and this is needed if for some reason, the image cannot be displayed.

In the next blog I want to talk about the <`span`> and <`div`> elements, as they are a bit different to the other elements....

I hope that this blog has helped and thank you for reading!

**Keep Coding 😁**
Paracetamol.ts💊| #33: Explica este código TypeScript
Tags: typescript, javascript, webdev, spanish
Published: 2023-03-22 16:00:00

## **<center>Explica este código TypeScript</center>**
#### <center>**Dificultad:** <mark>Avanzado</mark> </center>
¿Cómo podría hacer que `set` solo acepte cadenas de texto?

```ts
const set = new Set();
set.add("El sabor de las cerezas");
set.add("El origen");
set.add(2222); // este valor no debería ser aceptado
```

- A. `const set = new Set:string()`
- B. `const set = new Set():string;`
- C. `const set = String(new Set())`
- D. `const set = new Set<string>()` 
- E. `No se puede crear un Set que sea solo de un tipo`

{% spoiler **Respuesta** %} 

✅ D. `const set = new Set<string>()`

Para crear un `Set` que sea solo de un valor, podemos usar la sintaxis de los genericos, envolviendo entre `<>` el valor que queremos, en este caso, `string`. 

{% endspoiler %}

---
How to get required fields of an SObject in Apex
Tags: apex, salesforce, programming, dynamicapex
Published: 2023-03-22 15:56:59

Following is the code that can save you time from search on the web- "How to find all the required fields of an SObject in Apex?"

```
public class DynamicApex {
    public FieldWrapper getFields(String objName) {
        try {
            FieldWrapper wr = new FieldWrapper();
            for (Schema.SObjectField f : Schema.getGlobalDescribe().get(objName).getDescribe().fields.getMap().values()) {
                Schema.DescribeFieldResult r = f.getDescribe();
                if (!r.isNillable() && r.isCreateable() && !r.isDefaultedOnCreate()) {
                    wr.requiredFields.add(r.getName());
                } else {
                    wr.otherFields.add(r.getName());
                }
            }
            return wr;
        } catch (Exception e) {
            throw new TypeException(e.getMessage());
        }
    }

    public class FieldWrapper {
        public List<String> requiredFields;
        public List<String> otherFields;

        FieldWrapper() {
            this.requiredFields = new List<String>();
            this.otherFields = new List<String>();
        }
    }
}
```
Understanding Zero Trust Networks
Tags: zero, zerotrust, security, tutorial
Published: 2023-03-22 15:50:23

Zero Trust networks are often micro-segmented networks, with firewalls at nearly every connecting point. Zero trust encapsulates information assets, the services that apply to them, and their security properties. This concept recognizes that once inside a trust-but-verify environment, a user has perhaps unlimited capabilities to roam around, identify assets and systems and potentially find exploitable vulnerabilities. Placing a greater number of firewalls or other security boundary control devices throughout the network increases the number of opportunities to detect a troublemaker before harm is done. Many enterprise architectures are pushing this to the extreme of micro-segmenting their internal networks, which enforces frequent re-authentication of a user ID, as depicted in this image. 

Consider a rock music concert. By traditional perimeter controls, such as firewalls, you would show your ticket at the gate and have free access to the venue, including backstage where the real rock stars are. In a zero-trust environment, additional checkpoints are added. Your identity (ticket) is validated to access the floor level seats, and again to access the backstage area. Your credentials must be valid at all 3 levels to meet the stars of the show. 

Zero trust is an evolving design approach which recognizes that even the most robust access control systems have their weaknesses. It adds defenses at the user, asset and data level, rather than relying on perimeter defense. In the extreme, it insists that every process or action a user attempts to take must be authenticated and authorized; the window of trust becomes vanishingly small.
How to use Terraform cloud for Terraform state and deployments
Tags: aws, terraform, devops, serverless
Published: 2023-03-22 15:44:42

In this video I am describing the steps to setup and use Terraform Cloud for deployments using Terraform. I have found the use of Terraform cloud to be very helpful in my projects. 
Have you used Terraform cloud in your Terraform deployments?

https://youtu.be/BBhR53pQXPw
What Is NewRez MyLoanCare and How Can It Help You Manage Your Mortgage in 2023?
Tags: newrez, loancare
Published: 2023-03-22 15:37:59

Managing your mortgage can be a daunting task, but with NewRez MyLoanCare, it doesn't have to be. This online platform makes it easy to manage your mortgage payments and stay on top of your account information.

NewRez MyLoanCare was launched in 2018 by NewRez LLC, a national mortgage lender based in the United States. The platform allows you to make payments, view your account information, and even apply for a loan or refinance your current mortgage.

One of the key benefits of NewRez MyLoanCare is its user-friendly interface. The platform is easy to navigate, with clear menus and options for making payments and viewing your account information. You can access your account from anywhere with an internet connection, and even set up automatic payments for added convenience.

In addition to its online payment options, NewRez MyLoanCare also offers a mobile app, making it easy to manage your mortgage on the go. The app allows you to view your account information, make payments, and even upload documents if you're applying for a loan or refinance.

If you're considering using NewRez MyLoanCare for your mortgage, it's important to note that the platform does have some fees associated with it. These can include fees for making payments by phone, as well as late fees if you miss a payment. However, these fees are generally in line with what you would expect from other mortgage lenders.

In 2023, [NewRez MyLoanCare](https://sarkarijindagi.com/newrez-myloancare-2023-what-is-newrez-myloancare/) is expected to continue to expand its offerings and improve its user experience. They are already working on additional loan options and features, such as the ability to make principal-only payments.
Which IoT protocol to choose? MQTT, CoAP, Zigbee
Tags: iot, mqtt, coap, zigbee
Published: 2023-03-22 15:29:11

{% youtube c1Jk8oEctoA %}

Let's focus on IoT protocols. With so many options out there, it can be tough to know which one to choose for your connected devices. The article breaks down the pros and cons of three popular options: MQTT, CoAP, and Zigbee. If you're interested in the IoT space, definitely give it a read! 

Watch or read the article at [Frontend House](https://frontendhouse.com/experts-zone/which-iot-protocol-to-choose-mqtt-coap-zigbee-experts-zone-talks-23).
Animation -12 : Loading CSS Animation
Tags: css, webdev, animation, design
Published: 2023-03-22 15:25:06

Are you looking for animations to enhance your website? We've got you covered with our wide selection of creative and engaging #animations. Say goodbye to endless searching and hello to seamless integration on your website!

#### We're excited to introduce our latest YouTube series, which features diverse creative and inspiring website animations.

---

In our short videos, you'll find a variety of #animations that can be easily implemented on your website to enhance user experience.


---

### Loading CSS Animation 

---

{% youtube 6o0cfGFVvKI %}

 ---
### [Source code](https://democoding.netlify.app/loaders/loading-css-animation)


---
## For more information

1. Check my GitHub profile
[https://github.com/amitSharma7741](https://github.com/amitSharma7741)

2. Check out my Fiver profile if you need any freelancing work
[https://www.fiverr.com/amit_sharma77](https://www.fiverr.com/amit_sharma77)

3. Check out my Instagram
[https://www.instagram.com/fromgoodthings/](https://www.instagram.com/fromgoodthings/)

4. Linktree
[https://linktr.ee/jonSnow77](https://linktr.ee/jonSnow77)

5. Check my project

- EVSTART: Electric Vehicle is the Future
[https://evstart.netlify.app/](https://evstart.netlify.app/)
-  News Website in react
 [https://newsmon.netlify.app/](https://newsmon.netlify.app/)
-  Hindi jokes API
 [https://hindi-jokes-api.onrender.com/](https://hindi-jokes-api.onrender.com/)
- Sudoku Game And API
[https://sudoku-game-and-api.netlify.app/](https://sudoku-game-and-api.netlify.app/)

---
---