background preloader

Tech tools & api

Facebook Twitter

D3.js - Data-Driven Documents. First Steps with Celery — Celery 3.0.19 documentation. Celery is a task queue with batteries included. It’s easy to use so that you can get started without learning the full complexities of the problem it solves. It’s designed around best practices so that your product can scale and integrate with other languages, and it comes with the tools and support you need to run such a system in production. In this tutorial you’ll learn the absolute basics of using Celery. Learn about; Choosing and installing a message transport (broker).Installing Celery and creating your first task.Starting the worker and calling tasks.Keeping track of tasks as they transition through different states, and inspecting return values.

Celery may seem daunting at first - but don’t worry - this tutorial will get you started in no time. It’s deliberately kept simple, so to not confuse you with advanced features. Choosing a Broker Celery requires a solution to send and receive messages; usually this comes in the form of a separate service called a message broker. RabbitMQ Redis. Book/ Python In One Easy Lesson. Nick Parlante Nov 2010 This is a one-hour introduction to Python used for Stanford's CS107. This material should work as an introduction for any experienced programmer. We'll look at some core Python features and get a feel for how it compares to other languages.

For a longer introduction to Python by the same author with videos and exercises, see Google's Python Class. For online practice problems, see codingbat.com Python is a popular open source, cross-platform language in the "dynamic language" niche, like Javascript, Ruby, Lisp, and Perl. Unlike C/C++, Python defers almost everything until runtime. This is how Python works, in contrast to the C/C++ style of knowing the type of every variable and using that for compile time code generation. X = x + x In Python, x could be an int, or a string, or who knows what. Interpreter and Variables You can run the Python interpreter and type code directly in to it -- a good way to try little experiments. Strings Lists [ ], For Loop #! Sorting. Python’s Innards: Introduction | NIL: .to write(1) ~ help:about.

A friend once said to me: You know, to some people, C is just a bunch of macros that expand to assembly . It’s been years ago (smartasses: it was also before llvm , ok?) , but the sentence stuck with me. Do Kernighan and Ritchie really look at a C program and see assembly code? Does Tim Berners-Lee surf the Web any differently than you and me? And what on earth did Keanu Reeves see when he looked at all of that funky green gibberish soup, anyway? No, seriously, what the heck did he see there?! This post marks the beginning of what should develop to a series on Python’s internals, I’m writing it since I believe that explaining something is the best way to grok it, and I’d very much like to be able to visualize more of Python’s ‘funky green gibberish soup’ as I read Python code. Let’s start with something which I assume you already know, but I think is important, at least to the main way I understand… well, everything that I do understand. You can go look at PyEval_EvalFrameEx at .

Hudson Continuous Integration. Puppet - Overview - Puppet Labs. Homepage of Zabbix :: An Enterprise-Class Open Source Distributed Monitoring Solution. Stack Exchange’s Architecture in Bullet Points - Server Fault Blog. I thought as a break form the normal prose some of our readers might enjoy a short overview of the Stack Exchange Network (including Stack Overflow, Server Fault, and Super User) from a technical view: Traffic: 95 Million Page Views a Month800 HTTP requests a second180 DNS requests a second55 Megabits per second Data Centers: 1 Rack with Peak Internet in OR (Hosts our chat and Data Explorer)2 Racks with Peer 1 in NY (Hosts the rest of the Stack Exchange Network) Production Servers*: 12 Web Servers (Windows Server 2008 R2)2 Database Servers (Windows Server 2008 R2 and SQL Server 2008 R2) 2 Load Balancers (Ubuntu Server and HAProxy) 2 Caching Servers (Redis on CentOS)1 Router / Firewall (Ubuntu Server)3 DNS Servers (Bind on CentOS) Software and Technologies Used: Developers and System Administrators: 14 Developers2 System Administrators *(excludes fail over and management servers)

Downloads @ WLMP Project. HAProxy - The Reliable, High Performance TCP/HTTP Load Balancer.