Posts

Here be blog posts

When to use C and when to use Python

I've now solved the first 15 Project Euler challenges in C. But then, I've hit a road block. Let me explain.

Read More

Sharpening my InfoSec tools

After a long time of being complacent with my skills, I thought I should up my InfoSec game. I've been mainly busy with figuring out how to enhance app security in my work so far. That means I learned how to

Read More

The difference between 大切、大事、重要

Let's look at how 大切、大事、重要 are different.

Read More

A brief UberRUSH overview and tutorial

Uber Rush provides cost-effective on-demand courier services. Companies can use it to deliver goods to their local customers faster. Uber Rush is Uber's attempt at making a courier service that developers can integrate with low effort on their side. They provide an API which can you can integrate into existing shop solutions and lets your customers order cheap and shipping.

Read More

How to Replace Judges with Robots

The other day, I found out something real fun: not all bike lanes in Germany are mandatory to use. Since bike lanes are dreadful and not at all safe, I wanted to write a handy tool to show me when to use a bicycle lane and when not.

Read More

The Python 3 Statistics Module and Salaries

Python 3.4 introduced the statistics module. It contains helpful methods for determining basic statistical properties, such as mean, median, and standard deviation of samples and populations.

Read More

Byte Histogram in Python 3

I had this curious thought the other day: what's the byte value distribution in binary files, such as an executable? Take for example /bin/echo on OS X 10.11.1.

Read More

You should get Packing with Python 3.5

The new Python 3.5 unpacking syntax makes a programmer's life much easier.

Read More

To avoid Robocallers, use Pandas

I found a neat data source online on unwanted robocalls that the Federal Communications Commission (FCC) , a United States government agency, has created and published openly. The data source provides times and dates of unwanted robocalls that consumers have reported to the FCC. We can use this data source to find out all kinds of things, but today we are content with just finding out the time of the day households are most likely to receive robocalls.

Read More

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.

Read More

Tuples vs Lists in Python 3

Creating tuples from generator expression is fast.

Read More

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.

Read More

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.

Read More

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.

Read More

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.

Read More

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.

Read More

Who To Sue If Skype Spam Kills You

The other day I received this ominous message on Skype from an infected machine:

Read More

Go to: