teleren/devto huggingface dataset:
¿Qué es DevSecOps?
Tags: devsecops, spanish, cybersecurity, developer
Published: 2022-10-20 13:46:43

**DevOps** es un conjunto de prácticas que combinan el desarrollo de software (**Dev**) y las operaciones de tecnología de la información (**Ops**) para acortar el ciclo de vida de desarrollo de los sistemas y, al mismo tiempo, ofrecer funciones, correcciones y actualizaciones con frecuencia en estrecha consonancia con los objetivos empresariales.

El objetivo de **DevSecOps** es incorporar la seguridad a la cultura de DevOps en una fase temprana del proceso de desarrollo de aplicaciones, de modo que se convierta en parte de la aplicación y no en una idea tardía. De este modo, las organizaciones pueden proteger sus aplicaciones de forma más eficaz sin dejar de entregarlas rápidamente.

**La adopción de un enfoque DevSecOps tiene muchas ventajas**, entre ellas:

-   **Mayor velocidad y agilidad**: Al integrar la seguridad en el proceso de DevOps, las organizaciones pueden entregar aplicaciones más rápidamente sin comprometer la seguridad. Esto se debe a que las pruebas de seguridad pueden realizarse de forma continua a lo largo del ciclo de vida del desarrollo de software en lugar de realizarse como un paso separado al final.
-   **Mejora de la calidad**: Un enfoque en la calidad tanto de Desarrollo como de Operaciones conduce a una mejor calidad general de las aplicaciones entregadas utilizando un enfoque DevSecops. Además, las pruebas automatizadas y la integración continua/entrega continua ayudan a garantizar que sólo se despliegue código de alta calidad en los entornos de producción.
-   **Reducción del riesgo**: Los riesgos de seguridad se identifican en una fase temprana del proceso de desarrollo de software, cuando son más fáciles y menos costosos de solucionar. Además, al automatizar tareas repetitivas como el escaneo de vulnerabilidades o las pruebas de penetración, las organizaciones pueden liberar recursos que pueden utilizarse mejor para otras tareas como la investigación de incidentes o la respuesta a emergencias.

-FIN-
how to delete the Element in slice using Slice Golang
Tags: go
Published: 2022-10-20 13:38:32

```
//how to delete the Number in Slice Golang
	a := []int{10, 20, 30, 40, 50, 60, 70, 80, 90}
	var i int
	fmt.Print("Enter deleted number index..: ")
	fmt.Scan(&i)
	a = append(a[:i], a[i+1:]...)
	fmt.Println(a)
```
New Testimonial Component Released! 🎉
Tags: react, tailwindcss, html, uiweekly
Published: 2022-10-20 13:21:58

Fresh Testimonial components with 22 variations, are now ready to be copied and pasted!

[https://wind-ui.com/components/testimonials](https://wind-ui.com/components/testimonials)

Have a look and share the love! 💚
Testing The Endpoints 🧪
Tags: go, redis, testing, showdev
Published: 2022-10-20 13:16:55

After completing the implementation of the handlers and the endpoints, now it's time to test the all thing. 

Start the project with `go run main.go` (main.go file is the entry point) and open http://localhost:1323/ in browser, or run the following command in your terminal

```
curl -X GET http://localhost:1323
```

If you got the following message that means that the server is working as expected.

```json
{
  "message":"Welcome to Go URL Shortener with Redis !🚀"
}
```

Now let's create short URL for the provided long URL. For this scenario, use the **POST** endpoint **/encode**, with the following body as an example:

```json
{
  "long_url": "https://go.dev/doc/tutorial/getting-started",
  "user_id": "UwQPr3aIf9dM5x7r"
}
```

```
curl -X POST http://localhost:1323/encode \ 
-H 'Content-Type: application/json' \
-d '{"long_url": "https://go.dev/doc/tutorial/getting-started", "user_id": "UwQPr3aIf9dM5x7r"}'
```

📝 You can use any rest client you have installed locally.

The response should look like the json below:

```json
{
  "short_url":"http://localhost:1323/dysg5Fas"
}
```

And finally, to get the initial long URL, use the **GET** endpoint **/decode** with the shortURL specified as path parameter:

```
curl -X GET http://localhost:1323/decode/dysg5Fas
```

As response we should get JSON with the long URL corresponding to the provided short URL:

```json
{
  "long_url":"https://go.dev/doc/tutorial/getting-started",
  "short_url":"http://localhost:1323/dysg5Fas"
}
```

If everything was right, we can say that our application works flawlessly! 🎉

---

Originally published at [projectex.dev](https://projectex.dev/challenges/how-to-build-a-url-shortener-in-go-with-redis/)
Initial Setup 🛠
Tags: go, redis, programming, beginners
Published: 2022-10-20 13:12:01

We will need **Go 1.14+** installed in our system. You can check the Go version in your terminal by writing `go version`. If you still don't have Go on your system, you can easily download one with `brew install go` using [Homebrew](https://formulae.brew.sh/formula/go). Or follow the official documentation on how to [download and install Go](https://go.dev/doc/install). 

Let’s initialize the project.

```
go mod init go-redis-url-shortener
```

📝 This will create **go.mod** file in the project folder.

After successfully initializing our project, the next step is creating the **main.go** file and add the following code.

```go
package main

import "fmt"

func main() {
	fmt.Printf("Welcome to Go URL Shortener with Redis !🚀")
}  
```

If we run `go run main.go` in the terminal inside the project directory (where our main.go file is located) we should see this output: 

*Welcome to Go URL Shortener with Redis !🚀*

Amazing! The project setup was successful. 

Now let’s add **Echo**, an open-source Go web application framework, so we can easily build our web application. For more details visit their [website](https://echo.labstack.com/).

```
go get github.com/labstack/echo/v4
```

📝 This will create **go.sum** file in the project folder.

All right, all right. Now we are ready to **start the web server** and return some data in JSON format. Update the main.go file to reflect these changes.

```go
package main

import (
	"github.com/labstack/echo/v4"
	"net/http"
)

func main() {
	e := echo.New()
	e.GET("/", func(c echo.Context) error {
		return c.JSON(http.StatusOK, map[string]interface{}{
			"message": "Welcome to Go URL Shortener with Redis !🚀",
		})
	})
	e.Logger.Fatal(e.Start(":1323"))
}

```

Run again the main.go file (command: `go run main.go` ) and open **http://localhost:1323/** in your browser or other rest client tool. The output should look like this.

```json
{
  "message": "Welcome to Go URL Shortener with Redis !🚀"
}
```

If you got this JSON response, **it’s time to celebrate**. This means that our setup was done successfully. 👏

---

Originally published at [projectex.dev](https://projectex.dev/challenges/how-to-build-a-url-shortener-in-go-with-redis/)
Intro 🎬
Tags: go, redis, webdev, tutorial
Published: 2022-10-20 13:09:06

Let’s admit it. We all have used a shortened URL at least once.

**URL Shortener** is an application that allows users to shorten unwieldy links into better-looking URLs. This is useful for a variety of purposes, such as sharing links on social media or simply sending links via email. 

To build such an application, we want a powerful and efficient programming language. **Go** was designed by Google engineers with the needs of modern developers in mind. It's a compiled language that runs quickly and efficiently on a variety of platforms. Plus, its syntax is clean and easy to read, making it a great choice for those just starting with coding.

This series will explore how to write a URL shortener in the Go programming language and **Redis** as a storing mechanism.
Site Suggesting Colors Compatible with the Color of Your Choice | 2022
Tags: design, proposal, webdev
Published: 2022-10-20 13:00:00

When we first decided to become designers, I can say that we had the most difficulty in choosing colors and fonts. When I chose a color at first, I had a hard time finding colors that were compatible with ten **colors**. Now, thanks to a site I found, I no longer have difficulty finding colors that are compatible with a color.

In this article, we will take a small look at this site I found. The name of our site is **mycolor**. Even though it is currently in beta version, it helps us a lot about **color** selection.


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

After entering your own hex code in the section that says **#845EC2** in the screenshot above, after clicking the generate button below it, this site offers us **color** palettes compatible with the color we have entered.

## Sample Color Experiment

I am doing a test of alizarin, one of the most used colors. Alizarin color is a red dye used for dyeing textile fabrics. After generating, it offers us palettes such as Generic Gradient, Matching Gradient, Spot Palette, Twisted Spot Palette and more.


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

In this blog post, we looked at mycolor.space, a site where you can find colors compatible with the color you have. See you in my next blog post…

Link: [Mycolor.space](https://mycolor.space)
Standardized checklist for successful Machine Learning deployment
Tags: machinelearning, mlops, datascience, deployment
Published: 2022-10-20 12:40:37

If you ever deployed a **Machine Learning** model to production, then you must have had some kind of standardized checklist of information and prerequisites you need for deployment…or you wished you had one. My experience is that most people tasked with deployment do the latter - wish for it…

So my team decided to run a very short survey about the requirements for ML model artifacts and metadata needed for deployment. Our goal is to produce a **standardized checklist for successful deployment that will be distributed for free to everyone**. No more wishing! 

If you are one of those people who deploy machine learning regularly and wished you had such a checklist, then join our mission! We’ll really appreciate you taking 10 minutes to help us out and fill out this [questionnaire](https://bit.ly/3ewtgPf)

It will mean a lot if you also share the link with anyone you think can benefit and contribute to our goal. Thanks in advance! :)
Appwrite OSS Fund Sponsors Presentator
Published: 2022-10-20 12:34:32

Hi readers 👋, welcoming you back to the "Appwrite OSS Fund" series, where we celebrate open-source maintainers. 🎉

## 🤔 What Is OSS Fund? 
On the 4th of May, the Appwrite team launched the [OSS Fund](https://appwrite.io/oss-fund), an initiative to support open-source project maintainers. Being an open-source company, we wanted to give back to the community and help as many people as we can. 

The OSS Fund is an initiative that is very close to our heart. 
Hear what our Founder and CEO has to say - The Appwrite Story:
{% embed https://appwrite.io/oss-fund-announcement %}

> ### 📢 Announcing The Seventh Project 
> After careful considerations from the committee we are thrilled to announce the seventh project:
> {% embed https://twitter.com/appwrite/status/1578378692492918785?s=20&t=wwh_Y1L8o_00-8hfk9u41g %}

## 🤔 What Is Presentator?
[Presentator](https://github.com/presentator) is a free and open source design presentation and collaboration platform.
Its main goal is to help designers to share their mockups and prototypes with others so that they can gather feedback more easily and orderly.

## 🤝 Meet The Maintainer
[Gani](https://github.com/ganigeorgiev), who is a software developer from Sofia, Bulgaria is the maintainer of Presentator. 

He is currently working remotely as team lead for a small Belgium company that develops park management and access controls solutions. The best part about his job is, a flexible reduced-hour working model (4 days work week), which allows him to spend more time on my hobby open source projects.

## 💡 How Did The Idea Of Presentator Come Up? 
The idea of Presentator was born back in ~2016/2017 when at work Gani and his team had a client with very strict NDAs that didn't allow them to share any digital assets, related to the projects that they were working at the time, with other third parties. In short, anything related to the project was allowed to exist only within their access restricted internal network. After hearing the complaints of the designers about this, Gani decided to create a self-hosted design presentation platform and thus Presentator was born.

## 🚘 The Journey So Far
Presentator was born as an idea to help designers. There were also other issues with the existing prototyping and design sharing tools - they were clunky and slow, most of them have complex and cluttered interface which often caused confusions for non-technical users.

## 🗒️ Ending Notes
As Gani continues to work on his project, he wants to thank Appwrite and everyone who supported him.

In his words:

> "Thanks to the Appwrite team and everyone else who decided to support Presentator and   my open source journey. It really means a lot to me!"


If this story resonates with you or your friend, tell them about OSS Fund, as applications are still open:
{% embed https://appwrite.io/oss-fund %}
WHAT IS GAS IN THE ETHEREUM BLOCKCHAIN NETWORK?
Published: 2022-10-20 12:27:49

**<u>GAS:</u>**
Gas in the blockchain ecosystem is normally compared to the gasoline that is required by a car to move.  

Why do we give such a comparison, and what is gas anyway? Let's have a look: 

**Gas**: this is the fee that is required to successfully run a transaction or execute a smart contract in the Ethereum blockchain network.   

The main reason for introducing the concept of gas was:  

1. To pay the Ethereum miners for the energy they’ve used to conduct transactions. This is why it is described as the fuel that is needed to run the Ethereum network.  
2. To provide a layer of security by making it expensive for users to spam the network.  

A lot of people hate gas fees because they can be very expensive. Why is this so?  

1. When there is a surge in activity of the network; a lot of people trying to conduct transactions at once, the gas fees usually skyrocket. This is because as more transactions occur, the blockchain needs more computational power, thus leading to the surge in gas prices.  
2. When you’re executing a transaction that requires more computational power. Simple transactions such as a peer-to-peer transaction of sending ether, doesn’t require a lot of computational power thus it will use little gas. But complex transactions such as interacting with smart contracts will require higher gas fees.  

Now that we have an idea of what is gas, let's see at  how gas fees are calculated:

**How are gas fees calculated:**
Gas fees are paid in Ethereum’s native currency, ether (ETH). The gas prices are usually denoted in gwei (a denomination of ETH i.e 1 gwei = 0.000000001 ETH (10^-9 ETH).  

Gas fees are usually calculated using the formular:  
`Gas limit * Gas price per unit = Gas fees` 

Gas limit is the maximum amount of gas a user can use to in a transaction.  

Gas price is the the amount of ETH paid to the miners for processing the transactions.  

So, if the gas limit was 30,000 and price unit was 300 gwei, the result would be:  

`30,000 * 300 = 9,000,000 gwei or 0.004ETH`

That sums it all. I hope you now have a good understanding of what gas is in the blockchain ecosystem and how it works. 

Thank you for reading this far!
Create your first piece of CSS art from scratch.
Tags: showdev, html, css, beginners
Published: 2022-10-20 12:11:03

In this post, we are going to be making a Daily UI logo in CSS. To help you personalise and make it your own, I'll walk you through the code and then explain how to apply it. Let's get started now!

## Getting Started

Go ahead and initialise our new project using the [CodePen playground](https://codepen.io/javascriptdon/full/QWmOVvW) or setup your own project on [Visual Studio Code](https://visualstudio.microsoft.com/) with the following file structure under your src folder.

```
DailyUI Starter Files
  |- CSS
      |- style.css 
  |- /src
    |- index.html
```

## Part 1: Setting up our Document

In our examples, I'll stick to using only HTML and CSS, although you are free to use any technology you find most convenient. The following should go in the `<body>` of a new HTML document or a blank Pen on [CodePen](https://codepen.io/javascriptdon/full/QWmOVvW) for the Daily UI Logo Design.

```html
<body> 
   <div class="container">
     <div class="content__group">
       <h1>DAILY</h1>
       <p>ui</p>
     </div>
    </div>
</body>
```

## Part 2: Specify colors, positions, font and sizes in our CSS.

Normally, you'll need to know the size and colour scheme of the visual you have in front of you before you can create one. I'll give you those measurements and colours in this particular situation.

Now let's include those measurements and colours in our css file.

```css
:root{
  --clr-primary-black:  #000000;
  --clr-primary-vividBlue: #0B23FF;
}

*{
  margin: 0;
  padding: 0;
    -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
background: linear-gradient(109.92deg, rgba(171, 171, 171, 0.2) -7.86%, rgba(0, 0, 0, 0) 131.21%), #FFFFFF;
}

.container{
  display: flex;
  justify-content: center;
  align-items: center;
}

.content__group h1{
position: absolute;
margin-top: 3.95rem;
  
font-family: 'Montserrat', sans-serif;
font-style: normal;
font-weight: 900;
font-size: 3.438rem;
line-height: 4.188rem;
/* identical to box height */

color: var(--clr-primary-black);

}

.content__group p{
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-size: 18rem;
line-height: 21.938rem;
/* identical to box height */
color: var(--clr-primary-vividBlue);
text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}
```

> 💡 Note - I advise using Figma to quickly prototype your static UX/UI design. 

You can find my final product on my CodePen profile if you'd want to see it (below). 

## Part 3: Recap

{% codepen https://codepen.io/javascriptdon/pen/QWmOVvW %}

After reading this, I sincerely hope you learnt something new and were inspired to try your hand at creating something lovely.
What is Design for Failure?
Tags: failure, beginners
Published: 2022-10-20 12:09:42

## Pre-study image

Is it a design for failure kind of story?

## Study

### What is Design for Failure?

Design for Failure refers to the concept of designing a system based on the assumption that failures will occur.
Servers can fail, AZ/region things can fail.
The idea is to improve the availability of the service by taking countermeasures in case of failures.

### How to realize Design for Failure

- Elimination of SPOFs

To improve availability, it is important not to create single-point-of-failure (SPOF).
By configuring the system in an HA configuration or, in the case of AWS, in a multi-AZ, multi-region configuration, it is possible to avoid SPOFs at a single point of failure.
This is because services can continue to operate even if an entire AZ or region fails.

- Monitoring

Service monitoring for early detection of service failures, resource monitoring to detect performance degradation, etc.
It is necessary to set up constant monitoring of logs and metrics in the service for early detection and early recovery.

- Recovery Methods

When a failure occurs and the client is affected, how to recover?
It is possible to recover early by deciding in advance how to move within the organization and what recovery methods to use when a failure occurs and clients are affected.

## Image after study

SPOF is indeed ・・・・.
Basically, it means you have to think of the server as something that dies.
Internships
Published: 2022-03-09 20:00:45

---
title: Internships
published: true
date: 2022-03-09 11:40:00 UTC
tags: 
canonical_url: https://dataroots.io/research/contributions/internships
---

### Want to discover if you a career in AI is something for you? Apply for one of our cool internships or propose your own!

We are already planning the internships of next year, here is a sneak peak into what it entails

🤖 **Looking for an internship?**

Internships are the perfect way for you to see if you would like to pursue a career in AI and for us to see if there’s a match for a long-term collaboration!

There is not enough time in a human life to develop all the cool ideas that we have in mind so it didn’t take too long for our team of experts to put together a cool list of topics for your internship. This will give you the opportunity to get introduced to the world of AI, Cloud, DataOps, InfraOps and robust software design.

Our internships will be around the following topics:

- **Art** : can AI be used to create art? Or as a support for artists? 
- **Causal inference and decision algorithms** : how to use AI to improve decision making and optimize journeys?
- **Compliance** : what are the risk of an AI system, how can they be assessed, mitigated and monitored? 
- **Data centric** : how to build an organisation around data? How to take data driven decisions? 
- **Ethics** : what are the dangers of AI, how can we be aware of biases and control for them? 
- **Explainability** : how to explain decisions made by AI, to understand it better, mitigate risks and improve it? 
- **Governance** : how to make sure that all your AI models and data does not become a bit mess, that no one understands anymore? 
- **MlOps** : how to productionalize the models in a standard way? Scale to serve your many models
- **Orchestrators** : how best orchestrate your AI processes?
- **Sensor data** : using sensor data to monitor and optimize processes
- **Streaming data** : how to create efficient pipeline with streaming data and AI?
- **Sustainability** : how to avoid an ecological disaster, how to reduce the energy cost of AI?
- **Synthetic data** : when only little data is available, can we create data to improve the training?

If you have a cool idea yourself, we’d be more than happy to hear about it and see how we could help you out!

During the internship, you will be working with dataroots colleagues that will support you throughout your journey. Together, we will define the scope of the project and guide you towards a successful delivery. The goal of this internship is not only to deliver a successful end result but to also introduce you to industry best practices and most of all to get you excited to start a career in AI!

You’ll be invited to one of our offices which are the ideal workplace to meet people with an innovative mindset and to guide you as closely as possible, not leaving you hanging with any questions.

So do you feel ready to roll into your next adventure? Let’s meet!

[Are you completely convinced after reading this information? Then don't hesitate to take a look at our open positions!](https://careers.dataroots.io/o/internships)
I made a premium admin dashboard for NextJS & Typescript!
Tags: webdev, showdev, react, nextjs
Published: 2022-10-20 11:47:44

Hey guys,
I made a premium admin dashboard for NextJS & Typescript!

Presentation: https://horizon-ui.com/pro
Live demo: https://horizon-ui.com/chakra-pro/
Free version: https://horizon-ui.com/