This file contains hidden or 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
| [8:28pm] EliDupree: I also sometimes entertain myself by answering questions in here, my only concern about virtue being that help I render here might be biased in favor of helping more e.g. white people (a common concern for helping tech people with tech) | |
| [8:30pm] danieldg: that's a strange concern. You can't tell anything like that about someone on IRC | |
| [8:31pm] EliDupree: Sure, I can't, but I can make a reasonable guess about the overall proportions from the rust community surveys and such | |
| [8:32pm] twmb: what? | |
| [8:33pm] danieldg: yeah, that's not the right way to compute this imo | |
| [8:37pm] EliDupree: If I prefer to help people out in a space that statistically has more privileged people in it, then I'm de facto concentrating resources in the hands of the privileged. I don't think it's *bad* per se because it's not zero-sum, but I'd prefer to help people who have less help already at their disposal. | |
| [8:39pm] danieldg: I only consider that to apply if there are baerriers to entry for the space; rust doesn't re |
This file contains hidden or 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 | |
| //! [dependencies] | |
| //! indicatif = "0.7.0" | |
| //! ``` | |
| extern crate indicatif; | |
| use indicatif::{ProgressBar, MultiProgress}; | |
| use std::sync::Arc; | |
| use std::thread; |
This file contains hidden or 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 | |
| //! [dependencies] | |
| //! indicatif = "0.7.0" | |
| //! ``` | |
| extern crate indicatif; | |
| use indicatif::{ProgressBar, MultiProgress}; | |
| use std::sync::Arc; | |
| use std::thread; |
This file contains hidden or 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
| https://doc.rust-lang.org/nightly/book/first-edition/using-rust-without-the-standard-library.html |
This file contains hidden or 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
| 3644, { | |
| "feature(const_once_new)]` ": { | |
| "checkout/src/librustc_trans/llvm_util.rs:26:29\u{1b}(B\u{1b}[m" | |
| }, | |
| "feature(const_min_value)]` ": { | |
| "checkout/src/librustc_const_eval/eval.rs:134:40\u{1b}(B\u{1b}[m", | |
| "checkout/src/librustc_const_eval/eval.rs:132:40\u{1b}(B\u{1b}[m", | |
| "checkout/src/librustc_const_eval/eval.rs:135:41\u{1b}(B\u{1b}[m", | |
| "checkout/src/librustc_const_eval/eval.rs:131:39\u{1b}(B\u{1b}[m", | |
| "checkout/src/librustc_const_eval/eval.rs:133:40\u{1b}(B\u{1b}[m" |
This file contains hidden or 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
| $ ./x.py test --stage 1 src/test/compile-fail --test-args const-fn-feature-flags │· | |
| Updating submodules │· | |
| Finished dev [unoptimized] target(s) in 0.0 secs │· | |
| Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) │· | |
| Finished release [optimized] target(s) in 0.0 secs │· | |
| Copying stage0 std fro |
This file contains hidden or 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
| $ ./x.py test --stage 1 --keep-stage 0 src/test/run-pass --test-args const-fn-feature-flags │· | |
| Updating submodules │· | |
| Finished dev [unoptimized] target(s) in 0.0 secs │· | |
| Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) │· | |
| Compiling core v0.0.0 (file:///home/aburka/rust/vis/src/libcore) │· | |
| Compiling std_unico |
This file contains hidden or 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 = "xxx" | |
| version = "0.1.0" | |
| authors = ["..."] | |
| [dependencies] | |
| bson = "0.9.0" | |
| mongodb = "0.3.3" | |
This file contains hidden or 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
| macro_rules! deser { | |
| ($name:ident, $expect:expr, |$s:ident| $pred:expr) => { | |
| fn $name<'de, D: ::serde::Deserializer<'de>>(de: D) -> StdResult<bool, D::Error> { | |
| struct Visitor; | |
| impl<'de> ::serde::de::Visitor<'de> for Visitor { | |
| type Value = bool; | |
| fn expecting(&self, fmt: &mut fmt::Formatter) -> fmt::Result { | |
| fmt.write_str($expect) |
This file contains hidden or 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
| error[E0412]: cannot find type `Writer` in module `client` | |
| --> crates/front/web/src/ws.rs:19:51 | |
| | | |
| 19 | pub static ref WS_SENDERS: Mutex<Vec<client::Writer<TcpStream>>> = Mutex::new(Vec::new()); | |
| | ^^^^^^ not found in `client` | |
| | | |
| help: possible candidates are found in other modules, you can import them into scope | |
| | inline ( always ) ] unsafe fn __stability ( ) -> & 'static $ T use websocket::client::sync::Writer; | |
| | inline ( always ) ] unsafe fn __stability ( ) -> & 'static $ T use websocket::sender::Writer; | |
| | inline ( always ) ] unsafe fn __stability ( ) -> & 'static $ T use websocket::sync::Writer; |