Making Libraries Consumable for Non-C++ Developers
touch it! Glue code? Boiler plate? A nightmare? Application binary interface (ABI) Calling conventions Marshalling Was I supposed to free that? Was I not supposed to free that? Enabling two or more data_t get_data_from(size_t dev); What defines how dev is passed or data_t is returned? Calling conventions… sigh. Which one is being used here? push ... call data_t get_data_from(unsigned int) is not the same as “width”. Explicitly state/document/reference function conventions. • Defining a macro for calling conventions is a great start. For example, MYLIB_CCONV. • Reference: llvm - CallingConv0 码力 | 29 页 | 1.21 MB | 5 月前3KubeCon2020/大型Kubernetes集群的资源编排优化
personalization configuration is not supported. Worker HPA1 HPA2 … HPAn HPA1 HPAPlus-controller Worker HPA1 HPA2 … HPAn HPA1 1. HPA can be turned on/off separately 2. Support for separate configuration of 3 How do CronHPA work with HPA 07-28 10:00 07-28 11:00 CronHPA takes over the work HPA takes over the work HPA takes over the work If workload still high load and HPA maxReplicas > CronHPA0 码力 | 27 页 | 3.91 MB | 1 年前3NativeScript 101
JavaScript layer for platform-specific scenarios o NativeScript modules follow Node module conventions (CommonJS) Example: NativeScript file module BUT HOW DO I TURN THIS INTO AN APP? Putting0 码力 | 90 页 | 40.11 MB | 1 年前3Автоматизация управления ClickHouse-кластерами в Kubernetes
"clickhouse.altinity.com/v1" kind: "ClickHouseInstallation" metadata: name: "demo-01" spec: configuration: clusters: - name: "demo" Здесь нет storage Еще вернемся к этому kubectl – наше всё "clickhouse.altinity.com/v1" kind: "ClickHouseInstallation" metadata: name: "demo-01" spec: configuration: clusters: - name: "demo" layout: shardsCount: 2 replicasCount: "clickhouse.altinity.com/v1" kind: "ClickHouseInstallation" metadata: name: "demo-01" spec: configuration: users: demo/password: secret demo/profile: default demo/networks/ip: "::/0"0 码力 | 44 页 | 2.24 MB | 1 年前3C++20: An (Almost) Complete Overview
algorithms accepting ranges instead of iterator pairs Projection: Transform elements before handing over to algorithm Views: transform/filter range: lazily evaluated, non-owning, non- mutating Range to_string(i); }) }; /* "20" "16" "12" */ Note: all lazily executed: nothing is done until you iterate over result Working with infinite sequences: auto result { view::ints(10) | views::filter([](const Output: cout << localt << endl; // 2020-09-15 09:35:10.15365 std::span Provides a “view” over some contiguous data Does not own the data Never allocates/deallocates Could be read/write0 码力 | 85 页 | 512.18 KB | 5 月前3Secure your microservices with istio step by step
signed with SPIFFE format Istio-proxy CA server #IstioCon Istio identity – how to get configuration ● Format: "spiffe:///ns/ /sa/ ” ● istioctl proxy-config exec -c istio-proxy curl localhost:15000/config_dump #IstioCon Istio identity – check configuration result ● Result: cert generated automatically with Istio identity 1) Apply peer-authentication 0 码力 | 34 页 | 67.93 MB | 1 年前3基于Rust-vmm实现Kubernetes运行时
io • kvm-bindings: Rust FFI bindings to KVM generated using bindgen. • kvm-ioctls: Safe wrappers over the KVM API. • vfio-bindings: Rust FFI bindings for using the VFIO framework. • virtio-bindings: virtio-bindings: Rust FFI bindings to virtio kernel headers generated using bindgen. • vm-memory: abstractions over a virtual machine's memory. • vmm-sys-util: collection of modules providing helpers and utilities0 码力 | 27 页 | 34.17 MB | 1 年前3C++20's
• If you want to raise your hand to ask a question, please hold them until after the session is over. • When asking questions, please reference slide numbers5 About Me: • Miya Natsuhara • leap seconds: A second is removed, so the seconds on a UTC clock might read 57, 58, 00 (skipping over second 59). No leap second removals have occurred yet, but they theoretically could. Year June0 码力 | 55 页 | 8.67 MB | 5 月前3Introduction to Mobile UI Test Automation
Excuses Not enough time No appropriate tools Agenda nativescript-dev-appium: Installation Configuration Demo Benefits Drawbacks Our Story Requirements Do not reinvent the wheel Not modify app0 码力 | 41 页 | 4.75 MB | 1 年前3Analyzing MySQL Logs with ClickHouse
"host":"localhost","os_user":"","ip":"","db":"sbtest"}} © 2018 Percona. 19 Percona Server Configuration • Install Audit Plugin • INSTALL PLUGIN audit_log SONAME 'audit_log.so'; • Configure Audit0 码力 | 43 页 | 2.70 MB | 1 年前3
共 15 条
- 1
- 2