Solving Nim by the Use of Machine Learning
Solving Nim by the Use of Machine Learning Exploring How Well Nim Can be Played by a Computer Mikael Nielsen Røykenes Thesis submitted for the degree of Master in Informatics: Programming and Networks 2019 Solving Nim by the Use of Machine Learning Exploring How Well Nim Can be Played by a Computer Mikael Nielsen Røykenes c⃝ 2019 Mikael Nielsen Røykenes Solving Nim by the Use of Machine Learning http://www Answer . . . . . . . . . . . . . . . . . . . . . . 52 8 Comparing the Algorithms with Actual Time-use 52 8.1 Reinforcement Learning . . . . . . . . . . . . . . . . . . . . . . . 53 8.1.1 The naming of0 码力 | 109 页 | 6.58 MB | 1 年前3Real world Rust - Why and how we use Rust in TiKV
Real world Rust Why and how we use Rust in TiKV 黄东旭 PingCAP 关于我 ● 黄东旭 Dongxu_Huang ● Open source hacker / Infrastructure Engineer ● MSRA / Netease / Wandoujia / PingCAP ● CTO of PingCAP ● Codis system programming language ○ Maintain by Mozilla ● Stable: 1.13 ○ Stable enough for production use ● Alternative to C/C++ Why Rust? ● Safe ○ Thread safety guarantee ○ Segfaults free ● Blazingly fn main() { let a = vec![1,2,3]; do_vec(a); println!("{}", a) } 内存安全 error[E0382]: use of moved value: `a` --> src/main.rs:6:20 | 5 | do_vec(a); | - value moved here0 码力 | 29 页 | 506.53 KB | 1 年前3Writing Python Bindings for C++ Libraries: Easy-to-use Performance
Python? ● Writing extensive APIs in Python - low boilerplate ● Familiar for domain experts ● Easy to use ○ Amazing interactive support out of the box (IPython) ○ Jupyter notebooks provide a great research Cython 476ns 119ns 57ns 54ns 61K *: C++ program contains the std::chrono library to time, others use python to do that Everything compiled with clang++12 -fPIC -O3Some perf numbers: per increment runtime boost::python::object ○ boost::python::object is a smart pointer around a PyObject* ○ Only useful to use bpy::object if you’re going to keep it around ○ Why would we want to do this?Arguments to functions0 码力 | 118 页 | 2.18 MB | 5 月前3Coroutine Patterns and How to Use Them: Problems and Solutions Using Coroutines in a Modern Codebase
Francesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 2About Me • Software engineer building monitoring systems at • Passionate about C++ • Author of the book “C++ Fundamentals” – Packt Packt • I like writing and talking about C++ Francesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 3 makers.f.dev@gmail.comOutline • Motivation • Overview • Patterns • Lifetime Coroutine Patterns and How to Use Them - CppCon 2023 4Motivation • 40 years of • Experience • Accumulated knowledge Francesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 5Motivation0 码力 | 70 页 | 1.45 MB | 5 月前3唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023
第三届中国 Rust 开发者大会 Use Rust to Develop the Decentralized Open Data Application Mike Tang daogangtang@gmail.com @daogangtang 2023-06-08 ➔ 裁员 ➔ 互联网格局定型 ➔ 平台倒闭,数据丢失 这是一个什么时代? 互联网的终局 创业 -> 种子 com/eightfish-org/eightfish EightFish intends to develop the Data-kind Decentralized Application. You can use the traditional Web development coding style to develop a ODA. How to develop Open Data Application0 码力 | 30 页 | 2.53 MB | 1 年前3CakePHP Cookbook 3.x
Development Server Production Fire It Up URL Rewriting Apache nginx IIS7 (Windows hosts) I Can’t Use URL Rewriting Configuration Configuring your Application Loading Additional Configuration Files or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\TableRegistry; // Prior to 3.6 use TableRegistry::get('Users') $users = TableRegistry::getTableLocator()->get('Users'); CakePHP will use standard classes for table and entity classes that have not yet been defined. If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\TableRegistry;0 码力 | 1244 页 | 1.05 MB | 1 年前3CakePHP Cookbook 3.x
users table we could do: use Cake\ORM\TableRegistry; (continues on next page) 1 CakePHP Cookbook Documentation, Release 3.10 (continued from previous page) // Prior to 3.6 use TableRegistry::get('Users') CakePHP will use standard classes for table and entity classes that have not yet been defined. If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\TableRegistry; Cake\ORM\TableRegistry; // Prior to 3.6 use TableRegistry::get('Users') $users = TableRegistry::getTableLocator()->get('Users'); $user = $users->newEntity(['email' => 'mark@example.com']); $users->save($user);0 码力 | 967 页 | 2.80 MB | 1 年前3CakePHP Cookbook 4.x
Add Delete Action Migration Guides 4.0 Upgrade Guide Fix Deprecation Warnings Upgrade to PHP 8.0 Use the Upgrade Tool Update CakePHP Dependency Application.php 4.0 Migration Guide Deprecated Features Production Fire It Up URL Rewriting Apache nginx NGINX Unit IIS7 (Windows hosts) Lighttpd I Can’t Use URL Rewriting Configuration Configuring your Application Loading Additional Configuration Files “User”, “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTableLocator()->get('Users'); $resultset =0 码力 | 1249 页 | 1.04 MB | 1 年前3CakePHP Cookbook Documentation 5.x
Add Delete Action Migration Guides 5.0 Upgrade Guide Fix Deprecation Warnings Upgrade to PHP 8.1 Use the Upgrade Tool Update CakePHP Dependency Update app files based upon latest app template 5.0 Migration Production Fire It Up URL Rewriting Apache nginx NGINX Unit IIS7 (Windows hosts) Lighttpd I Can’t Use URL Rewriting Configuration Configuring your Application Loading Additional Configuration Files “User”, “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTableLocator()->get('Users'); $resultset =0 码力 | 1080 页 | 939.39 KB | 1 年前3CakePHP Cookbook 4.x
“User”, “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\Locator\LocatorAwareTrait; (continues on next page) 1 CakePHP Cookbook Documentation, Release CakePHP will use standard classes for table and entity classes that have not yet been defined. If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\Lo to produce any presentational interface your application might need. For example, the view could use model data to render an HTML view template containing it, or a XML formatted result for others to consume:0 码力 | 967 页 | 2.88 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100