Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Python

Python

Rules: a) English stuff only, b) Don't double post, c) Stick with posts if already posted, d) You can cross post but not in unrelated or non-English groups.
kunthar
Please explain me GIL!
imabonehead
Scaling Django to 8 Billion Page Views | Disqus: The Official Blog - http://blog.disqus.com/post...
"...the first impression is that a web framework is slow because there is a lot of boiler plate and unnecessary code that is not needed for your application, and that is a valid impression. In practice, slowness is usually not a product of your framework’s bloat or the language choice. Slowness is likely a result of the fact that your request is communicating with other services across your network. In our case, these other services are PostgreSQL, Redis, Cassandra, and Memcached, just to name a few. Slow database queries and network latency generally outweigh the performance overhead of a robust framework such as Django. To get around these latencies, people use various forms of caching. The most tangible approach would be to use the built-in Django cache library." - imabonehead from Bookmarklet
imabonehead
▶ Building a Python Service Stack - YouTube - http://www.youtube.com/watch...
▶ Building a Python Service Stack - YouTube
Play
"Julian Krause and John Billings discuss how Yelp has evolved their Python service stack to deal with the challenges encountered in an increasingly distributed production environment." - imabonehead from Bookmarklet
imabonehead
Intro to Pyramid Framework for Python - Six Feet Up - YouTube - http://www.youtube.com/watch...
Intro to Pyramid Framework for Python - Six Feet Up - YouTube
Play
"This video is an introduction to the basics of the Pyramid open source web framework built on Python." - imabonehead from Bookmarklet
imabonehead
▶ (wrong cover) N Defossé Designing a Real Time Control System based on Django, ZMQ and WebSockets - YouTube - http://www.youtube.com/watch...
▶ (wrong cover) N Defossé Designing a Real Time Control System based on Django, ZMQ and WebSockets - YouTube
Play
"Designing a Real Time Control System based on Django, ZMQ and WebSockets" - imabonehead from Bookmarklet
imabonehead
Content-based image classification in Python - http://blog.yhathq.com/posts...
Content-based image classification in Python
"Image recognition is a field concerned with the identification of objects and entities within images. It's a sub-field of computer vision, a growing practice area broadly encompasing methods and strategies for analysing digital images via non-visual means. While computer vision attracts attention from top tech firms (see Instagram's Unshredder challenge and this facebook job post), it's uses and applications are wide-ranging. Image classification is a classical image recognition problem in which the task is to assign labels to images based their content or metadata. This is a post about image classification using Python." - imabonehead from Bookmarklet
imabonehead
"Developers at Netflix have the freedom to choose the technologies best suited for the job. More and more, developers turn to Python due to its rich batteries-included standard library, succinct and clean yet expressive syntax, large developer community, and the wealth of third party libraries one can tap into to solve a given problem. Its dynamic underpinnings enable developers to rapidly iterate and innovate, two very important qualities at Netflix. These features (and more) have led to increasingly pervasive use of Python in everything from small tools using boto to talk to AWS, to storing information with python-memcached and pycassa, managing processes with Envoy, polling restful APIs to large applications with requests, providing web interfaces with CherryPy and Bottle, and crunching data with scipy. To illustrate, here are some current projects taking advantage of Python..." - imabonehead from Bookmarklet
imabonehead
"Python provides a high level threading library that makes threading virtually painless. Generally, you should only use threads if the following is true: Sharing memory between threads is not an issue. You are not looking for the best optimized performance since threads share memory within a process. You want to be able to share objects between threads. You take precautions that threads are not working on the same object at the same time." - imabonehead from Bookmarklet
imabonehead
"Python is distributed with profiling modules. They describe the run time operation of a pure python program, providing a variety of statistics. The cProfile module is the recommended module. To execute your program under the control of the cProfile module, a simple form is..." - imabonehead from Bookmarklet
imabonehead
Build a media converter with Python, Qt and FFmpeg | Linux User - http://www.linuxuser.co.uk/tutoria...
Build a media converter with Python, Qt and FFmpeg | Linux User
"In this tutorial we will build our very own application called LUD Media Converter. Along the way we will learn about the technologies that we have used in building the application. Generally speaking we will be covering Python and Python Qt bindings called PyQt and FFmpeg. At the end of the tutorial there are some tasks for you as well. As a reader, this will be an opportunity to practise what you have learnt and explore on your own. Don’t worry, we will have hints for you which will help you in completing the tasks." - imabonehead from Bookmarklet
Adriano
Guido van ROSSUM :: spending time with his Python :-)
Guido van ROSSUM :: spending time with his Python :-)
python maintenance by Guido - newtover
photo probably taken before his Dropbox t-shirt days :-) - Adriano
imabonehead
System wide python profiling « THE BLOG OF ERIC SEIFERT - http://seiferteric.com/?p=277
System wide python profiling « THE BLOG OF ERIC SEIFERT
"I recently had to profile an embedded system that runs a bunch of python code. The goal was to improve the start-up speed and identify bottlenecks. This is a large and complex system that has many process starting and stopping and forking all over the place. It looked to be a difficult task to hook the profiler into each and every process that would get launched. I came up with a solution to temporarily hook the profiler into the interpreter itself and dump the stats at exit using the atexit module." - imabonehead from Bookmarklet
imabonehead
>>> import antigravity - Try it in your Python interpreter, it works! :-D - tekNico
My first thought was the unintended consequences of importing antigravity randomly into a program. I just started thinking of that Simpsons episode where Homer opens up a bag of potato chips and then accidentally breaks open an ant farm while weightless in the space shuttle. - Victor Ganata
Woah, it works! - Amit Patel
imabonehead
unittest introduction - Python Testing - http://pythontesting.net/framewo...
"The unittest test framework is python’s xUnit style framework. It is a standard module that you already have if you’ve got python version 2.1 or greater. In this post, I’ll cover the basics of how to create and run a simple test using unittest. Then I’ll show how I’m using it to test markdown.py." - imabonehead from Bookmarklet
Adriano
Real-world Python deployment using pip & virtualenv - http://slacy.com/blog...
tekNico
John Hunter, the Matplotlib creator, died on August 28th, 2012. Please donate for his three children. "John Hunter Memorial Fund" <http://numfocus.org/johnhun...>.
John-hunter.jpg
tekNico
radres
"Pystache is a Python implementation of Mustache. Mustache is a framework-agnostic, logic-free templating system inspired by ctemplate and et. Like ctemplate, Mustache "emphasizes separating logic from presentation: it is impossible to embed application logic in this template language."" - radres from Bookmarklet
templating için snipmate'i kullanıyorum https://github.com/msander... gerçi, ama bıyıklı python'u sevdim, ondan paylaşıyorum, kıps kıps - radres
Adriano
Develop UBUNTU apps :: using Quickly < 5 min . [includes PyGTK] - http://www.youtube.com/watch...
Develop UBUNTU apps :: using Quickly < 5 min . [includes PyGTK]
Play
"Canonical has launched its app developer web site in a bid to persuade developers to port applications over to its Ubuntu Linux distribution. Ubuntu's Software Center is Canonical's app store for its popular Ubuntu Linux distribution, offering both free and paid applications." For details, see http://developer.ubuntu.com \\ Transcript of video: http://developer.ubuntu.com/wp-cont... - Adriano from Bookmarklet
imabonehead
GTK Programming w/ Python | Morsi dot Org - http://mo.morsi.org/blog...
GTK Programming w/ Python | Morsi dot Org
GTK Programming w/ Python | Morsi dot Org
"As far as the $topic matter itself, cross-platform GUI development has never been easier due to a few simple tools. GTK is available on many platforms, and using Glade you can easily whip up an interface that suites your needs. Wiring up event handlers and the backend code is a cinch due to the gobject bindings which gtk provides that we are able to leverage from a Python app." - imabonehead from Bookmarklet
imabonehead
I say things » Blog Archive » line-by-line memory usage of a Python program - http://fseoane.net/blog...
"My newest project is a Python library for monitoring memory consumption of arbitrary process, and one of its most useful features is the line-by-line analysis of memory usage for Python code." - imabonehead from Bookmarklet
imabonehead
imabonehead
A primer on Python decorators – Thumbtack Engineering - http://www.thumbtack.com/enginee...
A primer on Python decorators – Thumbtack Engineering
"Python allows you, the programmer, to do some very cool things with functions. In Python, functions are first-class objects, which means that you can do anything with them that you can do with strings, integers, or any other objects. For example, you can assign a function to a variable..." - imabonehead from Bookmarklet
imabonehead
pyvideo.org - PyCon US 2012 Videos - http://pyvideo.org/categor...
PyCon US 2012 in Santa Clara, CA https://us.pycon.org/2012/ - imabonehead from Bookmarklet
imabonehead
"I could have also named this post “Python HTTP POST with Basic Authentication?” But i wanted to keep it simple , and really this post is just meant for documentation purposes." - imabonehead from Bookmarklet
imabonehead
Multiprocessing using Python | loup2fu - http://www.lengrand.fr/2011...
"Most of computes now have at least 2 processors. Multiprocessing was then the best way to simply minimize computation time! In addition, as no data had to be passed from one application to the other (left and right images are totally unrelated) threads were obviously not the most interesting solution for me. Basically, the following example will be perfect for applications in which the exact same task has to be performed several times on unrelated data : Here is a simple multiprocessing example, coming from the Python documentation..." - imabonehead from Bookmarklet
imabonehead
Google’s Python Lessons are Awesome | Hartley Brody - http://blog.hartleybrody.com/2012...
Google’s Python Lessons are Awesome | Hartley Brody
"Whether you’re just starting to learn Python, or you’ve been working with it for awhile, take note. Python LogoThe lovably geeky Nick Parlante — a Google employee and CS lecturer at Stanford — has written some awesomely succinct tutorials that not only tell you how you can use Python, but also how you should use Python. This makes them a fantastic resource, regardless of whether you’re just starting, or you’ve been working with Python for awhile." - imabonehead from Bookmarklet
imabonehead
Eli Bendersky's website » Python – parallelizing CPU-bound tasks with multiprocessing - http://eli.thegreenplace.net/2012...
Eli Bendersky's website » Python – parallelizing CPU-bound tasks with multiprocessing
Eli Bendersky's website » Python – parallelizing CPU-bound tasks with multiprocessing
"In a previous post on Python threads, I briefly mentioned that threads are unsuitable for CPU-bound tasks, and multiprocessing should be used instead. Here I want to demonstrate this with benchmark numbers, also showing that creating multiple processes in Python is just as simple as creating multiple threads. First, let’s pick a simple computation to use for the benchmarking. I don’t want it to be completely artificial, so I’ll use a dumbed-down version of factorization – breaking a number to its prime factors. Here is a very naive and un-optimized function that takes a number and returns a list of factors..." - imabonehead from Bookmarklet
imabonehead
Adriano
Web scraping with Python :: Dark side of data - http://forgetfulfunctor.blogspot.com/2011...
"I found a great presentation given at Pycon in 2010 by Asheesh Laroia. I thought this might be a valuable resource for R users who are looking for ways to gather data from user-unfriendly websites." - Adriano from Bookmarklet
Other ways to read this feed:Feed readerFacebook