teleren/devto huggingface dataset:
SDK vs Runtime
Published: 2024-07-03 10:31:05

SDK - bu platformaga xos ishlab chiquvchi vositalari to'plami. Muayyan platformada, operatsion tizimda yoki dasturlash tilida ishlaydigan kodni yaratish uchun tuzatuvchilar, kompilyatorlar va kutubxonalar kabi komponentlar talab qilinadi.

Runtime - ish vaqti kodning bir qismi bo'lib, bajariladigan faylda (yoki alohida so/dll'larda) mavjud va barcha turdagi "qulayliklar" ni ta'minlaydi. Masalan, ob'ekt turini bilib oling yoki bir xil virtual qo'ng'iroqlarni amalga oshiring. Odatda kompilyator tomonidan qo'shiladi va oddiy foydalanuvchi bu haqda bilmasligi ham mumkin. Ish vaqti so'zi dasturning bajarilish vaqtini ham anglatadi. Aynan nimani nazarda tutayotganini kontekstga kiritish kerak.
.NET versiyalari
Published: 2024-07-03 10:13:21


Version Latest release Latest release date

.NET Core 3.1 3.1.32 December 13, 2022
.NET Core 3.0 3.0.3 February 18, 2020
.NET Core 2.2 2.2.8 November 19, 2019
.NET Core 2.1 2.1.30 August 19, 2021
Trusted Roofing Company in Broward County
Published: 2024-07-03 10:12:30

We specialize in restoring and enhancing the longevity of your roof. Our team of skilled professionals brings years of expertise to every project, ensuring precision and quality craftsmanship. At Roofing Recovery, we pride ourselves on delivering tailored roofing services that prioritize durability and aesthetic appeal. Whether you need repairs, replacements, or new installations, we've got you covered. Our dedication to customer satisfaction is unmatched, and we strive to exceed expectations with every job. As a leading roofing company in Broward County, we blend innovation with tradition, utilizing cutting-edge techniques and premium materials. Trust Roofing Recovery to safeguard your investment and elevate the curb appeal of your property. Experience excellence in roofing – choose Roofing Recovery for unparalleled service and reliability.

**[roofing company broward county](https://www.roofingrecoveryfl.com/)**
Implement ShadCn form with Validation
Tags: reacthookform, zod, validation, shadcn
Published: 2024-07-03 10:07:24

Our Goal or Funda is very simple. Follow 4 steps implement a super duper form with validation with less code 

**Step 0: Define a zod schema**

```
import { z } from 'zod';

export const createDepartmentsSchema = z.object({ 
    name: z.string().min(2, {
        message: 'Please enter your full name'
    }),
    remarks: z.string().min(2, {
        message: 'Subject must be at least 2 characters'
    }),
    description: z.string().min(20, {
        message: 'Message must be at least 20 characters'
    }), 
});
```
schema is nothing....... if you work with mongoose you already know it otherwise just think it just like typescript. whatever condition you write here if its not match it will show you this message on the UI.
(for more about zod schema you can google it)

Now start the process :)

**Step 1. Define your form.**

```
const form = useForm<z.infer<typeof createDepartmentsSchema>>({
     resolver: zodResolver(createDepartmentsSchema),
        defaultValues: {
         name: '',
         remarks: '',
         description: ''
      }
});
```
using zodResolver connect your schema with form...
when you update you can set your current value on default values...

**Step 2. Define a submit handler.**

```
 function onSubmit(values: z.infer<typeof createDepartmentsSchema>) {
        console.log(values);
 }
```
currently we do console.log here to see our form data.. later we will implement API here.

**Step 3. Init your form**

```
 <Form {...form}>
   <form
    onSubmit={form.handleSubmit(onSubmit)}
    className='space-y-6'>
         
 
    </form>
</Form>
```
First Form came from ShadCN which expect default values thats why we copy our form data. (step 1)
form onSumit is the default behavior of a form. we are already familer with it.. our 90% job done here :white_check_mark:

**Step 4: Final Step (Now its time to import input)**

If you need a input field you can use your reUsable formInput (or you can use shadcn input here)...

```
<FormInput
   form={form}
   name='name'
   placeholder='Your Name'
   className='!pl-8 rounded-full'
/>
```

FormInput just expert (form) you can think it just a connection creator between input and forms :grin:

If you need Textarea

```
<FormTextarea form={form} name='description' />
```

remember only form and name is required in every field. other fields are optional...

Finally a button need for submitting this form.

```
<Button type='submit'>Submit<Button>
```

If everything works... then without data submitting form show warring....

![without validation](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h92e9k859cpoxvyfhot1.png)

If everything ok then.....
After submit data show data on console.

![after submit console](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p9n8jvczxp5m9dxihli3.png)

Thanks for reading ❤❤❤
.NET tarixi
Published: 2024-07-03 10:07:09

NET Framework — 2002-yilda Microsoft tomonidan chiqarilgan dasturiy platformadir. Platforma turli dasturlash tillari: C#, Visual Basic .NET, J# va boshqalar uchun mos Common Language Runtime (CLR)ga asoslangan. CLR funksiyasi ushbu platformadan foydalanadigan har qanday dasturlash tilida mavjud. .NET Framework hozirda.NET sifatida rivojlanmoqda. Bu platformada koʻp dasturlarga umumiy komponentlar va optimizatsiyalangan metodlar bor.

NET Framework oʻsha paytda mashhur boʻlgan Sun Microsystems (hozirda Oracle kompaniyasiga tegishli) Java platformasiga Microsoftning javobidir.
.NET Framework Microsoft kompaniyasining oʻz mahsuloti hisoblanib, rasmiy ravishda Windows operatsion tizimlarida ishlash uchun moʻljallangan boʻlsa-da, baʼzi boshqa operatsion tizimlarda.NET Framework dasturlarini ishga tushirish imkonini beruvchi mustaqil loyihalar (birinchi navbatda Mono va Portable.NET) mavjud.
Introduction to BitPower Smart Contracts
Published: 2024-07-02 12:37:56

Introduction
Smart contracts are blockchain technologies that automatically execute and verify transactions. BitPower provides decentralized lending services through smart contracts to ensure secure and transparent transactions.

Core functions
Automatic execution of transactions: Smart contracts automatically conduct lending transactions according to preset rules.

Dynamic interest rate calculation: Adjust lending rates in real time according to market supply and demand.

Automatic liquidation mechanism: When the value of the mortgaged assets is below the threshold, liquidation is automatically triggered.

Asset mortgage management: Manage and protect the mortgaged assets of the borrower.

Main advantages
Security: After strict auditing, transactions are automatically executed to avoid human intervention.

Transparency: The code is open source and can be viewed and audited by everyone.

No intermediary: Users interact directly with the platform without the need for third-party institutions.

Efficiency: Automated processes simplify loan applications and processing time.

Conclusion
BitPower smart contracts provide users with an efficient and reliable decentralized lending platform through automation, transparency and security. Experience BitPower and enjoy the convenience and innovation brought by smart contracts!
UX vs. KPIs? Lessons from Copenhagen's Bike Rentals.
Tags: ux, kpi, pm
Published: 2024-07-03 10:05:00

---
title: UX vs. KPIs? Lessons from Copenhagen's Bike Rentals.
published: true
description: Don't Just Stare at Usage Numbers: A real-world example from bike rentals highlights the high cost of neglecting user experience.
tags: ux, kpi, pm
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k94zk0slu07398qxq62y.jpg
---

Story time. Recently we were visiting [Copenhagen](https://en.wikipedia.org/wiki/Copenhagen), the city known for the Little Mermaid and its vibrant biking culture. Eager to explore more of the city, we decided to rent bikes. The streets were lined with sleek, inviting rental bikes, and I picked the best-looking electric one. A QR code on the bike invited me to “Start here!”

## Simple as 1-2-3

And that’s when the trouble began. The QR code led me to the company’s website, which advertised rental services to cities and communities. Not exactly user-friendly for someone just wanting a bike ride.

Well, I headed to the App Store to find the company’s app. Two apps appeared. Neither clearly indicated which one was for me. After some digging, I figured out which one to install. The other app was for cities to manage their bike fleets.

Upon launching the app, I was hit with a standard registration form: name, email, phone. This is where I hit a complete showstopper. The continue button was hidden underneath the virtual keyboard. Knowing many tricks iPhone didn’t help. Focusing on any of the fields popped up the keyboard and covered the continue button. We went for another bike rental.

## What about KPIs?

I noticed plenty of unrented bikes from this company. In contrast, other bike rentals had almost all their bikes in use. I could imagine the frustration of their leadership team — high season, bikes sitting idle, new users almost nonexistent.

Maybe Android users just are more likely to rent a bike? Maybe the competitors have better bikes? Do we have the bikes in the right spots?

However, the lesson to learn here is clear: This isn’t a demographic issue or a need for expensive competitor research/analysis. It just a obvious UX problem. If the first touchpoint with your service is frustrating, users will abandon you quickly — they might not have a choice.

Prioritizing real-life field testing is the only way to spot and validate issues like this. Make the user experience your top priority, and the other KPIs will follow.

The saddest thing was that the next night they reorganized 10+ bikes, moved them to a better spot. And they all were there, unrented.

_PS. I don’t want to mention any names or brands here, but if you happen to recognize yourself, I’m happy to provide further details and help. The bikes look awesome._
User and Group Management Script
Published: 2024-07-03 10:03:30

**Script Explanation**
The script automates the creation of users and groups on a Linux system, assigns users to specified groups, sets random passwords, and logs the operations.

1. **Argument Check**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dhi7l86cd0yu90y3btyx.png)
The script checks if exactly one argument (the input file) is provided. If not, it displays an error message and exits.

2. **Setting up Variables and Directory and File Setup** 

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

- - Assigns the input filename to the variable filename.
- - Defines the path for the password file (passwd) and the log file (logfile).
- - Creates the /var/secure directory if it does not exist.
- - Creates or updates the password file (/var/secure/user_passwords.txt) and sets its permissions to 600 (read-write for the owner only).
- - Creates the /var/log directory if it does not exist.
- - Creates or updates the log file (/var/secure/user_management.log) and sets its permissions to 644 (read-write for the owner, read-only for others).

3.** Processing the Input File**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/08ez7q4llezm5ouhheyj.png)
- Reads the input file line by line, splitting each line into user and groups based on the ; delimiter.
- Trims whitespace from username and groups.

4.** User Creation **

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

- Checks if the user already exists using id -u.
- If the user does not exist, creates the user and logs the action.

5. Group Creation and Assigning of users 

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

- Splits the groups string into an array of individual group names.
- For each group, checks if it exists using getent group.
- If the group does not exist, creates the group and logs the action.
- Adds the user to each group and logs the action.

6. **Password Setting **


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

- Generates a random password using openssl rand -base64 12.
- Sets the user's password using chpasswd.
- Logs the password setting action


Thanks for reading... 
Olatunbosun Salako
Devops engineer
hng tech internship
Top boarding schools in Delhi NCR
Tags: boarding, boaardingscholsindelhi
Published: 2024-07-03 09:44:32

Looking for the **[best boarding schools in Delhi](https://www.doonedu.com/boarding-schools-delhi)** for your child? Look no further! Global Edu Consulting has narrowed down the top options for you. With our extensive knowledge of boarding schools across India, we are here to guide you towards making the best choice for your child's education. Get in touch with us now and let us help you find the perfect boarding school that suits your child's needs and preferences.
Nostra Games
Tags: mobilegames, gamedev, freeonlinegames, games
Published: 2024-07-03 09:41:14

## How does Nostra empower gaming developers to create engaging free online games with no download required for players to enjoy on the platform?

[**Nostra**](https://nostra.gg/articles/conquer-boredom-with-free-online-games.html?utm_source=referral&utm_medium=article&utm_campaign=Nostra) empowers gaming developers to craft engaging free online games with no download required, providing a seamless experience for players on our platform. Through our developer tools and resources, gaming developers can easily create and publish their games, reaching a vast audience of players eager for instant entertainment. By eliminating the need for downloads, Nostra ensures accessibility and convenience, allowing players to dive straight into gameplay without any barriers. Gaming developers can leverage our platform to showcase their creativity and innovation, contributing to the diverse library of games available on Nostra. With Nostra, gaming developers have the opportunity to captivate players with engaging [**free online games**](https://medium.com/@adreeshelk/how-to-play-hundreds-of-games-on-your-lock-screen-without-downloading-anything-4f03e0173441?utm_source=referral&utm_medium=Medium&utm_campaign=Nostra), driving engagement and fostering a thriving gaming community.
Corrosion Inhibitors Market: Opportunities and Threats
Tags: news
Published: 2024-07-03 09:39:59

According to the new market research report "Corrosion Inhibitors Market by Compound(Organic, Inorganic), Type(Water Based, Oil Based and VCI), Application, End-Use (Power Generation, Oil & Gas, Metal & Mining, Pulp & Paper, Utilities, Chemical), and Region - Global Forecast to 2026", published by MarketsandMarkets™, the global Corrosion Inhibitor Market size is projected to grow from USD 7.9 billion in 2021 to USD 10.1 billion by 2026, at a CAGR of 4.9% between 2021 and 2026.

Download PDF Brochure: https://www.marketsandmarkets.com/pdfdownloadNew.asp?id=246

Browse in-depth TOC on "Corrosion Inhibitors Market"

190 – Tables
50 – Figures
260 – Pages

View Detailed Table of Content Here: https://www.marketsandmarkets.com/Market-Reports/Study-Corrosion-Inhibitor-Market-246.html

Corrosion inhibitor is a chemical compound that, when added to a liquid or gas, decreases the corrosion rate of a material, typically a metal or an alloy. Corrosion inhibitors will remain one of the largest product segments within the water treatment chemicals market.

In terms of value, the organic segment is projected to account for the largest share of the corrosion inhibitor market, by compound, during the forecast period.

Organic inhibitor is projected to be the largest compound segment in the corrosion inhibitor market. Organic corrosion inhibitors are widely used in various industries because of their effectiveness at a wide range of temperatures, compatibility with protected materials, good solubility of water, and low costs. These inhibitors absorb on the surface to form a protective film, which displaces water and protects it against corrosion.

Power generation is projected to register the highest CAGR during the forecast period.

The power plants are designed on the presumption to be continuously operated for many years to come. Across the world, demand for reliable economic power has raised the need to operate these systems at full capacity and as low a cost as possible. Rapid industrialization has led to economic growth, which resulted in improved quality of life, and in turn, propelled the demand for electricity in emerging economies. The power generation sector uses corrosion inhibitors mainly for treating boiler feed water, boiler makeup water, and cooling water.

Request Sample Pages: https://www.marketsandmarkets.com/requestsampleNew.asp?id=246

Volatile Corrosion Inhibitor is projected to be the fastest-growing market, based on type.

Volatile Corrosion Inhibitors (VCI) will register the highest CAGR for the type segment of corrosion inhibitor market, during the forecast period. VCIs work by changing the pH of the outside atmosphere to less acidic conditions to regulate corrosion. Examples include morpholine and hydrazine, which are used to control the corrosion of the condenser pipes in boilers. Key industrial applications are polymer films, paper, foam, powder and oil, and grease industrial applications.
How to Use Software Reviews to Predict Long-Term Software Performance?
Tags: software, softwarereview, review, rating
Published: 2024-07-03 09:37:50

When selecting software for your business or personal use, it's essential to consider more than just its current features. Understanding its long-term performance is equally crucial. Software reviews can be an invaluable resource for making this prediction. Here’s a straightforward guide to using them effectively:

**1. Check for Consistency in Reviews**
Examine user feedback across multiple review platforms for patterns. If numerous reviews highlight the same strengths or issues, it’s a strong indicator of the software’s performance over time. Consistent positive feedback suggests reliability, whereas repeated complaints might signal potential problems.

**2. Focus on Recent Reviews**
Software evolves with updates and patches. Recent [Software Reviews](https://www.softwareworld.co/) offer insights into the software's current performance. Pay attention to feedback from the last few months to gauge its recent performance and any ongoing issues.

**3. Evaluate Customer Support Experiences**
Good customer support often correlates with long-term software reliability. Reviews that mention responsive and helpful support teams usually indicate a company committed to resolving issues and improving their product.

**4. Look for Reviews from Long-Term Users**
Users who have been using the software for a long period can provide valuable insights into its long-term performance. They can share how well the software has aged, how updates have impacted its functionality, and whether initial issues were resolved over time.

**5. Analyze Software Updates and Improvements**
Check if the software company regularly updates its product based on user feedback. A history of continuous improvement and adaptation to user needs is a good sign that the software will perform well in the long run.

**6. Consider the Software’s Adaptability**
Software that integrates well with other tools and adapts to new technologies tends to have better long-term performance. Reviews that mention the software’s flexibility and integration capabilities can indicate how well it will fit into evolving tech environments.

**7. Watch for Common Issues**
Be on the lookout for recurring problems mentioned in reviews. If multiple users report the same issues, this might point to fundamental weaknesses in the software that could affect its long-term performance.

**Conclusion:**

By applying these strategies, you can better predict how well software will perform in the future. Reading reviews with a focus on these aspects helps you make informed decisions, ensuring that the software you choose will meet your needs both now and in the future.
The Cloud Revolution Shaking Up Video Production
Published: 2024-07-03 09:24:24


Hey folks, if you've been around the broadcasting scene as long as I have, you know how much the landscape has changed in recent years. The move from old analog systems to internet-driven digital workflows has turned traditional broadcasting on its head. These massive changes might seem intimidating, especially for us old hands, but the reality is that embracing innovation is the only way for media companies to survive and thrive in today's multi-platform world.

I wanted to share my thoughts on how cloud solutions like [TVU Networks](https://www.tvunetworks.com/)' MediaHub are equipping the next generation of video production and delivery with flexibility and future-readiness.

The Drawbacks of Old Hardware
Oh man, I still get flashbacks to the hardware-heavy days of those master control rooms. Routing a video signal back then meant physically patching cables between various devices—routers, converters, monitors. Just switching a single feed required manually rewiring connections and hoping you didn’t accidentally knock the whole station off the air!

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


Production was entirely localized, meaning you had to be there in person with all that bulky gear. Any changes required a complicated rewiring process that could easily mess up live broadcasts if anything went wrong. There was almost no room for experimentation within these rigid old systems.

How the Cloud Changed Everything
Nowadays, platforms like MediaHub make routing, production, and delivery happen seamlessly in the cloud. Instead of physical cables and hardware, signals are aggregated and switched virtually using cloud software.

Here are some big advantages of this cloud-based approach:

Flexibility: Access and route any feed from anywhere without complex on-prem setups.
Agility: Set up new remote cameras and go live in seconds without the usual hassle.
Distributed workflows: Production teams can collaborate from anywhere through the cloud.
Multi-platform publishing: Instantly share content across linear TV, web, social media, and more.
The Future of Broadcasting Is Cloud-Powered
These cloud innovations are incredibly empowering, but I know there's more disruption ahead with emerging tech like 5G, VR, and smart production tools. But at its core, video production will always be about creative storytelling. These cloud platforms just provide the tools to tell those stories without outdated limitations.

I've decided to embrace change rather than resist it. Solutions built for this multi-platform age are letting us completely rethink broadcasting. I'm excited to see where the cloud will take video production next!

What do you think about how platforms like https://www.tvunetworks.com/products/tvu-mediahub-cloud-router/ are shaking up traditional video workflows? Share your thoughts in the comments!