teleren/devto huggingface dataset:
trder trainning camp mobile PC UI
Tags: design
Published: 2024-04-02 07:16:20


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



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



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


This is a job for an old customer, mainly a trader training base for Indians.

这是一个老客户的活，主要是面向印度人的交易者培训基地

works link:
https://ludesala.blogspot.com/2024/03/trder-trainning-camp-mobile-pc-ui.html
Video: Enterprise AI with the Hugging Face Enterprise Hub
Tags: enterprise, datascience, huggingface, ai
Published: 2024-04-13 02:58:59

---
title: Video: Enterprise AI with the Hugging Face Enterprise Hub
published: true
date: 2024-04-02 07:14:40 UTC
tags: enterprise,datascience,huggingface,ai
canonical_url: https://julsimon.medium.com/video-enterprise-ai-with-the-hugging-face-enterprise-hub-f00401aeb32f
---

Curious how the Hugging Face Enterprise hub, an enterprise-ready version of the world’s leading AI platform, can help your organization foster collaboration and innovation while maintaining a strong security and compliance posture?

![](https://cdn-images-1.medium.com/max/1024/1*0gTSx5zVyk2Ak3t-HcJVtg.png)

In this video, my colleague Derek and I walk you through the features of the Hugging Face Enterprise Hub.

{% youtube VoglFokCW_U %}

Learn more at [https://huggingface.co/enterprise](https://huggingface.co/enterprise)
How To Convert Excel Macros to Excel Formula Using Python Automation
Tags: webdev, programming, python, devops
Published: 2024-04-02 07:09:07

Converting Excel macros to Excel formulas using Python automation means replacing complex, automated tasks written in Excel’s macro language with simpler, more understandable formulas that achieve the same results. Python can be used to automate this conversion process.

Excel macros are like magic spells that make Excel do things automatically, such as adding up numbers or formatting cells. With the help of the wonderful programming language Python which we have seen to automate task in excel, can also help in converting macros to formulas in Excel. Which further makes your Excel sheets easier to manage and understand. Let us see how.

Macros: Let’s say you have a macro in Excel that automatically calculates the total sales by summing up the values in column B from row 2 to the last row.

```
Sub CalculateTotalSales()
    Range("B1").Value = "=SUM(B2:B" & Range("B" & Rows.Count).End(xlUp).Row & ")"
End Sub
```
[Read More](https://codemagnet.in/2024/04/02/how-to-convert-excel-macros-to-excel-formula-using-python-automation/)
Not Get Trapped in Tutorial Hell
Published: 2024-04-02 06:52:11

Hey everyone,

After months of diving deep into tutorials, I finally decided to break free from the cycle of tutorial hell and start applying what I've learned. It's been quite a journey, immersing myself in HTML, CSS, JavaScript, React, Tailwind CSS, CMS integration, and much more.

Today marks a significant milestone for me as I take the first step towards documenting my understanding of these concepts. It's not just about following along with tutorials anymore; it's about applying that knowledge to real-world projects and solidifying my understanding through hands-on experience.

I'm excited to share my journey with you all, starting with this post. Stay tuned for updates as I continue to navigate through the world of web development, one code snippet at a time.

Let's break free from tutorial hell and embark on this journey together!
Learning SQL
Published: 2024-03-23 21:37:44

Road to Data Analyst Day #1: Learn Structured Query Language (SQL)

1. SQL Commands: Understanding the fundamental commands of SQL lays a solid foundation for manipulating and retrieving data from databases.

2. SQL Basics: Grasping the essential concepts and syntax of SQL allows for efficient querying and manipulation of data.

3. SQL Joins: Exploring different types of joins — such as inner joins, outer joins, self-joins, and cross-joins — enables the merging of data from multiple tables to derive meaningful insights.

4. SQL Unions, Intersect, Except Familiarizing with set operations allows one to combine and compare data from different queries or tables effectively.

5. SQL Temp Tables, View Tables, CTE: Learn about temporary tables, view tables, and common table expressions (CTEs) used in managing and organizing data for complex analysis tasks.

6. SQL Ranks: Ranking functions are used to sort and rank data based on specific criteria, and uncover valuable patterns and trends.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mlnbo54ftlw7xgmwh8vw.jpg)

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

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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4lnohd1cho3o5ra4qpxi.jpg)

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

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

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

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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/30z12i136ofqwi26gayk.jpg)

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

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

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

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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1i7nz2zg21vtoctssfgx.jpg)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/30tlrecco9knbnf8tknu.jpg)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sqcq0cfc121ujqn8kh11.jpg)
Unlock your new career opportunities with Zx Academy on Live Microsoft Power BI training in Hyderabad
Published: 2024-04-02 06:43:19

[Zx Academy Live provides Microsoft prospective BI training](https://www.zxacademy.com/course/microsoft-power-bi-certification-training/ ) in Hyderabad. With the aid of our comprehensive training, you can make the most out of Microsoft Power BI, one of the best tools for business intelligence and data visualisation. With Power BI, a suite of applications and tools, applicants can take data from multiple unrelated sources and turn it into a logical set of facts, interactive data, visually appealing insights, graphs, charts, and reports, regardless of their level of expertise. Our training course offers a dynamic and captivating learning environment, taught by experts from Zx Academy who are knowledgeable about installing Power BI and handling data analytics. Enroll right away.
DevTip: Unit and Integration Testing
Tags: webdev, tips, testing
Published: 2024-04-02 06:33:27

Hey Devs,

How many of you don't write tests? Or maybe let me rephrase the question.

Do you like writing test cases for your code?

Well, some of you may say no - It's common, even I used to feel the same way. But then I encountered a situation that made me realize how important writing tests is. Today, I'll tell you why.

First, let's understand the basics:

**What is Unit Testing?**

Unit testing is the process of testing individual components, or units, of code to ensure they work as intended. It helps identify bugs early and makes debugging easier.

**What is Integration Testing?**

Integration testing involves testing the interaction between different components or modules of a system. It ensures that these components work together harmoniously and deliver expected results.

Now, let's go back to the example of a book-selling app. The app I built is working fine for some basic events, but I'm not sure how it will handle certain situations.

1. Let's say 100 users simultaneously try to purchase a book. Will the app handle the load and process all the transactions correctly?

2. What if a user tries to add a book to their cart, but the book is out of stock? Will the app handle this scenario gracefully and provide the user with appropriate feedback?

These are just a couple of examples, but as the complexity of your code grows, so does the number of possible scenarios and edge cases that need to be considered. Without proper testing, it's hard to guarantee that your code will work flawlessly in all situations.

That's why testing is important.

![IDevTip](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8d6qu1sx3y5380zbo491.png)


Liked this tip ? Stay tuned to [ApyHub](https://apyhub.com) for more such tips.

Happy Coding :)
Choose the tool that solves your problem
Published: 2024-04-02 06:28:56

You decide to dive into the world of programming and your first challenge seems to be choosing the language you will adopt. Well, actually, your concern should be something else: "What do I want to solve?"

It's like choosing a tool to fix a broken object at home. You don't sit in front of the toolbox thinking, "What's the latest? What's the most popular?" No, you simply get the right tool for the job.

It may seem a bit cliché to think that instead of trying to know a little bit of everything, the ideal is to delve deeper into the fundamentals of a language. But the reality is that, in fact, your best tool will always be the ability to analyze problems, design solutions and implement them effectively, regardless of language.

From building small modules or packages to building your first complex and fully functional application, your goal should be a solid understanding of concepts that govern any language, such as: Algorithms and data structures, control structures and object orientation .

Don't skip steps in your studies, don't hide your mistakes from yourself, start with what you know and make your development process public. Part of the process is understanding that you will find that you can easily adapt to different languages and environments.
Bash/Zsh aliases every developer should use
Published: 2024-04-02 06:22:15

Are you tired of typing lengthy commands in your terminal every time you perform routine tasks? Bash aliases can be a lifesaver,Here's a quick guide on how to add custom aliases in Bash/Zsh:

**Open your configuration file**: 

```
nvim ~/.zshrc
nvim ~/.bashrc
gedit ~/.zshrc
gedit ~/.bashrc
```
Try any of the above command based on your terminal, use nvim if neovim is installed else use gedit for ease of use.

**Choose Your Alias**: Decide on a short, memorable name for your alias. It's best to avoid overwriting existing commands to prevent confusion.

**Add the Alias**: Once you've chosen a name, you can add your alias to the configuration file. Use the following syntax
`alias your_alias_name='your_command'`
Replace your_alias_name with the name you chose and your_command with the command or series of commands you want to alias. Don't forget to enclose the command in single quotes.

Save and Close the File: After adding your alias, save the changes and close the configuration file.

Reload the Configuration: To apply the changes without restarting your terminal, you need to reload the Bash configuration. You can do this by running:

```
source ~/.bashrc
source ~/.zshrc
```
Once you've reloaded the configuration, test your alias by typing it into the terminal. If configured correctly, it should execute the associated command(s).

**Some of the aliases example you can use for your everyday routine**

```
alias Gs='git status'
alias gcm='git commit -m'
alias gmo='git merge origin'
alias gmf='git merge --no-ff'
alias gp='git pull origin'
alias gnb='git checkout -b'
alias gc='git checkout'
alias clr='clear'
alias update='sudo apt-get update'
alias upgrade='sudo apt-get upgrade'
alias package='sudo dpkg -i'
alias install='clear; npm install'
alias start='clear; npm start'
alias 14="nvm use 14"
alias 16="nvm use 16"
```
Now, whenever you type `clr` into your terminal and hit Enter, it will clear the screen.


By creating custom aliases, you can significantly enhance your productivity in the terminal, saving time and reducing the likelihood of typing errors. Experiment with different aliases to tailor your terminal experience to your workflow. Happy aliasing! 🚀
Managing Basic Storage
Tags: ramadhanbersamaredhat
Published: 2024-04-02 02:16:49

-Pemartisian Disk
Pemartisian disk memungkinkan administrator sistem untuk membagi hard drive menjadi beberapa unit penyimpanan logis, yang disebut partisi. Dengan memisahkan disk menjadi partisi, administrator sistem dapat menggunakan partisi yang berbeda untuk melakukan fungsi yang berbeda.

Misalnya, pemartisian disk diperlukan atau bermanfaat dalam situasi-situasi berikut:

*Batas ruang yang tersedia untuk aplikasi atau pengguna.

*Memisahkan sistem operasi dan file program dari file pengguna.

*Membuat area terpisah untuk penukaran memori.

*Memperbatas penggunaan ruang disk untuk meningkatkan kinerja alat diagnostik dan pencitraan cadangan.

-Skema Pemartisian MBR
Sejak tahun 1982, skema pemartisian Master Boot Record (MBR) telah menentukan bagaimana disk dipartisi pada sistem yang menjalankan firmware BIOS. Skema ini mendukung maksimal empat partisi primer. Pada sistem Linux, dengan menggunakan partisi perluasan dan logis, administrator dapat membuat maksimal 15 partisi. Karena data ukuran partisi disimpan sebagai nilai 32-bit, disk yang dipartisi dengan skema MBR memiliki ukuran disk dan partisi maksimum 2 TiB. Karena disk fisik semakin besar, dan volume berbasis SAN bahkan lebih besar dari itu, batas ukuran disk dan partisi 2 TiB dari skema pemartisian MBR bukan lagi batas teoretis, tetapi masalah dunia nyata yang sering dihadapi oleh administrator sistem di lingkungan produksi. Sebagai hasilnya, skema MBR warisan sedang digantikan oleh GUID Partition Table (GPT) baru untuk pemartisian disk.

-Skema Pemartisian GPT
Untuk sistem yang menjalankan firmware Unified Extensible Firmware Interface (UEFI), GPT adalah standar untuk menyusun tabel partisi pada hard disk fisik. GPT adalah bagian dari standar UEFI dan mengatasi banyak keterbatasan yang diberlakukan oleh skema berbasis MBR yang lama.

Sebuah GPT menyediakan maksimal 128 partisi. Berbeda dengan MBR, yang menggunakan 32 bit untuk menyimpan alamat blok logis dan informasi ukuran, GPT mengalokasikan 64 bit untuk alamat blok logis. Ini memungkinkan GPT untuk menampung partisi dan disk hingga delapan zebibyte (ZiB) atau delapan miliar tebibytes.

Selain mengatasi keterbatasan skema pemartisian MBR, GPT juga menawarkan beberapa fitur dan manfaat tambahan. Sebuah GPT menggunakan identifikasi unik global (GUID) untuk mengidentifikasi setiap disk dan partisi. Berbeda dengan MBR, yang memiliki satu titik kegagalan, sebuah GPT menawarkan keberulangan informasi tabel partisinya. GPT primer berada di bagian kepala disk, sementara salinan cadangan, GPT sekunder, di tempatkan di bagian akhir disk. Sebuah GPT menggunakan checksum untuk mendeteksi kesalahan dan kerusakan pada header GPT dan tabel partisi.
Игровые автоматы на реальные деньги с выводом
Published: 2024-04-02 06:21:12



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

-->> **[ЛУЧШИЕ ИГРОВЫЕ АВТОМАТЫ](https://igraty.site/telega.html)**

Игровые автоматы на реальные деньги предлагают захватывающий способ испытать удачу и выиграть крупный куш. Если вы ищете самые лучшие игровые автоматы с функцией вывода выигранных средств, то эта статья для вас.

## Критерии отбора лучших игровых автоматов

При выборе лучших игровых автоматов с выводом на реальные деньги следует учитывать следующие критерии:

**Возможности вывода**: Убедитесь, что выбранное вами казино предлагает быстрые и удобные варианты вывода средств на банковские карты, такие как Сбербанк, Тинькофф и карты МИР.
**Честность**: Играйте только в тех казино, которые лицензированы и регулируются авторитетными органами. Это гарантирует честную игру и прозрачность операций.
**Ассортимент игр**: Ищите казино с широким выбором игровых автоматов от известных провайдеров, таких как NetEnt, Microgaming и Playtech.
**Высокий процент выплат**: Выбирайте автоматы с высоким RTP (процент возврата игроку), который указывает на вероятность выигрыша.

## Топ-5 игровых автоматов с самыми высокими выплатами

Вот топ-5 игровых автоматов, которые предлагают лучшие шансы на выигрыш:

Book of Dead (Play'n GO): RTP 96,21%, расширяющиеся символы и бесплатные вращения.

Gonzo's Quest (NetEnt): RTP 96%, каскадные барабаны и множители до x5.

Starburst (NetEnt): RTP 96,1%, популярный слот с простыми правилами и частыми выигрышами.

Mega Moolah (Microgaming): RTP 88,12%, прогрессивный джекпот с многомиллионными выплатами.

    
Immortal Romance (Microgaming): RTP 96,86%, тематика вампиров, бонусные функции и бесплатные вращения.

## Доступность для игры на различных устройствах

Лучшие игровые автоматы с выводом доступны на различных устройствах:

**Онлайн**: Играйте через веб-браузер на своем компьютере или ноутбуке.

**Смартфоны и планшеты**: Загрузите мобильное приложение для iOS или Android для игры на ходу.

## Как играть в игровые автоматы на реальные деньги с выводом

Чтобы играть в игровые автоматы на реальные деньги с выводом, выполните следующие шаги:

    Зарегистрируйтесь в лицензированном казино.
    Внесите депозит на свой игровой счет.
    Выберите игровой автомат с высоким RTP.
    Установите размер ставки и количество линий выплат.
    Нажмите кнопку "Вращать" и наблюдайте за результатами вращения барабанов.
    При выигрыше нажмите "Вывести" и выберите удобный способ вывода.

## Вывод

Игровые автоматы на реальные деньги с выводом предоставляют возможность насладиться захватывающим игровым процессом и выиграть денежные призы. При выборе игрового автомата учитывайте критерии отбора, такие как честность, ассортимент игр и процент выплат. Играйте ответственно и не забывайте об ограничениях по выводу средств. Испытайте свою удачу сегодня и насладитесь захватывающими игровыми автоматами с возможностью вывода выигранных средств.
Building a Deep Face Detection Model with Python and TensorFlow (Part 2)
Tags: ai, machinelearning, deeplearning, python
Published: 2024-04-02 06:16:52

**[Part 1](https://dev.to/dexterxt/building-a-deep-face-detection-model-with-python-and-tensorflow-3ofg)**

## 4. Apply Image Augmentation on Images and Labels using Albumentations

**4.1 Setup Albumentations Transform Pipeline**

```python
import albumentations as alb

augmentor = alb.Compose([
    alb.RandomCrop(width=450, height=450), 
    alb.HorizontalFlip(p=0.5), 
    alb.RandomBrightnessContrast(p=0.2),
    alb.RandomGamma(p=0.2), 
    alb.RGBShift(p=0.2), 
    alb.VerticalFlip(p=0.5)], 
    bbox_params=alb.BboxParams(format='albumentations', label_fields=['class_labels']))
```

**4.2 Load a Test Image and Annotation with OpenCV and JSON**

```python
img = cv2.imread(os.path.join('data', 'train', 'images', 'ffd85fc5-cc1a-11ec-bfb8-a0cec8d2d278.jpg'))

with open(os.path.join('data', 'train', 'labels', 'ffd85fc5-cc1a-11ec-bfb8-a0cec8d2d278.json'), 'r') as f:
    label = json.load(f)

label['shapes'][0]['points']
```

**4.3 Extract Coordinates and Rescale to Match Image Resolution**

```python
coords = [0, 0, 0, 0]
coords[0] = label['shapes'][0]['points'][0][0]
coords[1] = label['shapes'][0]['points'][0][1]
coords[2] = label['shapes'][0]['points'][1][0]
coords[3] = label['shapes'][0]['points'][1][1]

coords = list(np.divide(coords, [640, 480, 640, 480]))
coords
```

**4.4 Apply Augmentations and View Results**

```python
augmented = augmentor(image=img, bboxes=[coords], class_labels=['face'])
augmented['bboxes'][0][2:]

augmented['bboxes']

cv2.rectangle(augmented['image'], 
              tuple(np.multiply(augmented['bboxes'][0][:2], [450, 450]).astype(int)),
              tuple(np.multiply(augmented['bboxes'][0][2:], [450, 450]).astype(int)), 
              (255, 0, 0), 2)

plt.imshow(augmented['image'])
```

**Stay tuned for the next sections where we'll continue with the augmentation pipeline and training the deep learning model!**
Where to Store the Stablecoins?
Tags: cryptocurrency, bitcoin, asic
Published: 2024-04-02 06:11:33

Steady coins can be transferred to a cryptocurrency wallet, or stored in an exchange. In the latter situation, the platform keeps its stability coin "in custody"; you don't actually own the coin. You don't take ownership of the stablecoins until you transfer them out of the exchange and into the "self-custody" wallet.

Each has its pros and drawbacks. The storage of stablecoins on exchanges is convenient, especially in the event that you trade regularly. It is not without risks, however. Exchanges could suffer from business failure or hacking. Clients often have no recourse since they aren't bound by rules and regulations.

This is why a lot of **[stablecoin ](https://asicmarketplace.com/blog/what-are-stablecoins/)**holders prefer to store their coins in separate wallets. This includes software-based digital "soft" wallets and "hard" wallet drives. They are similar to USB sticks that have digital controls.
Use Professional Web Design and development Services | Egiz Solution
Tags: web, development, design
Published: 2024-04-02 06:11:23

Discover Egiz Solution expert [web designing and development services](https://egizsolution.com/services/web-designing/) designed to transform your online presence. Our skilled designers specialize in creating bespoke websites that reflect your brand identity and resonate with your target audience. With a focus on creativity and functionality, we deliver cutting-edge designs that captivate visitors and drive results. Elevate your online visibility with Egiz Solution today. For more information, please contact us at +91-7667050525.
Don't buy boilerplate or template anymore!
Published: 2024-04-02 06:10:23

Your Next Template! An accessible and advanced Next.js boilerplate for everyone.

Explore [Saasfly on GitHub](https://github.com/saasfly/saasfly):

Start your magical journey with:

```bash
bun create saasfly
```

🙌 Join Our Community

The evolution of Saasfly thrives on community collaboration. We warmly welcome you to be a part of Saasfly's journey. Whether you're lighting up our GitHub stars ⭐️, raising issues 🐛, or enhancing the project with your code contributions 🎁, every gesture fuels our mission. Together, we can forge a superior Saasfly!
[AWS] How To Get Parameter Store From EC2 UserData
Tags: ec2, userdata, parameterstore
Published: 2024-04-02 14:32:27

---
title: [AWS] How To Get Parameter Store From EC2 UserData
published: true
date: 2024-04-02 06:01:27 UTC
tags: 
- ec2
- userdata
- parameterstore
canonical_url: https://www.kmp.tw/post/howtogetparameterstorefromec2userdata/
---

# Situation

## Get Parameter Store When EC2 Launch New Instance

<!--more-->

# How To

## Add Parameter Store

![](https://img.kmp.tw/ec2UserDataGetParameterStore1.png)



## Add Role Policy Into `IAM Instance Profile`
### create new policy `get-demo-parameter` and attach to `iam instance profile`
```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "ssm:GetParameter",
            "Resource": "arn:aws:ssm:ap-northeast-1:<your-account-id>:parameter/<parameter-store-name>
        }
    ]
}
```

![](https://img.kmp.tw/ec2UserDataGetParameterStore2.png)

## Launch New VM Instance And Add UserData
![](https://img.kmp.tw/ec2UserDataGetParameterStore3.png)
![](https://img.kmp.tw/ec2UserDataGetParameterStore4.png)
![](https://img.kmp.tw/ec2UserDataGetParameterStore5.png)


### User Data Script
```
#!/bin/bash

export AWS_DEFAULT_REGION=ap-northeast-1

get_para=$(aws ssm get-parameter --name <parameter-name> --query Parameter.Value --output text)
echo $get_para > /tmp/para.txt
```

## After Boot Finished

![](https://img.kmp.tw/ec2UserDataGetParameterStore6.png)


## Debug From Cloud-Init Log
```
cat /var/log/cloud-init.log