teleren/devto huggingface dataset:
100 Tips from The Pragmatic Programmers Book: Part 6/10
Tags: career, thepragmaticprogrammer, books, programming
Published: 2024-01-30 18:30:00

#### 6.1. Don't Pay Inheritance Tax.
> Consider alternatives that better fit your needs, such as interfaces, delegation, or mixins

&nbsp;
#### 6.2. Prefer Interfaces to Express Polymorphism.
> Interfaces make polymorphism explicit without the coupling introduced by inheritance.

&nbsp;
#### 6.3. Delegate to Services: Has-A Trumps Is-A.
> Don’t inherit from services: contain them.

&nbsp;
#### 6.4. Use Mixins to Share Functionality.
> Mixins add functionality to classes without the inheritance tax. Combine with interfaces for painless polymorphism.

&nbsp;
#### 6.5. Parameterize Your App Using External Configuration.
> When code relies on values that may change after the application has gone live, keep those values external to the app. When you application will run in different environments, and potentially for different customers, keep the environment and customer specific values outside the app.

&nbsp;
#### 6.6. Analyze Workflow to Improve Concurrency.
> Exploit concurrency in your user’s workflow.

&nbsp;
#### 6.7. Shared State Is Incorrect State.
> Shared state opens a large can of worms that can often only be fixed by rebooting.

&nbsp;
#### 6.8. Random Failures Are Often Concurrency Issues.
> Variations in timing and context can expose concurrency bugs, but in inconsistent and irreproducible ways.

&nbsp;
#### 6.9. Use Actors For Concurrency Without Shared State.
> Use Actors to manage concurrent state without explicit synchronization.

&nbsp;
#### 6.10. Use Blackboards to Coordinate Workflow.
> Use blackboards to coordinate disparate facts and agents, while maintaining independence and isolation among participants.

&nbsp;
Thanks for reading, happy coding 😀
mua chung Kittl
Tags: webdev, javascript, beginners, programming
Published: 2024-01-30 18:25:18

[mua chung Kittl](https://www.wsovn.net/kittl-expert-annual) là phần mềm:
Duyệt qua hàng nghìn thiết kế sẵn sàng sử dụng và bắt đầu thiết kế như một người chuyên nghiệp..
FE – kittl EXPERT annual – $300
Làm việc trên các dự án không giới hạn
Dung lượng tải lên 10GB
Xuất vectơ (PDF, SVG)
Xuất JPG & PNG có độ phân giải cao
Tải lên phông chữ tùy chỉnh
Mua ngay tại: [https://www.wsovn.net/kittl-expert-annual](https://www.wsovn.net/kittl-expert-annual)
Some projector devices
Tags: projector, devices
Published: 2024-01-30 18:21:09

If you want to know some projector mini device, you can come to us website to learn about it 
This is us website: **maychieubeegency.com**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ram8kdo4h4rg4cb29ocp.png)
HOW TO RECOVER CRYPTO SENT TO WRONG ADDRESS - CONTACT OMEGA CRYPTO RECOVERY SPECIALIST
Published: 2024-01-30 18:03:41

The risks of sending crypto to the wrong address are significant. Blockchain transactions are irreversible, meaning that once funds have been sent to the wrong address, they cannot be reversed. Scammers often create fake addresses to trick people into sending their crypto assets, leading to the loss of millions of dollars each year. Additionally, human error can also result in sending funds to the wrong address, particularly when using long and complicated wallet addresses. Omega Crypto Recovery Specialist can help recover lost or stolen crypto assets. They use advanced blockchain analytics tools to trace lost or stolen funds. The success rate of recovering lost or stolen crypto assets is high, providing peace of mind to those who have lost their funds.
Micro không dây là gì? Những điều cần biết khi mua micro không dây
Published: 2024-01-30 17:53:14

Micro không dây giúp cho bạn di chuyển thuận tiện trong suốt quá trình hát. Vậy micro không dây là gì? Hãy cùng [Sbeat ](https://sbeatvn.com/
)tìm hiểu tất tần tật về cấu tạo và các loại micro không dây trước khi bạn chọn mua micro này nhé!

**1) Cấu tạo của micro không dây**

- 
Phần cấu tạo bên ngoài: lưới thép tròn (hoặc nhựa) bảo vệ phần đầu hát của micro, tay cầm, các nút tắt/mở, nút điều khiển chức năng và nắp pin nằm ở phía dưới micro.

- 
Phần cấu tạo bên trong: còn gọi là lõi micro gồm có nam châm, cuộn dây và màng rung.

**2.Phân loại micro không dây**
Dựa vào cấu tạo, micro không dây được chia làm 3 loại:

- 
Micro cầm tay: Sử dụng phổ biến để hát karaoke. Micro có phần thân to để gắn thêm bộ phận truyền tải và pin.

- 
Micro trình cắm: Thiết bị thu sóng gắn ở phía đáy. Vì thế, từ một chiếc micro thông thường sẽ được chuyển thành micro không dây.

- 
Micro cài áo: Sử dụng phổ biến ở các chương trình truyền hình. Micro có một hộp nhỏ, trong đó chứa bộ phận truyền tải âm thanh. Hộp này sẽ được gắn ở phía thắt lưng người sử dụng.

**3. Bộ micro không dây gồm những gì?**

- 
Đầu thu sóng: Đây là thiết bị quan trọng của micro không dây. Tuy nhiên, có nhiều người nhầm với đầu thu karaoke, đầu thu sóng có các nút cơ bản như nút tắt/ bật nguồn, nút điều chỉnh âm lượng,... Ở sau đầu thu có các ô để kết nối với các cổng, dây tín hiệu, dây nguồn,… Tùy vào kiểu micro mà đầu thu sẽ có kiểu dáng, công nghệ và tính năng khác nhau.

- 
Tay micro: Thông thường tay micro karaoke có 2 tay, cũng có loại chỉ có một tay. Bạn cần phải kiểm tra thật kỹ khi mua vì đây là bộ phận không thể thiếu. Thiết kế tay cầm micro, chụp micro bằng thép chống gỉ, tính năng tự động dò tìm sóng phù hợp “sóng sạch”, tránh được tình trạng nhiễu sóng.

- 
Dây nguồn Adapter: Dùng để kết nối đầu thu với nguồn điện, tất cả bộ micro phải có dây nguồn vì có dây nguồn thì micro mới có thể hoạt động.

- 
Thân micro: Là nơi thể hiện được tần số, số kênh channel và mức pin hiện tại, cùng với nút bật/tắt và một số nút chức năng khác.

- 
Dây line: Dùng để kết nối đầu thu với amply. Dây line giúp thu phát âm thanh và giúp dàn âm thanh karaoke của bạn hoạt động, phát huy tối đa hiệu quả. Mic vô tuyến sẽ có dây line 2 đầu 6 ly đi kèm.
->_ Hy vọng những thông tin trên đã giúp bạn biết được các thông tin cơ bản về micro không dây là gì trước khi chọn mua và sử dụng thiết bị này để giải trí rồi nhé! [Xem thêm](https://sbeatvn.com/micro-karaoke-bluetooth-e103-cho-nguoi-moi-tap-hat/) ở đây để hiểu rõ hơn nhé_
Animated scrolling text with fluid typography
Tags: codepen, frontend, css, webdev
Published: 2024-01-30 17:48:08

An example of **vertically scrolling text** on **CodePen**, animated using CSS and JavaScript.

The text uses **fluid typography** and is masked using overflow. 

{% codepen https://codepen.io/danieledesantis/pen/jOJZmvK %}
React Skia, Re-animated & Expo course
Tags: reanimated, expo, reactnative, skia
Published: 2024-01-30 17:29:28

Hi all,



I created my first course on Udemy teaching you how to use Skia, Re-animated 3, and various expo libraries. The link will  discount the course ~~so it's free but only for the first 100 people that sign up~~.  All 100 slots have been redeemed. 

[Mastering React Native, React Native Skia, and Re-animated.](https://www.udemy.com/course/mastering-react-native-react-native-skia-and-re-animated/?couponCode=E37816093004B5C43D85)

Hope you enjoy and looking for any feedback!
Azure Databricks - Unity Catalog
Tags: databricks, azure, beginners
Published: 2024-01-30 17:22:07

1. What is Unity Catalog?

<IMG  src="https://lh4.googleusercontent.com/95W7PKRRejtgA_FI6J2w4ihKyu6QW8fUglouSMY4N0Xa1iRnIxmCP2ugb29AmuBXei5YQtzzSWZNVcZboiNZu51G-A0JOy2znJu6vezVGkyAEL0bDAmVdToET4SgJzywkUj7dRXJf1mNnbQvP3J4LOzLemHeXDpT1ZUOFAMyAi_iD6hBLgUYNJEsMEMdiA"  width="292"  height="204" style="margin-left:0px;margin-top:0px"/>

- Centralized security and governance service for your Lakehouse
- Unity Catalog allows admins and data stewards manage users and access to data centrally across all of the workspace in an Azure Databricks account
- Users in different workspace can share access to the same data
- Offers a single place to administer data access policies that apply across all workspaces
- Automatically captures user-level audit logs recording access to the data

2. Unity Catalog Object Model

<IMG  src="https://lh5.googleusercontent.com/q5BjQcgC1WMYBAsmkkxs43_kmO0HfhFu2FVxAb1lccZ5dTX9EO-y2iiPMyKOLo2FlCj3s5EdWJgtlmTVxHwXYGFuy6rSA_YEekL4oEnoS_D3tQf_5rCi6dtY-Vp3fgC71S6DDsdUOdu4IPZDDZii085mG11OiTFp-R0eu4kI91B-8QTm9atQqoaNYEL3_g"  width="375"  height="298" style="margin-left:0px;margin-top:0px"/>

- **Metastore**: the top-level container for metadata by exposing a three-level namespace (catalog.schema.table)
- **Catalog**: first layer of object hierarchy to organize data assets
- **Schema**: database. Second layer of object to contain tables and views
- **Table**: the lowest level in the object hierarchy. Includes: storage credentials and external table, managed table or views

https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/
Unity Catalog API 2.1 Specification
https://api-docs.databricks.com/rest/latest/unity-catalog-api-specification-2-1.html
Kubernetes administración basica
Tags: spanish, kubernetes, beginners, devops
Published: 2024-01-30 17:08:05

Para administrar y obtener información sobre un clúster de Kubernetes, puedes usar la herramienta de línea de comandos kubectl, que es el cliente de línea de comandos oficial de Kubernetes. Aquí tienes algunos comandos y tareas comunes:

**1. Instalar kubectl:**
Asegúrate de tener kubectl instalado en tu máquina. Puedes encontrar instrucciones de instalación en la documentación oficial de Kubernetes: [Instalar kubectl](https://kubernetes.io/es/docs/tasks/tools/included/install-kubectl-linux/).

**2. Configurar kubectl:**
Después de la instalación, configura **kubectl** para que se conecte a tu clúster de Kubernetes. Esto generalmente implica proporcionar la dirección del servidor API del clúster y las credenciales de autenticación. Puedes configurar la conexión utilizando el comando **kubectl config**.

```
kubectl config set-cluster <nombre-del-clúster> --server=<url-del-servidor-api>
kubectl config set-context <nombre-del-contexto> --cluster=<nombre-del-clúster> --user=<nombre-de-usuario>
kubectl config use-context <nombre-del-contexto>
```

**3. Obtener Información del Clúster:**

```
# Mostrar información del clúster
kubectl cluster-info

# Mostrar los nodos en el clúster
kubectl get nodes

# Mostrar información detallada sobre un nodo específico
kubectl describe node <nombre-del-nodo>
```

**4. Obtener Información sobre Pods, Despliegues y Servicios:**

```
# Obtener una lista de todos los pods en el espacio de nombres predeterminado
kubectl get pods

# Obtener información sobre un pod específico
kubectl describe pod <nombre-del-pod>

# Obtener una lista de despliegues
kubectl get deployments

# Obtener información sobre un despliegue específico
kubectl describe deployment <nombre-del-despliegue>

# Obtener una lista de servicios
kubectl get services

# Obtener información sobre un servicio específico
kubectl describe service <nombre-del-servicio>
```

**5. Escalar Despliegues:**

```
# Escalar un despliegue a un número específico de réplicas
kubectl scale deployment <nombre-del-despliegue> --replicas=<cantidad-deseada-de-réplicas>
```

**6. Registros y Ejecución en Pods:**

```
# Obtener registros de un pod específico
kubectl logs <nombre-del-pod>

# Transmitir registros de un pod en tiempo real
kubectl logs -f <nombre-del-pod>

# Ejecutar un comando en un pod en ejecución
kubectl exec -it <nombre-del-pod> -- /bin/sh
```

**7. Aplicar y Actualizar Configuraciones:**
```
# Aplicar una configuración desde un archivo YAML
kubectl apply -f <archivo.yaml>

# Actualizar un despliegue con una nueva configuración
kubectl apply -f <archivo-actualizado.yaml>
```

Estos son solo algunos comandos básicos para comenzar. Kubernetes ofrece un conjunto completo de características, y puedes personalizar y extender estos comandos según tu caso de uso y requisitos específicos.
Databricks API
Tags: azure, databricks, api, beginners
Published: 2024-01-30 17:04:39

_NOTE_
In the example, whenever the user creates a new entity, it creates a new PAT. In order to create/list/delete the PAT, it needs two following tokens for the service principal: Azure Active Directory(AD) token and Azure Active Directory management endpoint token.

*Requirement - The service principal requires the Contributor or Owner role on the Databricks workspace in Azure.*

## Step 1 - Get Azure AD token for the service principal
https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/service-prin-aad-token#--get-an-azure-ad-access-token-with-the-azure-cli

**NOTE - You can get tenant_id, client_id, and client_secrect from your service principal as below.

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

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

POST https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token

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

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

## Step 2 - Get Azure AD management endpoint token
POST https://login.microsoftonline.com/<tenant-id>/oauth2/token

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

Now you have two Azure AD tokens (one with Databricks service principal from step1 and another with AD management endpoint from step2)
## Step 3 - Create Personal Access Token based on two AD tokens from previous steps
POST <databricks-instance-name>/api/2.0/token/create \
 -H 'Authorization: Bearer <token from step 1>' \
 -H 'X-Databricks-Azure-SP-Management-Token: <token from step 2>' \
 -H 'X-Databricks-Azure-Workspace-Resource-Id: /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.Databricks/workspaces/<workspace-name>'

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

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

You can now retrieve token_value as well as token_id from above API call. These values will be used to create an external location, catalog and schema and delete PAT that has been already used.

Optionally, you can put request body as below. 

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

https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/tokens

You can run any Databricks REST API call. Below link provides the REST API endpoint available with Azure Databricks
https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/
Purview - Data estate insights
Tags: azure, purview, beginners, javascript
Published: 2024-01-30 16:57:40

The Data Estate Insights application is purpose-built for governance stakeholders, primarily for roles focused on data management, compliance, and data use: like a Chief Data Officer. The application provides actionable insights into the organization's data estate, catalog usage, adoption, and processes.

The dashboards and reports available within Microsoft Purview Data Estate Insights are categorized in three sections:

- Health
- Inventory and Ownership
- Curation and Governance

# Health
Data, governance, and quality focused users like chief data officers and data stewards can start at the health dashboards to understand the current health status of their data estate, current return on investment on their catalog, and begin to address any outstanding issues.

<IMG  src="https://docs.microsoft.com/en-us/azure/purview/media/insights/data-stewardship-small.png"  alt="Screenshot of health insights report dashboard."/>


## Data stewardship
The data stewardship dashboard highlights key performing indicators that the governance stakeholders need to focus on, to attain a clean and governance-ready data estate. Information like asset curation rates, data ownership rates, and classification rates are calculated out of the box and trended over time.

Management-focused users, like a Chief Data Officer, can also get a high-level understanding of weekly and monthly active users of their catalog, and information about how the catalog is being used. 

# Inventory and ownership

This area focuses on summarizing data estate inventory for data quality and management focused users, like data stewards and data curators. These dashboards provide key metrics and overviews to give users the ability to find and resolve gaps in their assets, all from within the data estate insights application.

<IMG  src="https://docs.microsoft.com/en-us/azure/purview/media/insights/asset-insights-small.png"  alt="Screenshot of inventory and ownership insights report dashboard."/>

## Assets
This report provides a summary of your data estate and its distribution by collection and source type. You can also view new assets, deleted assets, updated assets, and stale assets from the last 30 days.

Explore your data by classification, investigate why assets didn't get classified, and see how many assets exist without a data owner assigned. To take action, the report provides a “View Detail” button to view and edit the specific assets that need treatment.

You can also view data asset trends by asset count and data size, as we record this metadata during the data map scanning process.

# Curation and governance
This area focuses on giving a summary of how curated your assets are by several curation contexts. Currently we focus on showcasing assets with glossary, classification, and sensitivity labels.

<IMG  src="https://docs.microsoft.com/en-us/azure/purview/media/insights/curation-and-governance-small.png"  alt="Screenshot of example curation and governance insights report dashboard."/>
Purview - Data catalog
Tags: azure, purview
Published: 2024-01-30 16:56:49

- Data catalog in purview provides the information about your organizations data assets in a searchable format based on lenses, such as glossary terms, classifications, sensitivity labels and more.
- Depending on which level of Data Catalog you choose, you can also access a business glossary, lineage visualization, catalog insights, and sensitive data identification insights.
AI Builder
Tags: azue, ai, aibuilder
Published: 2024-01-30 16:53:17

**What is AI Builder?**
- build, train, and publish AI models without a single line of code or the help of a data scientist
- build AI models in minutes with guided "point and click" wizards
- customizable for broad range of industries
- part of the Power Platform and Dynamic 365, so you can leverage your AL models anywhere and build robust, dynamic automations

**Wide Range of AI Scenarios**
- Documents: form processing, text processing, invoice processing, receipt processing, identify document reader, business card reader
- Vision: object detection, classify images
- Prediction
- Language: category classification, entity extraction, key phrase extraction, language detection, sentiment analysis, translation 

**Custom vs. Prebuilt AI Models**
**Custom AI Models**
- requires training to be able to understand company specific information
- before using them, makers need to train the model for a specific need by submitting historical data and teaching the model how to understand it
- no-code wizard guides the maker during this process
- example) understand a specific company template to process purchase orders

**Pre-built AI Models**
- ready to use out of the box and don't require any training
- can be invoked directly from Power Automate or Power apps to build intelligent apps and workflows
- example) process an ID document
Establishing Cross-Region Transit Gateway Peering: A Step-by-Step Approach
Published: 2024-01-30 16:47:39

**Step 1: Creating Transit Gateways**
The journey begins with the deployment of Transit Gateways in the targeted regions. Attach relevant VPCs to each Transit Gateway to ensure they function correctly and facilitate smooth connectivity.

**Step 2: Initiating Peering**
Using the AWS Management Console, access the Transit Gateway service. This platform allows you to initiate a peering connection between the Transit Gateways located in various regions.

**Step 3: Configuring Route Tables**
Post peering, it's essential to update the route tables associated with each Transit Gateway. This update is critical for enabling the correct routing of traffic across the networked regions.

**Step 4: Adjusting Security Measures**
Modify Network Access Control Lists (ACLs) and Security Groups to permit traffic flow between the peered VPCs. This process involves setting up the right ports and protocols to ensure smooth communication between EC2 instances.

**Step 5: Testing Connectivity**
The final step is to verify connectivity. Employ tools like ping or use application-specific tests to confirm that EC2 instances in different regions can communicate without any hurdles.

**Conclusion: Embracing Global Connectivity**
Cross-region Transit Gateway peering in AWS is a game-changer for organizations looking to build a global, interconnected network infrastructure. This guide offers a clear roadmap for integrating resources across geographical boundaries, enabling direct communication between EC2 instances. Such a capability is invaluable for global enterprises, leading to scalable, resilient, and interconnected cloud architectures.
Unlocking the Power of Natural Healing: A Deep Dive into the BNYS Course Details
Tags: bnys, admission, newadmission, tutorial
Published: 2024-01-30 16:46:08

Ever dreamed of a career built on the pillars of holistic wellness and the self-healing power of nature? Then, the Bachelor of Naturopathy and Yogic Science (BNYS) course might be the perfect pathway for you! Delve into a world where ancient wisdom meets modern science, and where yoga postures seamlessly blend with nutritional therapies to promote optimal health.

Unveiling the Essence of [BNYS](https://www.admissiondone.com/bnys-course-details/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ga52ptczjvlsemnrrbre.jpg)):

At its core, BNYS equips you with the knowledge and skills necessary to become a qualified naturopathic physician. This 5.5-year program (4.5 years of academics and 1 year of internship) delves into the fascinating realms of:

Naturopathy: Discover the secrets of natural healing methodologies like hydrotherapy, acupressure, mud therapy, and herbal remedies. Learn how to harness the body’s inherent ability to restore balance and fight disease.
Yogic Science: Embrace the profound wisdom of yoga, exploring its asana (postures), pranayama (breathing exercises), and meditation techniques. Understand how yoga promotes physical, mental, and spiritual well-being.
Anatomy and Physiology: Gain a thorough understanding of the human body’s intricate workings, laying the foundation for effective diagnosis and treatment plans.
Nutrition and Dietetics: Master the science of food as medicine, learning how to design personalized diets for optimal health and disease prevention.
Modern Diagnostic Techniques: Equip yourself with essential tools like pulse diagnosis, tongue diagnosis, and iridology for comprehensive patient assessment.
Dive Deeper into the Curriculum:

The BNYS curriculum is meticulously designed to provide a holistic learning experience. Expect to delve into subjects like:

Philosophy of Naturopathy
General Pathology and Microbiology
Clinical Naturopathy
Yoga Therapy
Pharmacology and Toxicology
Community Health
Research Methodology