teleren/devto huggingface dataset:
C# da kasr sonlar
Published: 2024-04-12 14:30:01

Kasr sonlar deb sonlarning butun va kasr qismi bor sonlarga aytiladi va nuqta bilan ajratiladi. Bunda nuqtadan oldingi qismi butun qismi nuqtadan keyingi qismi kasr qismi xisoblanadi. Kasr sonlar kundalik hayotimizda ham beixtiyor juda ko'p ishlatiladi.
Misol:
- vazn: 65.5 kg // **65**->butun qism **5**->kasr qism
- harorat 36.6 °C 
va hokazo ...

Shunday ekan kasr sonlar dasturlash tillarida ham juda muhim xisoblanadi va c# ham bundan mustasno emas. 

Kasr sonlar C# da 3 turga bo'linadi. Bular **_float, double_** va **_decimal_**.

|**C# type**|**	Approximate range**|**Precision**|**Size**|
| ------------- |:-------------:|:-----:|---:|
|`float`|±1.5 x 10−45 to ±3.4 x 1038|~6-9 digits|4 bytes|
|`double`|±5.0 × 10−324 to ±1.7 × 10308|~15-17 digits|8 bytes|
|`decimal`|±1.0 x 10-28 to ±7.9228 x 1028|~28-29 digits|12 bytes|

**float:** Float ma'lumot turi xotiradan `4 bytes` yani `32 bit` joy egallaydi va `±1.5 x 10−45 to ±3.4 x 1038` shu oraliqda sonlarni qabul qiladi va `6-9` son aniqlikda ishlaydi. Buni .NET dagi klasi `System.Single` deyiladi. Float ni ifodalash uchun dasturda **f** yoki **F** bilan belgilanadi. 
Masalan: _float kasr = 2.71f;_
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4o7lx3vy685brsuhp4h0.png)
Suratdagi misolda ko'rib turganingizdek _10 xona_ aniqlikda chop etgan edim. Ammo, biz yuqorida o'rganganimizdek float _6 xona_ aniqlikda ishladi va keyin ihtiyoriy sonlarni chop qilib yubordi. 

**double:** Double ma'lumot turi xotiradan `8 bytes` yani `64 bit` joy talab qiladi va `±5.0 × 10−324 to ±1.7 × 10308` shu oraliqda sonlarni qabul qiladi va `15-17` son aniqlikda ishlaydi. Buni .NET dagi klasi `System.Double` deb ataladi. Bu ma'lumot turi c# dasturlash tilida kasrlarni ifodalash uchun ishlatiladi, shuning uchun double ni ifodalash uchun biror belgidan foydalanish kerak bo'lmaydi.
Misol: _double vazn = 65.5;_

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ecr2bwu3ojlr55n19f83.png)
Bu misolda double ni aniqlik darajasini isbotlash uchun _20 xona_ aniqlikda chop etishga urinib ko'rdik ammo, _15 xona_ aniqlikdan keyin dastur ihtiyoriy _5 ta_ sonni chop etdi.


**decimal:** Decimal ma'lumot turi bo'lsa xotiradan `12 bytes` joy egallaydi va `±1.0 x 10-28 to ±7.9228 x 1028` shu oraliqda sonlarni qabul qiladi va `28-29` son aniqlikda ishlaydi. Buni .NET dagi klasi `System.Decimal` deb yuritiladi. Bu ma'lumot turini ifodalash uchun _m_ harfidan foydalanish kerak, bu **m-money** so'zidan olingan. Decimal ma'lumot turi moliya, iqtisod va shunga o'xshagan muhim soxalarda foydalaniladi va dasturda quydagicha foydalaniladi.
Masalan: _decimal coin = 4.1546m;_

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mv9u38ojqe9oq3naefs5.png)
Eng yuqori aniqlikga ega decimal ma'lumot turini _30 xona_ aniqlikda chop etmoqchi bo'ldik. Lekin, yana qolgan misollardagidek holat takrorlandi ya'ni _28 xona_ aniqlikdan so'ng _2 ta_ ihtiyoriy sonni chop etdi.
Exploring the Fascination: Why People Choose Gambling as a Leisure Activity
Published: 2024-04-24 11:37:36

Gambling has long been a popular leisure activity. While the motivations behind gambling vary from person to person, several common factors contribute to its enduring appeal:

**Escapism and Stress Relief**
In today's fast-paced world, gambling can provide a temporary escape from stress and worries. Immersing oneself in the excitement of the game can offer a much-needed break from daily pressures and responsibilities, allowing players to relax and unwind.

**Social Interaction**
Whether playing at a physical casino or engaging in online multiplayer games, gambling can be a social activity that fosters community. Modern online casinos like https://conquestador-bet.nz/ provide live casino with HD video to interact with players and the dealer in real time, all from the comfort of your own home.

**Chance to Win Big**
The possibility of hitting the jackpot or scoring a significant payout creates a sense of hope and optimism that keeps players coming back for more.

**Skill and Strategy**
While luck plays a significant role in gambling, many games also require skill, strategy, and decision-making abilities. The element of skill adds depth and complexity to the experience for those who enjoy a challenge.

**Sense of Control**
Making decisions about when to bet, what to wager on, and how much to risk can create a sense of empowerment and agency, even in games where chance plays a dominant role.

While gambling can undoubtedly be an enjoyable leisure activity for many, it's essential to approach it responsibly and within one's means. Setting limits, practicing self-discipline, and seeking help if gambling becomes problematic are crucial steps to ensure that the enjoyment of gambling remains positive and sustainable in the long term.
Unlock the power of nature with Lumbricina Oil: The ultimate solution for joint and muscle pain
Published: 2024-04-24 11:08:36

Introduction:
Discover the ancient healing secrets of Lumbricina oil, also known as sandha oil or menstrual oil. This natural oil has been used for centuries to relieve joint pain, muscle pain, and other common ailments. Using the power of natural ingredients, Lumbricina Oil offers a safe, effective and chemical-free solution to your health needs.

What is Lumbricina Oil?

[Lumbricina oil](https://nearpharmacy.ae/product/lumbricina-oil-for-men/) is a traditional vegetable oil made from a blend of natural ingredients such as wormwood oil (lumbricinae oleum), sesame oil and other botanical extracts. This unique formula has been used for generations in various cultures for its healing properties.


•	Pain Relief: Lumbricina Oil is known for its ability to relieve joint pain, muscle pain and stiffness. Penetrates deep into the skin, providing quick and effective relief.
•	Anti-inflammatory properties: Lumbricina oil's natural ingredients help reduce inflammation, making it a great choice for conditions like arthritis, rheumatism, and tendonitis.
•	Muscle relaxation: Lumbricina oil has a relaxing effect on muscles, helping to reduce tension and increase flexibility.
•	Improves circulation: Regular use of Lumbricina oil sure can improve blood circulation, which is beneficial for overall health and well-being.
•	Nourishes the skin: The moisturizing properties of the oil help to nourish the skin, making it soft, smooth and healthy.


How to Use Lumbricina Oil

•	Clean the affected area with warm water and mild soap.
•	Take a small amount of Lumbricina oil and gently massage the affected area until it is completely absorbed.
•	For best results, use the oil twice a day, morning and evening.
•	Do not apply to broken skin or open wounds.
•	Avoid contact with eyes and irritation.
•	Discontinue use if irritation occurs.
Customer instructions:
•	"I have suffered from arthritis for years and [Lumbricina Oil](https://nearpharmacy.ae/product/lumbricina-oil-for-men/) has been a lifesaver. It provides immediate pain relief and helps keep me active and mobile."
•	"After a long day at work, I use Lumbricina oil to relieve tension in my muscles. It works like magic and I feel relaxed and rejuvenated."

The results:
Experience the healing power of nature with Lumbricina Oil. Whether you're dealing with joint pain, muscle pain, or just want to improve your well-being, these natural oils offer a safe and effective solution. Say goodbye to pain and discomfort and embrace a healthier and more active lifestyle with Lumbricina Oil. Order yours today and start your journey to health!
TASK - 2
Published: 2024-04-24 11:04:05



**Q-1->.You are testing a form that allows users to schedule appointments with a doctor. The form has the following fields: first name, last name, email, phone number, and appointment date/time. Some more inputs:
• If any field is blank, we should display “All fields are required”
• If the email is invalid, we should display “Please enter a valid email”
• If the phone number is invalid, we should display “Please enter a valid phone number”
• If the appointment date/time is not available, it should display “Please choose another date/time”
• If all fields are correct and the appointment is available, we should schedule the appointment successfully.
For these requirements write down the correct list of conditions in form of decision table**

**<u>Answer</u>** 
Decision table technique is one of the most widely used technique in testing to crack the combination of test cases. It contains set of combinations and their respective actions. It also known as cause-effect table.
 ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i9zz0lrarv09t8mxq2ca.png)

---

**Q-2->.Suppose you are a software tester and you are assigned to test a new mobile app that has just been developed. The app has three different user roles: basic user, premium user, and admin user. You have been given the following three test scenarios to execute:
• Basic users can only access limited features of the app, while premium users can access all features. Admin users have access to advanced settings and can perform all actions.
• Users should be able to create and delete their accounts successfully. Passwords must meet the required complexity standards and users should receive a confirmation email upon successful account creation.
• Users should be able to navigate through the app seamlessly without any crashes or performance issues. The app should also display appropriate error messages when a user attempts to perform an action they are not authorized to perform.
For each of the test scenarios, describe the steps you would take to test them and the expected results.**

**<u>Answer</u>**
The following scenario and their test cases are given below :-
**Test Scenario 1**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e84mp5n1if0uslqn3ikp.png)
**Test Scenario 2**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tg2540ambb5p9htcng1n.png)
**Test Scenario 3**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7whnm3c43kcdy0rg325v.png)
Custom Game Development Services - Source Code Lab
Tags: webdev, gamedev, rummy, ludo
Published: 2024-04-24 11:00:53

**[Source Code](https://sourcecodelab.co/)** Lab has been dealing with iGaming, Startups, and Agencies since 2019 providing services in terms of professional porting services, making it easy to port mobile, desktop, and VR/AR games from one platform to another and meet your expectations in terms of quality and budget.

Source Code Lab is one of the Best [Custom Game Development Company](https://sourcecodelab.co/custom-game-development/) in USA. We are Providing our Services for End-to-End Game Development, Game art and Design, AR, VR, Metaverse, and NFT.

We Have Our Game Services Provided here.

[HTML5 Game Development Company
](https://sourcecodelab.co/html5-game-development/)
[HTML5 Game Development Solutions](https://sourcecodelab.co/fantasy-sports-app-development-company/)
Fantasy sports app development company
Fantasy football app development
[Real Money Game Development Company](https://sourcecodelab.co/real-money-game-development/)
Real Money Game App Development
[Poker game app development company](https://sourcecodelab.co/poker-game-development-company/)
Rummy game development company
[Metaverse Game Development Company](https://sourcecodelab.co/metaverse-game-development/)
[Rummy game development company](https://sourcecodelab.co/rummy-game-development/)


Any Query & Dowt feel free to contact us for your business requirements!
For more information, please call us at +91 9913014035 or visit our website
Ibuprofeno.py💊| #89: Explica este código Python
Tags: python, programming, spanish, beginners
Published: 2024-04-24 11:00:00

## **<center>Explica este código Python</center>**
#### <center>**Dificultad:** <mark>Intermedio</mark></center>

```py
i = range(6)
print(type(i))
```

👉 **A.** `<class 'tuple'>`
👉 **B.** `<class 'list'>`
👉 **C.** `<class 'range'>`
👉 **D.** `<class 'int'>`

---

{% details **Respuesta:** %} 

👉 **C.** `<class 'range'>`

Cuando usamos la función `range()` creamos un objeto de tipo de `range` en Python. Los objetos de tipo `range` son eficientes y óptimos para ser recorridos por bucles.



{% enddetails %}
Can Listening To The Genius Wave Really Make You Wealthy?
Published: 2024-04-24 10:57:04

➲Product Review:  —>The Genius Wave 
➲Used For:  —>Theta-based sound frequency developed to alter our gene expression and fix the shrunken hippocampus effect
➲Composition:  —>Natural Organic Compound
➲Category —> Health
➲Results -In 1-2 Months
➲Side-Effects:  —>No Major Side Effects
➲Rating: —>5.0/5.0 ⭐⭐⭐⭐⭐
➲Availability:  —>In Stock Voted #1 Product in the USA

The Genius Wave  :-
By using The Genius Wave  , you can revel in an array of advantages, inclusive of superior motivation and focus, multiplied confidence and self-perception, improved decision-making capabilities, and a heightened capability to draw cash and opportunities. It rewires your brain for fulfillment, allowing you to faucet into your complete capacity and achieve economic abundance.

Limited Time Offer:
https://www.dailydemocrat.com/2024/04/23/the-genius-wave-reviews-latest-news-from-customers-genius-wave-audio-2024-work-theta-waves-scam-alert/
Facebook: 
https://www.facebook.com/faminefighterforfoodsupplyreviews/
Jimdosite:https://the-genius-wave-latest-news.jimdosite.com/
Also Read  News:-
https://gummiestoday.com/the-genius-wave/
Also Visit Highly Trending Fighter For Food Supply
https://the-genius-wave-reviews-audio.company.site/
https://groups.google.com/g/the-genius-wave-news-from-customers/c/1v0BpFqPSLk
https://sites.google.com/view/thegeniuswavelatest/home
https://twor.microsoftcrmportals.com/forums/support-forum/3561fd8a-ff01-ef11-a73d-6045bd3fd1cb
https://the-genius-wave-latest-reviews.blogspot.com/2024/04/the-genius-wave-reviews.html
https://thecontingent.microsoftcrmportals.com/forums/general-discussion/086bf9cb-0002-ef11-a73d-6045bd01c1cc
https://the-genius-wave-reviews-latest.hashnode.dev/the-genius-wave-reviews-latest-updateis-it-worth-buying-what-they-wont-say-urgent-warning
https://middlesexcountynj.powerappsportals.us/forums/support-forum/62e10cef-0102-ef11-a73d-001dd80b215a
https://nycdepartmentoffinance.powerappsportals.us/forums/general-discussion/29a74eb3-0202-ef11-a73d-001dd8305ba3
https://medium.com/@micheldant/the-genius-wave-reviews-hidden-dangers-revealed-know-this-first-2cbf8b21b8f0
https://the-genius-wave-reviews-deb69a.webflow.io/
https://fms.microsoftcrmportals.com/forums/general-discussion/b84ab4b9-0702-ef11-a73c-6045bd20e9c7
https://www.eventbrite.com/e/the-genius-wave-audio-mp3-reviews-2024-download-alert-tickets-890083352267?aff=oddtdtcreator
https://devfolio.co/projects/the-genius-wave-reviews-fake-or-legit-pricewhat-b616
https://hzkntj2544.expandcart.com/index.php?route=product/product&product_id=373
Design a hybrid cloud solution (with image)
Tags: cloudcomputing, aws, network, design
Published: 2024-04-24 10:55:16

Design a hybrid cloud solution (with image) for a financial application that requires on-premises data storage due to regulatory requirements but
wants to leverage AWS for computational workloads.
 
Requirements:
Data Security & Compliance
On-Premises Data Storage
AWS Computational Services
Network Design
Disaster Recovery
Khánh Vy
Published: 2024-04-24 10:53:45

By88 là một nhà cái trực tuyến nổi tiếng với sự đa dạng và chất lượng dịch vụ cá cược mà họ cung cấp. Đứng sau sự thành công của By88 là tác giả và người sáng lập có tên là Khánh Vy. Với sự tinh tế và tâm huyết, Khánh Vy đã đưa By88 trở thành một trong những điểm đến hàng đầu cho các người chơi cá cược trực tuyến. Với sứ mệnh mang lại trải nghiệm giải trí đỉnh cao và an toàn cho người dùng, Khánh Vy không ngừng nỗ lực để cung cấp những dịch vụ tốt nhất và giữ vững uy tín của By88 trên thị trường. Đồng thời, bên cạnh việc phát triển kinh doanh, Khánh Vy cũng luôn đặt sự quan tâm đến cộng đồng và các hoạt động xã hội vào tâm trí, góp phần vào việc xây dựng một cộng đồng cá cược trực tuyến tích cực và phát triển bền vững.
Địa chỉ : 60 Trần Tuấn Khải, Phường 5, Quận 5, Thành phố Hồ Chí Minh, Việt Nam
Phone : 0975123888 
Name : Goby88.co 
Website : https://goby88.co/tac-gia-by88/
Tags: #khanhvyby88 #khanhvyauthor #khanhvytacgia
 
Social Links:

https://www.facebook.com/profile.php?id=61554410443415

https://twitter.com/Kkhanhvyby88

https://www.reddit.com/user/khanhvyby88/

https://www.pinterest.com/khanhvyby88/

https://www.quora.com/profile/Khanhvyby88

https://www.producthunt.com/@khanhvyby88

https://vimeo.com/khanhvyby88

https://foursquare.com/khanhv1767593/list/khanhvyby88

https://youtube.com/@khanhvyby88/about

https://www.goodreads.com/user/show/177655199-kh-nh-vy

https://soundcloud.com/khanhvyby88

https://www.twitch.tv/khanhvyby88/

https://flipboard.com/@khanhvyby88/

https://gravatar.com/luisreels733

https://dribbble.com/khanhvyby88/about

https://www.kickstarter.com/profile/khanhvyby88/about

https://www.blogger.com/profile/02039091409816854078

https://khanhvyby88.blogspot.com/

https://www.tumblr.com/khanhvyby88

https://www.behance.net/khanhvyby88

https://about.me/khanhvyby88/

https://www.instapaper.com/p/khanhvyby88

https://sites.google.com/view/khanhvyby88/home

https://band.us/@khanhvyby88

https://data.world/khanhvyby88

https://www.blackhatworld.com/members/khanhvyby88.1921809/#about

https://www.designspiration.com/khanhvyby88/

http://www.socialbookmarkssite.com/user/khanhvyby88/

https://replit.com/@khanhvyby88

https://pxhere.com/en/photographer/4241170

https://osf.io/pw324/

https://public.tableau.com/app/profile/khanhvyby88

https://forums.goha.ru/member.php?u=1521822

https://www.chordie.com/forum/profile.php?id=1936982

https://roomstyler.com/users/khanhvyby88

https://khanhvyby88.contently.com/

https://www.penname.me/@khanhvyby88

http://egamingsupply.com/member/72835-khanhvyby88/about

https://gitee.com/khanhvyby88

https://dev.to/khanhvyby88
Witty Works scales their AI-augmented DEI solution with a new PaaS 💚
Tags: javascript, webdev, devops, python
Published: 2024-04-24 10:49:54

⚒️ **Challenge**
To find a platform that would provide the flexibility to scale project resources and better control costs for an innovative, AI-augmented, DEI digital language assistant

💪 **Solution**
Migrating a natural language processing API project (Python, with Java Server) to the Upsun PaaS

🥞 **Stack**
AngularJS, Django, Java, PHP, Python, ReactJS

🎯 **Results**

- More time to focus on code/innovation, without the need to hire dedicated DevOps staff
- Highly flexible resource allocation to handle heavier workloads
- Better able to optimize application performance through continuous profiling
- Greater efficiencies through fully automated deployments for all 4 applications based on GitOps via GitHub
- ~ 60 production deployments/month

💡 **Read the full [case study here](https://upsun.com/blog/witty-works-case-study/).**
Buy and sell stocks
Tags: leetcodeblind75, dp, array
Published: 2024-04-24 10:39:25

[Buy and sell stocks](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/)
this will lead to TLE:
TC: exponential as we will be recursively calling the mProfit method, sc: recursive stack space
```java
class Solution {
    public int maxProfit(int[] prices) {
        return mProfit(0,0,prices);
    }
    public int mProfit(int index ,int canBuy, int[] prices){
        //base case
        if(index==prices.length || canBuy==2) return 0;
        int max = Integer.MIN_VALUE;
        int buy = 0;
        int sell = 0;
        if(canBuy==0){
            buy = Integer.max(
                 -prices[index] + mProfit(index+1,1,prices), 
                 mProfit(index+1,0,prices)
                 );
        }
        if(canBuy==1){
            sell = Integer.max(
                 prices[index] + mProfit(index+1,2,prices),
                 mProfit(index+1,1,prices)
                 );
        }
        return Integer.max(buy,sell);
    }
}
```
DP approach:
TC: O(n*2) and there will be O(N*2) times the method will get called (mProfit) 
SC: O(N*2) + O(N) for the dp array and the recursive stack space

```java
class Solution {
    public int maxProfit(int[] prices) {
        int dp[][] = new int[prices.length][2];
        for(int d[] : dp){
            Arrays.fill(d,-1);
        }
        return mProfit(0,0,prices,dp);
    }
    public int mProfit(int index ,int canBuy, int[] prices,int dp[][]){
        //base case
        if(index==prices.length || canBuy==2) return 0;
        if(dp[index][canBuy]!=-1) return dp[index][canBuy];
        int buy = 0;
        int sell = 0;
        if(canBuy==0){
            buy = Integer.max(
                 -prices[index] + mProfit(index+1,1,prices,dp), 
                 mProfit(index+1,0,prices,dp)
                 );
        }
        if(canBuy==1){
            sell = Integer.max(
                 prices[index] + mProfit(index+1,2,prices,dp),
                 mProfit(index+1,1,prices,dp)
                 );
        }
        return dp[index][canBuy] = Integer.max(buy,sell);
    }
}
```

Best approach:
In a way this is also dp:
```java
class Solution {
    public int maxProfit(int[] prices) {
        int buyPrice = Integer.MAX_VALUE;
        int profit = 0;
        int maxProfit = 0;
        for( int i = 0;i< prices.length;i++){
            if(prices[i] < buyPrice){
                buyPrice  = prices[i];
            }
            profit =prices[i]- buyPrice;

            if( profit > maxProfit) {
                maxProfit = profit;
            }
        }
        return maxProfit;
    }
}
```
Top 5 Traditional Indian Sweets for Navratri Celebrations
Published: 2024-04-24 10:38:33

Navratri, the nine-day festival dedicated to the worship of Goddess Durga, is not only a time for prayer and devotion but also a celebration of culture, tradition, and delicious food. One of the highlights of Navratri festivities is the assortment of mouthwatering sweets that add a touch of sweetness to the celebrations. From classic favourites to innovative delights, here are the top five traditional **[Indian sweets](https://medium.com/@haldiramuk/top-5-traditional-indian-sweets-for-navratri-celebrations-2b694bdc9ddb
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9pt9bqxn7mwnhyuvfxuj.jpg))** to savour during the auspicious days of Navratri.
Strategic Web Development: Turning Ideas into Seamless Online Experiences
Tags: webdev, web, development, strategies
Published: 2024-04-24 10:36:42

**[web development strategies](https://trigvent.com/strategic-web-development/)** requires a deep understanding of project vision, user-centric design, responsive development for varied devices, scalability, integration of innovative tech, robust security, and continuous optimization. Trigvent Solutions excels in these areas, delivering exceptional online experiences.