You need to update that relic you're using to browse the internet.
Updated: 1/25/2002; 7:52:39 PM.


Tech
Random outbursts on programming, gadgets, widgets, etc.



01.24.2002

PostgreSQL/JDBC tip of the day:

With the 7.1.x drivers, loading and saving binary data is an unintuitive process.  Just keep these things in mind:

  • All access to OID columns must be in transactions.  Even reads...
  • No BYTEA columns for you!
  • 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. 
  • Use getBytes/setBytes
And this will supposedly all change with the 7.2 drivers.  Boo!

Formatted Object (FO) tip of the day:

My client wanted their generated PDF documents to have the "Page x of y" footer.  Getting the current page number is trivial (<fo:page-number />), but getting the page count isn't so obvious. 

First, create a block where you know it will be the very last block in the document.  Give it a unique id:

<fo:block id="endofdoc"></fo:block>

Then, use this element to get the page count:

<fo:page-number-citation ref-id="endofdoc"/>


This has been tested with the Apache FOP renderer.


01.21.2002

Here'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.   [Scripting News]

I think the confusion was just a beneficial side-effect.  It will help sell copies of Visual Studio.NET, since few people are going to want to deal with WSDL by hand.  The climax of the demos of that product has always been the part where they use it to automagically hook up to a web service.

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 "Come up with our XML strategy."  They keep going down the rabbit hole until they have found a general solution to a problem they've long forgotten about.

We've all seen developers waste tons of money and time doing this instead of making the best possible use of the tools at hand, maybe improvising a few new uses for those tools, and getting things done.


01.18.2002

Robert Scoble on Sun

I'm tired of the name calling, too. It's really too bad. The server-side Java tools are really good. So good that Microsoft started losing developer mindshare, and are now shipping an entirely new development platform that has obviously been influenced by Java's successes (and pain points).

Sun needs to offer more than just insults to show that server-side Java does compete with .NET. And I think it does.


Don Box is going to work for Microsoft. Mazel tov.  [Scripting News]

If you're even remotely interested in software, and have a chance to see Don Box speak - do it. He is a fantastic speaker (and writer). Anyone who could make COM interesting like he did is gifted.


01.17.2002

I'm looking for a cool little side project to dive into Cocoa with. One idea is an RSS feed reader (Radio has me interested in RSS), another is a WYSIWYG editor that can save in the XML FO format. The latter would be useful at work...


01.15.2002

Apple myths. A little anti-FUD.


© Copyright 2002 Rich Rodriguez.
 
January 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31  
Jan   Feb