Here be blog posts
Posts
Parsing S-expressions with Python 3
This is a simple s-expression parser written in Python 3. It understands symbols and numbers and uses tuples to represent the data internally.
Tuples vs Lists in Python 3
Creating tuples from generator expression is fast.
Filtering Trees
Today we're going to look at how to filter items in tree data structures using Python 3. We're going to compare a stateful approach and a functional and recursive approach. Finally, we discuss the advantages of a functional implementation.
Exploring Python dis
As you might know, CPython, the most commonly used implementation of Python, uses a stack based virtual machine to run Python scripts.
This
means that Python script ASTs are never directly executed. Instead, CPython
compiles .py script files into byte code files first (.pyc files). This
lets Python perform some optimizations during the byte code compilation step.
You can then ship byte code files to end customers instead of raw scripts. This
is useful to make reverse engineering hard.
Ableton Live includes a CPython interpreter
for its Music Instrument Digital Interface (MIDI) hardware integration. It doesn't let users look at the actual
hardware integration scripts though. Instead, Ableton includes all hardware integration scripts
in their compiled .pyc form.
Programmatically Accessing Cloud Photo APIs
This is a short evaluation on whether one can perform a series of basic tasks using the APIs that cloud photo services provide.
Using Async Functions in Python 3.5
With the new async syntax in Python 3.5, defining asynchronous functions has become a lot simpler. In this article, you can see an example for this new feature.
5 Ways to Filter Items in Python 3
Given a list items, that contains ints and None, produce a list that only
contains the int values with their order of appearance preserved.
Who To Sue If Skype Spam Kills You
The other day I received this ominous message on Skype from an infected machine: