<?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://en.wordpress.com/tag/configuration/</link>
	<description>Feed of posts on WordPress.com tagged "configuration"</description>
	<pubDate>Sun, 29 Nov 2009 11:31:22 +0000</pubDate>

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

<item>
<title><![CDATA[Websphere Hibernate Datasource Configuration For MySQL]]></title>
<link>http://jefferyhaynes.net/2009/11/29/websphere-hibernate-datasource-configuration-for-mysql/</link>
<pubDate>Sun, 29 Nov 2009 02:43:11 +0000</pubDate>
<dc:creator>theartoftechonline</dc:creator>
<guid>http://jefferyhaynes.net/2009/11/29/websphere-hibernate-datasource-configuration-for-mysql/</guid>
<description><![CDATA[Yes this is a bit of a tangent from my usual posts, but I like to geek out as much as the next guy, ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Yes this is a bit of a tangent from my usual posts, but I like to geek out as much as the next guy, write some code, and deploy it to various Application servers.</p>
<p>I, as I suspect many programmers do, tend to develop my applications within Tomcat then build releases for other platforms such as WebSphere or Weblogic.   In doing so, I have come to the pretty obvious conclusion that it&#8217;s a good idea to use a Datasource references within my deployment descriptors, and allow the deployment managers to configure the AppServers for the given resources at deployment time. Over the last few days I have been struggling with how to properly configure a datasource within WebSphere and use the proper naming string within my hibernate.cfg.xml files.  I thought I would share my configuration steps in hopes that no one else has to go through this.</p>
<p>First You have to setup a JDBC Provider.  A JDBC provider is a JDBC driver that you can then use to connect to a database using a data source that you setup later in this example.</p>
<p>From the Administrative console, Open up the Resources pane, then expand JDBC.  Select JDBC Providers.</p>
<div id="attachment_151" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/resources-jdbc-jdbc-provider.jpg"><img class="size-medium wp-image-151  " title="JDBC Provider Screen" src="http://theartoftechonline.wordpress.com/files/2009/11/resources-jdbc-jdbc-provider.jpg?w=300" alt="" width="300" height="233" /></a><p class="wp-caption-text">Figure 1.  Depending on your scope selection, this screen shows all of the providers you have set up on your Websphere Server.</p></div>
<p>Select the Scope that you want this resource to be available at. Cell will make this resource available to all of the managed nodes and servers, but you can also make this resource available at the node or the server level.</p>
<p>Select New.</p>
<div id="attachment_155" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/newjdbcresource.jpg"><img class="size-medium wp-image-155" title="newjdbcresource" src="http://theartoftechonline.wordpress.com/files/2009/11/newjdbcresource.jpg?w=300" alt="" width="300" height="233" /></a><p class="wp-caption-text">Figure 2. Set up your new resource.</p></div>
<p><strong><em>Database Type: User Defined</em></strong></p>
<p><strong><em>Implementation Class Name: </em></strong><span style="font-family:Verdana, sans-serif;line-height:normal;font-size:10px;white-space:pre;"><strong><em>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</em></strong></span></p>
<p><strong><em>Name: That&#8217;s up to you.</em></strong></p>
<p>Select Next, and setup your classpath to your mysql driver.</p>
<div id="attachment_156" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/classpath.jpg"><img class="size-medium wp-image-156" title="ClassPath" src="http://theartoftechonline.wordpress.com/files/2009/11/classpath.jpg?w=300" alt="" width="300" height="233" /></a><p class="wp-caption-text">Figure 3.  Setup Class Path</p></div>
<p>Hit Next then Finish.  Don&#8217;t forget to Save this setup to the master configuration.</p>
<p>Under the JDBC node, Select Data Providers.</p>
<div id="attachment_157" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/dataproviders.jpg"><img class="size-medium wp-image-157" title="dataproviders" src="http://theartoftechonline.wordpress.com/files/2009/11/dataproviders.jpg?w=300" alt="" width="300" height="233" /></a><p class="wp-caption-text">Figure 4. Data Sources List</p></div>
<p>Select New.</p>
<div id="attachment_157" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/newdatasource.jpg"><img class="size-medium wp-image-157" title="New DataSource" src="http://theartoftechonline.wordpress.com/files/2009/11/newdatasource.jpg?w=300" alt="" width="300" height="233" /></a><p class="wp-caption-text">Figure 5. New Data Source</p></div>
<p>Data Source Name: Up to you</p>
<p>JNDI Name: this is up to you, but the standard naming convention should be;  jdbc/datasourcerefname.  For this example we will use jdbc/mysqlblogpost.</p>
<p>Select Next</p>
<div id="attachment_164" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/select-jdbc-provider.jpg"><img class="size-medium wp-image-164" title="Select JDBC Provider" src="http://theartoftechonline.wordpress.com/files/2009/11/select-jdbc-provider.jpg?w=300" alt="" width="300" height="233" /></a><p class="wp-caption-text">Figure 6. Select an Exisiting JDBC Provider</p></div>
<p>Make sure on this screen you select the JDBC provider you setup earlier.</p>
<p>Select Next</p>
<div id="attachment_165" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/datastorehelperclassname.jpg"><img class="size-medium wp-image-165" title="DataStoreHelperClassName" src="http://theartoftechonline.wordpress.com/files/2009/11/datastorehelperclassname.jpg?w=300" alt="" width="300" height="233" /></a><p class="wp-caption-text">Figure 7. Leave the default as is.</p></div>
<p>Hit Next and then Finish.  &#8212; Remember to save this to your master configuration.</p>
<div id="attachment_166" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/datasourcelistafteradd.jpg"><img class="size-medium wp-image-166 " title="datasourcelistafteradd" src="http://theartoftechonline.wordpress.com/files/2009/11/datasourcelistafteradd.jpg?w=300" alt="" width="300" height="200" /></a><p class="wp-caption-text">Figure 8. Your Data Source List should look something like this now.</p></div>
<p>Select the data source you just created and select the JAAS-J2C authentication data link to the side.</p>
<div id="attachment_167" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/jaas-list.jpg"><img class="size-medium wp-image-167" title="JAAS List" src="http://theartoftechonline.wordpress.com/files/2009/11/jaas-list.jpg?w=300" alt="" width="300" height="194" /></a><p class="wp-caption-text">Figure 9. JAAS List</p></div>
<p>Select New.</p>
<div id="attachment_168" class="wp-caption alignnone" style="width: 310px"><a href="http://theartoftechonline.wordpress.com/files/2009/11/mysqlblogpostjass.jpg"><img class="size-medium wp-image-168" title="mysqlblogpostjass" src="http://theartoftechonline.wordpress.com/files/2009/11/mysqlblogpostjass.jpg?w=300" alt="" width="300" height="200" /></a><p class="wp-caption-text">Figure 9. New User/Password Reference</p></div>
<p>Hit Ok, and Save.</p>
<p>Go back to your Datasource and select Custom Properties.</p>
<p>Either set or add the following properties.</p>
<table border="1" cellspacing="0">
<tbody>
<tr>
<td align="left" valign="top" bgcolor="#99ccff"><strong>Property<br />
Name </strong></td>
<td align="left" valign="top" bgcolor="#99ccff"><strong>Type </strong></td>
<td align="left" valign="top" bgcolor="#99ccff"><strong>Value </strong></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="white">databaseName</td>
<td align="left" valign="top" bgcolor="white">java.lang.String</td>
<td align="left" valign="top" bgcolor="white">mysqlDB</td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="white">Port</td>
<td align="left" valign="top" bgcolor="white">java.lang.String</td>
<td align="left" valign="top" bgcolor="white">3306</td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="white">serverName</td>
<td align="left" valign="top" bgcolor="white">java.lang.String</td>
<td align="left" valign="top" bgcolor="white">&#60;server-name&#62;</td>
</tr>
</tbody>
</table>
<p>After you add this..  Remember to save the changes to your master configuration.</p>
<p>Now lets get to your Application.</p>
<p>Setup a Resource Reference in your Deployment Descriptor.</p>
<p>When you deploy this application Websphere will ask you to map this resource.  You will be mapping it to the data source you just set up.  jdbc/mysqlblogpost</p>
<p>&#60;resource-ref&#62;</p>
<p><span style="white-space:pre;"> </span> &#60;description&#62;Your New DataSource&#60;/description&#62;</p>
<p><span style="white-space:pre;"> </span> &#60;res-ref-name&#62;jdbc/mysqlblogpostdataref&#60;/res-ref-name&#62;</p>
<p><span style="white-space:pre;"> </span> &#60;res-type&#62;javax.sql.DataSource&#60;/res-type&#62;</p>
<p><span style="white-space:pre;"> </span> &#60;res-auth&#62;Container&#60;/res-auth&#62;</p>
<p>&#60;/resource-ref&#62;</p>
<p>Then your Hibernate Configuration file can reference your web.xml&#8217;s reference.</p>
<div>Hibernate.cfg.xml</div>
<div>&#60;property name=&#8221;current_session_context_class&#8221;&#62;thread&#60;/property&#62;</div>
<div id="_mcePaste">&#60;property name=&#8221;hibernate.bytecode.use_reflection_optimizer&#8221;&#62;false&#60;/property&#62;</div>
<div id="_mcePaste">&#60;property name=&#8221;hibernate.connection.datasource&#8221;&#62;java:comp/env/jdbc/mysqlblogpostdataref&#60;/property&#62;</div>
<div id="_mcePaste">&#60;property name=&#8221;show_sql&#8221;&#62;true&#60;/property&#62;</div>
<div id="_mcePaste">&#60;property name=&#8221;dialect&#8221;&#62;org.hibernate.dialect.MySQLDialect&#60;/property&#62;</div>
<p>That&#8217;s It!!  Happy Deploying!!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux saved my desktop]]></title>
<link>http://100percentlinux.wordpress.com/2009/11/28/linux-saved-my-desktop/</link>
<pubDate>Sat, 28 Nov 2009 08:32:02 +0000</pubDate>
<dc:creator>John</dc:creator>
<guid>http://100percentlinux.wordpress.com/2009/11/28/linux-saved-my-desktop/</guid>
<description><![CDATA[I recently redecorated the room where my desktop is located, and shoved it under my desk to save roo]]></description>
<content:encoded><![CDATA[I recently redecorated the room where my desktop is located, and shoved it under my desk to save roo]]></content:encoded>
</item>
<item>
<title><![CDATA[How to tell which Management Server the agents are using?]]></title>
<link>http://systemcentersolutions.wordpress.com/2009/11/27/how-to-tell-which-management-server-the-agents-are-using/</link>
<pubDate>Fri, 27 Nov 2009 06:50:40 +0000</pubDate>
<dc:creator>Graham</dc:creator>
<guid>http://systemcentersolutions.wordpress.com/2009/11/27/how-to-tell-which-management-server-the-agents-are-using/</guid>
<description><![CDATA[Thanks to Kevin Holman for this: Netstat is the way to go to see which MS you are talking to &#8220;]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Thanks to Kevin Holman for this:</p>
<p><strong>Netstat is the way to go to see which MS you are talking to &#8220;right now&#8221;.</strong><br />
netstat &#124; findstr 5723<br />
netstat -n &#124; findstr 5723</p>
<p>The first one takes longer &#8211; but gives you the servername.<br />
The second runs faster &#8211; but gives you the IP address.</p>
<p><strong>The is the best way to determine who you SHOULD be talking to, your Primary.  It will also show you a list of everyone the agent COULD fail over to, randomly.</strong></p>
<p>Look in the config files (Goto \Health Service State\Connector Configuration Cache\ and open the xml file. Browse to  and look for the management servers which is set to True.<br />
<strong><br />
Note</strong><br />
Looking in the registry will only show you who you were assigned to INITIALLY, at time of installation.  It might not even be a real live management server anymore, or you might have moved the agent to talk to a different MS as primary.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Configuration update 23.11.09]]></title>
<link>http://dptrio.wordpress.com/2009/11/26/configuration-update-23-11-09/</link>
<pubDate>Thu, 26 Nov 2009 12:42:04 +0000</pubDate>
<dc:creator>dptrio</dc:creator>
<guid>http://dptrio.wordpress.com/2009/11/26/configuration-update-23-11-09/</guid>
<description><![CDATA[The Project temp, Steph, is leaving us Friday 27th November. Additional resources will be required. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><ul>
<li>The Project temp, Steph, is leaving us Friday 27th November. Additional resources will be required.</li>
<li>Drop down coded lists need to be developed. Recommendations will be made  at the Clinical Review group meeting next week.</li>
<li>Service Questionnaires have been sent to the North Devon Clnical Team Leaders. This is a spreadsheet that needs to be populated with all staff names, team names, addresses etc to enable the configuration team to upload the data on to RiO so it will be correct in a working environment.</li>
<li>The population of the Data Collection Workbook is on schedule for North Devon.</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[enabling Async methods for wcf in wpf]]></title>
<link>http://dotnettrails.wordpress.com/2009/11/26/enabling-async-methods-for-wcf-in-wpf/</link>
<pubDate>Thu, 26 Nov 2009 09:08:14 +0000</pubDate>
<dc:creator>dotnettrails</dc:creator>
<guid>http://dotnettrails.wordpress.com/2009/11/26/enabling-async-methods-for-wcf-in-wpf/</guid>
<description><![CDATA[By default when you add a WCF Service reference in WPF, it does not give async functions. If your ap]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>By default when you add a WCF Service reference in WPF, it does not give async functions. If your application needs async features, while adding a reference to the service, lookout for a ‘Advanced’ button on Add service reference window at bottom right corner. On clicking on that button, a new window appears. There is a checkbox called ‘Generate Asynchronous Operations’. Hit Ok and you are done!</p>
<p>Simple isn’t it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ba4182f1-2519-4893-a5e2-5d663dcc669b" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/WCF" rel="tag">WCF</a>,<a href="http://technorati.com/tags/WPF" rel="tag">WPF</a>,<a href="http://technorati.com/tags/Enable+Async+Methods" rel="tag">Enable Async Methods</a>,<a href="http://technorati.com/tags/Tweak" rel="tag">Tweak</a>,<a href="http://technorati.com/tags/Configuration" rel="tag">Configuration</a>,<a href="http://technorati.com/tags/Simple+settings" rel="tag">Simple settings</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Spring + iBatis // Part 3 // applicationContext]]></title>
<link>http://snowjunkiedev.wordpress.com/2009/11/25/spring-ibatis-part-3-applicationcontext/</link>
<pubDate>Wed, 25 Nov 2009 17:20:21 +0000</pubDate>
<dc:creator>Alastair Vance</dc:creator>
<guid>http://snowjunkiedev.wordpress.com/2009/11/25/spring-ibatis-part-3-applicationcontext/</guid>
<description><![CDATA[In the same location (as part 2), create another file called &#8220;applicationContext.xml&#8221;.  ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In the same location (<a href="http://snowjunkiedev.wordpress.com/2009/11/25/spring-ibatis-part-2-database-properties/" target="_self">as part 2</a>), create another file called &#8220;applicationContext.xml&#8221;.  Paste in the following content.  Some explanation will follow below.</p>
<pre>&#60;?xml version="1.0" encoding="UTF-8"?&#62;
&#60;beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"&#62;

&#60;bean
 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&#62;
  &#60;property name="location" value="<span style="color:#333399;"><strong>classpath:database.properties</strong></span>"/&#62;
&#60;/bean&#62;

&#60;bean
 id="dataSource"
 class="org.apache.commons.dbcp.BasicDataSource"
 destroy-method="close"&#62;
  &#60;property name="driverClassName" value="${database.class}"/&#62;
  &#60;property name="url" value="${database.url}"/&#62;
  &#60;property name="username" value="${database.username}"/&#62;
  &#60;property name="password" value="${database.password}"/&#62;
&#60;/bean&#62;

&#60;bean
 id="transactionManager"
 class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&#62;
  &#60;property name="dataSource" ref="dataSource"/&#62;
&#60;/bean&#62;

&#60;tx:annotation-driven/&#62;

&#60;bean
 id="sqlMapClient"
 class="org.springframework.orm.ibatis.SqlMapClientFactoryBean"&#62;
  &#60;property name="configLocation" value="<span style="color:#333399;"><strong>sqlmap-config.xml</strong></span>"/&#62;
  &#60;property name="dataSource" ref="dataSource"/&#62;
  &#60;property name="useTransactionAwareDataSource" value="true"/&#62;
&#60;/bean&#62;

&#60;bean id="<span style="color:#333399;"><strong>myDAO</strong></span>" class="<span style="color:#333399;"><strong>com.example.dao.MyDAOImpl</strong></span>"&#62;
 &#60;property name="sqlMapClient" ref="sqlMapClient"/&#62;
&#60;/bean&#62;

&#60;/beans&#62;</pre>
<p><strong>Notes:</strong></p>
<ul>
<li><span style="color:#333399;"><strong>classpath:database.properties</strong></span> points to the database.properties files we created earlier.  If you used a different location, you may need to update this value.</li>
<li><span style="color:#333399;"><strong>sqlmap-config.xml</strong></span> is a file we will create later.  It will hold our sql and mapping information.</li>
<li><strong><span style="color:#333399;">myDAO</span></strong> is our data access interface.  This will be created later also.  You may need to change the name of this, and it&#8217;s class reference.</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[if you need to send more data to wcf service]]></title>
<link>http://dotnettrails.wordpress.com/2009/11/24/if-you-need-to-send-more-data-to-wcf-service/</link>
<pubDate>Tue, 24 Nov 2009 09:01:55 +0000</pubDate>
<dc:creator>dotnettrails</dc:creator>
<guid>http://dotnettrails.wordpress.com/2009/11/24/if-you-need-to-send-more-data-to-wcf-service/</guid>
<description><![CDATA[For example, you need to upload log file in case of error from desktop application to remote site us]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>For example, you need to upload log file in case of error from desktop application to remote site using WCF service and if the log file is too big, you might have to tweak your WCF service’s Web.config.</p>
<p>By default the configuration for the service will be </p>
<p>&#160;&#160;&#160;&#160;&#160; &#60;services&#62;   <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;service behaviorConfiguration=&#34;ServiceBehavior&#34; name=&#34;Service&#34;&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;endpoint address=&#34;&#34; binding=&#34;basicHttpBinding&#34; contract=&#34;IService&#34;&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/endpoint&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;endpoint address=&#34;mex&#34; binding=&#34;mexHttpBinding&#34; contract=&#34;IMetadataExchange&#34;/&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/service&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/services&#62;</p>
<p>You need to specify the binding manually and add binding reference as highlighted below.&#160;&#160;&#160; </p>
<p>&#160;</p>
<p>&#160;&#160;&#160; &#60;services&#62;   <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;service behaviorConfiguration=&#34;ServiceBehavior&#34; name=&#34;Service&#34;&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;endpoint address=&#34;&#34; binding=&#34;basicHttpBinding&#34; <strong>bindingConfiguration=&#34;BasicHttpBinding_IService&#34;</strong> contract=&#34;IService&#34;&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/endpoint&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;endpoint address=&#34;mex&#34; binding=&#34;mexHttpBinding&#34; contract=&#34;IMetadataExchange&#34;/&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/service&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/services&#62;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>&#60;bindings&#62;     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;basicHttpBinding&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;binding name=&#34;BasicHttpBinding_IService&#34; closeTimeout=&#34;00:01:00&#34;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; openTimeout=&#34;00:01:00&#34; receiveTimeout=&#34;00:10:00&#34; sendTimeout=&#34;00:01:00&#34;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; allowCookies=&#34;false&#34; bypassProxyOnLocal=&#34;false&#34; hostNameComparisonMode=&#34;StrongWildcard&#34;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; maxBufferSize=&#34;2147483647&#34; maxBufferPoolSize=&#34;2147483647&#34;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; maxReceivedMessageSize=&#34;2147483647&#34; messageEncoding=&#34;Text&#34;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; textEncoding=&#34;utf-8&#34; transferMode=&#34;Buffered&#34; useDefaultWebProxy=&#34;true&#34;&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;readerQuotas maxDepth=&#34;32&#34; maxStringContentLength=&#34;2147483647&#34;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; maxArrayLength=&#34;2147483647&#34; maxBytesPerRead=&#34;4096&#34; maxNameTableCharCount=&#34;16384&#34; /&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;security mode=&#34;None&#34;&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;transport clientCredentialType=&#34;None&#34; proxyCredentialType=&#34;None&#34;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; realm=&#34;&#34; /&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;message clientCredentialType=&#34;UserName&#34; algorithmSuite=&#34;Default&#34; /&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/security&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/binding&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/basicHttpBinding&#62;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/bindings&#62;</strong></p>
<p>That&#8217;s it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Simple isn’t it?</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:7882d4ef-1a1a-40c1-8c73-223623e744a1" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/C%23" rel="tag">C#</a>,<a href="http://technorati.com/tags/WCF" rel="tag">WCF</a>,<a href="http://technorati.com/tags/Handle+More+Data" rel="tag">Handle More Data</a>,<a href="http://technorati.com/tags/web.config" rel="tag">web.config</a>,<a href="http://technorati.com/tags/binding" rel="tag">binding</a>,<a href="http://technorati.com/tags/Service" rel="tag">Service</a>,<a href="http://technorati.com/tags/Buffersize" rel="tag">Buffersize</a>,<a href="http://technorati.com/tags/Tweak" rel="tag">Tweak</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Config: .vimrc]]></title>
<link>http://saaridev.wordpress.com/2009/11/24/conf-vimrc/</link>
<pubDate>Tue, 24 Nov 2009 06:19:35 +0000</pubDate>
<dc:creator>imsaar</dc:creator>
<guid>http://saaridev.wordpress.com/2009/11/24/conf-vimrc/</guid>
<description><![CDATA[" Ali Rizvi's Vim Settings set number set shiftwidth=4 set incsearch set hlsearch set textwidth=80 "]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><pre>
" Ali Rizvi's Vim Settings

set number
set shiftwidth=4

set incsearch
set hlsearch
set textwidth=80

" from lindes:
syntax on
hi Comment term=bold ctermfg=Cyan guifg=Cyan
set autoindent

" from benji fisher to turn on the matchit plugin automatically and more
filetype plugin on

" explicity map file extension .t to perl syntax instead of tads
" which is autodetected by filetype plugin on
" This line should always be after filetype plugin
autocmd BufNewFile,BufRead *.t set syntax=perl

" to show real tabs and spaces in file
set list
set listchars=tab:&#62;-,trail:^,eol:$
"set listchars=tab:&#62;-,trail:-

"to add spaces instead of tabs
set expandtab

" evil, bad! -- hard tabs should be 8 chars... --lindes
" set tabstop=4
" _but_ we can use this:
set smarttab

"use arrow keys to move to previous and next buffers
nnoremap  :bn
nnoremap  :bp

"make the background light
set background=light

"show matching parens
set showmatch

"show row and column number
set ruler

" allow backspacing over everything in insert mode
set backspace=indent,eol,start

filetype plugin indent on

"set shiftwidth to 2 for ruby only
autocmd FileType ruby setlocal  sw=2

"shortcuts inspired by http://weblog.jamisbuck.org/2008/11/17/vim-follow-up
let mapleader = " "
map n :execute 'NERDTreeToggle ' . getcwd()

let g:fuzzy_ignore = "*.log"
let g:fuzzy_matching_limit = 70
map ft :FuzzyFinderTextMate
map fb :FuzzyFinderBuffer
map ff :FuzzyFinderFile =fnamemodify('**/x', ':p')
map fm :FuzzyFinderMruFile

command Ped :exec '!p4 edit %'
command Pad :exec '!p4 add %'

set backupdir=~/.vim-tmp
set directory=~/.vim-tmp
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Config: .screenrc]]></title>
<link>http://saaridev.wordpress.com/2009/11/24/conf-screenrc/</link>
<pubDate>Tue, 24 Nov 2009 06:10:37 +0000</pubDate>
<dc:creator>imsaar</dc:creator>
<guid>http://saaridev.wordpress.com/2009/11/24/conf-screenrc/</guid>
<description><![CDATA[# # Example of a user's .screenrc file # # This is how one can set a reattach password: # password O]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><pre>
#
# Example of a user's .screenrc file
#

# This is how one can set a reattach password:
# password ODSJQf.4IJN7E    # "1234"

# no annoying audible bell, please
vbell on

# detach on hangup
autodetach on

# don't display the copyright page
startup_message off

# emulate .logout message
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."

# advertise hardstatus support to $TERMCAP
# termcapinfo  * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'

# make the shell in every window a login shell
#shell -$SHELL

# autoaka testing
# shellaka '&#62; &#124;tcsh'
# shellaka '$ &#124;sh'

# set every new windows hardstatus line to somenthing descriptive
# defhstatus "screen: ^En (^Et)"

defscrollback 10000

# don't kill window after the process died
# zombie "^["
################
#
# xterm tweaks
#

#xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as
#some programs (e.g. vi) will not work anymore.
termcap  xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l

#80/132 column switching must be enabled for ^AW to work
#change init sequence to not switch width
termcapinfo  xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l

# Make the output buffer large for (fast) xterms.
termcapinfo xterm* OL=10000

# tell screen that xterm can switch to dark background and has function
# keys.
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[H:kN=\E[6~'

# special xterm hardstatus: use the window title.
termcapinfo xterm 'hs:ts=\E]2;:fs=07:ds=\E]2;screen07'

#terminfo xterm 'vb=\E[?5h$\E[?5l'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'

# emulate part of the 'K' charset
termcapinfo   xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,&#124;\366,}\374,~\337'
# xterm-52 tweaks:
# - uses background color for delete operations
termcapinfo xterm be

################
#
# wyse terminals
#

#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
#essential to have it here, as this is a slow terminal.
termcapinfo wy75-42 xo:hs@

# New termcap sequences for cursor application mode.
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J

################
#
# other terminals
#

#make hp700 termcap/info better
termcapinfo  hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'

# Extend the vt100 desciption by some sequences.
termcap  vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC

################
#
# keybindings
#

#remove some stupid / dangerous key bindings
bind k
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
#make them better
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history

# Yet another hack:
# Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent mode in vi.
register [ "33:se noai15a"
register ] "33:se ai15a"
bind ^] paste [.]

################
#
# default windows
#

# screen -t local 0
# screen -t mail 1 elm
# screen -t 40 2 rlogin faui40
# caption always "%3n %t%? @%u%?%? [%h]%?"
# hardstatus alwaysignore
# hardstatus alwayslastline "%w"

# bind = resize =
# bind + resize +1
# bind - resize -1
# bind _ resize max
#
# attrcolor u "-u b"
# attrcolor b "R"

# fix delayed vi/vim startup in screen
altscreen on

# something that would reload the .screenrc file on reattach
bind R source $HOME/.screenrc

# http://www.ibm.com/developerworks/aix/library/au-gnu_screen/index.html
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[To print or not to print...]]></title>
<link>http://100percentlinux.wordpress.com/2009/11/22/to-print/</link>
<pubDate>Sun, 22 Nov 2009 21:41:47 +0000</pubDate>
<dc:creator>John</dc:creator>
<guid>http://100percentlinux.wordpress.com/2009/11/22/to-print/</guid>
<description><![CDATA[Using only Linux so far has been great. I&#8217;ve not come round to doing a lot on my PC, since I s]]></description>
<content:encoded><![CDATA[Using only Linux so far has been great. I&#8217;ve not come round to doing a lot on my PC, since I s]]></content:encoded>
</item>
<item>
<title><![CDATA[Newest (and Shiniest) Addition to the Family ]]></title>
<link>http://drumsoundmaker.wordpress.com/2009/11/22/newest-and-shiniest-addition-to-the-family/</link>
<pubDate>Sun, 22 Nov 2009 05:44:01 +0000</pubDate>
<dc:creator>DrumsoundMaker</dc:creator>
<guid>http://drumsoundmaker.wordpress.com/2009/11/22/newest-and-shiniest-addition-to-the-family/</guid>
<description><![CDATA[Below is the latest, newest and shiniest addition to the family. Doesnt take a strain of the eyes to]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Below is the latest, newest and shiniest addition to the family. Doesnt take a strain of the eyes to figure out what it is. Great &#8211; now we have horns and wind with the wood <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://drumsoundmaker.wordpress.com/files/2009/11/img_0955.jpg"><img class="alignnone size-medium wp-image-53" title="Sax anyone ?" src="http://drumsoundmaker.wordpress.com/files/2009/11/img_0955.jpg?w=300" alt="" width="300" height="225" /></a></p>
<p><a href="http://drumsoundmaker.wordpress.com/files/2009/11/img_0961.jpg"><img class="alignnone size-medium wp-image-53" title="Sax anyone ?" src="http://drumsoundmaker.wordpress.com/files/2009/11/img_0961.jpg?w=300" alt="" width="300" height="225" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Installer Freebox-Elixir sous Ubuntu 9.04]]></title>
<link>http://zigazou.wordpress.com/2009/11/21/installer-freebox-elixir-sous-ubuntu-9-04/</link>
<pubDate>Sat, 21 Nov 2009 22:42:11 +0000</pubDate>
<dc:creator>zigazou</dc:creator>
<guid>http://zigazou.wordpress.com/2009/11/21/installer-freebox-elixir-sous-ubuntu-9-04/</guid>
<description><![CDATA[Free a lancé les jeux sur la FreeBox HD. Il y avait déjà des possibilités de jeux à travers les télé]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Free a lancé les jeux sur la FreeBox HD. Il y avait déjà des possibilités de jeux à travers les télésites, mais cette fois un environnement dédié à cette activité est disponible, avec les facilités que cela sous-entend.</p>
<p>Dans ce billet, je vais vous présenter mon parcours du combattant pour l’installation d’Elixir et d’EFL sous Ubuntu 9.04.</p>
<p><!--more--></p>
<h2>Le SDK : JavaScript, Elixir et EFL</h2>
<p>Avant d’aller plus loin, il est important de bien comprendre l’environnement dans lequel on arrive.</p>
<p>Tout d’abord, le langage de développement retenu par Free est le <strong>JavaScript</strong>. Et comme le JavaScript est un langage interprété, il faut un interpréteur ! Et c’est <strong>SpiderMonkey</strong> qui s’y colle, l’interpréteur JavaScript de Firefox.</p>
<p>Le JavaScript seul ne peut pas faire grand chose, à l’instar de n’importe quel autre langage. Dans un navigateur il a habituellement accès au DOM, ce qui lui permet d’interagir avec le contenu des pages web.</p>
<p>Dans la FreeBox, le code JavaScript que vous pourrez écrire ne s’exécute pas dans un navigateur. Pour pouvoir interagir avec l’affichage et la télécommande, les <strong>EFL</strong> viennent à la rescousse.</p>
<p>EFL ? En plus long, les <strong>Enlightenment Foundation Libraries</strong>. Il s’agit d’un ensemble de bibliothèques conçues à l’origine pour le gestionnaire de fenêtres Enlightenment. Dans la FreeBox, exit Enlightement, ne restent que les EFL.</p>
<p>Ces bibliothèques ne connaissant pas nativement SpiderMonkey, et réciproquement, il fallait une couche supplémentaire pour les faire communiquer : <strong>Elixir</strong>.</p>
<p>Le schéma suivant résument l’ensemble :</p>
<p><a href="http://zigazou.wordpress.com/files/2009/11/couches.png"><img class="aligncenter size-full wp-image-521" title="Couches logicielles du SDK de la FreeBox" src="http://zigazou.wordpress.com/files/2009/11/couches.png" alt="Couches logicielles du SDK de la FreeBox" width="392" height="233" /></a>De façon non exhaustive, les EFL comptent :</p>
<ul>
<li><strong>eet</strong> : une bibliothèque qui permet, entre autres, la création et la gestion de fichiers ressource (avec les fichiers .edj),</li>
<li><strong>evas</strong> : un gestionnaire de canevas (un équivalent Cairo),</li>
<li><strong>edje</strong> : un gestionnaire d’interface (un équivalent Glade).</li>
</ul>
<h2>Comment développer des jeux pour la FreeBox ?</h2>
<p>Tout ce qui a été présenté à la section précédente est déjà installé sur votre FreeBox HD si vous avez un Firmware 1.6.1 ou supérieur.</p>
<p>Le développement de jeux et d’applications nécessitant des outils différents de la plateforme cible, il vous faut maintenant un environnement de développement sur votre machine.</p>
<p>Je suis sous Ubuntu 9.04 64 bits (pas encore fait le saut pour la 9.10).</p>
<p>Il me faut donc installer :</p>
<ul>
<li>SpiderMonkey,</li>
<li>EFL,</li>
<li>Elixir,</li>
<li>edje_viewer.</li>
</ul>
<p>Et c’est là que ça commence à devenir marrant <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Ma procédure d’installation diffère quelque peu de la <a title="Procédure d’installation officielle d’Elixir" href="http://elixir.freebox.fr/?section=documentation">procédure officielle</a>.</p>
<h2>Installation de tout le schmurtz</h2>
<h3>Pré-requis</h3>
<p>Installer gperf, libnspr4-dev, automake, svn et wget :</p>
<blockquote>
<pre>sudo apt-get install gperf automake svn wget libnspr4-dev</pre>
</blockquote>
<p>Notes :</p>
<ul>
<li>Les utilitaires svn et wget sont uniquement utilisés pour récupérer les fichiers nécessaires à l’installation du SDK. Ils pourront être désinstallés après l’installation d’Elixir.</li>
<li>Libnspr4-dev est nécessaire pour la compilation de SpiderMonkey.</li>
<li>Automake permet le lancement des scripts autogen.sh, nécessaires dans le cas de sources récupérés par svn (suite au commentaire de Strofe).</li>
</ul>
<h3>Récupération des sources</h3>
<p>Créez-vous un répertoire <strong>elixir</strong> dans lequel vous exécuterez tout ce qui suit.</p>
<p>Récupérez les sources avec les lignes de commande suivantes :</p>
<blockquote>
<pre>mkdir elixir
cd elixir
wget http://elixir.freebox.fr/elixir/elixir-0.1.24.tar.bz2
tar xjvf elixir-0.1.24.tar.bz2
wget http://ftp.mozilla.org/pub/mozilla.org/js/js-1.8.0-rc1.tar.gz
tar xzvf js-1.8.0-rc1.tar.gz
svn co http://svn.enlightenment.org/svn/e/trunk/eina eina-svn
svn co http://svn.enlightenment.org/svn/e/trunk/eet eet-svn
svn co http://svn.enlightenment.org/svn/e/trunk/evas evas-svn
svn co http://svn.enlightenment.org/svn/e/trunk/ecore ecore-svn
svn co http://svn.enlightenment.org/svn/e/trunk/efreet efreet-svn
svn co http://svn.enlightenment.org/svn/e/trunk/embryo embryo-svn
svn co http://svn.enlightenment.org/svn/e/trunk/edje edje-svn
svn co http://svn.enlightenment.org/svn/e/trunk/e_dbus e_dbus-svn
wget http://download.enlightenment.org/snapshots/2009-07-29/elementary-0.5.1.0.tar.bz2
tar xjvf elementary-0.5.1.0.tar.bz2
svn co http://svn.enlightenment.org/svn/e/trunk/edje_viewer/ edje_viewer
wget http://freebox-elixir.googlecode.com/svn/trunk/exemples/ecore_evas/Simple.js</pre>
</blockquote>
<p>Notes :</p>
<ul>
<li>Suite à la judicieuse remarque de Superna en commentaire, vous pouvez remplacer les “svn co” par des “svn export” pour gagner en espace disque et en vitesse de téléchargement.</li>
<li>Au moment où j’écris ces lignes, il existe apparemment une version 0.1.25 d’Elixir mais ce n’est pas celle qui est indiquée sur le site <a title="Elixir" href="http://elixir.freebox.fr/">http://elixir.freebox.fr/</a></li>
<li>On compile SpiderMonkey plutôt que d’installer les paquetages libmozjs-dev et libmozjs0d disponibles sous Ubuntu 9.04 car ces derniers ne définissent pas la constante JSVERSION_1_8 nécessaire à Elixir (ils s’arrêtent à JSVERSION_1_7).</li>
<li>Le fait de récupérer les sources des EFL par svn plutôt qu’en allant sur <a title="Snapshots des dernières versions des EFL" href="http://download.enlightenment.org/snapshots/LATEST/">http://download.enlightenment.org/snapshots/LATEST/</a> comme recommandé sur <a title="Elixir" href="http://elixir.freebox.fr/">http://elixir.freebox.fr/</a> permet d’avoir une version à jour de evas. En suivant la procédure officielle, j’obtenais les messages suivants lors de la compilation d’Elixir :<br />
<blockquote>
<pre>evas-const-binding.c:113: erreur: ‘EVAS_HINT_EXPAND’ undeclared here (not in a function)
evas-const-binding.c:114: erreur: ‘EVAS_HINT_FILL’ undeclared here (not in a function)</pre>
</blockquote>
</li>
<li>Les deux dernières lignes permettent de télécharger elementary et edje_viewer afin de compiler ce dernier. Il n’est pas indispensable mais est bien pratique pour voir graphiquement ce que contient un fichier .edj.</li>
<li>Simple.js est un script qui permettra de vérifier le bon déroulement de la compilation et de l’installation d’Elixir.</li>
<li>À la fin de l’exécution de ces lignes, tous les fichiers nécessaires ont été récupérés et décompressés dans le répertoire elixir.</li>
</ul>
<h3>Compilation et installation des EFL</h3>
<p>Pour compiler les EFL, c’est un peu rébarbatif, il faut aller dans chacun des répertoires suivants :</p>
<ul>
<li>eina-svn,</li>
<li>eet-svn,</li>
<li>evas-svn,</li>
<li>ecore-svn,</li>
<li>efreet-svn,</li>
<li>embryo-svn,</li>
<li>edje-svn,</li>
<li>e_dbus-svn.</li>
</ul>
<p>Dans chacun de ces répertoire, il faut répéter les commandes suivantes :</p>
<blockquote>
<pre>sh autogen.sh
make -j4
sudo make install</pre>
</blockquote>
<p>Notes :</p>
<ul>
<li>On utilise “sh autogen.sh” plutôt que “sh configure” car il s’agit de versions svn qui ont besoin de générer le fichier configure. Autogen.sh fait les deux : création et exécution du fichier configure.</li>
<li>L’option -j4 permet d’utiliser quatre cœurs pour accélérer la compilation. Si vous avez un processeur dual core, utilisez -j2.</li>
</ul>
<p>Une fois les EFL compilées et installées, exécutez la commande suivante :</p>
<blockquote>
<pre>sudo ldconfig</pre>
</blockquote>
<h3>Compilation et installation de SpiderMonkey</h3>
<p>De retour dans le répertoire elixir, placez-vous maintenant dans le répertoire js/src.</p>
<blockquote>
<pre>make JS_THREADSAFE=1 JS_DIST=/usr -f Makefile.ref
sudo su
mkdir /usr/include/smjs
cp *.h /usr/include/smjs
cp *.tbl /usr/include/smjs
cp Linux_All_DBG.OBJ/libjs.so /usr/lib/libsmjs.so
cp Linux_All_DBG.OBJ/jsautocfg.h /usr/include/smjs/jsautocfg.h
exit</pre>
</blockquote>
<p>Note :</p>
<ul>
<li>Il s’agit de la procédure d’installation de SpiderMonkey telle que présentée dans la procédure officielle.</li>
</ul>
<p>Une fois SpiderMonkey compilé et installé, exécutez la commande suivante :</p>
<blockquote>
<pre>sudo ldconfig</pre>
</blockquote>
<h3>Compilation et installation d’Elixir</h3>
<p>C’est au tour d’Elixir !</p>
<p>Avant de lancer la compilation, il va falloir modifier une ligne dans les sources d’Elixir. La version des EFL doit être un brin trop récente pour la version 0.1.24 d’Elixir. Si vous ne faîtes pas la modification, vous aurez droit aux lignes suivantes :</p>
<blockquote>
<pre>ecore_module.c: In function ‘elixir_ecore_thread_run’:
ecore_module.c:908: erreur: too few arguments to function ‘ecore_thread_run’</pre>
</blockquote>
<p>Placez-vous dans le sous-répertoire elixir-0.1.24 du répertoire elixir.</p>
<p>Éditez la ligne 908 du fichier src/modules/bindings/ecore/ecore_module.c. Elle ressembler à ceci :</p>
<blockquote>
<pre>result = ecore_thread_run(_elixir_func_heavy, _elixir_func_end, new);</pre>
</blockquote>
<p>Il faut la transformer en ceci :</p>
<blockquote>
<pre>result = ecore_thread_run(_elixir_func_heavy, _elixir_func_end, new,NULL);</pre>
</blockquote>
<p>Une fois la modification faite, compilez comme suit :</p>
<blockquote>
<pre>sh configure
make -j4
sudo make install</pre>
</blockquote>
<p>Une fois Elixir compilé  et installé, exécutez la commande suivante :</p>
<blockquote>
<pre>sudo ldconfig
</pre>
</blockquote>
<h3>Premier test</h3>
<p>De retour dans le répertoire elixir, tapez la ligne suivante :</p>
<blockquote>
<pre>elixir Simple.js</pre>
</blockquote>
<p>Si tout s’est bien passé, vous devriez voir un rectangle se balader dans une fenêtre.</p>
<p>À partir de là, vous disposez d’un environnement complet pour créer vos jeux pour la FreeBox.</p>
<h3>Compilation et installation de edje_viewer</h3>
<p>On va tout d’abord installer la bibliothèque elementary. Placez-vous dans le sous-répertoire elementary-0.5.1.0 et lancez la compilation :</p>
<blockquote>
<pre>sh autogen.sh
make -j4
sudo make install</pre>
</blockquote>
<p>De retour dans le répertoire elixir, placez-vous dans le sous-répertoire edje_viewer et lancez la compilation :</p>
<blockquote>
<pre>sh autogen.sh
make -j4
sudo make install</pre>
</blockquote>
<p>Une fois elementary et edje_viewer compilés  et installés, exécutez la commande suivante :</p>
<blockquote>
<pre>sudo ldconfig</pre>
</blockquote>
<h2>Et après tout ça ?</h2>
<h3>Récupérez les exemples, tutoriels et jeux</h3>
<p>Pour vous faire la main, vous pouvez rapatrier les exemples, les tutoriels ainsi que les jeux livrés en standard. Pour cela, replacez-vous dans le répertoire elixir et tapez la ligne :</p>
<blockquote>
<pre>svn checkout http://freebox-elixir.googlecode.com/svn/trunk/ freebox-elixir</pre>
</blockquote>
<h3>Résumé des commandes</h3>
<p>Pour résumer, vous disposez désormais des commandes suivantes :</p>
<ul>
<li><strong>elixir</strong> : permet d’exécuter votre code JavaScript (ex. : elixir Simple.js),</li>
<li><strong>edje_cc</strong> : pour compiler des fichiers .edc en fichiers .edj (edje_decc fait le contraire),</li>
<li><strong>eet</strong> : pour ajouter, supprimer des ressources des fichiers .edj (en partenariat avec <strong>elixir-compile</strong>),</li>
<li><strong>edje_viewer</strong> : pour voir graphiquement les ressources des fichiers .edj.</li>
</ul>
<h3>Tester ses programmes sur la FreeBox</h3>
<p>Pour tester vos réalisations directement sur la FreeBox, il suffit de les placer dans le répertoire “Jeux” sur le disque dur de la FreeBox (par ftp sur hd1.freebox.fr, utilisateur freebox).</p>
<p>Si vous copiez Simple.js de cette façon, vous pourrez l’exécuter directement.</p>
<p>Pour les jeux livrés en standard, c’est plus sioux. Tous les fichiers ne sont pas nécessaires puisque le fichier .edj en intègre déjà une bonne partie.</p>
<p>Par exemple, pour le démineur, copiez les fichiers suivants dans un sous-répertoire demineur du répertoire Jeux sur le disque dur de la FreeBox :</p>
<ul>
<li>demineur_bomb.wav,</li>
<li>Demineur.edj,</li>
<li>Demineur.ogg,</li>
<li>edje-helper.edj,</li>
<li>freebox-mouse.png,</li>
<li>high_score.wav,</li>
<li>Scores.db.</li>
</ul>
<h2>Références</h2>
<dl>
<dt><a href="http://wiki.enlightenment.org/index.php/E17_User_Guide/Installing_from_Source_Repository">http://wiki.enlightenment.org/index.php/E17_User_Guide/Installing_from_Source_Repository</a></dt>
<dd>Installation d’Enlightenment 17 à partir des sources svn.</dd>
<dt><a href="http://elixir.freebox.fr/?section=documentation">http://elixir.freebox.fr/?section=documentation</a></dt>
<dd>Procédure officielle d’installation d’Elixir </dd>
<dt><a href="https://developer.mozilla.org/en/Building_only_SpiderMonkey">https://developer.mozilla.org/en/Building_only_SpiderMonkey</a></dt>
<dd>Procédure d’installation officielle de SpiderMonkey </dd>
<dt><a href="http://code.google.com/p/freebox-elixir/wiki/InstallerElixir">http://code.google.com/p/freebox-elixir/wiki/InstallerElixir</a></dt>
<dd>Discussion à propos de l’installation d’Elixir sur Google Code </dd>
<dt><a href="http://svn.enlightenment.org/svn/e/trunk/">http://svn.enlightenment.org/svn/e/trunk/</a></dt>
<dd>Versions svn des bibliothèques nécessaires à la compilation d’Enlightenment </dd>
<dt><a href="http://download.enlightenment.org/snapshots/LATEST/">http://download.enlightenment.org/snapshots/LATEST/</a></dt>
<dd>Les dernières versions officielles des EFL.</dd>
</dl>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[การปรับแต่งเครือข่าย]]></title>
<link>http://sclaimon.wordpress.com/2009/11/21/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%9b%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b9%81%e0%b8%95%e0%b9%88%e0%b8%87%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b8%ad%e0%b8%82%e0%b9%88%e0%b8%b2%e0%b8%a2/</link>
<pubDate>Sat, 21 Nov 2009 07:37:42 +0000</pubDate>
<dc:creator>SoClaimon</dc:creator>
<guid>http://sclaimon.wordpress.com/2009/11/21/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%9b%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b9%81%e0%b8%95%e0%b9%88%e0%b8%87%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b8%ad%e0%b8%82%e0%b9%88%e0%b8%b2%e0%b8%a2/</guid>
<description><![CDATA[204426     การปรับแต่งเครือข่าย     Network Configuration แบบจํ าลองการเชื่อมต่อระหว่างระบบเปิด เครื]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>204426     การปรับแต่งเครือข่าย     Network Configuration</p>
<p>แบบจํ าลองการเชื่อมต่อระหว่างระบบเปิด เครือข่ายบริเวณเฉพาะที่ การออกแบบและเอกสารสํ าหรับเครือข่ายบริเวณเฉพาะที่ ทีซีพี ไอพีและการกํ าหนดเลขที่อยู่แบบไอพี เครือข่ายบริเวณกว้าง ส่วนประกอบอุปกรณ์จัดเส้นทางและ การปรับแต่ง โพรโทคอลหาเส้นทาง การแก้ปัญหาในเครือข่าย เครือข่ายบริเวณเฉพาะที่แบบเสมือน การจัดการเครือข่าย การออกแบบเครือข่ายบริเวณกว้าง</p>
<p>(Open system interconnection model; local area network; local area network design and documentation; TCP IP and IP addressing; wide area network; router components and configuration; routing protocol; network troubleshooting; virtual local area network; network management; wide area network design.)</p>
<p>(204426 มหาวิทยาลัยเกษตรศาสตร์)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Application monitoring vs System monitoring]]></title>
<link>http://cqdump.wordpress.com/2009/11/20/application-monitoring-vs-system-monitoring/</link>
<pubDate>Fri, 20 Nov 2009 21:03:21 +0000</pubDate>
<dc:creator>jhoh228</dc:creator>
<guid>http://cqdump.wordpress.com/2009/11/20/application-monitoring-vs-system-monitoring/</guid>
<description><![CDATA[Recently I was asked how a CQ monitoring should be setup. The question was acompanied by a very shor]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Recently I was asked how a CQ monitoring should be setup. The question was acompanied by a very short description, how the monitoring was supposed to look like. There were some points like &#8220;monitoring the publishing by requesting pages&#8221;, &#8220;check if the java process is running&#8221; and &#8220;checking the free disk space&#8221;. Obviously they just setup some new servers for this environment and thought that they need to monitor some parameters.</p>
<p>As a first step I advised to separate the topics &#8220;application monitoring&#8221; and &#8220;system monitoring&#8221;. One might wonder why I suggest to make a strong division between these topics, so here the background.</p>
<p>Standardization is one of the key topics in IT; everything, what is standardized, can be reused, can be exchanged by a compatible product, and finally lowers the cost. So IT operation teams tend to standardize as much as they can, because as intermediate step to lower costs standardization allows automation.</p>
<p>Basic system monitoring is such a thing. Every computer has componentes, which can be monitored such way: Disk health, CPU temperature, status of the power supply units, internal temperature. But also CPU utlization, free disk space, network connectivity or if the system starts to swap. And many more. These are basic metrics which can be measured and monitored in a consistent and automatic way.</p>
<p>For these points it doesn&#8217;t care if the system runs a data warehouse application, a mailserver or CQ. They are all the same and the reaction is really comparable if one of these monitored things fails: If a disk is dead, one needs to replace it (with not-so-old servers you can do this online and without service interruption). The procedure may differ from computer to computer, but the basic action is always the same: When the monitoring shows that a disk failed, lookup the type of the failed disk, get a new one, and go the computer and replace it according to the guidelines of the computer manufacturer. That&#8217;s it. You can handle some thousand servers that way with only a few people.</p>
<p>Running applications isn&#8217;t standardized that way. One application requires a Windows Server, other run because of their history only on big iron. One vendor offers performance guarantees only for linux systems, and other vendors don&#8217;t care about the platform as long as they have a Websphere Application Server as base. Some applications are designed to run centralized, other applications can be clustered. Some have good logging and messages you can use for diagnosis, others don&#8217;t have that and error causes must be detected with system tools like truss or strace.<br />
So applications are highly non-standardized and often need special skill and knowledge in order to operate them. Automatisation is a very hard job here, and there must be support by management to get every part of the organisation in the right direction.<br />
<em><br />
(As a side note: In my former life before I joined Day I worked in a large IT operation organisation where every application was somehow non-standard; some less, but also some completly out of every order. IT tried its best to create some kind of standardization, but the busineses often didn&#8217;t care that much about it; also developers didn&#8217;t knew much about IT operations, so &#8220;but it works on my machine!!&#8221; and &#8220;Just open the firewall, so these 2 components can talk to each other&#8221; was often heard in early project stages.)</em></p>
<p>These applications also need completly different kinds of monitoring. The implementation for SAP monitoring looks different than the application monitoring for a web application. The actions the take in case of problems probably differ even more; and when it comes to investigate on errors the webapplication administrator cannot do anything on the SAP system. And vice-versa.</p>
<p>So it&#8217;s advisable to separate the monitoring into 2 parts: The basic system monitoring and the application monitoring.</p>
<p>The system monitoring part can be done by one team for all servers. The application monitoring is too complex and too different, the actions sometime require so often special knowhow, that it must be adjustable to the needs of each application and application administrators.</p>
<p>As a final conclusion: Everytime a computer system is setup, put it into the basic system monitoring. So failing disks can get replaced.<br />
And when the application administrator deploys the application on it, the special monitoring stuff is installed then.<br />
Just because the needs and skills, which it takes to react on monitored issues, are very different.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Connecting Flex to Java with BlazeDS]]></title>
<link>http://cgrant.wordpress.com/2009/11/20/connecting-flex-to-java-with-blazeds/</link>
<pubDate>Fri, 20 Nov 2009 19:32:19 +0000</pubDate>
<dc:creator>cgrant</dc:creator>
<guid>http://cgrant.wordpress.com/2009/11/20/connecting-flex-to-java-with-blazeds/</guid>
<description><![CDATA[BlazeDS offers a great mechanism to attach your flex application to backend services. In this brief ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>BlazeDS offers a great mechanism to attach your flex application to backend services. In this brief overview we’ll configure flex to call a Java Class and return results. This overview assumes you’ve already <a href="http://cgrant.wordpress.com/2009/11/19/setting-up-flex-blazeds-in-flashbuilder/">setup your IDE with a basic Flex / BlazeDS project</a>.</p>
<h3>Main points we’ll cover</h3>
<ul>
<li>Build the Java Class</li>
<li>Expose the Class with Blaze on the server</li>
<li>Configure Flex to find the Blaze service</li>
<li>Build the Flex components to make the call</li>
</ul>
<h3>Build the Java Class</h3>
<p>In your IDE switch to the Java view and create a new Java class. We’ll call it HelloFlex. Create a private variable called message. Set an initial value for this variable in the constructor. Finally create a getter method that returns the message string.</p>
<blockquote><p>package com.grant;</p>
<p>public class HelloFlex {<br />
private String message;<br />
public HelloFlex(){<br />
message=&#8221;HI Flex. this is Java. How are you?&#8221;;<br />
}<br />
public String getMessage(){<br />
return message;<br />
}<br />
}</p></blockquote>
<p>&#160;</p>
<h3>Expose the class with BlazeDS on the server</h3>
<p>Under your web-inf directory you’ll fine a subdirectory called flex. Within there you’ll see the main config files blaze uses to set up the services. services-config.xml is the main file and has statements to include the others. For this example we’re creating a simple remoting service, so go ahead and open up the  remoting-config.xml. Here’s where we’ll set up the configuration for our reomting service.</p>
<p>Blaze calls exposed services destinations. In this remoting-config.xml we’ll set up a destination that points to our HelloFlex class.</p>
<p>Under the default-channels create a new destination as follows.</p>
<blockquote><p>&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&#62;<br />
&#60;service id=&#8221;remoting-service&#8221;<br />
class=&#8221;flex.messaging.services.RemotingService&#8221;&#62;</p>
<p>&#60;adapters&#62;<br />
&#60;adapter-definition id=&#8221;java-object&#8221; class=&#8221;flex.messaging.services.remoting.adapters.JavaAdapter&#8221; default=&#8221;true&#8221;/&#62;<br />
&#60;/adapters&#62;</p>
<p>&#60;default-channels&#62;<br />
&#60;channel ref=&#8221;my-amf&#8221;/&#62;<br />
&#60;/default-channels&#62;</p>
<p><strong> &#60;destination id=&#8221;helloflex&#8221;&#62;<br />
&#60;properties&#62;<br />
&#60;source&#62;com.grant.HelloFlex&#60;/source&#62;<br />
&#60;/properties&#62;<br />
&#60;adapter ref=&#8221;java-object&#8221; /&#62;<br />
&#60;channels&#62;<br />
&#60;channel ref=&#8221;my-amf&#8221; /&#62;<br />
&#60;/channels&#62;<br />
&#60;/destination&#62;<br />
</strong>&#60;/service&#62;</p></blockquote>
<p>&#160;</p>
<h3>Configure Flex to find the BlazeDS Service</h3>
<p>Depending how you set up your workspace that set may already be done for you. In order for flex to know what channels and destinations are available, our application needs to know where these config files are. In Java, these files are in the class path and are included in the build process. In Flex we need to explicitly tell the compiler where these files are.</p>
<p>Right click on the project and choose properties. Under flex compiler you’ll see a textbox for additional compiler arguments. To configure the file location you’ll need an argument here called services which points to the location of your xml files.</p>
<p>You have two options now.</p>
<p><a href="http://cgrant.files.wordpress.com/2009/11/image4.png"><img style="display:inline;margin-left:0;margin-right:0;border-width:0;" title="image" src="http://cgrant.files.wordpress.com/2009/11/image_thumb6.png?w=209&#038;h=48" border="0" alt="image" width="209" height="48" align="right" /></a>1) If the folder is part of your flex build path you can make a relative reference to the file using the &#8211;services=&#60;file&#62; format as follows. Notice the web-inf directory is not included in the definition. In this the folder containing the flex subfolder is on my build path.</p>
<p>2) If the folder is NOT on your build path you can point to the file location. This is the default method that FlashBuilder implements. We’ll use it for this example, however I suggest <a href="http://cgrant.files.wordpress.com/2009/11/image5.png"><img style="display:inline;margin-left:0;margin-right:0;border-width:0;" title="image" src="http://cgrant.files.wordpress.com/2009/11/image_thumb7.png?w=402&#038;h=44" border="0" alt="image" width="402" height="44" align="right" /></a>you move to a relative location style as soon as you can.</p>
<p>For an explicit file system location the flex option is slightly different. Here we use the –services “&#60;file Location&#62;” format. On my drive the option reads –services “C:\FlashBuilder\dev\MyProject\WebContent\WEB-INF\flex\services-config.xml”</p>
<p>&#160;</p>
<h3>Build the Flex components to make the call</h3>
<p>Now we can get back to our flex components and make the actual call. First flip back over to your Flex Perspective and open your main mxml file.</p>
<p>First we’ll define the service:</p>
<blockquote><p>&#60;mx:RemoteObject id=&#8221;myService&#8221;  destination=&#8221;helloflex&#8221; /&#62;</p></blockquote>
<p>The id is the name you’ll reference this service elswhere in your flex app. The destination of helloflex needs to match the destination name you entered in your remoting-config.xml</p>
<p>Next we’ll move to some visual components. First lets add a panel to hold our controls.</p>
<blockquote><p>&#60;s:Panel width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;<br />
&#60;s:layout&#62;<br />
&#60;s:VerticalLayout/&#62;<br />
&#60;/s:layout&#62;</p>
<p>&#60;/s:Panel&#62;</p></blockquote>
<p>And add a text box to display some results</p>
<blockquote><p>&#60;s:Panel width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;<br />
&#60;s:layout&#62;<br />
&#60;s:VerticalLayout/&#62;<br />
&#60;/s:layout&#62;</p>
<p><strong> &#60;mx:TextArea id=&#8221;result_text&#8221;/&#62;</strong></p>
<p>&#60;/s:Panel&#62;</p></blockquote>
<p>Now we’ll add a button on the page to use the service</p>
<blockquote><p>&#60;s:Panel width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;<br />
&#60;s:layout&#62;<br />
&#60;s:VerticalLayout/&#62;<br />
&#60;/s:layout&#62;</p>
<p>&#60;mx:TextArea id=&#8221;result_text&#8221;/&#62;<br />
<strong>&#60;mx:Button label=&#8221;Call Java&#8221; click=&#8221;myService.getOperation(&#8216;getMessage&#8217;).send();&#8221;/&#62;<br />
</strong></p>
<p>&#60;/s:Panel&#62;</p></blockquote>
<p>This is a direct use of the RemoteObject myService. This is not a best practice. Typically you would have a function managing your calls and the button would utilize that function. For simplicity sake I’ve included the direct call for this demonstration. In this example you’ll notice we use the getOperation function and pass in the java method name we want to call.</p>
<p>If you were to run this now you would see no results. We have yet to define what happens when the service gets called. Lets do that now.</p>
<p>Create a script block to hold our action script and add a simple method that puts the response of our service in our textbox.</p>
<blockquote><p>&#60;fx:Script&#62;<br />
&#60;![CDATA[<br />
import mx.rpc.events.ResultEvent;<br />
import mx.rpc.events.FaultEvent;<br />
private function resultHandler(evt:ResultEvent):void<br />
{<br />
result_text.text = evt.message.body.toString();<br />
}<br />
]]&#62;<br />
&#60;/fx:Script&#62;</p></blockquote>
<p>To use this function we’ll go back to the service and add a handler to manage all responses.</p>
<blockquote><p>&#60;fx:Declarations&#62;<br />
&#60;!&#8211; Place non-visual elements (e.g., services, value objects) here &#8211;&#62;<br />
&#60;!&#8211; DEFINE REMOTE SERVICES WE&#8217;LL USE &#8211;&#62;<br />
&#60;mx:RemoteObject<br />
id=&#8221;myService&#8221;<br />
destination=&#8221;helloflex&#8221;<br />
<strong>result=&#8221;resultHandler(event)&#8221;</strong> /&#62;<br />
&#60;/fx:Declarations&#62;</p></blockquote>
<p>&#160;</p>
<p>Your completed code should look like this</p>
<p>&#160;</p>
<blockquote><p>&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62;<br />
&#60;s:Application xmlns:fx=&#8221;<a href="http://ns.adobe.com/mxml/2009&#34;">http://ns.adobe.com/mxml/2009&#8243;</a><br />
xmlns:s=&#8221;library://ns.adobe.com/flex/spark&#8221;<br />
xmlns:mx=&#8221;library://ns.adobe.com/flex/halo&#8221; minWidth=&#8221;1024&#8243; minHeight=&#8221;768&#8243;&#62;<br />
&#60;fx:Declarations&#62;<br />
&#60;!&#8211; Place non-visual elements (e.g., services, value objects) here &#8211;&#62;<br />
&#60;!&#8211; DEFINE REMOTE SERVICES WE&#8217;LL USE &#8211;&#62;<br />
&#60;mx:RemoteObject<br />
id=&#8221;myService&#8221;<br />
destination=&#8221;helloflex&#8221;<br />
result=&#8221;resultHandler(event)&#8221; /&#62;<br />
&#60;/fx:Declarations&#62;<br />
&#60;fx:Script&#62;<br />
&#60;![CDATA[<br />
import mx.rpc.events.ResultEvent;<br />
import mx.rpc.events.FaultEvent;<br />
private function resultHandler(evt:ResultEvent):void<br />
{<br />
result_text.text = evt.message.body.toString();<br />
}<br />
]]&#62;<br />
&#60;/fx:Script&#62;<br />
&#60;s:Panel width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;<br />
&#60;s:layout&#62;<br />
&#60;s:VerticalLayout/&#62;<br />
&#60;/s:layout&#62;<br />
&#60;mx:TextArea id=&#8221;result_text&#8221;/&#62;<br />
&#60;mx:Button label=&#8221;Call Java&#8221; click=&#8221;myService.getOperation(&#8216;getMessage&#8217;).send();&#8221;/&#62;<br />
&#60;/s:Panel&#62;</p>
<p>&#60;/s:Application&#62;</p></blockquote>
<p>&#160;</p>
<p>That’s it! Run the application and pat yourself on the back. Congratulations! Your first end to end Flex-Java app.</p>
<p>&#160;</p>
<p><a href="http://cgrant.files.wordpress.com/2009/11/image6.png"><img style="display:inline;border:0;" title="image" src="http://cgrant.files.wordpress.com/2009/11/image_thumb8.png?w=648&#038;h=319" border="0" alt="image" width="648" height="319" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Are you a serious mac geek?]]></title>
<link>http://chimac.net/2009/11/20/are-you-a-serious-mac-geek/</link>
<pubDate>Fri, 20 Nov 2009 16:52:59 +0000</pubDate>
<dc:creator>chimac</dc:creator>
<guid>http://chimac.net/2009/11/20/are-you-a-serious-mac-geek/</guid>
<description><![CDATA[Then you probably want to look at this post for geeks.  Software that helps you configure, secure an]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Then you probably want to look at this post for geeks.  Software that helps you configure, secure and do other fun stuff.  Click <a href="http://forte44.wordpress.com/2009/11/19/top-five-geeky-programs-mac-os-x/" target="_self">here</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SQL Server - post installation]]></title>
<link>http://ehausig.wordpress.com/2009/11/20/sql-server-post-installation/</link>
<pubDate>Fri, 20 Nov 2009 16:35:14 +0000</pubDate>
<dc:creator>ehausig</dc:creator>
<guid>http://ehausig.wordpress.com/2009/11/20/sql-server-post-installation/</guid>
<description><![CDATA[Here are some steps to perform after installing SQL Server: http://www.sql-server-performance.com/ar]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Here are some steps to perform after installing SQL Server:</p>
<p><a href="http://www.sql-server-performance.com/articles/dba/post_installation_steps_p1.aspx">http://www.sql-server-performance.com/articles/dba/post_installation_steps_p1.aspx</a></p>
<p>I usually keep a spreadsheet handy with all of &#8220;specialized&#8221; installation steps that I want to perform. My company uses a SharePoint wiki for configuration management, so after I perform the steps I enter them into the config mgmt wiki.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Howto: add logging to White (continued)]]></title>
<link>http://natooktesting.wordpress.com/2009/11/20/howto-add-logging-to-white-continued/</link>
<pubDate>Fri, 20 Nov 2009 10:37:30 +0000</pubDate>
<dc:creator>Ulrika</dc:creator>
<guid>http://natooktesting.wordpress.com/2009/11/20/howto-add-logging-to-white-continued/</guid>
<description><![CDATA[I wrote a while back about how I managed to add logging with log4net to my ProjectWhite tests in Vis]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I wrote a while back about how<a href="http://natooktesting.wordpress.com/2009/10/27/howto-turn-on-logging-in-project-white/"> I managed to add logging with log4net to my ProjectWhite tests in Visual Studio</a>. However, after being forced to move my source code it suddenly didn&#8217;t work anymore eventhough I followed my amazing instructions. After trying a whole bunch of things out, one of them worked.</p>
<p>For log4net to work, the log4net.config file needs to be copied into the TestResult folder created by Visual Studios testrunner. In order to achieve this, enter the &#8220;Test&#8221; menu in VS, select &#8220;Edit Test Run Configurations&#8221;, &#8220;Deployment&#8221; and there, add your log4net.config file.</p>
<p>This made things work for me.</p>
<p>Note: I&#8217;m using the built-in testrunner in Visual Studio to drive my tests and not NUnit right now.<br />
Note2: The first thing I did was setting it up as I did in my previous post, I haven&#8217;t tried to see if just adding the file to deployment is enough, it might not be.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Splish Splash]]></title>
<link>http://100percentlinux.wordpress.com/2009/11/19/splish-splash/</link>
<pubDate>Thu, 19 Nov 2009 19:53:30 +0000</pubDate>
<dc:creator>John</dc:creator>
<guid>http://100percentlinux.wordpress.com/2009/11/19/splish-splash/</guid>
<description><![CDATA[I love shiny boot sequences. Although seeing every service start in plain text is pretty cool, I als]]></description>
<content:encoded><![CDATA[I love shiny boot sequences. Although seeing every service start in plain text is pretty cool, I als]]></content:encoded>
</item>
<item>
<title><![CDATA[VRRP on Adtran Routers]]></title>
<link>http://japarde.wordpress.com/2009/11/19/vrrp-on-adtran-routers/</link>
<pubDate>Thu, 19 Nov 2009 16:47:19 +0000</pubDate>
<dc:creator>japarde</dc:creator>
<guid>http://japarde.wordpress.com/2009/11/19/vrrp-on-adtran-routers/</guid>
<description><![CDATA[VRRP is a redundancy protocol that can be used for router failover.&#160; This configuration is betw]]></description>
<content:encoded><![CDATA[VRRP is a redundancy protocol that can be used for router failover.&#160; This configuration is betw]]></content:encoded>
</item>
<item>
<title><![CDATA[Two great #PowerPivot tips from one half of PowerPivot Twins!]]></title>
<link>http://powerpivottwins.com/2009/11/19/two-great-powerpivot-tips-from-one-half-of-powerpivot-twins/</link>
<pubDate>Thu, 19 Nov 2009 11:30:48 +0000</pubDate>
<dc:creator>dennyglee</dc:creator>
<guid>http://powerpivottwins.com/2009/11/19/two-great-powerpivot-tips-from-one-half-of-powerpivot-twins/</guid>
<description><![CDATA[Hats off to Dave Wickert (one half of the PowerPivot Twins!) &#8211; he&#8217;s been blogging like t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hats off to Dave Wickert (one half of the PowerPivot Twins!) &#8211; he&#8217;s been blogging like there&#8217;s no tomorrow and it&#8217;s getting harder and harder to keep up!  Saying this, he&#8217;s included on his blog, <a href="http://powerpivotgeek.com">PowerPivotGeek.com</a>, two great tips for PowerPivot:</p>
<p>1) Ensure when you install Excel 2010 that you also install Office Shared Tools, it contains VSTO which is necessary for the PowerPivot add-in to work properly.  You can read more in his posting: <a href="http://powerpivotgeek.com/2009/11/18/and-oh-you-need-this-one-more-thing/">And oh, you need this one more thing</a>.</p>
<p>2) When you save your workbooks, save them in cell A1 so that way when your workbook is saved to SharePoint, Excel Services will render the workbook properly centered.  For more info, check out his posting: <a href="http://powerpivotgeek.com/2009/11/18/another-tip-always-save-your-workbooks-at-cell-a1/">Another tip – always save your workbooks at cell A1</a>.</p>
<p>Enjoy!</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[A Peek Inside: Why are domain accounts needed?]]></title>
<link>http://powerpivottwins.com/2009/11/19/a-peek-inside-why-are-domain-accounts-needed/</link>
<pubDate>Thu, 19 Nov 2009 11:18:34 +0000</pubDate>
<dc:creator>dennyglee</dc:creator>
<guid>http://powerpivottwins.com/2009/11/19/a-peek-inside-why-are-domain-accounts-needed/</guid>
<description><![CDATA[Have you ever had to do something that you knew (you just KNEW) that lots of folks were going to scr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Have you ever had to do something that you knew (you just KNEW) that lots of folks were going to scream – and scream <span style="text-decoration:underline;">loud</span> – about? This is one of those cases – I can just feel it!</p>
<p>Ok, here goes. There have been several recent newsgroups postings concerning why we require domain accounts to install PowerPivot for SharePoint. Why must the farm account and the various service accounts be domain accounts. This causes lots of heartache for users that want to install demo or evaluation servers because we don’t support a standalone server. Well, we do support standalone, but it a different kind of standalone. Let’s get right into it.</p>
<p>First, let’s compare and contrast this requirement with SharePoint. SharePoint has two types of installations: standalone (which they do NOT support in production) and complete/farm. The standalone installation is for demo and evaluation purposes only. It has uses NETWORK SERVICE as the service account for many of its internal processes. It is right up front that it is NOT expandable into a production system; it has security issues acting across servers; etc. However, it gives you a nice “toy” to play with. Let’s be right up front about it – PowerPivot does not install nor does it support a SharePoint standalone server installation. And, oh while we are on the subject, SharePoint does not support local machine accounts within a farm configuration. In the SharePoint world, once you go to domains – you go all of the way with domains.</p>
<p><a href="http://powerpivotgeek.com/2009/11/18/a-peek-inside-why-are-domain-accounts-needed/">Read more&#8230;</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Changing service accounts and handling password resets]]></title>
<link>http://powerpivottwins.com/2009/11/19/changing-service-accounts-and-handling-password-resets/</link>
<pubDate>Thu, 19 Nov 2009 09:23:30 +0000</pubDate>
<dc:creator>dennyglee</dc:creator>
<guid>http://powerpivottwins.com/2009/11/19/changing-service-accounts-and-handling-password-resets/</guid>
<description><![CDATA[While this is technically a pure SharePoint posting, we have found it useful in our labs. We have pa]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>While this is technically a pure SharePoint posting, we have found it useful in our labs. We have password resets all of the time and this cheat sheet was developed to make it as painless as possible. I hope you find it as useful as we do.</p>
<p>Step 1: Start Services.msc</p>
<ul>
<li>For each service using the machine account, update the password and start the service</li>
</ul>
<p>Step 2: Start IIS Manager. Under Application Pools, select each of the app pools that use the account that you are changing:</p>
<ul>
<li>Click Advanced Settings</li>
<li>Click Identity</li>
<li>Set the username and password</li>
<li>iisreset</li>
</ul>
<p><a href="http://powerpivotgeek.com/2009/11/17/changing-service-accounts-and-handling-password-resets/">Read more&#8230;</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[New Server, Day 3]]></title>
<link>http://jmcomputer.wordpress.com/2009/11/18/new-server-day-3/</link>
<pubDate>Wed, 18 Nov 2009 22:32:04 +0000</pubDate>
<dc:creator>jmcomputer</dc:creator>
<guid>http://jmcomputer.wordpress.com/2009/11/18/new-server-day-3/</guid>
<description><![CDATA[Okay, so after my success with the VirtualBox install of vTiger, I went to the office to try to inst]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Okay, so after my success with the VirtualBox install of vTiger, I went to the office to try to install vTiger on the server again. This time I am following a couple walkthroughs that I found earlier <a href="http://www.linuxquestions.org/questions/showthread.php?p=3588132#post3588132" target="_blank">here</a> and <a href="http://wiki.vtiger.com/index.php/vtiger510:Installation" target="_blank">here</a>. The first link is how to do the initial install, and written very nicely on a forum. The second link is how to finish the installation using vTiger&#8217;s Installation Wizard (completely html/php based).</p>
<p>So, I completely removed the old database, deleted the entire directory of vTiger in /var, and re-extracted the files again (good thing I saved that .tar file). After getting apache2 setup, and working my way through, I got to the configuring of vTiger, and had access denied messages, seems I had forgotten I had altered the envvars for Apache on my last few attempts. At this point, everything seems to be flowing nicely. Now I take a moment and write down all the different users/passwords that are being used (mysql, vtiger, user accounts, etc)&#8230;</p>
<p>Well, that went off nicely, now we have an empty CRM that we can start using (as soon as I start adding users into it). I&#8217;ve also got a couple bandwidth monitoring things running (I think I&#8217;ll have to start using screen on this too). Got Dovecot, Postfix, and SSH configured.</p>
<p>TODO: Add users to the CRM, add the mail server to the CRM, get hostname configured properly (aside from localhost stuff), and finally contact the network provider to get NAT tables set up for this server.</p>
<p>WOW! Almost finished on this thing!</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
