teleren/devto huggingface dataset:
HTML FAQ
Tags: html, webdev, programming, faq
Published: 2023-06-26 08:21:22

Here is some most common FAQ in the HTML

## What is HTML.?
HTML stands for Hyper Text Markup, Which is commonly used in web pages. It usually provides a strucutre for the web page

## Describe the meaning of the word Hyper.
"hyper" refers to the ability to go beyond linear text and navigate to different sections or related content within a document or across different documents.

## Give a brief introduction about HTML history.
In 1980 HTML was introduced, now its version in 5 which is introduced in 2008.

## What is an IP address.?
IP - Internet Protocol is used to indentify the devices uniquely acoross a same network

## Why was IPV 6 introduced.?
It was introduced due to limitations with the IPV4. This gives us access to more devices.

## Explain the process of a web server and why do we need it.?
Usually web server provides us some specific functionality

## What is a web browser.?
We are using Web Browsers to access a web site that is in the internet

## How HTTP works and what does it really do.?
HTTP is also known as Hyper Text Transfer Protocol, which acts a request response server that mainly communicate through TCP in Hyper Text Mode

## Describe the anatomy of a HTML element.
<p(HTML Tag) class(Attribute)="desc"(value)> Text (Content) </p>(Closing Tag)

## What are meta tags and why do we want meta tags in HTML.?
We are using meta tags for special occasions such as defining meta data that will use by third parties. This helpful when SEO, Sharing links ..etc

## What is a domain name.?
Domain name is a human readable name that represents a web site

## What is DNS.?
DNS is a decentralised naming system that translate domain name to a IP address

## What is a URL.? What parts does it contain.?
URL - Uniform Resource Locator is a location string we are used to refer a remote resource.

Here's an example URL: https://www.example.com:8080/path/page.html?param1=value1&param2=value2#section1

In this example:

Scheme: "https://"
Host: "www.example.com"
Port: "8080"
Path: "/path/page.html"
Query: "?param1=value1&param2=value2"
Fragment: "#section1"

## What are HTML attributes.?
We are using HTML attributes more to define a tag.

## What is the usage of HTML <!DOCTYPE html> preamble?
The <!DOCTYPE html> declaration, also known as the HTML5 doctype, is used as a preamble at the beginning of an HTML document to specify the version of HTML being used. It informs the web browser about the HTML standard to which the document adheres.
AWS Cross-Region S3 Bucket Replication
Tags: aws, s3, replication
Published: 2023-06-26 08:05:11


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

# 👋 Cross-Region Replication
AWS S3 Cross-Region replication enables you to sync your files from a **source** S3 Bucket to a **destination** S3 Bucket, You can make use of this feature for your **Business's compliance needs** or **to reduce the latency for users** who connect from other regions to access content from your applications.

## Let's walk through the steps to set up S3-Cross Region replication now


- 
Log into your AWS Console and navigate to the S3 Bucket section.

- 
Create two S3 Buckets, One as your source S3 Bucket and the other one as your destination S3 Bucket as shown below.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zfreskiffbjkvbkc3ssz.PNG)


Next, make sure to **enable versioning** as a precaution to prevent any files from getting overwritten In case you upload the same content mistakenly again.

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

- 
As shown below, Give a **name for the Replication Rule**.

- 
Then, in the **Rule Scope** section choose **Apply to all the objects in the Bucket**. This will make sure all objects you upload to the destination bucket will get replicated to the destination bucket.

- 
Now, **choose the destination S3 Bucket** where you would want your content to be replicated.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/38pnkznnou078ua93ph2.PNG)


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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5msa540sbuhlkl23945o.PNG)

Then in the **IAM role** section, allow the console to create an IAM role for you. Alternatively, if you already have an existing IAM role with the required permissions then you can pick that too.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3za9cwq9vll7d5wi8cqo.PNG)


**We are done with the setup now and it's time to test to make sure the contents are getting replicated to the destination.**

- 
Go to your source S3 Bucket and upload a file.

- 
Then open the destination S3 Bucket to see the replicated content. (see the image below)

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



🙌 Good Job! You have finally implemented the S3 Cross-Region Replication.
Cheat: read edn file, replace values and return condensed map
Tags: clojure
Published: 2023-06-26 08:01:23

You can see how to replace nested values in Clojure in this [post](https://dev.to/cbillowes/how-to-replace-nested-values-in-clojure-419l).

This code will 

- read an edn file
- convert the edn from string to a Clojure data structure
- get the first item in the vector
- recursively replace values inside that map
- convert it back to a map
- print the result on one line to use as a condensed map

```clojure
(-> (slurp "path/to/file.edn")
    clojure.edn/read-string
    first
    (replace-values :something "something")
    (replace-values :else "else")
    (into {})
    prn)
```

This is pretty useful if you are creating files with a bunch of test data in it.
LifeLine #2 (v0.9.0)
Tags: spanish, webdev, development, blog
Published: 2023-06-26 07:56:00

Estoy emocionado porque cada vez se está más cerca de lanzar la primera versión estable, la cual incluiría lo siguiente:

- Gestor de eventos y tareas
- Sincronización de eventos y tareas en todos los dispositivos en donde se inicie sesión.

Para esta versión(0.9.0) ya se encuentra funcionando la sincronización de eventos, además de que se estrena un nuevo diseño minimalista y centrado en la funcionalidad.
Para la siguiente versión se espera tener lo siguiente:

- Sincronización de tareas
- Crear listas de tareas
- Crear múltiples calendarios

Estos cambios ya se encuentran en la rama principal del repositorio, al igual que el sitio web, la aplicación ha estado disponible solamente para testers, pero desde esta versión ya estará disponible como primera versión disponible para el público general, tan pronto como sea verificada por la tienda, actualizaré el link de este post además de que será compartido por las redes sociales.

## Enlaces de interés

- <a href="https://lifeline.dowar.xyz/" target="_blank">Sitio web</a>
- <a href="https://gitlab.com/gonzam4/lifeline" target="_blank">Repositorio FrontEnd</a>
- <a href="https://gitlab.com/gonzam4/lifeline-backend" target="_blank">Repositorio Backend</a>
- <a href="https://mastodon.social/@dowardev" target="_blank">Perfil de Mastodon(DowarDev)</a>
- <a href="https://www.linkedin.com/company/dowardev/" target="_blank">Página de LinkedIn(DowarDev)</a>
How to replace nested values in Clojure
Tags: clojure
Published: 2023-06-26 07:55:17

You can use `clojure.walk/postwalk` to replace nested values that exist in maps and vectors.

```clojure
(defn replace-values [data target-key new-value]
  (clojure.walk/postwalk
   (fn [x]
     (cond
       (map? x) (into {} (map (fn [[k v]] [k (if (= k target-key) new-value v)])) x)
       (vector? x) (vec (map #(replace-values % target-key new-value) x))
       :else x)) data))
```

```clojure
(def data {:cart {:something 0 :fruit {:apples 1 :bananas 2 :something 1}} :vegetables [{:eggplants 10 :potatoes 3 :something 0}]})
(replace-values data :something 42)
;; => {:cart {:something 42, :fruit {:apples 1, :bananas 2, :something 42}}, :vegetables [{:eggplants 10, :potatoes 3, :something 42}]}
```
[React] Intro & Setting
Published: 2023-06-26 07:46:07


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

## React
### What is React?
> A JS library for building user interfaces

- is known for its **efficiency** and **flexibility** in creating interactive and reusable UI components
- The main idea behind React is tobreak down the user interface into small, isolated components.

( **Component** : A codeset that writes code for structure and operation as a bundle )
- Each component represents a part of the UI and can have its own state and properties. 
- These components can be combined to build complex UI structures.
<br/>

### Why shoud we use React?
#### Using just JS isn't a great option
- cumbersome
- error-prone
- hard to edit / maintain

#### By using React,
- high speed (Virtual DOM)
- reusable and clearer web components

<br/>

## Features of React
#### 1) Declarative
Aims for declarative programming
that does not divide html/css/js, 
but uses JSX to explicitly write in one file

#### 2) Component-based
Separation into each component for one function
- **The top-level component is the root** and has child components
- **Hierarchy**: Shaped as a **tree structure**
- - Create and combine multiple components to create applications
- **Independence** 
Possible to develop by focusing on the function itself
- **Reusability** 
Maintenance, Unit testing

#### 3) Versatility
- Flexible application to any JS project
- Managed by facebook -> Stable
- Mobile development is possible with React Native

<br/>

## Create React App
- A tool chain designed to make developing SPA easy and fast
- Even if you don't know how all the tools work, it helps you to set up complex development in advance

### Creating a React app using npm
[terminal] ```npx create-react-app project_name```
[e.g.]   ```npx create-react- app MyFirstReact```

### How to run a React app
[terminal]```npm run start```
Ezeelogin
Published: 2023-06-26 07:37:45

Ezeelogin Is an All-In-One SSH (Secure Shell Protocol) Gateway Network Protocol Platform for Business to Meet Compliances Such as PCI DSS, HIPPA, SOX, SOC2, FFIEC NIST, NERC, ISO 27001. We Empower Millions of Customers Around the World to Secure and Automate Their Linux Machine with Our Smart Technology, Award-Winning Support, And Inspiring Features Built for Engineers. Founded In 2012 And headquartered in Kerala India with Additional Office in Delaware USA, and Offering Services Globally Having  Clients from E-Commerce, Fintech, Mobile, Advertising Company, Start-Ups, Data Canters, Hosting Providers Etc to know more visit us: [](https://www.ezeelogin.com)
Weekly Roundup 010 (Jun 19): 🔥Hot Topics🔥 in #workplace, #sharepoint, and #powerplatform
Tags: roundup, sharepoint, powerplatform, workplace
Published: 2023-06-26 07:27:50

Hey fellow developers! It's @jaloplo, here to give you the latest scoop on what's been happening in the [#workplace](https://dev.to/t/workplace), [#sharepoint](https://dev.to/t/sharepoint), and [#powerplatform](https://dev.to/t/powerplatform) communities. 😎

## [#workplace](https://dev.to/t/workplace)

- [How to Use AI in Employee Engagement](https://dev.to/kpawan24/how-to-use-ai-in-employee-engagement-42gc) by [Pawan Kumar](https://dev.to/kpawan24)
- [Does anyone else have mixed feelings with remote work?](https://dev.to/theaccordance/does-anyone-else-have-mixed-feelings-with-remote-work-22k4) by [Joe Mainwaring](https://dev.to/theaccordance)
- [How Odin AI Helps Employees To Boost Productivity and Time Efficiency | Odin AI](https://dev.to/getodinai/how-odin-ai-helps-employees-to-boost-productivity-and-time-efficiency-odin-ai-17hf) by [Get Odin AI](https://dev.to/getodinai)

## [#sharepoint](https://dev.to/t/sharepoint)

- [Unlocking Efficiency: Streamlining Custom Functionality for Site Owners with SharePoint Online Site Templates](https://dev.to/jaloplo/unlocking-efficiency-streamlining-custom-functionality-for-site-owners-with-sharepoint-online-site-templates-5eaf) by [Jaime López](https://dev.to/jaloplo)

## [#powerplatform ](https://dev.to/t/powerplatform)

- [Power Automate, The Direct Methodology](https://dev.to/wyattdave/power-automate-the-direct-methodology-32mf) by [david wyatt](https://dev.to/wyattdave)
- [Build automation workflows on Microsoft Power Platform](https://dev.to/edenai/build-automation-workflows-on-microsoft-power-platform-pl5) by [Eden AI](https://dev.to/edenai)
- [Get User Properties with Graph API in Power Automate](https://dev.to/tahmidsparrow/get-user-properties-with-graph-api-in-power-automate-2m6p) by [tahmidsparrow](https://dev.to/tahmidsparrow)

That's all for this week's roundup! Thanks for tuning in, and remember to keep the discussions lively and informative in our tags. 💬 If you have any suggestions for future topics, feel free to drop them in the comments below. See you next week! 👋
AZ-500 Exam Dumps: Practice for Real Exam Scenarios and Gain Confidence
Tags: webdev, javascript, beginners, programming
Published: 2023-06-26 07:23:16

Using high-quality AZ-500 exam dumps can provide numerous benefits for individuals pursuing a career in Azure security. It allows them to familiarize themselves with the format and content of the actual exam by providing practice questions that mimic the real thing. This helps alleviate any anxiety or stress associated with taking such an important test.

Additionally, using <a href="https://dumpsboss.com/microsoft-exam/az-500/">AZ-500 Exam Dumps</a> enables learners to identify their strengths and weaknesses in specific areas of knowledge related to Azure security. By doing so, they are able to prioritize their study efforts and focus on improving their weaker areas before taking the actual certification exam.

Moreover, utilizing AZ-500 exam dumps can save individuals time and money by avoiding failed attempts at passing the certification test. The cost of taking these exams multiple times can add up quickly, making it crucial to prepare thoroughly beforehand.

Using high-quality <a href="https://dumpsboss.com/microsoft-exam/az-500/">AZ-500 Dumps</a> is a valuable resource for anyone looking to pursue a career in Azure security as it provides ample opportunity for preparation and success on the certification exam.

Unlock Your Potential with Our Exclusive Offer! >>>> https://dumpsboss.com/microsoft-exam/az-500/
Explain the concept of Transactions in SQL
Tags: sql
Published: 2023-06-26 07:22:08

In SQL (Structured Query Language), transactions are a fundamental concept that ensures the integrity, consistency, and reliability of database operations. A transaction is a sequence of one or more database operations that are treated as a single logical unit. The primary purpose of transactions is to guarantee that all operations within a transaction are executed atomically, meaning they either all succeed or all fail.

**Transactions in SQL follow the ACID properties:**

**1. Atomicity:** Transactions are atomic, which means that either all the operations within the transaction are executed successfully, or none of them are. If any operation within a transaction fails, the entire transaction is rolled back, and the database is left in its original state.

**2. Consistency:** Transactions ensure that the database remains in a consistent state throughout the transaction. This means that all the constraints, rules, and relationships defined in the database schema are preserved. If a transaction violates any of these constraints, it is rolled back to maintain data integrity.

**3. Isolation:** Transactions provide isolation, which means that each transaction is executed independently and does not interfere with other concurrently running transactions. The changes made by one transaction are not visible to other transactions until they are committed. This isolation prevents data inconsistencies that could arise from concurrent access.

**4. Durability:** Once a transaction is committed, its changes are permanently saved in the database even in the event of a system failure or power outage. The committed data is durable and can be recovered and restored in case of any disruptions.

Transactions are initiated with the BEGIN TRANSACTION statement and concluded with either a COMMIT statement, which permanently applies the changes made within the transaction, or a ROLLBACK statement, which cancels all the changes and restores the database to its original state. By obtaining [SQL Course](https://www.edureka.co/microsoft-sql-server-certification-training), you can advance your career in the field of SQL Servers. With this Certification, you can demonstrate your expertise in working with SQL concepts, including querying data, security, and administrative privileges, among others. This can open up new job opportunities and enable you to take on leadership roles in your organization.

By using transactions, SQL ensures data integrity and reliability, even in complex and concurrent environments. They provide a mechanism to group related database operations together, maintain consistency, and protect against data corruption or loss. Transactions are crucial for applications that require accurate and reliable data management, such as banking systems, e-commerce platforms, and enterprise-level software.
Freebasic winfbe,ide like vb6
Published: 2023-06-26 07:17:29

`form1.ShowDialog
Function Form1_Click( ByRef sender As wfxForm, ByRef e As EventArgs ) As LRESULT
   messagebox(0,"","Test",0)
end function
`

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

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

download from here for test:
WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023) - freebasic.net
https://www.freebasic.net/forum/viewtopic.php?t=25215

https://github.com/PaulSquires/WinFBE/releases
Setting Up Visual Studio Code for Salesforce Development with Salesforce Extension Pack: Step-by-Step Guide
Tags: salesforce, visualstudiocode, salesforcecoding, salesforcedevelopment
Published: 2023-06-26 07:14:46

> **Are you a Salesforce developer looking to enhance your coding experience and increase your productivity?** 
_Look no further! In this step-by-step guide, we'll show you how to set up Visual Studio Code for Salesforce development using the Salesforce Extension Pack. Follow along as we walk you through the installation process, configuration steps, and highlight the key features that will revolutionize your Salesforce development workflow._

---
**Are you tired of navigating through multiple tools and platforms for your Salesforce development?**

It's time to simplify your workflow and supercharge your productivity with Visual Studio Code and the Salesforce Extension Pack. In this in-depth tutorial, we'll guide you through the setup process, enabling you to harness the full potential of these powerful tools for Salesforce development.


- To begin, we'll walk you through the installation of Visual Studio Code, the lightweight yet feature-rich code editor loved by developers worldwide. If you already have Visual Studio Code installed, don't worry; you can skip ahead to the next step.

- Next, we'll introduce you to the Salesforce Extension Pack, a comprehensive collection of extensions specifically designed for Salesforce developers. We'll guide you through the installation process, ensuring you have all the necessary tools at your fingertips.

- Once the installation is complete, we'll dive into the configuration steps. You'll learn how to authorize your Salesforce org within Visual Studio Code, establishing a secure connection and enabling seamless communication between your development environment and your Salesforce org.

- As we progress, we'll explore the exciting features provided by the Salesforce Extension Pack. From Salesforce DX integration to enhanced Apex and Visualforce language support, these features will empower you to write efficient code, execute Salesforce CLI commands, and work effortlessly with Visualforce pages.

- By the end of this tutorial, you'll be equipped with the knowledge and tools necessary to take your Salesforce development to the next level. You'll be able to code, test, and deploy your applications seamlessly, all within the comfort of Visual Studio Code.

- Whether you're a seasoned Salesforce developer or just starting your journey, this step-by-step guide will serve as your compass to navigate the world of Visual Studio Code and the Salesforce Extension Pack. Say goodbye to cumbersome tools and embrace a streamlined development experience.


Watch the video tutorial now and unlock the full potential of Visual Studio Code and the Salesforce Extension Pack for your Salesforce development journey. It's time to revolutionize your workflow and become a more efficient and productive Salesforce developer.

{% embed https://youtu.be/QqSOjlL-Big %}



So, what are you waiting for? Join us on this exciting adventure and revolutionize your Salesforce development workflow today!
Open Source Framework for Distributed systems dapr
Tags: dapr
Published: 2023-06-26 07:12:17

reference - https://dapr.io/

##Dapr (Distributed Application Runtime) 
is an open-source framework that simplifies the development of microservices-based applications. It provides a set of building blocks and abstractions to handle common distributed system challenges, enabling developers to focus on writing business logic rather than dealing with the complexities of distributed systems.

Here are some key reasons why Dapr is useful:

**1. Polyglot support:** Dapr is language-agnostic and can be used with any programming language. It allows developers to build microservices using their preferred language, promoting language diversity and flexibility within an application.

**2. Portable and cloud-agnostic:** Dapr is designed to be cloud-agnostic, meaning it can run on any infrastructure, whether it's a public cloud, private cloud, or on-premises. It provides a consistent programming model across different environments, making it easier to migrate and run applications across various platforms.

**3. Distributed system abstractions:** Dapr abstracts away the complexities of building distributed systems, providing developers with a consistent set of APIs and primitives to handle common tasks such as state management, pub/sub messaging, service invocation, and event-driven workflows. This simplifies development and reduces the amount of boilerplate code required.

**4. Loose coupling and scalability:** Dapr encourages loose coupling between services by promoting event-driven communication and message-based architectures. This allows for better scalability, as services can be independently scaled based on demand and communicate through lightweight, asynchronous messaging.

**5. Observability and resilience:** Dapr provides built-in support for observability and resilience patterns. It integrates with popular observability tools, such as Prometheus and Jaeger, to collect metrics, traces, and logs from applications. It also offers features like service discovery, retries, circuit breakers, and distributed tracing to enhance application resilience.

**6. Plug-and-play extensibility:** Dapr is extensible by design. It allows developers to easily integrate with existing systems, libraries, and frameworks using its pluggable architecture. Developers can create custom components and bindings to interact with different data stores, message brokers, or external services.

**7. Community-driven and open-source:** Dapr has a vibrant and growing community of contributors and adopters. Being open-source, it benefits from community feedback, enhancements, and the sharing of best practices. This leads to continuous improvement, innovation, and a rich ecosystem of integrations.

Overall, Dapr simplifies the development of distributed applications, promotes portability, scalability, and resilience, and empowers developers to focus on business logic rather than the intricacies of distributed systems.