<?xml version="1.0" encoding="utf-8"?>
<!-- name="generator" content="pyblosxom/1.4.3 01/10/2008" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>Bombolom.com   </title>
<link>http://www.bombolom.com/weblog_en</link>
<description>Blog about system administration</description>
<language>en</language>
<item>
  <title>Embedded YouTube Layer Problem</title>
  <link>http://www.bombolom.com/weblog_en/mix/EmbeddedYoutubeLayerProblem-2010-09-28-14-55.html</link>
  <description><![CDATA[

<p>Posted by José Lopes

<p>When embedding a youtube video you may get a layer problem, for instance,
you have a header menu and when scrolling down the video overlaps the menu.


]]></description>
</item>

<item>
  <title>Linear Interpolation</title>
  <link>http://www.bombolom.com/weblog_en/python/LinearInterpolation-2009-08-02-01-05.html</link>
  <description><![CDATA[

<p>By José Lopes

<p>Though the Python <i>math</i> library has the linear interpolation that, if I'm not mistaken,
requires the adjacent points to the point we need the interpolation, I created my own function to do it.<br />
I did it because I needed to do many interactions where the adjacent points changed, and also because
I failed to check first if Python had the linear interpolation function!

<p>With this post I share my solution to anyone interested. It may come in handy if you are calculation
several points with a bunch of initial data. Have a look!


]]></description>
</item>

<item>
  <title>Order_by using case insensitive</title>
  <link>http://www.bombolom.com/weblog_en/django/OrderByUsingCaseInsensitive-2009-06-18-00-00.html</link>
  <description><![CDATA[

<p>Posted by José Lopes

<p>This post shows how you can sort a QuerySet assuring a case insensitive ordering.


]]></description>
</item>

<item>
  <title>Custom Template Context</title>
  <link>http://www.bombolom.com/weblog_en/django/CustomTemplateContext-2009-05-12-00-00.html</link>
  <description><![CDATA[

<p>Posted by José Lopes

<p>I needed to use a constant that I defined on my project settings on several
templates. I wanted to be able to use it like:
<pre><font face="Lucida,Courier New"><font color="#0000C0">{{</font> MY_CONSTANT_NAME <font color="#0000C0">}}</font></font></pre>

<p>I started by passing it on each view context but then, remembering the DRY principle,
I made use of the TEMPLATE_CONTEXT_PROCESSORS to make it available anywhere on the project
templates.
<p>This post will show you how to create your own template context or, using the correct name,
<a href="http://docs.djangoproject.com/en/dev/ref/templates/api/#writing-your-own-context-processors">
Custom context processors</a> as its mentioned in the Django's documentation.


]]></description>
</item>

<item>
  <title>Concatenate QuerySets</title>
  <link>http://www.bombolom.com/weblog_en/django/ConcatenateQuerySets-2009-02-06-00-10.html</link>
  <description><![CDATA[

<p>Posted by José Lopes

<p>In some situations you may want to concatenate two QuerySets.
<p>The solution depends whether the QuerySets have the same model or not, and this post shows both solutions.
<p>The information presented was based on this <a href="http://groups.google.ca/group/django-users/browse_thread/thread/d22e8a8f378cf0e2">
thread</a>.


]]></description>
</item>

<item>
  <title>S-exp Scanner in Python</title>
  <link>http://www.bombolom.com/weblog_en/python/SExpPython-2009-02-02-16-30.html</link>
  <description><![CDATA[

<p>By: Helder Guerreiro.

<p>In the last year and a half I've been programming (very slowly I admit) a web mail client written in Python. The objective is to have more or less the same feature set that <a href="http://www.squirrelmail.org/">Squirrelmail</a> has. 

<p>You can check the result of my efforts <a href="http://code.google.com/p/webpymail/">here</a>. Please be advised that this software is on its early stages and far from complete, it was only tested with <a href="http://cyrusimap.web.cmu.edu/">Cyrus IMAP</a> which is a very standard compliant IMAP server, so, if you test the program with other less compliant servers it may fail to work.

<p>By now you've guessed that I'm using the <a href="http://tools.ietf.org/html/rfc3501">IMAP</a> server as the backend storage system for the web mail client. Since the IMAP server responses are <a href="http://en.wikipedia.org/wiki/S-expression">symbolic expressions</a> (s-exp for short) I needed a fast enough scanner to be able to parse the server responses. Note that this responses can be a bit lengthy and complex. 

<p>I'll try to show how I've solved this problem in the context described above.


]]></description>
</item>

<item>
  <title>Admin Widgets vrs User Forms (AdminDateWidget)</title>
  <link>http://www.bombolom.com/weblog_en/django/AdminWidgetsOnUserForms-2008-09-07-20-35.html</link>
  <description><![CDATA[

<p>Posted by José Lopes.

<p>The Django administration has a couple of widgets that can be used in an user's form.
<p>This is mentioned on the Django's documentation (<a href="http://docs.djangoproject.com/en/dev/topics/forms/media/">
Media and Django Admin</a>) but no practical example is given. Searching the web we find that a lot of people have
tried to use them without success, specially the AdminDateWidget that provides a nice popup calendar for choosing
the date.
<p>This post show how one can use this widget, and explains why there have been so many missing attemps.
<p>The information here presented is also valid for the AdminTimeWidget. Other widgets may be subject of future posts.


]]></description>
</item>

<item>
  <title>Django Version 1.0</title>
  <link>http://www.bombolom.com/weblog_en/django/Django1-2008-09-07-19-35.html</link>
  <description><![CDATA[

<p>The first official Django version is out. All posts concerning Django that may follow this one have as object this Django version.
]]></description>
</item>

<item>
  <title>Theory: 2 - Relational Databases</title>
  <link>http://www.bombolom.com/weblog_en/databases/DatabaseTheoryRelationalDatabase-2008-05-31-23-35.html</link>
  <description><![CDATA[

<p>Posted by José Lopes.

<p>This post goal is to explain in general what is a relational database and some associated
terminology. Its useful to have an idea about this type of database and its management system
to understand better the process of database design (to be treated in another post)


]]></description>
</item>

<item>
  <title>Compose Field and set Unique</title>
  <link>http://www.bombolom.com/weblog_en/django/ComposeFieldUnique-2008-05-23-00-35.html</link>
  <description><![CDATA[

<p>Posted by José Lopes.

<p>This post shows how to create a model in Django with an attributes composed by other two,
assuring its unicity.



]]></description>
</item>

</channel>
</rss>

