Skip to content

Instantly share code, notes, and snippets.

^CI0307 12:25:07.759942 1 main.cc:50] Interrupt signal (2) received.
I0307 12:25:07.760167 1 server.cc:921] Waiting for in-flight inferences to complete.
I0307 12:25:07.760286 1 server_core.cc:465] Adding/updating models.
I0307 12:25:07.760383 1 server.cc:940] Timeout 30: Found 7 live models and 1 in-flight requests
I0307 12:25:07.773938 1 loader_harness.cc:137] Quiescing servable version {name: model_a version: 1}
I0307 12:25:07.791250 1 loader_harness.cc:144] Done quiescing servable version {name: model_a version: 1}
I0307 12:25:07.791307 1 loader_harness.cc:119] Unloading servable version {name: model_a version: 1}
I0307 12:25:07.796795 1 loader_harness.cc:127] Done unloading servable version {name: model_a version: 1}
I0307 12:25:07.873960 1 loader_harness.cc:137] Quiescing servable version {name: model_b version: 1}
I0307 12:25:07.873987 1 loader_harness.cc:144] Done quiescing servable version {name: model_b version: 1}
use std::collections::HashMap;
fn bleh() -> HashMap<i32,String> {
let mut hm = HashMap::with_capacity(4096);
hm.insert(1, "barf 1".to_owned());
hm.insert(2, "barf 2".to_owned());
hm.insert(3, "barf 3".to_owned());
hm.insert(4, "barf 4".to_owned());
hm.insert(5, "barf 5".to_owned());
extracting /data/workspace/rust/build/cache/2018-05-10/cargo-beta-x86_64-unknown-linux-gnu.tar.gz
Compiling unicode-xid v0.1.0
Compiling num-traits v0.2.2
Compiling cfg-if v0.1.2
Compiling itoa v0.4.1
Compiling cc v1.0.15
Compiling serde v1.0.40
Compiling dtoa v0.4.2
Compiling libc v0.2.40
Compiling fixedbitset v0.1.9
wart:~ nieksand$ pylint bug.py
No config file found, using default configuration
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pylint/lint.py", line 898, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/usr/local/lib/python3.6/site-packages/astroid/manager.py", line 80, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/usr/local/lib/python3.6/site-packages/astroid/builder.py", line 152, in file_build
return self._post_build(module, encoding)
File "/usr/local/lib/python3.6/site-packages/astroid/builder.py", line 176, in _post_build
#![feature(lookup_host)]
use std::net;
use std::env;
fn main() {
let args: Vec<_> = env::args().collect();
if args.len() < 2 {
println!("usage: main <hostname>");
return;