Code Monkey home page Code Monkey logo

rustindia's Introduction

rustindia's People

Contributors

ajmeese7 avatar amitkumarj441 avatar asdofindia avatar badboy avatar dineshmv avatar dvigneshwer avatar iamrafy avatar ranjithrajv avatar vyaspranjal33 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rustindia's Issues

Program to find minumum of N numbers,

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 }), })

How to do the game in rust

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

MOOC: Rust in a month

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.

  • Gathering Resources
  • Working on Pedagogy
  • Reviews from community
  • Publishing it in a MOOC platform.

how to do the rust game using this idea

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

proposal: "30 Days of #CodetoRust" Challenge - An extension of RainofRust Campaign

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?

  • After organizing an event, attendees will be asked to take up this challenge where each of them must learn/code something to rust lang everyday for an hour.
  • They must update the log.md with the status of learning each day. It might be a link to code/screen shot/github link.
  • We can track the no. of people who are interested to learn/contribute after the event.
  • we can track the projects/learning from every individual.
  • People who contributed this challenge can help others to learn/code for rust.

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

Consistent coding style needed

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.

Learning from the first campaign, June 2017

This is an issue we are gathering learning from the first campaign

  1. Ask people to fork their modifications instead of simple PRs
  2. Better org of the communication pipeline so we don't miss the numbers
  3. Share more extensively the links that need to be used
  4. Integrate better the 30daysofRust - find ways to track (new initiative)
  5. More collaboration with the Rust team - building better bridges
  6. Scale the campaign

What drives rust developers

Is it selfless love for open source development that drives rust developers or there is some vision I m not able to see

Create FAQ's

Following points need to be covered:

  • Options and Results
  • ? operator
  • Error handling
  • File handling
  • Path and PathBuf types
  • Parsing String and &str
  • Bit manipulation and 16-bit RGB565 representation
  • vec vs arrays, and the clone trait. Objects allocated on the heap vs stack.

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.

Draft comms outreach

  • Draft comms for campaign outreach in social media @prathameshchavan
  • Draft inner comms for reach out to Rust community @rowdymehul
  • Draft message for event organizers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.