<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://purl.org/atom/ns#" version="0.3"
	  xmlns:dc="http://purl.org/dc/elements/1.1/"
	  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xml:lang="fr">

  <title>sa.muel</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/"/>
  <tagline type="text/plain" mode="escaped"></tagline>
  
  <modified>2008-09-02T16:55:10-05:00</modified>
  <generator version="1.2.1" url="http://www.dotclear.net/">DotClear</generator>
  
  <sy:updatePeriod>daily</sy:updatePeriod>
  <sy:updateFrequency>1</sy:updateFrequency>
  <sy:updateBase>2008-09-02T16:55:10-05:00</sy:updateBase>
  
<entry xml:lang="fr">
  <title>RAID Level performance norms</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2008/09/02/54-raid-level-performance-norms" />
  <issued>2008-09-02T16:55:10-05:00</issued>
  <modified>2008-09-02T16:55:10-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2008/09/02/54-raid-level-performance-norms</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>source: Greenplum Database Administrator Guide...</summary>
  <content type="text/html" mode="escaped"> &lt;img src=&quot;/f/raid-level-performance-norms.png&quot;&gt;&lt;br&gt;
source: Greenplum Database Administrator Guide</content>
</entry>
<entry xml:lang="fr">
  <title>Google misleading developers to spam site!</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2008/06/26/53-google-misleading-developers-to-spam-site" />
  <issued>2008-06-26T19:23:17-05:00</issued>
  <modified>2008-06-26T19:23:17-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2008/06/26/53-google-misleading-developers-to-spam-site</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>I was recently reading about Google Authentication API, while trying one of the example (see AuthSubRequest sample requests), I've been redirected to that web site:


How disgusting! Spammed by Google, I was totally shocked.

Get out of the 'plex and do some reading:...</summary>
  <content type="text/html" mode="escaped"> I was recently reading about &lt;a href=&quot;http://code.google.com/apis/accounts/docs/AuthForWebApps.html&quot;&gt;Google Authentication API&lt;/a&gt;, while trying one of the example (see AuthSubRequest sample requests), I've been redirected to that web site:&lt;br&gt;
&lt;br&gt;
&lt;img style=&quot;border:1px;border-color:#000000&quot; src=&quot;/f/google-misleading-devloppers-to-spam.jpg&quot;&gt;&lt;br&gt;
How disgusting! Spammed by Google, I was totally shocked.&lt;br&gt;
&lt;br&gt;
Get out of the 'plex and do some reading: &lt;a href=&quot;ftp://ftp.rfc-editor.org/in-notes/rfc2606.txt&quot;&gt;ftp://ftp.rfc-editor.org/in-notes/rfc2606.txt&lt;/a&gt;.</content>
</entry>
<entry xml:lang="fr">
  <title>Is Imageshack and Powerset linked?</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2008/04/21/52-is-imageshack-and-powerset-linked" />
  <issued>2008-04-21T22:28:12-05:00</issued>
  <modified>2008-04-21T22:28:12-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2008/04/21/52-is-imageshack-and-powerset-linked</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>They are for sure peered together through EZRI Inc. (Levin brothers own ISP). According to a traceroute, Imageshack seem to be the internet service provider of Powerset:


 bonita:~ samuel$ traceroute powerset.com
 [...]
   7  tge1-3.fr4.sjc.llnw.net (69.28.171.66)  119.812 ms  114.540 ms...</summary>
  <content type="text/html" mode="escaped"> They are for sure &lt;a href=&quot;http://www.lerfjhax.com/as/36323&quot;&gt;peered&lt;/a&gt; &lt;a href=&quot;http://www.lerfjhax.com/as/21968&quot;&gt;together&lt;/a&gt; through EZRI Inc. (Levin brothers own ISP). According to a traceroute, Imageshack seem to be the internet service provider of Powerset:

&lt;pre&gt;
 bonita:~ samuel$ traceroute powerset.com
 [...]
   7  tge1-3.fr4.sjc.llnw.net (69.28.171.66)  119.812 ms  114.540 ms  116.356 ms
   8  imageshack.ge3-1.fr4.sjc.llnw.net (208.111.152.106)  135.034 ms  135.472 ms  135.122 ms
   9  gi5-1.bas1.aa.powerset.com (208.76.46.165)  142.041 ms  139.165 ms  141.869 ms
  10  w2.aa.powerset.com (208.76.46.17)  135.569 ms  134.921 ms  135.400 ms
&lt;/pre&gt;

Search queries and user behavior on query result from Imageshack is extremely valuable data for Powerset.</content>
</entry>
<entry xml:lang="fr">
  <title>Gmail 2.0 first experience.</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2007/11/07/51-gmail-20-first-experience" />
  <issued>2007-11-07T01:04:10-06:00</issued>
  <modified>2007-11-07T01:04:10-06:00</modified>
  <id>http://sa.muel.org/go/index.php/2007/11/07/51-gmail-20-first-experience</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>I noticed this morning that the web version of GTalk was back in my personalized Gmail interface. Weird, I have disabled that functionality long time ago. Then few minutes later, I got new error/unreachable Gmail server. I was freaking out until I saw the link on the top right corner giving me the...</summary>
  <content type="text/html" mode="escaped"> I noticed this morning that the web version of GTalk was back in my personalized Gmail interface. Weird, I have disabled that functionality long time ago. Then few minutes later, I got new error/unreachable Gmail server. I was freaking out until I saw the link on the top right corner giving me the opportunity to switch back to the old interface! For your pleasure only, here are some exclusive screen shots:&lt;br&gt;&lt;br&gt;
&lt;img src=&quot;http://sa.muel.org/f/gmail2.0/02.png&quot;&gt;&lt;br&gt;Few mortal have the possibility to switch to the new interface (my email censored using twirl effect).&lt;br&gt;&lt;br&gt;
&lt;img src=&quot;http://sa.muel.org/f/gmail2.0/03.png&quot;&gt;&lt;br&gt;New error messages.&lt;br&gt;&lt;br&gt;
&lt;img src=&quot;http://sa.muel.org/f/gmail2.0/04.png&quot;&gt;&lt;br&gt;New error messages.&lt;br&gt;&lt;br&gt;
&lt;img src=&quot;http://sa.muel.org/f/gmail2.0/05.png&quot;&gt;&lt;br&gt;State of the art loading message.&lt;br&gt;&lt;br&gt;
&lt;img src=&quot;http://sa.muel.org/f/gmail2.0/01.png&quot;&gt;&lt;br&gt;Unfortunatly you can't get rid of the chat box.&lt;br&gt;&lt;br&gt;
&lt;img src=&quot;http://sa.muel.org/f/gmail2.0/06.png&quot;&gt;&lt;br&gt;New url are definitively cool!&lt;br&gt;&lt;br&gt;
&lt;img src=&quot;http://sa.muel.org/f/gmail2.0/09.png&quot;&gt;&lt;br&gt;Hmmm confusing, they are actually online!&lt;br&gt;&lt;br&gt;
&lt;img src=&quot;http://sa.muel.org/f/gmail2.0/08.png&quot;&gt;&lt;br&gt;Oops, too many javascripts?&lt;br&gt;&lt;br&gt;
Ahhh SquirrelMail was the good old days.</content>
</entry>
<entry xml:lang="fr">
  <title>User-agent faxx0r python class.</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2007/06/06/50-user-agent-faxx0r-python-class" />
  <issued>2007-06-06T06:45:28-05:00</issued>
  <modified>2007-06-06T06:45:28-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2007/06/06/50-user-agent-faxx0r-python-class</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>Made from about 500 000 hits from an undisclosed servers.

Sample usage:


import urllib
from ua import ua
 
class myOwnUrlOpen(urllib.FancyURLopener):
 def __init__(self, *args):
  self.version = ua.gett()
  urllib.FancyURLopener.__init__(self)

o = myOwnUrlOpen()
f =...</summary>
  <content type="text/html" mode="escaped"> Made from about &lt;a href=&quot;/go/files/useragent.rank.text&quot;&gt;500 000 hits&lt;/a&gt; from an undisclosed servers.

Sample usage:

&lt;pre&gt;
import urllib
from ua import ua
 
class myOwnUrlOpen(urllib.FancyURLopener):
 def __init__(self, *args):
  self.version = ua.gett()
  urllib.FancyURLopener.__init__(self)

o = myOwnUrlOpen()
f = o.open(&quot;http://www.coolwebsite.com/&quot;)
doc = f.read()
&lt;/pre&gt;

The &lt;a href=&quot;/go/files/ua.py&quot;&gt;sources&lt;/a&gt;:
&lt;pre&gt;
import random

class ua:
 def __init__(self):
  self.ua = ['Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; ja-jp) AppleWebKit/419 (KHTML, like Gecko)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20060601 Firefox/2.0.0.4 (Ubuntu-edgy)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; FDM)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'kh_lt/LT4.0.2737', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; (R1 1.5); .NET CLR 1.1.4322)', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; it-it) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727)', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/420+ (KHTML, like Gecko, Safari/420) OmniWeb/v607.17', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; MathPlayer 2.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .NET CLR 1.1.4322)', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.1)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.1)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.2)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)', 'Opera/9.21 (Windows NT 5.1; U; en)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 1.1.4322; Media Center PC 4.0; InfoPath.1)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1)', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)', 'Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; es) AppleWebKit/419 (KHTML, like Gecko)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2; .NET CLR 1.1.4322)', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko)', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', '   9003 ', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)']
 def gett(self):
  return self.ua[random.randrange(len(self.ua))]
&lt;/pre&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>SUN non-breaking news: Java RVNC is now ActiveX RVNC</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2007/06/04/49-sun-non-breaking-news-java-rvnc-is-now-activex-rvnc" />
  <issued>2007-06-04T09:20:56-05:00</issued>
  <modified>2007-06-04T09:20:56-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2007/06/04/49-sun-non-breaking-news-java-rvnc-is-now-activex-rvnc</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>Last summer I had chance to play with a SUN X4200 via the Try&amp;Buy program. I was already familiar with command line interface BIOS from SUN, but that Java LOM (light out management) was just amazing. First time in my life (post-twenties) that I did not sweat while plugging a monitor to physically...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Last summer I had chance to &lt;a href=&quot;http://sa.muel.org/go/images/IMG_5102.jpg&quot;&gt;play with a SUN X4200&lt;/a&gt; via the &lt;a href=&quot;http://www.sun.com/tryandbuy/&quot;&gt;Try&amp;Buy&lt;/a&gt; program. I was &lt;a href=&quot;http://sa.muel.org/weirdos/misc/chambre.jpg&quot;&gt;already familiar&lt;/a&gt; with command line interface BIOS from SUN, but that Java LOM (light out management) was just amazing. First time in my life (post-twenties) that I did not sweat while plugging a monitor to physically manage a computer: thanks to VGA in the browser.&lt;/p&gt;

&lt;p&gt;We recently bought a SUN X2100. Low power consumption, cheap, commodity component and last but not least a SUN LOM, I like. &lt;/p&gt;

&lt;p&gt;So we're in! The box, us and 2184 other cabinets. It took us 3 minutes to unwrap the packages, 2 minutes to add the harddrives, 2 to wire it. We're ready to mount debian-40r0-i386-netinst.iso over the network. First &lt;a href=&quot;http://sa.muel.org/go/images/connection_failed.png&quot;&gt;oups&lt;/a&gt; from Mac OS X / Firefox , second &lt;a href=&quot;http://forum.java.sun.com/thread.jspa?threadID=5118638&quot;&gt;oups&lt;/a&gt; from Firefox/Parallels/Windows xp, then third &lt;a href=&quot;http://sa.muel.org/go/images/oups3.png&quot;&gt;oups&lt;/a&gt; from Parallels/Windows xp/Internet Explorer. Strike. Erk, Java RVNC is now ActiveX RVNC.  &lt;/p&gt;

&lt;p&gt;Nice &lt;a href=&quot;http://www.linuxjournal.com/article/9624&quot;&gt;interview&lt;/a&gt; &lt;a href=&quot;http://blogs.sun.com/webmink/&quot;&gt;Phipps&lt;/a&gt; but, what's going on at SUN?&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>Zero padded seq</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2007/05/24/48-zero-padded-iseq-i" />
  <issued>2007-05-24T15:33:14-05:00</issued>
  <modified>2007-05-24T15:33:14-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2007/05/24/48-zero-padded-iseq-i</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>root@vee01:/var/log/apache2 # for i in `seq -f "%02g" 1 31`; do echo -n "$i "; grep -c "$i/Apr" /tmp/rsn.log; done
 01 0
 02 0
 03 3
 04 3711
 05 3067
 06 2677
 07 2471
 08 2559
 09 2859
 10 2951
 11 3197
 12 3165
 13 2873
 14 2372
 15 2568
 16 3243
 17 3250
 18 3132
 19 2956...</summary>
  <content type="text/html" mode="escaped"> &lt;pre&gt;
 root@vee01:/var/log/apache2 # for i in `seq -f &quot;%02g&quot; 1 31`; do echo -n &quot;$i &quot;; grep -c &quot;$i/Apr&quot; /tmp/rsn.log; done
 01 0
 02 0
 03 3
 04 3711
 05 3067
 06 2677
 07 2471
 08 2559
 09 2859
 10 2951
 11 3197
 12 3165
 13 2873
 14 2372
 15 2568
 16 3243
 17 3250
 18 3132
 19 2956
 20 2316
 21 2387
 22 2533
 23 3169
 24 3103
 25 1333
 26 0
 27 0
 28 0
 29 0
 30 0
 31 0
&lt;/pre&gt;

See: &lt;a href=&quot;http://www.gnu.org/software/coreutils/manual/html_node/seq-invocation.html&quot;&gt;http://www.gnu.org/software/coreutils/manual/html_node/seq-invocation.html&lt;/a&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>Cheap timezone webservice.</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2007/05/16/47-cheap-timezone-webservice" />
  <issued>2007-05-16T01:06:00-05:00</issued>
  <modified>2007-05-16T01:06:00-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2007/05/16/47-cheap-timezone-webservice</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>Populate database using timezone shapefiles (http://openmap.bbn.com/data/shape/timezone/)

  469  createdb timezone
  470  createlang plpgsql timezone
  471  psql timezone -f /usr/src/postgis-1.2.1/lwpostgis.sql 
  472  psql timezone -f /usr/src/postgis-1.2.1/spatial_ref_sys.sql 
  473...</summary>
  <content type="text/html" mode="escaped"> Populate database using timezone shapefiles (http://openmap.bbn.com/data/shape/timezone/)
&lt;pre&gt;
  469  createdb timezone
  470  createlang plpgsql timezone
  471  psql timezone -f /usr/src/postgis-1.2.1/lwpostgis.sql 
  472  psql timezone -f /usr/src/postgis-1.2.1/spatial_ref_sys.sql 
  473  ogr2ogr -f PostgreSQL PG:&quot;dbname=timezone host=localhost&quot; WrldTZA.shp -nln timezone -a_srs epsg:4326 -nlt GEOMETRY
&lt;/pre&gt;

Fix the small glitch in 'offset' column
&lt;pre&gt;
 postgres@mapserver:/root$ psql timezone
 Welcome to psql 8.1.8, the PostgreSQL interactive terminal.
 
 timezone=# update timezone set &quot;offset&quot; =  substring(&quot;offset&quot;, '[\-,0-9]+');
&lt;/pre&gt; 

Here is my timezone webservice using web.py (http://www.webpy.org)
&lt;pre&gt;
 import _pg
 import web
 
 d = _pg.connect(&quot;timezone&quot;, &quot;localhost&quot;, user='postgres')
 
 class tz:
  def GET(self, lon, lat):
   r = d.query(&quot;select noffset from timezone where wkb_geometry &amp;&amp; GeomFromText('POINT(%s %s)', 4326) limit 1;&quot; % (lon, lat))
   print int(r.getresult()[0][0])  
 
 if __name__ == &quot;__main__&quot;: 
  urls = ( '/(.*)/(.*)', 'tz' )
  web.run(urls, globals())
&lt;/pre&gt; 

Wouhahahaha.</content>
</entry>
<entry xml:lang="fr">
  <title>Installing bgl-python [on Debian]</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2007/05/08/46-installing-bgl-python-on-debian-" />
  <issued>2007-05-08T03:17:15-05:00</issued>
  <modified>2007-05-08T03:17:15-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2007/05/08/46-installing-bgl-python-on-debian-</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>615  wget http://superb-west.dl.sourceforge.net/sourceforge/boost/boost_1_34_0_beta.tar.bz2
 620  tar xjvf boost_1_34_0_beta.tar.bz2 
 621  cd boost_1_34_0
 625  bjam --toolset=gcc install


Install bjam (aka Boost.Jam)


 639  export BOOST_ROOT=/root/libs/sam/boost_1_34_0
 641  cd...</summary>
  <content type="text/html" mode="escaped"> &lt;pre&gt; 615  wget http://superb-west.dl.sourceforge.net/sourceforge/boost/boost_1_34_0_beta.tar.bz2
 620  tar xjvf boost_1_34_0_beta.tar.bz2 
 621  cd boost_1_34_0
 625  bjam --toolset=gcc install&lt;/pre&gt;


&lt;p&gt;Install bjam (aka Boost.Jam)&lt;/p&gt;

&lt;pre&gt;
 639  export BOOST_ROOT=/root/libs/sam/boost_1_34_0
 641  cd $BOOST_ROOT/tools/jam/src
 642  ./build.sh&lt;/pre&gt;

&lt;p&gt;Install Boost.Python&lt;/p&gt;

&lt;pre&gt;
 646  cd /root/libs/sam/boost_1_34_0/libs/python/
 648  cd test/
 654  bjam --toolset=gcc test&lt;/pre&gt;


&lt;p&gt;Install bgl-python (you need development version for Jamfile v2 (needed by bjam / boost 1.34))&lt;/p&gt;

&lt;pre&gt;
 805  svn co https://svn.osl.iu.edu/svn/projects_viz/bgl-python
 806  cd bgl-python
 816  echo &quot;using python : 2.3 ;&quot;  &amp;gt;&amp;gt; /root/libs/sam/boost_1_34_0/tools/build/v2/user-config.jam
 842  bjam --pythonlibdir=/usr/lib/python2.4/site-packages/ --exec-prefix=/usr/ install
 843  python -c &quot;import boost.graph as bgl&quot;&lt;/pre&gt;


&lt;p&gt;Yeah!&lt;/p&gt;

&lt;pre&gt;&lt;/pre&gt;

&lt;p&gt;Things that help:&lt;/p&gt;

&lt;pre&gt; 609  vi README 
 815  bjam --debug-configuration
 816  vi /root/libs/sam/boost_1_34_0/tools/build/v2/user-config.jam (bjam config file)
 boost is at http://www.boost.org, bgl-python is at http://www.osl.iu.edu/~dgregor/bgl-python/&lt;/pre&gt;


&lt;p&gt;Notes:&lt;/p&gt;

&lt;pre&gt;
  1. Boost team (excluding bgl-python) doesn't known how to summarize or write technical howto. 
  2. #boost people on irc.freenode.net are scary but helpful.
  3. 2.2ghz is not enough for everybody.&lt;/pre&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>vserver / iptables hack.</title>
  <link rel="alternate" type="text/html" href="http://sa.muel.org/go/index.php/2007/05/07/45-vserver-iptables-hack" />
  <issued>2007-05-07T04:08:17-05:00</issued>
  <modified>2007-05-07T04:08:17-05:00</modified>
  <id>http://sa.muel.org/go/index.php/2007/05/07/45-vserver-iptables-hack</id>
  <author><name>Samuel T. Cossette</name></author>
  <dc:subject>General</dc:subject>
  <summary>Problem (need to access a local host when chbinded to a public ip address.):


##:/opt/back# chbind --ip 64.##.137.## ping -c 1 10.2.1.11
ipv4root is now 64.##.137.##
PING 10.2.1.11 (10.2.1.11) 56(84) bytes of data.

10.2.1.11 ping statistics --- 
1 packets transmitted, 0 received, 100% packet loss,...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Problem (need to access a local host when chbinded to a public ip address.):&lt;/p&gt;


&lt;pre&gt;##:/opt/back# chbind --ip 64.##.137.## ping -c 1 10.2.1.11
ipv4root is now 64.##.137.##
PING 10.2.1.11 (10.2.1.11) 56(84) bytes of data.

10.2.1.11 ping statistics --- 
1 packets transmitted, 0 received, 100% packet loss, time 0ms&lt;/pre&gt;

&lt;p&gt;Solution (aka hack):&lt;/p&gt;


&lt;pre&gt;##:/opt/back# for i in `cat /home/samuel/ipz`; do 
&amp;gt; iptables -t nat -A POSTROUTING -s $i -d 10.2.1.11 -j SNAT --to-source 10.4.1.254; 
&amp;gt; done
##:/opt/back# chbind --ip 64.##.137.## ping -c 1 10.2.1.11
ipv4root is now 64.##.137.##
PING 10.2.1.11 (10.2.1.11) 56(84) bytes of data.
64 bytes from 10.2.1.11: icmp_seq=1 ttl=64 time=51.0 ms

10.2.1.11 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 51.069/51.069/51.069/0.000 ms
##:/opt/back#&lt;/pre&gt;</content>
</entry>
</feed>