Madpython - blog.madpython.com

General Information:

Latest News:

Fuzzy Mathematics with FuzzPy (Part 2) 4 Nov 2010 | 12:00 am

In the first part of this post, we explored the foundations of fuzzy sets and fuzzy graphs, and discussed how you can use FuzzPy, a general fuzzy mathematics library for python, to work with these typ...

Fuzzy Mathematics with FuzzPy (Part 1) 18 Oct 2010 | 10:43 am

FuzzPy is a python library that exposes specialized datatypes to deal with a wide range of fuzzy number types, fuzzy sets, and fuzzy graphs. Binary operations against each type, such as set unions and...

Algorithms in Python: Binary exponentiation 8 Aug 2010 | 03:10 pm

The typical approach to exponentiation of a base b by an exponent n is to repeatedly multiply the base by itself, as such: This is easy to compute for small values but quickly chokes with very large ...

Algorithms in Python: Binary Operations 18 Jul 2010 | 07:08 am

Today I’d like to demonstrate a simple implementation of Kenneth Rosen‘s binary addition and multiplication algorithms as outlined in "Discrete Mathematics and its Applications". Both algorithms are v...

Algorithms in Python: Base Expansion 11 Jul 2010 | 12:53 pm

I felt it would be helpful to folks interested in Python and studying algorithms, to review some commonly studied algorithms in Computer Science by providing a small description and a Python implement...

Django Context Processors Best Practice 8 Apr 2010 | 12:59 pm

In this post, i’ll show you a simple trick to ensure your Django context-processors don’t break when Django 1.2 (and possibly future releases as well) is released. If you’re not familiar with the con...

Penguicon 7.0 7 May 2009 | 02:11 pm

Our little gang from the Windsor Unix Users Group just got back from Penguicon 7.0 on Sunday night. As always, it was so much fun we hardly managed to get any sleep, and we all came home with a lot of...

Extending PostgreSQL with Python 8 Mar 2009 | 10:56 am

One of the features I enjoy the most about PostgreSQL is the ability to write stored procedures in C, Perl, TCL, PgSQL, and yes… obviously also in Python. I’ve been using this feature since 7.4, so an...

Fixing custom sequences in PostgreSQL 7 Mar 2009 | 01:52 pm

PostgreSQL provides a mechanism called sequences, which I believe is extracted from ANSI-SQL92, though I’m too lazy to check, which are basically stateful counters that provide some helper functions. ...

Apache2 shortcuts 3 Mar 2009 | 04:59 am

I’ve been maintaining and managing Apache servers for over 10 years now, but for some reason, I never bothered to RTFM when it came to enabling/disabling modules and site configs in apache2.. As it tu...

Related Keywords:

django context processor, django context, 0b1111111 to decimal, postgresql python stored procedures, apache ln revriter, how to multiply by exponents in python, python power mod, python powermod, django conext processor, binary operators python

Recently parsed news:

Recent searches: