<?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>udf &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/udf/</link>
	<description>Feed of posts on WordPress.com tagged "udf"</description>
	<pubDate>Tue, 08 Dec 2009 19:19:11 +0000</pubDate>

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

<item>
<title><![CDATA[Reinforced Concrete Moment-Curvature – 2; Shrinkage and Creep]]></title>
<link>http://newtonexcelbach.wordpress.com/2009/12/08/reinforced-concrete-moment-curvature-%e2%80%93-2-shrinkage-and-creep/</link>
<pubDate>Tue, 08 Dec 2009 11:38:44 +0000</pubDate>
<dc:creator>dougaj4</dc:creator>
<guid>http://newtonexcelbach.wordpress.com/2009/12/08/reinforced-concrete-moment-curvature-%e2%80%93-2-shrinkage-and-creep/</guid>
<description><![CDATA[The previous post in this series provided an Excel User Defined Function (UDF) to find  the short te]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The <a title="Reinforced Concrete Moment-Curvature – 1" href="http://newtonexcelbach.wordpress.com/2009/11/22/reinforced-concrete-moment-curvature-1/">previous post</a> in this series provided an Excel User Defined Function (UDF) to find  the short term curvature of a reinforced concrete section subject to combined bending and axial load.  In this post UDFs will be presented to determine the strain in a concrete section due to creep and shrinkage, and in the final post these will be incorporated with the curvature UDF to find the curvature of the section under load for any given period.</p>
<p>Time related strains in concrete are divided into three categories:</p>
<ul>
<li>Endogenous (or chemical) shrinkage; the shrinkage of the concrete due to the hydration of the cement.</li>
<li>Drying shrinkage; the shrinkage due to loss of water.</li>
<li>Creep; long term strain in the concrete due to applied loads.</li>
</ul>
<p>In all three cases internal or external restraint of the strain will result in a change in the state of stress of the section.  The methods examined in this post assume no restraint of the strain.  The effect of restraint will be examined in the following posts.</p>
<p>The UDFs Shrink() and Creep() have been added to the <a title="Right Click to download" href="http://interactiveds.com.au/software/RC%20Design%20Functions3.ZIP">RC Design Functions3</a> spreadsheet.  These functions provide estimated shrinkage strain and creep coefficients to either the Australian Standard Concrete Structures Code (AS 3600) or the Eurocode Concrete Code (EC2).  A third UDF, AdjustedAge() calculates the adjusted age of a concrete section according to EC 2, based on the time/temperature history.  This age can be used as input to the Creep function.  As usual, the spreadsheet includes open source code for the UDFs.</p>
<p>The next version of the AS 3600 code contains significantly different provisions for the calculation of shrinkage and creep, and the UDFs follow these recommendations, as published in the last public draft version of the code.  The UDFs will be updated if required when the final version of the code is issued (which is expected any day now!)</p>
<p>Input for all three UDFs and typical output is shown in the screenshots below:</p>
<div id="attachment_1277" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/12/shrink1.jpg"><img class="size-full wp-image-1277" title="Shrink1" src="http://newtonexcelbach.wordpress.com/files/2009/12/shrink1.jpg" alt="" width="468" height="192" /></a><p class="wp-caption-text">Input to Shrink() and Creep()</p></div>
<div id="attachment_1278" class="wp-caption aligncenter" style="width: 335px"><a href="http://newtonexcelbach.wordpress.com/files/2009/12/shrink2.jpg"><img class="size-full wp-image-1278" title="Shrink2" src="http://newtonexcelbach.wordpress.com/files/2009/12/shrink2.jpg" alt="" width="325" height="469" /></a><p class="wp-caption-text">Adjusted Age input and output</p></div>
<div id="attachment_1279" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/12/shrink3.jpg"><img class="size-full wp-image-1279" title="Shrink3" src="http://newtonexcelbach.wordpress.com/files/2009/12/shrink3.jpg" alt="" width="468" height="192" /></a><p class="wp-caption-text">Shrink() Output</p></div>
<div id="attachment_1280" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/12/shrink4.jpg"><img class="size-full wp-image-1280" title="Shrink4" src="http://newtonexcelbach.wordpress.com/files/2009/12/shrink4.jpg" alt="" width="468" height="177" /></a><p class="wp-caption-text">Creep() Output</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tiger Stripe Snake UDF by Medicom]]></title>
<link>http://projectpitu.wordpress.com/2009/12/07/tiger-stripe-snake-udf-by-medicom/</link>
<pubDate>Mon, 07 Dec 2009 21:15:35 +0000</pubDate>
<dc:creator>Pituvision</dc:creator>
<guid>http://projectpitu.wordpress.com/2009/12/07/tiger-stripe-snake-udf-by-medicom/</guid>
<description><![CDATA[]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/FF22lxuZC_0&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=1' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/FF22lxuZC_0&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=1' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[La certitude du doute...]]></title>
<link>http://souklaye.wordpress.com/2009/11/29/la-certitude-du-doute-293/</link>
<pubDate>Sun, 29 Nov 2009 17:58:33 +0000</pubDate>
<dc:creator>souklaye</dc:creator>
<guid>http://souklaye.wordpress.com/2009/11/29/la-certitude-du-doute-293/</guid>
<description><![CDATA[&nbsp; Je n&#8217;arrive pas à choisir entre la politique business et la neutralité islamophobe (Fra]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>&#160;</p>
<p><a href="http://souklaye.wordpress.com/files/2009/11/paul-kagame.jpg"><img class="aligncenter size-full wp-image-4170" title="paul kagamé" src="http://souklaye.wordpress.com/files/2009/11/paul-kagame.jpg" alt="" width="500" height="492" /></a></p>
<p style="text-align:center;">Je n&#8217;arrive pas à choisir entre la politique business et la neutralité islamophobe<br />
(France-Rwanda 0 &#8211; Suisse 1)<br />
<a href="http://souklaye.wordpress.com/files/2009/11/stopp-ja.jpg"><img class="aligncenter size-full wp-image-4169" title="stopp ja" src="http://souklaye.wordpress.com/files/2009/11/stopp-ja.jpg" alt="" width="365" height="512" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Microsoft - Proprietary Extensions and Linux ..]]></title>
<link>http://raymondmarr.com/2009/11/23/microsoft-proprietary-extensions-and-linux/</link>
<pubDate>Tue, 24 Nov 2009 02:06:34 +0000</pubDate>
<dc:creator>Knatchwa</dc:creator>
<guid>http://raymondmarr.com/2009/11/23/microsoft-proprietary-extensions-and-linux/</guid>
<description><![CDATA[Microsoft has pulled yet another aspect of their attempts at control, of trying to fortify their hol]]></description>
<content:encoded><![CDATA[Microsoft has pulled yet another aspect of their attempts at control, of trying to fortify their hol]]></content:encoded>
</item>
<item>
<title><![CDATA[Guernica e a meta número 2]]></title>
<link>http://anotherwords.wordpress.com/2009/11/15/guernica-e-a-meta-numero-2/</link>
<pubDate>Sun, 15 Nov 2009 18:57:14 +0000</pubDate>
<dc:creator>paulamacedocesar</dc:creator>
<guid>http://anotherwords.wordpress.com/2009/11/15/guernica-e-a-meta-numero-2/</guid>
<description><![CDATA[Ok, agora que é oficial, posso contar: passei na prova de estágio do TJ, me chamaram, eu aceitei, já]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ok, agora que é oficial, posso contar: passei na prova de estágio do TJ, me chamaram, eu aceitei, já assinei contrato e começo na segunda!!! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Tou súper empolgada, lógico, mesmo que seja na vara cível. O que acontece é que passar em um estágio por causa de entrevista é uma coisa, passar por causa de prova são outros 500. Por mais que a prova cobrasse coisas sobre arte*, atualidade e coisas não-ligadas a direito, ainda acho que é um ótimo meio pra selecionar pessoal. Me revolta muito estar na universidade e ver que as pessoas, na verdade, são umas antas em tudo que não é relativo ao curso em que estão matriculadas. Não que eu seja a senhora sei-sobre-tudo-que-tá-acontecendo, mas eu sei que isso é muito importante e tento me atualizar.</p>
<p>Por ironia, me ligaram na sexta, me chamando pra estagiar na área de design. Eu ainda não sei muito bem o que eu vou fazer e, pra falar a verdade, eu tou tão empolgada com tudo (estágio, viagem, fim de semeste&#8230;), que nem tou esquentando a cabeça pra ver no que tudo isso vai dar.</p>
<p>O que importa é que, a partir de segunda, terei -20h semanais disponíveis e tou muito feliz que vou gastá-las com uma coisa que eu queria, por mais que seja loucura total entrar nisso bem no caos do fim de semestre. E com isso eu cumpro metade da minha meta nº 2, &#8220;estagiar em cada uma das áreas&#8221;.</p>
<p>&#160;</p>
<p>* Aconteceu uma coisa meio absurda nessa prova pra estagiário do TJ: caiu uma questão, perguntando de quem era o quadro Guernica. <img class="aligncenter" title="Guernica" src="http://memex.naughtons.org/wp-content/uploads/2009/03/guernica.jpg" alt="" width="477" height="276" />Ok, respondi, fui pra casa achando o máximo finalmente cobrarem questões sobre cultura geral que eu considero importante que as pessoas saibam, por mais que essa tenha sido meio óbvia. Cheguei na minha aula de processo penal na segunda e tinha uma menina (que tinha gabaritado a prova passada da matéria) comentando sobre a prova do TJ:</p>
<p>&#8220;achei muito sem noção!!! Como eu vou saber quem fez os jardins do Itamaraty? E aquele quadro??? PRA QUE EU PRECISO SABER DAQUILO SE EU FAÇO DIREITO?&#8221;</p>
<p>E os amiguinhos dela concordando. Viu o naipe das pessoas?! Pois eu achei lindo ter caído quem pintou um dos quadros mais importantes do modernismo e não é porque eu sabia que tinha sido Picasso. Que caísse um que eu não soubesse&#8230; É importante cobrarem isso das pessoas, pra que elas comecem a saber (porque se não cai em concurso, ninguém se interessa ¬¬), porque aquilo ali é cultura, poxa! É história contada de um jeito muito mais interessante. Muito mais importante do que saber nox, matriz, classificação de planta ou aquelas baboseiras todas que fazem a gente engolir no ensino médio e que a gente acaba descartando depois que passam as provas, porque são completamente inúteis.</p>
<p>Então, minha filha, você precisa saber quem pintou a Guernica e quem projetou os jardins do Itamaraty exatamente porque você faz direito.</p>
<p>Até!</p>
<p>Paula-rebelde-estagiandonotj (hihi), beijos.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[BJP HAPPY WITH KERALA RESULTS]]></title>
<link>http://valluvanadtimes.wordpress.com/2009/11/11/bjp-happy-with-kerala-results/</link>
<pubDate>Wed, 11 Nov 2009 11:50:14 +0000</pubDate>
<dc:creator>kir4189</dc:creator>
<guid>http://valluvanadtimes.wordpress.com/2009/11/11/bjp-happy-with-kerala-results/</guid>
<description><![CDATA[bjp state president Mr p k krishnadas told yesterday that the party have made improvements in the vo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>bjp state p<img class="alignleft size-full wp-image-101" title="bjp" src="http://valluvanadtimes.wordpress.com/files/2009/11/bjp.jpeg" alt="bjp" width="104" height="104" />resident Mr p k krishnadas told yesterday that the party have made improvements in the vote percent in the  three assembly segments where the by elections  took place on November 7th.there was an increase of 1% in kannur to 5% of total votes ,in allapuzha an increase of 1% to 3% of total and in eranankulam to 7% from 5%.the party which have always been alleged of selling votes to ldf and udf is largely supported by the upper castes.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[UDF SWEEPS BY-POLLS]]></title>
<link>http://valluvanadtimes.wordpress.com/2009/11/10/udf-sweeps-by-polls/</link>
<pubDate>Tue, 10 Nov 2009 07:16:43 +0000</pubDate>
<dc:creator>kir4189</dc:creator>
<guid>http://valluvanadtimes.wordpress.com/2009/11/10/udf-sweeps-by-polls/</guid>
<description><![CDATA[UDF candidates have won all the three seats in the by poll conducted on November 7th.according to th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>UDF candidates have won all the three seats in the by poll conducted on November 7th.according to the latest reports the UDF candidates A.A<img class="alignright size-full wp-image-54" title="poll" src="http://valluvanadtimes.wordpress.com/files/2009/11/poll.jpeg" alt="poll" width="116" height="87" /> shukur ,A.P Abdulakutty and Dominic presentation won the Alapuzha,Kannur and Eranakulam seats respectively.this is a serious blow to the ruling LDF coalition especially taking into account the high-octane election campaigning it did  .Kannur saw the fiercest of fights where the defeated candidate Mr E.P Jayarajan is a stalwart of the CPM.</p>
<p>the poor performance of LDFcan be attributed to various factors like anti incumbency,infighting in CPM,the corruption allegations against many CPM leaders and the deteriorating law and order situation in the state.</p>
<p>bjp which have lost its hope of bagging any seats in the state came a distant third in all these seats</p>
<p>the results are more or less on expected lines as Kerala politics have become so predictable.the power always alters between the two fronts which are virtually undifferentiable from each other . people do not have a choice and this was mirrored in low percentage of votes polled in urban areas(kochi).the results are in line with expectations as an overwhelming majority  is predicted for udf in the coming elections.</p>
<p>the margins of victory in various constituencies are</p>
<p>KANNUR 12043</p>
<p>ALLAPUZHA 5701</p>
<p>ERANAKULAM 8630</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[MySQL UDF Shells]]></title>
<link>http://diablohorn.wordpress.com/2009/11/10/mysql-udf-shells/</link>
<pubDate>Tue, 10 Nov 2009 00:33:05 +0000</pubDate>
<dc:creator>diablohorn</dc:creator>
<guid>http://diablohorn.wordpress.com/2009/11/10/mysql-udf-shells/</guid>
<description><![CDATA[Nostalgic feelings all over the place. Just found this baby ugly code but when I needed it it sure d]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Nostalgic feelings all over the place. Just found this baby <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ugly code but when I needed it it sure did it&#8217;s job. I even seem to have implemented some kind of rudimentary &#8220;social engineering&#8217;. When the wrong password is supplied to the bind shell it will respond with &#8220;FTP ACCESS DENIED&#8221;. Intention was to have people think it was some kind of FTP daemon, so if they attempted a brute force it would be wrong from the beginning.</p>
<p>The command execution shell</p>
<p>http://pastebin.com/f22735864</p>
<p>The bind shell</p>
<p>http://pastebin.com/f611f0ba2</p>
<p>The reverse shell</p>
<p>http://pastebin.com/f5e167b65</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[DRIVE SLOW OR DIE]]></title>
<link>http://valluvanadtimes.wordpress.com/2009/11/09/drive-slow-or-die/</link>
<pubDate>Mon, 09 Nov 2009 09:22:10 +0000</pubDate>
<dc:creator>kir4189</dc:creator>
<guid>http://valluvanadtimes.wordpress.com/2009/11/09/drive-slow-or-die/</guid>
<description><![CDATA[road accidents have become a fact of life in KERALA.when ever one such accident happens the immediat]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>road accidents have become a fact of life in KERALA.when ever one such accident happens the immediate blame goes onto the driver .the so called overspeed is some thing like 60km/hr.no one blames the infrastructure,it is always the speed.</p>
<p>the roads in kerala are DEATH TRAPS for anyone whether he drives slow or fast.their whole design is unnatural.you have blunt turns and u-turns where the plain going straight must have served the purpose.the way PWD build roads they are meant to last only for one year so that after the rains they can repair it.the bad condition of the roads is always blamed on the monsoon,but i would like to ask them whether the other monsoon countries like singapore or malaysia have such problems with their roads?.</p>
<p>we MALAYALEES never question those things,if they ask us to drive only at 70km/hr we agree,but never ask t &#8220;are the roads meant for going slow?&#8221;.all we are good at is debating and implementing nothing</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Reinforced Concrete Section Analysis - with prestress]]></title>
<link>http://newtonexcelbach.wordpress.com/2009/10/25/reinforced-concrete-section-analysis-with-prestress/</link>
<pubDate>Sun, 25 Oct 2009 04:09:40 +0000</pubDate>
<dc:creator>dougaj4</dc:creator>
<guid>http://newtonexcelbach.wordpress.com/2009/10/25/reinforced-concrete-section-analysis-with-prestress/</guid>
<description><![CDATA[The simplified reinforced concrete section analysis spreadsheet presented here has been revised to a]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The simplified reinforced concrete section analysis spreadsheet presented <a href="http://newtonexcelbach.wordpress.com/2008/11/05/reinforced-concrete-section-analysis-7-rectangular-sections/">here</a> has been revised to allow the input of a pre-tension stress to either or both layers of reinforcement.  The spreadsheet (including full open source code) can be downloaded from <a title="Right click to download" href="http://interactiveds.com.au/software/RC%20Design%20Functions3.ZIP">RC Design Functions3</a>.</p>
<p><strong>Note 26 Oct 2009: </strong>The version of Estress originally uploaded gave incorrect output for total force and bending moment when the neutral axis depth was below the bottom reinforcement.  A corrected version has now been uploaded and is dated 26 Oct 2009.</p>
<p> </p>
<p>Note that this spreadsheet is intended for the analysis of rectangular beams or slabs with two layers of reinforcement.  For more complex sections refer to <a title="Reinforced Concrete Section Analysis – 5; Ultimate Limit State" rel="bookmark" href="http://newtonexcelbach.wordpress.com/2008/08/19/reinforced-concrete-section-analysis-5-ultimate-limit-state/">Reinforced Concrete Section Analysis – 5; Ultimate Limit State</a> and <a title="Reinforced Concrete Section Analysis – 3" rel="bookmark" href="http://newtonexcelbach.wordpress.com/2008/05/30/reinforced-concrete-section-analysis-3/">Reinforced Concrete Section Analysis – 3</a>.</p>
<p>In addition to the provision for prestressed reinforcement the revision also provides additional output data on section curvature, including analysis of tension stiffening effects and shrinkage according to the Eurocode EC2, and analysis of shrinkage curvature using a fictitious pre-compression stress applied to the reinforcement.  More details on these revisions will be given in a later post.</p>
<p>Typical Input and Output:</p>
<div id="attachment_1202" class="wp-caption aligncenter" style="width: 478px"><a rel="attachment wp-att-1202" href="http://newtonexcelbach.wordpress.com/2009/10/25/reinforced-concrete-section-analysis-with-prestress/rcdesign1/"><img class="size-full wp-image-1202" title="RCdesign1" src="http://newtonexcelbach.wordpress.com/files/2009/10/rcdesign1.jpg" alt="Estress input, including pre-stress" width="468" height="416" /></a><p class="wp-caption-text">Estress input, including pre-stress</p></div>
<p> </p>
<div id="attachment_1210" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/10/rcdesign21.jpg"><img class="size-full wp-image-1210" title="RCdesign2" src="http://newtonexcelbach.wordpress.com/files/2009/10/rcdesign21.jpg" alt="EStress Output" width="468" height="267" /></a><p class="wp-caption-text">EStress Output</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[PeaZip 2.7.1]]></title>
<link>http://netvietnam.org/2009/10/23/peazip-2-7-1/</link>
<pubDate>Fri, 23 Oct 2009 04:33:53 +0000</pubDate>
<dc:creator>Nhân Mã</dc:creator>
<guid>http://netvietnam.org/2009/10/23/peazip-2-7-1/</guid>
<description><![CDATA[PeaZip là một phần mềm mã nguồn mở hoàn toàn miễn phí giúp bạn có thể dễ dàng lưu trữ, nén h]]></description>
<content:encoded><![CDATA[PeaZip là một phần mềm mã nguồn mở hoàn toàn miễn phí giúp bạn có thể dễ dàng lưu trữ, nén h]]></content:encoded>
</item>
<item>
<title><![CDATA[Calling Stored Procedures from .NET Applications]]></title>
<link>http://enggtech.wordpress.com/2009/10/22/calling-stored-procedures-from-net-applications/</link>
<pubDate>Thu, 22 Oct 2009 15:22:39 +0000</pubDate>
<dc:creator>Visitor Blogs</dc:creator>
<guid>http://enggtech.wordpress.com/2009/10/22/calling-stored-procedures-from-net-applications/</guid>
<description><![CDATA[Everybody knows how to call stored procedures from a .NET application. Right? But then, how often do]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Everybody knows how to call stored procedures from a .NET application. Right? But then, how often do you see stored procedures used to their full advantage in database applications? William Brewer goes through some of the basics, but uses PowerShell, IronPython and VB.NET for the example .NET application just to freshen the subject up a bit, and avoids all mention of Northwind or AdventureWorks!</p>
<p>in .NET, there are three very similar ways of accessing SQL Server. If you want to access other databases such as MySQL, Access or SQLite, then you&#8217;ll use the net library <span class="mono">System.Data.ODBC </span>but we are going to use <span class="mono">System.Data.SQLClient,</span> as it supports all the current SQL Server datatypes.The third main approach is <span class="mono">System.Data.OLEDB</span> but but this is minority-interest.</p>
<p>Stored Procedures provide more alternatives in the way they can pass data back to the application. You can pass data and information</p>
<ul style="margin-top:0;margin-bottom:0;" type="disc">
<li>As one or more results</li>
<li>As a series of messages (e.g. DBCC)</li>
<li>As an integer return code</li>
<li>In output or input/output parameters.</li>
<li>In an error</li>
</ul>
<p><a href="http://www.simple-talk.com/dotnet/.net-framework/calling-stored-procedures-from-.net-applications/?utm_source=simpletalk&#38;utm_medium=email&#38;utm_content=StoredProcedures20090921&#38;utm_campaign=.NET">Calling Stored Procedures from .NET Applications</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Fall: A Great Time for Pumpkin-flavored EVERYTHING]]></title>
<link>http://chelsclems.wordpress.com/2009/10/13/fall-a-great-time-for-pumpkin-flavored-everything/</link>
<pubDate>Tue, 13 Oct 2009 16:29:24 +0000</pubDate>
<dc:creator>chelsclems</dc:creator>
<guid>http://chelsclems.wordpress.com/2009/10/13/fall-a-great-time-for-pumpkin-flavored-everything/</guid>
<description><![CDATA[I love fall because of all the delicious pumpkin-flavored foods that are available. So far I have pu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I love fall because of all the delicious pumpkin-flavored foods that are available.</p>
<p>So far I have purchased and/or eaten:</p>
<ul>
<li><a href="http://yagootyogurt.com/index.php?p=home" target="_blank">Yagoot&#8217;s</a> Pumpkin Frozen Yogurt &#8211; I didn&#8217;t like this, even though it was paired with Cinnamon Teddy Grahams. The Pumpkin flavor was too tart and citrusy, reminding me of an orange flavor instead of the spiced-filled goodness that is pumpkin.</li>
<li><a href="http://www.udfinc.com/" target="_blank">UDF&#8217;s </a>Pumpkin Pie Ice Cream &#8211; Delish! It has pieces of pumpkin pie crust mixed in and it is dangerously good</li>
<li><a href="http://www.starbucks.com/retail/nutrition_beverage_detail.asp?selproducts={70453847-3ada-4ca4-9826-85afb12e272a}" target="_blank">Starbucks Pumpkin Spice Latte</a> &#8211; Once again, delish!</li>
<li>Homemade Pumpkin Bread &#8211; I purchased this at a farmers market in Mount Vernon, OH from a pair of tattooed, Harley-loving love birds, making the experience so much better</li>
<li>Pumpkin Dot &#8211; A lovely co-worker of mine made these at home and they reminded me of <a href="http://www.cherylandco.com/halloween-cookie-gift--frosted-trio.product.700464.19262" target="_blank">Cheryl &#38; Co&#8217;s Cinnamon Frosted Cookies </a>found in this gift box trio</li>
</ul>
<p>Pumpkin-flavored things that I still need to buy and eat while I can:</p>
<ul>
<li>Pumpkin Seeds &#8211; I need to go out and buy a pumpkin so that I can bake the seeds! Home baked seeds are SO much better than the ones you purchase at a store. yuck!</li>
<li><a href="http://www.brueggers.com/menu/bagels-and-cream-cheese" target="_blank">Brueggers Pumpkin Cream Cheese</a> &#8211; I&#8217;m not a huge cream cheese fan but I have to try this</li>
<li>Pumpkin Butter &#8211; Another co-worker told me that he purchased this at a farmers market. MUST FIND</li>
<li>Even though I ate a Pumpkin Dot, I need to go to Cheryl &#38; Co and get a Cinnamon Frosted Cookie.</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Evaluate Polynomial]]></title>
<link>http://userdefinedfunctionsinvba.wordpress.com/2009/10/12/evaluate-polynomial/</link>
<pubDate>Mon, 12 Oct 2009 21:37:28 +0000</pubDate>
<dc:creator>userdefinedfunctionsinvba</dc:creator>
<guid>http://userdefinedfunctionsinvba.wordpress.com/2009/10/12/evaluate-polynomial/</guid>
<description><![CDATA[Public Function Evaluate_Polynomial(RngExponents As Range, RngCoefficients As Range, RngX As Range) ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Public Function Evaluate_Polynomial(RngExponents As Range, RngCoefficients As Range, RngX As Range) As Variant</strong><br />Dim LngLoopCells As Long<br />Dim LngCountCells As Long<br />Dim DblSum As Double</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Perform the necessary checks on the cells that contain the EXPONENTS<br />&#8216;====================================================================================================<br /></strong></span>If TypeName(RngExponents) &#60;&#62; &#8220;Range&#8221; Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p>If RngExponents Is Nothing Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p>If RngExponents.Areas.Count &#60;&#62; 1 Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Perform the necessary checks on the cells that contain the COEFFICIENTS<br />&#8216;====================================================================================================<br /></strong></span>If TypeName(RngCoefficients) &#60;&#62; &#8220;Range&#8221; Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p>If RngCoefficients Is Nothing Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p>If RngCoefficients.Areas.Count &#60;&#62; 1 Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Make sure that the number of COEFFICIENTS matches the number of EXPONENTS<br />&#8216;====================================================================================================<br /></strong></span>If RngExponents.Cells.Count &#60;&#62; RngCoefficients.Cells.Count Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p>If TypeName(RngX) &#60;&#62; &#8220;Range&#8221; Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p>If RngX Is Nothing Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Perform the necessary checks on the X-value<br />&#8216;====================================================================================================<br /></strong></span>If RngX.Areas.Count &#60;&#62; 1 Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p>If RngX.Cells.Count &#60;&#62; 1 Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p>If Not IsNumeric(RngX) Then<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Polynomial = &#8220;UNDEFINED&#8221;<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>Exit Function<br />End If</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Determine the number of terms in the polynomial<br />&#8216;====================================================================================================<br /></strong></span>LngCountCells = RngExponents.Cells.Count</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Loop through the coefficient and exponent pairs and multiply accordingly summing up on each iteration<br />&#8216;====================================================================================================<br /></strong></span>For LngLoopCells = 1 To LngCountCells<br /><span style="color:black;">&#8212;&#8212;&#8211;</span>DblSum = DblSum + RngCoefficients.Cells(LngLoopCells).Value * (RngX.Value ^ RngExponents.Cells(LngLoopCells).Value)<br />Next LngLoopCells</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Return the result<br />&#8216;====================================================================================================<br /></strong></span>Evaluate_Polynomial = DblSum<strong></p>
<p>End Function</strong>
	</p>
<p>  </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Calling a WSE web service from a SQL Server CLR UDF]]></title>
<link>http://christopherpope.wordpress.com/2009/10/11/calling-a-wse-web-service-from-a-sql-server-clr-udf/</link>
<pubDate>Sun, 11 Oct 2009 04:07:03 +0000</pubDate>
<dc:creator>Christopher</dc:creator>
<guid>http://christopherpope.wordpress.com/2009/10/11/calling-a-wse-web-service-from-a-sql-server-clr-udf/</guid>
<description><![CDATA[My current project is to document and lay the foundation for communicating with web services from se]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="msgcns!84CFD8340BB1D95B!117">
<div>My current project is to document and lay the foundation for communicating with web services from several different clients. Well, that&#8217;s pretty much a common activity for most developers today but the twist here is that the web services are implemented with SAS Analytics Server v9.2 and one of the clients will be SQL Server 2005. <br />
 <br />
I set about putting up a lab to work in consisting of a SQL 05 virtual machine, a SAS 9.2 virtual machine, and my development workstation. Writing a web service client in SQL Server is fairly straightforward: just write a CLR user defined function and install it. Here are some good articles on that:<br />
<a href="http://www.databasejournal.com/features/mssql/article.php/3821271/article.htm">http://www.databasejournal.com/features/mssql/article.php/3821271/article.htm</a><br />
<a href="http://www.simple-talk.com/sql/t-sql-programming/practical-sql-server-2005-clr-assemblies/">http://www.simple-talk.com/sql/t-sql-programming/practical-sql-server-2005-clr-assemblies/</a>.<br />
 <br />
 <br />
Implementing web services in SAS is a challenge and I&#8217;ve not gotten completely through it yet but I do know that SAS web services are secured using WSE 3.0.  So, while waiting on SAS support to help me get the SAS server up and going, I figured I would write a WSE secured service in .Net and work through the issues of calling in from a SQL UDF. Wahoo! I thought, as I&#8217;ve pretty much forgotten how to work with WSE since I picked up WCF. But 1/2 day later I found that web services are like remembering how to ride bikes and learning to ride that multi-wheeled, multi-geared contraption of spokes, levers, arms, and seats out of a Dr. Suess book called WCF didn&#8217;t make me forget how to ride my WSE road bike I keep in the garage.<br />
 <br />
I quickly wrote and deployed an ASMX web service secured with WCF and wrote a simple .Net console client which communicated with it. Great, I thought, now all I have to do is lift my code from the console app and drop it into a SQL UDF and I&#8217;ll be done. Alas, I found that a SQL UDF cannot have an associated WSE policy configuration file. You see, normally a WSE client has the luxury of a policy configuration file (by default named wse3PolicyCache.config) to maintain the necessary policies and their assertions for calling the service. However a SQL UDF comes packaged as an assembly .dll so there can be no configuration files associated with it.<br />
 <br />
When I first began to work through this problem of no configuration file, I thought there would be 2 paths I could take: creating the policies found in the configuration file in code or using the ConfigurationManager class to build a placebo of my console app&#8217;s physical configuration file in memory. I tried the second path first and quickly realized that it just wasn&#8217;t possible. So next I began to research the first route and stumbled across an MSDN article that did exactly what I wanted &#8211; <a href="http://msdn.microsoft.com/en-us/library/aa528807.aspx">http://msdn.microsoft.com/en-us/library/aa528807.aspx</a>. After the heavanly light dimmed back down to normal and the choirs of angels stopped singing, I began to implement it and now I have a CLR UDF in my SQL Server which can call a WSE secured web service.</div>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TSQL: user defined function split]]></title>
<link>http://herbee.wordpress.com/2009/10/08/tsql-user-defined-function-split/</link>
<pubDate>Thu, 08 Oct 2009 09:21:56 +0000</pubDate>
<dc:creator>herbee</dc:creator>
<guid>http://herbee.wordpress.com/2009/10/08/tsql-user-defined-function-split/</guid>
<description><![CDATA[CREATE FUNCTION [dbo].[udfSplit](@text nvarchar(max), @delimiter char(1) = &#8216; &#8216;) RETURNS ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>CREATE FUNCTION [dbo].[udfSplit](@text nvarchar(max), @delimiter char(1) = &#8216; &#8216;)</p>
<p>RETURNS @Strings TABLE ( position int IDENTITY PRIMARY KEY, value nvarchar(max) )</p>
<p>AS</p>
<p>BEGIN</p>
<p>DECLARE @index int</p>
<p>SET @index = -1</p>
<p>WHILE (LEN(@text) &#62; 0)</p>
<p>BEGIN SET @index = CHARINDEX(@delimiter , @text)</p>
<p>IF (@index = 0) AND (LEN(@text) &#62; 0)</p>
<p>BEGIN</p>
<p>INSERT INTO @Strings VALUES (@text) BREAK</p>
<p>END</p>
<p>IF (@index &#62; 1)</p>
<p>BEGIN</p>
<p>INSERT INTO @Strings VALUES (LEFT(@text, @index &#8211; 1))</p>
<p>SET @text = RIGHT(@text, (LEN(@text) &#8211; @index))</p>
<p>END</p>
<p>ELSE</p>
<p>SET @text = RIGHT(@text, (LEN(@text) &#8211; @index))</p>
<p>END</p>
<p>RETURN</p>
<p>END</p>
<p>parameters:</p>
<p>@text: text to split</p>
<p>@delimiter: character</p>
<p>returns:</p>
<p>table with columns position und value</p>
<p>SELECT * FROM [OLReweAbf].[dbo].[udfSplit] (&#8216;test&#8217;,'t&#8217;)</p>
<table border="1" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td width="61" valign="top">position</td>
<td width="61" valign="top">value</td>
</tr>
<tr>
<td width="61" valign="top">1</td>
<td width="61" valign="top">es</td>
</tr>
</tbody>
</table>
<p>example:</p>
<p>Update LBFulfillmentKNORueckmeldungAuftrag</p>
<p>SET PaketGew = (select sum(cast([value] as bigint)) from [dbo].[udfSplit](PaketGew,&#8217;:'))</p>
<p>WHERE VersandartID LIKE &#8216;LKW%&#8217; AND PaketGew LIKE &#8216;%:%&#8217; AND TrackingNr is NULL</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Three UDFs]]></title>
<link>http://newtonexcelbach.wordpress.com/2009/10/05/three-udfs/</link>
<pubDate>Sun, 04 Oct 2009 23:32:48 +0000</pubDate>
<dc:creator>dougaj4</dc:creator>
<guid>http://newtonexcelbach.wordpress.com/2009/10/05/three-udfs/</guid>
<description><![CDATA[This post is in response to recent discussions at Daily-Dose-of-Excel where many and various workshe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This post is in response to recent discussions at Daily-Dose-of-Excel where many and various worksheet formulas have been suggested to carry out tasks that are (it seems to me) better done with a simple User Defined Function (UDF):</p>
<p><a href="http://www.dailydoseofexcel.com/archives/2009/09/30/adding-every-other-cell/">Adding Every Other Cell</a> (also at the Microsoft Office Blog: <a href="http://blogs.msdn.com/excel/archive/2009/09/24/adding-every-other-cell-in-a-column.aspx">Adding Every Other Cell in a Column </a>)<br />
and<br />
<a href="http://www.dailydoseofexcel.com/archives/2009/10/03/summing-the-digits-of-a-number/">Summing the Digits of a Number</a></p>
<p>My solutions to these, and also another at Eng-Tips: <a href="http://eng-tips.com/viewthread.cfm?qid=255403&#38;page=1">Transposing data from columns</a>, can be dowloaded here: <a title="Right click to download" href="http://interactiveds.com.au/software/SumTab.zip">Sum Tab.xls</a></p>
<p>The spreadsheet includes full open source code as usual:</p>
<div id="attachment_1178" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/10/sumtab1.jpg"><img class="size-full wp-image-1178" title="SumTab1" src="http://newtonexcelbach.wordpress.com/files/2009/10/sumtab1.jpg" alt="SumSkip Function" width="468" height="269" /></a><p class="wp-caption-text">SumSkip Function</p></div>
<p>The SumSkip function will sum every n&#8217;th row or column of a range, starting from any specified cell.</p>
<p><code><br />
Function SumSkip(SumRange As Variant, Optional NumSkip _As Long _<br />
= 2, Optional StartCell As Long = 1, _<br />
Optional DirSkip As String) As Double<br />
Dim Numrows As Long, NumCols As Long, Sums As Double<br />
Dim i As Long, j As Long, k As Long<br />
If TypeName(SumRange) = "Range" Then SumRange = SumRange.Value2<br />
Numrows = UBound(SumRange)<br />
NumCols = UBound(SumRange, 2)<br />
If DirSkip = "" Then<br />
If Numrows &#62; NumSkip Then<br />
DirSkip = "V"<br />
ElseIf NumCols &#62; NumSkip Then<br />
DirSkip = "H"<br />
End If<br />
End If<br />
DirSkip = UCase(DirSkip)<br />
Select Case DirSkip<br />
Case Is = "V"<br />
For i = StartCell To Numrows Step NumSkip<br />
For j = 1 To NumCols<br />
Sums = Sums + SumRange(i, j)<br />
Next j<br />
Next i<br />
Case Is = "H"<br />
For j = StartCell To NumCols Step NumSkip<br />
For i = 1 To Numrows<br />
Sums = Sums + SumRange(i, j)<br />
Next i<br />
Next j<br />
End Select<br />
SumSkip = Sums<br />
End Function<br />
</code></p>
<p> </p>
<div id="attachment_1179" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/10/sumtab2.jpg"><img class="size-full wp-image-1179" title="SumTab2" src="http://newtonexcelbach.wordpress.com/files/2009/10/sumtab2.jpg" alt="SumDig Function" width="468" height="242" /></a><p class="wp-caption-text">SumDig Function</p></div>
<p>The SumDig function sums the digits of a value or string (either including or excluding values to the right of the decimal point).  I have incorporated the use of  a Byte array to extract the numeric characters without tripping over non-numeric characters, thanks to Charles Williams who provided a neat UDF in the DDoE thread using this technique.</p>
<p><code>Function SumDig(SumVal As String, _<br />
Optional SumFract As Boolean = False) As Long<br />
Dim NumDig As Long, i As Long, DPPos As Long, ByteA() As Byte<br />
DPPos = InStr(1, SumVal, ".") * 2 - 1<br />
ByteA = CStr(SumVal)<br />
NumDig = Len(SumVal) * 2 - 1<br />
If DPPos &#62; 0 Then<br />
For i = 0 To DPPos Step 2<br />
SumDig = SumDig + Val(Chr(ByteA(i)))<br />
Next i<br />
If SumFract = True Then<br />
For i = DPPos + 1 To NumDig Step 2<br />
SumDig = SumDig + Val(Chr(ByteA(i)))<br />
Next i<br />
End If<br />
Else<br />
For i = 0 To NumDig Step 2<br />
SumDig = SumDig + Val(Chr(ByteA(i)))<br />
Next i<br />
End If<br />
End Function<br />
</code></p>
<div id="attachment_1180" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/10/sumtab3.jpg"><img class="size-full wp-image-1180" title="SumTab3" src="http://newtonexcelbach.wordpress.com/files/2009/10/sumtab3.jpg" alt="Tabulate Function" width="468" height="392" /></a><p class="wp-caption-text">Tabulate Function</p></div>
<p>The tabulate function creates a table based on row and column numbers and data listed in a 3 column range.  It was pointed out in the Eng-Tips thread that this could also be done with a pivot table, but the UDF solution seems simpler to me.</p>
<p> </p>
<div><code>Function Tabulate(TabA As Variant) As Variant<br />
Dim Numrows1 As Long, NumRows2 As Long, NumCols As Long, Tab2A() As Variant<br />
Dim i As Long, j As Long<br />
TabA = TabA.Value2<br />
Numrows1 = UBound(TabA)<br />
NumRows2 = TabA(Numrows1, 1)<br />
NumCols = TabA(Numrows1, 2)<br />
ReDim Tab2A(1 To Numrows1, 1 To NumCols)<br />
For i = 1 To Numrows1<br />
Tab2A(TabA(i, 1), TabA(i, 2)) = TabA(i, 3)<br />
Next i<br />
Tabulate = Tab2A<br />
End Function</code></div>
<p>Does a straightforward UDF beat a convoluted worksheet function, or are UDFs best avoided?</p>
<p>What do you think?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Match UDF]]></title>
<link>http://userdefinedfunctionsinvba.wordpress.com/2009/10/03/match-udf/</link>
<pubDate>Sat, 03 Oct 2009 13:03:32 +0000</pubDate>
<dc:creator>userdefinedfunctionsinvba</dc:creator>
<guid>http://userdefinedfunctionsinvba.wordpress.com/2009/10/03/match-udf/</guid>
<description><![CDATA[Public Function Match_UDF(RngValue2Find As Range, Rng2Search As Range, Optional BolCaseSensitive As ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;"><strong>Public Function Match_UDF(RngValue2Find As Range, Rng2Search As Range, Optional BolCaseSensitive As Variant) As Range<br /></strong>On Error GoTo Match_UDF_ErrorHandler<br />Dim RngArea As Range<br />Dim RngCell As Range<br />Dim VarValue2Find As Variant</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Return NOTHING iff the RngValue2Find is itself NOTHING and EXIT<br />&#8216;====================================================================================================<br /></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">If RngValue2Find Is Nothing Then<br />        Set Match_UDF = Nothing<br />        Exit Function<br />End If</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Return NOTHING iff the RngValue2Find has more than 1 AREA and EXIT<br />&#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">If RngValue2Find.Areas.Count &#60;&#62; 1 Then<br />        Set Match_UDF = Nothing<br />        Exit Function<br />End If</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Return NOTHING iff the RngValue2Find has more than 1 CELL and EXIT<br />&#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">If RngValue2Find.Cells.Count &#60;&#62; 1 Then<br />        Set Match_UDF = Nothing<br />        Exit Function<br />End If</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Return NOTHING iff the Rng2Search is itself NOTHING and EXIT<br />&#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">If Rng2Search Is Nothing Then<br />        Set Match_UDF = Nothing<br />        Exit Function<br />End If</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Set the default to CASE INSENSITIVE iff needs be<br />&#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">If IsMissing(BolCaseSensitive) Then<br />        BolCaseSensitive = False<br />End If</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Make a note of the value to be found<br />&#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">VarValue2Find = RngValue2Find.Value</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;If CASE INSENSITIVITY is the setting then uppercase the value to find<br />&#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">If Not BolCaseSensitive Then<br />        RngValue2Find = UCase(RngValue2Find)<br />End If</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;Cycle through each of the AREAS in the range to seach and ALL of the cells therein<br />&#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">For Each RngArea In Rng2Search.Areas<br />        For Each RngCell In RngArea.Cells<br /></span><span style="color:#00b050;"><strong>                &#8216;====================================================================================================<br />                &#8216;iff the cell to be found is actually found then return it&#8217;s single cell range location and exit<br />                &#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">                If BolCaseSensitive Then</span>
	</p>
<p><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">                        If RngCell.Value = RngValue2Find Then<br />                                Set Match_UDF = RngCell<br />                                Exit Function<br />                       End If<br /></span><span style="color:#00b050;"><strong>                &#8216;====================================================================================================<br />                &#8217;iff the [UCASE] cell to be found is actually found [case insensitive match] return it&#8217;s single cell range location &#38; exit<br />                &#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">                Else<br />                        If UCase(RngCell.Value) = RngValue2Find Then<br />                                Set Match_UDF = RngCell<br />                                Exit Function<br />                        End If<br />               End If<br />       Next RngCell<br />Next RngArea</span><br />
		<span style="color:#999999;font-family:Arial Narrow;font-size:8pt;"><br />Exit Function</span>
	</p>
<p><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;At this point an error of some sort has occurred and thus return NOTHING<br />&#8216;====================================================================================================<span style="font-family:Arial Narrow;font-size:8pt;"><br /></span></strong></span><span style="color:#999999;font-family:Arial Narrow;font-size:8pt;">Match_UDF_ErrorHandler:<br />        Set Match_UDF = Nothing<br /><strong>End Function</strong></span>
	</p>
<p><span style="font-family:Arial Narrow;font-size:8pt;"> </span>   </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[LatPile - Analysis of Lateral Loads on Piles]]></title>
<link>http://newtonexcelbach.wordpress.com/2009/09/26/lpile-analysis-of-lateral-loads-on-piles/</link>
<pubDate>Sat, 26 Sep 2009 10:26:31 +0000</pubDate>
<dc:creator>dougaj4</dc:creator>
<guid>http://newtonexcelbach.wordpress.com/2009/09/26/lpile-analysis-of-lateral-loads-on-piles/</guid>
<description><![CDATA[This post presents an Excel User Defined Function (UDF) to carry out the analysis of vertical piles ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This post presents an Excel User Defined Function (UDF) to carry out the analysis of vertical piles subject to horizontal loads, using the same approach as employed in the DOS program COM624. A spreadsheet including the UDF and an on-spreadsheet solution using the same method may be downloaded from <a title="Right click to download" href="http://www.interactiveds.com.au/software/LatPile.zip">LatPile.zip</a>.  As usual the file contains full open source code for the UDF and associated routines.</p>
<p>Detailed background information on the method of analysis is given in the COM624 manual, which can be downloaded from the link given in the previous post.  An outline of the method, including all relevant equations used, is given below and in the download file, together with some simple examples.</p>
<p>The equations used in the analysis are shown in the screenshot below (click on any image for full size view):</p>
<div id="attachment_1153" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile111.jpg"><img class="size-full wp-image-1153" title="LPile11" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile111.jpg" alt="LPile Finite Difference Equations" width="468" height="156" /></a><p class="wp-caption-text">LPile Finite Difference Equations</p></div>
<p> </p>
<p>On the FinDiff sheet of the download file these equations have been entered into a 25&#215;25 matrix, which with the MINVERSE() and MMULT() functions allows the equations to be solved and the deflections calculated for any pile with 20 segments:</p>
<div id="attachment_1152" class="wp-caption aligncenter" style="width: 477px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile10.jpg"><img class="size-full wp-image-1152" title="LPile10" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile10.jpg" alt="Finite Difference Equations in Matrix Format" width="467" height="231" /></a><p class="wp-caption-text">Finite Difference Equations in Matrix Format</p></div>
<p>The same basic method of analysis has also been incorporated in a UDF, allowing the solution to be carried out much more conveniently and flexibly.  Input for the UDF is shown below:</p>
<div id="attachment_1143" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile1.jpg"><img class="size-full wp-image-1143" title="LPile1" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile1.jpg" alt="LPile UDF" width="468" height="383" /></a><p class="wp-caption-text">LPile UDF</p></div>
<p>Example 1 is a 20 m long pile of uniform stiffness in a uniform soil:</p>
<div id="attachment_1144" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile2.jpg"><img class="size-full wp-image-1144" title="LPile2" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile2.jpg" alt="UDF Input and Results; Example 1" width="468" height="458" /></a><p class="wp-caption-text">UDF Input and Results; Example 1</p></div>
<div id="attachment_1145" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile3.jpg"><img class="size-full wp-image-1145" title="Lpile3" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile3.jpg" alt="Example 1 Bending Moments" width="468" height="328" /></a><p class="wp-caption-text">Example 1 Bending Moments</p></div>
<div id="attachment_1146" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile4.jpg"><img class="size-full wp-image-1146" title="Lpile4" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile4.jpg" alt="Example 1 Shear Forces" width="468" height="331" /></a><p class="wp-caption-text">Example 1 Shear Forces</p></div>
<div id="attachment_1147" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile5.jpg"><img class="size-full wp-image-1147" title="Lpile5" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile5.jpg" alt="Example 1 Deflections" width="468" height="329" /></a><p class="wp-caption-text">Example 1 Deflections</p></div>
<p>Example 2 is a reinforced concrete pile with a cracking moment of 60 kNm in a soil with stiffness increasing with depth. The pile and soil stiffness values have been adjusted by hand in this case. Future versions of the program will allow input of non-linear soil and pile section stiffness.</p>
<div id="attachment_1148" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile6.jpg"><img class="size-full wp-image-1148" title="LPile6" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile6.jpg" alt="Example 2 Input and Results" width="468" height="457" /></a><p class="wp-caption-text">Example 2 Input and Results</p></div>
<p> </p>
<div id="attachment_1149" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile7.jpg"><img class="size-full wp-image-1149" title="LPile7" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile7.jpg" alt="Example 2 Bending Moments" width="468" height="327" /></a><p class="wp-caption-text">Example 2 Bending Moments</p></div>
<div id="attachment_1150" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile8.jpg"><img class="size-full wp-image-1150" title="LPile8" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile8.jpg" alt="Example 2 Shear Forces" width="468" height="331" /></a><p class="wp-caption-text">Example 2 Shear Forces</p></div>
<div id="attachment_1151" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2009/09/lpile9.jpg"><img class="size-full wp-image-1151" title="LPile9" src="http://newtonexcelbach.wordpress.com/files/2009/09/lpile9.jpg" alt="Example 2 Deflections" width="468" height="329" /></a><p class="wp-caption-text">Example 2 Deflections</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Cromwell's Ironsides]]></title>
<link>http://charleyjk4.wordpress.com/2009/09/23/cromwells-ironsides/</link>
<pubDate>Wed, 23 Sep 2009 10:20:20 +0000</pubDate>
<dc:creator>charleyjk4</dc:creator>
<guid>http://charleyjk4.wordpress.com/2009/09/23/cromwells-ironsides/</guid>
<description><![CDATA[Henri Turenne in a letter to Cardinal Mazarin before the battle of the Dunes near Dunkerque in 1658 ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Henri Turenne in a letter to Cardinal Mazarin before the battle of the Dunes near Dunkerque in 1658 had written as follows:” I have seen the English. They have the finest troops possible”. He was referring to the New Model Army of Great Britain. Established in 1645 by Parliamentarians during the English civil war, it consisted of 22,000 soldiers comprising eleven regiments of cavalry (6600 men), twelve regiments of infantry (14,400 men) and one regiment of 1,000 dragoons. The new Model army was headed by Sir Thomas Fairfax (Captain General) and Sir Philip Skippon (Sergeant Major General of the foot). The standard pay was equitable and fair.Eight pence for infantry and two shilling for cavalry on a daily basis. Recruitment was drawn from the very best. Members of the Houses of Commons and Lords were excluded from seeking commissions by the Self Denying Ordinance (exceptions were made in the cases of Oliver Cromwell, Henry Ireton and the local Commanders in Cheshire and North Wales).</p>
<p>The new Model Army was an all male volunteer militia (John Bunyan, author of the Pilgrim’s Progress was a member). The officers had no political allegiances because they had no seats in Parliament. Independence from Parliament helped and led to the Army’s willingness to contribute to the overthrow of Crown and Parliament. The Army’s Generals (particularly Cromwell) could rely both on the army’s discipline, its religious zeal and innate support for the” Good old Cause” to maintain an essentially dictatorial rule. The Ironsides were also a mobile force and could be deployed quickly and swiftly anywhere in the country. They were not tied to garrisons or county unlike its predecessors. In battle, retreat was not allowed and the soldiers were always encouraged to charge the enemy, but to hold ground and not give  pursuit if they fled .They were expressly forbidden from looting baggage left by opposing forces.</p>
<p>Puritanism and religious fervor ran rampant amongst the rank and file of the militia. Soldiers were encouraged to read and own Bibles and before going into battle, copious sections of the Psalms were recited. Paintings depicting Christ were made on Cannons and other heavy military equipment and inscriptions like “Jesus is love” and “God cares” were lovingly carved on muskets and grenades before they tore through the sinews and flesh of the enemy. Cromwell was a zealot who quoted frequently from the Bible. He compared himself to Achan and vowed never to rebuild Jericho.</p>
<p>The New Model Army marched from one success to another. They annexed Dunkerque, took Jamaica as a colony from the Spanish, occupied Gibraltar, subjugated Scotland and ruthlessly ravaged Ireland. Drogheda became to the Irish what Dresden was to the Germans after the Second World War. War crimes were committed and the saying of the day became” Hell or Connaught”.A common profanity  was”Malacht Cromail Ort” meaning “the Curse of Cromwell upon you”. It was akin to uttering the curse of the “Pox on you” or “May the devil take you”. Lands were taken from the original owners and given to the troops as recompense and back pay. It could be argued that Cromwell gave birth to latter day resistance movements like the IRA who sought to recover lands taken from their forebears. Settlers from England were encouraged to live in Dublin and elsewhere and the original landowners were transported to Barbados and Jamaica to carry out forced labor. These settlers later became known as Protestant Ulster freedom Men who went on to form nationalist movements like the UVF, UDF and UFF to counter the mainly Catholic IRA.These movements led to the troubles in the region which was only settled by the Good Friday agreement engineered by former British Prime Minister Tony Blair and former Irish Taoiseach, Bertie Ahern</p>
<p>The New Model Army ruled the Commonwealth. England was divided into eleven regions each run by a Major General (Monck had a free run in Scotland). Their writs ran far and wide. They were to suppress vice and promote virtue. Popular pursuits of the people like Fox and squirrel hunting were banned. Card playing and gambling were discouraged. Bars and Taverns were barred from serving spirits and alcohol. Sunday worship was encouraged and Presbyterianism became the state religion. Dissent and uprisings were ruthlessly suppressed by Cromwell’s security services. As a commentator aptly put it “when Cromwell was alive, not a single mouse squeaked”.</p>
<p>By the time of Cromwell’s death and the Restoration in 1660, the English were yearning for change. After Monck marched on London and installed Charles 11 as king, the New Model Army was disbanded. Only portions still remain in the form of Monck’s own regiment, the Cold stream guards and the Regiment of Cuirassiers (the Royal Horse guards).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Le Nouveau Centre doit-il devenir l'UDF?]]></title>
<link>http://nouveaucentre.wordpress.com/2009/09/20/le-nouveau-centre-doit-devenir-ludf/</link>
<pubDate>Sun, 20 Sep 2009 21:10:06 +0000</pubDate>
<dc:creator>Jean-François SOYEZ</dc:creator>
<guid>http://nouveaucentre.wordpress.com/2009/09/20/le-nouveau-centre-doit-devenir-ludf/</guid>
<description><![CDATA[Le Président du Nouveau Centre, Hervé MORIN, aurait pour nouvelle bataille de renommer &#8220;Le Nou]]></description>
<content:encoded><![CDATA[Le Président du Nouveau Centre, Hervé MORIN, aurait pour nouvelle bataille de renommer &#8220;Le Nou]]></content:encoded>
</item>
<item>
<title><![CDATA[PeaZip 2.7.0]]></title>
<link>http://netvietnam.org/2009/09/16/peazip-2-7-0/</link>
<pubDate>Wed, 16 Sep 2009 04:28:07 +0000</pubDate>
<dc:creator>Nhân Mã</dc:creator>
<guid>http://netvietnam.org/2009/09/16/peazip-2-7-0/</guid>
<description><![CDATA[PeaZip là một phần mềm mã nguồn mở hoàn toàn miễn phí giúp bạn có thể dễ dàng lưu trữ, nén h]]></description>
<content:encoded><![CDATA[PeaZip là một phần mềm mã nguồn mở hoàn toàn miễn phí giúp bạn có thể dễ dàng lưu trữ, nén h]]></content:encoded>
</item>
<item>
<title><![CDATA[File Date And Time]]></title>
<link>http://userdefinedfunctionsinvba.wordpress.com/2009/09/11/file-date-and-time/</link>
<pubDate>Fri, 11 Sep 2009 09:58:18 +0000</pubDate>
<dc:creator>userdefinedfunctionsinvba</dc:creator>
<guid>http://userdefinedfunctionsinvba.wordpress.com/2009/09/11/file-date-and-time/</guid>
<description><![CDATA[Public Function File_Date_And_Time(StrFileSpec As String) As String On Error GoTo File_Date_And_Time]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Public Function File_Date_And_Time(StrFileSpec As String) As String </strong>
	</p>
<p>On Error GoTo File_Date_And_Time _ErrorHandler <br /><span style="color:#00b050;"><strong>&#8216;====================================================================================================<br />&#8216;This function returns the DATE and TIME (of CREATION) of the supplied filename<br />&#8216;==================================================================================================== </strong></span><br /><span style="color:black;">________</span>File_Date_And_Time = CStr(FileDateTime(StrFileSpec)) <br />Exit Function <br /><span style="color:#00b050;"><strong><br />&#8216;====================================================================================================<br />&#8216;At this juncture an error has returned therefore return a NULL string<br />&#8216;==================================================================================================== </strong></span><br />File_Date_And_Time _ErrorHandler: <br /><span style="color:black;">________</span>File_Date_And_Time = &#8220;&#8221; <br /><strong>End Function</strong></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
