teleren/devto huggingface dataset:
Azure AD tenant -> Microsoft Entra tenant
Tags: entratenant, azuread
Published: 2023-10-18 14:56:38

---
title: Azure AD tenant -> Microsoft Entra tenant
published: true
description: Azure AD tenant -> Microsoft Entra tenant
tags: Entratenant, azureAD
cover_image: https://media.licdn.com/dms/image/sync/D4D27AQHkSVCPsHWxXA/articleshare-shrink_800/0/1697613559776?e=1698246000&v=beta&t=xf_bEP8cTUo004lopTb-32lNhiIwSsy6WL5blJ0Q1CI
# Use a ratio of 100:42 for best results.
# published_at: 2023-10-18 14:55 +0000
---

Azure AD tenant -> Microsoft Entra tenant
Time for a change
Have you heard the news? Microsoft has announced that Azure Active Directory (Azure AD) will be renamed to Microsoft Entra later this year. This is part of their vision to create a unified identity platform that empowers people and organizations to achieve more.
What does this mean for you? If you’re already using Azure AD, you don’t need to worry about anything. Your existing services and features will continue to work as usual. You’ll just see a new name and logo in the user interface and documentation.
If you’re not using Azure AD yet, now is a great time to get started. Microsoft Entra is a cloud-based identity and access management service that helps you secure your applications, data, and devices. You can easily manage users, groups, roles, permissions, policies, and more from a single dashboard. You can also integrate with thousands of cloud and on-premises applications using single sign-on (SSO) and multi-factor authentication (MFA).
Whether you’re a small business or a large enterprise, Microsoft Entra can help you simplify your identity management and enhance your security posture. Want to learn more? Check out this link for more details: https://lnkd.in/dyecP5-S
What do you think about this change? Do you have any questions or concerns? Let me know in the comments below.
biometric authentication for react native
Tags: reactnative, biometricauthentication
Published: 2023-10-18 14:55:29

---
title: biometric authentication for react native
published: true
description: add biometric authentication to your React Native app
tags: reactnative, biometricauthentication 
cover_image: https://media.licdn.com/dms/image/D5622AQFZGExPlBCAew/feedshare-shrink_2048_1536/0/1689050939408?e=1700697600&v=beta&t=FrLG92NLiygUJSLu6bVxCTdRZZZ3VBT2VnMUC20mFOY
# Use a ratio of 100:42 for best results.
# published_at: 2023-10-18 14:54 +0000
---

If you are looking for a way to add biometric authentication to your React Native app, you should check out the react-native-biometrics library. This library allows you to use the native biometric features of Android and iOS devices, such as fingerprint, face, or iris recognition, to secure your app’s login. It is easy to install and use, and it supports both promise and callback methods. With react-native-biometrics, you can enhance your app’s security and user experience with just a few lines of code.

https://lnkd.in/gmpASqeT
.net 6 Azure ad integration
Tags: azure, ad
Published: 2023-10-18 14:53:43

---
title:  .net 6 Azure ad integration
published: true
description: Azure Active Directory B2C (Azure AD B2C)
tags: azure, ad
cover_image: https://media.licdn.com/dms/image/D5622AQGPP7DfKfUjJQ/feedshare-shrink_1280/0/1689051257566?e=1700697600&v=beta&t=VgYX_195XYmBZfTwgtV4sJ7TNBGxFh3BarnsnDhlKMs
# Use a ratio of 100:42 for best results.
# published_at: 2023-10-18 14:48 +0000
---

when we were doing the .net 6 Azure ad integration we had some hard time this is the recommended library If you are developing a web app that needs to authenticate users with Azure Active Directory B2C (Azure AD B2C), you should check out the Microsoft.AspNetCore.Authentication.JwtBearer and Microsoft.AspNetCore.Authentication.OpenIdConnect packages. These packages enable your web app to use the JSON Web Token (JWT) bearer authentication handler and the OpenID Connect protocol middleware, which are compatible with Azure AD B2C. With these packages, you can easily configure your web app to sign in users using various identity providers, such as social accounts or enterprise accounts, and protect your web API with Azure AD B2C tokens. These packages are part of the ASP.NET Core framework and support .NET 5.0 or later.
Unlocking the Full Potential: Tips and Tricks for Developers
Published: 2023-10-18 14:46:56

Hey fellow developers! 👋

If you're reading this, you're likely familiar with Dev.to, the fantastic platform for developers to share knowledge, connect, and learn from each other. It's an awesome place to be, but are you getting the most out of it?

In this thread[,](https://restylewear.com/) let's share our tips, tricks, and insights on how to harness the full potential of Dev.to. Whether you're a newbie or a seasoned Dev.to user, there's always more to discover.

Here are some discussion starters:

How do you maximize your reach and engagement on Dev.to?
Are there lesser-known features that you find super useful?
What's your strategy for balancing reading, writing, and commenting?
Have you connected with valuable mentors or collaborators here?
Share your thoughts, experiences, and any Dev.to gems you've uncovered. Let's help each other make the most of this vibrant developer community!

Remember, the more we share, the stronger our collective knowledge becomes. So, what are your Dev.to secrets and insights? 🚀
Hi Low Game
Published: 2023-10-18 14:33:23

This is also known as binary search.

```
import random

num = random.randint(1, 100)

choice = ""

while choice != num:
    choice = int(input("Please enter your choice here: "))
    if choice < num:
        print("Guess Higher")
    elif choice > num:
        print("Guess Lower")
    elif choice == num:
        print("You have guessed it case correctly - {0}".format(num))
        break

```
Hướng Dẫn Đo Thước Lỗ Ban Online
Published: 2023-10-18 14:27:06

Đo **thước lỗ ban** là một công việc quan trọng trong nhiều ngành công nghiệp, bao gồm cả ngành chế tạo, xây dựng, và gia công kim loại. Dưới đây là hướng dẫn cơ bản để đo thước lỗ ban bằng cách sử dụng thước đo và cần tiến hành thực hiện công việc này cẩn thận.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z1cfc1wvw86ae4c7s6yc.jpg)
Bước 1: Chuẩn bị các công cụ và vật liệu cần thiết

Một thước đo (thước kẹp hoặc thước cảm ứng tùy vào lỗ ban cần đo).
Đèn pin hoặc nguồn sáng để xem rõ.
Giấy và bút để ghi lại kết quả đo.
Bước 2: Đảm bảo an toàn

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c9aja82pzhopajsnldqz.jpg)
Đảm bảo rằng bạn đang làm việc trong môi trường an toàn và có bảo hộ khi cần.
Kiểm tra thước đo và đèn pin (nếu cần) để đảm bảo chúng hoạt động bình thường.
Bước 3: Làm sạch và chuẩn bị lỗ ban

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/61rmcg170gmk7gejogv7.jpg)
Vệ sinh lỗ ban bằng cách loại bỏ bất kỳ bụi bẩn hoặc dầu mỡ còn lại.
Đảm bảo lỗ ban không bị rỉ sét hoặc hỏng hóc nghiêm trọng.
Bước 4: Đo lỗ ban

Sử dụng thước đo để đo chiều dài và đường kính của lỗ ban. Nếu bạn đang sử dụng thước kẹp, bạn có thể sử dụng hai que thước để đo cả chiều dài và đường kính.
Nếu bạn sử dụng thước cảm ứng, đặt thước vào lỗ ban và đọc kết quả trên màn hình.
Bước 5: Ghi kết quả

Ghi kết quả đo lại trên giấy để theo dõi hoặc báo cáo. Kết quả cần được ghi rõ ràng và chính xác.
Bước 6: Kiểm tra lại độ chính xác

Đảm bảo bạn đã kiểm tra kết quả đo một lần nữa để đảm bảo tính chính xác của chúng.
Bước 7: Bảo quản công cụ

Sau khi hoàn thành công việc đo, đảm bảo làm sạch và bảo quản thước đo một cách cẩn thận để đảm bảo chúng được duy trì trong tình trạng tốt nhất.
Hãy nhớ rằng đo thước lỗ ban đòi hỏi sự chính xác và cẩn thận. Nếu bạn không chắc chắn về việc đo hoặc cần kết quả đo chính xác, hãy cân nhắc thuê một chuyên gia hoặc kỹ thuật viên có kinh nghiệm trong việc đo lỗ ban để đảm bảo đáp ứng được yêu cầu của công việc.

Công Ty Cổ Phần Thiết Kế Kiến Sang
VPGD 1: 19 Đại Từ - Đại Kim - Hoàng Mai - Hà Nội
VPGD 2: Tòa nhà B2 - Tecco Garden - Tứ Hiệp - Thanh Trì - Hà Nội
Xưởng nội thất : Đội 1 - Cao Sơn - Tiên Phương - Chương Mỹ - Hà Nội 
☎ Hotline: 0944754599 * ☎ Tel: 0888 333 063
✉ Email: kiensang.net@gmail.com
Website : [https://kiensang.com](https://kiensang.com)
Nguồn   : [https://kiensang.com/thuoc-lo-ban.html](https://kiensang.com/thuoc-lo-ban.html)
Victory Myanmar Group
Tags: victorymyanmargroup, mandalayrum, mandalayspirit
Published: 2023-10-18 14:25:17

[Victory Myanmar Group](https://www.facebook.com/profile.php?id=107910044450465&paipv=0&eav=AfbyIB-IoWOOchzrjenvbGjchXFCaO2Bz2BNxOpQe3vKdfWI7Ry8gbxUI3rfON1NyOY&_rdc=2&_rdr) is the Distiller of largest selling Rum "The Mandalay Rum or Mandalay Spirit". It was established in 1886 and has its main distillery in Myanmar. It provides services in Singapore and Myanmar. It main product is [Mandalay Rum](https://newchallenges.com.mm/companies/victory-myanmar-group-of-companies/101) and the product origin is Macau.
More details about Victory Myanmar Group are given below:
Category: Alcohol
Address: 41/F, St., Industrial Zone, Yan Naing Swe St.2, Yangon, Myanmar (Burma)
Phone:  +95 1 551 121
Number of Employees: 250-999
Email: info@victorymyanmar.com
Website: www.victorymyanmar.com
Wednesday Links - Edition 2023-10-18
Tags: java, jvm, openapi, shell
Published: 2023-10-18 14:19:52

JDWP, onthrow and a mysterious error (5 min)👁️‍🗨️
https://mostlynerdless.de/blog/2023/10/11/jdwp-onthrow-and-a-mysterious-error/

How to Diagnose and Mitigate Pinning in Java’s Virtual Thread Execution (5 min)🩺
https://foojay.io/today/how-to-diagnose-and-mitigate-pinning-in-javas-virtual-thread-execution/

Runtime efficiency with Spring - today and tomorrow (12 min)🩺
https://spring.io/blog/2023/10/16/runtime-efficiency-with-spring

Guide to Modulith with Spring Boot (12 min)🪨
https://piotrminkowski.com/2023/10/13/guide-to-modulith-with-spring-boot/

Unit-testing shell scripts and tools with shtk (10 min)🛠️
https://jmmv.dev/2023/10/unit-testing-with-shtk.html

Awesome AssertJ: Using A Custom Representation For Objects (3 min)🎃
https://blog.mrhaki.com/2023/10/awesome-assertj-using-custom.html

Why Your OpenAPI Spec Sucks (9 min)📜
https://blog.liblab.com/why-your-open-api-spec-sucks/
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
Tags: cordova, javascript, beginners
Published: 2023-10-18 14:19:29

**Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0**

1-
After the first test, "cordova build" is getting errors... Can you tell me how to debug this?
2-
jdk-21 is okay to use with CORDOVA CLI 12x???

===

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



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


```
 Name: Polis Cyprus
        Activity: MainActivity
        Android Target SDK: android-33
        Android Compile SDK: 33
Subproject Path: CordovaLib
Subproject Path: app
Android project created with cordova-android@12.0.1
PS C:\Users\User\PhpstormProjects\Cordova\PolisApp> cordova platform ls         
Installed platforms:
  android 12.0.1
Available platforms:
  browser
  electron
PS C:\Users\User\PhpstormProjects\Cordova\PolisApp> cordova requirements

Requirements check results for android:
Java JDK: installed 21.0.0
Android SDK: installed true
Android target: installed android-34,android-33
Gradle: installed C:\Users\User\.gradle\wrapper\dists\gradle-8.0-bin\ca5e32bp14vu59qr306oxotwh\gradle-8.0\bin\gradle.BAT
PS C:\Users\User\PhpstormProjects\Cordova\PolisApp> cordova build       
Checking Java JDK and Android SDK versions
ANDROID_HOME=C:\Users\User\AppData\Local\Android\Sdk (recommended setting)
ANDROID_SDK_ROOT=undefined (DEPRECATED)
Using Android SDK: C:\Users\User\AppData\Local\Android\Sdk

Welcome to Gradle 8.0!

For more details see https://docs.gradle.org/8.0/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\User\PhpstormProjects\Cordova\PolisApp\platforms\android\settings.gradle' (C:\Users\User\.gradle\caches\8.0\scripts\btzasla2v1bdorco4bxl7tade).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 10s
Command failed with exit code 1: C:\Users\User\.gradle\wrapper\dists\gradle-8.0-bin\ca5e32bp14vu59qr306oxotwh\gradle-8.0\bin\gradle.BAT -p C:\Users\User\PhpstormProjects\Cordova\PolisApp\platforms\android wrapper -b C:\Users\User\PhpstormProjects\Cordova\PolisApp\platforms\android\wrapper.gradle
PS C:\Users\User\PhpstormProjects\Cordova\PolisApp> 
```
Quick fix fn keys in Ubuntu
Tags: ubuntu, keyboard, functionkeys, blitzwolf
Published: 2023-10-18 14:06:16

If you have a 60% keyboard (a Blitzwolf kb1 in my case), you may have noticed that the Function Keys (F1, F2, etc.) are not enabled by default. This is because the keyboard is in "Apple mode" by default. To change the Function Key behavior to the standard Ubuntu layout, you need to execute the following command:

```bash
echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode
```

This will change the FnMode to 2, which corresponds to the standard Ubuntu layout.

To make this change permanent, you can add the following line to your `/etc/rc.local` file:

```bash
echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode
```

This will ensure that the FnMode is set to 2 every time you boot up your computer.

Here are the steps on how to do this:

- Open the `/etc/rc.local` file in a text editor.
- Add the following line to the end of the file:

```bash
echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode
```

- Save and close the file.
- Reboot your computer.

Once you have rebooted your computer, the FnMode will be set to 2 and the Function Keys will work as expected :fire:
How to format date from Firestore in BigQuery
Published: 2023-10-18 13:56:04

Im trying to display dates from Firestore Database in BigQuery.

Here is an example of my Firestore Document👇

[![Here is an example of my Firestore Document][1]][1]

I would like to display this timestamp, "f58-sodleDate", in BigQuery as 2023-10-3.

 
In BigQuery Console, I wrote this code 👇
```
json_extract(data, '$.f58-sodleDate'),
```
and I get this 👉 {"_seconds":1691471596,"_nanoseconds":483000000} 

And if I write this code, 👇
```
parse_datetime("%c", JSON_VALUE(DATA, '$.f58-sodleDate')) as dte,

// or this code

JSON_EXTRACT_SCALAR(DATA, '$.f58-sodleDate') AS dte,
```
I get the query result as null, like this👇

[![this query result][2]][2]

And if I write this code👇
```
date(timestamp_seconds(cast(json_extract(data, '$.f58-sodleDate') as int64))) AS dte,
```
I get this error message👇

[![error message][3]][3]

What I want for my query result is something like this👇
[![correct query result][4]][4]

I achieved this by writing this code 👇
```
FORMAT_DATE('%F', timestamp) as dte,
```
Please tell me what I have to do to achieve the result I want..

Thank you, best. - STW

  [1]: https://i.stack.imgur.com/Rp5R0.png
  [2]: https://i.stack.imgur.com/r2Ah4.png
  [3]: https://i.stack.imgur.com/fcFpu.png
  [4]: https://i.stack.imgur.com/ZEKXa.png
The README email
Tags: developer, startup, devjournal
Published: 2023-10-18 13:52:05

In software development, a [README file](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes) is where you can have a detailed description of a project — why it exists, what you can do with it, and how you can use it and contribute.

When building an open-source product, `README.md` is the main place to learn more about the history of the project and its roadmap. As maintainers, we pour time into it to make it as awesome as possible. 

I recently had the opportunity to work on the onboarding experience and welcome email sequence for an open-source company, and when we started thinking about how we wanted to welcome new users, this file really inspired us. 

**This post highlights the principles we defined and the email sequence we set for a great onboarding experience.**

## principles

- **No spam.** We send two emails: one welcome email when a new user signs up and one check-in after seven days. We might send a [PMF survey](https://review.firstround.com/how-superhuman-built-an-engine-to-find-product-market-fit) from time to time, up to 1 email per quarter. That's it. No nurturing, no outreach, no spam.
- **Simplicity.** We keep things simple and straight to the point, in one plain email -- the README email -- that includes the key elements you need to get started.
- **Human after all.** You don’t get an email from a `hello@` `support@` or worse `no-reply@` address. We send new users emails from personal accounts.

With these principles in mind, below are the two emails we send to new users:

## how we welcome new users
Two emails:
1. The README email;
2. Quick check-in.

### Email #1: the README email

Subject line:
```markdown
{yourProduct}: readme
```
Body:
```html
Hey {firstName},

Welcome to {yourProduct}! We're building an open-source alternative to XYZ.

Below are the most helpful links:
- GitHub: Star this repo!
- Discussions: Request features and integrations
- Issues: Report bugs

Enjoy,
Flo
```

### Email #2: checking in

Subject line:
```markdown
{yourProduct}: checking in
```
Body:
```markdown
Hey {firstName},

How's your experience with {yourProduct} so far?

Feel free to book a quick call with me: https://cal.com/fmerian/meet

Or reply to this email!

Thanks,
Flo
```

## Post Scriptum

This email sequence is the first iteration of a running experiment to make the onboarding experience as awesome as possible. It certainly isn't perfect, and we may edit and improve (simplify) it. Enjoy!

Over to you, I'd love to learn more about your most memorable onboarding experiences. 

**What's one product that struck you for its first-time experience?**
Exterior Renovation: Transforming Homes in Minnesota
Published: 2023-10-18 13:33:36

Exterior renovation is a significant undertaking that can breathe new life into your home. Whether you're looking to enhance your property's curb appeal, boost its value, or simply make it more energy-efficient, an exterior renovation can do wonders. In this article, we'll explore the world of exterior renovation and focus on the remarkable services offered by exterior renovation companies in Minnesota.

**The Importance of Exterior Renovation**
The exterior of your home is its first impression. It's what your neighbors, guests, and potential buyers see. A well-maintained exterior not only makes your home visually appealing but also protects it from the harsh Minnesota weather. Exterior renovation plays a vital role in ensuring that your property remains in top condition.

**Choosing the Right Exterior Renovation Company**
Selecting the right [exterior renovation company in minnesota](https://twincitiesroofing.com/) is crucial. Look for a company with a proven track record, a good reputation, and experienced professionals. Read customer reviews and ask for referrals to ensure you're making the right choice.

**Benefits of Exterior Renovation**
An exterior renovation offers numerous benefits. It increases the value of your home, lowers energy costs, and provides a fresh and modern look. Plus, it can address structural issues and prevent future problems.

**Services Offered by Exterior Renovation Companies**
Exterior renovation companies provide a wide range of services, from siding replacement and window installation to roof repairs and painting. They tailor their services to your specific needs, ensuring that your home gets the makeover it deserves.

**Quality Materials and Craftsmanship**
The use of high-quality materials and skilled craftsmanship is crucial for a successful renovation. Renovation companies in Minnesota prioritize both, ensuring that your investment is worthwhile.

**Affordability and Budget Considerations**
Renovation projects can be tailored to fit your budget. Experienced companies offer options that make exterior renovation affordable without compromising quality.

**Eco-Friendly Exterior Renovation**
Minnesota values sustainability, and so do many renovation companies. They offer eco-friendly options, ensuring that your renovation aligns with your environmental values.

**Maintaining the Renovated Exterior**
Proper maintenance is key to preserving your home's newly renovated exterior. Renovation companies often provide maintenance tips and services to keep your home looking its best.

**Why Minnesota is Ideal for Exterior Renovation**
Minnesota's diverse weather conditions make exterior renovation essential. From harsh winters to humid summers, a well-renovated exterior can withstand it all and keep your home comfortable year-round.

**Conclusion**
Exterior renovation is an investment that pays off in terms of aesthetics, property value, and functionality. Choose a reliable renovation company in Minnesota, and you can transform your home, protect it from the elements, and enjoy a more beautiful and energy-efficient living space.