teleren/devto huggingface dataset:
How to Implement DevSecOps?
Published: 2020-10-01 06:44:47

Organizations need a systematic approach for DevSecOps implementation to add value to their business processes while ensuring security.

The transition from [DevOps](https://www.veritis.com/solutions/devops/) to [DevSecOps](https://www.veritis.com/solutions/devops/devsecops-services/) requires effective planning, design, and release.

Here’s a step-by-step procedure for the [successful implementation of DevSecOps Solutions](https://www.veritis.com/solutions/devops/devsecops-services/).

##DevSecOps Implementation Process##

1) Planning: DevSecOps professionals should not just stick to feature descriptions. Instead, they should focus on functional and non-functional requirements, UI and UX designs, acceptance test criteria, and threat models. 

2) Developing: Adopt ‘how-to-do-it’ approach. Start by evaluating existing practices and choose the best resources to build a development model on par with security guidelines. 

3) Building: Use automated build tools to accelerate the whole DevSecOps implementation process. Leverage them to conduct test-driven development, implement quality standards, and adopt best security practices.

4) Testing: Integrate automated testing tools into the DevOps pipeline to ensure that security is handled continuously throughout the software development lifecycle. 

5) Securing: Utilize robust testing practices that include unit testing, database testing, front-end testing, back-end testing, API testing, and passive security testing.

6) Deploying: Utilize automated provisioning and deployments for seamless and consistent product delivery. Infrastructure-as-a-code tool can audit assets in IT infrastructure and enforce secure configurations.

7) Operating: Conduct maintenance and upgradation regularly. Use infrastructure-as-a-code tools to address zero-day vulnerabilities and update IT infrastructure.

8) Monitoring: A continuous monitoring plan is imperative to have a real-time track of the system performance and address the vulnerabilities immediately. 

10) Scaling: Organizations must leverage virtualization solutions and the cloud to scale their IT infrastructure as per the demands of the modern-day IT user base. 

11) Adapting: Organizations should continuously adapt and improve DevSecOps practices throughout the software development lifecycle.

Getting Started With DevSecOps? Contact [Veritis.com](https://www.veritis.com/contact/) today!!

Source: [Medium](https://medium.com/@veritisgroup/how-to-implement-devsecops-2103007b8a2c)
You're Allowed To Write Slow Rust Code
Tags: rust, commentary
Published: 2020-11-26 14:38:11

---
title: You're Allowed To Write Slow Rust Code
published: true
date: 2020-10-01 06:31:19 UTC
tags: rust,commentary
canonical_url: https://blog.jonstodle.com/youre-allowed-to-write-slow-rust-code/
---

There's a thing that comes up from time to time in the Rust community: people wanting to optimize their code. Make the code run faster. Make it allocate less memory. These are worthy goals, but maybe not necessary for all projects. Just because your program is written in Rust, it doesn't have to be optimized to the moon and back to do it's job. In a lot of cases, you'll be fine using `.clone()`.

There's a fantastic quote from a discussion on the [Rust user forums](https://users.rust-lang.org/) which I always think of when these discussions emerge:

> Just because Rust allows you to write super cool non-allocating zero-copy algorithms safely, doesn't mean every algorithm you write should be super cool, zero-copy and non-allocating.  
> -- [trentj on The Rust Programming Language Forum](https://users.rust-lang.org/t/feeling-rust-is-so-difficult/29962/15)

Of course there's a time and place for _super cool no-allocating zero-copy algorithms_, but very often it's not the time, nor the place. You can write fantastically effective code with Rust, but **you don't have to**! A lot of the time it's entirely fine to just write code that works with minimal effort. You don't have to spend 4 days trying to figure out how lifetimes work just to avoid calling `.clone()` a few times.

Don't spend time trying to make micro optimizations now. Take the easy route. You'll probably come back to that piece of code in a few months time, smile, and change that `.clone()` to something more efficient.

Happy coding!

<small>NB: Watch this <a href="https://youtu.be/rAl-9HwD858">video by Jon Gjengset</a> if you want a good, pragmatic walk through of lifetimes in Rust.</small>
Why Most Developers Prefer The Dark Theme IDE?
Tags: beginners, javascript, codenewbie
Published: 2020-10-01 06:16:41

### Introduction

According to a survey, 70% of software engineers prefer a Dark theme IDE over the light theme. You will always a lot of dark theme in the popular theme section of any IDE. So why? Developers love the dark theme. So here I am going to list some reasons why I like the Dark theme.

### 1. Soothing to Eye

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

As obvious a dark theme helps us to focus on the screen without having irritation in our eyes. The dark theme doesn't make we go dry as compared to the white theme. During the low light situation, Dark theme is the most preferred theme.

 {% post https://dev.to/surajondev/5-netflix-documentaries-for-every-designer-3a4g %}


### 2. More Concentration

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

Human eyes easily find something brighter in dark surround, it comes from our ancestor. So Dark Background helps us to see the font colour clearly in the editor. Also, the different colour for the different element is easily recognizable in the dark theme. It makes code easily readable because of contrast.

### 3. Save Energy

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

This point doesn't sound like an obvious reason but a dark theme help to save energy. It might be not a lot of energy but still, if you are working on the laptop for a long session it can be helpful. Also if most people use dark theme it will result in a large quantity of energy being saved. 

 {% post https://dev.to/surajondev/5-google-chrome-extension-for-every-designer-8hd %}

*I would love to know your reason to use a dark theme. You can tell your favourite dark theme also. Thank You guys for reading this blog post.*
Create Contact Form in PHP 7 with jQuery Validation - Step by Step
Tags: laravel, php, html, css
Published: 2020-10-01 06:13:07

we will learn how to create a contact form in PHP and store the user information in the MySQL database. We will implement the form of validation in the contact form using the most popular jQuery validation script.

we will learn how to create a contact form with the help of bootstrap and validate it through the jquery validate plugin which is very.

This contact form will validate and send a direct email to the recipient’s email address, this form we will use PHP’s mail() function to achieve this task.


[Create Contact Form in PHP 7 with jQuery Validation - Step by Step](https://bit.ly/30ioPxd)
Flight API Provider
Published: 2020-10-01 06:01:26

Are you a travel agent or TMC, searching for a flight api provider to set up a flight booking engine? Flight APIs are a set of web services XMLs to access the airline contents / deals in onway, roundtrip, multi-city and group booking combinations. So if you are building an amazing flight booking platform or an app and looking for a third party flight apis provider for airline inventory - contact PROVAB today.

Visit Website: https://www.provab.com/flight-api-provider.html

Provab Technosoft is a leading flight API provider and along with its IATA accredited fully owned subsidiary, it helps you to maximise your need of flight inventory through a single unified flight booking API connection while providing rich flight contents aggregated through several IATA and Non IATA consolidators. Provab’s open travel API XML suite includes flight API, hotel API, car API, transfer API and sightseeing API.

Provab has a team of 300+ professionals and its dedicated travel technology and API integration team follows the agile methodology to bring the customer idea into reality by developing flight booking portals, extranets, DMC systems, airline reservation system and custom applications.
best-and-top-10-data-science-online-resource-available-for-every-aspiring-data-scientist
Tags: opensource, research, tutorial, datascience
Published: 2020-10-01 05:58:08

[Best-and-top-10-data-science-online-resource-available-for-every-aspiring-data-scientist](https://medium.com/@waliamrinal/best-and-top-10-data-science-online-resource-available-for-every-aspiring-data-scientist-6aa5437cd9f2?sk=2f86a7ba63e556b84374f2c8545adc1b)

###To have a successful career in Data Science, Machine Learning (ML) and Analytics, you need a combination of helping Modules like Research Papers, Tutorials, Videos, Textbooks, cheatsheets, codes and many more.

###In this piece below, we’ll look at some of the top open-source Data Science and Machine Learning Resources in 2020, as ranked by both stars and contributions on Github.

[#datascience #datascience #machinelearning #ml #artificialintelligence #openSource #Resources #papers #tutorials]
Licensing when subpackages have mixed licensing terms
Tags: law, opensource, help
Published: 2020-10-01 05:53:31

So, what should I consider if some subpackages are not MIT-licensed, such as BSD or Apache?

I don't know what to think about copylefting...

How free am I to choose a license? Can it even be [WTFPL](http://www.wtfpl.net/) or [DBAD](https://dbad-license.org/)?
What makes python a better choice for machine learning?
Tags: python, machinelearning, webdev
Published: 2020-10-01 05:39:31

AI projects are distinct from conventional projects in technology. The variations arise in the technology stack, the skills needed for an AI-based project, and the need for in-depth analysis. You can use a programming language that is stable, scalable and has resources available to implement your AI goals. All of this is offered by Python, the sole reason we see an abundance of Python AI projects. 

Python allows developers to be efficient and optimistic about the applications they're developing, from development to deployment and maintenance. Ease and reliability, exposure to excellent libraries and frameworks for AI and machine learning (ML), accessibility, platform independence, and a wide community are advantages that make Python the perfect match for machine learning projects. These contribute to the language's overall success.

<h2>Why is it a top choice?</h2>
<ol>
<li>Conciseness </li> 
The code that is written in languages like Python that are dynamically typed and seem to be shorter than code written in other conventional languages. This implies that is easier to fit the algorithm into your mind and really grasp what it's doing. 

<li>Simple to read </li>
At times, Python has been referred to as' executable pseudocode.' While this is clearly an exaggeration, it makes the point that Python code can be read by most skilled programmers and comprehend what it is meant to do. 

<li>Easily extensible </li>
Python offers access to many libraries, including those for mathematical functions, XML (Extensible Markup Language) parsing, and downloading web pages.  The non-standard libraries used in the book are free and quick to download, install, and use, such as the RSS parser and the SQLite interface. 

<li>Interactive </li>
Python can directly run programs from the command line, and it also has an interactive prompt that allows you to interactively type function calls, construct objects, and test packages. 

<li>Multiparadigm</li>
Object-oriented, procedural, and functional programming types are provided by Python. Machine-learning algorithms vary widely, and a particular framework can be used as the clearest way to apply one. Often it is beneficial to pass functions as parameters and other times to capture an object's state. 

</ol>

<h2>Check This Article</h2>

<a href="https://codersera.com/blog/5-types-of-machine-learning-algorithms-you-should-know/">5 Types of Machine Learning Algorithms You Should Know</a>
How to use Blender without a GPU
Tags: blender
Published: 2020-10-01 05:35:48

I think, having some Blender (3D) knowledge is critical for a game developer. But not having a GPU (or a good GPU) should not be a blocker.

Blender has some tools to help us to use it with decent performance even without a GPU. Here's how to do it:

{% youtube mjLVonMZqD0 %}
How To Make Yourself Sneeze – What Happens When You Sneeze

Tags: sneeze, howtofast, whatisa
Published: 2020-10-01 05:23:20

How to make yourself sneeze? Well, sneezing is the most annoying and itchy feeling, but sneezing sometimes needs. When we need to sneeze, but we can not.
This can make us frustrated, especially if we need to clear out any irritating passages or relieve the congestion.
If you want to sneeze to clear out your system before you talk, to greet your date, attend a meeting, eat a meal, or if you want to clear out the nasal.
Or whatever the reason, there are several different ways that can help you to sneeze. Keep reading this blog to know how to make yourself sneeze?
What Is A Sneeze?
Before knowing how to make yourself sneeze, let us know the basics of what is a sneeze in the first place. A sneeze is a natural body reaction to small things like viruses, pollution, or dust that enter our body from the nose.
Under the impression that it involves just the nose or even the respiratory system, and the brain is a part of this action.
In fact, our brain has a special part that helps to make us sneeze. Plus, there is the diaphragm, the abdominal muscles, the throat, and the chest all putting their bit efforts in the sneezing process.
This is how the body will react to these things to protect the organs. So, the particles that enter our body can send back to the outside. Sneezing activity also occurs to clear the nose.
Sneezing is a reflex movement that our body system has to protect us from the unwanted particles that enter our body.
When the particle-like dust or pollen enters the nose, then these particles make the nose feel tickle because it traps in the nasal passages and then enters the stomach.
Then our body will send signals to the brain to trigger the sneeze, so we can push all the particles out from the body. The activity of sneezing can happen so suddenly and it is so powerful one. When we sneeze our eyes tend to shut involuntarily.
Well, this is the reflex action and it simply is impossible to keep the eyes open while sneezing. When a sneeze occurs, millions of tiny droplets of mucus eject from the nose into the atmosphere.
How Fast Is A Sneeze?
The droplets of a sneeze can travel at a speed of approximately 40 miles per hour. It also contains millions of viruses. Therefore, it is essential to cover the nose with a tissue or alternatively sneeze in the elbow of our hands to prevent the germs from spreading.
That’s why the person who is about sneezing might want to stop it at any cost. However, someone who is suffering from cold or nasal congestion wants to sneeze or order and give relief to the nasal pressure.
So If you are suffering from a stuffy nose and get rid of unclogging nose fast, then there is nothing more effective than a quick sneeze. But sometimes we feel sneeze but it’s not coming,


https://nourishperk.com/how-to-make-yourself-sneeze/
A CONTRIBUTION
Tags: hacktoberfest, devops, opensource, github
Published: 2020-10-01 05:17:15

Hey folks,
As you all know about Developer Student Clubs which are university based community groups for students interested in Google developer technologies. Students from all undergraduate or graduate programs with an interest in growing as a developer are welcome. By joining a DSC, students grow their knowledge in a peer-to-peer learning environment and build solutions for local businesses and their community.

So, I am working on Backend of DSC website for my college Developer Student Clubs. 
For Hacktoberfest 2020, I am maintaining my all 4 PR on GITHUB for DSC website and that was really good i have learn many new things during this project as i get to know how to create pull request on Github , learn MERN stack . Now , i know how to work on back-end using Python-flask as well as Using "MERN Stack" . 

<h1> What is Hacktoberfest 2020?</h1>

Hacktoberfest is a month-long celebration of open source software run by DigitalOcean in partnership with GitHub and Twilio. Hacktoberfest is open to everyone in our global community! Four quality pull requests must be submitted to public GitHub repositories.

<h1> What I know now after participating in HACKTOBERFEST?</h1>
I know -
<ul>
<li> How to contribute </li>
<li> How to create Pull request?</li>
<li> How to fork </li>
</ul>
Thanks to Hacktoberfest 2020 and YouTube channels they really help me alot .
DigitalOcean's Hacktoberfest is Hurting Open Source
Tags: hacktoberfest, opensource, github, discuss
Published: 2020-10-01 05:08:23

There is a rising spam issue with hacktoberfest this year.

{% twitter 1311355857465225218 %}

Which later results in the blog post ["DigitalOcean's Hacktoberfest is Hurting Open Source"](https://blog.domenic.me/hacktoberfest/)

There is also a discussion on [Hacker News](https://news.ycombinator.com/item?id=24643894)

Honestly, I enjoyed Hacktoberfest for many years but this problem is really hurting open source community. I hope DigitalOcean will take this seriously. Fortunately, DigitalOcean Community Platform Manager is looking into this.

{% twitter 1311421301291200512 %}

### UPDATE:
Here are official responses
- [from DigitalOcean](https://hacktoberfest.digitalocean.com/hacktoberfest-update)
- [from The Dev Team](https://dev.to/devteam/an-update-on-hacktoberfest-37a)
Celebrate Hacktoberfest 20 with Appwrite
Tags: opensource, javascript, node, hacktoberfest
Published: 2020-10-01 04:42:26

**Hacktoberfest is back, and Appwrite will be celebrating it for the second time in a raw!**

Hacktoberfest 19 was an amazing celebration of open-source, and this year will be no different! Last year we sent Appwrite SWAGS to over 80 developers from about 30 different countries in 6 continents, and this year we hope to top these numbers :)

If you wish to participate in this year’s celebration, all you need to do is go over to *any* of Appwrite’s Github repos and look for issues labeled as ‘help wanted’ or ‘hacktoberfest’ and try to help by submitting a pull request. To make sure your pull request has the best chances to get accepted and merged, we recommend looking at our contribution guide to understand Appwrite’s architecture and standards better.

> Hacktoberfest is open to everyone in the community. Whether you’re a developer, student learning to code, event host, or any company of any size, you can help drive the growth of open source projects and make positive contributions to an ever-growing community. During the month, coders of all skill levels are encouraged to complete the challenge and get a chance to win Digitalocean, Intel, and the Practical DEV limited edition t-shirt.

You are also welcome to join our official Discord server, where you can get help, guidance, and support. You can also use our dedicated #maintainers channel if you need specific help to solve an issue or submit your PR.

![Submit a merged PR to any Appwrite repo and get some cool Appwrite SWAGS](https://dev-to-uploads.s3.amazonaws.com/i/0dwbiq5uzyd6g0bdbbbq.png)

DigitalOcean launched Hacktoberfest in 2014 to encourage contribution to open source projects. The event was a clear success, and in terms of attendance and participation goals reached, it’s also clear that Hacktoberfest has become a powerful force in driving contributions to open source. The lure of a t-shirt and specific, time-limited goals help new contributors get started and encourage existing contributors to rededicate themselves and their efforts.

Besides the chance to win a [DigitalOcean](https://www.digitalocean.com/) & [DEV.to](/) limited edition t-shirt, we will also spoil Appwrite’s contributors with some cool Appwrite merchandise, including stickers, magnets, and pins. This year we will also give away **exclusive Appwrite + Hacktoberfest 20 T-Shirts** to our **top contributors** during the month.

***

Please note, although we will try our best to give away as much cool Appwrite stuff as we can, be aware that our offering is limited and depends on shipping availability and may have some delays due to COVID19 restrictions.
First steps here...
Tags: vscode, vim, react, typescript
Published: 2020-10-01 04:28:30

So well!

If you reading this, I'm getting courage to start wrote something about development.

My plan is to wrote some experiments about my day life on development of react apps with typescript in vscode or maybe, I'm not totaly sure about to use vim.

So, here's the thing!

I hope you enjoy this, because I honor if you came to here.
Reduce Google Fonts file size by more than 80%
Tags: webperf
Published: 2020-10-01 15:01:50

---
title: Reduce Google Fonts file size by more than 80%
published: true
date: 2020-10-01 04:16:10 UTC
tags: webperf
canonical_url: https://blog.davidojeda.dev/reduce-google-fonts-file-size-by-more-than-80-percent
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/7zdnunfzbq88glqvi9j4.png
---

Sometimes we only need a font for a couple of words, like a logo or slogan. Why do we download the whole font file if we only need a few letters?

In this post, I'll show you how you can **reduce your font file size by more than 80%**. This size reduction will be more effective the fewer characters you need.

## Base HTML

This is the base HTML we'll use. It contains the Roboto font and two headers. One with Roboto font-family and the other with the default font:

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link href="https://fonts.googleapis.com/css2?family=Roboto" rel="stylesheet">

</head>
<body>
  <h1 style="font-family: 'Roboto', sans-serif;">David Ojeda</h1>
  <h2>Default font</h2>
</body>
</html>
```

## Measuring current font file size

If you open this file with your browser and open the network tab of the Developer Console, you would see this:

![Developer console "Network" tab for previous HTML](https://cdn.hashnode.com/res/hashnode/image/upload/v1601519324867/d_Y4Z8vwV.png)

**~657 bytes** for the Google Fonts API call and **~11.1 kB** for the actual Roboto font.

If you look at the HTML again, you can notice that we're only using the font for my name, David Ojeda. What if we could download only those letters? It turns out we can.

## Changing the font URL

We need to change the font URL from this:

```html
<link href="https://fonts.googleapis.com/css2?family=Roboto" rel="stylesheet">
```

to this:

```html
<link href="https://fonts.googleapis.com/css2?family=Roboto&text=David%20Ojeda" rel="stylesheet">
```

What's new? The `&text=` URL parameter. We'll only download the characters we need. Just remember, the text parameter value:
- Is case-sensitive.
- Needs to be URL encoded. 

## Measuring updated font file size

Let's measure the size of the file now:

![Developer console "Network" tab for updated HTML](https://cdn.hashnode.com/res/hashnode/image/upload/v1601519750312/AaVS9ysj7.png)

**~359 bytes** for the Google Fonts API call and **~1.3 kB** for the actual Roboto font. **That's like 89% file reduction for the font**!

## Wrap up

I found this implementation in the [Google Fonts documentation](https://developers.google.com/fonts/docs/css2) days ago, and I wanted to share it so more people know about it.

It saved me this 80-90% file size on my [personal finance blog](https://perrodinero.blog/), and I'm sure it can help others do the same.

**Thanks for reading me! 💙**