Error message

  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).

Follow me on blogger

I have moved her : http://magiksys.blogspot.be/

I'm tired to have to update regularly the engine (Drupal) of this blog.
Each update requires a full backup and a lot of manual operations.
Lot of modules require also to be updated.
And to often I' have remove some SPAMS.

Blogger looks to be more quiet, no need to update, and very few SPAMS.

Haiku OS

Haiku logo

From http://www.haiku-os.org/about :

Haiku is an open source operating system currently in development that specifically targets personal computing. Inspired by the Be Operating System, Haiku aims to become a fast, efficient, simple to use, easy to learn and yet very powerful system for computer users of all levels.

What I like the most is the logo.
The web site is very pleasant and has a lot of documentation , screenshot, ....

Tags:

Migrating python library to python 3.x

Having a library working under Python 2.X and Python 3.X is not easy.
Having unittest, doctest, scripts, documentation and packaging working under both Python 2.x and 3.x is a lot of work.

This is what I did with pyzmail.

A good way to start, is to use distribute to release your package.

Start by reading Supporting both Python 2 and Python 3 with Distribute.

BlogSpam.net - Blog & Forum SPAM Detection

BlogSpam.net releases Tools able to detect and block unwanted posts inside Blogs and Forums.

I use them for some days on this site and I'm very happy !

Here is what I wrote to Steve Kemp, the creator of BlogSpam.net

Education: the ultimate weapon against SPAM

Educating Internet users would help a lot in the battle against SPAM.
Education is also useful for a lot of other activities !

As long as people will believe that someone will give them graciously millions of dollars against some miscellaneous cost or they will live better and longer using some drugs that could kill them, spammer will have many good days ahead for themselves !

Google Web Toolkit and Python's Pyjamas

I was curious about the Google Web Toolkit and the Google App Engine for longtime, but never get the opportunity to make a try.

Surfing the web, looking for Python's things, I found Pyjamas, a Python-based Web Application Development Framework.

pyzmail : a high level mail library for Python

pyzmail is a high level mail library for Python. It provides functions and classes that help to read, compose and send emails. pyzmail exists because their is no reasons that handling mails with Python would be more difficult than with popular mail clients like Outlook or Thunderbird. pyzmail hide the difficulties of the MIME structure and MIME encoding/decoding. It also hide the problem of the internationalized header encoding/decoding.

pyzmail homepage

Adding OVH fail-over IPs to our pfSense 2.X configuration

This follow the article about the configuration of a pfSense 2.0 firewall here

This last one explains how to include IPs fail-over in the configuration.

Setup a pfSense 2.0 firewall when default gateway is on a different subnet

I have written a better article, using the firewall in transparent mode here .

This article has been updated for pfSense 2.0. The original article about pfSense 1.2.X has moved here.

pfsense : configure the keymap

To change the keymap of your keyboard you can use :

kbdcontrol -l be.iso.kbd

For a list of all keymap, look inside directory /usr/share/syscons/keymaps, here are some:

  • be.iso.kb
  • fr.iso.kbd
  • uk.iso.kbd
  • us.iso.kbd
  • german.iso.kbd
Subscribe to Alain Spineux RSS