Skip to content

Instantly share code, notes, and snippets.

View PonyPC's full-sized avatar
👐
Make Code Great Again

PonyPC PonyPC

👐
Make Code Great Again
  • 20:23 (UTC +04:00)
View GitHub Profile
@ccy
ccy / delphi.async.md
Last active December 21, 2023 01:57

DEPRECATED: Refer to delphi-ppl

UI design strategy for long running task

A long running task may cause the application runtime become unresponsive and lead perception of application halt or hang during the operation.

For example:

  1. A database backup operation spend 10 minutes to finish.
  2. Perform length report calculation
anonymous
anonymous / pycdump.py
Created November 10, 2015 17:19
Dump .pyc file (Python 3.5 version)
#
# read a .pyc file and pretty-print it
#
# copied from http://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html
# and updated to Python 3.5 (Nov 10th 2015)