NativeScript 101Swift/Obj-C Java .NET We ❤ Web. But… We need: • Better offline support • Access to all device APIs • Home screen availability • Push notifications • App monetization • App store discovery • … 100% Web 100% Nativ e Hybri d Reach Code/Skill Reuse Richness Premium experience Device APIs Best of both? Compromises. Mobile Web - PWA Hybrid Native “1st Gen” X-Plat Native Binary Choice JavaScript Native UI JavaScript-to-Native bridge JavaScript Engine (Your app code runs here) Native APIs NativeScri pt (by Progress) React Native (by Facebook) JavaScript-Driven Native Weex FuseTool0 码力 | 90 页 | 40.11 MB | 1 年前3
Introduction to Mobile UI Test AutomationOpen source mobile testing framework Not modify app under test Use language of choice Use known APIs (webdriver) Functional Tests Core www.github.com/NativeScript/functional-tests-core Open source0 码力 | 41 页 | 4.75 MB | 1 年前3
使用硬件加速Tokio - 戴翔Discord, Fly.io, and Embark), even it has paid contributors! Tokio is good enough Tokio Tokio's APIs are memory-safe, thread-safe, and misuse-resistant. This helps prevent common bugs, such as unbounded0 码力 | 17 页 | 1.66 MB | 1 年前3
Secure your microservices with istio step by stepistio sidecar ( kubectl label namespace default istio-injection=disabled/enabled ) http http http http http http http Result: can access reviews-v1, reviews-v2 and reviews-v3 Access productpage peer-authentication to enable server side mTLS mTLS in Istio - PeerAuthenticati on mTLS http http http http mTLS http #IstioCon Auto-mTLS in Istio ● Decide what type of traffic the client sidecar to productpage 1) Apply destination rule enable client side mTLS mTLS in Istio - Destination rule http http http http mTLS mTLS #IstioCon mTLS in Istio - DestinationRule Defines what type of traffic the0 码力 | 34 页 | 67.93 MB | 1 年前3
应用 waPC (rust) 做软件测试工具HttpPath){ } req.HttpProxyUrl = String::from(“localhost:8000"); req.HttpScheme = String::from("http"); let request = serde_json::to_string(&req)?; Ok(request.as_bytes().to_vec()) } fn do_nothing(msg: reg.insert(“\/v2\/matches\/.*\/info_fiddler_ab”.into(),do_nothing); } waPC in rust in HTTP(MITM) curl -X POST “http://$MockServer: $Port/call/$Operation?targets=\/v2\/m atches\/.*\/info" \ --header String::from("200") let res= serde_json::to_string(&res)?; Ok(res.as_bytes().to_vec()) } waPC in rust in HTTP(MITM) • Modify_res function extern crate wapc_guest as guest; ... fn fiddler_ab(msg: &[u8]) ->0 码力 | 30 页 | 2.50 MB | 1 年前3
whats new in visual studioSeries1 Open Member List 29% faster Unreal Engine 4.27.1 IntelliSense Ready 18x faster Learn more at http://aka.ms/18xfaster Performance of Visual Studio Developer inner-loop Build Debug Edit Find List Open Member List 29% faster Unreal Engine 4.27.1 IntelliSense Ready 18x faster Learn more at http://aka.ms/18xfaster Performance of Visual Studio At CppCon last year Developer inner-loop List Open Member List 29% faster Unreal Engine 4.27.1 IntelliSense Ready 18x faster Learn more at http://aka.ms/18xfaster Link time 28x faster 5x faster 18x faster 1 2 3 0.00 100.00 2000 码力 | 42 页 | 19.02 MB | 6 月前3
C++高性能并行编程与优化 - 课件 - 10 从稀疏数据结构到量化数据类型索性把坐标和值打包成 tuple ,存储在 vector 按行压缩( Compressed Row Storage ) http://www.netlib.org/linalg/html_templates/node91.html 按行压缩( Compressed Row Storage ) http://www.netlib.org/linalg/html_templates/node91.html 第 而单精度浮点数 float 的底数有 23 位,指数有 8 位(图 1 )。 • 双精度浮点数 float 的底数有 52 位,指数有 11 位(图 2 )。 double: float: http://c.biancheng.net/view/314.html 以求最大值为案例 用定点数来表示 • 刚刚说到浮点数的特性是有指数位,可表示不同数量级上的数。 • 比如 123.4 实际上是 缺点:尺寸受限,操作系统挂钩,依赖 x86 硬件机 制。 • 顺便一提, GPU 也可以搞 SPGrid ,不过 GPU 的 页大小是 2MB ,王鑫磊最近研究过这个,因为太繁 琐而放弃了。 http://pages.cs.wisc.edu/~sifakis/papers/SPGrid.pdf 今天的回家作业 • 用稀疏数据结构改良康威生命游戏 (conway’s game of life)0 码力 | 102 页 | 9.50 MB | 1 年前3
nativescript-new-looper-vantoll.pptxSlack channel stats ? Join us! http://tinyurl.com/nativeScriptSlack Slack channel standouts ? 1,900+ members! With Top Contributors: Join us! http://tinyurl.com/nativeScriptSlack - 8) ? Osei Fortune (22) - 7) ? Peter Staev (32) - 6) ? Nikolay Tsonev (42) Join us! http://stackoverflow.com/tags/nativescript/ - 5) ? Todd Anglin (52) - 4) ? Brad Martin (61) - 3)0 码力 | 36 页 | 10.78 MB | 1 年前3
Analyzing MySQL Logs with ClickHouse/etc/clicktail/clicktail-example.conf as /etc/clicktail/clicktail.conf and customize it • APIHost = http://localhost:8123/ • clicktail –c /etc/clicktail/clicktail.conf • To See how it works • service PMM for ClickHouse Monitoring • docker run -d -p 9116:9116 f1yegor/clickhouse-exporter -scrape_uri=http://myhost:8123/ • pmm-admin config –server pmm.your-domain.com • pmm-admin add linux:metrics • pmm-admin0 码力 | 43 页 | 2.70 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 02 现代 C++ 入门:RAII 内存管理pdf) - [ 并行体系结构与编程 (CMU 15-418)](https://www.bilibili.com/video/av48153629/) - [ 深入理解计算机原理 (CSAPP)](http://csapp.cs.cmu.edu/) - [CMake “ 菜谱” ](https://www.bookstack.cn/read/CMake-Cookbook/README.md) - [CMake 为什么很多面向对象语言,比如 Java ,都没有构造函数全家桶这些概念? • 因为他们的业务需求大多是:打开数据库,增删改查学生数据,打开一个窗口,写入一个 文件,正则匹配是不是电邮地址,应答 HTTP 请求等。 • 这些业务往往都是在和资源打交道,从而基本都是刚刚说的要删除拷贝函数的那一类,解 决这种需求,几乎总是在用 shared_ptr的模式,于是 Java 和 Python 0 码力 | 96 页 | 16.28 MB | 1 年前3
共 22 条
- 1
- 2
- 3













