This talk is for people interested to see how their programming knowledge can be applied in biology research, particularly genomics.
Currently, various technologies allow to change genetic information. Among these technologies, CRISPR is the most efficient and safe.
CRISPR contains sequence of 20 letters and it is searching for match in DNA (think of it as a very long string). If it succeeds, then DNA is damaged by the cut. This ability can be used for targeted genome editing, where regions of interest can be changed.
In order to change DNA at the right place, scientists need to design the sequence which would match the target DNA.
The designed sequence shouldn't match anywhere else in the genome. Since this is biology, things are not perfect. The sequences may match even if there are a few mismatched letters. When we identify the candidate sequences, the most computationally intensive part is to look for places in the whole genome where the candidate could at least partially match.
Our tool for designing such sequences is written in Python, using Django and Berkeley DB. For one analysis, we run tens of millions queries against a database of 700 million sites in genome.
You can like it or not, setUp and tearDown is not enough. Not mentioning testing apps with databases or similar dependencies. With these apps you need to somehow manage fixtures. Classic unittest library has nothing to help you with. Luckily there is much better test library called pytest. I will show you why this library is so cool and why you should use it.
Auto-scrolling sites, glance-following ads, and gesture friendly web pages are coming!
Over the last few years three products emerged that enable interaction with computer in a new way: Myo Armband, Leap Motion Controller and EyeTribe. The Myo Armband is a device that uses the electrical activity in your muscles to wirelessly control your computer, phone, and tablet, which is especially useful when your hands are “tied” or dirty. This device will be used to navigate through the presentation. The Leap Motion Controller tracks both hands in front of the screen. From a web developer’s perspective, both devices allows us to use gestures, previously restricted to touch devices, on desktops. EyeTribe is an affordable eye-tracking device.
The talk will briefly cover setting up SDKs and python wrappers, and then focus on possible uses in daily life, business and, of course, web app development. Code examples will be included. In addition, the trade-offs between processing this new type of input data in the client versus processing input on the server will be discussed.
How to use Django for backend for mobile app. How to create models and rest api with django rest framework according to mobile approach. How to support mobile specific requirements in Django, such as push notifications, mobile payments, rendering data to tablets, qr codes and more.
Not happy with the face of your local tech scene? The fastest way to shape your local community is to teach or support enthusiastic newbies. While we’ll look at some of the great mentorship and teaching programs focused on the Django and Python communities, you don’t have to limit yourself to existing programs to start helping out. We’ll look at field tested routes to support new programmers that fit a range of different commitment levels. With enough of us helping out, we can change the face of our industry, as well as our local tech communities.
Let's explore some of the introspection features that Python offers. As an example let's build a tool that will extract test docstrings and generate a report.
In this talk you will discover or remember some features of the ast and inspect modules and use some of their features to build a working report generator of tests docstrings.
Have you ever wondered about what all those "something" methods are for in Python and how they work exactly? Did you need to define how an operator works on your objects, or how the loops iterate over them? Have you heard that you shouldn't use destructors in Python, and wondered why? This talk will go through all the common magical attribute names, and explain, with examples, how they work and what they are useful for.
Note to organizers: This will be an upgraded version of the talk I gave on Europython: https://www.youtube.com/watch?v=rj4mf5aNhh0
Many crucial components of modern linux distributions are written in Python. Would you like to learn a few tricks for debugging them?
Python comes bundled with a rich library of modules including a debugger and several profilers, which makes it possible to use them even in very restricted environments (for example, an operating system installer). Other tools such as pudb, available as third-party packages, provide even more comfortable experience. Finally, there is a number of powerful general-purpose low-level debugging instruments, such as strace and gdb.
We'll take a close look at these handy tools and techniques for effective debugging of a Python (and not only Python) program.
Have you ever wondered how we can use Python to study phenomena on a sub-atomic scale in the coolest place in the Universe known to the mankind? Do you know you can contribute to furthering research in the fundamental physics? Take part!
Nowadays we can not only meet Python on PCs and servers but even on many other platforms, including tiny 8-bit chips. You will learn something about Python on embedded devices, ranging from lightweight implementations of Python language to full-blown CPython running on single-board computers or routers.
The second part of the presentation will focus on pitfalls of cross-compilation of Python and 3rd party packages when a native compiler is not available on the target device.
Companies in the financial sector doesn't have to be boring. We strive to tear down stereotypes and bring people even easier method of payment. Cooperation with people with years of experience from the bank brought us a completely different perspective and inspiration in many ways during development.
In this talk I would like to summarize what we have learned during development of the scoring system from scratch, what problems we encountered and why I think that Python plus Django was the right choice for an extensive project.
You will learn how it's like to have a person from a different sector in the same team, what tools we use for parallel evaluation of a large number of scoring criteria and why it's important to maintain a high quality logs.
So you have prepared a new shiny Python/Django application and you want to deploy it to the real world.
Talk about miscellaneous aspects of Python applications from the Ops view. This topic includes reproducible deployment and upgrading, together with related services like Celery, etc. Don't forget relation with config-management tools like Puppet and Ansible, backup operations and possibly others not-so-fancy-but-needed ops tools.