<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>configuration &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/configuration/</link>
	<description>Feed of posts on WordPress.com tagged "configuration"</description>
	<pubDate>Mon, 13 Oct 2008 02:32:26 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[EPG data for Austria/Germany/Switzerland]]></title>
<link>http://gentoomythtv.wordpress.com/?p=119</link>
<pubDate>Mon, 13 Oct 2008 00:48:31 +0000</pubDate>
<dc:creator>niko86</dc:creator>
<guid>http://gentoomythtv.th.wordpress.com/2008/10/13/epg-data-for-austriagermanyswitzerland/</guid>
<description><![CDATA[if you are searching for good EPG Data for AT/DE/CH with categorys and stuff, you might just have fo]]></description>
<content:encoded><![CDATA[<p>if you are searching for good EPG Data for AT/DE/CH with categorys and stuff, you might just have found the answer.<br />
You might think: "Why doesn't this bloke use nxtvepg..?",  Well, i took a look, but since i found a good grabber and i read that nxtvepg doesn't provide more than a few days of guide data, i will stick with the grabber.<br />
first i tried tvm2xml from: http://mythtv.linux-dude.de/<br />
it works quite good, is quite fast, but i just can't get good epg data for some of the channels.<br />
after a while of searching i read about epgdata.com, they are providing good epgdata ready to download in xml format for a little anual fee.<br />
you can grab and use the data with tv_grab_eu_epgdata from the xmltv package which you should download manually from the xmltv project site since the version in the portage tree is quite old.<br />
you can get 16 days of epg data from epgdata.com.<br />
it may be possible to get some more, but the grabber seems to be broken since it exits with an error if you specifiy more than 16 days.<br />
if you know another alternative feel free to post a comment.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Les "futurs" caractéristiques des futurs Macbook (Pro)]]></title>
<link>http://sliptip.wordpress.com/?p=8</link>
<pubDate>Fri, 10 Oct 2008 17:48:12 +0000</pubDate>
<dc:creator>sliptip</dc:creator>
<guid>http://sliptip.th.wordpress.com/2008/10/10/les-futurs-caracteristiques-des-futurs-macbook-pro/</guid>
<description><![CDATA[
Faut-il prendre ceci pour encore des rumeurs ou pour des informations? CultOfMac s&#8217;essaye lui]]></description>
<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://sliptip.files.wordpress.com/2008/10/macbookpro0809.jpg"><img class="size-large wp-image-9 aligncenter" title="macbookpro0809" src="http://sliptip.wordpress.com/files/2008/10/macbookpro0809.jpg?w=500" alt="" width="500" height="280" /></a></p>
<p>Faut-il prendre ceci pour encore des rumeurs ou pour des informations?<span class="texte_gras"> CultOfMac s'essaye lui au guesswork pour dévoiler ce qu'il croit être les caractéristiques des prochains portables Apple:</span></p>
<ul>
<li>Puces Penryn Core 2 Duo : 2.4GHz, 2.66GHz, 2.8GHz, et 3.06GHz</li>
<li>2Go de RAM (MacBook); 4Go de RAM (MacBook Pro)</li>
<li>Disques Durs : 160GB — 320GB</li>
<li>Écran Glossy widescreen TFT. MacBook: 13.3-pouces (1,280×800 resolution); MacBook Pro: 13.8-pouces   (1,366×768)</li>
<li>Integrated NVIDIA graphics system</li>
<li>Prix à partir de 800 $ pour les MacBook</li>
<li>Clavier "à la" MacBook air pour toute la gamme</li>
<li>Batterie extra large occupant toute la largeur de la machine</li>
<li>Pas de Blu-ray</li>
<li>Tout en aluminium, blanc, noir et alu</li>
<li>Fermeture magnétique sur toute la gamme</li>
<li>Plus fins sur les bords, à l'instar du Macbook Air</li>
</ul>
<p>Y a des bonnes choses et d'autres qu'il faudrait changer. On a plus qu'à attendre pour savoir...</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Using a module from another project]]></title>
<link>http://arpeggios.wordpress.com/?p=417</link>
<pubDate>Fri, 10 Oct 2008 13:10:32 +0000</pubDate>
<dc:creator>nicolas.martin</dc:creator>
<guid>http://arpeggios.th.wordpress.com/2008/10/10/using-a-module-from-another-project/</guid>
<description><![CDATA[The MVC paradigm, adopted in symfony from top to bottom, brings highly decoupled components meant to]]></description>
<content:encoded><![CDATA[<p>The MVC paradigm, adopted in symfony from top to bottom, brings highly decoupled components meant to be used independently.</p>
<p>In a symfony application, modules are flexible and allow complex manipulations like :</p>
<ul>
<li>forwarding to another module/action and delegate request processing</li>
<li>rendering a module/action in isolation (like an email generation module)</li>
</ul>
<p>Unfortunately, this agility is only available inside a project context. You cannot use a module from another project.</p>
<p>Here is a trick to 'load' components (modules, libs, validators or whatever) from an external project.</p>
<h3>Project configurations and contexts</h3>
<p>The Application configuration object is defined early in the process chain. sfContext loads it and creates a sfContext instance for the current application.</p>
<p>Since symfony 1.1, sfContext is not a singleton anymore. It is now possible to have several context instances.</p>
<p>You can create a configuration object for the external project/application,  add a sfContext instance to the stack, and switch between them using the <i>sfContext::switchTo()</i> method.</p>
<pre>
sfContext<span class="phpOperator">::</span>createInstance<span class="phpParent">(</span><span class="phpVarSelector">$</span><span class="Identifier">configuration</span><span class="phpParent">)</span>
sfContext<span class="phpOperator">::</span>switchTo<span class="phpParent">(</span>'<span class="Constant">another_app</span>'<span class="phpParent">)</span>;
</pre>
<h3>ExternalProjectFilter</h3>
<p>Let's create a filter that will handle all this job early in the process chain.</p>
<p>In <i>/apps/yourapp/config/filters.yml</i>:</p>
<pre>
rendering: ~
security:  ~

external:
  class: ExternalProjectFilter
  param:
    sf_root_dir: /var/www/external_project_dir
    sf_app: external_app_name
    sf_env: dev
    sf_debug: true

cache:     ~
common:    ~
execution: ~
</pre>
<p>Now let's write the ExternalProjectFilter class in <i>/lib/ExternalProjectFilter.class.php</i></p>
<pre>
<span class="Type">class</span> ExternalProjectFilter <span class="Type">extends</span> sfFilter
<span class="phpParent">{</span>
  <span class="Type">public</span> <span class="PreProc">function</span> execute<span class="phpParent">(</span><span class="phpVarSelector">$</span><span class="Identifier">filterChain</span><span class="phpParent">)</span>
  <span class="phpParent">{</span>
    <span class="Statement">if</span> <span class="phpParent">(</span><span class="phpVarSelector">$</span><span class="Identifier">this</span><span class="phpMemberSelector">-&#62;</span>isFirstCall<span class="phpParent">())</span>
    <span class="phpParent">{</span>
      <span class="phpVarSelector">$</span><span class="Identifier">current_app</span> <span class="phpOperator">=</span> sfConfig<span class="phpOperator">::</span>get<span class="phpParent">(</span>'<span class="Constant">sf_app</span>'<span class="phpParent">)</span>;

      <span class="phpVarSelector">$</span><span class="Identifier">configuration</span> <span class="phpOperator">=</span> ProjectConfiguration<span class="phpOperator">::</span>getApplicationConfiguration<span class="phpParent">(</span>
        <span class="phpVarSelector">$</span><span class="Identifier">this</span><span class="phpMemberSelector">-&#62;</span>getParameter<span class="phpParent">(</span>'<span class="Constant">sf_app</span>'<span class="phpParent">)</span>,
        <span class="phpVarSelector">$</span><span class="Identifier">this</span><span class="phpMemberSelector">-&#62;</span>getParameter<span class="phpParent">(</span>'<span class="Constant">sf_env</span>'<span class="phpParent">)</span>,
        <span class="phpVarSelector">$</span><span class="Identifier">this</span><span class="phpMemberSelector">-&#62;</span>getParameter<span class="phpParent">(</span>'<span class="Constant">sf_debug</span>'<span class="phpParent">)</span>,
        <span class="phpVarSelector">$</span><span class="Identifier">this</span><span class="phpMemberSelector">-&#62;</span>getParameter<span class="phpParent">(</span>'<span class="Constant">sf_root_dir</span>'<span class="phpParent">)</span>
      <span class="phpParent">)</span>;

      <span class="Comment">// Add an instance of the external project on the current context</span>
      sfContext<span class="phpOperator">::</span>createInstance<span class="phpParent">(</span><span class="phpVarSelector">$</span><span class="Identifier">configuration</span><span class="phpParent">)</span>;

      <span class="Comment">// Add the external project's database connection settings</span>
      Propel<span class="phpOperator">::</span>setConfiguration<span class="phpParent">(</span>sfPropelDatabase<span class="phpOperator">::</span>getConfiguration<span class="phpParent">())</span>;
      Propel<span class="phpOperator">::</span>initialize<span class="phpParent">()</span>;

      <span class="Comment">// Autoload external project files</span>
      <span class="phpVarSelector">$</span><span class="Identifier">autoload</span> <span class="phpOperator">=</span> sfSimpleAutoload<span class="phpOperator">::</span>getInstance<span class="phpParent">()</span>;
      <span class="phpVarSelector">$</span><span class="Identifier">autoload</span><span class="phpMemberSelector">-&#62;</span>addDirectory<span class="phpParent">(</span> <span class="phpVarSelector">$</span><span class="Identifier">this</span><span class="phpMemberSelector">-&#62;</span>getParameter<span class="phpParent">(</span>'<span class="Constant">sf_root_dir</span>'<span class="phpParent">)</span><span class="phpOperator">.</span>'<span class="Constant">/lib</span>'<span class="phpParent">)</span>;
      <span class="phpVarSelector">$</span><span class="Identifier">autoload</span><span class="phpMemberSelector">-&#62;</span>register<span class="phpParent">()</span>;

      <span class="Comment">// Switch back to the current context</span>
      sfContext<span class="phpOperator">::</span>switchTo<span class="phpParent">(</span><span class="phpVarSelector">$</span><span class="Identifier">current_app</span><span class="phpParent">)</span>;
    <span class="phpParent">}</span>

    <span class="phpVarSelector">$</span><span class="Identifier">filterChain</span><span class="phpMemberSelector">-&#62;</span>execute<span class="phpParent">()</span>;
  <span class="phpParent">}</span>
<span class="phpParent">}</span>
</pre>
<h3>Example</h3>
<p>In <i>/apps/yourapp/modules/article/template/indexSuccess.php</i></p>
<pre>
...
sfContext<span class="phpOperator">::</span>switchTo<span class="phpParent">(</span>'<span class="Constant">external_app_name</span>'<span class="phpParent">)</span>;
<span class="PreProc">echo</span> sfContext<span class="phpOperator">::</span>getInstance<span class="phpParent">()</span><span class="phpOperator">-</span><span class="phpRelation">&#62;</span>getController<span class="phpParent">()</span><span class="phpOperator">-</span><span class="phpRelation">&#62;</span>getPresentationFor<span class="phpParent">(</span>'<span class="Constant">customer</span>', '<span class="Constant">index</span>'<span class="phpParent">)</span>;
sfContext<span class="phpOperator">::</span>switchTo<span class="phpParent">(</span>'<span class="Constant">your_app_name</span>'<span class="phpParent">)</span>;
...
</pre>
<p><a href="http://arpeggios.wordpress.com/files/2008/10/external2.jpg"><img src="http://arpeggios.wordpress.com/files/2008/10/external2.jpg?w=450" alt="" title="external2" width="450" height="276" class="alignnone size-large wp-image-438" /></a></p>
<h3>Limitations</h3>
<p>Projects cannot share the same default database connection name 'propel'. The trick is to explicitly name the database in your schema/databases.yml :</p>
<p><i>schema.xml</i></p>
<pre>
<span class="Comment">&#60;?</span><span class="htmlArg">xml</span><span class="Type"> </span><span class="htmlArg">version</span>=<span class="Constant">&#34;1.0&#34;</span><span class="Type"> </span><span class="htmlArg">encoding</span>=<span class="Constant">&#34;UTF-8&#34;</span><span class="Comment">?&#62;</span>
<span class="htmlTag">&#60;</span><span class="Function">database</span><span class="htmlTag"> </span><span class="htmlArg"><strong>name</span>=<span class="Constant">&#34;project&#34;</span></strong><span class="htmlTag"> </span><span class="htmlArg">package</span>=<span class="Constant">&#34;lib.model&#34;</span><span class="htmlTag"> </span><span class="htmlArg">defaultIdMethod</span>=<span class="Constant">&#34;native&#34;</span><span class="htmlTag"> </span><span class="htmlArg">noXsd</span>=<span class="Constant">&#34;true&#34;</span><span class="htmlTag">&#62;</span>
  <span class="htmlTag">&#60;</span><span class="Function">table</span><span class="htmlTag"> </span><span class="htmlArg">name</span>=<span class="Constant">&#34;article&#34;</span><span class="htmlTag">&#62;</span>
</pre>
<p><i>databases.yml</i></p>
<pre>
all<span class="phpOperator">:</span>
  <strong>project</strong><span class="phpOperator">:</span>
    <span class="Type">class</span><span class="phpOperator">:</span>          sfPropelDatabase
    param<span class="phpOperator">:</span>
      dsn<span class="phpOperator">:</span>          mysql<span class="phpOperator">:</span><span class="Comment">//user:pass@host/db</span>
      encoding<span class="phpOperator">:</span>     utf8
</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[How to configure Workflow Mailer in 11i &amp; R12]]></title>
<link>http://oraclepitstop.wordpress.com/?p=202</link>
<pubDate>Thu, 09 Oct 2008 20:53:48 +0000</pubDate>
<dc:creator>oraclepitstop</dc:creator>
<guid>http://oraclepitstop.th.wordpress.com/2008/10/09/how-to-configure-workflow-mailer-in-11i-r12/</guid>
<description><![CDATA[You can download the document here.
cheers,
OraclePitStop.
]]></description>
<content:encoded><![CDATA[<p>You can download the document <a href="http://oraclepitstop.files.wordpress.com/2008/10/workflow-mailer-configuration-guide.pdf" target="_blank">here</a>.</p>
<p>cheers,<br />
OraclePitStop.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Secure Your Spring Application Configuration With Jasypt]]></title>
<link>http://heuristicexception.wordpress.com/?p=66</link>
<pubDate>Thu, 09 Oct 2008 19:25:19 +0000</pubDate>
<dc:creator>heuristicexception</dc:creator>
<guid>http://heuristicexception.th.wordpress.com/2008/10/09/secure-your-spring-application-configuration-with-jasypt/</guid>
<description><![CDATA[By and large, the applications that we deploy are configured at runtime by using the Spring Property]]></description>
<content:encoded><![CDATA[<p>By and large, the applications that we deploy are configured at runtime by using the <a href="http://www.springframework.org/">Spring</a> <a href="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.html">PropertyPlaceholderConfigurer</a>. For those of you not familiar with this concept, basically, any environment specific properties in our application or even properties that we just want to be able to easily change, are defined using <a href="http://ant.apache.org/">Ant</a> style <a href="http://ant.apache.org/manual/using.html#properties">property syntax</a> within our <a href="http://www.springframework.org/">Spring</a> beans configuration.</p>
<p>For instance, our <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/sql/DataSource.html">DataSource</a> configuration looks something like this:</p>
<p>[sourcecode language="xml"]<br />
<bean id="dataSource" class="com.atomikos.jdbc.nonxa.AtomikosNonXADataSourceBean"<br />
          destroy-method="close"></p>
<property name="uniqueResourceName" value="My Primary Datasource"/>
<property name="driverClassName" value="com.inet.tds.TdsDriver"/>
<property name="url" value="jdbc:inetdae7a:${database.host}:${database.port}?database=${database.name}&#38;secureLevel=0"/>
<property name="user" value="${database.user}"/>
<property name="password" value="${database.password}"/>
<property name="testQuery" value="select 1"/>
<property name="maxPoolSize" value="50"/>
<property name="minPoolSize" value="20"/>
      <!-- Setting reapTimeout=0 because atomikos incorrectly reaps nonxa connections. -->  </p>
<property name="reapTimeout" value="0"></property>
    </bean><br />
[/sourcecode]</p>
<p>By defining a <a href="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.html">PropertyPlaceholderConfigurer</a>, we can have <a href="http://www.springframework.org/">Spring</a> inject the appropriate properties for this <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/sql/DataSource.html">DataSource</a> when the application starts up:</p>
<p>[sourcecode language="xml"]<br />
    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"></p>
<property name="locations">
            <value>classpath:runtime-properties/${env}/my-application.properties</value>
        </property>
<property name="nullValue">
            <value>null</value>
        </property>
        <!-- Force system properties to override any deployed runtime properties --></p>
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/>
    </bean><br />
[/sourcecode]</p>
<p>For instance, my file <code>runtime-properties/dev/my-application.properties</code> would contain:<br />
<code><br />
database.host=localhost<br />
database.user=myuser<br />
database.password=mypassword<br />
database.name=myapplicationdb<br />
database.port=1433<br />
</code><br />
When we deploy our application, we deploy ALL of the runtime property files for all of the different runtime environments. By injecting the <em><strong>env</strong></em> property into the container at runtime, we tell the application which runtime properties to use, e.g.:<br />
<code><br />
-Denv=dev<br />
</code><br />
This is usually done either in the startup script or the startup configuration for the container. For example, in <a href="http://www.jboss.org/">JBoss</a>, we would add this to the <code>run.conf</code> file or the <code>run.sh</code> script.</p>
<p>This approach opens up some security issues, however. Now, all of my database credentials for all of my runtime environments are packaged up in cleartext in my single WAR artifact. If, for instance, the sys admin who manages our deployments in our testing environments (integration and staging) is not the same sys admin that manages our deployments in our production environment, especially if this is security related (only trusted senior administrators can manage production applications), we have a security hole because the credentials for all environments are stored in the WAR.</p>
<p>Historically, there has been no easy way around this. Typically, one would generate a secret key that could be used to decrypt the passwords if they were encrypted in the application configuration but then if you put this secret key IN the application deployment, you STILL have a security hole--any sufficiently determined adversary can use this key to decrypt your encrypted passwords.</p>
<p>Recently, I stumbled across the <a href="http://www.jasypt.org/">Jasypt</a> project. It aims to provide some simplified interfaces into the <a href="http://java.sun.com/javase/technologies/security/">Java Encryption API's</a>. The feature it offered that most appealed to me, however, was the integration that it offers for <a href="http://www.springframework.org/">Spring</a> that dovetails nicely with my configuration.</p>
<p><a href="http://www.jasypt.org/">Jasypt</a> offers a special implementation of the <a href="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.html">PropertyPlaceholderConfigurer</a> called the <a href="http://www.jasypt.org/api/jasypt/apidocs/org/jasypt/spring/properties/EncryptablePropertyPlaceholderConfigurer.html">EncryptablePropertyPlaceholderConfigurer</a> that allows you to encrypt some of your properties in your configuration files and have them decrypted on the fly when the application is starting. What's more important, is it allows you to pass the encryption key, or 'password' into the application as a system property at runtime, decoupling the knowledge of the key from the deployable artifact.</p>
<p>Let's see how this would work</p>
<p>First we would need to decide on an encryption algorithm and a password. Then we would use the commandline tools that ship with <a href="http://www.jasypt.org/">Jasypt</a> to encrypt our database password above:<br />
<code>./encrypt.sh input="mypassword" algorithm=PBEWithMD5AndTripleDES password=jasypt_is_cool</code><br />
<a href="http://www.jasypt.org/">Jasypt</a> will output something that looks like:<br />
<code><br />
----ENVIRONMENT-----------------</p>
<p>Runtime: Sun Microsystems Inc. Java HotSpot(TM) Server VM 10.0-b23 </p>
<p>----ARGUMENTS-------------------</p>
<p>algorithm: PBEWithMD5AndTripleDES<br />
input: mypassword<br />
password: jasypt_is_cool</p>
<p>----OUTPUT----------------------</p>
<p>AUP/WSfdvbAfVuBJW/kbXsqh2qu8yWiJ<br />
</code><br />
Then, we update our configuration file and replace:<br />
<code><br />
database.password=mypassword<br />
</code><br />
with:<br />
<code><br />
database.password=ENC(AUP/WSfdvbAfVuBJW/kbXsqh2qu8yWiJ)<br />
</code><br />
The syntax <code>ENC(...)</code> tells the <a href="http://www.jasypt.org/api/jasypt/apidocs/org/jasypt/spring/properties/EncryptablePropertyPlaceholderConfigurer.html">EncryptablePropertyPlaceholderConfigurer</a> that this property is encrypted.</p>
<p>Now, we will add the beans for the encryptor and it's configuration:</p>
<p>[sourcecode language="xml"]<br />
    <bean id="jasyptConfiguration"<br />
          class="org.jasypt.encryption.pbe.config.EnvironmentStringPBEConfig"<br />
          p:algorithm="PBEWithMD5AndTripleDES"<br />
          p:passwordSysPropertyName="jasypt.encryption.password"/></p>
<p>    <bean id="propertyPasswordEncryptor"<br />
          class="org.jasypt.encryption.pbe.StandardPBEStringEncryptor"<br />
          p:config-ref="jasyptConfiguration"/><br />
[/sourcecode]</p>
<p>The important thing to take away from the above is the configuration. The property <code>passwordSysPropertyName</code> tells <a href="http://www.jasypt.org/">Jasypt</a> that it should load the encryption password from a system property named <code>jasypt.encryption.password</code>.</p>
<p>Now, as I described above, I add a runtime property to my container so that this password gets injected into the runtime environment as a system property:<br />
<code><br />
-Djasypt.encryption.password=jasypt_is_cool<br />
</code><br />
The final step is to change the <a href="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.html">PropertyPlaceholderConfigurer</a> and wire it up to this encryptor:</p>
<p>[sourcecode language="xml"]<br />
    <bean class="org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfigurer"><br />
        <constructor-arg><br />
          <ref bean="propertyPasswordEncryptor"/><br />
        </constructor-arg></p>
<property name="locations">
          <value>classpath:runtime-properties/${env}/my-application.properties</value>
        </property>
<property name="nullValue">
          <value>null</value>
        </property>
        <!-- Force system properties to override any deployed runtime properties --></p>
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/>
    </bean><br />
[/sourcecode]</p>
<p>And that's it! I've now added another layer of security to avoid having my production passwords floating around in my deployable artifact. It is generally a good idea to record this configuration in a secure location outside of source control that has limited access. This configuration should include the actual database password, the <a href="http://www.jasypt.org/">Jasypt</a> encryption password used and the <a href="http://www.jasypt.org/">Jasypt</a> algorithm that was used to generate the encrypted password, at a minimum.</p>
<p>Cheers!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[[New] Keyfinder Portable 2.1]]></title>
<link>http://theguvnor.wordpress.com/?p=748</link>
<pubDate>Wed, 08 Oct 2008 09:46:53 +0000</pubDate>
<dc:creator>Felix</dc:creator>
<guid>http://theguvnor.th.wordpress.com/2008/10/08/new-keyfinder-portable-21/</guid>
<description><![CDATA[Version: 2.1
License: Open Source
Description: KeyFinder retrieves the product key for all Windows e]]></description>
<content:encoded><![CDATA[<p><strong>Version</strong>: 2.1<br />
<strong>License</strong>: Open Source<br />
<strong>Description</strong>: KeyFinder retrieves the product key for all Windows ed MS Office versions from the registry or from an unbootable Windows installation. You can also copy the key to clipboard, save it to a text file, of print for safekeeping.<br />
<strong>Website</strong>: <a href="http://magicaljellybean.com/keyfinder/" target="_blank">http://magicaljellybean.com/keyfinder/</a><a href="http://www.dosbox.com/" target="_blank"></a><br />
<strong>Size</strong>: 1.19 MB (installed) / 699 KB (compressed)<br />
<strong>Installer</strong>: <a href="http://www.badongo.com/it/file/11594237" target="_blank">Download</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Slackware 12.1 &amp; Wi-Fi]]></title>
<link>http://p4c0.wordpress.com/?p=112</link>
<pubDate>Wed, 08 Oct 2008 03:53:46 +0000</pubDate>
<dc:creator>p4c0</dc:creator>
<guid>http://p4c0.th.wordpress.com/2008/10/07/slackware-121-wi-fi/</guid>
<description><![CDATA[A couple of weeks ago I was surfing the internet as usual, and found a forum about Slackware and new]]></description>
<content:encoded><![CDATA[<p>A couple of weeks ago I was surfing the internet as usual, and found a forum about Slackware and new kde 4, there was one guy that was complaining about kde 4 because it lacks the wireless (wifi) configuration applet.</p>
<p>This post tries to explain how to configure Slackware Linux for wireless use. The trick is done similar to ethernet configuration, but with the use of wpa_supplicant, for this you need to install package wpa_supplicant-0.5.10-i486-1.tgz in slackware/n directory.</p>
<p>Let's suppose we have two interfaces (common in laptops), eth0 will be the ethernet (wired) and eth1 the wifi (wireless), our /etc/rc.d/rc.inet1.conf must be like this:</p>
<blockquote><p># Config information for eth0:<br />
IPADDR[0]=""<br />
NETMASK[0]=""<br />
USE_DHCP[0]="yes"<br />
DHCP_HOSTNAME[0]=""</p>
<p># Config information for eth1:<br />
IPADDR[1]=""<br />
NETMASK[1]=""<br />
USE_DHCP[1]="yes"<br />
DHCP_HOSTNAME[1]=""<br />
WLAN_WPA[1]="wpa_supplicant"</p></blockquote>
<p>Noticed the WLAN_WPA[1]="wpa_supplicant" entry, this tells the rc.d scripts to use wpa_supplicant, if for any reason your wireless interface is not called eth1, fear not!, you can include   IFNAME[1]="wlan0" or whatever name your interface has.</p>
<p>wpa_supplicant has several modes:</p>
<ul>
<li>hostap (default) - Host AP driver (Intersil Prism2/2.5/3).  (this can also be used with  Linuxan DriverLoader).</li>
<li>hermes - Agere Systems Inc. driver (Hermes-I/Hermes-II).</li>
<li>madwifi - MADWIFI 802.11 support (Atheros, etc.).</li>
<li>atmel - ATMEL AT76C5XXx (USB, PCMCIA).</li>
<li>wext - Linux wireless extensions (generic).</li>
<li>ndiswrapper - Linux ndiswrapper.</li>
<li>broadcom - Broadcom wl.o driver.</li>
<li>ipw - Intel ipw2100/2200 driver.</li>
<li>wired - wpa_supplicant wired Ethernet driver</li>
<li>bsd - BSD 802.11 support (Atheros, etc.).</li>
<li>ndis - Windows NDIS driver.</li>
</ul>
<p>If you want you can specify this with WLAN_WPADRIVER[1]="wext", for me, I haven't set it and it works fine, so my guess is that you would have to try it without it and then change it if needed.</p>
<p>Now you need to configure wpa_supplicant, this is done with /etc/wpa_supplicant.conf file, mine is:</p>
<blockquote><p># See /usr/doc/wpa_supplicant-0.5.7/wpa_supplicant.conf.sample<br />
# for many more options that you can use in this file.</p>
<p># This line enables the use of wpa_cli which is used by rc.wireless<br />
# if possible (to check for successful association)<br />
ctrl_interface=/var/run/wpa_supplicant<br />
# By default, only root (group 0) may use wpa_cli<br />
ctrl_interface_group=0<br />
eapol_version=1<br />
ap_scan=1<br />
fast_reauth=1</p>
<p># WPA protected network, supply your own ESSID and WPAPSK here:<br />
network={<br />
scan_ssid=0<br />
ssid="HOME_WIFI_NETWORK"<br />
proto=WPA<br />
key_mgmt=WPA-PSK<br />
pairwise=CCMP TKIP<br />
group=CCMP TKIP WEP104 WEP40<br />
psk="this is my super duper password"<br />
}</p>
<p># Plaintext connection (no WPA, no IEEE 802.1X),<br />
# nice for hotel/airport types of WiFi network.<br />
# You'll need a recent version of wireless-tools for this!<br />
#network={<br />
#  ssid="any"<br />
#  key_mgmt=NONE<br />
#  priority=2<br />
#}</p>
<p>network={<br />
ssid="officenetwork"<br />
scan_ssid=0<br />
key_mgmt=NONE<br />
wep_key0=B7A21715223F55AC7B21D4C23E<br />
wep_tx_keyidx=0<br />
}</p></blockquote>
<p>In this example you can see two networks, officenetwork who has simple WEP encryption, and HOME_WIFI_NETWORK who has wpa encryption. The nice thing about this setup is that you only have to configure it once, when you boot up, wpa_supplicant will check which network is available and will take the one with better signal. So no need to reconfigure your network every time you change place.</p>
<p>There's a commented block with ssid named any, this allows wpa_supplicant to connect to the first open network with best signal, I have this commented out because I want to be sure that I'm connected to a trusted network all the time, but feel free to change and give it a try, also remember to read the man pages for more information.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Pure-ftp on CentOS 5 Pt 2]]></title>
<link>http://geekstar.wordpress.com/?p=57</link>
<pubDate>Tue, 07 Oct 2008 23:15:08 +0000</pubDate>
<dc:creator>geekstar</dc:creator>
<guid>http://geekstar.th.wordpress.com/2008/10/07/pure-ftp-on-centos-5-pt-2/</guid>
<description><![CDATA[Well now that you have installed a basic server install of CentOS we are going to setup the environm]]></description>
<content:encoded><![CDATA[<p>Well now that you have installed a basic server install of CentOS we are going to setup the environment we need in order to use our server. What you haven't installed CentOS 5 yet?  <a title="CentOS 5 install" href="http://geekstar.wordpress.com/2008/10/03/pure-ftp-on-centos-5/">You might want to check out part one of this then</a>.  For those of you who have already installed it lets move on.</p>
<p>This section covers the configuration of the firewall, ssh, and creating user accounts.  The final part will cover the install of MySQL, PHP, and Pure-ftp.<br />
<!--more--></p>
<p>Now this part is all command line baby!!!  So I'm not going to provide any screen shots since you shouldn't need them.  If you think you need screen shots for this section just stop reading now.  Seriously leave!  Okay so first I'm going to setup ssh.  It should already be installed so all we need to do is configure it.</p>
<p>I'm kind of a security freak so I'm going to walk you through how to do public-key authentication, and how to change the port of the ssh server so you aren't logging in on the standard port 22.  But before we do that I'm going to show you how to setup the firewall.  This is a basic setup but should be pretty secure.  If you want to know more about configuring the firewall <a href="http://wiki.centos.org/HowTos/Network/IPTables">check out this tutorial</a>.</p>
<p><code>cd ~<br />
mkdir scripts<br />
vim ./myfirewall<br />
</code></p>
<p>Just paste in this script (make modifications where you see fit):<br />
<code>#!/bin/bash<br />
#<br />
# iptables firewall configuration script</code></p>
<p><code># flush all current rules from iptables<br />
iptables -F</code></p>
<p><code># allow ssh connections on tcp port 8768 &#60;-- this is just random pick anything over 6000<br />
iptables -A INPUT -p tcp --dport 8768 -j ACCEPT<br />
# allow ftp connections on tcp port 21 &#60;-- for more security you can change this<br />
iptables -A INPUT -p tcp --dport 21 -j ACCEPT</code></p>
<p><code># set default policies for INPUT, FORWARD and OUTPUT chains<br />
iptables -P INPUT DROP<br />
iptables -P FORWARD DROP<br />
iptables -P OUTPUT ACCEPT</code></p>
<p><code># set access for localhost<br />
iptables -A INPUT -i lo -j ACCEPT</code></p>
<p><code># accept packets belonging to esablished and related connections<br />
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT</code></p>
<p><code># save settings<br />
/sbin/service iptables save</code></p>
<p><code># list the rules<br />
iptables -L -v</code></p>
<p>Finally make this file executable and you have a script:<br />
<code>chmod +x myfirewall</code></p>
<p>To run it you just type (you must be logged in as root):<br />
<code>~/scripts/myfirewall</code></p>
<p>This will make it easier when you want to add rules. It flushes all the rules, rebuilds the rules, saves them, and lists all the rules at the end.  Once this is done we should reboot to let the firewall settings take effect.<br />
<code>shutdown -r now</code></p>
<p>Another thing we want to do before we configure ssh is to create a user.  We aren't going to allow root access to ssh so we need someone to login as.  Once it's restarted we are going to login as root and create a user.  (just replace <em>username</em> and <em>password</em> with your desired username and password)<br />
<code>useradd <em>username</em><br />
passwd <em>username password</em></code></p>
<p>Now when you login to that username you can always switch to the root user by typing:<br />
<code>su -</code><br />
Then it will prompt you for the root password.  To switch back:<br />
<code>logout</code></p>
<p>Rule of thumb is to never login to root unless you absolutely have to in order to change something.  It can be really dangerous to login as root all the time because if you make a mistake there is most likely no way of going back.  Now that I gave you that warning we are going to login as root because we need to setup the ssh server.</p>
<p>First let's create a backup of the sshd_config file so we can go back if we make a mistake.<br />
<code>mv /etc/ssh/sshd_config /etc/ssh/sshd_config.bak</code></p>
<p>Now let's edit the original file.<br />
<code>vim /etc/ssh/sshd_config</code></p>
<p><a title="sshd_config file" href="http://geekstar.wordpress.com/2008/10/07/sshd_config-file/" target="_blank">And just copy this configuration and paste it into the window.</a> Or you can type it in manually, just make sure to double check everything at the end.</p>
<p>After you have done that all you need to do is to create the .ssh folder with the authorized keys file.  Make sure you are logged in as a user other than root and do this.</p>
<p><code>mkdir ~/.ssh<br />
chmod 700 ~/.ssh</code></p>
<p>Now all you have to do is to upload your public key to the server.  <a href="http://geekstar.wordpress.com/2008/10/07/setting-up-ssh-client-for-public-key-authentication/">If you do not have one it's pretty easy to make</a>.</p>
<p>Okay so I didn't plan on having a part 3 to this tutorial, but there is a lot more than I thought there would be.  So now that we have ssh setup properly and have the firewall configured then we are good to move on to the next part.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[sshd_config file]]></title>
<link>http://geekstar.wordpress.com/?p=65</link>
<pubDate>Tue, 07 Oct 2008 20:57:12 +0000</pubDate>
<dc:creator>geekstar</dc:creator>
<guid>http://geekstar.th.wordpress.com/2008/10/07/sshd_config-file/</guid>
<description><![CDATA[Here is my configuration file for OpenSSH server.  I have configured it to use public key authentica]]></description>
<content:encoded><![CDATA[<p>Here is my configuration file for OpenSSH server.  I have configured it to use public key authentication, and have only left the password authentication on so that people can test it before they turn it off.<br />
<!--more--></p>
<p><code># Package generated configuration file<br />
# See the sshd(8) manpage for details</code></p>
<p><code># What ports, IPs and protocols we listen for<br />
Port 8768<br />
# Use these options to restrict which interfaces/protocols sshd will bind to<br />
#ListenAddress ::<br />
#ListenAddress 0.0.0.0<br />
Protocol 2<br />
# HostKeys for protocol version 2<br />
HostKey /etc/ssh/ssh_host_rsa_key<br />
HostKey /etc/ssh/ssh_host_dsa_key<br />
#Privilege Separation is turned on for security<br />
UsePrivilegeSeparation yes</code></p>
<p><code># Lifetime and size of ephemeral version 1 server key<br />
KeyRegenerationInterval 3600<br />
ServerKeyBits 768</code></p>
<p><code># Logging<br />
SyslogFacility AUTH<br />
LogLevel DEBUG</code></p>
<p><code># Authentication:<br />
LoginGraceTime 120<br />
PermitRootLogin no<br />
StrictModes yes</code></p>
<p><code>RSAAuthentication yes<br />
PubkeyAuthentication yes<br />
#AuthorizedKeysFile	%h/.ssh/authorized_keys</code></p>
<p><code># Don't read the user's ~/.rhosts and ~/.shosts files<br />
IgnoreRhosts yes<br />
# For this to work you will also need host keys in /etc/ssh_known_hosts<br />
RhostsRSAAuthentication no<br />
# similar for protocol version 2<br />
HostbasedAuthentication no<br />
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication<br />
#IgnoreUserKnownHosts yes</code></p>
<p><code># To enable empty passwords, change to yes (NOT RECOMMENDED)<br />
PermitEmptyPasswords no</code></p>
<p><code># Change to yes to enable challenge-response passwords (beware issues with<br />
# some PAM modules and threads)<br />
ChallengeResponseAuthentication no</code></p>
<p><code># Change to no to disable tunnelled clear text passwords<br />
PasswordAuthentication yes</code></p>
<p><code># Kerberos options<br />
#KerberosAuthentication no<br />
#KerberosGetAFSToken no<br />
#KerberosOrLocalPasswd yes<br />
#KerberosTicketCleanup yes</code></p>
<p><code># GSSAPI options<br />
#GSSAPIAuthentication no<br />
#GSSAPICleanupCredentials yes</code></p>
<p><code>X11Forwarding no<br />
#X11DisplayOffset 10<br />
PrintMotd no<br />
PrintLastLog yes<br />
TCPKeepAlive yes<br />
#UseLogin no</code></p>
<p><code>#MaxStartups 10:30:60<br />
#Banner /etc/issue.net</code></p>
<p><code># Allow client to pass locale environment variables<br />
AcceptEnv LANG LC_*</code></p>
<p><code>Subsystem sftp /usr/lib/openssh/sftp-server</code></p>
<p><code>UsePAM yes</code></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Web.Config : Configuration by Environment]]></title>
<link>http://vgermain.wordpress.com/?p=74</link>
<pubDate>Tue, 07 Oct 2008 09:20:16 +0000</pubDate>
<dc:creator>Vincent Germain</dc:creator>
<guid>http://vgermain.th.wordpress.com/2008/10/07/webconfig-configuration-by-environment/</guid>
<description><![CDATA[During a web project lifecycle, we encounter always the same problem when deploiement is required in]]></description>
<content:encoded><![CDATA[<p>During a web project lifecycle, we encounter always the same problem when deploiement is required in development environment(Server A + DB A), Receipt/Qualif (Server B + DB B) and production (Server C + DB C without taking care of web farming). Many developpers choose to create one web.config for each environment; not a bad choice but a permanent synchro is required when adding reference or others commons configurations.<br />
I was looking to improve this system to minimize the synchro time between each web.config file and find a simple tips to exclude the specific data from a web.config : the configSource property.</p>
<p>This way, it's possible to write a web.config like that :</p>
<div style="font-family:Courier New;font-size:7pt;color:black;background:white;">
<p style="margin:0;"><span style="color:#0000ff;">&#60;?</span><span style="color:#a31515;">xml</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">version</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">1.0</span>"<span style="color:#0000ff;">?&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">&#60;</span><span style="color:#a31515;">configuration</span><span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">  &#60;</span><span style="color:#a31515;">configSections</span><span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">    &#60;</span><span style="color:#a31515;">sectionGroup</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">system.web.extensions</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>"<span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">      &#60;</span><span style="color:#a31515;">sectionGroup</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">scripting</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>"<span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">        &#60;</span><span style="color:#a31515;">section</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">scriptResourceHandler</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">requirePermission</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">false</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">allowDefinition</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">MachineToApplication</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">        &#60;</span><span style="color:#a31515;">sectionGroup</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">webServices</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>"<span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">          &#60;</span><span style="color:#a31515;">section</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">jsonSerialization</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">requirePermission</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">false</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">allowDefinition</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">Everywhere</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">          &#60;</span><span style="color:#a31515;">section</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">profileService</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">requirePermission</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">false</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">allowDefinition</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">MachineToApplication</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">          &#60;</span><span style="color:#a31515;">section</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">authenticationService</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">requirePermission</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">false</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">allowDefinition</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">MachineToApplication</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">          &#60;</span><span style="color:#a31515;">section</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">roleService</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">requirePermission</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">false</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">allowDefinition</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">MachineToApplication</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">        &#60;/</span><span style="color:#a31515;">sectionGroup</span><span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">      &#60;/</span><span style="color:#a31515;">sectionGroup</span><span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">    &#60;/</span><span style="color:#a31515;">sectionGroup</span><span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">    &#60;</span><span style="color:#a31515;">section</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">httpModuleErrorHandler</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">Arcelor2.Configuration.LogSection,Arcelor2</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">    &#60;</span><span style="color:#a31515;">section</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">logger</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">Arcelor2.Configuration.LogSection,Arcelor2</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">  &#60;/</span><span style="color:#a31515;">configSections</span><span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">  &#60;</span><span style="color:#a31515;">appSettings</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">configSource</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">Config\ApplicationSettings.Config</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">  &#60;</span><span style="color:#a31515;">connectionStrings</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">configSource</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">Config\ConnectionStrings.Config</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p>...</p></div>
<p>and simply write a file name ApplicationSettings.Config(the name can be changed) in my folder Config. This one contains :</p>
<div style="font-family:Courier New;font-size:7pt;color:black;background:white;">
<p style="margin:0;"><span style="color:#0000ff;">&#60;?</span><span style="color:#a31515;">xml</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">version</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">1.0</span>"<span style="color:#0000ff;">?&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">&#60;</span><span style="color:#a31515;">appSettings</span><span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">  &#60;!--</span><span style="color:#008000;"> DEV </span><span style="color:#0000ff;">--&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">  &#60;</span><span style="color:#a31515;">add</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">key</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">Key1</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">value</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">Value1 for Environment 1</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p>...</p></div>
<p>Thus we only need to create for each environnement a file name ApplicationSettings.Config with the specific parameters. It reduces the number of parameter to confront to the minimum.<br />
When deploying, you should only copy the web.config and the appropriate ApplicationSettings.Config.</p>
<p>In my example, we can see an other configSource for connectionString based on the same principle. The connectionString section is now describe in another file :</p>
<div style="font-family:Courier New;font-size:7pt;color:black;background:white;">
<p style="margin:0;"><span style="color:#0000ff;">&#60;?</span><span style="color:#a31515;">xml</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">version</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">1.0</span>"<span style="color:#0000ff;">?&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">&#60;</span><span style="color:#a31515;">connectionStrings</span><span style="color:#0000ff;">&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">  &#60;</span><span style="color:#a31515;">add</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">DB1</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">connectionString</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">Application Name=APP1;Data Source=DB1;Initial Catalog=APP1_Dev;Persist Security Info=True;</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">providerName</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Data.SqlClient</span>"<span style="color:#0000ff;">/&#62;</span></p>
<p style="margin:0;"><span style="color:#0000ff;">&#60;/</span><span style="color:#a31515;">connectionStrings</span><span style="color:#0000ff;">&#62;</span></p>
</div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Commands take effect right away.]]></title>
<link>http://aaarticles.wordpress.com/?p=350</link>
<pubDate>Sat, 04 Oct 2008 04:21:24 +0000</pubDate>
<dc:creator>kashaan143</dc:creator>
<guid>http://aaarticles.th.wordpress.com/2008/10/04/commands-take-effect-right-away/</guid>
<description><![CDATA[If you are an experienced Cisco router user, you probably just groaned. However, I find that this co]]></description>
<content:encoded><![CDATA[<p style="text-align:justify;">If you are an experienced Cisco router user, you probably just groaned. However, I find that this concept escapes new users.<br />
As you type commands into the configuration mode, they immediately take effect. For example, if we change the router's name, we see that the very next line contains the new router name:<br />
Router1#config terminal<br />
Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#hostname MyRouter<br />
MyRouter(config)#^Z<br />
MyRouter#<br />
As you can see, we changed the router's name to MyRouter, which was immediately processed. This concept applies to everything in the router's configuration mode.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Creating a backup user for doing a mysqldump]]></title>
<link>http://colinnewell.wordpress.com/?p=98</link>
<pubDate>Fri, 03 Oct 2008 22:24:01 +0000</pubDate>
<dc:creator>colinnewell</dc:creator>
<guid>http://colinnewell.th.wordpress.com/2008/10/03/creating-a-backup-user-for-doing-a-mysqldump/</guid>
<description><![CDATA[Creating a user just for doing the backups via mysqldump is really simple.  In mysql just issue the]]></description>
<content:encoded><![CDATA[<p>Creating a user just for doing the backups via mysqldump is really simple.  In mysql just issue the following grant statement,</p>
<p><code>grant select, lock tables on mydatabase.* to 'backup'@'localhost' identified by 'password';</code></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[httpd: bad group name dba]]></title>
<link>http://oraclepitstop.wordpress.com/?p=191</link>
<pubDate>Wed, 01 Oct 2008 20:35:37 +0000</pubDate>
<dc:creator>oraclepitstop</dc:creator>
<guid>http://oraclepitstop.th.wordpress.com/2008/10/01/httpd-bad-group-name-dba/</guid>
<description><![CDATA[All were working fine on our SOA server untill we restarted the services. All the custom oc4j compon]]></description>
<content:encoded><![CDATA[<p>All were working fine on our SOA server untill we restarted the services. All the custom oc4j components came up fine except the HTTP component.</p>
<p>Below is the error in opmn/logs/HTTP_Server~1.log</p>
<p>apachectl startssl: execing httpd<br />
httpd: bad group name dba</p>
<p>Executing the id command for the SOA owner returned</p>
<p>$ id<br />
uid=5352(username_masked) gid=500()</p>
<p>Note the blank open and closed brackets next to 500.</p>
<p>The root cause of the problem was read access on file /etc/group had been revoked by the root user.<br />
$ ls -l /etc/group<br />
-r--r-----   1 root       3              955 Oct  1 06:36 /etc/group</p>
<p>Both username and group information is stored in the httpd.conf. This file is read everytime you start apache. Since there was no read access to the /etc/group file and also no group information available for the SOA owner httpd service failed to start.</p>
<p>After granting read access to everyone, the services came up fine.</p>
<p>Above solution not only holds good to SOA but also to any Oracle product which uses apache viz., Oracle Apps, Oracle 10gAS.</p>
<p>cheers,<br />
OraclePitStop.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Random Question About CF]]></title>
<link>http://thebronxzoo.wordpress.com/?p=2654</link>
<pubDate>Wed, 01 Oct 2008 01:56:19 +0000</pubDate>
<dc:creator>charihar</dc:creator>
<guid>http://thebronxzoo.th.wordpress.com/2008/09/30/random-question-about-cf/</guid>
<description><![CDATA[
In 2009, who would you like to see in CF?
If the Yankees plug in Brett Gardner, the OF would shape ]]></description>
<content:encoded><![CDATA[<p><img class="alignnone" title="http://d.yimg.com/a/p/sp/getty/cc/fullj.b6402594c977b344cd74cff92f3220f7/b6402594c977b344cd74cff92f3220f7-getty-83027921eg016_new_york_yank.jpg" src="http://d.yimg.com/a/p/sp/getty/cc/fullj.b6402594c977b344cd74cff92f3220f7/b6402594c977b344cd74cff92f3220f7-getty-83027921eg016_new_york_yank.jpg" alt="" width="397" height="516" /></p>
<p>In 2009, who would you like to see in CF?</p>
<p>If the Yankees plug in Brett Gardner, the OF would shape up to be Gardner in center, Damon in left and Nady in right. That's a fairly solid defensive configuration. Of course, this arrangement is contingent upon the notion that Melky Cabrera will not be a starter next year and will likely make the team, but as a defensive replacement, off the bench (our 4th outfielder).</p>
<p>The second configuration could skimp on the defense, allowing for more offense. The Yankees could plug Damon into center and then figure things out from there. They could sign Manny Ramirez to a 3 or 4-year deal and let him roam RF (move Nady to LF), or they could try Matsui in the OF and hope that he doesn't die. This would open up the DH hole, allowing them to add another bopper.</p>
<p>Why go the offensive route when the pitching is more important, you ask? Well, say the Yanks fail to lure CC Sabathia or sign AJ Burnett (Burnett is still a huge drop off from CC). They would have to "settle" for Derek Lowe and maybe Jon Garland (unless they try to trade). I figure they would probably add Joba into the rotation as well, since the 4 starters (Wang, Lowe, Pettitte, Garland) can be counted on to eat innings, however, the rotation itself isn't as strong as it could've been with a Sabathia or a Burnett. You're essentially adding offense to offset the output expected from your pitchers. It's a strong rotation but it's not lights out, therefore more hitting would make some sense and it would allow the Yankees to take Joba out of games earlier (with a lead) and limiting his workload (it'd help Jon Garland too).</p>
<p>What do you think? Is the first option best or is the second option best? Or, do we simply have to wait and see because the pitching will decide how the story is told?</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Email Configuration]]></title>
<link>http://sharingknowledge.wordpress.com/?p=18</link>
<pubDate>Mon, 29 Sep 2008 11:54:21 +0000</pubDate>
<dc:creator>nowledge</dc:creator>
<guid>http://sharingknowledge.th.wordpress.com/2008/09/29/email-configuration/</guid>
<description><![CDATA[How to configure his mail software?
You have an email address and would like to use an email program]]></description>
<content:encoded><![CDATA[<p style="text-align:left;">How to configure his mail software?</p>
<p style="text-align:left;">You have an email address and would like to use an email program / software, meaning you want to use a proper mail program without having to login to a website (called a webmail in this case) to access your messages or to write a new mail.</p>
<p style="text-align:left;">On the following site you will find all information to configure your system if you want to use one of the most popular email software: Thunderbird, Outlook et Outlook Express ...</p>
<p style="text-align:left;">Online guide and downloadable PDF versions are available <a href="http://www.red-grove.com/EN/catalog.html?id=337">HERE</a>. (Register for free than click on Get It!, on the title, then Start it)</p>
<p style="text-align:center;"><img class="aligncenter" src="http://connaissances.files.wordpress.com/2008/06/configuration_mail.png" border="2" alt="Configuration Mail" width="221" height="430" /></p>
<p><a href="http://www.red-grove.com/EN/catalog.html?id=324"><br />
</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Engineer, Fuel Route Control and Instrumentation (C&amp;I), Wallsend, Newcastle, UK]]></title>
<link>http://energyrecruitmentsolutions.wordpress.com/?p=564</link>
<pubDate>Mon, 29 Sep 2008 11:25:34 +0000</pubDate>
<dc:creator>ersjobs</dc:creator>
<guid>http://energy-recruitment.net/2008/09/29/engineer-fuel-route-control-and-instrumentation-ci-wallsend-newcastle-uk/</guid>
<description><![CDATA[Engineer, Fuel Route C&amp;I
Reference: 1222685515
Ref No. 524/TLS. To provide support to a long ter]]></description>
<content:encoded><![CDATA[<h1>Engineer, Fuel Route C&#38;I</h1>
<h3>Reference: 1222685515</h3>
<p class="synopsis">Ref No. 524/TLS. To provide support to a long term legacy PLC replacement project, for fuel route control systems on AGR nuclear power plants. Working under supervision, either individually or as part of a team, to deliver high quality work to time, quality, budget and customer satisfaction.</p>
<h3>Location</h3>
<p>Wallsend</p>
<h3>Salary</h3>
<p>Attractive salary package available, negotiable depending upon qualifications and experience.</p>
<h3>Job Responsibilities</h3>
<p>Provide support to Software, C&#38;I and Safety System Engineers at the Wallsend office for the development and testing of code migration &#38; dynamic model/simulation environments including:</p>
<p>Implementation &#38; testing of PLC software modules &#38; systems.</p>
<p>Design implementation &#38; testing of simulation software devices for complete project simulation.</p>
<p>Design, configuration, implementation &#38; testing of SCADA systems.</p>
<p>Writing project specific documentation compliant with project/customer/industry standards.</p>
<p>Continually developing technical knowledge and competence in field of expertise, and seeks to develop skill portfolio.</p>
<p>Successful execution of high quality engineering work to time, quality, budget and customer satisfaction.</p>
<p><a name="OLE_LINK36"></a><a name="OLE_LINK35"></a><a name="OLE_LINK34"></a><a name="OLE_LINK33"></a><a name="OLE_LINK32"></a><a name="OLE_LINK31"></a><a name="OLE_LINK30"></a><a name="OLE_LINK29"></a><a name="OLE_LINK24"></a><a name="OLE_LINK23"></a><a name="OLE_LINK22"></a><a name="OLE_LINK11"></a><a name="OLE_LINK10"></a><a name="OLE_LINK9"></a><a name="OLE_LINK8"></a><a name="OLE_LINK7"></a><a name="OLE_LINK6"></a><a name="OLE_LINK5"><strong><span style="font-size:10pt;color:black;font-family:Tahoma;"><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span>Contact ERS on 01454 203 460, or submit a CV to </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></strong></a><a href="mailto:cv@energyrs.co.uk"><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><strong><span style="font-size:10pt;font-family:Tahoma;">cv@energyrs.co.uk</span></strong></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></a><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><span><strong><span style="font-size:10pt;color:black;font-family:Tahoma;">, to register your interest or apply</span></strong></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span><span><span><span><span><span><span><span><span><span><span><span><span><strong><span style="font-size:10pt;color:black;font-family:Tahoma;">, d</span></strong></span></span></span></span></span></span></span></span></span></span></span></span></span><span><span><span><span><span><span><span><span><span><span><span><strong><span style="font-size:10pt;color:black;font-family:Tahoma;">etails at http://www.ERSJobs.co.uk</span></strong></span></span></span></span></span></span></span></span></span></span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Lotus Foundations - First steps]]></title>
<link>http://schmhen.wordpress.com/?p=73</link>
<pubDate>Mon, 29 Sep 2008 09:57:29 +0000</pubDate>
<dc:creator>schmhen</dc:creator>
<guid>http://schmhen.th.wordpress.com/2008/09/29/lotus-foundations-first-steps/</guid>
<description><![CDATA[Installing Lotus Foundations start is quite a simple thing following this guide. You end up with a ]]></description>
<content:encoded><![CDATA[<p>Installing Lotus Foundations start is quite a simple thing following <a title="YouTube video - Installing Foundations" href="http://www.youtube.com/watch?v=d22Lpa8Apkc" target="_blank">this</a> guide. You end up with a VM holding a basic Foundations installation. </p>
[caption id="attachment_76" align="alignnone" width="300" caption="Lotus Foundations Server"]<a href="http://schmhen.wordpress.com/files/2008/09/screenhunter_02-sep-29-1129.jpg"><img class="size-medium wp-image-76" title="screenhunter_02-sep-29-1129" src="http://schmhen.wordpress.com/files/2008/09/screenhunter_02-sep-29-1129.jpg?w=300" alt="Lotus Foundations Server" width="300" height="166" /></a>[/caption]
<p>Webmail and calendaring (Domino Web Access) is already included and ready to use. You can choose between Full and Light version of DWA.</p>
<p><a href="http://schmhen.files.wordpress.com/2008/09/screenhunter_05-sep-29-1137.jpg"><img class="alignnone size-medium wp-image-78" title="screenhunter_05-sep-29-1137" src="http://schmhen.wordpress.com/files/2008/09/screenhunter_05-sep-29-1137.jpg?w=300" alt="" width="300" height="87" /></a></p>
<p>The web interface provides and easy way to manage and monitor your Foundations installation. There are functions to add users, to install AddOns, to configure mailing, ports and other stuff. Adding a new user automatically creates a new mailfile for this user so that she/he can immediately start over with writing mails and creating calendar entries.</p>
<p><a href="http://schmhen.wordpress.com/files/2008/09/screenhunter_04-sep-29-1135.jpg"><img class="alignnone size-medium wp-image-77" title="screenhunter_04-sep-29-1135" src="http://schmhen.wordpress.com/files/2008/09/screenhunter_04-sep-29-1135.jpg?w=300" alt="" width="300" height="259" /></a></p>
<p>There are a couple of AddOns you can install to enhance the capabilities of the server. Lotus Domino, Lotus Notes, Lotus Symphony and Engate Mail Sentinel (Anti-Spam). All AddOns will be installed to the Foundations server and managed from there. The Domino Server runs on the Foundations server. Lotus Notes and Lotus Symphony however are installation packaged which can be downloaded to workstations and installed there. Both Lotes and Lotus Domino are currently version 8.0.1!</p>
<p>Altogether the installation and configuration of the server is very easy, AddOns install themselves with no additional settings to be made and it simply works! Now all sales people have to convince S and M customers to buy this server. I have no clue how to licence the server and the AddOns and how much a licence costs, but given the simplicity of installing and configuring the server and yet the power of tools it provides it should sell well.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Émergence de contours - Illusion Kanizsa]]></title>
<link>http://neuroesthetique.wordpress.com/?p=133</link>
<pubDate>Sat, 27 Sep 2008 07:10:49 +0000</pubDate>
<dc:creator>neuroesthetique</dc:creator>
<guid>http://neuroesthetique.th.wordpress.com/2008/09/27/emergence-de-contours-illusion-kanizsa/</guid>
<description><![CDATA[ 
La perception de contour représente une fonction important de notre système visuel. La détectio]]></description>
<content:encoded><![CDATA[<p style="text-align:justify;"><!--[if gte mso 9]&#62; Normal   0   21                                 MicrosoftInternetExplorer4 &#60;![endif]--><!--  --><!--[if gte mso 10]&#62; &#60;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Tableau Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} --> <!--[endif]--></p>
<p style="text-align:justify;">La perception de contour représente une fonction important de notre système visuel. La détection de contour peut être pensée comme constituant des premières étapes de l'organisation perceptive, comme la première mise en segmentation des propriétés visuelles. Cette caractéristique de notre vision se manifeste également dans la création et dans la perception artistique. La première fonction du contour est de servir à distinguer d'une forme d'un fond. Il peut aussi définir les détails de l'objet, la texture de la surface, délimiter des ombrages et des reliefs, représenter des arêtes ou des coins. Une des façons les plus faciles de créer des contours est de tracer une ligne par le dessin. En règle générale, le contour est produit par une disparité lumineuse ou de coloris entre deux régions qui crée ainsi le contraste. De ce fait, en juxtaposant un carré blanc et un carré noir, un carré rouge à un carré bleu, une ligne émerge entre deux régions de luminances variées ou de coloris différents.</p>
<p style="text-align:justify;"><!--[if gte mso 9]&#62; Normal   0   21                                 MicrosoftInternetExplorer4 &#60;![endif]--><!--  --><!--[if gte mso 10]&#62; &#60;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Tableau Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} --> <!--[endif]--></p>
<p style="text-align:justify;">Il est cependant possible de produire des contours sans contraste lumineux ou de couleur. C'est le cas des formes qualifiées comme subjectives ou illusoires, qui peuvent être illustrées parfaitement par des motifs de Kanizsa. Dans  la Figure ci-dessous, le triangle blanc émerge de manière subjective et se trouve en avant des autre figures, comme un relief, en les cachant partiellement à notre vue. Ainsi un triangle blanc semble superposé au-dessus des cercles noirs et un triangle situé entre les cercles. Or les contours du triangle émergeant ne se reposent pas dans sa globalité sur le contraste lumineux réel de la surface, au contraire, certains facteurs subjectifs viennent ajouter le contraste entre le triangle émergeant et le fond blanc. Du coup, le blanc à l'intérieur du triangle émergeant apparaît plus lumineux que le blanc de son arrière-fond. Ce phénomène est particulièrement intriquant lorsque nous en avons découvert l'irréalité, l'illusion s'accentue au lieu de disparaître. D'après Gaetano Kanizsa, il s'agit d'un phénomène de « complétion amodale » de type gestaltiste<a name="_ftnref1" href="#_ftn1">[1]</a>.</p>
<p style="text-align:justify;">
[caption id="" align="aligncenter" width="235" caption="Triangle de Kanizsa (Source de l&#39;image : Wikipédia)"]<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/5/55/Kanizsa_triangle.svg/300px-Kanizsa_triangle.svg.png"><img title="Triangle de Kanizsa" src="http://upload.wikimedia.org/wikipedia/commons/thumb/5/55/Kanizsa_triangle.svg/300px-Kanizsa_triangle.svg.png" alt="Wikipédia)" width="235" height="250" /></a>[/caption]
<p style="text-align:justify;">
<p style="text-align:justify;">L'importance de contour réside dans le fait qu'en soulignant la forme, il nous permet d'extraire l'objet de son environnement et d'en former l'identité. Ce mécanisme visuel est si prégnant qu'il se manifeste partout dans les activités de voir et même dans la création artistique, sans que nous en rendions compte réellement. De là, nous supposons que l'emprise de la perception de contour doive constitue la condition primodiale de notre perception artistique. Des contours bien déterminés de l'objet peint semblent constituer une condition de sentiment de beau. Or cela ne veut pas dire que dans la création artistique, nous ne cherchons que l'effet de contour net et clean. Au contraire, nous constatons que la négation de la sobriété produite par des contours déterminés se trouve fréquemment dans œuvres ayant pour intention de s'adhérer à un esthétisme du sublime qui cherche avant tout le mouvement et une intensité d'émotion et qui a tendance de sombrer dans les non-formes d'ivresse ainsi dans l'impossibilité de voir.</p>
<p style="text-align:justify;">
<hr size="1" />
<p style="text-align:justify;"><a name="_ftn1" href="#_ftnref1">[1]</a> <em>Cf</em>. Gaetano Kanizsa (1980). <em>Grammatica del vedere</em>. Trad. Français. <em>La grammaire du voir</em>. Paris, Diderot.</p>
<p style="text-align:justify;">
]]></content:encoded>
</item>
<item>
<title><![CDATA[Updated: WF Mailer setup for a dev/test environment]]></title>
<link>http://appsdbalife.wordpress.com/?p=139</link>
<pubDate>Fri, 26 Sep 2008 23:06:31 +0000</pubDate>
<dc:creator>Maris Elsins</dc:creator>
<guid>http://appsdbalife.th.wordpress.com/2008/09/27/wf-mailer-setup-for-a-devtest-environment/</guid>
<description><![CDATA[There is a lot of Oracle e-Business Suite installations that use workflow mailer to communicate mess]]></description>
<content:encoded><![CDATA[<p>There is a lot of Oracle e-Business Suite installations that use workflow mailer to communicate messages to users and many of these environments have clones for development and testing purposes. It's obvious in most cases people that actually use the system will not be the same that develop customizations or do testing, therefore we need to reconfigure the workflow mailer to avoid sending misleading messages to business users from development or test environments.</p>
<p><!--more-->Lets take a look at what options we have!</p>
<ul>
<li>Don't start up the workflow mailer in the test environment - yap, that's a valid solution as the scope of development or testing may not need the functionality of sending the e-mails.</li>
<li>Set the "Test address" that will receive all mails sent by the workflow mailer. This option can be set using Oracle Application Manager (OAM) by editing the workflow mailer configuration and entering the email address in the "Test address" field (prior ATG_PF.H RUP3) or using the "Set Override Address" button. (starting from ATG_PF.H RUP3).<br />
This is easy to set option, but it's not always possible to use it as there may be too many mails incomming to the test address or too many people need acces to these mails</li>
<li>Modifying user preferences - users can use the preferences of their account to modify the settings of incoming notifications by themselves.
<p>[caption id="attachment_141" align="aligncenter" width="300" caption="User Preferences"]<a href="http://appsdbalife.wordpress.com/files/2008/09/user_preferences.gif"><img class="size-medium wp-image-141" title="User Preferences" src="http://appsdbalife.wordpress.com/files/2008/09/user_preferences.gif?w=300" alt="User Preferences" width="300" height="200" /></a>[/caption]</li>
</ul>
<p>User preferences define what type of emails should be sent and also allows to turn off email notifications. The problem here is that those preferences can be modified only for user account that is logged on currently, so there is no built in functionality to change the settings for all users at once, therefore we need some update statements to do it manually.</p>
<p>Workflow mailer reads the data in WF_LOCAL_ROLES table to find the configuration of email notifications, but values presented in "Preferences" screen are stored in WF_ATTRIBUTE_CACHE table. So if we want to change the settings for all users (to disable the email notifications in our case) we have to use a method that will properly update the values in all the tables where this configuration is stored. I used trace to investigate how the changed value of "email style" is being saved into the database. The data are saved by executing a single procedure:</p>
<pre>BEGIN fnd_preference.put (p_user, 'WF', 'MAILTYPE', p_email_style); END;</pre>
<p>... where "p_user" is the username and p_email_style is a value from the list (including the value description displayed in preferences window):</p>
<ul>
<li> DISABLED - Disabled</li>
<li> QUERY - Do not send me mail</li>
<li> MAILHTM2 - HTML mail</li>
<li> MAILHTML - HTML mail with attachments</li>
<li> SUMHTML - HTML summary mail</li>
<li> MAILTEXT - Plain text mail</li>
<li> MAILATTH - Plain text mail with HTML attachments</li>
<li>SUMMARY - Plain text summary mail</li>
</ul>
<p>For example, to update the email style to value "Do not send me mail" for user "TESTUSER":</p>
<pre>BEGIN
    fnd_preference.put('TESTUSER', 'WF', 'MAILTYPE', QUERY);
    COMMIT;
END;</pre>
<p>in fact, if fnd_preference.put is executed to update the email style, a business event oracle.apps.fnd.wf.ds.user.updated is raised that initiates the updates to WF_LOCAL_ROLES and WF_ATTRIBUTE_CACHE tables.</p>
<p>For a test or development environment we would need to disable all the email notifications, and the following procedure (executed with APPS user) can be used to achieve this aim:</p>
<pre>DECLARE
  --get users with email style other then 'Do not send emails'
  cursor c1 is
    select u.user_name
      from fnd_user u, wf_local_roles r
     where r.name = u.user_name
       and notification_preference != 'QUERY';
BEGIN
  for c in c1 loop
    --change user preference to 'Do not send emails'
    fnd_preference.put(c.user_name, 'WF', 'MAILTYPE', 'QUERY');
  end loop;
  --commit changes
  commit;
END;</pre>
<p>When it's done, the users that need the email notifications from the dev/test environment just have to change their preferences manually.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Configuring Eclipse to use a JDK at a location with spaces in it]]></title>
<link>http://onkarjoshi.wordpress.com/?p=84</link>
<pubDate>Thu, 25 Sep 2008 12:59:58 +0000</pubDate>
<dc:creator>Onkar Joshi</dc:creator>
<guid>http://onkarjoshi.th.wordpress.com/2008/09/25/configuring-eclipse-to-use-a-jdk-at-a-location-with-spaces-in-it/</guid>
<description><![CDATA[I was setting up my Eclipse environment with some new plugins today and ran into some trouble, which]]></description>
<content:encoded><![CDATA[<p>I was setting up my Eclipse environment with some new plugins today and ran into some trouble, which seems to have bothered many souls as I gather from the posts I found when trying to fix the problem.</p>
<p>Some tools/plugins/features in Eclipse may need to use a JDK rather than a JRE. Sometimes you may even wish to switch between different versions of the JRE or JDK being used since typically 1.4, 1.5/5 and 1.6/6 are all present on a developers' system at different locations.</p>
<p>I got a mesage from a Maven plugin which said that it needed a JDK to be used to run Eclipse instead of a JRE that it was currently using. Well, this shouldn't usually present much of a problem. You can choose the virtual machine used to run Eclipse by passing the -vm argument to eclipse.exe. What's usually needed is something like "eclipse.exe -vm c:\jdk1.6\bin\javaw.exe". Mind you, javaw.exe is used when you don't want an associated console window.</p>
<p>I did have JDK 1.6 installed. But it was installed to "C:\Program Files\Java\jdk1.6.0_07". That, it seems, is the default location. The space in the path caused big problems. I tried quotes\no quotes and other magical incantations to get it to accept the argument with a space but to no avail.</p>
<p>So instead of using the command line switch, I put an entry into eclipse.ini which is in the same directory as eclipse.exe. But this didn't work either.</p>
<p>Finally, what did work was that I started command.exe (the 16 bit DOS shell) and navigated to the JDK directory using "dir /X" for help which shows names generated in the format "C:\PROGRA~1\JAVA\JDK16~1.0_0\BIN". Perhaps you remember coming across such filenames.</p>
<p>Anyway, the older 8.3 style directory name worked! My final eclipse.ini is posted below.</p>
<p><em>-showsplash<br />
org.eclipse.platform<br />
--launcher.XXMaxPermSize<br />
256M<br />
-framework<br />
plugins\org.eclipse.osgi_3.4.0.v20080605-1900.jar<br />
-vm<br />
C:\PROGRA~1\JAVA\JDK16~1.0_0\BIN<br />
-vmargs<br />
-Dosgi.requiredJavaVersion=1.5<br />
-Xms40m<br />
-Xmx512m</em></p>
<p>I was using Windows XP with SP3 and Eclipse 3.4. There is likely to be a better solution that I missed. If you have it or if this post helped you, please leave a coment. :)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[[Resin] JasperReport on resin]]></title>
<link>http://nattyait.wordpress.com/?p=103</link>
<pubDate>Thu, 25 Sep 2008 04:50:50 +0000</pubDate>
<dc:creator>natty</dc:creator>
<guid>http://nattyait.th.wordpress.com/2008/09/25/resin-jasperreport-on-resin/</guid>
<description><![CDATA[หากเราไม่มี jasperserver บน resin แล้วเราต้องกา]]></description>
<content:encoded><![CDATA[<p>หากเราไม่มี jasperserver บน resin แล้วเราต้องการให้มันสามารถใช้งานกับ .jrxml และ compile ได้ เราจำเป็นจะต้องมี lib ดังต่อไปนี้ หากต้องการใช้ในทุก project ก็เอาไปวางไว้ที่ resin/lib</p>
<p>common-collection<br />
common-logging<br />
poi<br />
iReport<br />
commons-javaflow<br />
itext<br />
jasperreports<br />
common-digester<br />
common-beanutils</p>
<p><span class="entry-content">java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory</span><span class="entry-content"><br />
เกิดจากการไม่มี common-logging</span></p>
<p><span class="entry-content">javax.servlet.ServletException: net.sf.jasperreports.engine.JRException:java.lang.reflect.InvocationTargetExce</span>ption<br />
<span style="text-decoration:underline;"><strong>สาเหตุหนึ่งอาจ</strong></span> เกิดจากการไม่มี common-collection</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Distinction between configuration, personalization, and extensibility.]]></title>
<link>http://knoworacle.wordpress.com/?p=146</link>
<pubDate>Wed, 24 Sep 2008 15:47:23 +0000</pubDate>
<dc:creator>shivmohan purohit</dc:creator>
<guid>http://knoworacle.th.wordpress.com/2008/09/24/configuration-personalization-extensibility/</guid>
<description><![CDATA[Distinction between configuration, personalization, and extensibility.
Configuration provides setup ]]></description>
<content:encoded><![CDATA[<p><span style="font-size:small;color:#333399;font-family:times new roman,times;">Distinction between <span class="boldbodycopy"><em>configuration</em></span>, <span class="boldbodycopy"><em>personalization</em></span><em>, </em>and <span class="boldbodycopy"><em>extensibility</em></span>.</span></p>
<p><span style="font-family:times new roman,times;"><span style="font-size:small;"><span style="color:#ff0000;"><span class="italicbodycopy"><strong><em>Configuration</em></strong></span><strong></strong></span> provides setup and administrative choices using the native features of the product. Some configuration examples include: </span></span></p>
<ul>
<li><span style="font-size:small;font-family:times new roman,times;">Profile Options </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">User-defined fields (Flexfield) </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Function Security Setup </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Data Security Setup </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">and a lot more…. </span></li>
</ul>
<p><span style="font-family:times new roman,times;"><span style="font-size:small;"><strong><span class="italicbodycopy"><span style="color:#ff0000;">Personalization</span></span></strong> enables you to declaratively tailor the UI look-and-feel, layout or visibility of page content to suit a business need or a user preference. Some personalization examples include: </span></span></p>
<ul>
<li><span style="font-size:small;font-family:times new roman,times;">Tailor the order in which table columns are displayed. </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Tailor a query result. </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Tailor the color scheme of the UI. </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Folder Forms </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Forms Personalization </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Oracle Application Framework (OAF) </span></li>
</ul>
<p><span style="font-family:times new roman,times;"><span style="font-size:small;"><span class="italicbodycopy"><strong><span style="color:#ff0000;">Extensibility</span></strong></span><strong> </strong>is about extending the functionality of an application beyond what can be done through personalization. Some extensibility examples include: </span></span></p>
<ul>
<li><span style="font-size:small;font-family:times new roman,times;">Add new functional flows </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Extend or override existing business logic </span></li>
<li><span style="font-size:small;font-family:times new roman,times;">Using Oracle Forms Developer, Oracle JDeveloper and Oracle Workflow</span></li>
</ul>
<p><img src="http://static7.userland.com/oracle/images/stevenChan/Picture2005.png" alt="" width="451" height="268" /></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[[Resin] PHP in Java: Natty &amp; Juacompe discussion]]></title>
<link>http://nattyait.wordpress.com/?p=97</link>
<pubDate>Wed, 24 Sep 2008 13:25:07 +0000</pubDate>
<dc:creator>natty</dc:creator>
<guid>http://nattyait.th.wordpress.com/2008/09/24/resin-php-in-java-natty-juacompe-discussion/</guid>
<description><![CDATA[เนื่องมาจาก natty ที่พอจะมีความรู้เรื่]]></description>
<content:encoded><![CDATA[<p>เนื่องมาจาก natty ที่พอจะมีความรู้เรื่อง resin เท่าหางอึ่ง + PHP อยู่บ้าง บวกกับ juacompe ที่อัดแน่นไปด้วยความรู้เกี่ยวกับ server ที่ใช้ run java ทำให้วันนี้ก็เกิดความเข้าใจมากขึ้นกับ PHP in Java ใน resin</p>
<p>หากเราต้องการทำให้ java ของเราถูกเรียกโดย PHP ได้ ต้องทำให้ class นั้น extends AbstractQuercusModule และมี method ที่รับ parameter env ซึ่งเป็น quercus environment resources หรือไม่ก็ต้องสร้าง class ไว้แล้วให้มาสร้าง instant อยู่ใน class นี้</p>
<p>code ด้านล่างเป็นเป็น code ที่สร้าง method ขึ้นมาเพื่อให้ถูกเรียกจาก PHP ได้ ชื่อ method ว่า hello_test โดยจะเห็นว่ามันจะรับตัวแปร env ด้วย โดย class นี้อยู่ใน package example</p>
<p>[sourcecode language='java'] package example;</p>
<p>import com.caucho.quercus.env.Env;<br />
import com.caucho.quercus.module.AbstractQuercusModule;</p>
<p>public class HelloModule extends AbstractQuercusModule {<br />
   /*<br />
   ** Notice the careful use of the naming<br />
   ** convention hello_test.  This is done<br />
   ** in order to prevent name collisions<br />
   ** among different libraries.<br />
   **<br />
   ** @param env provides access to Quercus environment resources<br />
   ** @param name<br />
   */<br />
   public String hello_test(Env env, String name)<br />
   {<br />
     env.println("inside HelloModule  hello_test()");<br />
     return "Hello, " + name;<br />
   }<br />
} [/sourcecode]</p>
<p>สิ่งที่สำคัญคือ ต้องสร้างไฟล์ชื่อ com.caucho.quercus.QuercusModule ไว้ที่ classes/META-INF/services โดยใส่ชื่อ package.class เอาไว้</p>
<p>[sourcecode language='java'] example.HelloModule [/sourcecode]</p>
<p>ตอนหน้าค่อยต่ออีก....นี่เป็นเพียง study ยังไม่ได้ทดสอบเลยว่าทำต่างจากนี้แล้วจะพังป่าว</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Installation et configuration des serveurs]]></title>
<link>http://intraviva.wordpress.com/?p=73</link>
<pubDate>Wed, 24 Sep 2008 10:47:33 +0000</pubDate>
<dc:creator>Gaspard</dc:creator>
<guid>http://intraviva.th.wordpress.com/2008/09/24/instalation-et-configuration-des-serveurs/</guid>
<description><![CDATA[Le 14 juillet, il y a ceux qui vont voir les petits soldats  marcher au pas sur les champs, et puis ]]></description>
<content:encoded><![CDATA[<p>Le 14 juillet, il y a ceux qui vont voir les petits soldats  marcher au pas sur les champs, et puis il y a <a href="http://symfonians.net/person/eax">eax</a> qui publie sur son blog <a href="http://www.eax.fr/2008/07/14/gestion-projet-symfony-svn-subversion-trac/">toute la procédure pour mettre en place des serveurs prod/dev avec symfony, trac, svn, etc.</a></p>
<p>Ce post décrit la procédure d'installation d'un serveur de dev et d'un serveur de prod.</p>
<p>En ce qui concerne Trac, c'est à complêter avec le <a href="http://trac.edgewall.org/wiki/0.11/TracOnUbuntu">tuto d'installation de Trac sur Ubuntu</a> sur le site officiel de Trac.</p>
<p>En ce qui concerne la migration sur le serveur de prod, c'est à complêter avec le post sur <a href="http://akinas.com/pages/en/blog/symfony_deploy/">le blog d'Akinas</a>.</p>
]]></content:encoded>
</item>

</channel>
</rss>
