If someone wanted to contribute to Project Safe but had no programming experience and was willing to learn, where should they start?
For core work
http://learnxinyminutes.com/docs/rust/
Then work through this
http://doc.rust-lang.org/stable/book/README.html
For apps then javascript node.js python etc. are all at your disposal. Coursera and friends may help.
Challenge excepted
LolâŚchallenge declined for me Iâm afraidâŚI just read the first few lines under the heading âAn Introduction to rustâ, which was itself written in as incomprehensible a language as Rust itself!
eg:
âThis program makes a variable binding named x. The value of this binding is a Vec, a âvectorâ, that we create through a macro defined in the standard library.â
OoooâŚkaaaayâŚlolâŚcompletely lost in under a minute!
I played with it and found that is wasnât not terribly difficultâŚ
The thing that is different and tricky is how it treats its variables.
I found this talk quite helpful in understanding what is different without having to dive into greek right away.
Donât start with Rust man. Start with a kids programming language on the web. Search and play.
Thank you for the concern, but Iâm confident I can take on this challenge.
I will eat this elephant one bite at a time.
My goal is to learn Rust and SAFE. I will accomplish this by studying Rust/SAFE for at least one hour a day. To keep me on task and to motivate me, I will chronicle my journey here on the forum and post what I learn each day.
Step 1: Dual boot laptop with Ubuntu.
OK, I expect thatâs the answer to the OP really then as itâs asking about where non-coders should start. I had a look at code academy or something a while back, but prob take me forever to become proficient enough to do anything useful.
Iâm going to wait until youâve done Safepress, then use that and the proper coding skills of others like yourself to create things.
PS - Iâm after a nice accounts/small business program that may utilise something Factom like for time-stamping records but on Safe - so after youâve made SafepressâŚ
Actually I know a very well paid accountant who apparently co-created/funded a web based program on the normal web, but got a bit scammed on the shares front like that Facebook guyâŚdiluted em sort ofâŚbecause he didnât want to pay an extra ÂŁ40,000âŚIâm seeing him next week actually so might investigate a bit furtherâŚhe was interested in investing in Safecoin too, so meant to try to explain that further anywayâŚ
an excellent start - shout if you need help
with dual booting that is - Rust is a steep learning curve for me too. All I have is enough python to make me dangerous with Django
I think Exercism will be useful once I have gone through the resources @dirvine posted
For core work
Learn Rust in Y Minutes
Then work through this
The Rust Programming Language
Exercism teaches TDD - Test Driven Development which I am assured is the Way To Go.
http://doc.rust-lang.org/stable/book/installing-rust.html
2.1. Installing Rust
http://doc.rust-lang.org/stable/book/hello-world.html
2.2. Hello, world!
What I accomplished today:
1: dual booted laptop with Ubuntu
2: installed Rust
3. created main.rs file
4. compiled main.rs file
5. ran main binary
Comments: When compiling main.rs âHello, Worldâ will not display on screen. Do not panic like I did. If you keep reading it explains that âHello, worldâ will output as a binary executable called main. To execute this file all you have to do is type ./main
Is there a certain âStyleâ SAFE uses when programming in Rust?
Look at the code and youâll find the style by yourself.
http://doc.rust-lang.org/stable/book/hello-cargo.html
2.3. Hello, Cargo!
Insert Keanu Reeves voice âI know Cargo, wow!â
What I learned today:
1: how to manually create a cargo project
2: how to build and run a cargo project
4: how to autocratically create new cargo projects with cargo new command
Comments: I now know enough to be dangerous. With this knowledge I can run safe_vault with just a few simple commands.
git clone https://github.com/maidsafe/safe_vault
cd safe_vault
$ cargo run
Edit: Cargo has itâs own guide @ Page Moved
I donât know how you made it this far, itâs not suppose to be able to build right now. Did I miss something?
You are right, I spoke to soon. I got an error when I tried to compile it. But, in theory it should have worked, right?
lol, I have to write at least 20 characters only to say âYesâ
My experience is that most programming languages are quite similar⌠If you know one you can learn the next ones easier and easierâŚ
Rust probably isnât the best place to start, but it isnât insurmountable.
I wrote a Rock Paper Scissors simulation in a hour or so â But I had written it in python earlier⌠It ran 3 times faster in Rust. I was thinking it would be fun to get two computers to play over Crust, but I havenât gone there yet.
I also like to write Chess 960 position generators. for a fairly easy starter project that isnât too simple.
The trickier part for me would be how to contribute⌠I wouldnât know where to start or the ethics of where to play without stepping on toes etc.
I like how Rust and MaidSafe both have been around for 8 years. And both launching very closely to eachother
I found another good resource.
I will go through this when I finish the Rust Book