teleren/devto huggingface dataset:
7 Web Components I maybe should have blogged about in 2023
Tags: webcomponents, javascript, webdev
Published: 2023-12-31 13:18:24

I skimmed my repos and counted **56 new Web Components** in 2023
And I only blogged about [one in 2023](https://dev.to/dannyengelman/web-component-19dl). (but it did get me my first hate response in 33 years on the Net)

To make friends and get followers, I maybe should have whined more on X about nuking shadowDOM and the incorrect naming of (HTML) Web Components.
Instead, I keep myself busy answering ``web components`` questions [on StackOverflow](https://stackoverflow.com/users/2520800/danny-365csi-engelman)

Of those 56 Web Components many are unfinished, proprietary, or too simple.

7 are (maybe) worth to blog about. But there is hardly time left in 2023

So here goes, 7 Web Components, without much explanation, a peek at the HTML Page Source will get you started.

All sources are in the single file **element.js** in every repo.
They are all Unlicensed source code, so do whatever you want with them. (read: I won't respond to issues)

Have a good Web Component 2024

## &lt;event-count>

This one does have some decent documentation, I was probably already working on the next Web Component and forgot to blog about this one.
(The HTML file declares 3 more simple Web Components)

Site: https://event-count.github.io/
Repo: https://github.com/event-count/event-count.github.io

## &lt;count-up>

It does work, but documentation sucks. The component counts up numbers (duh) when they become visible **in the viewport**.
When you open the site **zoom the document to the maximum, then _slowly_ scroll down to see the counting numbers**

I never took the time to publish it in its own repo.

Site: https://scroll-number.github.io/
Repo: https://github.com/scroll-number/scroll-number.github.io

## &lt;lorem-ipsum>

I wrote this for the &lt;count-up> site above, to quickly write some paragraphs of Lorum Ipsum text.

Site: https://lo-sum.github.io/
Repo: https://github.com/lo-sum/lo-sum.github.io

## &lt;leaflet-map>

Google Maps now requires registration/a key to display markers on a webpage.
A quickie to use (still free) LeafLet.

Site: https://leaflet-map.github.io/
Repo: https://github.com/leaflet-map/leaflet-map.github.io

## &lt;fit-text>

Another one with decent documentation.
The more you use it, the more you question why this is not a CSS setting.
It now requires 21 lines of JavaScript.

Site: https://fit-text.github.io/
Repo: https://github.com/fit-text/fit-text.github.io

## &lt;cylinder-toggle>

Too simple?
Just a quick copy-paste from a CodePen site to show a Web Component can be created in 5 minutes

Site: https://cylinder-toggle.github.io/
Repo: https://github.com/cylinder-toggle/cylinder-toggle.github.io

## &lt;exec-code>

No comment 😇

Site: https://exec-code.github.io/
Repo: https://github.com/exec-code/exec-code.github.io

<br>
<hr>
<br>

{% jsfiddle https://jsfiddle.net/WebComponents/62f1eLay result,html,js %}
A project that needs more help
Tags: startup, javascript, node, mongodb
Published: 2023-12-31 01:50:43

Hi, I've been working on a project that I'm hoping to market b2b in the future. I'm still in the early stages of the project but have a bunch of work that needs done. While there is more than just the coding I need to focus on I was hoping I might be able to find another person who knows NodeJS, MongoDB, Python, Javascript, And a few other things that I would love to talk about more in detail. I'm looking for someone who has enough experience that they are comfortable practicing on someone elses code and trust their ability to read and update/add on to the project, and someone who also wants to be a long term dev on this project. The project is aimed around construction if you have any background in it. Feel free to comment on this or get ahold of me if you are interested and I apricate any intererest!
The best web design company in Egypt is Ecan Digital
Tags: ecandigital
Published: 2023-12-31 13:07:32

Ecan Digital is the best agency to use if you're looking for the best website design services in Egypt. As a well-known web design company in Egypt, we offer a range of services to help businesses of all sizes create a strong online presence. Speak with our web design strategist right now to grow your business.
The leading branding agency in Egypt is Ecan Digital
Tags: ecandigital
Published: 2023-12-31 13:04:35

Your search for the best branding agency in Egypt is over thanks to Ecan Digital, the greatest creative firm in Cairo, Egypt. Our company consists of a team of skilled branding specialists who provide complete branding solutions customized to meet the unique needs of businesses of all sizes and in different industries. Get in touch with our branding consultant right now to help your company shatter records.
Top Online Advertising Agency in Egypt is Ecan Digital
Tags: ecandigital
Published: 2023-12-31 13:02:19

Ecan Digital needs to be taken into account first while looking for the best digital advertising agency in Egypt. The best digital advertising services are offered by our digital advertising agency in Cairo. Our team of experts in digital advertising has extensive experience, enabling us to provide tailored online advertising solutions that cater to the unique requirements of companies across all sectors and sizes. Get in touch with our digital advertising strategist right now to see your business undergo a dramatic change.
#100DaysOfCode - Day 13-14
Published: 2023-12-31 12:57:05


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

finished the backend part of the tutorial.
before jumping on to the front end, started a new project where I'm implementing the concepts I learned from the tutorial.

Feel free to connect with me through my social links below. Let's code, learn, and grow together!"
[@nomanux](https://twitter.com/Nomanux)
AWS Global Infrastructure
Published: 2023-12-31 12:13:53

Amazon Web Services (AWS) operates a vast global infrastructure to support its cloud services. The infrastructure is designed to provide reliability, scalability, and performance to users around the world. Here are some key aspects:

**1.Regions**: AWS has multiple geographic regions worldwide, each consisting of multiple availability zones. These regions are isolated from each other and are composed of data centers in separate geographic locations. As of my last update, AWS had numerous regions spread across various continents.

**2. **Availability Zones (AZs)**:** Within each region, there are multiple availability zones. An availability zone is essentially a data center or a cluster of data centers. These zones are designed to be isolated from each other to provide redundancy and fault tolerance. They're connected through low-latency links to ensure high availability.

**3. **Edge Locations**: **AWS has a network of edge locations that are part of its Content Delivery Network (CDN) known as Amazon CloudFront. These edge locations are spread across the globe and help deliver content with lower latency by caching data closer to end-users.

**4. **Global Network Backbone**:** AWS operates a robust and highly available network backbone that interconnects its regions, availability zones, and edge locations. This backbone is designed for high performance, low latency, and fault tolerance.

**5. **Services and Features**: **AWS services are available across its global infrastructure. Users can deploy and manage various services such as computing, storage, databases, machine learning, IoT, and more in multiple regions and availability zones to create highly available and resilient applications.

**6. **Compliance and Security**:** AWS infrastructure adheres to various compliance certifications and security standards. They have implemented security measures at multiple levels to protect data and infrastructure.

This extensive global infrastructure allows AWS users to deploy their applications closer to end-users, providing faster access, high availability, and scalability while maintaining strong security measures.
Luminosity Haven: Enlightening Spaces in Nashik's Premier Lighting Shop
Tags: electronic, electricalshopin, electricalshopinnashik, electronicstore
Published: 2023-12-31 12:12:12

Illuminate your space with brilliance at our lighting shop in Nashik. Explore a curated collection of exquisite fixtures that blend style with functionality. From contemporary designs to timeless classics, our selection caters to diverse tastes. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wa0ni4wucojwilvhhu7h.png)
Visit our shop- Aditya Apartment, Ahilya Bai Holkar Road, near Chandak Circle, Besides HDFC bank, Mumbai Naka, Tidke Colony, Nashik, Maharashtra 422002
Contact on- 8048968869
Smart Clothing - Garments Buying Agent, Exporter & Supplier Company
Published: 2023-12-31 12:07:47


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hkfdlqu9qt6skwznekqt.jpeg)
Smart Clothing stands as a cornerstone in the realm of garment trade, representing a well-established and reputable [garments buying agent](https://smartclothingbd.com/), exporter, and supplier company based in the vibrant textile hub of Bangladesh. With a commitment to empowering the fashion industry through a wealth of experience, Smart Clothing has carved a niche for itself as a trusted partner in the global apparel market.

Our journey is rooted in a deep understanding of the evolving dynamics of the fashion world. As a buying agent, we play a pivotal role in connecting discerning clients with a diverse array of high-quality garments, ensuring that each piece reflects the latest trends and meets stringent quality standards. Our expertise extends beyond borders, as we serve as a reliable exporter, facilitating the seamless flow of fashion from Bangladesh to destinations worldwide.

What sets Smart Clothing apart is not just our commitment to delivering top-notch products, but also our dedication to fostering sustainable and ethical practices. We embrace the responsibility of contributing to a positive impact on both the environment and the communities involved in our supply chain. By adhering to stringent ethical standards, we aim to be a beacon of responsible business in the textile industry.

Our supply chain is a testament to efficiency and reliability. With a keen eye on market trends and a robust network of suppliers, we ensure that our clients receive a curated selection of garments that align with their brand ethos. Smart Clothing's proficiency lies in its ability to anticipate market needs, enabling our clients to stay ahead in the fast-paced world of fashion.
Unique 3D loader using html css
Tags: freecodez, react, html, blog
Published: 2023-12-31 12:04:01

Hey there, You are most welcome to this article.

**Unique 3D loader using html css**

![Unique 3D loader using html css](https://res.cloudinary.com/freecodez/image/upload/v1704024195/images/qzqkk7ajudqr0ueahd6b.webp)

For full source code visit : [https://freecodez.com/post/sp516pf](https://freecodez.com/post/sp516pf)


```html
<!-- https://freecodez.com -->

    <div class="loader">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
    </div>

```

Source Code : [https://freecodez.com/post/sp516pf](https://freecodez.com/post/sp516pf)

For more such articles visit : [https://freecodez.com](https://freecodez.com/all)
@greeneyesai/api-utils
Tags: node, api, typescript, library
Published: 2023-12-31 12:03:56

**A super-lightweight, fully typed TypeScript lib to help you implement versatile NodeJS REST APIs quickly.** Enterprise-ready. Patterns include _Model-View-Controller architecture, typed middlewares, Inversion of Control (DI) for Controller and Provider constructs, support for event-driven composition, a health check endpoint abstraction, declarative routing, CORS middleware, verbose error handling, worker-thread based asynchronous logging, support for graceful shutdown and runtime exception handling._ 

Providers included: _an abstraction over Sequelize ORM for PostgreSQL supporting Trait-based extensions, a Redis client with full API support, an AWS S3 object storage client and an AWS SES email relay client._

Code examples are included on the NPM page.

NPM page: [https://www.npmjs.com/package/@greeneyesai/api-utils](https://www.npmjs.com/package/@greeneyesai/api-utils)
Current version: 1.11.11
Author: @rpi1337 
License: GNU Lesser General Public License v3.0

© GreenEyes Artificial Intelligence Services, LLC.
Calculate the reading time of a webpage
Tags: tutorial, javascript, webdev
Published: 2023-12-31 12:03:00

As a web developer, you might want to let users know how long it will take to read the content on your webpage. This is especially helpful if they're in a hurry. In this post, we'll show you how to use JavaScript to calculate the reading time of a webpage.

First, we need to figure out the average reading speed of our users. According to research, most adults read at a speed of about 200-300 words per minute (WPM). However, this can vary depending on factors like age, language, and reading comprehension.

For this post, we'll use an average reading speed of 250 WPM.

Next, we need to count the number of words on the webpage. We can do this using JavaScript by selecting the element that contains the content and using the `textContent` property to get the text. Then, we can split the text into an array of words with the `split()` method and count the number of words with the `length` property.

Here's an example of the code:

```js
const content = document.querySelector('#content');
const words = content.textContent.split(' ');
const numWords = words.length;
```

Now that we have the average reading speed and word count, we can calculate the reading time. We can do this by dividing the word count by the average reading speed and rounding up to the nearest minute.

Here's a code example:

```js
// Words per minute
const readingSpeed = 250;
const readingTime = Math.ceil(numWords / readingSpeed);
```

Finally, we can display the reading time to the user. We can select an element on the page to display the reading time and set its `textContent` property to the calculated reading time.

Here's an example of the code in action:

```js
const readingTimeEle = document.querySelector('#reading-time');
readingTimeEle.textContent = `${readingTime} minute read`;
```

## Conclusion

In this post, we've learned how to calculate how long it takes to read a webpage using JavaScript. By giving users an estimate of how much time they'll need to read your content, you can improve their experience and help them manage their time more effectively.

## See also

-   [Reading progress indicator](https://phuoc.ng/collection/css-animation/reading-progress-indicator/)

---

If you want more helpful content like this, feel free to follow me:

-   [DEV](https://dev.to/phuocng)
-   [GitHub](https://github.com/phuocng)
Programming Is An Art
Tags: codenewbie, softwaredevelopment
Published: 2023-12-31 12:01:40

| 🔴 **Disclaimer**: This post is enhanced with AI assistance.|
|--------------|

---

In realms of logic, where electrons dance,
Blooms digital beauty, a programmer's trance.
Not brushstrokes on canvas, nor clay shaped with hand,
But code's woven tapestry, across the digital land.

With knowledge as palette, a treasure amassed,
Algorithms sculpt, functions cast shadows.
Intuition whispers, a brushstroke so fine,
Efficiency's rhythm, a poem in each line.

Ingenuity's flame, a spark takes flight,
Solving problems with grace, bathed in moonlit light.
Elegant solutions, like stanzas untold,
Unraveling complexity, leaving hearts bold.

But art's true essence, in beauty resides,
Where pixels and data, in harmony confide.
User interfaces shine, with intuitive glow,
Interactive whispers, where stories softly flow.

Animation's ballet, a graceful display,
Breathing life into logic, chasing shadows away.
Games transport us, worlds spun from code's thread,
Adventures unfold, where imagination's fed.

And the programmer, artist in soul,
Finds joy in creation, making knowledge whole.
No longer a drudge, a task to endure,
But a canvas to paint, a passion to pure.

For in every algorithm, a rhythm to find,
In every function, a melody entwined.
With subconscious whispers, the artist takes hold,
Transforming the mundane, into digital gold.

So let the code sing, with elegance unbound,
A symphony of logic, on beauty's hallowed ground.
For the programmer's vision, an artist's embrace,
Makes software a masterpiece, bathed in digital grace.

---

|✍ **Powered by**: *Google Bard*|
|--------------|
Unreal Engine & Fusion in Video Production
Published: 2023-12-31 11:57:32

Hey, we're experimenting with Unreal Engine for virtual sets and compositing in DaVinci Resolve's Fusion at Live UP Media. How are you integrating these tools in your projects? 

We're Looking to connect and collaborate with others in the field, feel free to connect!
www.liveupmedia.co.uk

Here are some of the results we are getting with out tiny virtual production studio in london
https://youtube.com/shorts/9oy4kChLjvQ?si=XGTIXtmn9pyW39Sr
https://www.youtube.com/shorts/o_ujJoT9T4A
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tjxfjghvu8l0umor41k0.png)
Are there any challenges or drawbacks to implementing Agile Accessibility in a project?
Tags: a11y, agile, webdev
Published: 2023-12-31 11:54:26

Implementing [Agile Accessibility](https://www.sitelint.com/blog/the-key-to-agile-accessibility-effective-measurement-of-what-matters/) in a project does come with certain challenges and potential drawbacks:

1. **Lack of Clear Processes**: Agile methodologies often encourage teams to operate with a lot of autonomy and flexibility. However, this can sometimes lead to teams getting sidetracked, particularly if there aren't enough processes in place to guide them. Without a clear vision or sufficient documentation, teams may struggle to stay focused on the project's goals, leading to scope creep and potential delays.
2. **Difficulty Maintaining Collaboration**: Agile methodologies emphasize continuous collaboration among team members. However, this can be challenging to maintain, especially in larger teams or across geographically dispersed teams. It requires additional time, commitment, and coordination to ensure that everyone is aligned and working towards the same objectives.
3. **Challenges in Measuring Progress**: With Agile methodologies, there isn't a fixed end date or final product specification, which makes it hard to measure progress. This can make it difficult for stakeholders to understand what's being achieved and whether the project is on track.

To mitigate these challenges, it's important to establish clear processes and guidelines, foster strong collaboration, and set up systems for regularly assessing and communicating progress. Tools like project management software and visual representation of workflows can be useful in facilitating these efforts.
Healing Harmony: Ayurvedic Approaches for PCOD Wellness.
Published: 2023-12-31 11:41:55

Discover the ancient wisdom of Ayurveda in our holistic approach to Polycystic Ovary Syndrome (PCOD) treatment. Rooted in natural healing principles, our Ayurvedic treatment for [PCOD](www.saichhayaayurved.com) focuses on restoring balance to the body, mind, and spirit. 
Contact on- 7720021022 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xsydi5qwq4j0ylj20psb.jpg)
Yet again, a free, open source alternative to FingerprintJS: ThumbMarkJS
Tags: fingerprint, webdev, analytics, opensource
Published: 2023-12-31 11:22:30

Maybe this time is different.

There simply isn't a well-maintained open source alternative to FingerprintJS. I believe the problem is not in the libraries themselves, but rather:

1. How easy it is to measure how well they behave in the open, performance at scale
2. How easy it is to debug an issue
3. How easy it is to contribute to the project

I need a fingerprinting library for my work, but not that badly, that I'd want to pay a pretty high premium for the market leader. My need is more of the kind of "anything is better than nothing". But I tend to get pulled into understanding how things work and eventually trying to perfect them.

Anyway, enough prologue. If you're interested in a JavaScript browser fingerprinting library written in Typescript, have a look at [ThumbMarkJS](https://github.com/ilkkapeltola/thumbmarkjs). Give it a go. And let me know where it falls short.

I already know that mobile phones are the more trickier bit, and unfortunately I don't have a handful of them at my disposal. 

There is a [Demo page](https://thumbmarkjs.com/), too, and it logs your fingerprint. Simply go there if you want to contribute to the logs. The logging happens automatically.

I've enabled Discussions on my GitHub, please use it.
Amazon VPC (Virtual Private Cloud)
Tags: beginners, aws, learning
Published: 2023-12-31 11:03:16

Amazon VPC is your network environment in the cloud. With Amazon VPC, you can launch AWS resources into a virtual network that you have defined.

VPCs deploy into one of the AWS Regions and can host resources from any Availability Zone within its Region.

Amazon VPC is designed to provide greater control over the isolation of your environments and their resources. With Amazon VPC, you can:

Select your own IP address range
Create subnets
Configure route tables and network gateways

_Following diagram will help to understand VPC and components with Login activity by DBA (database Admin) and normal user accessing website and database.
_

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

Note : To know step-by-step process Kindly click here [“DOWNLOAD”](https://drive.google.com/file/d/1fsqJrCqfg7S9xzQWU2jwdGRFGKWgjEl4/view?usp=drive_link)
Programming YouTubers I recommend
Tags: webdev, javascript, typescript, programming
Published: 2023-12-31 10:47:30

Some YouTube channels I follow to keep myself updated in the tech world

- For everything about tech
1) Fireship Tech - https://www.youtube.com/@Fireship
2) codedamn - https://www.youtube.com/@codedamn
3) Theo - https://www.youtube.com/@t3dotgg

- For typescript-related stuff
1) Basarat Ali Syed - https://www.youtube.com/@basarat
2) Matt Pocock - https://www.youtube.com/@mattpocockuk
3) Andrew Burges - https://www.youtube.com/@andrew-burgess

- For Backend and Architecture
1) Hussein Nasser - https://www.youtube.com/@hnasr
2) Arpit Bhayani - https://www.youtube.com/@AsliEngineering
3) Gaurav Sen - https://www.youtube.com/@gkcs

- For SQL
1) PlanetScale - https://www.youtube.com/@PlanetScale
2) TechTFQ - https://www.youtube.com/@techTFQ

- For NextJs
1) Josh tried coding - https://www.youtube.com/@joshtriedcoding
2) Hamed Bahram - https://www.youtube.com/@hamedbahram
3) Jack 🤔 Herrington - https://www.youtube.com/@jherr

- For Javascript
1) Akshay Saini 🚀 - https://www.youtube.com/@akshaymarch7
2) Hitesh Choudhary - https://www.youtube.com/@HiteshChoudharydotcom
3) Chai Aur Code - https://www.youtube.com/@chaiaurcode