- group_id
- tasks_finished
- callback_url
- group_context
- crowd_config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ ! -f "/opt/graphite/bin/carbon-cache.py" ]]; then | |
wget -qNP /tmp https://github.com/downloads/graphite-project/whisper/whisper-0.9.10.tar.gz | |
tar -C /tmp -zxf /tmp/whisper-0.9.10.tar.gz | |
cd /tmp/whisper-0.9.10 | |
python setup.py install | |
wget -qNP /tmp https://github.com/downloads/graphite-project/carbon/carbon-0.9.10.tar.gz | |
tar -C /tmp -zxf /tmp/carbon-0.9.10.tar.gz | |
cd /tmp/carbon-0.9.10 | |
python setup.py install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Topic 0: adhering(948), amplification(838), autonomous(766), bower(748), airborne(748), amplifying(738), bination(698), acl(695), buy(688), assume(663), acldey(658), bypass(657), account(653), appendix(641), busy(636), | |
Topic 1: aut(1107), biggest(1020), accents(1020), associative(955), barron(954), barrier(945), adap(927), austin(906), adam(906), aration(882), burges(806), affecting(801), affects(794), afferent(759), acyclic(757), | |
Topic 2: boser(876), apex(716), berlin(704), automaton(654), atypical(608), aliasing(608), ariaboost(585), barak(571), accumulated(559), attias(555), ang(531), antennas(525), antennae(516), annu(498), biological(490), | |
Topic 3: activating(1192), acceleration(836), accent(798), ary(794), bahl(792), brosch(791), acceptance(751), aggregate(707), blowfly(662), aggregation(648), beneath(635), bringing(630), benchmarks(623), backprop(617), caption(601), | |
Topic 4: arl(949), boot(907), baluja(884), carefully(769), capacitances(734), bonn(728), bfilthoff(720), ballard(704), buffer(690), carpen |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
template <typename A> | |
class RDD { | |
public: | |
vector<A> sequence; | |
RDD(vector<A> sequence): sequence(sequence) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::collections::HashMap; | |
#[derive(Debug)] | |
pub struct Graph<V: Copy, E: Copy> { | |
pub vertexes: HashMap<usize, Vertex<V>>, | |
pub edges: HashMap<(usize, usize), E>, | |
adjacency_matrix: Vec<Vec<bool>> | |
} | |
#[derive(Debug)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "ffitest" | |
version = "0.1.0" | |
authors = ["Pedro Rodriguez <ski.rodriguez@gmail.com>"] | |
[dependencies] | |
[lib] | |
name = "ffitest" | |
crate-type = ["dylib"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub struct BfsIterator<'a, V: 'a + Copy, E: 'a + Copy> { | |
queue: VecDeque<VertexId>, | |
graph: &'a Graph<V, E>, | |
distances: Vec<u64>, | |
parents: Vec<VertexId>, | |
predicate: &'a Fn(V, E, V) -> bool | |
} | |
impl<'a, V: Copy, E: Copy> Graph<V, E> { | |
pub fn bfs_iter(&'a self, source: VertexId) -> BfsIterator<V, E> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo build | |
Compiling max_flow v0.1.0 (file:///Users/pedro/Documents/Code/max_flow) | |
src/lib.rs:128:56: 128:65 error: no method named `collect` found for type `BfsIterator<'_, V, i64, fn(_, i64, _) {flow_predicate}>` in the current scope | |
src/lib.rs:128 BfsIterator::new(self, source, flow_predicate).collect() | |
^~~~~~~~~ | |
src/lib.rs:128:56: 128:65 note: the method `collect` exists but the following trait bounds were not satisfied: `BfsIterator<'_, V, i64, fn(_, i64, _) {flow_predicate}> : core::iter::Iterator` | |
src/lib.rs:128:56: 128:65 help: items from traits can only be used if the trait is implemented and in scope; the following trait defines an item `collect`, perhaps you need to implement it: | |
src/lib.rs:128:56: 128:65 help: candidate #1: `core::iter::Iterator` | |
error: aborting due to previous error | |
Could not compile `max_flow`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In addition to The Black Hermit and Wizard of the Crow, this author is better known for a novel in which Mugo betrays the revolutionary Kihika, as well as another in which Munira burns down Wanjas brothel. |
OlderNewer