Thus far, in our series of posts on Python development environments we’ve looked at Sublime Text and VIM: Setting Up Sublime Text 3 for Full Stack Python Development VIM and Python – a Match Made in Heaven In this post we’ll present another powerful editor for Python development – Emacs. While it’s an indisputable fact […]
Free & Useful Software – PsychoPy
PsychoPy This post will describe why I prefer using PsychoPy before other software. When I started getting involved in research (i.e., when doing my Bachelor’s and Masters theses) I used the software that was accessible for me. That is, some of the most commonly used software at the department I was studying at. After starting […]
DigitalOcean & Docker for Data Science
Creating a cloud-based data science environment for faster analysis There are times when working on data science problems with your local machine just doesn’t cut it anymore. Maybe your computer is old, and can’t work with larger datasets. Or maybe you want to be able to access your work from anywhere, and collaborate with others. […]
Happy Thanksgiving from the Fugue Team
For this Thanksgiving, we asked our team one simple question… What software are you most thankful for? Here are their answers, in alphabetical order so we don’t play favorites in the ongoing Emacs vs. Vim battle: Alex “I’m thankful for netcat. It’s the Swiss Army knife of networking. It’s never something that I think to […]
OpenBSD support for psutil
OK, this is a big one: starting from version 3.3.0 (released just now) psutil will officially support OpenBSD platforms. This was contributed by Landry Breuil (thanks dude!) and myself in PR #615. The interesting parts of the code changes are this and this. Differences with FreeBSD As expected, OpenBSD implementation is very similar to FreeBSD‘s (which was already in place), that […]
Another Python script for randomization with constraints
In this post you will find a function I wrote solving a problem of randomization with constrains in Python. For a psychological experiment (a shifting/task-switching task) I am planning to conduct I needed a list of stimuli names quasi-randomized. Fifty percent of the items in the list be followed by a stimulus in the same […]
Docker: Data Science Environment with Jupyter
Configuring a data science environment can be a pain. Dealing with inconsistent package versions, having to dive through obscure error messages, and having to wait hours for packages to compile can be frustrating. This makes it hard to get started with data science in the first place, and is a completely arbitrary barrier to entry. […]
Python’s Hidden Regular Expression Gems
There are many terrible modules in the Python standard library, but the Python re module is not one of them. While it’s old and has not been updated in many years, it’s one of the best of all dynamic languages I would argue. What I always found interesting about that module is that Python is […]
How to track user actions and make sense of them: Segment + MixPanel
Here at Tryolabs we’re used to work in different kinds of projects, generally involving Python backends, and Javascript frontends. Some of the projects are applications for private or internal usage, and others are for public usage (i.e for the everyday person). What all of those projects’ applications have in common is that they all have […]
It’s an Emulator, Not a Petting Zoo: Emu and Lambda
When Python support was announced for AWS Lambda at re:Invent, we were excited to start using it. As you could see with our emoji-powered Votebot for Slack, we put it to quick use, converting our skirmishes about lunch orders into a peaceful, democratic process. Building Lambda functions is great, but there can be some challenges […]
Propositional Logic
You likely learned about the distributive property in your middle school algebra class. The distributive rule says that a term multiplied by two or more terms in parentheses is applied to each of those terms individually. For instance: 2(3 + 4) = (2)3 + (2)4 = 6 + 8 = 14. In propositional logic, the […]
How we built Rodeo with Electron
Last week we announced the release of Rodeo v1.0. The big deal was that we’d taken Rodeo from a command line, python app built using Flask, to a more legitimate looking desktop app. There were comments on reddit and twitter mentioning that it seemed like Rodeo was running it’s own browser behind the scenes–and these […]
VIM and Python – a match made in heaven
It has come to my attention that somebody ‘round these parts has been preaching the gospel of Sublime Text 3. Well, as the resident senior developer (err, old fogey), I feel it’s my duty to provide a counterexample by way of the only TRUE Python development environment you will ever need – and that environment […]
Open Source DayWatch – The story behind
It’s been quite a journey with DayWatch. Since 2012 we’ve been working for it as our wonder child and now it is time to let it fly even higher. Here is the story: Birth It all started with the niche idea to help Daily Deals companies (very trendy in 2012) analyze their main metrics at […]
Integrating Python and R Part II – Executing R from Python and Vice Versa
By Chris Musselle In a previous article we went over why you might want to integrate both R and Python into a single pipeline, and how to do so via the use of a flat file air-gap. In doing so we covered how to run a Python or R script from the command line, and […]