teleren/devto huggingface dataset:
Artificial Intelligence: Basic Introduction
Tags: ai, machinelearning, beginners, datascience
Published: 2022-03-11 12:25:17

We often stumble on the word “Artificial Intelligence” daily, be it in our favourite sci-fi movies or a problem solving based system. We hear of incredible breakthroughs achieved through the application of Artificial Intelligence in several fields and how it is transforming the world at large.


Artificial Intelligence (AI) is a whole game-changer. This moment reminds me of what I thought of AI the first time I heard the word, a robotic being with superhero power developed to be superior to humans. Well, this is far distant from the truth. This article is the first part of the AI starter articles written for absolute beginners in AI and those curious about this buzzword and how it works.

So if AI is not a robotic being with some extraordinary power, what is Artificial Intelligence then? Artificial Intelligence is the imitation of human intelligence, our intelligence, by machines so that they can perform tasks like us more effectively, efficiently with enhanced speed and precision. Interesting right? For us to have a full grasp of the actual functionality of AI, it’s imperative we must know and understand what makes us, humans, intelligent beings.
Now comes the highlight question in this article. 

‘’What defines our intelligence as humans?’’ 

![Designed by Pelumi](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nzaityucwfot30mz8jcn.png)

Our intelligence is based on how we learn, reason, solve problems, perceive and communicate with one another. These factors form the major components of intelligence. By imitating our intelligence, these machines acquire knowledge or skill through our experiences (data) we feed them (learning), detect patterns from these experiences (data) and use it to draw inferences (reasoning), use these inferences to perform a specific action which solves a problem (solve problems), analyze and interpret their environment by decomposing the scene into individual objects in various spatial relationship (perception) and communicate with us in our natural language (language). 

Hold up! Even though our machines can learn, reason, perceive, solve problems and communicate, can they engage in generic reasoning, build on and optimize their existing knowledge to solve new problems, draw inferences relevant to the solution of a particular task or situation and recognize patterns without missing the major concept? Do they exactly understand the world? 

Well, the answer is NO. These and many more questions will keep arising. Our existing AI system is not there yet but the progress so far is tremendous. The groundbreaking applications of AI in different sectors are discussed in one of the AI starter articles. There are still various ongoing researches in different aspects of Artificial Intelligence and we look forward to innovations, problem-solving solutions and more positive impact.

The next article in the AI starter articles is set to dismantle and simplify the types of Artificial Intelligence. So brace up and enjoy the ride!
Terminal kommandalari | PART 3
Tags: terminal, beginners, uzbek, cpp
Published: 2022-03-11 11:48:49


## `date`
- `echo $(date '+%d-%m-%Y')` - ushbu komanda hozirgi sanani (dd-mm-yy) formatda shu papkani terminalda chiqradi
- `mkdir $(date '+%d-%m-%Y')` - ushbu komanda orqali bugungi sana nomi bilan papka yaratiladi

### `code`
- `code main.cpp` - bu komanda joriy papka ichida main.cpp degan fayl *(yo'q bo'lsa)* yaratib uni **VsCode** ichida ochadi
- `code .` - joriy papkani **VsCode** dasturida **workspace** *(ishchi maydon)* sifatida ochadi

### `g++`
- bu komanda C++ kodlarni kompilyatsiya qilish uchun ishlatiladi.
- `g++ main.cpp`- bu komanda orqali joriy papkadagi **main.cpp** nomli C++ kod faylni kompilatsiya qiladi va *by default* `a.out` nomli dasturiy fayl yaratadi.

`g++ main.cpp` dastur` komandasi **main.cpp** faylni kompilyatsiya qilib natijani **dastur** nomli faylga saqlaydi.
How To Embed Multiple Instagram Feed On Website?
Tags: instagramfeeds, embed, developers, website
Published: 2022-03-11 11:45:48

Wondering how you can embed Instagram Feed on your website well then you don't need to worry at all. In this blog, we will go through the steps to embed Instagram Feed on the website using different methods.

## Method 1 - Embed Instagram Feeds using Instagram Widget

- Create your free Instagram Widget account.
- Open the widget and choose your source as Instagram from the listed source
- Collect your Instagram Feed using hashtags, Handle, Mentions, Tag, Reels, or more.
- Enter the input accordingly and proceed.
- Your Instagram Feed will be collected on your editor.

Now you can proceed to either customize or embed [Instagram Feed on websites](https://tagembed.com/blog/embed-instagram-feed-on-website-for-free/).

**Steps to Embed Instagram Feed:**

- Click on the Embed Widget button and generate the embed code for your Instagram Widget.
- Choose your CMS platform and copy the embed code.
- Paste the embed code on the backend of your website webpage.
- Reload the page and your Instagram Feed will be embedded on your website.

## Method 2 - Official Instagram Embed

Before proceeding let's understand why the official Instagram Embed option is second in the row? It is one of the best in terms of free and only few feeds of upto 4-5 posts to embed. Cause you have to generate individual embed code for individual posts and then paste them into your website with proper alignment.

Apart from that, it is also time-consuming as you need to do it manually one by one.

**Steps to Embed Instagram Feed:**

- Choose your Instagram Feed and click on the options button (displayed as: ...).
- Select the embed option and copy the generated embed code for your website.
- Paste the embed code on the backend of your website and you're done.

Hence, you can easily embed Instagram Feed on the website by following the above-mentioned steps.
Terminal komandalar | Part 3
Published: 2022-03-11 11:40:31

### `date`
- `echo $(date '+%d-%m-%Y')` - ushbu komanda hozirgi sanani *(dd-mm-yyyy ko'rinishida)* terminalga chop etadi
- `mkdir $(date '+%d-%m-%Y')` - bu komanda orqali bugungi sana nomli papka yaratiladi

### `code`
- `code main.cpp` - bu komanda joriy papka ichida main.cpp degan fayl *(yo'q bo'lsa)* yaratib uni **vscode** ichida ochadi
- `code .` - joriy papkani **vscode** dasturida **workspace** *(ishchi maydon)* sifatida ochadi

### `g++`
- bu komanda C++ kodlarni kompilatsiya qilish uchun ishlatiladi. 
- `g++ main.cpp` - bu komanda joriy papkadagi **main.cpp** nomli C++ kod faylni kompilatsiya qiladi va *by default* `a.out` nomli dasturiy fayl yaratadi
- `g++ main.cpp -o dastur` komandasi **main.cpp** faylni kompilatsiya qilib natijani **dastur** nomli faylga saqlaydi.
How to write proposal for Google Summer of Code
Tags: gsoc, opensource, programming, beginners
Published: 2022-03-11 11:38:18

It worth mentioning that the proposal plays a very big role in selecting in Google Summer of Code. A proposal is basically you describing to your organisation how you would go about the project. Based on this and your credibility, your organisation would contemplate on whether to select you or not. I was Google Summer of Code student in 2018. During the proposal submitting time, I have seen a lot of proposal on the organization chat channels, some are good and some bad. Many people try but some of them get in as there are limited slots in every organization. What stands out the selected student from the student who didn’t get selected is their proposals (there are other factors too). Your proposal should convince the mentors that you’re the right person for the project that can take project to next level.

I did Google Summer of Code 2018 with FOSSASIA and Mentored Google Summer of Code 2019 students. I am sharing my perspective as a mentor, what mentor except in a proposal and what are some things that make you stand out.

Read the full blog post here [https://jogendra.dev/how-to-write-proposal-for-google-summer-of-code](https://jogendra.dev/how-to-write-proposal-for-google-summer-of-code)
ML.NET Cat vs Dog
Tags: dotnet, machinelearning, tutorial, ai
Published: 2022-03-11 11:31:29

**ML.NET Model Builder** is an intuitive graphical Visual Studio extension to build, train, and deploy custom machine learning models.
Model Builder uses automated machine learning (AutoML) to explore different machine learning algorithms and settings to help you find the one that best suits your scenario.

**-Select Image Classification Scenario**

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

**-Select Trainning Environment**

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

**-Once you have chosen your scenario, Model Builder asks you to provide a dataset**

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

**-Train**

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

**-In my case, this training lasted a little over 4 hours**

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

**-Evaluate**

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

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

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

**-Consume**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7ghoy492c9e44j3kugrt.PNG)

**-Add solution ConsoleApp and WebApi**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8uegj3g3cqnbopzdfhyi.PNG)

**OPEN PowerShell and Test your WebAPI**
`$body = @{ImageSource = "Image location on your local machine"
Invoke-RestMethod "https://localhost:'PORT'/predict" -Method Post -Body ($body | ConvertTo-Json) -ContentType "application/json"`

And that's it, in simple steps we create and consume a Machine Learning model. In the Documentation links you will see how to install the Model Builder extension in Visual Studio and everything related to ML.NET.

Happy coding!

Pablo Piovano.

---

**DataSet:** [https://www.kaggle.com/muhammadshahzadkhan/dogvscat](https://www.kaggle.com/muhammadshahzadkhan/dogvscat)

**ML.NET Documentation**

- [https://docs.microsoft.com/en-us/dotnet/machine-learning/](https://docs.microsoft.com/en-us/dotnet/machine-learning/)

- [https://dotnet.microsoft.com/apps/machinelearning-ai/ml-dotnet/model-builder](https://dotnet.microsoft.com/apps/machinelearning-ai/ml-dotnet/model-builder)

**GitHub:** [https://lnkd.in/duBTphVJ](https://lnkd.in/duBTphVJ)
DevTips Daily Update 11/03/22
Tags: javascript, beginners, webdev
Published: 2022-03-11 11:17:58


So this week's DevTips daily tutorials are continuing on with our full end to end project and we're starting to see things come together now!

We've been doing some cool things with NX like creating a shared library, building a new web app and adding it to our deployment pipeline and also POSTing user choices to the backend and creating personalised shorturls based on those selections.

Here's a link to each individual tutorial:

[Creating a shared library](https://youtu.be/q2reFtYs_Q0)
{% youtube q2reFtYs_Q0 %}

[Generating Option Elements for the Front-end](https://youtu.be/hJy_ONTMjW8)
{% youtube hJy_ONTMjW8 %}

[POSTing JSON data to the backend with Fetch](https://youtu.be/fI-Fmkb3-bg)
{% youtube fI-Fmkb3-bg %}

[Handling the JSON data on the backend Express App](https://youtu.be/NwkJhc2FIc0)
{% youtube NwkJhc2FIc0 %}

[Redirecting users in Express](https://youtu.be/5I5OYw1IjUA)
{% youtube 5I5OYw1IjUA %}

[Creating a new web app and deploying it](https://youtu.be/Ldl_4_TYZuY)
{% youtube Ldl_4_TYZuY%}

[Updating or replacing data in MongoDB](https://youtu.be/cKyto1aUspI)
{% youtube cKyto1aUspI %}


Next week we're going to be carrying on with the project again, we're going to be adding some geolocation to our stats and displaying that info to the user!

Thanks for watching 👍
What do you do if your tablet is frozen and won't turn off?
Tags: tablet, samsung
Published: 2022-03-11 10:37:48

What do you do if your tablet is frozen and won't turn off? You can restart the tablet forcibly, or you can reset your tab to solve the problem.

Electronic devices, like people, are not perfect. It may happen that if the electricity has gone out and suddenly returned, or I run an application, the tablet has been frozen or blocked. These are the things that happen with technology, but I will try to solve these problems.



What should you not do?
The first thing to do is that if an application has blocked the tablet, do not start giving all the buttons and touching the screen. Of course, what we usually do is the opposite.

It is the same as with computers, at the moment it does not work, we do not stop turning the mouse, giving all the buttons, all the keyboard keys and more than one, it will have escaped a kick if the computer is the tower.

Turn off the tablet.
Sometimes this is solved by turning off the tablet or, what is the same, doing a restart.

Let's press and hold the off button for a few seconds to see if it turns off. If you do nothing, you are blocked, and you have to keep trying other things.

Do a reset
Look in the tablet for a hole that says reset. It is very small and only fits a needle or an open paper clip.

We take the clip, and when we insert it, we will reach the top, and at that moment, we push a little, and we will feel the press of a button, but release it quickly.

If you leave it pressed for a longer time, it will possibly reset us to the parameters that came from the factory, erasing everything we had installed. It should be enough to unlock a tablet.

Contact the official technical service.
After trying, if all this remains the same, we have to contact the technical service either Samsung, Lenovo, etc.

Search Google for the brand, access the contact section, and you will be able to contact them because if it is under warranty, it will cover the problem.

If it's out of warranty
If the tablet is no longer under warranty, you can contact a technician to review it, and 2 things can happen.

The failure is of the software, and with changing the ROM, the problem is solved, which is usually very common in these devices.

Or that the tablet has a technical failure, and in this case, and depending on what it costs to repair it, you will indeed have to buy a new tablet.

Hope you liked the article, follow up for more articles like this one.
React Js Vs Angular Which is Better ?
Tags: javascript, react, angular, webdev
Published: 2022-03-11 10:37:23




React js and Angular Tutorial For Beginners
**React js:**
React is a front-end javascript library for building users’ interfaces and it is managed by Facebook and has an open-source community of developers. The framework was introduced in May 1013 it is currently one of the most popular front-end libraries for web development.
React Js use For Web Development and React Native used for App Development and Firstly you know what is the [difference between Web Development vs App Development](https://www.pgwars.com/which-is-better-web-development-vs-app-development)

**Angular:**
Angular is an open-source javascript framework for web and mobile development, it is a typescript base and it is, managed by the google angular team and the angular development community. Launched in September 2016, angular is also known as angular 2. o it is a complete rewrite of an angular JS
which is introduced in 2010, it competes directly with react in the field of web development.

**[Which is Better Vs Btech Vs BCA](https://www.leads4needs.com/which-is-better-bca-vs-btech-computer-science-for-job)**

**What is Framework and How its Work**
The framework is an r-useable design platform for software systems, which provides support for code libraries and various scripting languages. There is a framework for PHP, Perl, Python, Ruby, and many other scripting languages. All software frameworks are built with the idea of re-usability of the code and provide tools that help programmers develop and mount together with the different components of a software project.

If you Learn React js or Angular so javaScript is a Very important Language so [Learn Free JavaScript Variable Tutorial](https://www.codeexampler.com/javascript-variables)


![javascript tutorial for beginners](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l1jkyivf22fhf85gmj1l.PNG)
**React Js Props**
Easy to experiment
Essay to compose view hierarchies
Easy to deliver data to children
Lightweight builds
Fast rendering

**Angular Props**
Easier to build layers.UI+state+service
Easier to build business forms
Easier to route + lazy load
Easy to test non- UI parts
Built-in dependency injection
Angular and React js Comparison
Use a mono repository
Use typescript,jest&cypress
Shared code between reacting + angular apps
Keep business logic outside views
Use RxJS for reactive Architectures
Build UI component Library with stencil
Jest Test all Non-UI component
Cypress test all UI workflows
How to follow and listen to podcast on Spotify.
Tags: podcast, spotify
Published: 2022-03-11 10:36:11

If you are a Spotify user, you may already know this, but if you are not a user yet, it may convince you to join the platform, because on Spotify you will not only be able to listen to music, but you can also listen to podcasts to which we can subscribe to be up to date with all episodes of the podcast that their owners may publish.


How to listen to podcast on spotify
Most people think of Spotify as a very popular exclusive music streaming service, but podcasts can also be found. In Spotify you can find the vast majority of the most popular podcasts, as well as many exclusive to the platform.

Podcasts are available in all versions of the Spotify application, whether from the official apps for iPhone, iPad, Android, Windows, MacOS, and even the Web version. In addition, your progress of listening to chapters of a Podcast will be synchronized in all the devices in which you have Spotify and have logged in with your user account.

As if that weren't enough, users of Spotify on mobile devices can download chapters of the desired podcast, to be able to listen to them on their Android mobile phone or iPhone without the need for an internet connection.

That said, below, we show you step by step how to find a podcast on Spotify as well as how to follow them so as not to miss any chapter of it:

Spotify podcasts on the for iPhone, iPad and Android.
The Spotify app looks the same on iPhone, iPad, and Android. So the steps to follow are the same in all these versions.

Open the Spotify app and tap on the Search option.

Here you will have to search for the title of the Podcast in which you are interested.

Among all the displayed search results, you should pay attention to the result that contains the Podcast tag.

When the podcast is displayed in full screen, you must click on the button: Follow.

From now on, new episodes of that Podcast will appear in the Podcast section of your library.

Spotify podcasts for desktop.
Spotify desktop experience works similarly on Windows, MacOS, Linux, or the Web version.

Open the program or visit the website of the Spotify player.

On Windows and Mac, you will need to click on the search bar at the top of the window. If you use the web player, you will first have to click on the Search section of the left side menu: Search.

Here you will have to search for the podcast by name.

Select the search result that has the Podcast tag.

Click the Follow button on the main podcast screen.

Now this podcast will be available from the library section of your account and you will be up to date with new episodes.

Play podcast episodes that you follow on Spotify.
All you have to do is open Spotify.

Go to your Library section.

And under it you will see the podcasts that you follow with the number

Hope this post helped you!
Array<Type> vs Type[] vs [Type] in TypeScript
Tags: typescript, programming, beginners, codenewbie
Published: 2022-03-11 10:12:49

There are a lot of ways to define array in TypeScript. But when we can use it 🤔? There is no specific rules to use but we can see the differences.

- **Array\<Type\>** : It is same as Type[] but is preferred when using different types in the array. Ex 
```typescript
const firstArray:Array<string|number> = [1,2,'alpha'];
```
- **Type[]** : It is a simple array of a single type. Ex

```typescript
const secondArray:string[] = ['alpha','beta','gama'];
```
- **[Type]** : It is a way of defining a tuple, a fixed size array. Ex

```typescript
const thirdArray:[string, number] = ['alpha', 21];
```

## Where we should use the different array formats.
Well it is quite simple to follow.

- When you are having a single datatype and length is unknown then `type[]` can be used.
- When the datatype and length both are unknown `Array<type | type>` can be used.
- When there is very small size array with specific datatype in each position then Tuple can be used `[string, number]`.


If you like the post follow me for more
{% user rahulrajrd%}