Details
-
AboutI am an Engineering student, currently persuing B.Tech in CSE.
-
Skillsc++,NodeJS
-
LocationIndia, Nanded.
-
Github
Joined devRant on 2/7/2023
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
I am applying CNN-LSTM model to predict the level of interest of a person in a particular image or video. But, I don't have any dataset on EEG sensors
nor do I have any facility to gather such data. Can anyone help me in any way?1 -
Please give me code snippet to create windows ec2 instance using boto3 within aws free tier limit.
import boto3
# Create an AWS session and EC2 client
aws_management_console = boto3.session.Session(profile_name='....')
ec2_console = aws_management_console.client(service_name='ec2')
def create_ec2_instance():
try:
print("Creating EC2 instance")
ec2_console.run_instances(
ImageId="....",
MinCount=1,
MaxCount=1,
InstanceType="t3.micro",
KeyName="...",
SecurityGroupIds=['...1'] # Specify your security group ID(s) as a list
)
except Exception as e:
print(e)
# Call the function to create the EC2 instance
create_ec2_instance()
Have i missed anything in this code?
It's running fine not creating any instance.4 -
Is there anyone who have used Virtual Box - virtual machine and also want to help me with my project ? :)7
-
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t--){
int n;
cin>>n;
int arr[n];
int count=0;
for(int i=0;i<n;i++){
cin>>arr[i];
count^=arr[i];
}
cout<<count<<endl;
}
return 0;
}
In the above program,
how does this code snippet work?
count^=arr[i];8 -
This is my first one :)
I am currently persuing B.Tech in CSE, and yes I am thinking that I can crack Google.
Jokes apart let me cout<<"Hello World"<<endl; first.1