<?xml version="1.0"?>
<!-- RSS generated by Radio UserLand v8.0.2 on Sat, 26 Jan 2002 00:52:38 GMT -->
<rss version="0.92">
	<channel>
		<title>Rich Rodriguez: Tech</title>
		<link>http://radio.weblogs.com/0100002/categories/tech/</link>
		<description>Random outbursts on programming, gadgets, widgets, etc.</description>
		<language>en-us</language>
		<copyright>Copyright 2002 Rich Rodriguez</copyright>
		<lastBuildDate>Sat, 26 Jan 2002 00:52:38 GMT</lastBuildDate>
		<docs>http://backend.userland.com/rss092</docs>
		<managingEditor>rich_rodriguez@mac.com</managingEditor>
		<webMaster>rich_rodriguez@mac.com</webMaster>
		<cloud domain="radio.xmlstoragesystem.com" port="80" path="/RPC2" registerProcedure="xmlStorageSystem.rssPleaseNotify" protocol="xml-rpc"/>
		<item>
			<description>&lt;P&gt;PostgreSQL/JDBC tip of the day:&lt;/P&gt;
&lt;P&gt;With the 7.1.x drivers, loading and saving binary data is an unintuitive process.&amp;nbsp; Just keep these things in mind:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;All access to OID columns must be in transactions.&amp;nbsp; Even reads... 
&lt;LI&gt;No BYTEA columns for you! 
&lt;LI&gt;You might need to use the native Statement and ResultSet if you are using pooling software that acts as a proxy to the underlying implementation.&amp;nbsp; 
&lt;LI&gt;Use getBytes/setBytes&lt;/LI&gt;&lt;/UL&gt;And this will supposedly all change with the 7.2 drivers.&amp;nbsp; Boo!</description>
			</item>
		<item>
			<description>&lt;P&gt;Formatted Object (FO)&amp;nbsp;tip of the day:&lt;/P&gt;
&lt;P&gt;My client wanted their generated PDF documents to have the &quot;Page x of y&quot; footer.&amp;nbsp; Getting the current page number is trivial (&lt;FONT face=&quot;Courier, Monospace&quot;&gt;&amp;lt;fo:page-number /&amp;gt;&lt;/FONT&gt;), but getting the page count isn&apos;t so obvious.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;First, create a block where you know it will be the very last block in the document.&amp;nbsp; Give it a unique id:&lt;/P&gt;
&lt;P&gt;&lt;FONT face=&quot;Courier, Monospace&quot;&gt;&amp;lt;fo:block id=&quot;endofdoc&quot;&amp;gt;&amp;lt;/fo:block&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Then, use this element to get the page count:&lt;/P&gt;
&lt;P&gt;&lt;FONT face=&quot;Courier, Monospace&quot;&gt;&amp;lt;fo:page-number-citation ref-id=&quot;endofdoc&quot;/&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BR&gt;This has been tested with the Apache &lt;A href=&quot;http://xml.apache.org/fop/&quot;&gt;FOP&lt;/A&gt; renderer.</description>
			</item>
		<item>
			<description>&lt;A name=leefc7138155394fd006a70f5ac511cdf&gt;Here&apos;s a very likely fact. WSDL is a delay tactic to keep the rest of us confused until Microsoft is ready to dominate the market.&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;A href=&quot;http://scriptingnews.userland.com/backissues/2002/01/21#leefc7138155394fd006a70f5ac511cdf&quot;&gt;&lt;IMG height=9 src=&quot;http://www.scripting.com/images/2001/09/20/sharpPermaLink3.gif&quot; width=6 border=0&gt;&lt;/A&gt; [&lt;A href=&quot;http://scriptingnews.userland.com/&quot;&gt;Scripting News&lt;/A&gt;] 
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I think the confusion was just a beneficial side-effect.&amp;nbsp; It will help sell copies of Visual Studio.NET, since few people are going to want to deal with WSDL by hand.&amp;nbsp; The climax of the demos of that product has always been the part where they use it to &lt;FONT color=gray&gt;&lt;A href=&quot;http://www.tuxedo.org/~esr/jargon/html/entry/automagically.html&quot;&gt;automagically&lt;/A&gt;&lt;/FONT&gt; hook up to a web service.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I think WSDL is what happens when you get Big Brains locked in a room, with no real product to ship, and are told to &quot;Come up with our XML strategy.&quot;&amp;nbsp; They keep going down the rabbit hole until they have found a general solution to a problem they&apos;ve long forgotten about.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;We&apos;ve all seen developers waste tons of money and time doing this&amp;nbsp;instead of making the best possible use of the tools at hand, maybe improvising a few new uses for those tools,&amp;nbsp;and getting things &lt;STRONG&gt;done&lt;/STRONG&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
			<source url="http://scriptingnews.userland.com/xml/scriptingNews2.xml">Scripting News</source>
			</item>
		</channel>
	</rss>

