teleren/devto huggingface dataset:
Why are Web Components interesting?
Tags: javascript, webcomponents, webstandards
Published: 2024-03-11 12:29:46

---
title: Why are Web Components interesting?
published: true
description: 
tags: javascript, WebComponents, WebStandards
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2024-02-10 17:45 +0000
---

I've been increasingly interested in Web Components and trying to understand how I can rewrite my historic code to use this standard. Most developers I talk to though are pretty much `frontend===React`: what is this strange thing you're talking about?

The dominance of virtual DOM frontends with complex lifecycles and associated tool chains means that people have invested a lot of intellectual and emotional effort into these tools and genuinely think they are the best way to deliver web experiences to people. This post is not going to change their views and I think it is genuinely hard to do that. Enterprise computing is probably going to be using React, Angular and other frameworks for a while yet.

If you are not particularly wedded to a particular frontend approach then Web Components have a few things that make them interesting. Firstly, they are standards compliant. They are available in all browsers, work consistently and require no libraries, bundles or WASM compilers to run. It is easier to re-use Web Components because of this standards approach as the baseline functionality is clear across all deployments. This simply isn't true of VueJS and React. When you make a choice of what is essentially a mini-language you are then stuck in that ecosystem with no shared runtime. Weirdly I've seen Web Components used as bridge between different components in production and it actually worked quite well, allowing different rendering and event handling approaches but co-ordinating state.

Web Components offer the opportunity to try and get back to [progressively enhanced experiences](https://www.gov.uk/service-manual/technology/using-progressive-enhancement) that with reduced dependency on virtual rendering and Javascript could be [more sustainable](https://developer.mozilla.org/en-US/blog/introduction-to-web-sustainability/). They are easy to add on top of regular HTML and seem to fail with more safety than virtual rendering which tends to completely fail on a problem leaving a blank page or component.

The final thing that is interesting is that Web Components are a lower-power solution, they literally just allow you to create new elements and encapsulate behaviour. They are not also trying to provide a styling, state or templating solution so you are able to compose them with other technologies. Some people like ShadowDOM, some don't but by having smaller modules of standards-based behaviour people can use a common-base to take different approaches.

If you haven't looked at Web Components it doesn't take long to [work through the basics](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements) and I would really recommend knowing them alongside any preferred virtualised framework you may have learnt or used day to day.
Unlocking Data Insights: Tableau Consulting and Development Services
Tags: tableauconsultingservices, tableaudevelopmentservices, tableauservices
Published: 2024-03-11 12:05:16

In today’s data-driven world, businesses are constantly seeking ways to extract meaningful insights from their vast pools of information. This is where [Tableau Consulting and Development Services](https://www.softwebsolutions.com/tableau-consulting-services.html) step in, offering a beacon of guidance in navigating the complex landscape of data analytics and visualization.

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

**Harnessing the Power of Data Visualization**

At the heart of Tableau Consulting and Development Services lies the power of visualization. With Tableau's intuitive interface and powerful features, businesses can transform raw data into interactive and visually engaging dashboards. These dashboards not only simplify complex datasets but also empower decision-makers to glean actionable insights at a glance.

**Tailored Solutions for Your Business Needs**

Every business is unique, and so are its data challenges. Tableau Consulting and Development Services recognize this diversity and offer tailored solutions to address specific business needs. Whether it’s creating custom dashboards, optimizing data connections, or implementing advanced analytics, Tableau consultants work closely with clients to deliver solutions that drive measurable results.

**Empowering Data-Driven Decision Making**

In the fast-paced business environment, timely and informed decision-making is crucial. Tableau Consulting and Development Services enable organizations to make data-driven decisions with confidence. By providing access to real-time data and interactive visualizations, Tableau empowers decision-makers at all levels to uncover insights, identify trends, and seize opportunities swiftly.

**Maximizing ROI with Expert Guidance**

Implementing Tableau effectively requires more than just software installation. It requires strategic planning, expertise in data modeling, and proficiency in visualization best practices. Tableau Consulting and Development Services offer invaluable guidance every step of the way, ensuring that organizations maximize their ROI and derive maximum value from their Tableau investment.

**Driving Innovation and Growth**

Innovation thrives on data-driven insights, and Tableau Consulting and Development Services are at the forefront of driving innovation within organizations. By democratizing data access and fostering a culture of analytics, Tableau empowers teams to explore new ideas, identify emerging trends, and drive growth in ways never before imagined.

**Conclusion**

In a world inundated with data, Tableau Consulting and Development Services serve as a beacon of light, guiding businesses towards data-driven success. With the power of visualization, tailored solutions, and expert guidance, Tableau empowers organizations to unlock the full potential of their data, drive innovation, and achieve sustainable growth in the digital age.
Push pull techs
Published: 2024-03-11 12:00:25



## short polling

The client (consumer) sends a request every N seconds


- pros
  - it's easy to understand
  - it's easy to implement


- cons
  - difficult to define a proper value for the interval
  - increased number of empty responses (or not new data)
  - this ends up, to consume resources on the server (broker side)


- resources that used for every client (consumer) request
  - connection management
  - authentication/authorization
  - rate limiting
  - TLS termination
  - request validation
  - ...


## long polling

if there are messages to the queue server (broker) sends the message to the client immediately.
A connection is kept open for a specified interval (this is specified from the client).

- pros
  - less resources consumption
  - reduces the number of empty responses

- cons
  - not good when you client expects immediate response from the server (broker)

## web sockets


* upgrade header included/required (both client and server)!

- pros
  - bi-directional
  - re-uses the initial TCP connection
  - fast

## server-sent events

You can imagine it as a server job runs periodically that sends messages every time a message is available (similar to long polling).

- use cases
  - live feed
  - client progress
  - logging

- pros 
  - simplicity
  - compatible HTTP and HTTP/2 (this is not possible with web sockets)
  - lightweight (no extra headers)
  - Firewall friendly

- cons
  - proxying is tricky
  - one way direction
  - open connection for a long time
  - stateful, difficult to scale horizontally 

(Content-Type: text/event-stream)
("data: " + mydata)
Best Assisted Living | Luxury Assisted Living Facilities in India
Published: 2024-03-11 12:00:24

Aurum Residing remains as a sign of greatness in extravagance advanced old age homes, rethinking the idea of helped residing in India. Settled in the core of Gurgaon, Aurum Living offers unmatched solace, accommodation, and care for seniors. With a developing requirement for senior resident homes in Gurgaon, Aurum Residing gives an honorable and secure climate where occupants can flourish in their brilliant years. Perceiving the significance of advanced old age homes, Aurum Residing's main goal is to guarantee the prosperity and bliss of its inhabitants through customized help and exhaustive conveniences. Strategically placed, Aurum Residing fills in as a reference point of extravagance and backing for seniors looking for helped residing choices close to them. Moreover, with its lavish offices and quiet environmental elements, Aurum Residing embodies the benefits of extravagance advanced old age homes, offering seniors an existence of solace, friendship, and satisfaction.

Visit: https://www.aurumliving.com/assisted-living.php
Tissue Grinder
Published: 2024-03-11 11:52:24

A tissue grinder is a laboratory instrument used to homogenize biological samples such as tissues or organs for various applications, including DNA or protein extraction, cell culture, and biochemical assays.  It typically consists of a pestle and a tube, both made of materials such as glass or stainless steel.  The tissue sample is placed in the tube, and the pestle is used to mechanically disrupt the tissue, breaking down cell membranes and releasing cellular contents.  This process results in a uniform suspension of the sample, facilitating downstream analyses and experiments.
Medium Hot Strip Rolling Mill Manufactures in india
Published: 2024-03-11 11:31:05


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u33o5ul7oe84f70tcjp6.jpg)[STEEWO Engineers & Consultants Pvt Ltd](https://steewoengineers.com). is a well-established Jaipur-based steel rolling mills manufacturer. It is a well-known name among steel rolling mill experts and steel plant suppliers and exporters in India and All Over the World.
Royal Tribes
Published: 2024-03-11 11:26:30

Greetings from Royal Tribes K9! We're the Rizkalla family, and we're totally dedicated to bringing you some of the most stunning German Shepherd puppies around. Our home base is in the beautiful, quaint town of Yucaipa in Southern California, but our reach goes far beyond – we're here for German Shepherd lovers all over the globe!
[German Shepherd Breeder](https://www.rtk9.net/
![Uploading image](...))
Free Discord Community for the best web scraping developers
Tags: webscraping, webdev, python, selenium
Published: 2024-03-11 11:25:53

[Join The Extract Data Community on discord ](https://discord.gg/uYJgkXQuS6)- 

Our free discord community is a place where you can get access to: 

- Exclusive webinars and workshops related to web scraping 
- Connect with the best scraping developers 
- Access to legal updates on web scraping  
- Get help with your code
- Stay updated on new tech
Should we be making laws against "dark patterns"?
Tags: discuss, ui
Published: 2024-03-11 11:02:45

---
title: Should we be making laws against "dark patterns"?
published: true
description: 
tags: discuss, ui
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2024-03-11 10:52 +0000
---

Deceptive design patterns ("[Dark Patterns](https://en.wikipedia.org/wiki/Dark_pattern)") are everywhere.

Recently ([2023 and 2024](https://www.mondaq.com/india/dodd-frank-consumer-protection-act/1399760/a-new-dawn-for-dark-patterns)), the consumer protections and advertising standards organisations in India have issued guidelines which will theoretically force publishers to adhere to more ethical practices, backed up with potential penalties.

Of course, it's a shame that for-profit organisations need, "do this or we'll punish you" to stop their bad behaviour, but capitalism gonna capitalise.

What do you think? Do you think this is the sort of thing that should be regulated? _Can_ it be regulated, or is it so vague as to be unenforcable?

Further reading:

https://bootcamp.uxdesign.cc/dark-patterns-are-now-illegal-in-india-6b3c35c5ce50
Top things an online FD Calculator helps you with
Tags: fdcalculator, fdcalculatoronline, fixeddepositcalculator
Published: 2024-03-11 11:22:55

If you are risk-averse and searching for low-risk investment instruments that provide consistent returns, a Fixed Deposit can be a good choice. An FD lets you earn interest at decent rates over the tenure of your fund. If you want to figure out the potential returns on your deposit but find it complex, an online FD calculator can help simplify the process. 
**<u>What is an FD calculator?</u>**
An online FD calculator is a tool that lets you determine the returns you will earn from your FD when you hold it for a certain period. It helps you understand the amount you need to deposit and the tenure you should choose to enjoy the returns you want from your FD. Thus, such an online tool lets you make an informed choice when opening an FD. 
The FD calculator is freely available online. You can also use it as many times before opening an FD online using your Banking app. 
**<u>Instructions to use</u>**
An FD calculator can let you estimate the returns on your deposit by following these steps:
•	Step 1: Visit the website of any well-known bank and open their Fixed Deposit calculator.
•	Step 2: Enter the required information in the calculator. This includes details of your investment amount and the duration of your FD. The interest rates for the tenure you pick are visible after this. 
•	Step 3: In the case of some FD calculators, you may click on the calculate button in this step.
Once you complete the required steps, the Fixed Deposit calculator will immediately display the amount you will receive at maturity. It also shows the interest you will earn.
**<u>Assistance offered by the calculator</u>**
An FD calculator helps you in the following ways:
•	**Allows comparisons**
Before you open an [FD](https://www.dbs.com/digibank/in/deposit/deposit-type/fixed-deposit), you can conveniently use this online tool to compare different FDs offered by various banks. You can also enter different tenures and principal amounts to determine how much money you will need to deposit and for how long to reach the maturity amount. 
•	**Streamlines your calculations**
Finding out the FD maturity amount manually can be complex since it involves multiple variables. Using an FD calculator eliminates the need for manual calculations.  It also reduces the possibility of mistakes related to manual calculations and provides precise figures with just a few clicks. Utilising an FD calculator online can also decrease the time you would otherwise need to perform these complex calculations manually.
•	**Helps plan finances**
An FD calculator lets you estimate the returns. Once you have this information, you can diversify your portfolio and plan additional investments. 
**<u>Conclusion</u>**
Investing in an FD is a smart move for risk-averse investors. Using an online [FD calculator](https://www.dbs.com/digibank/in/deposit/fixed-deposit/fd-calculator.page), you can easily determine the maturity amount you will receive once it matures.
Full-stack developers are tech wizards skilled in both front and back end development
Tags: webdev, javascript, programming, tutorial
Published: 2024-03-11 11:19:28

Full-stack developers are tech wizards skilled in both front and back end development, juggling code and design to create seamless digital experiences! 💻✨ #FullStackDeveloper #TechSkills #coding #frontenddeveloper #beginner #backend #codemagnet


https://codemagnet.in/2024/03/11/who-are-full-stack-developers-what-are-the-skills-they-need/
Manish Chauhan Leads as a Top Digital Marketing Consultant in India
Tags: manishchauhan, digitalmarketingconsultant
Published: 2024-03-11 11:02:53

In the bustling world of digital marketing, where innovation is key and success is measured by online visibility and engagement, **[Manish Chauhan](https://manishchauhan.in/digital-marketing-consultant/)** emerges as a guiding force. With a dynamic blend of expertise, insight, and a relentless pursuit of excellence, Manish has solidified his position as a top-tier digital marketing consultant in India.

At the heart of Manish's approach lies a deep understanding of the digital landscape and its ever-evolving dynamics. With years of experience under his belt, he has honed his skills to navigate the complexities of the online world with precision and finesse. From crafting compelling content strategies to implementing cutting-edge SEO techniques, Manish possesses a versatile skill set that enables him to tackle any challenge head-on.

What truly sets Manish apart, however, is his unwavering commitment to his clients' success. He approaches each project with a dedication that goes beyond the ordinary, taking the time to understand the unique needs and goals of every business he works with. Whether it's a startup looking to make a splash in the market or an established brand seeking to enhance its online presence, Manish goes above and beyond to deliver results that exceed expectations.

But perhaps what is most impressive about Manish is his ability to stay ahead of the curve in an industry that is constantly evolving. He is always on the lookout for emerging trends and technologies, eager to leverage them to his clients' advantage. From the latest social media algorithms to the newest digital advertising platforms, Manish ensures that his strategies are always at the forefront of innovation.

As a result of his expertise and dedication, Manish has garnered a reputation as a trusted advisor and a go-to resource for businesses across India. His client roster boasts an impressive array of success stories, with countless brands seeing significant growth and ROI under his guidance.

In conclusion, Manish Chauhan's leadership as a top digital marketing consultant in India is a testament to his unwavering commitment to excellence, his unparalleled expertise, and his relentless drive for success. In a rapidly evolving digital landscape, Manish stands as a beacon of innovation and a guiding light for businesses seeking to thrive online.
Speed Up Your Software Releases: A Beginner's Guide to Continuous Deployment
Tags: devops, softwaredevelopment, beginners, cloud
Published: 2024-03-11 11:00:15



Imagine being able to deliver new features and bug fixes to your app in seconds, automatically! That's the magic of Continuous Deployment (CD). In this guide, we'll explore what CD is, why it's awesome, and how it works in a way that's easy to understand, even for beginners. 

**What is Continuous Deployment?**

Think of CD as an automatic delivery machine for your software. Whenever you make a change to your code, like adding a new feature or fixing a bug,
 CD steps in. It first checks your code to make sure everything is working properly, kind of like a quality control inspector.
 Once it gives the thumbs up, CD takes your code and zips it straight to your users without you needing to do anything extra.
 It's such an amazing assistant who handles all the deliveries!

**Why Use Continuous Deployment?**

There are three main reasons why CD is such a great tool for software development:

1. **Faster Time to Market:** With CD, you can get new features and bug fixes out to your users/customers much quicker. This means they can enjoy the latest improvements to your app faster, keeping them happy and engaged.

2. **Reduced Risk:** Manual deployments, where a person does everything by hand, can be prone to errors. But with CD, the computer handles most of the work, which means there's less chance of mistakes. Think of it as having a reliable machine getting the job done instead of you!

3. **More Time for Fun Stuff:** By automating deployments, CD frees up your time to focus on what you do best – building awesome features and making your app even better! No more getting bogged down in repetitive tasks.

**How Does Continuous Deployment Work?**

Here's a simplified look at the key steps involved in CD:

1. **Quality Check:** Before your code goes live, CD puts it through a series of automated tests (like little quizzes) to make sure it's working correctly. These tests help catch any bugs or errors early on.

2. **Automatic Deployment:** If your code passes the tests, CD takes it and automatically deploys it to the real world,
 where your users can access it. It's like a magic trick – one minute your code is being tested, the next minute it's live already, Amazeballs!

3. **Keeping an Eye Out:** Even after deployment, CD doesn't just sit back and relax.
 It continues to monitor your app to make sure everything is running smoothly.
 If there's a problem, CD can even roll back the update, which means it can switch things back to the previous version if something goes wrong.

**The Takeaway**

With Continuous Deployment, you can deliver updates faster, reduce errors, and free up time for innovation. 
 Get ready to impress your users with lightning-fast software releases and a development process that's smooth sailing all the way!
Parkinson’s Law. Tasks tend to stretch to occupy the available time allotted to them.
Tags: productivity, time, management, psychology
Published: 2024-03-11 11:00:00

**Parkinson’s Law**
_Tasks tend to stretch to occupy the available time allotted to them._


**Parkinson’s Law**, coined by Cyril Northcote Parkinson in 1955, suggests that work expands to fit the time allotted for its completion. This often leads to increased stress and complexity as tasks are prolonged unnecessarily. While not a scientific principle, it's a widely observed phenomenon that affects personal productivity and organizational growth.

Understanding Parkinson’s Law is crucial as it highlights how tasks can become more burdensome with extended timelines. For instance, giving oneself excessive time for a task can lead to procrastination and inflated perceptions of complexity. The mental stress of looming deadlines often outweighs the actual effort required for task completion.

To avoid falling prey to Parkinson’s Law, effective time management strategies are essential. These include careful planning, setting realistic deadlines, prioritizing tasks, and breaking down projects into manageable steps. Using timers, taking regular breaks, and avoiding multitasking also help maintain focus and productivity.

By being mindful of Parkinson’s Law and implementing these strategies, individuals can optimize their productivity, reduce stress, and make the most of their time.