teleren/devto huggingface dataset:
The Forever Story
Published: 2024-03-08 11:59:51

Established in 13th May 1978 has experienced over 42 years of continuous growth
World Leader in Aloe Vera & Bee Hives
International Headquarters:Scottsdale,Arizona USA
Cash Rich and Debt Free with Total annual turnover of $3.8 Billion
Currently does business in 170+ countries worldwide Globally own 6000 office's
Successfully Functioning in Middle East since 1999
World Best network marketing in wellness industries
Docker basic concepts
Published: 2024-02-27 21:53:18

Docker is a popular platform used to develop, ship, and run applications within containers. Here are some basic concepts to understand about Docker:

▣ Containerization: Docker uses containerization technology to encapsulate applications and their dependencies into lightweight, portable containers. Containers are isolated environments that package everything needed to run an application, including the code, runtime, system tools, libraries, and settings.

▣ Docker Engine: Docker Engine is the core component of Docker. It is a client-server application with the following major components:

▣ Docker Daemon: A background process running on the host system responsible for managing Docker objects such as images, containers, volumes, and networks.

▣ Docker Client: A command-line interface (CLI) tool used to interact with the Docker Daemon via the Docker API.

▣ Images: An image is a read-only template used to create Docker containers. It contains the application code, runtime, libraries, and dependencies needed to run the application. Images are built using a Dockerfile, which specifies the instructions for creating the image layer by layer.

▣ Containers: A container is a runnable instance of an image. It encapsulates the application and its dependencies, providing an isolated environment for running the application. Containers can be started, stopped, paused, and deleted using Docker commands.

▣ Dockerfile: A Dockerfile is a text file that contains instructions for building a Docker image. It specifies the base image, environment variables, commands to run during the build process, and other configuration settings. Dockerfiles are used to automate the image creation process and ensure consistency across different environments.

▣ Docker Registry: Docker Registry is a repository for storing and distributing Docker images. The Docker Hub is the official public registry provided by Docker, where users can find and share Docker images. Organizations can also set up private registries to store their proprietary Docker images securely.

▣ Docker Compose: Docker Compose is a tool used to define and run multi-container Docker applications. It uses a YAML file (docker-compose.yml) to define the services, networks, and volumes required for the application. Docker Compose simplifies the management of complex applications with multiple interconnected containers.

▣ Volumes: Volumes are used to persist data generated by Docker containers. They provide a way to store and share data between containers and the host system. Docker volumes can be managed using Docker commands or defined in Docker Compose files.

▣ Networking: Docker provides networking capabilities to connect containers running on the same host or across multiple hosts. Each container can be assigned a unique IP address and connected to one or more networks. Docker also supports network drivers to enable advanced networking features such as overlay networks and network plugins.

These are some of the fundamental concepts of Docker that developers need to understand to effectively use Docker for containerization and application deployment.
Using pnpm with the GitLab package registry in GitLab CI
Tags: pnpm, gitlab, node, npm
Published: 2024-03-08 11:47:03

In this blog post, I explain how to use [pnpm](https://pnpm.io/) in [GitLab CI](https://docs.gitlab.com/ee/ci/) and how to authenticate with a private [GitLab package registry](https://docs.gitlab.com/ee/user/packages/package_registry/).

[Corepack](https://nodejs.org/api/corepack.html) is an experimental tool that helps you manage the versions of your package managers.

**package.json**

The [`packageManager`](https://nodejs.org/api/packages.html#packagemanager) field specifies which package manager is expected to be used. The value is set to `pnpm` with the preferred version `8.15.4`.

```json
{
  "packageManager": "pnpm@8.15.4"
}
```

**.gitlab-ci.yml**

In order to have `pnpm` available in every job, it is installed within the [`before_script`](https://docs.gitlab.com/ee/ci/yaml/#before_script). These commands are executed before each job!

```yaml
before_script:
  - corepack enable
  - corepack prepare --activate
```

To also use the [cache](https://docs.gitlab.com/ee/ci/yaml/#cache), it is configured as follows:

```yaml
cache:
  key: $CI_COMMIT_REF_SLUG
  paths:
    - .pnpm-store
  policy: pull-push

before_script:
  - pnpm config set store-dir .pnpm-store
```

The following commands are required to access the private package registry:

```yaml
before_script:
  - pnpm config set @scope:registry https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/
  - pnpm config set -- //${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken ${CI_JOB_TOKEN}
```

Replace `@scope` with your package scope. The environment variables `CI_SERVER_HOST`, `CI_PROJECT_ID` and `CI_JOB_TOKEN` are provided by GitLab CI. You do not need to manually create and set a token for the package registry. The `CI_JOB_TOKEN` is valid as long as the job is running.

Packages can now be downloaded and published.

## Complete code example

With this example you can use `pnpm` in GitLab CI, download packages from the GitLab package registry and also publish them.

**.gitlab-ci.yml**

```yaml
image: 'public.ecr.aws/docker/library/node:18-bullseye'

stages:
  - build
  - deploy

cache:
  key: $CI_COMMIT_REF_SLUG
  paths:
    - .pnpm-store
  policy: pull-push

before_script:
  - corepack enable
  - corepack prepare --activate
  - pnpm config set store-dir .pnpm-store
  - pnpm config set @scope:registry https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/
  - pnpm config set -- //${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken ${CI_JOB_TOKEN}
  - pnpm install

build:
  stage: build
  script:
    - pnpm run build
  artifacts:
    paths:
      - dist/

publish:
  stage: deploy
  needs:
    - job: build
  script:
    - pnpm publish
```

---

If you have any kind of feedback, suggestions or ideas - feel free to comment this post!
🚀 Next.js Boilerplate just hit 6000+ ⭐ stars on GitHub! 🔥 6️⃣0️⃣0️⃣0️⃣ 🔥
Tags: webdev, javascript, nextjs, opensource
Published: 2024-03-08 11:46:42

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


I want to share an awesome news for my Next.js Boilerplate which has reached 6000+ ⭐ stars on GitHub. I started the project in July 2020 but I have continuously updating the project from Next.js 9 to Next.js 14.1 with the app router support, from Tailwind CSS 1 to the version 3.4, upgrade ESLint to version 8, replace Cypress by Playwright for better DX, etc.

I also added new feature into the boilerplate. Lately, I add the internationalization (i18n) to support multi-language app out of the box. To also improve the Developer experience, the boilerplate comes up with a Logging system using Pino.js.


You can check out the GitHub repo at: [Next.js Boilerplate](https://github.com/ixartz/Next-js-Boilerplate)

You can also learn more about the project on the [official Next.js Boilerplate website](https://nextjs-boilerplate.com)


This is only the beginning, I'm currently working to add more built-in feature into the boilerplate and I'll keep updating the project. I'm also open to suggestion and feedback.

Hope you'll find interesting and you'll use for your current and next projects.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sevqsaav7b4r4x9y0lh6.png)
E-commerce advertising | E-commerce marketing
Published: 2024-03-08 11:40:01

In today's digital age, having a strong online presence is crucial for the success of any business, especially for those operating in the ecommerce sector. Ecommerce advertising plays a pivotal role in driving traffic, increasing conversions, and ultimately, growing your business. In this blog post, we'll delve into the various aspects of ecommerce ads , focusing on how it can benefit your business and drive growth.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rbn7cf350t8373bjgsu.png)
Introduction to Ecommerce Advertising
Ecommerce advertising encompasses the strategies and tactics used to promote products or services online, with the goal of attracting potential customers and driving sales. It involves utilizing various digital channels such as search engines, social media platforms, and display networks to reach and engage with target audiences.
Definition of Ecommerce Advertising
Ecommerce advertising refers to the promotional activities carried out by ecommerce businesses to attract potential customers and drive sales through online channels.
Importance of Ecommerce Advertising
In today's competitive market, simply having an online store is not enough. With the proliferation of ecommerce businesses, it's essential to stand out from the crowd and effectively reach your target audience. Ecommerce advertising helps businesses increase their online visibility, drive targeted traffic to their websites, and ultimately, boost sales.
Benefits of Ecommerce Advertising
Increased Visibility and Traffic
Ecommerce ads allows businesses to increase their visibility on search engines and other online platforms, making it easier for potential customers to find them. By targeting specific keywords and demographics, businesses can drive relevant traffic to their websites, increasing the likelihood of conversions.
Targeted Reach
One of the key advantages of ecommerce marketing is its ability to target specific audiences based on demographics, interests, and online behavior. This targeted approach ensures that businesses are reaching the right people with their ads, maximizing the return on investment (ROI) of their advertising campaigns.
Cost-Effectiveness
Compared to traditional forms of advertising such as print or TV ads, ecommerce advertising offers a more cost-effective solution for businesses, especially for those with limited marketing budgets. With pay-per-click (PPC) advertising, businesses only pay when users click on their ads, making it a cost-effective way to drive targeted traffic to their websites.
Enhanced Brand Awareness
The [best ecommerce platform](https://www.7searchppc.com/ecommerce-advertising-ads-network) allows businesses to increase brand awareness and visibility among their target audience. By consistently appearing in front of potential customers through targeted advertising campaigns, businesses can build brand recognition and trust, ultimately leading to increased sales and customer loyalty.
try not to break the fictive dream
Tags: gamedev, writing
Published: 2024-03-08 11:30:25

In the book "The Art of Fiction", John Gardener talks to us about the *Fictive Dream* .

The reader enters a dream when they start reading.

And it is our job as writers **not to wake them up** from this dream.

If we bore them or break the suspension of disbelief, boom, they wake up.

> "In bad or unsatisfying fiction, this fictional dream is interrupted from time to time by some mistake or conscious ploy on the part of the artist. We are abruptly snapped out of the dream, forced to think of the writer or the writing." **John Gardener** 
> 
> 

This problem, obviously, goes beyond fiction.

In video games we call it **retention** .

What is interesting to highlight is that retention poses different scales.

There is an element of retention in that we call moment-to-moment gameplay. This retention has to do with the gameplay being satisfactory at all times.

The player has to have a more or less clear intention horizon, and achieve effects and progress through their movements in the game space. All of this has to feel satisfying.

As Gardener would say, we must not bore them, or they wake up.

But we also have other types of retention. We have elements of extrinsic motivation: achievements, unlockables, events, etc.

These types of retention are more long-term, the player returns to play our game driven by that extrinsic motivation.

When I think about how the Fictive Dream manifests in games, I specifically think about moment-to-moment gameplay.

All extrinsic retention tools necessarily break the Fictive Dream and have a more gamey nature, separate from storytelling: the story disappears and the focus is on the game.

Maintaining the Fictive Dream must be the first item to keep an eye on during playtesting.

If you are making a narrative game, you have to treat the rupture of the Fictive Dream as a high-priority bug.

Otherwise, you are leaving your players without what they came to seek.
mission education coaching
Tags: ssc, mpsi
Published: 2024-03-08 11:20:29

[Mission Education Bhopal stands out as the premier coaching institute for MPSI, constable exams, UPSC, banking, SSC, ESB, MPPSC, and Railways. Our dedicated faculty, comprehensive curriculum, and personalized approach ensure students receive the best preparation possible. Join us to excel in your chosen field and realize your ambitions with certainty.
nvm으로 node 버전 관리하기
Tags: nvm, node
Published: 2024-03-08 11:09:53

node를 brew로 설치해서 사용하고, `brew upgrade` 를 자주 실행해서 node가 항상 최신 버전이다. 근데 개발한 프로그램이 나한테서만 로그인이 안되는 문제가 발생해서 찾아보니 내 node 버전이 너무 높은게 원인이었다.

안그래도 `node 버전은 lts를 써야한다` 라는 얘기는 들었지만, 이렇게 문제가 발생할 줄은 몰랐다. 이참에 nvm으로 갈아탄다. 

## nvm 설치

https://github.com/nvm-sh/nvm

```shell
$ arch -arm64 brew install nvm
```

설치 후에 나오는 설명대로 폴더를 만든다.

```shell
$ mkdir ~/.nvm
```

## .zshrc에 추가 
```shell
export NVM_DIR="$HOME/.nvm"
  [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh"  # This loads nvm
  [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"  # This loads nvm bash_completion
```

## 설치가능한 목록 보기

```shell
$ nvm list
->     v18.19.1
default -> v18.19.1
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v18.19.1) (default)
stable -> 18.19 (-> v18.19.1) (default)
lts/* -> lts/iron (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.21.3 (-> N/A)
lts/gallium -> v16.20.2 (-> N/A)
lts/hydrogen -> v18.19.1
lts/iron -> v20.11.1 (-> N/A)
```

## node 설치

https://github.com/nvm-sh/nvm?tab=readme-ov-file#long-term-support

```shell
$ nvm install --lts # or nvm install v20.11.1
$ nvm use --lts # or nvm use v20.11.1
```

## 기본 버전 지정

이걸 안하면 터미널이 새로 실행되면 `node -v` 를 해도 `command not found` 가 뜬다.

```shell
$ nvm alias default node # or nvm alias default 20.11.1
```
[Webinar] Optimizing Food Logistics: Quixy' s Solution for Seamless Operations
Tags: tutorial, productivity, discuss, logistics
Published: 2024-03-08 11:09:47

Hey Everyone,

Don't Miss Out on Our Exclusive Webinar!

Discover how Quixy revolutionizes food logistics, making processes seamless and efficient. 
➡[REGISTER NOW](https://us02web.zoom.us/webinar/register/6817095521754/WN_Kx0z5zKmQ3OV7fN9BSZYdw)

⚡Unveil Quixy's seamless processing of purchase orders from Nekkanti.
🙌Explore effortless container management within Quixy's platform.
💡Understand heightened security features for control & monitoring.
📜Learn about automated billing procedures for accuracy.

Elevate your Logistics Game!

Click here ➡ [Register Now ](https://us02web.zoom.us/webinar/register/6817095521754/WN_Kx0z5zKmQ3OV7fN9BSZYdw)

#QuixyWebinar #FoodLogistics #logisticssolutions #Optimization #Operations #Webinar #NoCode #LowCode #DigitalTransformation #Automation
Engineering Bolt ⚡: #5 Friday Developer Fun 😎
Tags: webdev, tips, programming, career
Published: 2024-03-08 11:03:50

The wisest coding advice, code quality to the extreme 🛠️


{% embed https://twitter.com/alexrashkov/status/1766056613645865338 %}

## Join Me

Read more about [Engineering Culture in Meta (Facebook)](https://engineeringbolt.com/interview-question/tell-me-about-a-time-you-made-a-mistake/), [⚡Newsletter](https://engineeringbolt.substack.com/subscribe), [Twitter](https://twitter.com/alexrashkov/status/1766056613645865338) and [LinkedIn](https://www.linkedin.com/in/alexrashkov) for more Career, Leadership and Growth advice.

[![Engineering Bolt Newsletter Subscription](https://miro.medium.com/v2/resize:fit:1400/0*GRosK-LpWlj01rUR.png)](https://engineeringbolt.substack.com/subscribe)


 #developers #softwareengineering #meme #fridayhumor
Toughened glass solutions in Kerala
Published: 2024-03-08 11:03:22

V-Tuff, the leading [best toughened glass manufacturer in Kerala](https://www.v-tuff.com/). With a focus on quality, innovation, and customer satisfaction, V-Tuff offers high-quality toughened glass products for residential, commercial, and industrial applications. Their state-of-the-art manufacturing facility ensures every piece meets rigorous standards, while their dedicated team provides personalized service from consultation to installation. Trusted by architects, builders, and homeowners, V-Tuff is the go-to choice for superior toughened glass works in Kerala.
ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM)
Published: 2024-03-08 11:03:17


O ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM) é a principal conferência  para apresentação de resultados de pesquisa relacionados à engenharia de software empírica. O ESEM proporciona um fórum estimulante no qual pesquisadores e profissionais podem apresentar e discutir recentes resultados de pesquisa em uma ampla gama de tópicos, além de trocar ideias, experiências e abordar problemas desafiadores.

- Até 26/04 - envio de abstracts
- Até 06/05 - envio do artigo


<https://bit.ly/ESEM2024>


![ESEM logo and info](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bk460fwujqh6qiwai8yx.png)
What was your win this week?
Tags: discuss, weeklyretro
Published: 2024-03-08 11:01:00

Heyo! 👋

Hope you all have had another wonderful, successful week!

Looking back on this past week, what was something you were proud of accomplishing?

All wins count — big or small 🎉 

Examples of 'wins' include: 
- Starting a new project
- Fixing a tricky bug
- Dancing! 🕺

---

![Baby Groot, dances around as a potted plant](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aig46tayzktjnv8q0dr6.gif)

---

**_Did you know we feature wins in our "Wins of the Week" email every Friday? [Subscribe to our weekly newsletter emails](https://dev.to/settings/notifications) to get wins delivered right to your inbox!_** 💌
GET YOUR CRYPTO BACK FROM SCAMMERS
Published: 2024-03-08 10:55:47


Hello, I'm Matilda Adams from the United States. Losing money through  scammers is terrible and awful. You could find yourself in an untenable situation as a result of it; that was exactly what happened to me. I put more than $130,000 into a cryptocurrency platform, and up until it was too late, everything seemed perfectly in place. before I realised I was  deceived. I was suffering from depression for days and tried everything to get my money back. I visited dIfferent web pages and read a lot of reviews and testimonies about WIZARD WILLIAMS RECOVERY SERVICES, so I willingly decided to give them a try. and it was the best choice I've ever made.The money was recovered back to me very quickly. Choose your investments with cautiousness. Kindly get in contact with Wizard Williams recovery at email (wizardwilliams@mail.com) if you ever encounter similar circumstances, or through WhatsApp +4,9,1,7,6,1,2,4,5,2,0,6,6.
All software should run at 60fps on modern hardware?
Tags: programming, discuss, development, web
Published: 2024-03-08 10:48:08

Just listening to Primeagen and Casey Muratori discussion about modern devs, and Casey had a great point of all software on modern hardware should run atleast at 60fps, do you agree? Do you think that time will come when fast and optimized software will be priority in this bussiness oriented world?
3D Architectural Animation Services
Tags: 3danimatio, animation, characteranimation, customanimation
Published: 2024-03-08 10:47:24

Looking for top-notch 3D Architectural Animation Services? Digital Bakerz offers cutting-edge solutions to visualize your architectural designs with stunning detail and realism. Whether you're showcasing a new development, interior design, or urban planning project, our team can bring your vision to life. Contact us today to discuss your project requirements and let us help you create captivating animations. https://www.digitalbakerz.com/services/3d-architecture-animation/
A Simple MBA Dissertation Writing Guide: 4 Steps To Success
Published: 2024-03-08 10:43:46

The journey of writing an MBA dissertation can be daunting, but breaking it down into manageable steps can make the process much smoother. Here's a simplified guide to help you navigate your way to success:

- Choosing the Right Topic: 
- Researching and Planning: 
- Writing and Revising: 
- Polishing and Finalizing: 

In conclusion, writing an **[MBA dissertation help](https://www.dissertationhomework.com/mba-dissertation-help)** requires dedication, perseverance, and meticulous attention to detail. By following these four steps – choosing the right topic, researching and planning, writing and revising, and polishing and finalizing – you can navigate the dissertation writing process with confidence and achieve success in your academic endeavors. 

Remember, you're not alone on this journey – seek support from peers, mentors, and academic resources to help you along the way.
Modules in Javascript. Comprehension problems. When and where to outsource what
Tags: javascript
Published: 2024-03-08 10:39:10

Hello. I need help using modules. I have attached the app.js as a module in my single page application.

There is a loadContent function in app.js. This should regenerate the content of <main> depending on the URL parameters or the menu item clicked.

For example, if I click on the Map menu item, the map.js module is imported and the showMap function it contains is called.

However, additional links are created in the showMap function, which in turn should call the loadContent function when clicked.

However, map.js does not know this function because it is defined in app.js.

What would be best practice here? Add the event handlers after the function call showMap in the app.js? Or outsource the loadContent as module and import it everywhere? Or is my approach completely wrong?