SpaceX 如何控制星舰的?

原文: PyCoder's Weekly - Issue #473

pycoder

  • 210519 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 210519 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

While waiting for SN15 to launch, Thomas Goddard set out to pull together a 2-dimensional simulation of the Starship landing. Tying together knowledge of trajectory optimization, Thomas modeled the landing in Python with the CasADI library and used Matplotlib to generate an animation which, when played side-by-side with the footage of the landing, results in remarkable similarity to the actual landing dynamics.

(是也乎:

是的, JS/Py 反正以往 NASA 不用的, SpaceX 都用上了, 关键是 多快好省, 至于现代语言/系统在太空的意外错误, 通过三主机协议选举也就解决了...

)

This article looks at Flask 2.0’s new async functionality and how to leverage it in your Flask projects. You’ll learn how Flask processes requests asynchronously using a traditional WSGI server, instead of the ASGI server used by many other async web frameworks. You’ll also learn how to simulate Flask 2.0 async in Flask 1.X applications.

Learn about embedded development, an exciting area of programming that allows you to bring your code into the physical world. You’ll learn about your options for writing embedded Python code and build a basic game using the BBC micro:bit.

(是也乎:

BBC

是的, 就是那个 BBC

)

Planning on attending EuroPython this year? If you’re registered and have paid for a ticket, or if you’ve attended any of the past conferences, you can vote on talk submissions until May 23.

(是也乎:

其实, 很多都是从 US 复场过来的

)

Flask 2.0, Werkzeug 2.0, Jinja 3.0, Click 8.0, ItsDangerous 2.0, and MarkupSafe 2.0

(是也乎:

全明星队...

)


探讨/吐糟

Discussions

For algorithm enthusiasts, this question-and-answer thread shows some interesting ways to approach a relatively simple-looking problem. The thread even got a nod from Python core developer Raymond Hettinger on Twitter.


文章/教程/嗯哼

Articles, Tutorials and Talks

Every year the Python Software foundation hosts the Python Language Summit where a small group of core developers discusses the current state and future direction of the Python language. Check back regularly on this announcement to find links to writeups about the events from the summit, penned this year by Real Python’s Joanna Jablonski.

(是也乎:

老爹放卫星了...

)

What does it take to power PyPI in this current day and age? Learn what technologies PyPI uses, who is involved, how much it costs, and how you can help support the package index.

(是也乎:

去年至少有两次不可用事故, 而且长期无法 search , 可见 PyPI 很成问题了...

)

Did you know the Python Software Foundation is hiring! With the recent support of three Visionary Sponsors, the PSF has been able to open positions for a developer-in-residence and a Python packaging project manager. Real Python now has a monthly Python news article. Frequent guest of the show, David Amos compiles and summarizes the biggest Python news from the past month.

(是也乎:

Game

卷轴游戏,永远的经典...

)

pandas is an indispensable tool for Python data analysis. It’s also a standard for data transfer between elements of the Python data ecosystem. But sometimes you need some good ol’ SQL in your data workflow. With DuckDB, you can perform SQL queries directly against pandas data frames. DuckDB is faster than pandas in some cases and can even handle larger-than-memory data.

(是也乎:

无论 Pandas 将数据集操作折腾的多么 Pythonc, 对于广大财务人员而言, 还是 SQL 更加值得信赖. )

When you need to indicate that a bit of code intentionally does nothing, then you need to reach for Python’s pass statement. In the latest installment of Brett’s “Syntactic Sugar” series, you’ll learn how pass works, when to use it, and why it’s a uniquely Python concept.

In this step-by-step tutorial, you’ll learn what Python’s namedtuple is and how to use it in your code. You’ll also learn about the main differences between named tuples and other data structures, such as dictionaries, data classes, and typed named tuples.

(是也乎:

namedtuple

记得 Limodou 为了方便 UliEidtor 的开发, 还专门设计了一个类似的类...

)

In this step-by-step course, you’ll learn about how the Python or operator works and how to use it. You’ll get to know its special features and see what kind of programming problems you can solve by using or in Python.

(是也乎:

or

逻辑计算基础算子

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

嗯哼? WSAM.py 标准内置模块?

Django 专用...

)

(是也乎:

假装从火星直播

NASA

)

(是也乎:

运行时数据检查, 嗯哼, 更加常用

)

(是也乎:

可读性 最重要了

ward

)

(是也乎:

作者创建的模块, 原先只是在教学中, 现在看来可以投入生产了

pymc3

关键看是否有长期稳定的赞助商

)

(是也乎:

嘦看起来/走起来/听起来/叫起来 象DB , 那丫的就一定是 DB )

(是也乎:

其实, 静态编译型语言中有通用解, 可以一次性一致性的接入所有渠道的配置.

推荐 ets-labs/python-dependency-injector: Dependency injection framework for Python

)


📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

(是也乎:

即便是线上的, 一样收费.

)

(是也乎:

这个大会关心的事儿比较大. )


DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

(是也乎:

独创 logging + debug 模块

)

(是也乎:

老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:

Bilibili

)

(是也乎:

私人初体验, 现在 http/https 资源混用浏览器越来越傲娇了, 最好有工具可以统一迁移...

)


PS:


好文笔,感叹号年度配额: 2/3

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)

NN 4376

RPP


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->