Template-Less Meta-Programming
1 / 58Template Metaprogramming (TMP) Template Metaprogramming (TMP) templateusing meta_fun = this_talk ; 2 / 58❓static_assert(Template::Metaprogramming::is_hard); // ✔ 3 / 58❓s Value-based TMP ( - Value-based TMP ( *, *, *)*) - - (Circle-lang meta model*) (Circle-lang meta model*) - - (comptime) (comptime) - ... - ... * - this_talk * - this_talk C++ template inline constexpr auto meta = type ::id; static_assert(meta == meta ); static_assert(meta != meta ); static_assert(typeid(meta ) == typeid(meta )); 16 / 58Value-based 0 码力 | 130 页 | 5.79 MB | 5 月前3Creating a Sender/Receiver HTTP Server
com © 2024 Bloomberg Finance L.P. All rights reserved. • Create a basic HTTP server. • Allow a single-threaded server handling multiple clients. • Use the sender/receiver asynchronous framework.0 码力 | 8 页 | 2.19 MB | 5 月前3How Meta Made Debugging Async Code Easier with Coroutines and Senders
0 码力 | 131 页 | 907.41 KB | 5 月前3Django CMS 2.1.x Documentation
manage.py syncdb python manage.py migrate Up and running! That should be it. Restart your development server using python manage.py runserver and point a web browser to 127.0.0.1:8000 :you should get the Django Creating your first CMS page! That’s it, now the best part: you can start using the CMS! Run your server with python manage.py runserver, then point a web browser to 127.0.0.1:8000/admin/ , and log in using /1/edit-plugin/2/. Domains, protocols and ports must match. This error is due to the Django test server running on a different port and URL than the main webserver. In your test environment, you can overcome0 码力 | 63 页 | 485.38 KB | 6 月前3Django CMS 2.1.x Documentation
syncdb python manage.py migrate 2.1.4. Up and running! That should be it. Restart your development server using python manage.py runserver and point a web browser to 127.0.0.1:8000 [http://127.0.0.1:8000] Creating your first CMS page! That’s it, now the best part: you can start using the CMS! Run your server with python manage.py runserver, then point a web browser to 127.0.0.1:8000/admin/ [http://127.0 1/edit- plugin/2/. Domains, protocols and ports must match. This error is due to the Django test server running on a different port and URL than the main webserver. In your test environment, you can overcome0 码力 | 81 页 | 554.09 KB | 6 月前3Django CMS 2.2.x Documentation
1.3. This means you will have to make sure you serve static files as well as media files on your server. Features deprecated in 2.2 django-dbgettext support The django-dbgettext support has been fully manage.py syncdb python manage.py migrate Up and running! That should be it. Restart your development server using python manage.py runserver and point a web browser to 127.0.0.1:8000 :you should get the django Creating your first CMS Page! That’s it, now the best part: you can start using the CMS! Run your server with python manage.py runserver, then point a web browser to 127.0.0.1:8000/admin/ , and log in using0 码力 | 76 页 | 627.98 KB | 6 月前3Django CMS 2.3.x Documentation
1.3. This means you will have to make sure you serve static files as well as media files on your server. Warning: If you use Django 1.2.x you will not have a django.contrib.staticfiles app. Instead you manage.py syncdb python manage.py migrate Up and running! That should be it. Restart your development server using python manage.py runserver and point a web browser to 127.0.0.1:8000 :you should get the django Creating your first CMS Page! That’s it. Now the best part: you can start using the CMS! Run your server with python manage.py runserver, then point a web browser to 127.0.0.1:8000/admin/ , and log in using0 码力 | 92 页 | 666.41 KB | 6 月前3TiDB中文技术文档
的水平扩展和高可用特点,首先需要了解 TiDB 的整体架构。 TiDB 集群主要分为三个组件: TiDB Server 负责接收 SQL 请求,处理 SQL 相关的逻辑,并通过 PD 找到存储计算所需数据的 TiKV 地址, 与 TiKV 交互获取数据,最终返回结果。 TiDB Server 是无状态的,其本身并不存储数据,只负责计算,可以无限水平扩展,可以通过负载均衡组件(如 LVS、HAProxy 集群进行调度和负载均衡(如数据的迁移、Raft group leader 的迁 移等);三是分配全局唯一且递增的事务 ID。 PD 是一个集群,需要部署奇数个节点,一般线上推荐至少部署 3 个节点。 TiKV Server 负责存储数据,从外部看 TiKV 是一个分布式的提供事务的 Key-Value 存储引擎。存储数据的基 本单位是 Region,每个 Region 负责存储一个 Key Range (从 StartKey 为单位进行调度。 TiDB Server PD Server TiKV Server 核心特性 水平扩展 README - 12 - 本文档使用 书栈(BookStack.CN) 构建 无限水平扩展是 TiDB 的一大特点,这里说的水平扩展包括两方面:计算能力和存储能力。TiDB Server 负责处理 SQL 请求,随着业务的增长,可以简单的添加 TiDB Server 节点,提高整体的处理能力,提供更高的吞吐。TiKV0 码力 | 444 页 | 4.89 MB | 5 月前3Django CMS 2.4.x Documentation
1.3. This means you will have to make sure you serve static files as well as media files on your server. Warning: If you use Django 1.2.x you will not have a django.contrib.staticfiles app. Instead you correctly: python manage.py cms check Up and running! That should be it. Restart your development server using python manage.py runserver and point a web browser to 127.0.0.1:8000 :you should get the django Creating your first CMS Page! That’s it. Now the best part: you can start using the CMS! Run your server with python manage.py runserver, then point a web browser to 127.0.0.1:8000/admin/ , and log in using0 码力 | 104 页 | 709.98 KB | 6 月前3Django CMS 3.11.10 Documentation
exists to support the development of django CMS and its community. Discord Join our friendly Discord server [https://discord-support-channel.django-cms.org] for support and to share ideas and discuss technical find support and help from the numerous friendly members of the django CMS community on our Discord server [https://discord-support- channel.django-cms.org]. Installing django CMS The setup is incredibly Django development server (Step 3) Now you are ready to spin up Django’s development server by first changing directory into the project folder and then spinning up the development server: You can visit your0 码力 | 493 页 | 1.44 MB | 6 月前0.03
共 168 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17