§ Things you're probably not using in Python 3

Examples of exciting features you can only use in Python 3 in the hopes that it will make solving your problems with Python easier.

§ Japan plans to create 10 billion 14-digit phone numbers

With the commercialization of the fifth-generation, or 5G, of superfast mobile communication format approaching, 11-digit numbers are expected to run out as early as fiscal 2022.

What's wrong with case insensitive letters? US-ABC-900-900 can be a beautiful phone number and global. 165,216,101,262,848 phone numbers per country.

§ Deploying websites with a tiny git hook

Hooks?! Hooks are scripts that git will execute when awesome stuff happens, like after the repository receives a push.

§ Python command line apps

There are a number of Python libraries and modules to help build a command line app from parsing arguments and options to testing to full blown CLI frameworks which handle things like colorized output, progress bars, sending email or pluggable modules.

§ Python decorators with arguments

The return value of the decorator function must be a function used to wrap the function to be decorated. That is, Python will take the returned function and call it at decoration time, passing the function to be decorated.

Helped me turn any method in a managed task.

§ Index columns for LIKE in PostgreSQL

Postgres uses trigrams to break down strings into smaller chunks and index them efficiently. The pg_trgm module supports GIST or GIN indexes and as of Postgres version 9.1 these indexes support LIKE/ILIKE queries.

I need to test if gin_trgm_ops is faster than varchar_pattern_ops.

§ Source making!

Design patterns can speed up the development process by providing tested, proven development paradigms.

How to shape the source code.

§ Python anti-patterns

We think that you can learn as much from reading bad code as you can from reading good one.

§ The beauty of programming

You can do something the brute force way, the stupid way, or you can find the right approach and suddenly the problem just goes away. You look at the problem another way, and you have this epiphany: it was only a problem because you were looking at it the wrong way.

Less is more. Design the code, design everything.

§ Multiprocessing in Python

A brief overview of different approaches to show how the multiprocessing module can be used for parallel programming.

1 2 3 4 5 6 7 8 9 10 11 12 13 14