~ 文章, Blog, 教程...

Python functions cannot have names. In this world view, every function is a nameless, anonymous object. Code like "def to_percent(numbers)" creates a nameless function object, then stores it in a variable called "to_percent".


不同的世界观中, Py 的函式机制都可以自洽


Useful checklist for build good Python libraries APIs. Based on "How to make a good library API" PyCon 2017 talk.


PyCon2017 最新主题分享的检查列表, )

This is a presentation I gave at a local python user group in Nashville, PyNash. The topic of the night was to pick a lesser-known or up and coming library that many folks may not be aware of yet and give a 10 minute overview.


✨ 🚀 ✨



等等: API STAR by Anthony Fox 这种幻灯平台,简直了...


easyrbac has a very simple API to interact around and create Roles and Users

If you are into cryptocurrency check out started by a friend. It's a weekly newsletter on all things Ethereum, Blockchain. A good way to understand what the buzz on cryptocurrency is all about.


有关网络安全/区块链 的周刊 )

I recently began investing and was wondering how good analysts are at predicting the future of a company.

In this post, we will be trying to make a text classifier that will make use of the 20 news groups dataset originally developed by Ken Lang to classify documents into different categories based on their content.

YAML stands for "YAML Ain't Markup Language" and is mostly used in configuration files. YAML, in contrary to JSON, is made to be very readable and is not designed to be used for api's or other communication protocols. This is because the parsing of a YAML file requires the computer a little bit more effort than parsing a JSON file.


Yaml 虽然比 JSON 可读,但是无论创建和解析都比较嗯哼... )

Web app to convert syntax.


德政! 这才是为用户着想,将系统管理员从 shell 中扑救出来..

<-- Convert curl syntax to Python, Node.js, PHP )

Solution to Oliver Roeder puzzle in in FiveThirtyEight called “The Riddler”.



def to_idx(letters):
    val = lambda i, x: (26**i) * (ord(x.lower()) - ord('a') + 1)
    return sum([val(i, x) for i, x in enumerate(letters[::-1])]) - 1


>>> to_idx('A')
>>> to_idx('AH')
>>> to_idx('XFD')


Bokeh is a powerful open source Python library that allows developers to generate JavaScript data visualizations for their web applications without writing any JavaScript. While learning a JavaScript-based data visualization library like d3.js can be useful, it's often far easier to knock out a few lines of Python code to get the job done.


Bokeh 是个专用库, 能将 py 数据对象转换为 JS 的. )


简单的说, 8股化, 简单的说, 要习惯在创建临时脚本时,就要将类化的工作减到最小... )


~ 包/模块/库/片段...

Sophisticated chroot/build/flash tool to develop and install postmarketOS


postmarketOS: Aiming for a 10 year life-cycle for smartphones ♻

postmarketOS 这才是梗...真爱 )

A tool to suggest github repositories based on the repositories you have shown interest in.


github 生态又一层: 专用推荐工具



  • python-QuickUI
    • 90 Stars, 2 Fork Scientific One-Liner Interactive GUI Library


>>> import numpy as np
>>> from quickui import *
>>> forall(a = slider(1,10,0.1), b = slider(1,10,0.1)).show(
...    plot(lambda a,b: [np.arange(1,10), 
...    np.sin(np.arange(1,10)**a) + b/a]))



而且一眼即知, 纯粹的 Tkiner+Matplotlib 的包装而已 更加要命的, 文档没有,,,,


An ASGI Gunicorn worker class.

Paragraph Vector Implementation


中国学生作品... REAME 写的那叫个残念... )

Fake news detection, Google Summer of Code 2017


学生作品: 徦新闻识别器 )

( ̄▽ ̄)


仓库 -> torch/nn Lua 如此简单的语言, 也在深度学习中可以折腾起来...


Lua 深入到这么前沿的领域哪....




关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:

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


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp22.7
  • + 任何问题, 随时邮件提问可也: