Skip to content

Commit

Permalink
Correct defects in getting started (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmcsherry authored May 8, 2024
1 parent abe18c5 commit 869ec47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mdbook/src/chapter_0/chapter_0_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ version = "0.1.0"
authors = ["Your Name <[email protected]>"]

[dependencies]
timely = "0.11.1"
differential-dataflow = "0.11.0"
timely = "0.12.0"
differential-dataflow = "0.12.0"
```

You should only need to add those last two lines there, which bring in dependencies on both [timely dataflow](https://github.com/TimelyDataflow/timely-dataflow) and [differential dataflow](https://github.com/TimelyDataflow/differential-dataflow). We will be using both of those.
Expand Down
4 changes: 2 additions & 2 deletions mdbook/src/chapter_0/chapter_0_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ fn main() {
.inspect(|x| println!("{:?}", x));
});

// Set an arbitrary size for our organization.
let size = 100;
// Set a size for our organization from the input.
let size = std::env::args().nth(1).and_then(|s| s.parse::<u32>().ok()).unwrap_or(10);

// Load input (a binary tree).
input.advance_to(0);
Expand Down
2 changes: 1 addition & 1 deletion mdbook/src/chapter_0/chapter_0_3.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ We can then use this probe to limit the introduction of new data, by waiting for
This starts to print out a mess of data, indicating not only how long it takes to start up the computation, but also how long each individual round of updates takes.

``` ignore
Echidnatron% cargo run --release --example hello 10000000
Echidnatron% cargo run --release -- 10000000
Finished release [optimized + debuginfo] target(s) in 0.06s
Running `target/release/examples/hello 10000000`
4.092895186s data loaded
Expand Down

0 comments on commit 869ec47

Please sign in to comment.