<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Pete&apos;s Place</title>
<link>http://www.peterguy.com/</link>
<description></description>
<copyright>Copyright 2007</copyright>
<lastBuildDate>Tue, 03 Jul 2007 03:09:52 -0800</lastBuildDate>
<generator>http://www.movabletype.org/?v=3.15</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> 

<item>
<title>Updated PHP Install Guide</title>
<description><![CDATA[<p>I'm migrating to a new server, so I took advantage of the process to update my <a href="http://www.peterguy.com/php/install_IIS6.html">PHP Install Guide</a>.  It's now updated for PHP 5.2.3.  I modified some things, such as the list of extensions, and another troubleshooting entry, but most of it still applies.<br />
It has attracted enough attention to have a translation.  Matej in Slovenia translated it into his native tongue; you can find it in his blog: <a href="http://www.butara.si/matej/index.php/?p=33">http://www.butara.si/matej/index.php/?p=33</a>.  Thanks Matej!<br />
Thanks, as well, goes out to all those who have written in contributing tips and suggestions.</p>]]></description>
<link>http://www.peterguy.com/archives/2007/07/updated_php_ins.html</link>
<guid>http://www.peterguy.com/archives/2007/07/updated_php_ins.html</guid>
<category>PHP</category>
<pubDate>Tue, 03 Jul 2007 03:09:52 -0800</pubDate>
</item>
<item>
<title>Serializing a generic dictionary in .NET 2.0 using the BinaryFormatter</title>
<description><![CDATA[<p>When using the BinaryFormatter to serialize a strongly-typed dictionary that extends System.Collections.Generic.Dictionary<>, I found out that one must add a constructor that accepts SerializationInfo and StreamingContext parameters, then just passes those on to the base class:<br />
<pre><br />
using System;<br />
using System.Text;<br />
using System.Collections;<br />
using System.Collections.Generic;<br />
using System.Runtime.Serialization;</p>

<p>namespace MyNamespace.DataTypes {<br />
  [Serializable]<br />
  public class MyDictionary: Dictionary<int, MyCustomObject> {<br />
    public MyDictionary()<br />
      : base() {<br />
    }<br />
    public MyDictionary(SerializationInfo info, StreamingContext context)<br />
      : base(info, context) {<br />
    }<br />
  }<br />
}<br />
</pre></p>

<p>The error I was getting was, "System.Runtime.Serialization.SerializationException: The constructor to deserialize an object of type 'MyNamespace.DataTypes.MyDictionary' was not found."</p>

<p>I got the idea here: <a href="http://www.vbforums.com/showthread.php?t=314430">http://www.vbforums.com/showthread.php?t=314430</a>, which has the code example in VB.NET.</p>

<p>To serialize Dictionary objects using an XML serializer, you have to implement a custom dictionary as described here: <a href ="http://weblogs.asp.net/pwelter34/archive/2006/05/03/444961.aspx">http://weblogs.asp.net/pwelter34/archive/2006/05/03/444961.aspx</a>.<br />
</p>]]></description>
<link>http://www.peterguy.com/archives/2007/04/serializing_a_g.html</link>
<guid>http://www.peterguy.com/archives/2007/04/serializing_a_g.html</guid>
<category>Programming</category>
<pubDate>Mon, 30 Apr 2007 11:35:00 -0800</pubDate>
</item>
<item>
<title>Updated PHP guide</title>
<description><![CDATA[<p>I have gotten a few e-mails recently about errors when using the test.php page I provide in the testing section.</p>

<p>The errors were of the type:</p>

<p>Warning: session_start() [function.session-start]: Cannot send session<br />
cookie - headers already sent by...</p>

<p>Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent...</p>

<p>One of those who reported the errors also provided a solution, which was to place the PHP session code before any of the html code.  Perhaps the newer versions of PHP (I only have 5.1.1 installed) are getting more syntactically tighter.  I know the newer versions of PHP are requiring full PHP tags now.</p>

<p>Anyway, there is a new version of the test.php code in <a href="http://www.peterguy.com/php/install_IIS6.html">my PHP install guide</a></p>]]></description>
<link>http://www.peterguy.com/archives/2007/02/updated_php_gui.html</link>
<guid>http://www.peterguy.com/archives/2007/02/updated_php_gui.html</guid>
<category>PHP</category>
<pubDate>Wed, 14 Feb 2007 21:23:59 -0800</pubDate>
</item>
<item>
<title>MS Word - VBA - StoryRanges - Odd-page headers</title>
<description><![CDATA[<p>Daily trivia:<br />
Document.StoryRanges does not explicitly return odd-page headers/footers.  Instead, they're linked from the even-page ones.  One has to use Range.NextStoryRange on the even-page headers/footers to get the odd-page ones.<br />
</p>]]></description>
<link>http://www.peterguy.com/archives/2006/09/ms_word_vba_sto_1.html</link>
<guid>http://www.peterguy.com/archives/2006/09/ms_word_vba_sto_1.html</guid>
<category>Programming</category>
<pubDate>Tue, 19 Sep 2006 14:08:51 -0800</pubDate>
</item>
<item>
<title>Oracle Forms goodness - extending the text fields</title>
<description><![CDATA[<p>I've gotten pretty frustrated with the Forms development environment, so I never thought I'd see the word "goodness" combined with "Oracle Forms", but recently I've made a breakthrough of sorts that has really encouraged me to pursue more elegent Forms programming.</p>

<p>Every Oracle Form is composed of Java objects.  Text fields, buttons, frames, you name it, they are all some derivitive of Java awt or swing objects.  As such, they can be extended.<br />
Sounds simple, even too simple, doesn't it?  Well, it really is!<br />
If you're a Forms developer, there's a good chance that you know about embedding Java Beans (also called PJCs - Pluggable Java Components) into your Forms.  They're really cool and can be used to accomplish all kinds of things.  This takes PJCs one level further.</p>]]></description>
<link>http://www.peterguy.com/archives/2006/09/oracle_forms_go.html</link>
<guid>http://www.peterguy.com/archives/2006/09/oracle_forms_go.html</guid>
<category></category>
<pubDate>Mon, 18 Sep 2006 10:03:23 -0800</pubDate>
</item>
<item>
<title>Spam Honey Pot</title>
<description><![CDATA[<p>I just added a spam honey pot (http://projecthoneypot.org) to my website.<br />
This entry is mainly for the purpose of including links to the honeypot page on my home page.<br />
The links should all be invisible, but a spider will follow them...</p>

<p><a href="http://www.peterguy.com/spamhoneypot/earl.asp"><!-- flippant --></a></p>

<p><a href="http://www.peterguy.com/spamhoneypot/earl.asp"><img src="flippant.gif" height="1" width="1" border="0"></a></p>

<p><a href="http://www.peterguy.com/spamhoneypot/earl.asp" style="display: none;">flippant</a></p>

<div style="display: none;"><a href="http://www.peterguy.com/spamhoneypot/earl.asp">flippant</a></div>

<p><a href="http://www.peterguy.com/spamhoneypot/earl.asp"></a></p>

<p><!-- <a href="http://www.peterguy.com/spamhoneypot/earl.asp">flippant</a> --></p>

<div style="position: absolute; top: -250px; left: -250px;"><a href="http://www.peterguy.com/spamhoneypot/earl.asp">flippant</a></div>

<p><a href="http://www.peterguy.com/spamhoneypot/earl.asp"><span style="display: none;">flippant</span></a></p>

<p><a href="http://www.peterguy.com/spamhoneypot/earl.asp"><div style="height: 0px; width: 0px;"></div></a></p>]]></description>
<link>http://www.peterguy.com/archives/2006/08/spam_honey_pot.html</link>
<guid>http://www.peterguy.com/archives/2006/08/spam_honey_pot.html</guid>
<category></category>
<pubDate>Wed, 23 Aug 2006 11:55:04 -0800</pubDate>
</item>
<item>
<title>Genyouine Potluck Casserole</title>
<description><![CDATA[<p>Tonight I made a Genyouine Potluck Casserole (tm) for dinner.  I'm rather proud of it.  I even had to do some extra shopping (we were out of cheese).<br />
I'm sure most of you know about the Potluck Casserole.  Rather nondescript-tasting, mushy and lukewarm, it is invariably covered with cheese and usually contains corn of some description.  The more fashion-conscience garnish it with a dash of paprika and perhaps a sprig of parsely.  One of the hallmarks of the Potluck Casserole is that it requires a bottle of tabasco and a liberal arm for it to aquire any definite taste.<br />
I made mine out of leftover angel hair (cappellini to those who read food labels), a smallish can of beef chili - with beans - and a large-ish can of cooked tomatoes.  Oh, yes, and canned corn.  I cut up the pasta and simmered it all together in a pot while I went out to buy the cheese.<br />
Home once more, I mixed in some of the shredded cheese, poured the whole gooey mess into a 9x14, covered it with the rest of the cheese (can't have too much) and broiled it for a few minutes.<br />
Rather abashed that my cupboard rummaging did not produce any paprika, I served it to my family, being sure to include a bottle of Red Hot (Southern Tabasco) on the table.<br />
As I sunk my teeth into the first bite, I was pleased to find that it had all the characterizations of a Genyouine Potluck Casserole. :-)<br />
Now you, too, can astonish your friends at your next office party or church potluck!</p>]]></description>
<link>http://www.peterguy.com/archives/2006/06/genyouine_potlu.html</link>
<guid>http://www.peterguy.com/archives/2006/06/genyouine_potlu.html</guid>
<category></category>
<pubDate>Tue, 13 Jun 2006 20:10:52 -0800</pubDate>
</item>
<item>
<title>Oracle + Java + SOAP + PHP = headache</title>
<description><![CDATA[<p>Well, I promised some stuff about my most recent project; here's the first installment.<br />
I am just completing writing a Web Service in Java that's deployed on Oracle's Application Server.  The actual Java code to implement the basic Web Service was very simple to write.  I use Oracle's JDeveloper (probably the nicest all-around Java IDE I've used.  Not w/out its drawbacks, but overall the best one I've tried), so I just wrote a class with some public methods, used JDeveloper's deployment tools, and I had a Web Service.  That was the easy part.</p>]]></description>
<link>http://www.peterguy.com/archives/2006/01/oracle_java_soa.html</link>
<guid>http://www.peterguy.com/archives/2006/01/oracle_java_soa.html</guid>
<category></category>
<pubDate>Thu, 19 Jan 2006 21:21:11 -0800</pubDate>
</item>
<item>
<title>Another year, another, uh, dollar?</title>
<description><![CDATA[<p>Well, it's another year.<br />
Doh.<br />
Anyway, I'm mainly writing this entry so that this page isn't blank.<br />
I changed the template; added links to the PHP install guide and the colormatch page on the side.  Well, that's cool, but in order to display them, I had to rebuild the page.  I accidentally rebuilt the whole site, resulting in my previous posts being relegated to the archives, with the front page left blank.<br />
You can check out the new links over there ------------------------><br />
Rather than having a blank front page, I figured I'd post some inane dribble to fill space.</p>]]></description>
<link>http://www.peterguy.com/archives/2006/01/another_year_an.html</link>
<guid>http://www.peterguy.com/archives/2006/01/another_year_an.html</guid>
<category></category>
<pubDate>Thu, 19 Jan 2006 20:58:00 -0800</pubDate>
</item>
<item>
<title>PHP install guide</title>
<description><![CDATA[<p>Thanks to help from others, I have a <a href="http://www.peterguy.com/php/install_IIS6.html">shiny new html-formatted guide</a> for installing PHP under Windows Server 2003/IIS6!!<br />
It's been update, corrected, AND expanded. :-) </p>]]></description>
<link>http://www.peterguy.com/archives/2005/03/php_install_gui.html</link>
<guid>http://www.peterguy.com/archives/2005/03/php_install_gui.html</guid>
<category></category>
<pubDate>Sat, 19 Mar 2005 18:21:16 -0800</pubDate>
</item>
<item>
<title>It&apos;s a brave new world</title>
<description><![CDATA[<p>Well, this is my first entry in my new website.<br />
I decided to use a blog format because that would allow me to have to worry only about content, and leave the managements to software.  Since I don't have much content, I don't need to worry much! :-)</p>]]></description>
<link>http://www.peterguy.com/archives/2005/03/its_a_brave_new.html</link>
<guid>http://www.peterguy.com/archives/2005/03/its_a_brave_new.html</guid>
<category></category>
<pubDate>Sat, 19 Mar 2005 18:04:12 -0800</pubDate>
</item>


</channel>
</rss>