teleren/devto huggingface dataset:
How to Fix: Cannot import safe_str_cmp from Werkzeug
Tags: flask, werkzeug, hotfix
Published: 2022-03-30 14:23:39

---
title: How to Fix: Cannot import safe_str_cmp from Werkzeug
published: true
description: This page explains How to Fix ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' - Flask Framework.
tags: flask, Werkzeug, hotfix
canonical_url: https://docs.appseed.us/content/how-to-fix/importerror-cannot-import-name-safe_str_cmp-from-werkzeug.security
---
Hello Coders!

This short article explains how to fix **[ImportError: cannot import name 'safe_str_cmp' from werkzeug.security](https://blog.appseed.us/how-to-fix-cannot-import-safe_str_cmp-from-werkzeug/)** caused by the latest `Werkzeug` version - `v2.1.0` (at the time this article is written).

For newcomers, [Werkzeug](https://werkzeug.palletsprojects.com/en/2.1.x/), the core dependency of **Flask**, is a comprehensive [WSGI](https://wsgi.readthedocs.io/en/latest/) web application library. The mentioned error is bumped when the used version of Werkzeug is `v2.1.0` (or greater).

---

## ✨ Werkzeug Update History

👉 **v2.0.0**

> `pbkdf2_hex`, `pbkdf2_bin` and `safe_str_cmp` are deprecated. `hashlib` and `hmac` provide equivalents.

👉 **v2.1.0**

> Remove the `pbkdf2_hex`, `pbkdf2_bin`, and `safe_str_cmp` functions. Use equivalents in `hashlib` and `hmac` modules instead.

---

## ✨ How to Fix

Freeze the `Werkzeug` to the latest stable version prior to `v2.1.0`. The recommended version is **Werkzeug==2.0.3**.

---

## ✨ Sample Project

To see this hotfix in action, feel free to check this sample project saved on Github (MIT License)

> [​Flask Datta Able](https://appseed.us/admin-dashboards/flask-datta-able) - open-source **Flask Starter** generated by AppSeed

- 👉 [Datta Able Flask](https://github.com/app-generator/flask-datta-able) - Source Code
- 👉 [Datta Able Flask](https://flask-datta-able.appseed-srv1.com/) - LIVE deployment

---

![Flask Datta Able - Open-Source Seed Project.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kn5us9jjn14fkedgq1et.png)

---

> `Thanks for reading!` For more resources, feel free to access:

- ✨ More [Free Dashboards](https://appseed.us/admin-dashboards/open-source) crafted in Django, Flask, and [React](https://appseed.us/apps/react)
- ✨ More [Admin Dashboards](https://www.admin-dashboards.com/) - a huge index with products
The hard work's been done for you...
Tags: javascript, react, tutorial, programming
Published: 2022-03-30 14:15:32

Now that you're familiar with HTML, CSS, and JavaScript, level up your skills by building some of the most popular front end projects provided by FCC using Bootstrap, jQuery, Sass, React and Redux.

Simply click below & choose your BEST project & Develop a portfolio for 2022!

## Project 1: 

Title: Build A Random Quotes Machine
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![QuotesPNG](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sqs77l5famkdme832k6w.PNG)

## Project 2: 

Title: Build a Markdown Previewer
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![MarkdownPng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eeqrmsnrwwe2ohf4a8c8.PNG)

## Project 3: 

Title:Build a Drum Machine
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![DrumMachinePng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g45r3aaoets8mmyfplg4.PNG)

## Project 4: 

Title: Build a JavaScript Calculator
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![JavaScriptPng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/afms20pdmnnjzofc112c.PNG)

## Project 5: 

Title: Product Landing Page
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![LandingPagePng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mg7d3cmvlk1f5r1vvi1o.PNG)

## Project 6: 

Title: Survey Form
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![SurveyFormPng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wd5h70spgv0gt7joupzk.PNG)

## Project 7: 

Title: Steve Jobs Tribute Page
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![TributePng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dohtb5qbgptx6y5olcic.PNG)

## Project 8: 

Title: Technical Documentation Page
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![DocumentationPng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o9653tin6w1nnxgejsoo.PNG)

## Project 9: 

Title: 25 + 5 Clock
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![ClockPng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wum58tm4u6d3zm342x77.PNG)

## Project 10: 

Title: Personal Portfolio 
Duration: 1 Month
Technologies Used: HTML, CSS, JavaScript

![ResponsivePng](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1qta53cw55jqvaka9evf.PNG)

Personal Portfolio (FCC) 🤯: https://codepen.io/hr21don/full/GROZKrp
  
Author: HR
License: MIT
Credit: https://www.freecodecamp.org/learn/front-end-development-libraries/

This month has been all about FREE traffic...
PowerShell Tip: Use PowerShell to Display Windows Path
Published: 2022-03-30 14:13:12

Use the **$env** PS Drive and retrieve the value of the **Path**variable. By default, it displays as a continuous string, and it can be a bit difficult to read. Here is the command:

```
$env:path
```
But if you use the **–split** operator to break the strings at the semicolon, it is more readable:

```
$env:path -split “;”
```
Model Pintu Gerbang Rumah Yang Unik
Published: 2022-03-30 14:10:39


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/81fa4p6u21gqht3mwzlu.jpg)
Pintu gerbang menjadi salah satu komponen hunian rumah modern yang secara langsung bisa mempengaruhi penampilan dari eksterior rumah. Pintu gerbang merupakan bagian rumah yang paling dilihat orang lain dari luar. Pemilihan model pintu gerbang biasanya disesuaikan dengan desain rumah hunian. 

Salah satu caranya yaitu dengan melakukan pertimbangan terlebih dahulu. Terlebih jika lahan rumah kita cukup sempit dan sebaiknya gunakan gerbang yang tidak memakan banyak tempat. Salah satu mempercantik rumah hunian bisa dengan memasang pintu gerbang rumah yang estetik dan unik. 

Selain memperhatikan keunik, namun nilai fungsionalnya juga tetap harus menyesuaikan kebutuhan kita. Seringkali kita bingung dalam memilih model pintu gerbang, kita bisa meminta bantuan dari [Jasa Arsitek Medan](https://kontraktor.kactusidea.com/) atau [Jasa Kontraktor Medan](https://kontraktor.kactusidea.com/) Kactus Idea melalui alamat di Yos sudarso no 191 M ataupun langsung menghubungi mereka di 0813-7520-9818.

Berikut ini 5 desain model pintu gerbang rumah yang bisa kamu gunakan :

<strong>1. Pintu gerbang kombinasi Roster Beton</strong>
Pintu gerbang yang telah dikombinasikan dengan Roster Beton bisa membuat rumah menjadi lebih terlihat segar. Pintu gerbang ini bisa menjadi pintu gerbang yang indah untuk suatu bangunan. Pilihlah gerbang yang minimalis serta berukuran kecil dengan pola yang sederhana.

<strong>2. Pintu gerbang minimalis kayu</strong>
Kayu menjadi sebuah material yang seringkali dipadupadankan dengan material rumah. Pintu gerbang yang terbuat dari bahan kayu biasanya digunakan untuk pagar dari beton. Elemen kayu bisa memberikan kesan hommy dan estetik. 

<strong>3. Pintu gerbang minimalis Perforated Metal</strong>
Perforated metal adalah lembaran besi yang dicetak dengan menggunakan mesin demi menghasilkan bentuk pola lubang yang sesuai dengan desain yang kita inginkan. Tampilan pintu gerbang yang unik memberikan kesan yang lebih menarik untuk pintu gerbang. 

<strong>4. Pintu gerbang model geser minimalis</strong>
Pintu gerbang dengan model geser menjadi salah satu pintu gerbang yang banyak digunakan saat ini. Karena nilai kepraktisan dalam menggunakan pintu gerbang ini, sebab hanya perlu digeser ketika membuka dan menutup pagar. Pintu gerbang ini juga cocok untuk lahan yang sempit.

<strong>5. Pintu gerbang bahan Stainless Steel</strong>
Material stainless steel memang sudah tidak asing lagi untuk suatu perabotan rumah tangga. Tidak terkecuali untuk pagar, material stainless steel sangat cocok dikombinasikan dengan warna yang gelap. Sehingga bisa menyebabkan kesan yang lebih elegan dan mewah. Salah satu kelebihan dalam membuat gerbang ini adalah daya tahan terhadap korosi yang cukup tinggi.

Itulah 5 rekomendasi model pintu gerbang yang bisa kamu gunakan untuk pintu gerbang rumah. Selain itu, dalam pemilihan pintu gerbang rumah juga harus tetap memperhatikan nilai estetika yang ada.
Will Smith Slapped Chris Rock Nonsense
Tags: slap, wakeup, distraction
Published: 2022-03-30 14:08:52


![Uploading image](...)

Most people found out about the elite hand picked clown award show after Will slapped Chris. Why the heck the entire social media is talking about the nonsense? Well, elites know how to play the game. Millionaires played their usual trick to turn the attention of paycheque hostages on them. 

Apparently, elites have feelings but they cannot understand inequities and biggest transfer of wealth in the history from the bottom to the top of the food chain. Now, elites wants mortgage slaves to talk about their feelings. Just follow the pattern, COVID, Ukraine, Grammy, what is next new world order? In between, both elites doubled their wealth with one slap. 

Sadly, masses are the sheep, only useful for war recruitment, wake up wake up. You are more important than them, your feelings matter, your family more important than them. What keeps everyone prisoned in the cruel society needs to be challenged, let us not be distracted. #slap #distraction #wakeup
Word game
Tags: hackwithdg
Published: 2022-03-30 14:07:48



### Overview of My Submission
Game made using Deepgram's transcription service and Phaser game framework.

Score by reading out the words you see on screen before they disappear. Try to score as high as possible before time runs out. Difficulty increases with time.


### Submission Category: 

Gram Gamers


### Link to Code on GitHub

{% embed https://github.com/gajananpp/word-game %}



### Additional Resources / Info


![Word game demo GIF](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qyiww59huso336d65h3y.gif)

#### Play:
[https://gajananpp.github.io/word-game](https://gajananpp.github.io/word-game)

#### Stack Used:

- Deepgram STT
- Phaser game framework
- Sveltekit with static site adapter to deploy on Github pages
3rd Party Integrations - A guide to avoid pitfalls
Tags: backend, architecture, computerscience
Published: 2022-03-30 14:06:27

As an engineer, some of us have done 3rd Party Integrations and at first it seems easy when there's documentation involved, but the actual woes starts coming up after a while.

These issues can cause real pain in the longer run if not dealt well.
I have my own set of woes, so I decided to write down the learnings I had over the years.

Please feel free to add yours. This is by no means an exhaustive list, but it worked well for me.

https://media-exp1.licdn.com/dms/document/C561FAQHBxg10p3bp3A/feedshare-document-pdf-analyzed/0/1648294201968?e=2147483647&v=beta&t=zJuk6qjXdATKTJ_8S_xGL50L3GgnkdwgB19fYKYQ4jQ
Tabnine Announces Easy Integration with Atlassian’s Bitbucket
Tags: ai, bitbucket, programming, webdev
Published: 2022-03-30 14:03:30

We’re on a roll! Today’s announcement about our integration with Bitbucket marks a major milestone for Tabnine, now officially partnering with all three leading git providers. Bitbucket users can now benefit from the same easy Tabnine integration as GitHub and GitLab users, allowing them to leverage their existing repositories to privately train their own personalized AI coding assistants. 

Millions of software developers and engineers invest countless hours every day refining their Bitbucket repositories based on their best practices, code reviews, QA, and security testing. Utilizing existing assets is a key principle of all AI-assisted ‘work smarter’ productivity enhancements. Now the time invested in creating repositories can be translated into additional productivity gains. 

Software development teams using Bitbucket and Tabnine for Teams’ premium personalized AI coding assistant can increase the development speed of every team member, streamline onboarding, automate remote knowledge sharing, improve team-wide code consistency, and reduce code review iterations.

Bitbucket is known for providing professional team features at incredibly affordable prices, that coupled with best-in-class Jira integration, integrated code reports, a handy code-aware semantic search tool, and the CI/CD pipeline, make Bitbucket a great option for anyone looking for a top-tier git provider and a powerful partner for Tabnine.

How to get started:

Atlassian/Bitbucket users can purchase a Tabnine for Teams monthly or annual account from the Tabnine website.

- As a Tabnine for Teams user, log in to the Tabnine App
- Navigate to the “Team AI” tab
- Enable Bitbucket repository integration
- Tabnine will build, test, and upload your private team model
- Enjoy your team’s personalized Tabnine AI assistant

Tabnine is proud to provide an easy integration experience for the millions of Bitbucket, GitLab, and GitHub users who are adding Tabnine’s AI code completion assistant to their software development workflow.
Feel free to reach out to support@tabnine.com with any questions – We’re always happy to help.

https://www.youtube.com/watch?v=TBEjAfQUHaU&ab_channel=Tabnine
How do different types of meetings affect the way you work?
Tags: discuss, productivity, watercooler, career
Published: 2022-03-30 14:02:48

As I’ve worked with different teams and companies, I’ve noticed that the way meetings are scheduled can have an impact on my productivity. Here’s some different setups I’ve experienced:

- Daily standups
- Weekly standups
- Weekly customer meetings
- As few meetings as possible
- And more!

What approaches to meetings have you experienced? Which have allowed to perform at your best?
Global Azure ☁️Bootcamp 2022 – Greater Toronto Area Edition: Call for Speakers opened! 😁
Tags: englishpost, event, globalazurebootcamp
Published: 2022-03-30 19:01:08

---
title: Global Azure ☁️Bootcamp 2022 – Greater Toronto Area Edition: Call for Speakers opened! 😁
published: true
date: 2022-03-30 13:45:25 UTC
tags: EnglishPost,EnglishPost,Event,GlobalAzureBootcamp
canonical_url: 
---

Hi.

Global Azure Bootcamp 2022 is almost here !

Our plan is to host a virtual event on Friday May 6th, and **_in-person event on Saturday May 7th_**. We are working on the logistics, location, security measures and more.

And we start opening the CFS, so feel free to propose your session

## **[sessionize.com/global-azure-bootcamp-toronto](https://sessionize.com/global-azure-bootcamp-toronto)**

And if you have any questions, please contact me 😁

Side Note: I’m still helping the tech communities, and on 2022 we went global: [Microsoft Reactors to bring local communities to Global Azure](https://blog.globalazure.net/Blog/Post/290/Microsoft-Reactors-to-bring-local-communities-to-Global-Azure).

> With multiple locations all around the world, we’re excited to offer the opportunity to partner with a local Reactor, to host your Global Azure session. This could either be as a live stream hosted by the Reactor team, or as an in-person event, depending on the location. The Reactors supporting Global Azure Days are: London, Stockholm, Abu Dhabi, Shanghai, Sydney, Bengaluru, Redmond, San Francisco, New York, Toronto and Sao Paulo.
> 
> <cite><a href="https://blog.globalazure.net/Blog/Post/290/Microsoft-Reactors-to-bring-local-communities-to-Global-Azure" target="_blank" rel="noreferrer noopener">Microsoft Reactors and Global Azure Bootcamp 2022</a></cite>

![[Reactors marked on a world map]](https://brunocapuano.files.wordpress.com/2022/03/image-19.png?w=600)
_[Reactors marked on a world map]_

Happy coding!

Greetings

El Bruno

More posts in my blog [ElBruno.com](https://www.elbruno.com).

* * *
Cisco VPN Connection error fix
Tags: cisco, vpn, internet, work
Published: 2022-03-30 13:42:38

If you ever experience an error "_AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again._" you can easily fix it by stopping the Windows service called "**Internet Connection Sharing (ICS)**".

![Image of the error dialog](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n8ajias12sxhf9c2smpk.jpg)

**Steps:**

1. On your keyboard press `Win Key + R` to start **Run** dialog 
2. Type `services.msc` into it and press `Enter` or button `OK`![Image of the run dialog with the services.msc command typed into](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yn4v9jjbzinokc4841nd.png)
3. In opened service window find _Internet Connection Sharing (ICS)_ then right-click on it, select `Stop` and that is it.

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

**NOTE**
<u>Do not worry, service will start on-demand, you will break nothing.</u>
Some numbers of the Brazilian Elixir Community in 2022
Tags: elixir
Published: 2022-03-30 13:31:37

{% youtube 3L7DUpV0v08 %}

Numbers collected on March 30th, 2022

Elixir Brasil Telegram group:
1990 members
https://t.me/elixirbr

ELUG-CE Telegram group:
275 members
https://elug-ce.github.io/

ELUG-CE organized 7 virtual meetups in 2021
https://elug-ce.github.io/

Elixir Brasil Twitter account:
2396 followers
https://twitter.com/elixir_brasil

Elixir Brasil Youtube Channel:
741 subscribers
https://www.youtube.com/c/ElixirBrasil

Code BEAM Brasil Twitter account
644 followers
https://www.codebeambr.com/ https://twitter.com/codebeambr

Elixir em Foco Twitter account:
1150 followers
https://twitter.com/elixiremfoco

Elixir em Foco podcast on Spotify:
394 followers
https://www.elixiremfoco.com/

Elixir em Foco average plays per episode after 30 days:
323
https://www.elixiremfoco.com/

elx pro BR YouTube channel:
1.35K subscribers
https://www.youtube.com/channel/UCl_BBK2sXZzQy_3ziNU7-XA

On average, the 39 Elixir developers that answered a large Brazilian developers survey earn
US$ 45.172 yearly.
https://twitter.com/adolfont/status/1509126293522202627 I calculated that average salary by multiplying the monthly salary in BRL$ by 12 and by converting it to US dollars. This is far from accurate. First, many Brazilian Elixir devs work for US/Europe companies. Second, we don't know how they are hired.
Third, the US$ - BRL$ exchange rate can vary a lot.

Which numbers are missing?
Which numbers would you like to see?

@adolfont https://twitter.com/adolfont

_This on Speakerdeck:_ https://speakerdeck.com/adolfont/some-numbers-of-the-brazilian-elixir-community-in-2022
Frontend Interview questions I had with a Norwegian Startup
Tags: interview, javascript, css, react
Published: 2022-03-30 13:23:25


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/csb1srj7hggw6q6jqgkb.png)
I had the chance to apply for a Norwegian startup in the frontend developer position. Javascript, React, CSS, and API were important parts for them and they didn't mention years of experience in their job description.
After apply I received a link to book time for have a 15 minutes interview. It was a short technical interview which I needed to answer questions in a short way. They could filter candidates with this interview and I believe it is a very useful way.
You can see the questions down below:

1. Difference between var, let, and const
2. [Describe map and reduce array methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce)
3. [Difference between regular functions and arrow functions](https://dmitripavlutin.com/differences-between-arrow-and-regular-functions/)
4. [Do you have experience in CSS Native variables?](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties)
5. [How do you center something vertically with flexbox?](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Aligning_Items_in_a_Flex_Container)
6. [Overall difference between React components and functional components and how you manage state in them?](https://dev.to/colocodes/react-class-components-vs-function-components-23m6)
7. [Explain virtual Dom](https://www.codecademy.com/article/react-virtual-dom)
8. [Explain the concept of two-way data binding](https://www.youtube.com/watch?v=IK9k9hSuYeA)
9. [Difference between Promises and async-await in error handling](https://www.geeksforgeeks.org/difference-between-promise-and-async-await-in-node-js/)
10. How could you handle this situation: response to an API request has over 1000 results! (The answer is Pagination)
11. [How do you authenticate in APIs?](https://blog.restcase.com/4-most-used-rest-api-authentication-methods/)
12. [Do you know what is Tree shaking in tools like Webpack?](https://webpack.js.org/guides/tree-shaking/)
13. Do you have experience with frontend testing frameworks?
14. Your branching strategy in Git, describe it
15. Do you have experience deploying in DevOps platforms?
16. Do you know what is CI/CD?
17. Do you prefer to hand-code your CSS or prefer to use libraries?
18. Do you prefer a specific IDE?
19. Do you prefer Tabs or spaces? :)

Also after this meeting, they sent feedback with some useful links which could sharpen my skills! 
I liked the interview process and wanted to share it with you. Hope you like it.
growmore pakistan
Published: 2022-03-30 13:05:25

[GrowMore ](https://www.youtube.com/channel/UChPKGpXUQhuVk-pP511aQIA)Institute and Digital Marketing Agency Focusing To Train The Youth With Million Dollar Income Generating Skills. Which Will Help To Lift Pakistan. We Also Provide Digital Marketing Services To Local And International Businesses To Grow Their Businesses, Which Automatically Plays A Part In Growth Of Pakistan Economy.