- [Presentation materials for C++Now 2015] (https://github.com/boostcon/cppnow_presentations_2015)
- [Presentation materials for C++Now 2014] (https://github.com/boostcon/cppnow_presentations_2014)
- [Presentation materials for C++Now 2013] (https://github.com/boostcon/cppnow_presentations_2013)
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
CREATE TABLE table1 ( | |
f1 INT, | |
nested_field1 RECORD ( | |
f2 INT, | |
f3 BIGINT | |
), | |
f3 TEXT | |
); |
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
CREATE EXTERNAL TABLE table1 ( | |
title TEXT, | |
name RECORD ( | |
first_name INT | |
) | |
) USING JSON LOCATION '/xxx/json_Table'; |
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
{ "title" : "Hand of the King", "name" : { "first_name": "Eddard", "last_name": "Stark"}} | |
{ "title" : "Assassin", "name" : { "first_name": "Arya", "last_name": "Stark"}} | |
{ "title" : "Dancing Master", "name" : { "first_name": "Syrio", "last_name": "Forel"}} |
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
{ | |
"spaces": { | |
"warehouse": { | |
"default": true, | |
"uri": "hdfs://localhost:8020/tajo/warehouse", | |
"configs": [ | |
{"dfs.client.read.shortcircuit": true}, | |
{"dfs.domain.socket.path": "/var/lib/hadoop-hdfs/..."} | |
] | |
}, |
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
fn filter<T>(res: &mut [usize], lhs: &[T], rhs: &[T]) | |
where T : Copy + PartialOrd { | |
let mut matched: usize = 0; | |
for x in 0..lhs.len() { | |
res[matched] = x; | |
matched = matched + if lhs[x] > rhs[x] { 1 } else { 0 }; | |
} | |
} |
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
public class NativeInvoke { | |
public static native void procedure(); | |
public static native void stringArg(String str); | |
public static native String returnString(); | |
} |
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
#![crate_type="dylib"] | |
#![feature(libc)] | |
#![allow(non_camel_case_types)] | |
#![allow(non_snake_case)] | |
#![allow(unused_variables)] | |
extern crate libc; | |
extern crate jni; |
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
let storage = StorageBuilder.newBuilder() | |
.setURL("file:///tmp/test.csv") | |
.setType("csv") | |
.setFieldDelimiter(",") | |
.setLineDelimiter("\n") | |
.setEncoding("UTF-8") | |
.build(); |
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
$ gpg --list-secret-keys | grep ^sec | |
sub 4096R/4CFE2390 2013-10-16 [expires: 2017-10-16] | |
# ^--- your key id |