<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>jacob swanner</title>
 
 <link href="http://jacobswanner.com/" />
 <updated>2009-09-12T18:06:03-04:00</updated>
 <id>http://jacobswanner.com/</id>
 <author>
   <name>Jacob Swanner</name>
   <email>jacob@jacobswanner.com</email>
 </author>

 
 <link rel="self" href="http://feeds.feedburner.com/jacobswanner" type="application/atom+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry>
   <title>another new blog</title>
   <link href="http://jacobswanner.com/2008/12/27/another-new-blog.html" />
   <updated>2008-12-27T00:00:00-05:00</updated>
   <id>http://jacobswanner.com/2008/12/27/another-new-blog</id>
   <content type="html">&lt;p&gt;I think I’ve changed my blog about as many times as I’ve written posts. This time I’m using &lt;a href='http://github.com/mojombo/jekyll/tree/master'&gt;Jekyll&lt;/a&gt; created by &lt;a href='http://tom.preston-werner.com'&gt;Tom Preston-Werner&lt;/a&gt;, and used by &lt;a href='http://pages.github.com/'&gt;GitHub Pages&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I’ve been looking at Jekyll ever since it was released, and was really intrigued by the way it works. Now that I’ve been using it for the last few days, I’m really liking it. The biggest thing I’ve been trying to wrap my head around is the best way to deploy/update it.&lt;/p&gt;

&lt;p&gt;I thought about just putting a git repo on my server and pointing the &lt;code&gt;DocumentRoot&lt;/code&gt; at the &lt;code&gt;_site&lt;/code&gt; directory. That way any time I wanted to add a new post, I would push the changes to the remote repo on my server and issue the &lt;code&gt;jekyll&lt;/code&gt; command on the server. One problem I had with that approach is that I keep my repos in &lt;code&gt;/home/git&lt;/code&gt; and web apps live in &lt;code&gt;/home/deploy&lt;/code&gt;, with those users being in different groups and having different permissions. And, I just didn’t like serving this site from where I kept my repo.&lt;/p&gt;

&lt;p&gt;I decided that I would keep the repo and deployment of the site separate, and just write a Rake command to push a new copy of the site to the server. What I ended up writing is basically a poor man’s &lt;a href='http://www.capify.org'&gt;Capistrano&lt;/a&gt;, but it works and is easy enough to maintain.&lt;/p&gt;

&lt;p&gt;One of the downsides, but also one of the reasons I like Jekyll, is that it is just a static site. Because of that, there’s no facility for comments, tags, etc. I thought about using a comment service, such as &lt;a href='http://disqus.com/'&gt;Disqus&lt;/a&gt; and others, to provide that functionality; but, none work the way that I think they should. So, I think I’m going to write my own… not that I necessarily like to re-write the wheel, but it sounds like a fun project to work on. And, if it doesn’t work out, I’ll just switch to Disqus or something similar. So, for now there will be no comments, but feel free to email me: jacob@jacobswanner.com&lt;/p&gt;

&lt;p&gt;I’ve still got a few things to finish up, such as creating an atom feed, adding a list of related posts, and tweaking the style sheets; but, for the most part I’m pretty happy.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>screencasts and blip.tv</title>
   <link href="http://jacobswanner.com/2008/12/13/screencasts-and-blip-tv.html" />
   <updated>2008-12-13T00:00:00-05:00</updated>
   <id>http://jacobswanner.com/2008/12/13/screencasts-and-blip-tv</id>
   <content type="html">&lt;p&gt;So, I’ve been kicking around the idea of making some screencasts for some time. When I did my last presentation at &lt;a href='http://orug.org'&gt;ORUG&lt;/a&gt;, instead of doing a live demo, I used pre-recorded videos; I did this for a couple reasons, one to dip my toes in screencasts and two, instead of everyone there having to suffer through the mistakes I would inevitably make, I could edit out all my mistakes.&lt;/p&gt;

&lt;p&gt;I always intended to put those videos online somewhere, but never did. Main reason was that those videos were intended for use at a presentation, and therefore did not include audio to explain what I was doing; because, I explained what was happening in the videos in the presentation. /rant&lt;/p&gt;

&lt;p&gt;Fast forward to today, I still haven’t made any other screencasts and my blog has been fairly stagnant as well. I’m hoping to change both of those problems. I have some ideas for screencasts and how I want to make them. In order to make the screencasts the way I want to I need new software. So, I made a test screencast using a demo version of an application &lt;a href='http://www.telestream.net/screen-flow/overview.htm'&gt;(ScreenFlow)&lt;/a&gt;, and then uploaded it to &lt;a href='http://jswanner.blip.tv/#1581059'&gt;blip.tv&lt;/a&gt; to see how it would look. Below is an embed of the same video. So, hopefully I’ll get off my butt and actually make the real screencasts I’ve been rambling about.&lt;/p&gt;
&lt;object type='application/x-shockwave-flash' allowfullscreen='true' id='showplayer' height='360' data='http://blip.tv/scripts/flash/showplayer.swf?enablejs=true&amp;file=http%3A//blip.tv/rss/flash/1581059&amp;feedurl=http%3A//jswanner.blip.tv/rss/&amp;autostart=false&amp;brandname=jacob%20swanner&amp;brandlink=http%3A//jswanner.blip.tv/' width='540'&gt;&lt;param name='movie' value='http://blip.tv/scripts/flash/showplayer.swf?enablejs=true&amp;file=http%3A//blip.tv/rss/flash/1581059&amp;feedurl=http%3A//jswanner.blip.tv/rss/&amp;autostart=false&amp;brandname=jacob%20swanner&amp;brandlink=http%3A//jswanner.blip.tv/' /&gt;&lt;param name='quality' value='best' /&gt;&lt;/object&gt;
&lt;p&gt;﻿Update: After creating the last video and making the blog post, I realized that the makers of iShowU make a new product, &lt;a href='http://www.shinywhitebox.com/ishowuhd/main.html'&gt;iShowU HD&lt;/a&gt;, which does allow me to use iSight to add a video of myself. Below is an embed to a video using that software.&lt;/p&gt;
&lt;object type='application/x-shockwave-flash' allowfullscreen='true' id='showplayer' height='360' data='http://blip.tv/scripts/flash/showplayer.swf?enablejs=true&amp;file=http%3A//blip.tv/rss/flash/1581349&amp;feedurl=http%3A//jswanner.blip.tv/rss/&amp;autostart=false&amp;brandname=jacob%20swanner&amp;brandlink=http%3A//jswanner.blip.tv/' width='540'&gt;&lt;param name='movie' value='http://blip.tv/scripts/flash/showplayer.swf?enablejs=true&amp;file=http%3A//blip.tv/rss/flash/1581349&amp;feedurl=http%3A//jswanner.blip.tv/rss/&amp;autostart=false&amp;brandname=jacob%20swanner&amp;brandlink=http%3A//jswanner.blip.tv/' /&gt;&lt;param name='quality' value='best' /&gt;&lt;/object&gt;</content>
 </entry>
 
 <entry>
   <title>florida voters: amendment 2</title>
   <link href="http://jacobswanner.com/2008/10/01/florida-voters-amendment-2.html" />
   <updated>2008-10-01T00:00:00-04:00</updated>
   <id>http://jacobswanner.com/2008/10/01/florida-voters-amendment-2</id>
   <content type="html">&lt;p&gt;On the ballot this election cycle will be a proposed amendment, an amendment that defines marriage as being only with one man and one woman. According to &lt;a href='http://en.wikipedia.org/wiki/Florida_Amendment_2'&gt;Wikipedia&lt;/a&gt; the following is the text of the proposed amendment:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Inasmuch as marriage is the legal union of only one man and one woman as husband and wife, no other legal union that is treated as marriage or the substantial equivalent thereof shall be valid or recognized.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;At first I thought this amendment was completely retarded because it would change nothing. Same-sex marriage is already illegal in Florida, in fact there are 4 laws in this state that make it illegal; yes &lt;strong&gt;4&lt;/strong&gt; &lt;a href='http://www.leg.state.fl.us/statutes/index.cfm?mode=View%20Statutes&amp;SubMenu=1&amp;App_mode=Display_Statute&amp;Search_String=741.212&amp;URL=CH0741/Sec212.HTM'&gt;741.212(1), 741.212(2), 741.212(3)&lt;/a&gt;, and &lt;a href='http://www.leg.state.fl.us/statutes/index.cfm?mode=View%20Statutes&amp;SubMenu=1&amp;App_mode=Display_Statute&amp;Search_String=741.04&amp;URL=CH0741/Sec04.HTM'&gt;741.04&lt;/a&gt;. Therefore, if this amendment didn’t pass nothing changes. And, if it does pass, same-sex marriage is already illegal, so nothing changes. The only change would be if it did pass our state constitution would then define what marriage is, something in my opinion does not need to be there (no matter how it defines marriage).&lt;/p&gt;

&lt;p&gt;Well, after looking into it a bit more it turns out that it could have other effects besides just whom one is allowed to marry. In other states that have passed “marriage protection” amendments, those amendments are being used to take away benefits from public employees, and could be used take away benefits and pensions from domestic partners. &lt;strong&gt;Not fuckin’ cool.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To learn more, there are sites that are &lt;a href='http://www.yes2marriage.org/'&gt;for&lt;/a&gt; and &lt;a href='http://www.sayno2.com/'&gt;against&lt;/a&gt; the proposed amendment.&lt;/p&gt;

&lt;p&gt;Side note: I find it interesting that the site for the amendment has a red color scheme, while the one against has a blue one.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>OpenID delegates</title>
   <link href="http://jacobswanner.com/2008/04/09/openid-delegates.html" />
   <updated>2008-04-09T00:00:00-04:00</updated>
   <id>http://jacobswanner.com/2008/04/09/openid-delegates</id>
   <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='http://duncandavidson.com/2008/03/using-your-domain-as-your-open.html'&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’t set things up to use my own domain. After his post, I realized how easy it was to do. In his example he’s using &lt;a href='http://www.myopenid.com/'&gt;myOpenID&lt;/a&gt;, which I don’t use; so, I had to figure out how to do it using my provider, &lt;a href='http://pip.verisignlabs.com'&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’s three easy steps, replace the HTML snippet in step 2 with the following:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;link rel="openid.server" href="https://pip.verisignlabs.com/server" /&gt;
&lt;link rel="openid.delegate" href="http://yourid.pip.verisignlabs.com" /&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Today I also tried out another &lt;a href='http://openid-provider.appspot.com/'&gt;OpenID provider&lt;/a&gt; built on &lt;a href='http://code.google.com/appengine/'&gt;Google App Engine&lt;/a&gt;, which authenticates with your Google ID; that’s a plus if you already have a Google account (such as Gmail) because that’s one less account you have to remember (isn’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;&lt;link rel="openid.server" href="http://openid-provider.appspot.com/" /&gt;
&lt;link rel="openid.delegate" href="http://openid-provider.appspot.com/yourid" /&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’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>
   <title>lazy blogger, acts_as_conference</title>
   <link href="http://jacobswanner.com/2008/02/14/lazy-blogger-acts-as-conference.html" />
   <updated>2008-02-14T00:00:00-05:00</updated>
   <id>http://jacobswanner.com/2008/02/14/lazy-blogger-acts-as-conference</id>
   <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’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='http://actsasconference.com'&gt;acts&lt;em&gt;as&lt;/em&gt;conference&lt;/a&gt;, I really enjoyed it, and even learned a little in the process. I’ve been attending the &lt;a href='http://orug.org'&gt;Orlando Ruby Users Group&lt;/a&gt; (orug) meetings for a while now, and presented at the last one. What I’ve learned from these activities are just some of the things I want to write about on here.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>merb 0.9 &amp; haml</title>
   <link href="http://jacobswanner.com/2008/02/14/merb-09-haml.html" />
   <updated>2008-02-14T00:00:00-05:00</updated>
   <id>http://jacobswanner.com/2008/02/14/merb-09-haml</id>
   <content type="html">&lt;p&gt;I’m currently playing around w/ &lt;a href='http://merbivore.com/'&gt;merb&lt;/a&gt; 0.9, and using &lt;a href='http://haml.hamptoncatlin.com/'&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 "RedCloth", "merb_helpers"&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;dependency "RedCloth"&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 "merb-haml"
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>
   <title>new host</title>
   <link href="http://jacobswanner.com/2007/06/24/new-host.html" />
   <updated>2007-06-24T00:00:00-04:00</updated>
   <id>http://jacobswanner.com/2007/06/24/new-host</id>
   <content type="html">&lt;p&gt;I switched to a new hosting company, (&lt;a href='http://slicehost.com'&gt;slicehost&lt;/a&gt;). It’s a little bit more than I was paying before, but has double the memory, along with other pluses. I’ve only been using their services for a few days, but I’m already glad that I switched.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>proper blog</title>
   <link href="http://jacobswanner.com/2007/06/11/proper-blog.html" />
   <updated>2007-06-11T00:00:00-04:00</updated>
   <id>http://jacobswanner.com/2007/06/11/proper-blog</id>
   <content type="html">&lt;p&gt;I’ve upgraded my server specs, and loaded a proper blog (&lt;a href='http://mephistoblog.com'&gt;mephisto&lt;/a&gt;)&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>website uploaded</title>
   <link href="http://jacobswanner.com/2006/11/10/website-uploaded.html" />
   <updated>2006-11-10T00:00:00-05:00</updated>
   <id>http://jacobswanner.com/2006/11/10/website-uploaded</id>
   <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>
   <title>domain purchased</title>
   <link href="http://jacobswanner.com/2006/11/04/domain-purchased.html" />
   <updated>2006-11-04T00:00:00-05:00</updated>
   <id>http://jacobswanner.com/2006/11/04/domain-purchased</id>
   <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>
