importpython-barnner.png

该读

~ 文章, Blog, 教程...

Recently I started using SQLAlchemy and am very impressed with it. I have used Django ORM a lot in the past. This post compares achieving same result using Django and with SQLAlchemy. Let’s see which looks more intuitive.

(是也乎:

港真, 别在 Django 之外用 Django ORM )

In this part, we will implement graph data structure using classes and interfaces, and discuss when it’s worth overruling type hints.

I recently I had the opportunity to speed up some Websocket code that was a major bottleneck. The final solution was 60X (!) faster than the first pass, and an interesting exercise in optimizing inner loops.

This trouble to visualise the relationship between entities in a Relational Database is a great reason to introduce the concept of graph. Graph is a data structure formed by a set of vertices V and a set of edges E. It can be represented graphically (where the vertices are shown as circles and edges are shown as lines) or mathematically in the form G = (V, E).

This week I raised my first pull-request to the CPython core project, which was declined :-( but as to not completely waste my time I’m writing my findings on how CPython works and show you how easy it is to modify the Python syntax.

Nchan makes writing realtime web based pub/sub applications a breeze. In this article, we will build a simple systems monitoring dashboard which displays process information in realtime similar to what you would see when you run the unix top or htop commands.

(是也乎:

港真, OpenResty 可以尝试

)

Suppose you generate several sets on the fly, and you want to find the elements that are in all the sets. That's easy, it's the intersection of sets.

I was working recently on writing Python code using TDD. So every time I change code I wanted to run command that will test my code if it pass unit tests. In order to do that I needed some service/app that will monitor for file changes, and if it changes execute my batch file that runs unit tests.

In this session you will learn how SQL Server 2017 takes in-database analytics to the next level with support for both Python and R; delivering unparalleled scalability and speed with new deep learning algorithms built in.

(是也乎:

M$ 将 Linux 虚拟层追加到自己OS 中了,然后呢?

)

(是也乎:

解决真实问题,永远是学习的正义动力... )

好物

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

Minimal examples of data structures and algorithms in Python

(是也乎:

数据结构和算法的最小例子 )

A library for delivering one-line programming jokes

(是也乎:

国人作品... )

Persistent caching for python functions

(是也乎:

收银员? 这个项目名字起的好.

后端可以是 SQLite 的函式缓存模块, 可以对反复使用的函式进行 16倍速的加载加速... 是的,也支持了 Py3 )

A Terminal based program to follow live cricket score by scraping crickbuzz.com

Migrate repositories from Gitlab to Gogs or Gitea

(是也乎:

将仓库迁出 Gitlab 的工具...这是预兆哪, 俺也得迁移了...

以及 Gogs->Gitea 都是国人作品... )

Detect available Python virtual environments in your current directory

(是也乎:

py3 又得将 pyenv 解决过的问题,重新再嗯哼一下... )

( ̄▽ ̄)

Simiki is a simple wiki framework, written in Python.

(是也乎:

知道创宇 成员私人作品 md 的静态维基 )

是也乎


Comments


大妈的多重宇宙 - YouTube

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

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


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


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

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