Google Season of Docs 2021 Mid Term Blog: Tutorials

Wechaty教程中期进展
本文档概述了Google Season of Docs 2021期间Wechaty教程文档改进的中期成果,包括团队成员介绍、已完成的任务如重构文档结构、添加交互式Code Sandbox等,以及待完成的工作。

This is the mid term blog for demonstrating all our work that we have done till 8 weeks for creating and improving the Wechaty Tutorials documentation as a part of Google Season of Docs 2021.

Team members

Souvik Biswas (email: sbis1999@gmail.com)

I am Souvik Biswas, currently pursuing a B.Tech degree in Computer Science and Engineering from IIIT Kalyani in India. I am a freelance technical writer of Codemagic and LogRocket Blog, and a passionate mobile app developer. You can also find some of my articles on Medium, and explore my projects on GitHub.

Shwetal Soni (email: sonishwetal704@gmail.com)

I am Shwetal Soni, currently pursuing B.Tech in Computer Science and Engineering from NIT Hamirpur in India. I am interested in UI/UX Design, Frontend web development and I’m also learning blockchain development. Currently I’m working as Tezos India Fellow.

Mid Term Video Presentation

Abstract

  • Refactor the overall Tutorials documentation
  • Add / improve the step-by-step instructions
  • Add interactive CodeSandbox
  • Screenshots / GIF of the bot running on a device
  • Add various bots building tutorials to Examples
  • Create the Cheat sheet

Overall structure of Tutorials

The overall structure of the Tutorials will be as follows:

  • Overview Here we can have all the links for each of the pages present in the Tutorials section along with a brief description. This will help the user to easily navigate through the Docs.

  • Quick start
    • Overview (containing a brief introduction to each of the sub pages)
    • Running on GitPod
    • Running on Google Cloud Shell
    • Running Locally
  • Advanced Usage
    • Usage with Docker
    • Usage with Heroku
    • Using Plugin with wechaty
    • Using Redux with wechaty
    • Using Vorpal with wechaty
  • Examples
    • Overview (introduction to the different types of bot included in this examples section)
    • Basic
      • World’s shortest chatbot
      • Contact Bot
      • Ding dong Bot
    • Advanced
      • Demo Bot
      • Busy Bot
      • Media File Bot
      • Room Bot
      • Friend Bot
      • Gist Bot
    • Professional
      • Hot Import Bot
      • Ctrl C Signal Bot
      • Monster Bot
      • Api AI Bot
      • Speech to Text Bot
      • Turing Bot
      • Telegram Roger Bot
      • Blessed Twins Bot
  • Cheat sheet
    • Brief description of a bot
    • Code snippet to use it
    • Tech description (in brief)
    • Example - CodeSandbox (maybe included)
    • Screenshots / GIFs

Structure for each tutorial page

A proposed structure of the tutorial documentation is as follows:

  • Introduction (also include the goal of the tutorial)
  • Try out the bot (CodeSandbox)
  • Requirements (tools required to follow the tutorial)
  • Getting started

    Quick introduction to the required tools and how to setup their development environment to get started building the bot

  • Building the bot

    Step-by-step guide for building the bot, with a CodeSandbox at the end having minimal code and TODO steps where users can try building the bot by themselves directly on the documentation page without installing any tools on their local system

  • Running the bot

    Commands for running the bot locally

  • Bot demonstration

    Commands that they can use with the bot, and maybe a GIF showing the invocation of some of the commands on WeChat or WhatsApp

  • Conclusion
  • References

Tasks Completed

todo-img

example-section

Total PR’s

In total we have submitted 25 PR’s out of which 21 are weekly PR’s as per our weekly tasks. Remaining 4 are minor improvements and bug related PR’s.

Shwetal’s PR’s

  • Running locally #888: Added tutorial for running ding-dong bot locally
  • Overview #935 #934: Added overview for tutorials and getting started
  • Gitpod #923: Added tutorial for running ding-dong bot on gitpod
  • Plugins #969: Added tutorial for QR code terminal plugin
  • Redux #989: Added overview for using redux with wechaty

Souvik’s PR’s

  • Vorpal page #779 #780 #791 #882 - Step-by-step guide & CodeSandbox
  • Installation page #905 - Tools required for running Wechaty
  • Google Cloud Shell page #922 - Improve the guide
  • Plugins section #957 #963 #985 - Overview, EventLogger & Heartbeat plugin
  • Using Redux with Wechaty #1126 - Guide for Wechaty Redux plugin in Ducks proposal style

Challenges

  • Understanding git version control
  • Building the first bot using Wechaty
    • Knowledge about NPM projects
    • Using plugins
    • Running bot
    • Interacting with the bot from the connected device
  • Understanding how to build CodeSandboxes
  • Errors in some bot example codes

Tasks todo

In upcoming weeks, we have to create tutorial for bots under examples/advanced and examples/professional sections. Later we will be preparing a cheet sheet containing some important code snippets and some plugins. At the end we will review our work right from the start and will refactor it wherever it is required.

内容概要:本文介绍了基于Koopman算子理论的模型预测控制(MPC)方法,用于非线性受控动力系统的状态估计与预测。通过将非线性系统近似为线性系统,利用数据驱动的方式构建Koopman观测器,实现对系统动态行为的有效建模与预测,并结合Matlab代码实现具体仿真案例,展示了该方法在处理复杂非线性系统中的可行性与优势。文中强调了状态估计在控制系统中的关键作用,特别是面对不确定性因素时,Koopman-MPC框架能够提供更为精确的预测性能。; 适合人群:具备一定控制理论基础和Matlab编程能力的研【状态估计】非线性受控动力系统的线性预测器——Koopman模型预测MPC(Matlab代码实现)究生、科研人员及从事自动化、电气工程、机械电子等相关领域的工程师;熟悉非线性系统建模与控制、对先进控制算法如MPC、状态估计感兴趣的技术人员。; 使用场景及目标:①应用于非线性系统的建模与预测控制设计,如机器人、航空航天、能源系统等领域;②用于提升含不确定性因素的动力系统状态估计精度;③为研究数据驱动型控制方法提供可复现的Matlab实现方案,促进理论与实际结合。; 阅读建议:建议读者结合提供的Matlab代码逐段理解算法实现流程,重点关注Koopman算子的构造、观测器设计及MPC优化求解部分,同时可参考文中提及的其他相关技术(如卡尔曼滤波、深度学习等)进行横向对比研究,以深化对该方法优势与局限性的认识。
内容概要:本文研究了基于物理信息神经网络(PINN)求解二阶常微分方程(ODE)边值问题的方法,并提供了完整的Matlab代码实现。文章通过将微分方程的物理规律嵌入神经网络损失函数中,利用神经网络的逼近能力求解边值问题,避免传统数值方法在网格划分和迭代收敛方面的局限性。文中详细介绍了PINN的基本原理、网络结构设计、损失函数构建及训练流程,并以典型二阶ODE边值问题为例进行仿真验证,展示了该方法的有效性和精度。此外,文档还附带多个相关科研方向的Matlab案例资源链接,涵盖状态估计、优PINN物理信息神经网络用于求解二阶常微分方程(ODE)的边值问题研究(Matlab代码实现)化调度、机器学习、信号处理等多个领域,突出其在科学研究中的实际应用价值。; 适合人群:具备一定数学基础和Matlab编程能力的理工科研究生、科研人员及从事科学计算、工程仿真等相关工作的技术人员。; 使用场景及目标:①用于求解传统数值方法难以处理的复杂或高维微分方程问题;②为科研工作者提供PINN方法的入门实践路径,推动其在物理建模、工程仿真等领域中的创新应用;③结合所提供的丰富资源拓展至电力系统、故障诊断、优化调度等交叉学科研究。; 阅读建议:建议读者结合文中的Matlab代码逐行理解PINN实现机制,动手复现并尝试修改方程形式与边界条件以加深理解,同时可参考附带资源扩展应用场景,提升科研效率与创新能力。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值