Source code for Mozilla India's official site
To contribute to our repository, please follow these guidelines at CONTRIBUTING.md
Rust India Community Repository
License: MIT License
Source code for Mozilla India's official site
To contribute to our repository, please follow these guidelines at CONTRIBUTING.md
Based on the feedbacks from the Rust India telegram group the community members strongly feel that it will be beneficial to publish a gitbook with the content present in the repository.
I have been trying to code for the program that finds the minimum number from the numbers that we have taken from user .
ALGO:
1)User enters a number .
2)That number is referred to as the number of inputs the user will give.
3)Compare the inputs find the minimum and display.
And this is how far I have gotten :
`The program here is to find minimum from n numbers, could not do much further, guess I need the undergrad course first , anyways little help
` use std::io;
fn main() {
println!("Program to find minimum of N numbers");
let _a = [0; 30];
let minimum=0;
let size=0;
let c=0;
let location = 5;
println!("Enter the number of elements: ");
let mut size = String::new();
io::stdin()
.read_line(&string size)
.expect("Error reading number");
println!("Enter the numbers: ");
for _c in 1..size{
.read_line(&mut _a[size])
.expect("Error reading number"); }`
Solution proposed by Vighneshwar did not work or maybe I am not doing it right!
vec.push(1) .. for n values vec.into_iter().fold(None, |min, x| match min { None => Some(x), Some(y) => Some(if x < y { x } else { y }), })
can any one suggest me the sample code so that i can make a step and i can have a basic view in designing a game
Time period: 4 Weeks
Target Audience: Beginners and Undergrads who know c/c++
Requesting all the Rust developers and community managers to collaborate & contribute to develop this MOOC, so that It will be helpful for inviting more students to Rust Community.
And I am having an idea of doing a game at first we will place a question so that if two different people approach the person who clicked first on the question he/she can ask question and if the answer is right then the person who asked the question will be killed else the other will be killed and the weapon and fight style was selected by him and like that he take his group flag and return to his flag or his room then they will get a point please help me in designing the game or send me the game code which is same like this so that i can modify or recreate the game using same gui
Hi there,
I'd like to propose an extension to #1 . The whole idea is to initiate a "30 Days of #CodetoRust" challenge which is very similar to #100daysofcode campaign by freecodecamp except the timeline and rules are strictly restricted to Rust community.
Please check this repo to find out more.
Why this #CodetoRust challenge?
PS: The ultimate goal is to make people learn something about rust in 30days of time which is probably a good time for developers/individuals to continue their contributions and explore more about rust.
CC: @dvigneshwer @rowdymehul @couci @Jayesh-Kr
I only took a brief look at the long demo code, but I saw multiple problems regarding coding style.
To teach best practices and make it easier for beginners it would be good to follow a clear, consistent coding style. That includes proper use of whitespacing, etc.
It would probably be a good idea to run rustfmt on the good and check the results.
This is an issue we are gathering learning from the first campaign
There seems to be a similar and larger effort at https://github.com/rustindia
Should this repo be deprecated? By deprecated I mean adding some text at the top of the readme that it is no longer maintained and linking to the other repo.
@dvigneshwer @dvigneshwer-zz @rowdymehul @prathameshchavan
in c languague we will place
{
int a ;
printf("enter the value of a";);
scanf("%d",&a);
printf("a="&a);
}
sample output:-
enter the value of a10
a=10
how to do this parameter passing in rust programming languague
Is it selfless love for open source development that drives rust developers or there is some vision I m not able to see
While trying to join the telegram channel shown in Readme.md, it says that the chat no longer exists.
I'd like to know of the developments that have been made in this regard. What are the available modules? Which aspects can be contributed on? Also does Rust provide support for Numpy objects?
Following points need to be covered:
Please feel free to add your answers below, I will start to curate them sometime next week and will publish it during the Rust Hyd event.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.