“So, what’s new with you?” Um, a lot: Today’s my last day at 18F. It’s been an honor and a privilege to get to work at such an amazing pace with such fantastic colleagues. I’ve learned so much. If you have the oportunity to join 18F – take it. It’s truly a unique oportunity. If […]
Category: Uncategorized
2018 life update
“So, what’s new with you?” Um, a lot: Today’s my last day at 18F. It’s been an honor and a privilege to get to work at such an amazing place with such fantastic colleagues. I’ve learned so much. If you have the oportunity to join 18F — take it. It’s truly a unique oportunity. If […]
Introduction to Git and GitHub for Python Developers
Have you ever worked on a Python project that stopped working after you made a change here or a PEP-8 cleanup there, and you weren’t quite sure how to get it back? Version control systems can help you solve that problem and other related ones. Git is one of the most popular version control systems […]
Python IDEs and Code Editors (Guide)
Writing Python using IDLE or the Python Shell is great for simple things, but those tools quickly turn larger programming projects into frustrating pits of despair. Using an IDE, or even just a good dedicated code editor, makes coding fun—but which one? Fear not, Gentle Reader! We are here to help explain and demystify the […]
My Python Development Environment, 2018 Edition
For years I’ve noodled around with various setups for a Python development environment, and never really found something I loved – until now. My setup pieces together pyenv, pipenv, and pipsi. It’s probably a tad more complex that is ideal for most Python users, but for the things I need, it’s perfect. My Requirements I do have somewhat […]
My Python Development Environment, 2018 Edition
For years I’ve noodled around with various setups for a Python development environment, and never really found something I loved — until now. My setup pieces together pyenv, pipenv, and pipsi. It’s probably a tad more complex that is ideal for most Python users, but for the things I need, it’s perfect. My Requirements I […]
You have two jobs
Welcome to FictionalSoft! I hope your first week is going well? Great. As you start to find your feet, I want to make sure we’re have a shared understanding of what success looks like here. Apologies in advance if I’m telling you something you already know, but I think it’s important to be explicit about this early. […]
You have two jobs
Welcome to FictionalSoft! I hope your first week is going well? Great. As you start to find your feet, I want to make sure we have a shared understanding of what success looks like here. Apologies in advance if I’m telling you something you already know, but it’s important to be explicit about this early. […]
psutil 5.4.0 with AIX support is out
After a long time psutil finally adds support for a brand new exotic platform: AIX! Honestly I am not sure how many AIX Python users are out there (I suppose not many) but still, here it is. For this we have to thank Arnon Yaari who started working on the porting a couple of years […]
Gynvael’s Mission 11 (en): Python bytecode reverse-engineering
Gynvael Coldwind is a security researcher at Google, who hosts weekly livestreams about security and programming in Polish and English). As part of the streams, he gives out missions — basically, CTF-style reverse engineering tasks. Yesterday’s mission was about Elvish — I mean Paint — I mean Python programming and bytecode. MISSION 011 goo.gl/13Bia9 DIFFICULTY: […]
Leaving HPE
For the past two years I have been employed by Hewlett Packard Enterprise to work on the various tools, libraries, and frameworks that make up the open-source Python HTTP ecosystem. This enormous investment by HPE into the OSS Python ecosystem has enabled a number of really important pieces of work, including the creation of a […]
Unix locales vs Unicode (‘ascii’ codec can’t encode character…)
You might get unusual errors about Unicode and inability to convert to ASCII. Programs might just crash at random. Those are often simple to fix — all you need is correct locale configuration. Has this ever happened to you? Traceback (most recent call last): File “aogonek.py”, line 1, in <module> print(u’u0105′) UnicodeEncodeError: ‘ascii’ codec can’t […]
Structuring and automating a Python project with the Python Project Template
To create a project that other people can use and contribute to, you need to follow a specific directory structure. Moreover, releasing a new version should be as simple and painless as possible. For my projects, I use a template that has the structure already in place, and comes with automation for almost every part […]
April Fools’ Day Python Prank
“With great power comes great responsibility. Except on April Fools’ Day.” - Uncle Ben Do you know someone who Karma’s been slacking on lately? Looking for a harmless April Fools’ Day prank that allows you to flex your Pythonic muscles? Well look no further. Here’s a simple little prank you can quickly code up in […]
Python Video Tutorial: Creating a Flanker Task using Expyriment
In this video you learn how to create a Flanker task using the Python package Expyriment. If you don’t know Expyriment it is an open-source library. You can program your experiments and run on Linux, Windows, and OS-x computers as well as on Android devices. In the tutorial you will get familiar with Expyriment and […]