teleren/devto huggingface dataset:
If it hurts, stop doing it : the wrong tool
Tags: development, leadership, agile, management
Published: 2023-01-24 11:39:48

---
title: If it hurts, stop doing it : the wrong tool
published: true
date: 2023-01-24 11:17:05 UTC
tags: development,leadership,agile,management
canonical_url: https://craignicol.wordpress.com/2023/01/24/if-it-hurts-stop-doing-it-the-wrong-tool/
series: if-it-hurts
cover_image: https://craignicol.files.wordpress.com/2021/04/wp-1617831687283.jpg?w=1200
---

There’s a theory under agile, lean and similar methodologies that if something is painful, you should do more of it. If releases are infrequent and error-prone and once a quarter, do them 10 times a day and they’ll get easier.

Same idea with performance reviews, customer feedback, and security audits. If it’s a good idea and it’s painful, practice it and refine it until it’s natural and mostly painless. And the pain that’s left is manageable. Roll back the release, and have another catch-up tomorrow once tempers have dampened.

I’ve seen people make the mistake of assuming that it should apply to everything. Every pain point is a gathering, a thing to be controlled, minimised and made less painful, by repeating it over and over again. After all, if it works over there, it should also work over here.

But not all pain is equal.

Remember, focusing on doing something more means that we deal with the pain by eliminating it. We automate releases so we can throw out that painful checklist. We give small, actionable feedback at the time, rather than a sucker punch that brews for months until it’s released in the appraisal.

But don’t mistake pain for discomfort. Making big improvements will mean transitions that are scary and uncomfortable. And what’s painful for someone else might not be painful for you. That doesn’t mean the pain isn’t real and it still needs to be dealt with.

Here’s a few things that are painful because you shouldn’t be doing them. These are the pebbles in your shoes that you need to remove.

## _It’s painful because it was never built for that_

I know there’s a lot of hate for JIRA. It’s the tool of choice for “Safe Agile” enterprises. And[it gets a bad rep for being an overcomplicated monstrosity](https://craignicol.wordpress.com/?p=4007).

I was a JIRA admin once, bringing the tool into our enterprise. There were things I didn’t like about it on a technical level, but the central tool, with the defaults, isn’t terrible. But it’s so customisable, that you can codify any corporate process you like. And when it causes frustration, people blame the tool, not the admin. When the tool is the process, it makes concrete what people could fudge, and suddenly everyone has to work the way of the manager who needs to show their impact.

Start with the people. Don’t build a process around what people **_should_** do. Find out what they **_actually_** do and build from there. Some of it might be wrong, but find out why, and [help them fall into the pit of success](https://craignicol.wordpress.com/2016/07/05/cognitive-load-default-to-success/).

_Don’t blame the tool for a broken process._
Don't be a movie extra, smile at the camera and other things I learned (the hard way)
Published: 2023-01-24 11:09:31

I moved from working in an office to working remotely in a heartbeat.And I made lots of mistakes. 

[Here's what I learned(the hard way).](https://unimind.team/blog-remote-work-etiquette-14-dos-and-donts-you-absolutely-need-to-know-in-2023/ )
How I turned ChatGPT into Kubernetes and Helm Playground in 5 Minutes
Published: 2023-01-24 10:45:00

As a highly advanced language model, ChatGPT can be fine-tuned on specific tasks, or on specific data, to improve its accuracy and performance even more. It can be fine-tuned on a dataset of Linux commands and corresponding outputs, or on a dataset of Helm commands and corresponding outputs, to simulate a Linux terminal or Helm playground respectively.

Here's how I turned ChatGPT into a Kubernetes and Helm Playground.


_**Ajeet: Hello GPT. Good Morning. I want you to act as a Mac terminal. Kubernetes is already installed. I will type some commands and you'll reply with what the terminal should show. Please show the result using the Mac terminal. When I tell you something, I will do so by putting text inside curly brackets {like this}. Please don't write an explanation just the command result is sufficient. My first command is the kubectl version.**_



![Image1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a7utv8dx86ogv78zuap5.png)



**_Ajeet: {kubectl get po,deploy,svc}_**


![Image2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n4pidekqh2uqq4b8f7vu.png)

_**Ajeet: {kubectl run --image=nginx nginx-app --port=80 --env="DOMAIN=cluster"}**_



![Image3](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qwyiph1fv9rj1oxm92ol.png)



_**Ajeet:{kubectl expose deployment nginx-app --port=80 --name=nginx-http}**_



![Image4](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hhfly8kpo3e7t89fahk4.png)




_**Ajeet: {kubectl get po,svc,deploy}**_



![Image5](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zcv7o8svv5zifz0eyge4.png)


_**Ajeet: {curl 10.100.67.94:80}**_


![Image6](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/av19gif4sh2ihj8cr37x.png)

_**Ajeet: {helm repo add bitnami https://charts.bitnami.com/bitnami}**_



![Image7](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/922ewg0dh11w0hrdtgqq.png)


_**Ajeet: {helm repo update}**_

![Image8](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p9fwb7hbckslhhttab3x.png)

_**Ajeet: {helm install bitnami/mysql --generate-name}**_

![Image9](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/01t18mrl2wihi6d364pd.png)

_**Ajeet: {helm show chart bitnami/mysql}**_

![Image9](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/96vjw06imk5y3qkprvxv.png)
How to commit the same file once already committed ?
Tags: help, git
Published: 2023-01-24 10:38:31

I am new to GitLab
So far this is what I have done

I have a script, I made changes to it and committed it to be merged into master

Now I updated that same script but the old merge hasn't been approved yet

So my question is how do I add the changes to the old commit I have already made

I know I have used rebase command before but that was for editing the commit message

Cheers
Make a Punch Out Game in Windows Forms and C#
Tags: gamedev, winform, csharp, visualstudio
Published: 2023-01-24 10:08:40

Hi, in this post lets take a look at how to make a punch out game using Windows Form and C# programming. We will be using picture boxes, timers, progress bars in windows form to make this game. Hope you enjoy this one. 

Lesson Objectives –

    Create a simple punch out game in visual studio using c# programming language
    Using progress bars to show the health of player and opponent
    Using Selection to determine the hit test between player and opponent
    Using LIST to create variety of moves for the opponent which is controlled by the CPU
    Using Picture Boxes and Resources to show dynamic images for the player and the opponent
    Determining the who won the round and who lost the round using integers linked to the progress bars
    Using Key Down and Key Up events to control the player


Here is the youtube tutorial video
{% youtube QulZJVbGhvE %}


[Download Punch out Game images here](https://www.mooict.com/c-tutorial-create-a-simple-punch-out-boxing-game-in-visual-studio/)

There is also a written tutorial attached to the tutorial. Please find it below the images tab on the MOO ICT website. 

Happy Coding.
Major Projects In Electronics And Communication
Tags: javascript, ece, beginners, programming
Published: 2023-01-24 10:00:41

At takeoff Edu Group, we specialize in providing innovative solutions for [major projects in Electronics and Communication.](https://takeoffprojects.com/major-projects-in-electronics-and-communication) We understand the importance head of the curve when it comes to technology, and our team of experienced professionals is dedicated to helping you achieve your goals.

Few of major projects in Electronics and Communication include:

• Design and development of embedded systems
• Automation and control systems
• Networking and communication systems
• Robotics and automation
• Industrial automation
• Internet of Things (IoT)
• Machine learning and artificial intelligence
• Augmented reality and virtual reality
• Autonomous vehicles
• Wearable technology
• Smart home systems

We are committed to providing the highest quality of service and products to our customers. Our team of experts is dedicated to helping you understand the latest technologies. We are passionate about providing our customers with the best solutions for their projects.

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

We understand that each project is unique and requires a tailored approach. Our team of professionals is here to help you create a solution that meets your needs and budget. We are committed to providing the best customer service and support to ensure that your project is successful.

If you are looking for a reliable partner for your [major projects in Electronics and Communication](https://www.youtube.com/watch?v=8Z2Ydv5j15o), look no further than the Takeoff Edu Group. Contact us today to learn more about our services and how we can help you achieve your goals.

We understand the importance of staying ahead of the curve and our team of experts is committed to helping you do just that. With our expert guidance and support, you can develop major projects that will allow you to create competitive products and services that will help you stand out in the marketplace.
Steel Grit
Published: 2023-01-24 10:00:01

**[Steel grit](https://www.shotblastingmachines.in/steel-grit)** are used as an abrasive blast media in grit blasting machine. Blasting with steel grit is a crucial operation of metal production. it is most ordinarily wont to meet different requirements for several industrial applications. it produces an etching on the surface of the substrate for better coatings.
Newsletter #3 - 16st January 2023
Published: 2023-01-24 09:59:40

Enes Cetinkaya Newsletter
Newsletter #3 - 16st January 2023

✔️Course

📌AWS Free Cloud Project Bootcamp registration has officially opened:
https://form.jotform.com/230154251007037


📌Get GitOps Certified with Argo
Codefresh has recently launched a new certification program that offers organizations and the open-source community a fast track to learning GitOps and how you can apply it to new and existing applications and infrastructure.
https://codefresh.io/blog/get-gitops-certified-argo/



✔️Blog

📌Get Started with Kubernetes Ultimate Hands-on Labs and Tutorials

https://collabnix.github.io/kubelabs/


📌Event Driven applications on Kubernetes with KEDA
KEDA is an open source project and enables event-driven autoscaling for Kubernetes workloads.KEDA scalers can detect if a deployment should be activated or deactivated, and feed custom metrics for a specific event source.
https://www.youtube.com/watch?v=RMGcaUjBk90&ab_channel=dotnet

📌Deployment of Multiple Applications on Argo CD— CNCF Roadmap
Argo CD allows you to define an Application resource, which is responsible for enabling the deployment and synchronization of application resources to a Kubernetes cluster.

https://medium.com/@buraktahtacioglu/deployment-of-multiple-applications-on-argo-cd-cncf-roadmap-552ac9704182


✔️Tools

📌DeepL
fast, accurate, and secure translations solutions

https://www.deepl.com/translator

--
You opted in for Devops Weekly at https://enescetinkaya.net.com
If you have other queries you can contact the list maintainer at enes@enescetinkaya.net
Javascript MicroTask vs MacroTask Queue - Visually Explained Through An Animation 🤯🔥
Tags: javascript, webdev, react, vue
Published: 2023-01-24 09:44:50


![Microtask vs Macrotask Queue in JavaScript](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pms63e0lkif3647z6k72.gif)

I created this above animation to help you understand the difference between MicroTask & MacroTask Queue in JavaScript 🤯🔥

Took me almost 5-6 hrs to create this for you guys ✌️

Now, let's understand the difference between MicroTask Queue & MacroTask Queue in JavaScript 🦄

Microtask Queue: ⬇️

In JavaScript, a microtask queue is a queue of tasks that are executed after the current task (i.e., the task currently being executed by the JavaScript engine) completes. These tasks include things like resolving Promises and updating the DOM ✅

Macrotask Queue: ⬇️

A microtask queue, on the other hand, is a queue of tasks that are executed after all microtasks have been processed. These tasks include things like setTimeout and setInterval. The JavaScript engine processes the tasks in the microtask queue before moving on to the tasks in the macrotask queue ✅

Hope this is helpful ✨

Do Like ❤️ & Save 🔖

𝗙𝗼𝗹𝗹𝗼𝘄 me on **[Linkedin](https://Linkedin.com/in/rammcodes)** for more:
Tips💡+ Guides📜 + Resources ⚡ related to programming and Web Development 👨‍💻

Do **Follow** me here on dev.to ✅
From zero to hero: A beginner's guide to frontend development
Tags: webdev, beginners, productivity, programming
Published: 2023-01-24 09:43:05

Frontend development is the practice of converting data into a user-friendly interface. It is the process of creating the visual and interactive elements of a website or application that users interact with.

If you're new to frontend development, it can be overwhelming to know where to start. But with the right resources and guidance, you can go from a beginner to a skilled frontend developer in no time.

The first step in frontend development is understanding the basics of HTML, CSS, and JavaScript. HTML (Hypertext Markup Language) is used to create the structure of a website, CSS (Cascading Style Sheets) is used to control the visual layout and design, and JavaScript is used to create interactive elements and dynamic functionality.

Once you have a solid understanding of these three languages, you can start experimenting with frameworks and libraries such as React, Angular, and Vue.js. These tools provide pre-built functionality that can save you time and help you create more complex and powerful websites.

It's also important to understand responsive design, which is the process of creating a website that adjusts to fit the screen size of the device it's being viewed on. With more and more users accessing the web on mobile devices, it's essential that your website is easily accessible and usable on all devices.

Web Accessibility is another important aspect of frontend development. As a frontend developer, it's your responsibility to ensure that your website is accessible to all users, including those with disabilities. This can include providing alternative text for images, using semantic HTML, and providing keyboard navigation.

In addition to these core skills, it's important to stay up-to-date with the latest trends and technologies in frontend development. This includes learning about Progressive Web Applications (PWA), web assembly, and the use of AI and Machine Learning in web development.

As you gain experience and build your skills, don't be afraid to experiment and try new things. The beauty of frontend development is that there are always new tools and techniques to learn and new problems to solve. With determination and a willingness to learn, you can go from zero to hero in the world of frontend development.

In conclusion, frontend development is an essential part of web development, and a vital skill in today's digital world. With the right resources and guidance, anyone can learn frontend development, and with time and practice, you can become an expert in the field. Remember, the most important thing is to start somewhere, and to never stop learning.
Understanding Docker: part 40 – Docker Compose
Tags: docker, devops, beginners, cloud
Published: 2023-01-24 09:36:50

---
title: Understanding Docker: part 40 – Docker Compose
published: true
description: Serie of sketchnotes about Docker. Explaining in a visual way Docker principles.
tags: Docker, DevOps, beginners, Cloud
series: Understanding Docker in sketchnotes
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ukpijtz5em8ibrpw7jyj.jpg
---

Understanding Docker can be difficult or time-consuming. In order to spread knowledge about Cloud technologies I started to create sketchnotes about Docker. I think it could be a good way, more visual, to explain Docker (and other technologies like Kubernetes and Istio).

We continue the series of Docker sketchnotes with a focus about Docker Compose.

![Docker Compose](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ukpijtz5em8ibrpw7jyj.jpg)
![Docker Compose](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8cvth21jk7myeummhs7m.jpg)
![Docker Compose](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4jixqmduv45k5x9bg9kj.jpg)
![Docker Compose](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xjgfb3jyqop5bl0dz652.jpg)
![Docker Compose](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yms28qiqv8hwvdqps04f.jpg)
![Docker Compose](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uk5bik3m4f51lytam4rf.jpg)

As usual, if you like theses sketchnotes, you can follow me, and tell me what do you think. I will publish others sketchs shortly :-).

If you are interested, I published the book in a paperbook version on Amazon: [Understanding Docker in a visual way](https://www.amazon.fr/Understanding-Docker-visual-way-sketchnotes/dp/B0BT6ZXR1W/ref=sr_1_1) and also in a PDF version on [GumRoad](https://gumroad.com/aurelievache#YTLzM).

If Kubernetes interest you too, the book [Understanding Kubernetes in a visual way](https://www.amazon.fr/dp/B0BB619188/ref=cm_cr_arp_d_product_top?ie=UTF8) is available also.
The Journal of My Coding
Tags: javascript, beginners, css, html
Published: 2023-01-24 08:49:30

Today Marks me getting off my lazy butt because low and behold. I want to do something with myself. 6 Months ago, I almost lost my mother and couldn't give her a taste in what her only child can bring to the table but now I have my second chance, so I won't be that shitty daughter. Could it also be that Brendan Fraser's new movie The Whale completely moved me? (Amazing movie btw!!) or the fact that I want to make a livable wage and truly feel honored to inherit of what my parents are going to leave me? I begin my coding bootcamp this Feb, and I've just spent hours reading blogs creating accounts even a twitter. Have I learned anything? well, I sure did my pre assignment so far was to google something I've read about or will learn about. Since it is beginning with only reading material I google JavaScript, HTML, CSS. Honestly, I had no idea what these meant. JavaScript just makes me think of Minecraft<3 #Imanoob, Html a web browser and CSS makes me want to read CSI. I have a long way to go but if I'm writing now then I must be in the right direction. To the Point of what I learned A website has three layers HTML: Hyper Text Markup this defines your structure how your text should be viewed. JavaScript Defines your behavior layer which add the interactivity. Finally, CSS: Cascading Style Sheet is the presentable layer for visual style of a webpage, the decorative features color, font, some animation ect. Am I in the right track? Thanks for reading!! 
![A Anime girl on her computer desk "looking back", Black hair with bangs and pink glasses "somewhat has a messy desk" face is pretty serious "Nerdy"](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lpar1inapn1jqa1t2r5y.jpg)
8- Create forms in Flask
Tags: webdev, python, flask, programming
Published: 2023-01-24 08:24:56

--- series: Flask a Python web framework ---

Create “form.html” file that contains a form to answer a question: “What is the most popular programming language?” and three fields for answers:

```css
<form action = "http://localhost:5000/result" method = "POST">
    <p>What is the most popular programming languages?</p>
    <p>First <input type = "text" name = "First popular" /></p>
    <p>Second <input type = "text" name = "Second popular" /></p>
    <p>Third <input type = "text" name = "Third popular" /></p>
    <p><input type = "submit" value = "submit" /></p>
</form>
```

And create a “results.html” file to return results:

```css
<html>
   <body>
      <table border = 1>
         {% for key, value in result.items() %}
            <tr>
               <th> {{ key }} </th>
               <td> {{ value }} </td>
            </tr>
         {% endfor %}
      </table>
   </body>
</html>
```

And now prepare a “[form.py](http://form.py)” script:

```python
from flask import Flask, render_template, request
app = Flask(__name__)

@app.route('/')
def student():
   return render_template('form.html')

@app.route('/result',methods = ['POST', 'GET'])
def result():
   if request.method == 'POST':
      result = request.form
      return render_template("results.html",result = result)

if __name__ == '__main__':
   app.run(debug = True)
```

Run the Python script and the following page should be opened:


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



Fill out the form and submit it to get the results page like this:


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



<p>* If you like the content, please <a target="_blank" href="https://www.youtube.com/channel/UCpbWlHEqBSnJb6i4UemXQpA?sub_confirmation=1">SUBSCRIBE</a> to my channel for the future content</p>
filter [array] base on other [array]
Tags: javascript, beginners, tutorial, programming
Published: 2023-01-24 08:47:05

assume we have an `[array of {objects}]` & we want to **filter** these `{objects}` base on any other [array values]...

to fulfill this requirement, we can implement our code by this approach:-

```jsx
const ids = [1, 2, 3, 4];

const userObj = [
  {
    id: 1,
    name: 'Jon',
  },
  {
    id: 20,
    name: 'Sam',
  },
  {
    id: 30,
    name: 'Tom',
  },
  {
    id: 4,
    name: 'Zen',
  },
];

const result = userObj.filter(user => ids.includes(user.id));

console.log(result);

// console output...

(2) [{...}, {...}]
0: {id: 1, name: "Jon"}
1: {id: 4, name: "Zen"}
```