teleren/devto huggingface dataset:
Using JavaScript: as a package or as CDN
Tags: webdev, javascript, beginners, frontend
Published: 2024-01-11 12:54:22

As a developer, you have two primary options when it comes to using JavaScript libraries or SDKs in your applications - through a npm or yarn installable module (or other package management tools) or a Content Delivery Network (CDN) via a `<script>` tag. Both methods have their unique advantages and usage scenarios.

Modern front-end development often uses as a module downloaded from npm due to the convenience it offers in managing project dependencies. If you're building a large-scale application with many dependencies, npm might be the way to go. 

However, it's essential not to ignore the advantages of a CDN, it can significantly improve application load times and help giving quick hotfix, which can be particularly beneficial for smaller projects or quick prototypes.

## Differences between CND and NPM

Let’s take a look at the differences between using npm and a CDN. Firstly, npm is a package manager for the JavaScript programming language. 

When you install a JavaScript library or SDK via npm, you're downloading the package directly into your project. This method gives you the convenience of managing all your project dependencies in one place. It also allows you to use modern JavaScript tools like Webpack or Babel to bundle your applications and make better use of the `import` and `export` syntax.

On the other hand, using a CDN involves embedding a `<script>` tag into your HTML that points to the JavaScript file hosted on the CDN. This can be a quick and easy way to include a JavaScript library in a project without the need to manage dependencies or use build tools.

A significant advantage of using a CDN is that it can improve the loading time of your application. CDN servers are typically distributed globally, so the JavaScript file is downloaded from the server that is geographically closest to the user, reducing latency. 

Additionally, if the user has already visited a site that uses the same CDN, like jQuery for example, the file might already be cached in their browser, further improving load times.

Remember to always consult the library or SDK's documentation for specific instructions on how to include it in your project, as the process can vary slightly depending on the package.

### SuperViz Package

Both methods are fully supported and documented at SuperViz, and the choice between the two depends largely on your project needs and structure. Whether you're building a complex application with numerous dependencies or a simple prototype, SuperViz's can suit you with CND or a npm package.

If you are interested in finding detailed instructions on how to use our SDK as a CDN, like the technical differences from using it as a package, [check our documentation page](https://docs.superviz.com/getting-started/using-as-a-cdn) for this case before using SuperViz.
How to Convert Excel .xls Contacts to vCard (.vcf) File in 2024?
Tags: online, convert, exceltovcf
Published: 2024-01-11 12:50:54

**Summary:** Professionals frequently utilize MS Excel spreadsheets to store secret data in tabular format. Excel spreadsheets are typically used to store all forms of numeric numbers and tabulated entries. Contacts are one of the most prevalent items stored in Excel spreadsheets. However, some users look for ways to import contacts from Excel to vCard so that they can be used in other modern devices and email applications. So follow this instruction, which will explain how to import contacts from Excel to vCard using the Excel to vCard converter.

**[DOWNLOAD NOW](https://www.softakensoftware.com/dl/excelvcarddemo4.exe)**

### Manually convert Excel files to the VCF format.

**There are manual steps.**

• To start, open your Excel files.
• Select the File menu option.
• To complete the conversion, click Save.

**Part 2: Importing Contacts from the CSV File**

Following the conversion of an Excel file to CSV format, the user must import the contacts from the converted CSV files. Take the actions listed below.

- •	To begin, click the Start button and input contacts into the search box.
- •	Select the Contacts Tab from the presented results.
- •	The ribbon bar will provide an Import option.
- •	Go to the Import Windows Contacts menu and choose Import.
- •	After that, navigate to the selected file and move on to the next step.
- •	Click the Finish button to complete the answer.
- •	Finally, you can utilize the strategy to convert Excel to VCF without using an app.

### Automated Method Convert Excel .xls Contacts to vCard (.vcf) File

You're seeking the finest Excel to vCard conversion software. Use the **Softaken [Excel to VCF Converter](https://www.softakensoftware.com/excel-to-vcf-converter.html) Tool** to convert Excel files to vCard and other formats without any issues. This application is the most secure, so users can use it without incident. It quickly and efficiently converts large quantities of Excel contacts to VCF format. It supports all MS Excel versions, including 2019, 2016, 2013, and 2010. It's compatible with all Windows operating systems. It is a small application that is simple to install. Users can also get a free demo version.

**Steps for converting an Excel file to vCard format**

- •	Use **Excel to VCF Converter Tool**.
- •	Click **Browse **and choose the **Excel file**.

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

- •	To convert Excel contacts files, show a **preview**, select the **output location**
- •	Click the "**Expert V-Card Now**" button.

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

### Conclusion:-

Users can simply import contacts from an Excel spreadsheet into their Outlook address books by following these simple steps. This technique also facilitates the export of vCards into numerous email apps and devices, which is a promising feature for users.
"Day 8: Excel Essentials Unveiled - Sharing Today's Insights on My Learning Adventure! 📊🚀 #ExcelSkills #LearningJourney"
Tags: data, excel, analyst, datascience
Published: 2024-01-11 12:46:35

EXCEL - 7


LOGICAL OPERATORS & FUNCTION  : - 

AND
OR
NOT 
XOR 
IF
IFS 
IFERROR
IFNA
TRUE
FLASE


LOGICAL :- 

=   - equal to 

<>  - not equal to 

>  - greater than  

<  - lesser than 

>=  - greater than equal to 

<=  - lesser than equal to 



AND
=AND(condition1, condition2, ...)

OR
=OR(condition1, condition2, ...)

NOT 
=NOT(logical)

XOR 
=XOR(condition1, condition2)

IF
=IF(logical_test, value_if_true, value_if_false)

IFS 
=IFS(condition1, value1, condition2, value2, ...)

IFERROR
=IFERROR(formula, value_if_error)

IFNA
=IFNA(formula, value_if_na)

TRUE
=TRUE()

FLASE
=FALSE()



CONDITION

IF - one condition we can also use for multiple conditions with our knowledge.
IFS - It takes multiple inputs ( condition).

LEARNING IS AN EVERYDAY PROCESS SO, i will be updating previous learning with new tips and tricks. 


Follow me on this where every day will be added if i learn something new about it  :- https://dev.to/nitinbhatt46



Thank you for your time.
TROUBLESHOOTING DIFFERENT SERVICE MATCHING ISSUE IN PROXY-BASED LOAD BALANCERS
Published: 2024-01-11 12:10:22

🛠️Navigating a web app via a proxy load balancer can lead to unexpected behavior. Commonly caused by misconfigurations in service priorities, our Knowledge Base article offers solutions. Check it out our step-by-step guide to solve it! 

https://www.relianoid.com/resources/knowledge-base/troubleshooting/troubleshooting-different-service-matching-issue-in-proxy-based-load-balancers/

#LoadBalancer #TechTroubleshoot #ServicePriority #WebAppOptimization #ITGuide #NetworkingTips #proxy #proxybased #503httperror #http #httperror 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5vd04gc13enx5jy5a7cb.jpg)
Best option to process kafka stream in parallel: PySpark Vs Dask
Published: 2024-01-11 12:40:49

Hi,
I am creating a setup to process packets from single kafta topic in parallel. For example, I have 3 containers (let's take 4 cores) on one vm, and from 1 kafka topic stream I create 10 jobs depending on packet source. These packets have small workload.

1. I can install dask in each container, and execute set of tasks in parallel. So, each container with 4 cores can execute 4 jobs. This will increase computation and scheduling overhead in execution time.

2. I can have a stand-alone spark app in each container, and execute set of tasks in parallel. Since packets are small, I won't be able to harness Spark's distributed computing power.

3. I can have a spark master node, and distribute set of tasks in worker container, and there execute 1 task per core. Is such scheduling in Spark possible?

I have not yet done POC to compute resource cose, computation overhead etc. So, I can use your opinion.

Which is the best solution for my use-case? I am interested in stand-alone spark app, but using it just for parallelism, is it an efficient solution?
Discover, Engage, and Learn: The Dumps Media Way
Published: 2024-01-11 12:23:04

Introduction
In a world where knowledge is key, <a href="https://dumpsmedia.com/">DumpsMedia</a> emerges as a beacon of innovative learning. By providing a platform that goes beyond traditional methods, it opens up new possibilities for those seeking a dynamic and effective learning experience.
What is DumpsMedia?
DumpsMedia can be described as a cutting-edge learning platform that utilizes advanced techniques to deliver content in a way that enhances comprehension and retention. Unlike conventional methods, DumpsMedia adopts a multifaceted approach that caters to various learning styles.
The Advantages of DumpsMedia
Enhanced Learning Opportunities
DumpsMedia doesn't just present information; it provides an immersive learning experience. Through interactive modules and engaging content, users have the opportunity to grasp complex concepts with ease.
Real-World Applications
One of the standout features of <a href="https://dumpsmedia.com/">Dumps Media</a> is its emphasis on real-world applications. By connecting theoretical knowledge to practical scenarios, learners can see the immediate relevance of what they are studying.

Click Here For More Details>>>>>>>: https://dumpsmedia.com/
CONVERT Picture TO HTML WITH TAILWINDCSS Utilizing THIS AI
Tags: ai, webdev, javascript, beginners
Published: 2024-01-11 12:05:24

In this article we will investigate a free computer based intelligence based site named Pranav.codes that empowers you to switch a Picture over completely to HTML with Tailwind CSS without any problem. Everything necessary to do is transfer the picture from your PC and take it easy while the device processes the picture, parses the pixel information and converts it to HTML with CSS code in only a couple of moments. The outcome is a clean source code that you can flawlessly integrate into your site by putting it inside a HTML holder and making further changes if necessary.


## How it Works:
1. Click on this link to navigate to Pranav.codes. You are not required to sign up or register for a free account to use this tool.

2. Click on the button ‘Select Image’ and upload the image from your system in any of the popular image file formats. Once it has been uploaded, a preview of the image will be visible on the screen.

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

3. Click on the ‘Gen’ button and wait for a few seconds while the AI of the website processes the image and converts it to the HTML code with CSS.


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

4. The result code is obviously shown at the lower part of the screen. You can tap on the 'Copy' button to duplicate it to the clipboard and afterward use it in your site.

Shutting Remarks:
In rundown, Pranav.codes is a helpful web-based device to switch a picture over completely to HTML code with Tailwind CSS. It tackles the force of computer based intelligence to easily change your pictures into web-prepared code in the blink of an eye. Feel free to give it a shot and do keep in touch with us about what you feel. [Clickhere](https://weber.pranav.codes/) to explore to Pranav.codes.
Passport.js && JWT
Published: 2024-01-11 11:59:23

Passport.js ve JWT, Express uygulamalarında authentication ve authorization işlemlerinde yaygın olarak kullanılan araçlardır. İşte bu iki aracın avantajları ve dezavantajları:

## **Passport.js:**

**Avantajları:**

Modüler ve Esnek: Passport.js, birçok kimlik doğrulama stratejisini destekler ve uygulamanızın ihtiyacına göre kolayca özelleştirilebilir.

Strateji Desteği: Local, OAuth, OpenID gibi birçok kimlik doğrulama stratejisini destekleyerek geniş bir kullanım alanı sunar.

Express ile Entegrasyon: Express middleware olarak kullanılmak üzere tasarlanmıştır, bu nedenle Express uygulamaları ile uyumludur.

Topluluk Desteği: Popüler ve uzun süredir kullanılan bir kütüphanedir, bu da geniş bir topluluk ve kaynak havuzu sağlar.

**Dezavantajları:**


Öğrenme Eğrisi: Başlangıçta karmaşık gelebilir, özellikle de birçok strateji seçeneği olduğunda.

Büyüklük: Yüksek esneklik ve modülerlik, bazı durumlarda kütüphanenin boyutunu artırabilir.


## **JWT (jsonwebtoken):**

**Avantajları:**


Taşınabilirlik: JWT'ler, taşınabilir ve dil-agnostik olduğu için farklı platformlar arasında kolayca paylaşılabilir.

Stateless (Durumsuz) Doğa: JWT'ler, sunucuda oturum durumunu saklamak zorunda olmadıkları için stateless (durumsuz) bir kimlik doğrulama mekanizması sunar.

Geniş Destek: JSON Web Token standardı, birçok dilde ve platformda desteklenir.

Token Süresi: JWT'lerde token süresini belirleyerek oturum kontrolü sağlamak mümkündür.


**Dezavantajları:**


Bilgi Güvenliği: JWT'lerde bilgiler şifrelenmez, sadece imzalanır. Dolayısıyla, gizli bilgilerin içeriğinin güvenliği, tokenin güvenliğine bağlıdır.

Token Boyutu: Bilgilerin açık bir şekilde taşınması, token boyutunu artırabilir. Büyük tokenlar, her isteğin ağırlığını artırabilir.

Token Yenileme Zorluğu: Bir kez oluşturulduktan sonra JWT'yi iptal etmek veya yenilemek zor olabilir.


Not: Çoğu durumda, Passport.js ve JWT'yi bir arada kullanmak yaygındır. Passport.js, kimlik doğrulama stratejilerini yönetirken, JWT, oturum bilgilerini güvenli bir şekilde taşımak ve doğrulamak için kullanılabilir. Bu şekilde, her iki kütüphanenin avantajlarından yararlanabilirsiniz.
Secure and Scalable ECS with Terraform: A Quick Guide 2024
Tags: docker, ecs, aws, terraform
Published: 2024-01-11 11:58:56


[Repo](https://github.com/sudh33ra/ecs-tf-poc)
---

**TL;DR**

- clone the above
- edit vars.tfvars
- run the commands, you're done

```shell
terraform init --reconfigure 
terraform plan -var-file=vars.tfvars -out tfplan 
terraform apply "tfplan"
```

---

Hey tech enthusiasts! 🚀 Today, let's dive into the world of ECS (Elastic Container Service) with Terraform. If you're itching to get your hands dirty with some practical stuff, you're in the right place. This repository holds the keys to setting up an ECS cluster effortlessly. Grab a virtual coffee, and let's roll!

**Getting Started**
Alright, first things first. Open up the repo and take a stroll through the files. It's like an adventure, but in the tech realm. Follow this path:

`backend.tf` - Lay the foundation.
`provider.tf` - Set the stage with your AWS profile.
`variables.tf/vars.tfvars` - Tweak the settings based on your needs.
`network.tf` - Build the virtual networking.
`security.tf` - Lock it down. No unauthorized entry!
`alb.tf` - Introducing the star of the show - the Application Load Balancer (ALB).
`ecs.tf` - ECS steals the spotlight. Containers, ahoy!
`auto_scaling.tf` - Because who likes manual labor?
`logs.tf` - Keep an eye on what's happening.
`outputs.tf` - The grand finale. What's the verdict?

**Let's Roll!**
Feeling the adrenaline? Good! Now, let's hit the road:

1. Check Your AWS Configs: Ensure your AWS configurations are safe and sound. Nobody wants surprises, especially in tech.
2. Update Variables: Peek into vars.tfvars and customize it to dance to your tune.
3. The Magic Commands: Fire up your terminal and run these like a boss:

```shell
terraform init --reconfigure 
terraform plan -var-file=vars.tfvars -out tfplan 
terraform apply "tfplan"
```

Sit back, relax, maybe grab another sip of that coffee. Let Terraform weave its magic.
Voilà!: Once the smoke clears, you'll get a URL. That's your golden ticket to the application. Click and behold!

**What's Next?**

You've conquered this mountain; now it's time for the summit:
Link a Domain: Make it official. Attach a cool domain to that Load Balancer. Your ECS setup deserves to be seen by the world.

And there you have it, a casual stroll through ECS and Terraform. Now go, experiment, break things (not too much), and enjoy the journey!
Keep coding,
SD
Navigating the Salary Maze: Common Programming Salary Negotiation Mistakes and the Power of Clear Communication
Tags: webdev, beginners, programming, productivity
Published: 2024-01-11 11:56:11

Entering the realm of salary negotiation can be as intricate as writing a complex code. Yet, some pitfalls are more common than others. Let's explore the landscape of programming salary negotiation, with a spotlight on the game-changing factor: clear communication.

**1. Silence Speaks Volumes:**
One of the most frequent mistakes is letting silence dominate the conversation. Whether you're hesitant to state your expectations or unsure how to respond, silence can be misinterpreted. Break the ice by clearly expressing your thoughts and expectations.

**2. Avoiding Transparency:**
Lack of transparency is a roadblock to successful negotiation. Be upfront about your salary expectations and requirements. Clear communication from the start sets the tone for a collaborative and open discussion.

**3. Ignoring Market Research:**
Not doing your homework on industry standards is a classic error. Clear communication involves presenting well-researched data supporting your salary expectations. Knowledge is power, and it strengthens your negotiating position.

**4. Vague Responses:**
Responding to salary inquiries with vagueness can hinder progress. Instead of being ambiguous, clearly articulate your needs. Specifics create a foundation for constructive dialogue.

**5. Forgetting Non-Monetary Perks:**
It's not all about the salary figure. Communication extends to non-monetary benefits. Clearly express your interest in additional perks such as flexible working hours, professional development opportunities, or remote work options.

**6. Ignoring Company Constraints:**
Failing to acknowledge the company's budget constraints is a common misstep. Understand the limitations, and if needed, propose creative solutions. Clear communication involves finding a compromise that benefits both parties.

**7. Lack of Follow-Up:**
The conversation doesn't end with an accepted offer. Follow up on agreed-upon terms and continue clear communication as you transition into your new role. It sets a positive tone for your future within the company.

_In conclusion,_ the art of salary negotiation in programming hinges on clear communication. Don't let avoidable mistakes hinder your career growth. Embrace transparency, articulate your needs, and navigate the negotiation process with confidence.
Delivering data-driven decisions on AWS
Tags: aws, database, analytics, learning
Published: 2024-01-11 11:55:45

## Upskilling in 2024

Happy New Year! Over the last six months I have been busy working and teaching. 

With my background in consulting, business, data science and analytics I thoughtfully considered the needs of new learners to help them learn AWS in small chunks.

Last week my course was published on LinkedIn Learning [Delivering data-driven decisions on AWS: Applying machine learning, data engineering and generative AI](https://www.linkedin.com/learning/delivering-data-driven-decisions-with-aws-applying-machine-learning-data-engineering-and-generative-ai/deliver-data-driven-decisions-with-aws)

As a teacher at heart, I have personally created this to help data analysts, data scientists, developers, business analysts and data engineers to help them get started on AWS cloud and data.

{% embed https://www.linkedin.com/learning/delivering-data-driven-decisions-with-aws-applying-machine-learning-data-engineering-and-generative-ai/deliver-data-driven-decisions-with-aws %}

### Ongoing Learning - Data and IT education

If you would like to learn more with me this year you may also subscribe to my weekly newsletter called Coffee N learn. This is a place where I combine technical writing and learning to help you learn more about data analytics, data science and also IT education including AWS cloud.

![coffee](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i7yrdx7pjkpkh79kg3vn.jpg)

You may also subscribe here for the [Coffee N Learn newsletter](https://www.linkedin.com/analytics/post-summary/urn:li:activity:7149252417069473792/)

### Next Week

Join us next week for AWS re:Invent recap on LinkedIn Audio for Analytics and Databases on Tuesday 16 January at 5pm (AEDT).
You may register to attend LinkedIn Audio at this [link](https://www.linkedin.com/events/7148998476415008769/about/?originTrackingId=HtQ5FV7fQo%2B18zQmAGVezA%3D%3D)


![audio](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zb4nwjnmff0kvre3nq8g.png)
 
We have an exciting agenda and line up of speakers shown below from AWS Community in APJ.


![speker](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r1ylj1576pp8xmu1v5a1.png)

We will be broadcasting live to allow you to tune in especially if you were not able to attend AWS re:Invent 2023 in Las Vegas or join an in-person event in your city.

You may also watch all the keynotes and sessions on Youtube at this [link](https://www.youtube.com/c/AWSEventsChannel) brought to you by AWS Events channel.

Happy Learning! 😂
kimlik doğrulama ve yetkilendirme için popüler 5 araç (Express)
Published: 2024-01-11 11:49:04


Express.js tabanlı uygulamalarda authentication (kimlik doğrulama) ve authorization (yetkilendirme) işlemleri için birkaç popüler kütüphane ve araç bulunmaktadır. İşte bu alanda kullanılan en popüler beş araç:

Passport.js:
Passport.js, Express uygulamalarında kullanılabilecek çok esnek ve modüler bir kimlik doğrulama kütüphanesidir. Local stratejisi yanı sıra OAuth, OpenID ve diğer birçok kimlik doğrulama stratejisini destekler. Passport, Express middleware olarak entegre edilir ve kullanıcının kimlik doğrulama bilgilerini yönetmek için çok sayıda seçenek sunar.


jsonwebtoken (JWT):
JSON Web Token (JWT), kullanıcı oturumlarını yönetmek ve bilgileri güvenli bir şekilde paylaşmak için kullanılır. Express uygulamalarında authentication için JWT sıkça tercih edilen bir yöntemdir. jwtwebtoken kütüphanesi, Express ile uyumlu ve JWT tabanlı kimlik doğrulama ve yetkilendirme işlemleri için kullanılabilir.

Express-session:
express-session, kullanıcı oturumlarını yönetmek için kullanılır. Bu kütüphane, Express uygulamalarında kullanıcı kimlik doğrulama bilgilerini depolamak ve yönetmek için bir session yönetim sistemi sağlar. Genellikle cookie tabanlı oturum yönetimi için kullanılır.


CORS (Cross-Origin Resource Sharing):
CORS, Express uygulamalarında güvenlik politikalarını kontrol etmek için kullanılır. Özellikle farklı kaynaklardan (domainlerden) gelen isteklere izin verme veya reddetme konusunda kullanılır. Uygulamanızın güvenlik düzeyini artırmak ve istenmeyen istekleri engellemek için kullanışlıdır.

Helmet:
Helmet, Express uygulamalarında güvenlik başlıklarını otomatik olarak eklemek için kullanılır. Bu başlıklar, uygulamanın çeşitli saldırılara karşı daha güvenli olmasına yardımcı olur. Örneğin, HTTP Başlıkları üzerinden XSS (Cross-Site Scripting) saldırılarını önlemek gibi.

Bu kütüphaneler, Express.js tabanlı uygulamalarda authentication ve authorization işlemleri için sıkça kullanılan araçlardır. Hangi kütüphanenin kullanılacağı, uygulamanın ihtiyaçlarına ve geliştirici tercihlerine bağlı olarak değişebilir.