teleren/devto huggingface dataset:
Alex Camman (Tom Ford)
Tags: webdev, programming, beginners, javascript
Published: 2023-12-22 00:07:41

**Alex Camman (Tom Ford) 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hbdz0msjrbqe9fu45m3z.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a5eocb8bng91k173w44u.png)- Renowned Digital Developer & Business Developer**

🌐 **GitHub**: [Alex-Camman](https://github.com/Alex-Camman)
   - 100 Repositories
   - YOLO Award Recipient
   - Advanced Expertise: Python, Selenium, Anaconda, VS Code, PyCharm, JetBrains
   - 📍 Los Angeles

🔗 **GitLab**: [Alex-Camman](https://gitlab.com/Alex-Camman)
   - Varied and Innovative Project Contributions
   - Expert in Digital Development and Design

💼 **LinkedIn**: [codinggpt](https://www.linkedin.com/in/codinggpt)
   - Over 4,000 Connections
   - Business Developer at Immunoassay Manufacturer (Drug Check Care Health America)
   - 4 Years of Industry Experience
   - Extensive Network & Impressive Achievements

🛍️ **Fiverr**: [target_email](https://www.fiverr.com/target_email)
   - Highly Rated in Digital Marketing, Programming, Tech Support
   - Innovative Solutions Provider

📱 **Google Developer Profile**: [Tomford_acmmn_web3d_app](https://g.dev/Tomford_acmmn_web3d_app)
   - Google Cloud Innovator & Android Studio User Badges
   - Kotlin & Flutter Developer

🎓 **FreeCodeCamp**: Responsive Web Design Certification (Expected: Jan 13)
   - Mastery in HTML, CSS, JavaScript
   - Front-End Development Expert

🌐 **3D Website**: [www.securetestkits.com](http://www.securetestkits.com)
   - Advanced Interactive 3D Web Design
   - Expertise in Vue.js and Three.js
How Do You Deck Out Your Space for the Holidays?
Tags: discuss, codenewbie, beginner
Published: 2023-12-22 00:00:00

---
published_at : 2023-12-22 00:00 +0000
---
Share how you deck out your space for the holidays.
<br>
Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more discussions and online camaraderie!
*{% embed* https://dev.to/codenewbieteam *%}*
Tech Trends 2024: What's Your Bold Prediction? 🔮
Tags: discuss
Published: 2023-12-22 00:00:00

---
published_at : 2023-12-22 00:00 +0000
---
What technology trends do you foresee in 2024? Predict the next big breakthrough in the tech industry.
<br>
Follow the DEVteam for more discussions and online camaraderie!
{% embed https://dev.to/devteam %}
Modules Status Update
Tags: community, puppet
Published: 2023-12-22 19:48:38

---
title: Modules Status Update
published: true
date: 2023-12-22 00:00:00 UTC
tags: community, puppet
canonical_url: https://puppetlabs.github.io/content-and-tooling-team/blog/updates/2023-12-22-modules-status-update/
---

## Forge all the way!!

Just before hitting on a new year, what better surprise than an exciting feature on Forge: Save Your Searches!

We’re happy to unveil an exciting new feature that will ease your module discovery process! Now, you can save your favorite searches, complete with all your carefully chosen filters. And the best part? It’s super easy to use!

If you’re a logged-in user, you can save and retrieve results from up to 10 searches! No more wasting time reapplying the same filters again and again – your frequently viewed results are just a click away. It’s your personalized shortcut to the best of Forge!

But that’s not all, we now also automatically save your most recent search. This functionality is available for all Forge visitors; just be sure to allow cookies for Forge to make the most out of it.

 ![](https://puppetlabs.github.io/content-and-tooling-team/images/forge-save-search-filters.png)

Sign up and login to Forge to try out this feature. As usual, we welcome any feedback and ideas. We would be grateful, if you could reach out to us on the [#forge-modules](https://puppetcommunity.slack.com/archives/C11LCKKQ9) channel on the community slack and tell us about your experience.

## Community Contributions

We’d like to thank the following people in the Puppet Community for their contributions over this past week:

- [`puppetlabs-apt#1154`](https://github.com/puppetlabs/puppetlabs-apt/pull/1154): “replace deprecated merge() with native puppet code”, thanks to [bastelfreak](https://github.com/bastelfreak)
content creator writerzen
Published: 2023-12-21 17:21:15

What is content creator writerzen ?
Do you struggle with finding the perfect words to embellish your writing? Is crafting topic-relevant content to engage your audience a tedious task? Then, we have the solution.
WriterZen is a pioneer toolset that explores precise keywords, accurate topics, and relevant content references within minutes! The Content Creator tool eases tracking and collaboration between dependent sections of a larger project. It features optimized recommendations for particular keyword sets by scanning the top 20 ranked URLs using the AI algo.
The Topic Research Algorithm generates content ideas displayed simply in four distinct categories called Cards, Explorer, Overview and Mindmap. The Keyword Explorer module finds the right keywords within minutes. It’s Auto Clustering feature uses an algorithm to find the perfect set of keywords for any topic. The Check Bulk Allintitle enables you to generate high organic traffic by pinpointing golden keywords – high search volume words of low competition.
FE – WriterZen – Easy Content Creator for SEO – $69
Lifetime access to WriterZen – Easy Content Creator for SEO
You must redeem your code within 60 days of purchase
All future plan updates
Please note: this deal is not stackable
60-day money-back guarantee, no matter the reason
Lifetime access to WriterZen Select Plan
Buy now: https://www.rankmarket.org/writerzen
Terraform Providers
Tags: terraform, providers, iac, aws
Published: 2023-12-21 23:12:46

## Providers :
 Terraform relies on plugins called providers to interact with cloud providers, SaaS providers, and other APIs.

Terraform configuration must declare the provider which they require then terraform  can install and use them.

### Where the providers are coming from :
Providers are distributed separately from Terraform itself, and each provider has its own release and version

Each provider has its own documentation, describing its resource types and arguments

[Terraform Registry](https://registry.terraform.io/browse/providers?ajs_aid=7a13d24e-c454-4361-8a6a-47e7be0326f2&product_intent=terraform) includes a wide range of providers developed by HashiCorp, third-party vendors, and our Terraform community.

### How to use AWS Provider

To install this provider ([AWS Provider](https://registry.terraform.io/providers/hashicorp/aws/latest)), copy and paste this code into your Terraform configuration. Then, run terraform init.

Terraform 0.13+

```
terraform {
  required_providers {
    aws = {
      source = "hashicorp/aws"
      version = "5.31.0"
    }
  }
}

provider "aws" {
  # Configuration options
}

```

## Provider Installation 
Terraform CLI checks the relevant providers in the configuration file and installs in the working directory. It will automatically downloads from terraform registry.


## Plugin Development 
Design, develop, and test plugins that connect Terraform to external services 

Reference : [Plugin Development url references](https://developer.hashicorp.com/terraform/plugin)

**Note** : Is it possible to create custom providers? Yes

- Create new providers with the [framework](https://developer.hashicorp.com/terraform/plugin/framework) documentation
- Maintain the existing providers with [SDKv2](https://developer.hashicorp.com/terraform/plugin/sdkv2) documentation
- Get Hashicorp verify your provider and verified providers will get a badge.
- Share internal owned provider within your organization using private registry

## Provider Architecture

- Provider plugins are released separately from terraform itself.
- They have different set of version numbers.
- Explicitly setting provider version : During terraform init, if version argument is not specified, the most recent provider will be downloaded during initialization.

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

For the below snippet used version = "~>2.70" and it will download the packages in 2.7X range 

```
terraform {
  required_providers {
    aws = {
      source = "hashicorp/aws"
      version = "~>2.70"
    }
  }
}

provider "aws" {
  # Configuration options
}

```
To get started with Mastodon - first steps ..
Tags: webdev, programming, beginners, tutorial
Published: 2023-12-21 22:52:54


To get started with Mastodon, you must first select a Mastodon server to join.
Mastodon is decentralized, meaning there are many different servers that are all connected to each other. You can choose a server that best suits your interests and preferences.

Here are the basic steps to get started with Mastodon:

**Select a server**: Visit the Mastodon server list and select a server you would like to join. You can filter by topics, languages or other criteria.

**Register**: After selecting a server, visit the server's website and look for the option to register. There you will be asked to choose a username and provide an email address.

**Create profile:** After successful registration, you can personalize your profile. Add profile information, a profile picture, and other details so other users can learn more about you.
**
Follow other users**: Find and follow users who share your interests. This allows you to see their posts in your own Mastodon feed.
**
Create posts:** You can create your own posts (called toots) by clicking the create new post button. You can share text, images and links.
**
Follow Hashtags:** Use hashtags to categorize your posts. You can also follow hashtags to see posts about specific topics in your feed.

Interact with others: Comment, like and share posts from other users. Interacting with others fosters community and allows you to meet more people on Mastodon.

Remember that each Mastodon server is independent, and user data is not shared between servers. So if you want to interact with a user on another server, you must make sure that you are registered on the same server or on a server that is connected to the other user's server.<
A Modern Node.JS TypeScript Lib Template
Tags: typescript, node, mocha, template
Published: 2023-12-21 22:21:22

Today, I put together a template repo for new **Node.JS** projects written in TypeScript that uses a standard set of utilities such as **TypeDoc**, **mocha**, **nyc**, **ESLint**, and more.

It provides a strict configuration and is fairly opinionated, but I think it results in less time spent writing boilerplate code and serves as a clean base to build upon.

I wrote a [blog post about it](https://f3rno64.hashnode.dev/a-modern-nodejs-typescript-lib-template), and would love any feedback, comments, or suggestions.

The repo is here: [f3rno64/node-ts-lib-template](https://github.com/f3rno64/node-ts-lib-template)
🚀 Desafio React Native: Trabalhando com Performance 🚀
Published: 2023-12-21 22:17:29

Olá, comunidade React Native! 👋

Ultimamente, tenho enfrentado um desafio interessante ao trabalhar com React Native: otimização de desempenho em listas longas. 🚀

**Problema:** Ao renderizar uma lista extensa de itens, percebi uma queda no desempenho, especialmente durante o carregamento inicial.

**Solução:** Após pesquisar, descobri que a implementação de Lazy Loading e Virtualization pode ser a chave. Utilizando bibliotecas como FlatList, SectionList, e ajustando as propriedades como initialNumToRender e windowSize, consegui notáveis melhorias na performance.

Agora, os itens são renderizados dinamicamente à medida que são visíveis, reduzindo a carga inicial e melhorando a experiência do usuário.


![Image description](https://3.bp.blogspot.com/-b_zDueXW98k/VPNLbZBpwxI/AAAAAAAAAFA/OAHaywilKzE/s1600/gif.gif)


**👉 Dica Extra:** Considere também o uso de React.memo para otimizar componentes individuais.

Compartilhe suas dicas e experiências enfrentando desafios de desempenho em React Native! Juntos, podemos superar qualquer obstáculo. 💪
Spontaneous ideas
Published: 2023-12-21 22:12:37

Sometimes ideas come spontaneously, sharply and without warning. And if you postpone them for later, to think about, there is a chance that they will either fly away or the moment will be missed.

Along with such ideas usually comes the energy to implement them. The point, obviously, is not about some kind of neurotic nonsense from the category - go and do something that you will be ashamed or hurt later.

Not all ideas take root and become something realized, embodied. Therefore, there is no need to be upset that some idea fix did not materialize immediately. Perhaps something is missing or it is just not time for its implementation. Or maybe it’s a matter of internal resistance of one kind or another.

By the way, if you constantly and persistently postpone to think about the incoming ideas, inspiration, you may experience a state of stupor and lack of any inspiration. If energy gets stuck over and over again, stagnation is created and the flow is clogged. And often it is not the flow that is clogged, but the perception is blurred, when the new is simply not perceived, when everything is out of habit, old-fashioned, well-trodden.
Adventofcode 🎄: Day 21 - Axios
Tags: beginners, codenewbie
Published: 2023-12-21 22:02:17

For developers seeking clarity on the role of Axios in React, let's give you a comprehensive introduction.

 Axios stands out as a widely embraced JavaScript library, renowned for its effectiveness in facilitating HTTP requests seamlessly, be it within a web browser or a Node.js server environment. This versatile library takes on diverse responsibilities, proficiently managing operations that span the spectrum of data retrieval and transmission, all while adeptly handling the responses. In essence, Axios serves as a pivotal tool for web developers, making the process of interfacing with APIs and making data exchange between applications and servers, much more fluid and efficient.
A Timely Christmas Message
Published: 2023-12-21 21:56:17

# A Christmas Message

Because it is December and we have officially entered the yuletide season, I want to tell you how Jesus is the reason for the season and how this season is also about you.

In **John chapter 3, verse 16**, the Bible tells us how much God loves us. He loves us so much that he gave us his one and only Son so that no one would need to be destroyed; by believing in him, anyone can have a whole and everlasting life.

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

You don’t need to be Alan Turing to decrypt that for someone to die, he would have to be born first of all. Now Jesus had to be born for him to die. In the days of the Bible, the forgiveness of sin had to be done by the shedding of the blood of an animal- usually a lamb- this is where the phrase “sacrificial lamb” stems from.

The way people of old attached the remission of their sins to the death of animals is the way we are to attach ours to the death of Christ. All you need to do is attach yourself and do this by believing in the Gospel. When you do, he takes away the sinful nature of your flesh because he was born to be the sacrificial lamb for your sake.

Christ came to earth just to die. But he didn’t just die, he didn’t have a bad ending at all. He also resurrected and because he did, he can and will be back for us again so we can live with him forever. The fact alone that Jesus agreed to be born a man just so he could die for our sins is a very big deal.

There are a lot of hymns that express the love that came down at Christmas. They tell the story of how our savior, so tender and mild, was born in a manger and wrapped in swaddling clothes. They also spread the joy of that love because our deliverer had finally been brought to us in the tiniest and most fragile form after many years of promise.

This message has however been lost over time in all the festivities that have been carried out to celebrate this miracle. The celebrant had inadvertently been forgotten in the mix of Christmas parties and free food, and the message has been changed from the love that God had so much for us into the “spirit of giving”. And even with the small chances where Christ should generally still be seen, like in the spelling of the literal celebration, it has been replaced with the letter “X”.

We have to try our best not to get carried away with the festivities that come with the season and try to remember why the season even exists in the first place. Christmas is not about “French hens” or “turtle doves”; this season exists to celebrate the endless life in Christ. Jesus came so that we celebrate it. And it is a big deal worth celebrating.
Manage Your Cypress Logs Like a Pro
Tags: cypress, testing, javascript, opensource
Published: 2023-12-21 21:55:54

**Cypress** has emerged as a fast, easy-to-use, and reliable testing framework, greatly simplifying the process of end-to-end testing for web applications. However, despite its numerous benefits, it's not without its limitations, especially when it comes to logging.

So, **one notable limitation** is the behavior of the `cy.log()` command. In its default state, `cy.log()` only prints log messages in the Cypress Runner UI. Meanwhile, if you need to print in the terminal then this requires extra work and also may become a problem by adding extra complexity to your codebase.

Hence, if you want to print a message in the terminal then you have to create an additional function and add it to a task's object in the configuration file and only after that you can invoke the added task in your tests and see the message in the command line. This might sound crazy to some people, but **that is how it works now**. So, it would be quite a challenge for new users.

Therefore, I've decided to develop the [cypress-log](https://github.com/elaichenkov/cypress-log) plugin that will **handle under the hood all logic** where to print the message. So, you don't need to think about what to invoke `cy.log()` or `cy.task('log')`. Just simply use the same native command `cy.log()` with the [cypress-log](https://github.com/elaichenkov/cypress-log) plugin that will **override the default behavior** and it will print a log message in the environment where it was running. 

To install the [cypress-log](https://github.com/elaichenkov/cypress-log) library you need to run the following command in your terminal:

```shell
npm install -D cypress-log
```
After that, you need to integrate the plugin into your Cypress project. In your `cypress/support/e2e.js` file, add the following:

```js
import 'cypress-log';
```

Last but not least, you will need to add the `log` task to your `cypress.config.js` configuration file:

```js
// import the 'log' function
const { log } = require('cypress-log/log.task');

module.exports = {
  e2e: {
    setupNodeEvents(on, config) {
      // add the 'log' function to the object
      on('task', { log });
    },
  },
};
```

Then you can use the `cy.log()` method as you have used it before. For instance, by running the following test:

```js
it('prints to the console', () => {
  cy.log('Hello, World!');
  cy.log({ foo: 'bar', baz: { nested: 'prop' } });
  cy.log(['foo', 'bar']);
  cy.log('another message', ['one', 'two', 'three'], { foo: 'foo' });
});
```
You will see the following in the **interactive mode**:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xklvqxlnr56c7xwxer93.png)

But if you run the test in the **non-interactive mode** then you will see the following in your terminal:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iffjzb6sudrh794cygzo.png)

**Follow me on [GitHub](https://github.com/elaichenkov) and [Twitter](https://twitter.com/elaichenkov).**
Why you MUST Add Logger To your project?
Tags: newbi, beginners, programming, hasanelsherbiny
Published: 2023-12-21 21:51:12

When you start developing you application for sure you start with your ide which mostly has a built in debugger, when an error occurs you the debugger pauses the run of the application and tell you that an unexpected exception occurred, but the question here after fixing all bugs you have found "Is Your App Is Now Bug Free?"

the simple answer is "NO" there is no bug free application, so it's expected that on production your application can encounter bugs again but on this environment there is no debugger attached to tell you if there is an issue and where is it, so what to do?

it's really common to make good use of informer inside your app to keep track of it's happening , then when there is an error you can inspect this log and check what is going on.

![Why you MUST Add Logger To your project?](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/38opfqc9a6y842jpep81.gif)


as mentioned for a start you need your logger to log all un handled exceptions, but do we need to log only errors?

## Log Levels
we have a lot of levels we can use depending on our situation and how important log is.

1. TRACE : for extremely detailed and fine-grained information. Typically used during development and debugging to trace the flow of execution and inspect variable values.
Example: Printing variable values, entering or exiting a method, etc.

2. DEBUG: for messages that are helpful during development and debugging but are less detailed than trace messages. It provides insights into the application's internal state.
Example: Displaying the state of key variables, logging method entry and exit points, etc.
3. INFO: provide high-level information about the application's status and significant events. It is often used to track the flow of the application in production.
Example: Startup messages, configuration details, significant state changes, etc.

4. WARN: for messages that highlight potential problems that do not necessarily lead to errors. Warnings are often used to alert developers or administrators about conditions that may require attention.
Example: Deprecated features, suboptimal configurations, non-fatal errors, etc.
5. ERROR: for messages that represent errors or unexpected conditions that may impact the application's functionality. Errors generally indicate a failure but may not be fatal.
6. FATAL: for critical errors that are so severe that they lead to the termination of the application. Fatal messages typically indicate a state from which the application cannot recover.
Example: Unhandled exceptions, unrecoverable system failures, etc.

so logger is important for finding issues only?

actually no, you can use logger for other purposes ,such as

- Monitoring and Performance Optimization
- Auditing and Compliance
- Understanding User Behavior
- Long-Term Maintenance
- Security Insights

in the end logger is your snitch inside the app converting it from a black box, having no idea what is happening there into an open book.
Ideas for personal projects?...
Published: 2023-12-21 21:24:56

Hello there!
I must confess, I'm tired of building to-do lists and printing hello worlds... so I'm looking for ideas so I can start coding personal projects for fun.
A teacher once said, that the best way for finding business ideas was to think on what do people need. So now I'm asking you, dear reader, what problem would you like to solve? 

Let's make this post a collaborative thread where people can retrieve ideas and build their own solutions!
Light and Dark CodePen Challenge - Star Wars
Tags: codepen, html, css, javascript
Published: 2023-12-21 21:17:11

I used JavaScript to generate [pixel art of Yoda and Darth Vader](https://codepen.io/jakekbuckner/pen/VwRwvPP), representations of Light and Dark. This was for CodePen’s light and dark challenge.

{% codepen https://codepen.io/jakekbuckner/pen/VwRwvPP %}