teleren/devto huggingface dataset:
AWS Containers for Windows are now supported by Karpenter
Tags: aws, containers, cloud, kubernetes
Published: 2023-07-31 14:42:15

According to a statement from AWS, Windows support will now be available for the open-source Karpenter node provisioning and administration project (as of v0.29.0). Customers may now use Karpenter to quickly scale their Amazon EKS clusters for Windows with suitably scaled Amazon EC2 instances in response to changing application load. Karpenter assists clients in managing their operating costs and overhead throughout this process without requiring them to manually modify the compute capacity of their clusters, overprovision compute to keep up with constantly changing demand, or set up multiple EC2 Autoscaling Groups (ASGs).

When Karpenter is installed in your cluster, it keeps track of the combined resource requirements of unplanned pods and decides whether to launch new nodes or deprovision nodes based on the need for more capacity. This reduces the infrastructure expenses and scheduling latency of your cluster using Karpenter.

**Prerequisites**

- Make sure that AWS Identify and Access Management is used when you perform eksctl instructions [AWS IAM](https://docs.aws.amazon.com/iam/?icmpid=docs_homepage_security) profile that has permissions to create and manage [Amazon EKS](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelastickubernetesservice.html). This AWS IAM security principal is used in the Getting Started section below for the AWS Command Line Interface ([AWS CLI](https://docs.aws.amazon.com/cli/?icmpid=docs_homepage_mgmtgov)) configuration.
- Ensure you are using [eksctl v0.124.0](https://github.com/weaveworks/eksctl/releases) or higher to operate Karpenter.
- Follow the [Getting Started section in the Amazon EKS](https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html) documentation to install [aws cli](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html), [kubectl](https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html), and [eksctl](https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html) on your development machine.
- Alternatively, you could leverage Cloud9 or Cloudshell to handle deployment and maintenance tasks.

## Summary of the solution

1. The OS variables to be used must be created
2. Prepare Karpenter service requirements for deployment
3. Create the necessary iamIdentityMappings for Karpenter in an Amazon EKS cluster
4. Enable Windows support for Amazon EKS
5. Karpenter can be installed with Helm
6. NodeTemplate and Karpenter provisioner should be created
7. Scale out Karpenter for Windows
8. Scale in Karpenter for Windows
9. Cleanup demo resources.


---

Refer- [Karpenter now supports Windows containers](https://aws.amazon.com/about-aws/whats-new/2023/07/karpenter-windows-containers/)
Unearthing ancient HTML memories
Tags: beginners
Published: 2023-07-31 14:41:28

For the hello world & link-in-bio projects, I was kinda pleasantly surprised how much HTML I still remembered from the oooold days of customizing my Myspace page & stuff. The CSS was completely new to me, though. I appreciated how much more easy it is to make formatting uniform with CSS as opposed to just HTML. 

Looking back at my link-in-bio code, I feel pretty solid on understanding the HTML parts of it, as well as most of the CSS. I'm less solid on some of the "bonus" modifications I made to the visual aspects of the site after having completed the core of the assignment. I understand what the code is doing and saying, but I don't feel like I've *learned* it because I just copied & pasted from the supplemental sites at the bottom of the assignment. For example:

```
    body {
      background-color: #e5e5f7;
      opacity: 0.8;
      background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #e5e5f7 75px), repeating-linear-gradient( #ccffff55, #ccffff );
      background-origin: content-box;
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-size: cover;
      display: flex;
      justify-content: center;
      font-family: Tahoma, sans-serif;
      height: 100vh;
      margin: 0;
      padding: 0;
    }
```
I understand all of that, but I had no idea "repeating-radial-gradient" was a possible object in CSS. Additionally, the 100vh height aspect was, as I recall, another bonus aspect from when I later tried to tailor the site so that it would display well on both desktop and mobile, as seen here:

```
    @media only screen and (max-width: 1200px) {
      body {
        overflow: hidden;
      }

      .items {
        max-width: 55%;
        max-height: fit-content;
        transform: scale(1.5);
        transform-origin: top; 
        overflow: hidden;
        padding-left: 20px;
        padding-right: 20px;
      }
```

In these instances I'm not worried about my ability to understand what's going on, it's just that they're using tools that I haven't learned yet, and as such I wouldn't feel confident in a subsequent circumstance coming up with the same kind of solution myself.
What is Prototype? Prototype in JavaScript
Tags: prototype, oop, javascript, tutorial
Published: 2023-07-31 14:34:06

In JavaScript, prototypes are mechanisms by which objects can inherit properties from other objects. This is an important part of JavaScript's object-oriented programming (OOP) functionality.

To understand in Easy language, Think of prototypes in JavaScript like a blueprint or a guide. Every object in JavaScript has a link to its prototype object, where this prototype object has a prototype of its own, creating what we call a prototype chain.

When we try to access a property or method on an object, JavaScript will first look if that property or method is directly on the object. If not, it looks to the object's prototype (its blueprint), and then the prototype's prototype, and so on up the chain until it either finds what it's looking for or reaches the end of the chain (which is usually the base Object prototype).

Here's a simple example: Let's imagine we have a car object.

```javascript
let car = {
  make: 'Toyota',
  model: 'Camry'
};
```
We can create a prototype for our car that describes things all cars can do.

```javascript
car.__proto__ = {
  startEngine: function() {
    return 'Engine started';
  }
};
```
In this example, `startEngine` is a method on our car's prototype. Now, we can call this method on `car`, even though we didn't define it directly on car:

```javascript
console.log(car.startEngine());  // Outputs: 'Engine started'
```
When we call `car.startEngine()`, JavaScript first looks if `startEngine` is a method directly on `car`. It's not, so JavaScript looks at car's prototype and finds `startEngine` there.

So, prototypes are like a backup for objects. If an object can't do something, it looks to its prototype for help.

you want to know more about [OOps](https://dev.to/diwakarkashyap/object-oriented-programming-oop-in-javascript-cfm) or [Prototype](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object_prototypes) in Advance 

Thank you for reading. I encourage you to follow me on Twitter where I regularly share content about JavaScript and React, as well as contribute to open-source projects. I am currently seeking a remote job or internship.

Twitter: https://twitter.com/Diwakar_766

GitHub: https://github.com/DIWAKARKASHYAP

Portfolio: https://diwakar-portfolio.vercel.app/
About Me
Tags: personal, stories, introduce
Published: 2023-07-31 14:21:39

Yes, I am real person 😁

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ozvvm3lfn123vr9gkr87.jpg)
[👉Read now](https://medium.com/@developer.aymenmissaoui/about-me-ab8573c4c540)
Solution evolution
Tags: rust, beginners
Published: 2023-07-31 14:09:18

Me solving the same [level 6 problem on Codewars](https://www.codewars.com/kata/515de9ae9dcfc28eb6000001/solutions/rust) few months later

## 1) March 2022

```Rust
fn solution(s: &str) -> Vec<String> {
    let mut result = vec![];
    let mut tmp = s.to_owned();
    let mut index = 0;
	
    if s.len() == 0 { return result }
    else if s.len() == 1 {
        tmp.push_str("_");
        result.push(tmp.to_string());
    }
    else {
        if s.len() % 2 == 1 { tmp.push_str("_") }
        while index < tmp.len() {
            if tmp.len() < 2 { result.push((&s[index..index+1]).to_string()); }
            else { result.push((&tmp[index..index+2]).to_string()); }
        index += 2
        }
    }
    return result
}
```

## 2) December 2022

```Rust
fn solution(s: &str) -> Vec<String> {
    let mut vec: Vec<String> = vec![];
    let mut index = 0;

    for _i in 0..(s.len() / 2) {
        let part = &s[ (index)..=(index + 1) ];
        vec.push( part.to_string() );
        index += 2
    }

    if s.len() % 2 == 1 {
        let last_str = format!("{}_", &s[ (s.len() - 1 )..]);
        vec.push( last_str )
    }
    
    vec
}
```

## 3) July 2023

```Rust
fn solution(s: &str) -> Vec<String> {
    let mut result = vec![];
    let mut chars = s.chars().peekable();
    while let Some(c1) = chars.next() {
        let c2 = chars.next().unwrap_or('_');
        result.push(format!("{}{}", c1, c2));
    }
    result
}
```

Surely this problem can be solved even more effectively
Learn bicep based on the GUI of Azure Portal
Tags: azure, bicep, javascript, beginners
Published: 2023-07-31 14:06:42

###Seems like expanding the scope of projects requires knowledge of different configs, like knowing what you can do and what you want to do. 
###In the context of me and today, I like to define a new scope of development and deployment as I am using Azure as my cloud provider and using .NET as my main choice of making Apps.

###Core layer

- Frontend Blazor, HTML, CSS

- Backend APIs and databases

- Any code associates with the business functions

###Environment layer

- Dev Containers for the dev environment

- VM in Azure, whichever makes the most sense of storing the code and running the code in cloud.

- DevOps Pipelines, justified based on preference.

###Cloud layer

- Bicep or terraform to specify the resource you like.

##After the core layer is finished, we want to expand the project's scope a bit to make it work better.

1. Wherever you store your code, just to make sure it works for your pipeline. I like GitHub and GitHub Actions.

2. Take the services offered by your cloud service provider. Use the GUI portal to deploy the resources in your mind. If it's one Azure, make sure all your related resources are in the same Resource Group.

3. Now, go to the ARM template view of the Resource Group. Copy the file, and paste it to your Visual Studio Code.

4. Use the following command to convert the JSON file to bicep file.

`az bicep decompile --file main.json`

5. You have the basic bicep file to be further proceeded.
What are your goals for the week of July 31?
Tags: discuss
Published: 2023-07-31 14:00:00

## What are your goals for this week?


- What are you building? 
- What will be a good result by week's end?
- Are you attending any events this week? 
  * Any suggestions of events to attend?
- Did you meet your goals last week?


### Last Week's Goals


- [:white_check_mark:] Continue Job Search.
- [:white_check_mark:] Blog wrote about [Open to Help](https://dev.to/jarvisscript/open-to-helping-5eij)
  * [:x:] Figure out some kind of images to add to these posts.
- [:white_check_mark:] Code Challenges Did daily CSS Battles
- Project work Open To Help. launched the LikedIn tool and made some edits after it was live.
- Events
  * [:x:] Attend [Virtual Coffee(VC)](https://dev.to/virtualcoffee) Thursday.
  * [:x:] Other VC events if I can. Conflicts both Days we do our CSS Battles. 
  * [:white_check_mark:] Virtual job fair Tuesday. 
- [:white_check_mark:] Build some LEGO sets. Maybe add images of those builds here.
- [:white_check_mark:] Last week of early voting for the county. 


### This Week's Goals

- Continue Job Search.
- Blog
  * Figure out some kind of images to add to these posts.
- Code Challenges
- Project work
- Events
  * Attend [Virtual Coffee(VC)](https://dev.to/virtualcoffee) Thursday.
  * Other VC events if I can.
- Build some LEGO sets. Maybe add images of those builds here.
- Launch a weekly Slack thread similar to this post. Gonna motivate the community.

### Your Goals for the week


You've read my goals so I'll throw the questions back to you.


- What are you building? 
- What will be a good result by week's end?
- Are you attending any events this week? 
  * Any suggestions of events to attend?
- Did you meet your goals last week?



```html
-$JarvisScript git push
```
Hugo Ficurinia
Published: 2023-09-09 19:04:42

---
title: Hugo Ficurinia
published: true
date: 2023-07-31 13:48:18 UTC
tags: 
canonical_url: https://themes.gohugo.io/themes/hugo-ficurinia/
---

Ficurinia A prickly blog theme for Hugo Demo Code for the demo website (really my personal website) Screenshot gallery showcasing 256 of the possible configurations that Ficurinia offers. Customization Configuration These are some parameters you can use in your config.toml to customize Ficurinia: baseURL = "https://example.com/" theme = "hugo-ficurinia" title = "My nice blog" languageCode = "en" defaultContentLanguage = "en" # this will be included in the footer after the current year the site is last # built, followed by the (c) symbol # you can use markdown inside this field copyright = "Some copyright notice - [my license](https://example.
Código limpio en el desarrollo de software.
Tags: cleancode, cleancoding, javascript, webdev
Published: 2023-07-31 13:45:38


## Introducción
El código limpio es un concepto fundamental en el desarrollo de software. Se trata de escribir código claro, legible y bien estructurado, que no solo funcione correctamente, sino que también sea fácil de entender y mantener a lo largo del tiempo. En este artículo, exploraremos los beneficios del código limpio y por qué debería ser una prioridad para todos los desarrolladores.

**Mejor comprensión y colaboración:**


Al utilizar nombres de variables y funciones descriptivos, seguir una estructura coherente y agregar comentarios claros, se mejora la legibilidad del código. Esto permite que otros desarrolladores puedan entenderlo más rápidamente, facilitando la colaboración y reduciendo el tiempo dedicado a la resolución de problemas.

**Mantenimiento más sencillo:**

Al tener una estructura bien definida y seguir buenas prácticas de desarrollo, los cambios y las actualizaciones se pueden implementar de manera más eficiente. Además, la modularidad y la reutilización de código en el código limpio permiten realizar modificaciones sin afectar otras partes del programa.

**Mayor eficiencia y rendimiento:**

Al eliminar redundancias y mejorar la eficiencia en el diseño, se logra un mejor rendimiento del software. Además, al seguir buenas prácticas de codificación, se minimizan los errores y se facilita la depuración del código, lo que resulta en un software más robusto y confiable.

**Facilita la escalabilidad:**

Al utilizar una arquitectura bien diseñada y una separación adecuada de responsabilidades, el software se vuelve más flexible y modular. Esto permite agregar nuevas funcionalidades y adaptarse a los cambios futuros sin comprometer la integridad del sistema.

**Mejora la calidad del software:**

Siguiendo buenas prácticas, como escribir pruebas unitarias, evitar la complejidad excesiva y adherirse a estándares de codificación, se logra un software más confiable y robusto. Esto se traduce en una mejor experiencia para los usuarios y una reducción en los errores y fallos del sistema.

## Conclusión:

El código limpio es más que una preferencia personal, es una responsabilidad profesional de todo desarrollador de software. Al escribir código limpio, mejoramos la comprensión, facilitamos el mantenimiento, aumentamos la eficiencia, permitimos la escalabilidad y mejoramos la calidad de nuestro software. Así que, ¡pongamos en práctica los principios del código limpio y construyamos software excepcionalmente bueno!
I published my First App on Google PlayStore 😍😍✨
Tags: mobile, reactnative, javascript, firebase
Published: 2023-07-31 13:43:34

## What I built?

Hello Devs 😁😁✨

This is an excited day 😊

I'm excited to shared with you what makes me happy today. 

I published my **First Mobile App** on Google Play store 😍

I decided to call it **Dask**, and it's a mobile application that will help you manage your tasks and organized them into projects for easy manipulation ☺️.

## How it works really?

There is two mode, the first one is that you can use this app for a personal use case. For example you want to realize a simple application with some features, you can create a personal project in the app and add features you want to implement as tasks 😁😁 simple.

The second one is that, if for example you have to work with some one else and assign tasks to a specific team member, you have to create a shared project instead 😁, and inside you could be able to invite people to collaborate 🙂✨

## Screenshots


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

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

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

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

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

## Which tools I used ?

Let me show you what I used to develop it.

- React Native (mobile app)
- Firebase (Backend, especially used to store shared projects that you will ahve with your team)
- Nodejs (Express & Socket.io) for real time
- Gx for state management (it's my own State Management Library 😁) check the documentation here: https://gx.dilane3.com

That's all

If you want to test 😁

Just follow the link below, and please leave feedbacks 🙏🙏 I will really appreciate it.

The link of the application is down here.

https://play.google.com/store/apps/details?id=com.dilane3.dask

Thanks for reading 😌
Where to Find Extensions and Themes
Published: 2023-07-31 12:36:54

[Magento](https://website-hosting-magento.com/), being one of the most popular and powerful e-commerce platforms, offers a plethora of [extensions](https://website-hosting-magento.com/magento-free-extensions/) and [themes](https://website-hosting-magento.com/magento-free-themes/) that can take your online store to new heights of success. Whether you are looking to enhance the functionality of your website or revamp its design, the Magento ecosystem has got you covered. In this post, we will explore some of the best places to find Magento extensions and themes, enabling you to elevate your e-commerce game effortlessly.

1. Magento Marketplace:
The official Magento Marketplace is undoubtedly the go-to destination for finding high-quality extensions and themes. Run by Adobe, the parent company of Magento, this platform offers a wide range of both free and premium extensions and themes. You can browse through various categories, read reviews, and check ratings to make an informed decision. Additionally, all products listed on the Marketplace go through a review process, ensuring their quality and security.

2. Third-Party Extension Stores:
Apart from the official Marketplace, several reputable third-party websites specialize in curating Magento extensions and themes. These stores often have a diverse selection of products from various developers and vendors. Some of the popular third-party stores include MageWorx, Amasty, and Aheadworks. Ensure that you choose well-established and trustworthy sources to avoid any potential issues with the extensions and themes you install on your website.

3. GitHub and Open-Source Communities:
For those seeking open-source and community-developed extensions and themes, GitHub is an excellent resource. Numerous developers and enthusiasts contribute to repositories hosting Magento extensions and themes. While this avenue may require some technical expertise to vet the code quality, it can lead you to unique and innovative solutions that might not be available elsewhere.

4. ThemeForest:
If you're specifically looking for premium Magento themes, ThemeForest is a well-known marketplace offering a vast collection of beautifully designed templates. With a wide range of categories and styles, you can find a theme that suits your brand's personality and aesthetic preferences. These themes often come with additional features and customization options, making them worth the investment for a professional and polished look.

5. Magento Agencies and Developers:
Seeking help from Magento agencies and experienced developers can be a wise choice, especially if you have specific requirements or need custom-built solutions. These professionals can create tailor-made extensions and themes that align perfectly with your business needs, ensuring a seamless integration with your existing website.

Before making a final decision, always conduct thorough research and consider factors such as compatibility, support, updates, and customer reviews. Ensure that the extensions and themes you choose align with your business goals and add value to your customers' experience.
Intro to Python - Methods vs Functions
Tags: python, beginners, programming
Published: 2023-07-31 13:30:00

I'm starting a new blogging series on Python. Today is the first day. You can follow along here and on my twitter at [twitter.com/stonestwebdev](https://twitter.com/stonestwebdev)

Today I used the tutorial site boot.dev to get a bit farther on my Python journey. I've reached the Object-oriented programming course, which is part 2 in the backend developer journey. I'm on Chapter 1 - Classes and it's tutorial #13 - Multiple objects.

Something discussed briefly in the coursework today is the difference between methods and functions.

**Functions** are a native type in most languages. They can be created anywhere in the code, and all of the inputs to the function are explicit.

A **method** on the other hand is a function that exists only within an object, and it usually makes use of data stored within the object to return a value or perform some operation. In this way methods can be useful when working with objects, but they are also less explicit since they may use data only available hidden within the scope of the object they are defined on.

This is a significant difference, and why some developers prefer functional programming, which does not make use of objects with hidden values.