teleren/devto huggingface dataset:
Kubernetes Deployments explained in plain English - in less than 10 minutes
Tags: kubernetes, beginners, tutorial, devops
Published: 2020-06-19 08:55:10

---
title: Kubernetes Deployments explained in plain English - in less than 10 minutes
published: true
description: Kubernetes Deployment introduction and explanation in plain English - Kubernetes explained in plain English series #3
cover_image: https://www.azuremonk.com/assets/blogposts/video/deploy.png
tags: #kubernetes, #beginners ,#tutorial, #devops
---

{% youtube auggWZKoB3A %}



This is the Kubernetes explained in plain English series. This is the third video in the series "Deployments explained in plain English" with the help of Phippy and Friends. 

In this video we talk about: 

1. Benefits of using Deployments v/s Replica Sets or Pods (0:18)
2. What is a Deployment - Introduction and Overview (1:11)
2. Concepts and when to use a RollingUpdate and Recreate Deployment (1:23)
3. How to perform a RollingUpdate and Recreate Deployment (3:29)
3. How to Rollback a Deployment to a particular version (7:59)

The link to the step by step practice lab - You do not need a pre-existing Kubernetes environment to get started you can perform all of the tasks right from the browser https://www.katacoda.com/ranand12/scenarios/podsinplainenglish

If you are preparing for the Certified Kubernetes Administrator (CKA) or Certified Kubernetes Developer (CKAD) - this video series will be in alignment with your exam preparation

For more simplified videos check out -- https://www.azuremonk.com/videos 

For the Kubernetes in plain English series - check this video playlist out https://www.youtube.com/playlist?list=PLp_fsLj4v7gTA8n2UngXfOc_5puPPmFdK

For part 1 - Pods Explained in Plain English - https://www.youtube.com/watch?v=lBepFNjBW_U

For part 2 - Replica Sets Explained in Plain English - https://www.youtube.com/watch?v=UIVtDHaCSZ8

K8s in plain English 

For more videos visit https://www.azuremonk.com/videos

For more podcasts, videos and byte sized blog : https://www.azuremonk.com 

#kubernetes #deployments #explained #cka #ckad #azuremonk #kubernetesinplainenglish #deploymentsinplainenglish #deployments #k8s #KIPE

Credits to CNCF foundation  - http://phippy.io/ for the characters from the "Illustrated children's guide to Kubernetes"
Get Advice community
Tags: startup, sideprojects, contributorswanted
Published: 2020-06-19 08:49:30

I'm launching this new side project https://getadvice.github.io/ to create a community of tech people willing to spend some of their free time to have calls with people that need advice on your area of expertise.

I think we do this on a daily basis, but sometimes a 15 or 30 mins call can really make a difference for someone starting a new project or trying to understand something.

https://getadvice.github.io/

No money involved except donations for the volunteers.
VueJs : Simple copy to clipboard 
Tags: codepen, vue
Published: 2020-06-19 08:21:13

I am just a newbie for VueJS but I just want to share some example copy to clipboard that I wrote on Codepen with you guys. Hope you like it!
P.S. Thanks for reading my first post :D

{% codepen https://codepen.io/korsino/pen/XWXpgzV %}
NuxtJS 2.13.0 has been released with Full Static Generation
Tags: vue, nuxt, news
Published: 2020-06-19 08:21:06

NuxtJS 2.13.0 is finally here and comes with a great feature we've been waiting for: full static generation 🎉 Before this release, it was possible to have full static support using [nuxt-payload-extractor](https://github.com/DreaMinder/nuxt-payload-extractor) module as you can read [here](https://github.com/nuxt/rfcs/issues/22).

Starting from version 2.13.0 Nuxt.js has a `crawler` inside to detect every relative link and generate it. You can disable the crawler setting `generate.crawler: false` and still add dynamic routes by your own for performance reasons or to add extra routes that the crawler could not detect.

I've just updated my article [How to build a Jamstack multi-language blog with Nuxt.js](https://dev.to/astagi/how-to-build-a-jamstack-multi-language-blog-with-nuxt-js-3gah) with full static generation support following these steps:

- Remove `nuxt-payload-extractor` and all its references in `nuxt.config.js` and `asyncData`
- Upgrade nuxt to 2.13.0
- Add `target: 'static'` to nuxt.config.js
- Add new scripts to `package.json` to export and serve the static site

```js
{
  "scripts": {
    "export": "nuxt export",
    "serve": "nuxt serve",
    ...
  }
```

- Run `yarn build && yarn export` instead of `yarn generate`

For more information about this awesome feature, please read [Going Full Static](https://nuxtjs.org/blog/going-full-static/) from the official Nuxt.js blog.
Find Out Your IP on Ubuntu & macOS
Tags: ubuntu, macos, tutorial, network
Published: 2020-06-19 08:19:17

So at some point you will want to know your own IP Address. And when that time comes, here is how to do it.

If you are on macOS:

```
ifconfig | grep inet
```

This will give you a list of IPv4 and IPv6 addresses. Grab the one that says `inet` next to it and that should be it.

If you are on Ubuntu:

```
ip addr show
```

Now this I just love. You could even shorten that to `ip a` if you wanted to, but why would you with such a beautifully descriptive command?

If `ip addr show` gives you too much information, `hostname -I` does the trick as well, only more focused.

Sources:
https://osxdaily.com/2010/11/21/find-ip-address-mac/
https://itsfoss.com/check-ip-address-ubuntu/
Why I like restful routing
Tags: beginners, webdev, codequality
Published: 2020-06-13 01:12:32

![](https://miro.medium.com/max/2692/1*pv-pmMPED1XuTtWlHd6b1g.png)


Let us take a walk down memory lane. When we access our thoughts, we do it in an abstract manner. Through a smell, a color, a location we can access many memories, memories from years ago or as recent as a few seconds ago. Our brain is a beautiful thing, but we cannot always control it the way we would want to. 

Accessing our memories on demand is a complicated thing. With time our memories tend to lose their detail. While recalling memories under stress we tend to forget what we already know by heart. We do not have a specific method of accessing each memory category. For example, let us say we want to remember a recipe. Its difficult to access a section called” recipes”, in part because that does not exist in out brain. We do not have little folders in our brain referencing each material or type of ideas. 

![](https://www.southslope.com/wp-content/uploads/2018/01/bigstock-185247766.jpg)


There is a solution, we can save the recipes in a computer, in a nice folder and have other subfolders in it, where we can save different types of recipes. If we have this information on a website, maybe we want to add, create, update, or delete recipes. This is all possible thanks to Thomas Fielding. Mr. Fielding had the wonderful idea called RESTful routing, an idea that dictates a manner to access information via an address that follows a protocol. Example: /recipes/:id/edit. Here we access our recipes, now we need a specific one (:id), then we go an edit it. 


It is all 20/20 hindsight, but early websites did not apply RESTful routing, this made it difficult to locate yourself in a website. But with REST routing, it is easier to navigate and even guess what the next address is, we can maybe type it in ourselves and have access (depending on our security logic). This has brought a type of standardization to the industry, one much needed.
Agile or Waterfall; a risk management perspective
Tags: agile, softwareengineering, discuss
Published: 2020-06-19 08:04:29

---
title: Agile or Waterfall; a risk management perspective
published: true
description: 
tags: agile, softwareengineering, discuss
//cover_image: https://direct_url_to_image.jpg
---

Today Agile is the default choice for the software development life cycle (SDLC); every conference, book, or blog post is telling us we are doomed to fail if we don’t follow this established convention. But isn’t it surprising to think that we should use Agile for every possible company doing software out there? Are we going to organize software development exactly the same way if we work for a startup, NASA, or FedEx? It seems hard to believe.

If you are already screaming this is heresy! …please bear with me; I am not trying to send us back to the dark ages of Waterfall. At the same time, no project or company is the same and we should keep thinking about Why we do what we do. Choosing the appropriate SDLC requires a deep understanding of the dynamics of your environment.
In this blog post, I will use the lenses of risk management to help you pick what SDLC is right for you. We will first look at how to put your software development lifecycle into context by interpreting it as a risk map. We will then look briefly at the history of Agile and Waterfall and why these risk maps make sense in their own context. Finally, we are going to learn how to use Cynefin and Wardley maps as tools to better understand the uniqueness of your risk territory, so you can pick the software lifecycle that better suits your team or company profile.

I hope you enjoy the journey and looking forward for your thoughts in the comments. [http://www.alfredo.motta.name/agile-or-waterfall-a-risk-management-perspective/](http://www.alfredo.motta.name/agile-or-waterfall-a-risk-management-perspective/)

Full blog post on the link above (sorry for my lazyness and not including it all here, it's just a lot of copy and paste!)
Types of different eCommerce Business Models: The basics of eCommerce Business
Tags: productivity, entrepreneur, programming, ecommerce
Published: 2020-06-19 08:04:12

There is no doubt that the trend of eCommerce has grown exponentially and continues to enlarge every year. Nowadays, we are living in the age in which business without an online presence is a disadvantage. Due to the advanced technology eCommerce business is no more complicated.

In eCommerce business, it is not necessary that your customers are only individual customers but they can be other businesses or governments or administration. Same way with the seller. Sometimes it’s possible that some businesses use more than one business model.

Many upcoming eCommerce business owners don’t know what different types of eCommerce business models available to them. When we hear the word eCommerce the first thing that comes in our mind is that the transactions happen online.  If you are starting eCommerce business then you will fall in one of the below categories. There are mainly six types of eCommerce business models listed below.

...

continue reading:  https://www.mnstechnologies.com/types-of-different-ecommerce-business-models-the-basics-of-ecommerce-business/
Find the best Brand promotion company in Uttar Pradesh
Tags: brandpromotion, brandezza
Published: 2020-06-19 08:04:04

Brandezza, a Brand promotion company in Uttar Pradesh. The integrity of your brand depends upon the way wherein you have made it and how you take benefits by promoting your brand for your business. Brand promotion company in Uttar Pradesh is the best and exhibited system in the modernized market. Having an extraordinary brand name redesigns prominence of your business administrations. Promotion of the affiliation brand makes your business benefits logically compelling and capable. It also urges your business to adequately known by the customers and just by the name of your brand customers reliably remember your business. We explain all of the attributes and advantages of your brand to your clients in an effective way and convince the customers to incline toward your brand for their business objectives.With this we also maintain the reputation of your company by giving attractive results to your customers and offering them quality administrations at genuinely reasonable expenses. 

By implementing our novel Brand promotion company in Uttar Pradesh also help you to maintain the liberality of your company. It makes a better than average image of your company and besides creates customer dependability. Your brand links with your customers and gives long stretch achievement to your business. Brand promotion company in Uttar Pradesh makes you maintain your existing arrangements with the new ones. Brand promotion administration causes you all over to gain your business ground. Brand promotion ought to be conceivable through various ways. 

There are various strategies for brand promotion out of which you can pick anyone. For instance, you can pick advertising and individual selling methodology to do the promotion of your brand.Brand promotion company in Uttar Pradesh make your business brand dynamically secure, capable, reputed and complex by implementing our uncommon administrations for your business advancement and with that we moreover prescribe you a wide scope of techniques for how to improve the online closeness of your business. Brand promotion company in Uttar Pradesh is an enough working marketing activity through which your business will reliably get positive results. We at PS, reliably works in a timetable course through which we continually complete our everything the work center around ideal way.

https://brandezza.in/
We are best for Brand promotion service in India
Tags: brandpromotion, brandezza
Published: 2020-06-19 08:02:29

Branding is a marketing practice in which an affiliation makes a name and picture that is adequately undeniable as belonging to the company. This helpers in creating a stand-out character of a thing and distinguish it from various things and administrations.  Brand promotion company in India, offers a wide extent of marketing administrations, including creating logos, creation, marketing trademarks, taglines, marketing online and offline, beside website marketing. We, being one of the notable Brand promotion company in India, acknowledge that brands are made and bolstered after some time. The branding strategy begins with the creation of a logo, tagline, and choosing the relevant shades for the logo. By then, we progress toward the profiling which includes the site, business cards, flyers, leaflets. These are made according to the logo and the tagline. 

This is then trailed by Brand promotion company in India, be it offline or online fights to ensure your brand gets the introduction required. Let us help you with creating your character and a while later assistance affect your concentrated on swarms in your favored land district. With over 15 years of involvement with helping 700+ brands across 16 countries and 9 vernaculars, we at Brandezza are all around put to offer you brand promotion administrations. In case you are looking for a Brand promotion company in India, you can be have certainty of the quality we ensure. Indeed we fill in as a branding Promotions Company comprehensive, thusly work with remote clients over the world! 

Brand promotion company in India are made and upheld is the thing that we have reliably had confidence in. The branding begins with a character of creating a logo and a tagline, other than critical shades and a while later the entire profiling including site, visiting cards, flyers, flyers are by and large made according to the logo and the tagline. This is then trailed by marketing endeavors, be it online or offline to ensure the branding administrations get perfect inclusion. Let us help you with creating your character and a short time later assistance affect you target clients and land locale of choice of pith of your administrations.

https://brandezza.in/
6 Tips for Laravel Performance Optimization
Tags: laravel, php, tutorial, javascript
Published: 2020-06-19 07:53:17

From complex APIs to simple web apps, Laravel can be a one-stop PHP development platform for your business. The set of libraries and architecture that this framework provides, make it easy to build amazing sites using well structured and beautiful code.

However, to build such apps, your Laravel developer should know the tweak and tweets for utilizing the power of this framework and enhance performance as well.

Now in this article, we are going to discuss 6 performance optimization tips for Laravel developer. 

## 1. Config Caching
Laravel provides an exceptionally interesting command, Artisan Cache Config that is very helpful in boosting performance. 
```
php artisan config:cache
```
{% youtube LA2jgtAn4Sc %}

## 2. Routes Caching
Routes caching is an essential optimization feature, particularly for apps with a lot of routes and configuration. The routes cache is a simple array and helps in speeding up Laravel performance because of faster loading of the array. 
```
php artisan route:cache
```
{% youtube jaeNphcGyuM %}

## 3. Object Cache
Caching the results of the queries that are frequently run is a great way of improving Laravel performance. 

{% youtube ogWMrBNMX-Y %}

## 4. Eager Loading
Laravel makes it easier for programmers to work with multiple databases and perform common database operation by providing Eloquent object relational mapper (ORM). Eloquent affects the performance of Laravel applications by adopting lazy loading approach. 
{% youtube N0phQbyzF0I %}

## 5. Database Chunking
If you are quering very large data from the database, then Chunking is very important. Using this you will reduce memory usage when working with large data.
{% youtube M_WM-itjPHw %}

## 6. Assets minifying
Compiling all assets in a single place might end up with a huge size file. As a result, this practice will not allow our application to benefit from the proposed compilation. Therefore to resolve this issue, we can minify our assets using Laravel Mix.

```
npm run production
```

I will also recommend to use `Laravel Page Speed` Package, it compresses page as well.
{% youtube DBDH1UBRi8o %}
PostgreSQL: Rename database
Tags: postgres, database, sql, sysadmin
Published: 2020-06-19 07:27:12

<small>\* The cover image is originally by [12091](https://pixabay.com/users/12019-12019) and edited with great appreciation.</small>

---

## Summary

Hello.
This post shows a tiny tip about [PostgreSQL](https://www.postgresql.org/): how to rename exsting databases.
Suppose that you use PostgreSQL as database and want to change name of database: For example, your service name has changed; Your domain has been renewed, etc. It might be usually indispensible, but good in order to avoid confusion.

What is necessary is to connect your database server and run this [`ALTER DATABASE`](https://www.postgresql.org/docs/current/sql-alterdatabase.html) sql:

```sql
ALTER DATABASE
    $DB_NAME_AS_IS
RENAME TO
    $DB_NAME_TO_BE
;
```

That's it 🙂

### A side note

There may be a few things to do beforehand.
When your service is active and online, you should stop it in order to keep data in it clean:

1. Validate no connection to the database exists
2. If some exist, cancel the process
3. Stop the service

[`pg_stat_activity`](https://www.postgresql.org/docs/current/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW), a part of PostgreSQL's [Statistics Collector](https://www.postgresql.org/docs/current/monitoring-stats.html) subsystem gives a way to check process:

```sql
SELECT
    pid
FROM
    pg_stat_activity
WHERE
    datname = '$DB_NAME_AS_IS';
```

If some pid(s) exist, try to send SIGINT signals for them to be canceled with `pg_cancel_backend`, a part of PostgreSQL's [System Administration Functions](https://www.postgresql.org/docs/current/functions-admin.html):

```sql
SELECT
    pg_cancel_backend(pid)
FROM
    pg_stat_activity
WHERE
    datname = '$DB_NAME_AS_IS';
;
```

Still remains?
`pg_terminate_backend` is also available to force them to die immediately by sending SIGTERM signals. Use this very carefully.

```sql
SELECT
    pg_terminate_backend(pid)
FROM
    pg_stat_activity
WHERE
    datname = '$DB_NAME_AS_IS';
;
```

Finally, stop the service as needed:

```console
# # in the case of OpenBSD's rc, for example:
# rcctl stop $DAEMON
```

That's about it.

A side note is longer than main content 😅
GoLang for loop variations
Tags: go, beginners
Published: 2020-06-19 07:12:26

Go has only one looping construct, the for loop. It comes with 2 variations from a usability point of view. Understanding the differences will definitely help in implementing the right one at the right time :).
 
## Table Of Contents
   * [Pointer semantic form](#psf)
   * [Value semantic form](#vsf)


### Pointer semantic form <a name="psf"></a>

In this one the loop happens on the original continents array.

```
// Using the Pointer semantic form of for: <- range

package main

import "fmt"

func main() {
 continents := [3]string{'Asia', 'Africa','Australia'}
 fmt.Printf("Before -> [%s] : ", continents[1])

 for i := range continents {
    continents[1] = 'Europe'

    if i == 1 {   
       fmt.Printf("After -> [%s] : ", continents[1])
    }

 }

}

Output:
Before -> [Africa] : After -> [Europe]


```

### Value semantic form <a name="vsf"></a>

In this one the looping happens on the copy of the original array.


```
// Using the value semantic form of for: <- range

package main

import "fmt"

func main() {
 continents := [3]string{'Asia', 'Africa','Australia'}
 fmt.Printf("Before -> [%s] : ", continents[1])

 for i, c := range continents {
    continents[1] = 'Europe'

    if i == 1 {   
       fmt.Printf("After -> [%s] : ", c)
    }

 }

}

Output:
Before -> [Africa] : After -> [Africa]


```

There is one more value semantic form of the for range but with pointer semantic access. DON'T DO THIS.

```

package main

import "fmt"

func main() {
 continents := [3]string{'Asia', 'Africa','Australia'}
 fmt.Printf("Before -> [%s] : ", continents[1])

 for i, c := range &continents {
    continents[1] = 'Europe'

    if i == 1 {   
       fmt.Printf("After -> [%s] : ", c)
    }

 }

}

Output:
Before -> [Africa] : After -> [Europe]


```
Easy Guide to TYPO3 Indexed Search: Series 1
Published: 2020-06-19 07:06:47

Welcome to TYPO3 Search feature series! In this blog, You will explore 7 best TYPO3 search solutions with comparison and Step-by-step easy guide to TYPO3 indexed search and crawler features.

Search feature! One of the underestimated useful components to improve the experience of your website’s visitors. In my opinion, At Least for medium to large level TYPO3 websites should have search features.

This interesting blog consists of following topics,

- Why Search Features is Important For Your TYPO3 Website?
- Which are Best TYPO3 Search Extensions Solutions?
- Top 7 TYPO3 Search Extensions
- Which TYPO3 search extensions suit your website?
- How to Install TYPO3 Indexed Search?
- What are the Search Features of TYPO3 EXT:indexed_search?
- How to Create & Configure TYPO3 Indexed Search?
- How can I configure TYPO3 Indexed Search?
- How the TYPO3 Index Search Works?
- How to know Monitor Indexing and Searching From TYPO3 Backend?
- Are any TYPO3 Extensions for Indexed Search TYPO3 Frontend Plugin?
- Site Crawler: Automize Your TYPO3 Indexed Search
- Tips & Tricks for TYPO3 Indexed Search Tutorials

Read the complete blog to gain knowledge in depth about TYPO3 indexed search at - https://t3terminal.com/blog/typo3-indexed-search/
Did you register yet? FREE  Online Conference: Java Trends and Best Practices
Tags: career, eventsinyourcity, java, news
Published: 2020-06-19 06:30:34

Only one week untill the official launch of the event!
We put toghether the very first entirely online conference to provide you with exclusive training on the best Java practices as well as trending tendencies in the industry. **free of charge!** 

All you need to do is [register] (https://jonconf.com/).

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

Check out the updated [list of speakers](https://jonconf.com/speakers/). Among there are our long-time partners and Java Champions that have been featured on Java Daily. Among them are [industry leaders] (https://dreamix.eu/blog/tag/java-daily) Victor Rentea, Simon Ritter, Sven Ruppert and many more. You can also take a peak at the topics that will be covered as well as the schedule.

We hope we see you in some of the zoom rooms next week. So hurry up and book your spot!