<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>random ramblings - Home</title>
  <id>tag:lunch.jacobswanner.com,2008:mephisto/</id>
  <generator uri="http://mephistoblog.com" version="0.7.3">Mephisto Noh-Varr</generator>
  <link href="http://lunch.jacobswanner.com/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://lunch.jacobswanner.com/" rel="alternate" type="text/html"/>
  <updated>2008-04-09T18:28:33Z</updated>
  <entry xml:base="http://lunch.jacobswanner.com/">
    <author>
      <name>jswanner</name>
    </author>
    <id>tag:lunch.jacobswanner.com,2008-04-09:8</id>
    <published>2008-04-09T17:20:00Z</published>
    <updated>2008-04-09T18:28:33Z</updated>
    <category term="Google App Engine"/>
    <category term="OpenID"/>
    <link href="http://lunch.jacobswanner.com/2008/4/9/openid-delegates" rel="alternate" type="text/html"/>
    <title>OpenID delegates</title>
<content type="html">
            &lt;p&gt;This is more or less to add to what James Duncan Davidson has already said about &lt;a href=&quot;http://duncandavidson.com/2008/03/using-your-domain-as-your-open.html&quot;&gt;OpenID and delegates&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Even though I had been using OpenID for a while prior to his post, I hadn&#8217;t set things up to use my own domain.  After his post, I realized how easy it was to do.  In his example he&#8217;s using &lt;a href=&quot;http://www.myopenid.com/&quot;&gt;myOpenID&lt;/a&gt;, which I don&#8217;t use; so, I had to figure out how to do it using my provider, &lt;a href=&quot;http://pip.verisignlabs.com&quot;&gt;Verisign Labs PIP&lt;/a&gt;.  I had to do a bit of searching to find the server URL (&lt;code&gt;https://pip.verisignlabs.com/server&lt;/code&gt;), but after that it was simple.&lt;/p&gt;

&lt;p&gt;So, to amend James Duncan Davidson&#8217;s three easy steps, replace the HTML snippet in step 2 with the following:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;openid.server&quot; href=&quot;https://pip.verisignlabs.com/server&quot; /&amp;gt;
&amp;lt;link rel=&quot;openid.delegate&quot; href=&quot;http://yourid.pip.verisignlabs.com&quot; /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Today I also tried out another &lt;a href=&quot;http://openid-provider.appspot.com/&quot;&gt;OpenID provider&lt;/a&gt; built on &lt;a href=&quot;http://code.google.com/appengine/&quot;&gt;Google App Engine&lt;/a&gt;, which authenticates with your Google ID; that&#8217;s a plus if you already have a Google account (such as Gmail) because that&#8217;s one less account you have to remember (isn&#8217;t less IDs part of the point of OpenID?).  Anyway, the HTML snippet you need to use that provider is the following:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;openid.server&quot; href=&quot;http://openid-provider.appspot.com/&quot; /&amp;gt;
&amp;lt;link rel=&quot;openid.delegate&quot; href=&quot;http://openid-provider.appspot.com/yourid&quot; /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Update:  The above provider built on Google App Engine is currently a bit buggy.  I would shy away from changing any of your accounts to use that as your OpenID URL directly.  That&#8217;s another plus of using your own domain as your OpenID URL, you can change the server you use on your site without having to change the accounts that use your OpenID URL.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://lunch.jacobswanner.com/">
    <author>
      <name>jswanner</name>
    </author>
    <id>tag:lunch.jacobswanner.com,2008-02-14:6</id>
    <published>2008-02-14T22:14:00Z</published>
    <updated>2008-02-14T22:36:34Z</updated>
    <category term="haml"/>
    <category term="merb"/>
    <link href="http://lunch.jacobswanner.com/2008/2/14/merb-0-9-haml" rel="alternate" type="text/html"/>
    <title>merb 0.9 &amp; haml</title>
<content type="html">
            &lt;p&gt;I'm currently playing around w/ &lt;a href=&quot;http://merbivore.com/&quot;&gt;merb&lt;/a&gt; 0.9, and using &lt;a href=&quot;http://haml.hamptoncatlin.com/&quot;&gt;haml&lt;/a&gt;.  Trust me things are not starting off super smoothly.  But, I am enjoying using something new, something that's changing daily; reminds me of when I first started using Rails, and all the frustration of not being able to figure something out, followed by the joy when it worked.&lt;/p&gt;

&lt;p&gt;That said, there will probably be quite of few posts dealing with all the things that hang me up along the way, so that I have a place to come back to in the future to find the answers.&lt;/p&gt;

&lt;p&gt;It appears as though there used to be a file called dependencies.rb (before I tried Merb).  In this file you'd specify what dependencies your app needed, using something like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;dependencies &quot;RedCloth&quot;, &quot;merb_helpers&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;dependency &quot;RedCloth&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;That was changed, and would then declare your app's dependencies in &lt;code&gt;config/init.rb&lt;/code&gt;.  Apparently, since yesterday that has changed again slightly.  You still declare your dependencies in &lt;code&gt;config/init.rb&lt;/code&gt;, but instead of going in the body of the file, it now goes in the &lt;code&gt;after_app_loads&lt;/code&gt; code block, as such:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Merb::BootLoader.after_app_loads do
  ### Add dependencies here that must load after the application loads:
  require &quot;merb-haml&quot;
end
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Some might have noticed that you no longer call the &lt;code&gt;dependency&lt;/code&gt; method, but just plain old &lt;code&gt;require&lt;/code&gt;.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://lunch.jacobswanner.com/">
    <author>
      <name>jswanner</name>
    </author>
    <id>tag:lunch.jacobswanner.com,2008-02-14:5</id>
    <published>2008-02-14T20:06:00Z</published>
    <updated>2008-02-14T20:54:29Z</updated>
    <category term="acts_as_conference"/>
    <category term="orug"/>
    <link href="http://lunch.jacobswanner.com/2008/2/14/lazy-blogger-acts_as_conference" rel="alternate" type="text/html"/>
    <title>lazy blogger, acts_as_conference</title>
<content type="html">
            &lt;p&gt;When I put this blog up, I had all the intentions in the world to really use it.  I wanted to write about all the cool/interesting/weird things I&#8217;d discovered.  But, that is definitely not what has happened.  But, I really want to start using it more.&lt;/p&gt;

&lt;p&gt;I have ideas for things to write about.  I recently attended &lt;a href=&quot;http://actsasconference.com&quot;&gt;acts_as_conference&lt;/a&gt;, I really enjoyed it, and even learned a little in the process.  I&#8217;ve been attending the &lt;a href=&quot;http://orug.org&quot;&gt;Orlando Ruby Users Group&lt;/a&gt; (orug) meetings for a while now, and presented at the last one.  What I&#8217;ve learned from these activities are just some of the things I want to write about on here.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://lunch.jacobswanner.com/">
    <author>
      <name>jswanner</name>
    </author>
    <id>tag:lunch.jacobswanner.com,2007-06-24:4</id>
    <published>2007-06-24T22:15:00Z</published>
    <updated>2007-06-24T22:19:09Z</updated>
    <link href="http://lunch.jacobswanner.com/2007/6/24/new-host" rel="alternate" type="text/html"/>
    <title>new host</title>
<content type="html">
            &lt;p&gt;I switched to a new hosting company, (&lt;a href=&quot;http://slicehost.com&quot;&gt;slicehost&lt;/a&gt;).  It&#8217;s a little bit more than I was paying before, but has double the memory, along with other pluses.  I&#8217;ve only been using their services for a few days, but I&#8217;m already glad that I switched.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://lunch.jacobswanner.com/">
    <author>
      <name>jswanner</name>
    </author>
    <id>tag:lunch.jacobswanner.com,2007-06-11:3</id>
    <published>2007-06-11T00:00:00Z</published>
    <updated>2007-06-24T20:35:03Z</updated>
    <link href="http://lunch.jacobswanner.com/2007/6/11/proper-blog" rel="alternate" type="text/html"/>
    <title>proper blog</title>
<content type="html">
            &lt;p&gt;I&#8217;ve upgraded my server specs, and loaded a proper blog (&lt;a href=&quot;http://mephistoblog.com&quot;&gt;mephisto&lt;/a&gt;)&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://lunch.jacobswanner.com/">
    <author>
      <name>jswanner</name>
    </author>
    <id>tag:lunch.jacobswanner.com,2006-11-10:2</id>
    <published>2006-11-10T00:00:00Z</published>
    <updated>2007-06-24T20:35:39Z</updated>
    <link href="http://lunch.jacobswanner.com/2006/11/10/website-uploaded" rel="alternate" type="text/html"/>
    <title>website uploaded</title>
<content type="html">
            &lt;p&gt;Website has (finally!) been uploaded on to my server, so I now have a proper website&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://lunch.jacobswanner.com/">
    <author>
      <name>jswanner</name>
    </author>
    <id>tag:lunch.jacobswanner.com,2006-11-04:1</id>
    <published>2006-11-04T12:00:00Z</published>
    <updated>2007-06-24T20:35:57Z</updated>
    <link href="http://lunch.jacobswanner.com/2006/11/4/domain-purchased" rel="alternate" type="text/html"/>
    <title>domain purchased</title>
<content type="html">
            &lt;p&gt;Today I finally purchased my domain name (jacobswanner.com), as well as getting a web host (www.vpslink.com)&lt;/p&gt;
          </content>  </entry>
</feed>
