teleren/devto huggingface dataset:
URI vs URL: The real difference between the two
Tags: webdev, beginners, programming, security
Published: 2023-08-31 12:12:45


## Introduction

In the ever-evolving landscape of web development, often times it can be confusing navigating the waters of all the acronyms and technical terms. In this blog we are going to be looking at URL, URI, and URN, terms often used interchangeably leading to confusion when describing the address of a webpage.

## URL (Uniform Resource Locator):

The more recognizable of the two is the URL or Uniform Resource Locator. Analogous to how your physical address helps someone find your home, a URL is what guides your web browser to locate a specific resource on the internet. This resource could be a webpage, an image, a video, or any other digital content. A typical URL consists of several components, including:

**Protocol**: This is the communication method your browser uses to retrieve the resource. Common protocols include `http`, `https`, `ftp`, and more.

**Domain Name**: The domain name represents the address of the website's server. For example, in `www.example.com`, `example.com` is the domain name.

**Path**: The path specifies the specific location of the resource on the server's directory structure. It resembles a file path on your computer.

**Query Parameters**: These are optional parameters that provide additional information to the server, often used to customize the content you see on a webpage.

**Fragment**: This part points to a specific section within a web page, allowing you to jump directly to a particular part of the content.


## URI (Uniform Resource Identifier):

Moving on to URI, or Uniform Resource Identifier. Think of a URI as the umbrella term that encompasses both URLs and another concept called URN (Uniform Resource Name). A URI is used to identify a resource on the internet, regardless of its type or location. In simpler terms, it's the digital fingerprint that uniquely distinguishes one resource from another.

## URN (Uniform Resource Name):
As mentioned in the previous section, URN or Uniform Resource Name, is a subset of URIs that serves as a persistent, location-independent identifier for a resource. Think of it as the "nameplate" for a digital entity. While URLs change if a resource's location shifts, URNs remain constant. This makes them invaluable for citing and referencing resources over time, especially in scenarios where the resource might move or change servers.

## Conclusion
Although they are interconnected, URLs, URI, and URN are distinct and should not be confused with each other. URLs guide us to desired online destinations, while URIs stand as the overarching system of identification. URNs, on the other hand, provide the nameplates that stay fixed amid the dynamic landscape of the internet. the address of a webpage.
Object Detection: No Need to Train Data Anymore
Tags: livestreamin, objectdetection, computervision
Published: 2023-08-31 12:11:33

[DirectAI](https://directai.io/) is excited to unveil computer vision-enabled live video through Ant Media Server.

DirectAI's computer vision is to let users build and deploy livestream computer vision models by defining their classes with plain language. No labeling or training data is required.

Demo video:
https://www.youtube.com/embed/h33pIb_yUnc?si=wp1VY1Oj2DjjBbOu

**Why Computer Vision Matters for Your Application**

DirectAI’s technology offers a significant breakthrough for teams that would otherwise be unable to implement computer vision due to engineering capacity or data constraints. There are a number of real-world problems we’re excited to help tackle, namely:

- Identifying obstacles or objectives for robots/drones
- Identifying harmful material (e.g. weapons or nudity) in a trust & safety context
- Detecting defects on manufacturing lines
- Anonymous counting people
- Indexing video for search

We’d love to talk to you about integrating computer vision into your Ant Media stack. Please feel free to make a demo request [here](https://antmedia.io/marketplace-demo-request/?wpf78324_4=DirectAI%%20Demo%20Request)
Studio Kook: Bringing Your Furniture Dreams to Life
Published: 2023-08-31 12:10:32

Furniture plays an important role in setting the mood of your living spaces in interior design. Studio Kook, known for quality and innovation, has created a collection of furniture pieces that upgrade your house and perfectly merge functionality and aesthetics. Our wide range is inclusive of dining tables, sofa sets, bed sets, side tables, computer tables, & much more. As of now, let’s delve into how our computer table, side table & bar cabinet can revive a new vibe to your daily life.



**Curate a Workspace That Brings Out Your Productivity & Creativity
**When it comes to optimizing your workspace, Studio Kook's [Designer Computer Table](https://studiokook.com/collections/study-computer-table) stand out as a perfect choice. These tables are a harmonious fusion of aesthetics and practicality. Crafted with an eye for detail, these computer tables not only provide an elegant platform for your digital endeavors but also enhance the overall look of your workspace. The ergonomic design ensures that your comfort is never compromised, allowing you to work for extended hours without strain. With Studio Kook's designer computer tables, you're not just investing in furniture; you're investing in a conducive work environment.



**Declutter Up Space Smartly & Aesthetically **
Adding a touch of convenience to your living area, Studio Kook presents side tables with storage that are a blend of charm and utility. These side tables not only serve as a resting place for your evening cup of tea but also offer ample storage space to keep your essentials at hand. Whether it's your favorite book, remote controls, or other small items, the [Side Table with Storage](https://studiokook.com/collections/side-end-table) eliminates clutter and brings a sense of organization to your living space. Available in a range of designs and finishes, these side tables seamlessly fit into various decor themes, making them a versatile addition to your home.



**Sip With Confidence As You Host With Convenience**
For those who appreciate the finer things in life, Studio Kook's [Bar Cabinet for Living Room](https://studiokook.com/collections/bar-cabinet) is a true image of sophistication. Hosting gatherings and entertaining guests becomes a breeze with these meticulously designed bar cabinets. With dedicated storage for your prized wine collection, glassware, and bar accessories, these cabinets are a statement of your refined taste. Studio Kook's bar cabinets not only enhance the aesthetics of your living room but also add an element of luxury to your lifestyle.



**Shop With Confidence**
Studio Kook offers a range of furniture pieces that redefine your living spaces. From designer computer tables that inspire productivity to side tables with storage that bring order to your surroundings, and bar cabinets for the living room that exude elegance, Studio Kook's collection caters to diverse tastes and preferences. By choosing Studio Kook, you're not just investing in furniture; you're investing in a lifestyle where form meets function in the most exquisite manner.
Elanat 2 on the GitHub.
Tags: news, csharp, programming, aspnet
Published: 2023-08-31 12:08:09

**Introduction**
Elanat is a free and open-source CMS-Framework based on ASP.NET Core. Elanat version 1 was created based on ASP.NET Standard; in a short time, Elanat migrated to ASP.NET Core; therefore, Elanat version 2 is based on ASP.NET Core. Elanat uses the [CodeBehind framework](https://github.com/elanatframework/Code_behind); this framework is an infrastructure whose executable files are aspx that run on ASP.NET Core.

Elanat is the most powerful .NET system and .NET programmers and developers can proudly compare Elanat with powerful systems like drupal and wordpress.

**Version 2 of Elanat**
As promised, we have presented Elanat version 2 based on ASP.NET Core; first, we put the source code of this version completely on the GitHub repository and in the next few days we will provide the ready-to-install version. Also, soon the plugin creation package for Elanat containing Hello World! It will be added to NuGet so that developers can easily create their own plugins for Elanat and benefit from Elanat's maneuverability.

The Elanat repository based on ASP.NET Core can be seen in the link below.

[https://github.com/elanatframework/Elanat](https://github.com/elanatframework/Elanat)

**Tools used in creating Elanat:**

- ASP.NET Core 7.0
- CodeBehind framework
- SQLServer
- Tinymce
- Codemirror
- SixLabors.ImageSharp
- File Icons Vs. 3 Icons by Jordan Michael

**Elanat old**
We created a new repository and copied all the information from the ASP.NET Standard based Elanat repository into the new repository. This repository's README.md file provides information on how to migrate Elanat from ASP.NET Standard to ASP.NET Core.

You can see the Elanat repository based on ASP.NET Standard in the link below.

[https://github.com/elanatframework/Elanat_old](https://github.com/elanatframework/Elanat_old)
How to control household pests and by what means?
Published: 2023-08-31 11:55:06

Managing household pests effectively is crucial for a comfortable living environment, and just as [Lakewood Exterminating](https://www.lakewoodexterminating.com/), a reputable pest control company, specializes in insect eradication, homeowners can take proactive steps. Integrated pest management techniques, similar to Lakewood's approach, involve sanitation, sealing entry points, and reducing attractants. Utilizing safe and targeted pesticides, as Lakewood does, can address persistent infestations.
Why we choose Software Testing as Career?
Tags: beginners, backend, webdev, programming
Published: 2023-08-31 11:16:41

Software testing is the process of evaluating a software application or system to ensure that it meets specified requirements and performs as expected. It involves executing the software to find defects or errors and ensure its quality, reliability, and functionality.

Software testing is the process of evaluating and verifying that a software product or application does what it is supposed to do. The benefits of testing include preventing bugs, reducing development costs, and improving performance.

Software testing typically involves the following key activities:

Test Planning: Defining the objectives, scope, and approach for testing. This includes identifying test objectives, test strategy, test deliverables, and resource allocation.

Test Design: Creating test cases and test scenarios based on the requirements and specifications of the software. Test design involves determining what to test, how to test, and what data to use for testing.

[Software Testing Classes in Pune
](https://www.sevenmentor.com/software-testing-course-in-pune.php)
[Software Testing Course in Pune](https://www.sevenmentor.com/software-testing-course-in-pune.php)
Migration Strategies - 7Rs
Published: 2023-08-30 19:16:54

**1-Retire** — Get rid of
Remove the applications that are no longer needed, or causing security risk because it is not supported any more.

**2-Retain** — “revisit” or do nothing
keep the applications that are not ready to migrate.

**3-Rehost** — lift-and-shift
move the applications to cloud without making any changes to them. 

**4-Relocate** — hypervisor-level lift and shift
Move infrastructure to the cloud without purchasing new hardware, rewriting applications, or modifying. This migration scenario is specific to VMware Cloud on AWS.

**5-Repurchase** — drop and shop
commonly a move to a SaaS platform. Moving a CRM to Salesforce.com, an HR system to Workday, a CMS to Drupal, and so on.

**6-Replatform** — lift and reshape
move the application to the cloud and take advantage of the cloud optimization and capabilities. For example, replatform a Microsoft SQL Server database to Amazon RDS for SQL Server.

**7-Refactor/re-architect** 
Re-imagine how the application is architected and developed using cloud-native features. Example: Migrate on-premises Oracle database to the Amazon Aurora PostgreSQL-Compatible Edition.
How To Set Environment Variables For MacOS
Published: 2023-08-31 11:09:22



## List all environment variables
```
$printenv
```


## Check a specific environment variable
```
$echo $[variable name]
```


## Set emporary environment variable
**Step 1 :** Open `~/.bash_profile` for add new environment variable
```
$open ~/.bash_profile
```
**Step 2 :** Add new environment variable to `~/.bash_profile`
```
export [variable_name]=[variable_value]
```
**Step 3 :** Save any changes to `~/.bash_profile`
**Step 4 :** Use the `source` to execute the new `~/.bash_profile` 
```
$source ~/.bash_profile
```


## Set permanent environment variable
**Step 1 :** Open `~/.zshrc` for add new environment variable
```
$open ~/.zshrc
```
**Step 2 :** Add new environment variable to `~/.zshrc`
```
export [variable_name]=[variable_value]
```
**Step 3 :** Save any changes to `~/.zshrc`
**Step 4 :** Use the `source` to execute the new `~/.bash_profile` 
```
$source ~/.zshrc
```



## Unset environment variable
Use the `unset` command to remove an environment variable
```
$unset [variable_name]
```
Need Help with PHP Error: Undefined Variable while Developing Laptop E-commerce Site
Tags: php
Published: 2023-08-31 11:06:02

I hope you're all having a great day! I'm currently working on an exciting project – building an e-commerce website that sells [laptops](https://foldinng.com/). However, I've run into a bit of a roadblock while coding.

Here's the scenario: I'm working on a crucial part of the website where I want to display the laptop prices dynamically. To achieve this, I've written the following PHP code snippet:

<?php
// Extracted laptop price from the database
$laptopPrice = 1299.99;

// Trying to display the price
echo "The laptop is priced at: $" . $laptopPrice;
?>

The problem is that when I try to execute this code, I get the following **error message:**

Notice: Undefined variable: laptopPrice in index.php on line 6

I've been scratching my head trying to figure out what's going wrong here. I've double-checked my code, and it seems like the $laptopPrice variable should be defined properly. Could there be something I'm missing?

Has anyone encountered a similar issue or can spot what I might be doing wrong? I'm eager to learn and fix this
Solutions provided by the best website designing services
Tags: javascript
Published: 2023-08-31 11:05:02

In today’s day and age, if you don't have a website, it would be really difficult for you to grow your business. People only rely on those companies which have genuine looking websites. Even if you have a website, it should look fresh and genuine. Also, the website should be easy-to-use. Then only you have a chance to gain traction. It can be difficult for a company to build a website from scratch and maintain it without having a proper in-house team. That is why outsourcing this job to a website designing agency is important. 

The [url=https://digitalpolaris.com/website-designing-services/]best website designing services[/url] provider will provide the following solutions:

-Tailored WordPress Designs
-UI/UX Design
-Responsive Web Design
-Custom Redesign
-Shopify Web Design
-Magento Web Design etc.
Elevate Your Shopping Paradigm with Magento 2 Partial Payment and Layaway Extension
Tags: magento2extensions, magentoplugins, partialpayments, layawaypayments
Published: 2023-08-31 11:00:28

Presenting the progressive [Magento 2 Partial Payment and Layaway](https://www.milople.com/magento-2-partial-payment.html), a game-changing expansion intended to rethink the manner in which you approach online business. Designed for improved client accommodation and expanded deals, this augmentation engages your Magento 2 store to offer adaptable installment arrangements through fractional installments and loan plans.

As shopper inclinations keep on developing, this expansion flawlessly coordinates into your checkout cycle, empowering clients to save items with a store or choose portion-based installments. Thus, you're smoothing out the shopping system as well as adjusting your business to contemporary shopping ways of behaving.

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

**Key Features:**

- Enable Client Decisions:
Give clients the independence to choose their favored installment approach, encouraging fulfillment and faithfulness.

- Adjustable Installment Plans:
Designer installment intends to line up with your plan of action, whether it's decent stores, versatile timetables, or explicit terms.

- Robotized Effectiveness:
Smooth out activities with computerized updates, guaranteeing clients stay informed about forthcoming installments and due dates.

- Improved Changes:
Catch reluctant purchasers with an alluring installment elective, supporting transformation rates.

- Fabricate Faithfulness:
Develop enduring associations with clients who esteem adaptable installment choices, supporting brand devotion.

By embracing the Magento 2 Halfway Installment and Loan expansion, your web-based business store wanders into another domain of versatility and client centricity. Change your business, rethink the shopping experience, and lay out your image as a pioneer in taking care of contemporary customer inclinations.
Closure in JavaScript
Tags: closure, javascript, programming, webdev
Published: 2023-08-31 10:55:03

**Closure** is nothing but a technique bringing out the variable to the outer scope so that parent scope can also work with the variable from child scope.
```javascript
function foo(){
  	let count = 0;
  	return function(){
  		return count+=1;
  	}}

let doo = foo();

console.log(doo());
console.log(doo());
console.log(doo());
console.log(count);
```

Here `count` variable can be mutated from the outer scope.
But `count` variable cannot be accessed directly from outside the `foo` function.
Microsoft with freeCodeCamp Offer Free Foundational C# Certification
Tags: microsoft, certification, dotnet, career
Published: 2023-08-31 10:54:20

In an official announcement, Microsoft's Katie Savage stated, "We are excited to announce the release of the new Foundational C# Certification in collaboration with freeCodeCamp, a charity that creates free learning resources for math, programming, and computer science. The Foundational C# Certification is completely free, globally available, and includes a full 35-hour C# training course hosted on Microsoft Learn."

This certification course covers a wide range of topics, from the core concepts of variables, data types, control structures, and syntax to practical applications in software development. What's more, you can proudly display this certification on your LinkedIn profile, making it a valuable addition to your professional credentials.

To earn your Foundational C# Certification, simply head to the Foundational C# Certification path on [freeCodeCamp](https://www.freecodecamp.org/learn/foundational-c-sharp-with-microsoft/?ref=bytewhisper). Start with the first course, and as you progress through the training, you'll earn trophies on Microsoft Learn upon completing each course. Once you've completed all the training, you'll have the opportunity to take the final exam and officially earn your certification.

In addition to this certification program, Microsoft is also hosting six office-hour streaming sessions on the .NET YouTube channel. These sessions will take place from September 20 to October 25, every Wednesday at 2:00 pm UTC. During these sessions, presenters will review specific training courses, walk through guided projects, and address any questions you may have. This interactive approach ensures that learners receive additional support and guidance throughout their certification journey.

For those eager to put their skills to the test, Microsoft has organized a [C# Challenge](https://learn.microsoft.com/en-us/training/challenges?id=8cf09b9b-743d-4f5f-9cd0-1aa1483d3d7a) on August 29th, offering participants the chance to apply their newfound knowledge in a practical setting.

In summary, Microsoft's collaboration with freeCodeCamp has paved the way for individuals worldwide to access high-quality C# programming education at no cost. The Foundational C# Certification, combined with the supplementary streaming sessions and challenge. Whether you're a budding developer, an experienced programmer looking to expand your skillset, or simply someone interested in the world of coding, this initiative offers a valuable and free opportunity to delve into the exciting realm of C# programming.

---

<a href="https://www.buymeacoffee.com/bytewhisper" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-red.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
What is digital marketing? How To Choose The Best Digital Marketing Services?
Tags: programming
Published: 2023-08-31 10:54:08

Digital marketing is the procedure through which a company or a brand connects with the audience online. Digital marketing pertains to online marketing campaigns such as online videos, search engine marketing, display ads, paid social media ads, posts etc. Through online marketing services a business markets its services and products.

While choosing the [url=https://digitalpolaris.com/]best digital marketing agency[/url] keep a few things in mind.

-Core business niche in which the agency is skilled
-Look into their portfolio as well as the customer reviews
-Check the KPIs & other performance metrics
-Whether the agency offers customised solutions or not etc.