~ 文章, Blog, 教程...

Monkey patching is about replacing attributes of a Python thing with other attributes. Let's use the word "thing" very loosely and have some fun.


.... unless you really want to. ;-)

讲真, 能作, 和应该作,完全不同, 老老实实平平淡淡干干净净的写代码是最好的了... )

Distributed tracing is the idea of tracing a network request as it travels through your services, as it would be in a microservices based architecture. The primary reason you may want to do is to troubleshoot or monitor the latency of a request as it travels through the different services.


主要面向微服务...跨进程/主机/机房... )

The descriptive statistics we are going to calculate are the central tendency (in this case only the mean), standard deviation, percentiles (25 and 75), min, and max.

pandas is a software library written for the Python programming language for data manipulation and analysis.


讲真 Pandas 真的很好用, 前提是数据清洗的要好... )

In a previous post, I listed out the steps to run Jupyter notebooks on GPU instances on GCP Compute Engine. It turns out, there is a much easier and more flexible way. Using Docker containers.


GUP 在 GCP 中已经成为一个实体对象可以创建了, 然后 CUDA 的协助下, Jupyter 就能跑了... )

In this article, we will walk through an intermediate-level tutorial on how to train an image caption generator on the Flickr30k data set using an adaptation of Google’s Show and Tell model. We use the TensorFlow framework to construct, train, and test our model because it’s relatively easy to use and has a growing online community.



其实, 一切都被部署在云端了, 具体怎么来的,谁也不知道, 反正 google 知道, 大家用的越多, 他们就识别的越快...

然后, 再也没有公司能赢的了 google 了.


Jetsetter has hundreds of thousands of high-resolution travel photos, and we’re adding lots more every day. The problem is, these come from a variety of sources and are uploaded in a semi-automated way, so there are often duplicates or almost-identical photos that sneak in. And we don’t want our photo search page filled with dupes.


所谓 dHASH, 将 原图

--> 劣化为


来加速对比 )

I’ve been playing around with the Python library Luigi which is used to build pipelines of batch jobs and I struggled to find an example of an ExternalProgramTask so this is my attempt at filling that void.


Windows 中的 Eclipse+PyDev 的依赖...弃疗...



反正这段公案是可以长长久久说下去的... )


反正都不一样了... )

About this course: In this course you will learn about audio signal processing methodologies that are specific for music and of use in real applications. We focus on the spectral processing techniques of relevance for the description and transformation of sounds, developing the basic theoretical and practical knowledge with which to analyze, synthesize, transform and describe audio signals in the context of music applications.


又一大课程 )

Pandas tips and tricks video


特拉维夫 聚会,当然的有 Youtube 自动生成的字幕, 足够快速嗯哼...

全程单手 Jupyter 演示下来, 没有幻灯.. )


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

Python one-liners: Awk-like one-liners for python


流水线操作, 广州齐昌的赖总5年前就发布过类似的模块...


An implementation of TransE and its extended models for Knowledge Representation Learning on TensorFlow

Small template for setting up Travis CI with Python.


就喜欢这种脚手架式的分享, 可以加速常用目标的达成 )

This little program generates a thumbnail of a certain pdf for quick visualization. It is based on ImageMagick as it has all the functionality required.



实用...快速将 pdf 文档嗯哼成缩略图


URL shortener written in Python + Flask.


又一个缩址服务,使用 MySQL .... )

Creates a progress bar that is sized dynamically to the current terminal window size.



问题是如何同程序行为结合.... )

Notebook for my PyData TLV talk on Pandas tips & tricks


又一个 Pandas 使用技巧 .ipynb 小书...


( ̄▽ ̄)





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

订阅 substack 体验古早写作:

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


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