teleren/devto huggingface dataset:
Deep Learning Projects For Final Year
Tags: javascript, programming, deeplearning, finalyear
Published: 2022-07-30 10:04:05

Engineering student projects for B.Tech and M.Tech final year students. Takeoff Edu Group offers a wide range of projects best for[ deep learning projects for final year](https://takeoffprojects.com/deep-learning-projects-for-final-year) looking for magnificent final projects at low cost. 
 
We have successfully delivered deep learning projects for final year to our engineering students. Our programs are specially designed by experts for best results of deep learning projects for final year for engineering students. max of the B.Tech, M.Tech, PhD and Diploma scholars.
 
Takeoff Edu Group provides the most creative conceptions and ideas that can make very effective final year projects for scholars, experimenters, and engineers. So browse through our list of [deep learning projects for final year](https://www.youtube.com/watch?v=sO73UgV7qoo) and choose the smart final year projects for your requirements. 
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u07ulqpxos2k0gw5y2nm.png)

Since 2006, Deep Learning, additionally referred to as hierarchical Learning has been evolved as a brand new field of Machine Learning analysis. The deep learning model deals with issues that shallow architectures (e.g. Regression) are suffering from the curse of dimensionality. 
 
Deep Learning may be a new area of Machine Learning analysis that has been introduced with the target of moving Machine Learning nearer to at least one of its original goals: AI. Deep Learning is regarding learning multiple levels of illustration and abstraction that facilitate the formation of a sense of data like pictures, sound, and text.
 
Top 10 Deep Learning Projects For Final Year
1. Visual Tracking System
2. Face Detection System 
3. Driver Drowsiness Detection 
4. Image Caption Generator 
5. Colorizing Old B&W Images 
6. Image Classification with CIFAR Dataset 
7. Dogs Breed Identification 
8. Chatbot 
9. Object Detection 
10. Real-time Image Animation
[Video] How Open Source can change your life
Tags: opensource, github, discuss, career
Published: 2022-07-30 09:57:00

Hello everyone!

I recently posted an Article about benefits and advantages from contributing in Open Source.

I released the video version on YouTube, go check it out!

[![Video Preview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b4es4ax5b0tw4cffvjw3.png)](https://youtu.be/uquIcISFtwg) 
 
Here's the link: https://youtu.be/uquIcISFtwg


---
Thanks for reading my post, I hope you find it interesting!
Feel free to follow me to get notified when new articles are out ;)
{% embed https://dev.to/balastrong %}
You can also follow me on GitHub or Twitter, you can find the links here directly on my GitHub profile!
{% embed https://github.com/Balastrong/Balastrong %}
Learn the Basics of ClassicPress! WordPress vs ClassicPress & More
Published: 2022-07-30 09:43:28

ClassicPress utilizes the natural WordPress interface long-lasting WordPress clients know and delivers standard security redesigns. What's more, it has dynamic local meetings and a Slack channel.

A WordPress elective for clients doesn't need the block supervisor experience or the Classic Editor module. 
- Originally posted at Cloudways '[ClassicPress](https://www.cloudways.com/blog/install-classicpress/)'

Stay up-to-date with the latest in the tech world by exploring "[Tech News](https://bzmtech.com/)." From cutting-edge innovations to industry trends, "Tech News" provides a wealth of information for tech enthusiasts and professionals alike. If you're interested in web development and content management systems, dive into articles that delve into the topic of "Learn the Basics of ClassicPress! WordPress vs ClassicPress & More." Gain insights into the similarities and differences between ClassicPress and WordPress, two popular content management systems. 

Stay informed about the latest updates, features, and functionalities of these platforms, enabling you to make informed decisions when choosing the right CMS for your projects. With "Tech News," expand your knowledge and stay ahead in the ever-evolving world of technology. Whether you're interested in [web hosting services](https://abouthostings.com/web-hosting-services/), e-commerce solutions, or content management systems, our comprehensive coverage ensures you're up-to-date with the latest trends and innovations in the digital landscape.
Black Line Follower with Arduino
Tags: beginners, programming, arduino, opensource
Published: 2022-07-30 09:07:33

In this blog, I will show you how to build a black line follower robot with an Arduino microcontroller and IR Sensors.

![line follower](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/42qeabkn22jkn1m04e4m.png)

## Components required 
- Arduino UNO 
- IR Sensor 
- Gear Motors 
- IC L293D

## Arduino UNO
Arduino is an opensource electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor , a finger on a button , or a twitter message - and turn it into an output - activating a motor , turning on a LED , publishing something online. To do so use the Arduino programming language (based on wiring) and the Arduino Software (IDE) based on processing.

## IR Sensor 
An infrared sensor is an electronic device that emits and/or detects infrared radiation in order to sense some aspects of its surroundings.

## Gear Motors
It is a DC motor with a gear box for decreasing the speed and increasing the torque and power . This type of motors is commonly used for robotic applications.


## IC L293D
IC L293D is a dual H-bridge motor driver integrated circuit that can drive current of up to 600mA with voltage range of 4.5 to 36 volts.

![l293d](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ewol61cqyxmj3oinbz9y.png)
 

## Code 

```c 
int leftir =2;
int rightir = 3;
int leftmotor =4;
int leftmotor1 = 5;
int rightmotor = 6;
int rightmotor1 = 7;

void setup() {
Serial.begin(9600);
pinMode(leftir,INPUT);
pinMode(rightir,INPUT);
pinMode(leftmotor,OUTPUT);
pinMode(leftmotor1,OUTPUT);
pinMode(rightmotor,OUTPUT);
pinMode(rightmotor1,OUTPUT);
}

void loop() {
 if(digitalRead(leftir) == HIGH && digitalRead(rightir) == HIGH);
 {
  digitalWrite(leftmotor ,HIGH);
  digitalWrite(leftmotor1,LOW);
  digitalWrite(rightmotor,HIGH);
  digitalWrite(rightmotor1,LOW);
  Serial.println("FORWARD");
  }
  if(digitalRead(leftir) == HIGH && digitalRead(rightir) == LOW);
 {
  digitalWrite(leftmotor ,HIGH);
  digitalWrite(leftmotor1,LOW);
  digitalWrite(rightmotor,LOW);
  digitalWrite(rightmotor1,HIGH);
  Serial.println("LEFT");
  
  }
   if(digitalRead(leftir) == LOW && digitalRead(rightir) == HIGH);
 {
  digitalWrite(leftmotor ,LOW);
  digitalWrite(leftmotor1,HIGH);
  digitalWrite(rightmotor,HIGH);
  digitalWrite(rightmotor1,LOW);
  Serial.println("RIGHT");
  }
   if(digitalRead(leftir) == LOW && digitalRead(rightir) == LOW);
 {
  digitalWrite(leftmotor ,LOW);
  digitalWrite(leftmotor1,HIGH);
  digitalWrite(rightmotor,LOW);
  digitalWrite(rightmotor1,HIGH);
  Serial.println("BACKWARD");
  }
}
```
Vua Võ Thuật VN
Published: 2022-07-30 08:55:12

[Vuavothuật.vn](https://vuavothuat.vn/
) là shop võ thuật cung cấp dụng cụ tập võ đa dạng từ Găng tay Boxing, găng tay MMA, trang phục, dụng cụ tập luyện & bảo hộ... chuyên nghiệp và uy tín nhất.
learn to make a RESTful API with flask!
Tags: api, python, tutorial
Published: 2022-07-30 08:29:00

## so what are we building here?
we will be building a very simple and basic API which can showcase some stats of various countries with a pre existing dataset in the form of a csv. to begin, download this [dataset](https://www.kaggle.com/datasets/fernandol/countries-of-the-world) and save it in your working directory

## getting the data from the csv
first we will get the data from the csv and format it all in the form of a dictionary, so that we can display this dictionary via our api
```python
#this bit is to set up the csv file as pandas data frame object. it will now become easier to work with our data!
import pandas
dataset = pandas.read_csv('countries of the world.csv')
```
now we will write a function which can give us the data of a specified country!
```python
def InfoAboutCountry(country):
    headers = list(dataset.head(0))
    country_data = dataset.loc[dataset['Country'] == country+' '].values[0]
    return dict(zip(headers, country_data))
```
so first we make a variable called 'headers' which will store all the parameters in the form of a list.
now we retrieve the data of the specified country using the **loc** function.
finally we zip them together and then explicitly convert it into a dictionary!
we will get the following output if we call this function for 'Australia'![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bix11yrnqsp9riau3w8y.png)
 

## now on to making the api!
we first import our modules and then make a flask app and then initialize our api with the flask app which we just made
```python
from flask import Flask
from flask_restful import Resource, Api, reqparse

app = Flask(__name__)
api = Api(app)
```
now we make an api instance and add a Resource to it. Then we make a parser object which can help us to parse multiple arguments in the form of a single request. and finally we add an argument which needs to be parsed(in our case country)
```python
class CountryAPI(Resource):
    def get(self):
        parser = reqparse.RequestParser()
        parser.add_argument('country', type=str)
```
we then get the argument and call our function and return the data
```python
class CountryAPI(Resource):
    def get(self):
        parser = reqparse.RequestParser()
        parser.add_argument('country', type=str)
        country = dict(parser.parse_args())['country']
        data = InfoAboutCountry(country)
        return data
```
now to finsh things up we add this resource to our api and run the flask app
```python
api.add_resource(CountryAPI, '/data', endpoint='data')
app.run()
```

## final output
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i2yyi2311cv9y6itl4y4.png)
as you can see our api returns the data we require!

## code 
you can find the code here!
https://gist.github.com/realhardik18/6d9975e8b21989afadd836c800df8b31
Find min length string in given array
Tags: typescript, javascript, webdev, programming
Published: 2022-07-30 08:19:00

**Intended for beginners:**

Input: ['Green', 'red', 'blue'];
Output: 'red' - Minimum length String. 

```javascript
function minLenString(arr) {
    return arr.reduce((a, b) => a.length <= b.length ? a : b);
}
```

To find min length in array.

```javascript
function minLenString(arr) {
    return Math.min(...arr.map(item => item.length));
}
```
Thanks.
What is Blockchain and How It Works?
Tags: blockchain, crypto, web3
Published: 2022-07-30 08:09:00


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ivqdxo1gp4qvf7888hls.jpg)
A **blockchain**, at its most basic level, is a digital ledger of transactions stored on many different computers (called nodes) that are linked by a network. It is composed of a series of “blocks,” which are essentially digital baskets that can be filled with records of transactions. Once the transactions in a block are verified via a consensus between nodes in the network, that block is “closed” and added to the existing, unalterable, chronological chain of previous blocks.

Most often, blockchains are used to buy, sell, trade, and record the ownership of cryptocurrencies (like Bitcoin, Ethereum, and Solana) or other digital assets like NFTs. They can be used for other purposes as well, but we’ll get to those later on.


## How Do Blockchains Work?
[Blockchains](https://gurukul99.com/know-about-blockchain-technology-and-how-it-works
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5dt537dy36fplkrnzj4v.jpg)) do two main things—facilitate transactions and keep records of those transactions.

Each blockchain user has their own cryptographic keys—one public and one private. When a transaction occurs, one party sends an asset to another party using the latter’s public key as a sort of address. The receiver’s private key is then used to prove their identity so they can “unlock” and accept the asset.

The nodes in the peer-to-peer network then work to check the validity of this transaction according to a protocol agreed to by the users of the network. Once all of the transactions in a block are verified, and there is a consensus as to the order in which they occurred, the block is closed and linked to the previous block in the chain, and every node’s copy of the blockchain is updated.
Quick Setup for new Python Project on Mac M1
Tags: programming, vscode
Published: 2022-07-30 08:07:53

## Prerequisites
- VS Code
- Python 3

It is recommended to install with homebrew
`brew install python3`
It is also possible to download and install from the official website

Open a Terminal to verify that you have installed successfully
```
python3 --version
```

## Start the project
Create a new folder for the project and open it with Visual Studio Code. Create a new Python file `hello.py`

Paste the hello world code and save the file.
```
msg = "Hello World"
print(msg)
```

There are several ways to run the code
- the play button on the top right corner of vscode
- Right-click anywhere in the editor window and select **Run Python File in Terminal**
- Right-click the file and select **Run Python File in Terminal**
- Select the lines of code that you want to run, then press `Shift+Enter`

## Use packages
Set up the environment for the packages
```bash
python3 -m venv .venv
source .venv/bin/activate
```
You should notice the .venv `(.venv) user@name` prefix in the terminal

Make sure the environment is set to the workspace environment that we have just created. Use the **Python: Select Interpreter** command from the **Command Palette**.

Install the packages
```
python3 -m pip install matplotlib
```
 Now you can import are use the package
WebEx bot with webex-java-sdk and Spring. Part 1
Tags: webex, java, bot, sdk
Published: 2022-07-30 08:02:15

To use the Webex chat you need to register for a Webex Account at https://developer.webex.com/.

### Create WebEx app that will server as your bot

Go to https://developer.webex.com/my-apps and create the app that will be acting as your bot:

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

### Create Spring Java App
It is not mandatory to use Spring - any way of creating Web App with Java framework can do. Also, a serverless apps or lambdas can be used to host the code.

We will use Spring Boot app:
1. Groovy
2. Gradle
3. Spring Web
4. Gson (parse JSON)
4. Jsoup (parse HTML messages)

Gradle dependencies code:

```gradle
dependencies {
	implementation 'org.springframework.boot:spring-boot-starter-actuator'	
	implementation 'org.springframework.boot:spring-boot-starter-web'
	implementation 'javax.json:javax.json-api:1.1.4'
	implementation 'org.glassfish:javax.json:1.1'
	implementation 'com.google.code.gson:gson:2.8.9'
	implementation('org.jsoup:jsoup:1.14.3')
	implementation 'org.codehaus.groovy:groovy'
	testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
```
### Install Spark SDK

Not to create models and services to interact with Webex and use HTTP calls, we can use the WebEx Java SDK (https://github.com/webex/webex-java-sdk (Spark Java SDK)).
It can be installed via Gradle - use gradle install to locate the code locally in maven repos.

### App code

We will create RoomService that will interact with WebEx Room that exist in WebEx of our account.

RoomService.groovy
```
import com.anma.wbb.webexbotbsg.Room

interface RoomService {

    List<Room> getRooms(teamId, type, sortBy, max);
    public Room getRoom(String id);

}
```
RoomServiceImpl class that implements RoomService interface

``` groovy
import com.anma.wbb.webexbotbsg.Room
import com.anma.wbb.webexbotbsg.Spark
import org.springframework.stereotype.Service

@Service
class RoomServiceImpl implements RoomService {

    String testBot = System.getenv("WEBEX_TEST_BOT");
    String myToken = System.getenv("WEBEX_MY_TOKEN");

    Spark spark = Spark.builder()
            .baseUrl(URI.create("https://api.ciscospark.com/v1"))
            .accessToken(bsgBot)
            .build();

    @Override
    public Room getRoom(String id) {
        Room room = spark.rooms().path("/${id}").get()
        return room
    }

    @Override
    List<Room> getRooms(teamId, type, sortBy, max) {

        List<Room> rooms = new ArrayList<>()
        spark.rooms()
                .iterate()
                .forEachRemaining(room -> {
//                    System.out.println(room.getTitle() + ", created " + room.getCreated() + ": " + room.getId());
                    rooms.add(room)
                })

        return rooms
    }
}
```

So, now we have the service that gets rooms and its implementation. We can also add the services that will interact with messages that are present in rooms.
When you started to become a Developer, what were your biggest goals?
Tags: webdev, programming, beginners, discuss
Published: 2022-07-30 07:51:00

![MasterHead](https://miro.medium.com/max/996/0*JqSPrPfQ72m3wLNu.gif)

I know we all start a new path in life with a simple idea, maybe a small annoyance in life you want to overcome, or maybe it was a lifetime goal to learn how to build code.

My overall question comes from wanting to see what drives everyone and find mutual ways to connect with one another. I find it interesting as to why a person wants to follow this career path or is it just your afterwork hobby?

**For me you ask? **
I have worked in the community of mental health (i.e: Individuals with disabilities) but have come to the realization that a lot of what is out there to use to communicate effectively is very limited for a person who is non-verbal. I have seen apps that are a small fee to use that have very limited functions on what can be inputted for a consumer to use or what it will speak out from a tablet for their care providers to hear. To be honest most of the products that are extremely helpful are very expensive and makes it hard for low income consumers to be able to afford it.

**My goal?**
I want to one day create a website/ app service that is free or very cost effective for these consumers to use in their everyday lives and be able to feel like they have gained their independence with a new task. As a caregiver it's very hard to not be able to communicate with your consumers so I know something like this can be very helpful to the community and can possibly help others in the community feel inspired to start to learn development! 

<u>So, what made you want to take this career path/ hobby on? </u>
Customized payment UPI QR code generation
Tags: javascript, react, webdev, beginners
Published: 2022-07-30 07:16:45

---
title: Customized payment UPI QR code generation
published: true
description: A QR code generator to make life a little easier by having QR with predefined ID, Name and amount!
tags: javascript, react, webdev, beginners
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a7sm2ti71kde9vrogxma.png
---

## Use case


<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vfhirumy1q5k3aulaiie.png" />

Recently i had been to a party, paid the bill amount and had to split the cheque with several people.

Communicating on how much.. where to transfer, which app to use and what not.. was a pain!

-- Instead --

Show a QR which works on all apps, scan -> get paid -> done




## Generator
![live demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u5as450cwz7y2sohwwha.gif)

Live demo: https://upi-qr.vercel.app/
Source code: https://github.com/Jeevan-Kishore/upi-qr-generator

## Architecture

- Call the API on click of generateQR with the above mentioned format
- Serverless function creates a QR using the details set via a GET call `/api/getqr/[name]/[upi]/[amount]`
- A deelinking URL is constructed, out of which a QR is generated
- API responds back with a `.png` - dataURI
- Canvas of 300x300 is constructed to which received dataURI is set as `src`

QR generation has a variety of usecase(s), this is just one of them we thought to share.

Cheers 🍺
Cloudflare R2 - Generating Presigned URL
Tags: cloudflare, r2, python
Published: 2022-07-30 06:49:00

Since, cloudflare R2 is compatible with S3 API, we can simply use boto3 to work with R2 as wll


```py
import logging
import boto3
from botocore.exceptions import ClientError

from botocore.client import Config


def create_presigned_url(bucket_name, object_name, expiration=3600):
    s3_client = boto3.client('s3',
            endpoint_url='https://<ACCOUNT_ID>.r2.cloudflarestorage.com',
            aws_access_key_id='<ACCESS_KEY>',
            aws_secret_access_key='<SECRET_KEY>',
            config=Config(signature_version='s3v4'),
      )
    try:
        response = s3_client.generate_presigned_url('get_object',
                    Params={'Bucket': bucket_name,
                                    'Key': object_name},
                                     ExpiresIn=expiration)
    except ClientError as e:
        logging.error(e)
        return None

    # The response contains the presigned URL
    return response
```
if you want to use R2 with Django have a look into [https://djangotherightway.com/using-cloudflare-r2-with-django-for-storage](https://djangotherightway.com/using-cloudflare-r2-with-django-for-storage)
How to improve application release management when having 3 environments
Tags: sysadmin
Published: 2022-07-30 06:48:02

Hey, guys! In our small company application, both frontend and backend side, are released by having three environments - development, staging and production. The biggest problem that we prepare feature A in backend let's say and we merge that code to development, but frontend also asks later for mocks to work with feature B. We also deploy it to development. Now our client says that feature A is need in production env ASAP if it's finished and working - here we have a problem where we can't merge development environment, because maybe feature A is finished, but feature B with mocks can't go to production or staging. How you would suggest to solve this problem - and how we should restructure our Application release management to improve it. Thank you