<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
     xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:wfw="http://wellformedweb.org/CommentAPI/"
     >
  <channel>
    <title>Sirius Stuff</title>
    <link>http://www.siriusventures.com/</link>
    <description>A static blog engine/compiler</description>
    <pubDate>Wed, 18 May 2011 19:53:52 GMT</pubDate>
    <generator>Blogofile</generator>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Using custom fonts on a web page, including internet explorer</title>
      <link>http://www.siriusventures.com/using-custom-fonts-on-a-web-page-including-internet-explorer</link>
      <pubDate>Wed, 18 May 2011 11:00:10 PDT</pubDate>
      <category><![CDATA[Web]]></category>
      <category><![CDATA[Education]]></category>
      <category><![CDATA[Home Schooling]]></category>
      <guid>http://www.siriusventures.com/using-custom-fonts-on-a-web-page-including-internet-explorer</guid>
      <description>Using custom fonts on a web page, including internet explorer</description>
      <content:encoded><![CDATA[<br/><a href="http://symphony-of-dot-net.blogspot.com/2010/03/making-css-custom-font-works-with-ie.html">Making CSS Custom Font works with IE, Firefox, Opera and Safari</a> has a clear explanation of how to use custom fonts on your site.
<br/><br/>
This was very for <a href="http://www.iteachmath.com/">I Teach Math</a> on the <a href="http://www.iteachmath.com/grade-1/lcdclock-1-to-12">lcd clock</a> page.
<br/>]]></content:encoded>
    </item>
    <item>
      <title>Namebench for the win! Bad DNS makes my mac slow</title>
      <link>http://www.siriusventures.com/namebench-for-the-win-bad-dns-makes-my-mac-slow</link>
      <pubDate>Fri, 29 Apr 2011 16:00:10 PDT</pubDate>
      <category><![CDATA[Web]]></category>
      <category><![CDATA[Mac]]></category>
      <guid>http://www.siriusventures.com/namebench-for-the-win-bad-dns-makes-my-mac-slow</guid>
      <description>Namebench for the win! Bad DNS makes my mac slow</description>
      <content:encoded><![CDATA[<br/>
Really bad performance on my MacBook has been driving me up the wall the past few days.   Closing all un-needed programs didn't help.  I ran several Mac utilities on my system, rebooted and so on and so forth.   
<br/><br/>
Still no good.
<br/><br/>
There's 8GB of RAM in my (latest model - fall 2010) white MacBook and that really sped things up when it replaced the stock 2GB.  It was very frustrating.
<br/><br/>
Activity Monitor (in your Application/Utilities folder) didn't reveal anything interesting.   Everything seemed slow, from opening a file with vi to browsing to a web page.
<br/><br/>
Searching for "slow mac" brought up references to pages loading slowly.  And that reminded me of <a href="http://code.google.com/p/namebench/" title="namebench">namebench</a>, a program that tests the fastest DNS servers for you.
<br/><br/>
Picking the fastest DNS servers isn't as simple as using <a href="http://www.opendns.com/" title="OpenDNS">OpenDNS</a> or Google's <a href="http://code.google.com/speed/public-dns/" title="Google DNS">public DNS</a> because some sites like Netflix return different answers depending on where you are and what internet provider you're using.   What's right for OpenDNS may be much slower for you.
<br/><br/>
After running namebench, it detected that 75.75.75.75, the DNS provided by Comcast, my ISP, was not working.   Using the advice from namebench I put 3 different DNS providers into the router, including two other Comcast addresses and a Google Public DNS.
<br/><br/>
Today, it's like I have a new machine it's so fast.  Opening files is faster, browsing web pages is much faster, etc., etc.
<br/><br/>
Because of things like Dropbox or other background processes running, it seems like those slowed everything down, even something like vi on a local file.
<br/><br/>
So if your machine seems inexplicably slow, try using namebench and follow its advice.
<br/><br/>]]></content:encoded>
    </item>
    <item>
      <title>Script to update Blogofile blog on Amazon S3</title>
      <link>http://www.siriusventures.com/script-to-update-blogofile-blog-on-amazon-s3</link>
      <pubDate>Fri, 29 Apr 2011 15:00:10 PDT</pubDate>
      <category><![CDATA[Blogging]]></category>
      <guid>http://www.siriusventures.com/script-to-update-blogofile-blog-on-amazon-s3</guid>
      <description>Script to update Blogofile blog on Amazon S3</description>
      <content:encoded><![CDATA[<br/>Because <a title="blogofile" href="http://www.blogofile.com">Blogofile</a>Blogofile (at least the 0.7.1 version I'm using) regenerates every file and directory every time it makes it hard to update just the changed files on &gt;<a title="amazon" href="http://www.amazon.com/">Amazon</a>'s <a title="s3" href="http://aws.amazon.com/s3/">S3</a> (Simple Storage System).
<br/>
So I wrote a shell script that updates only the changed files and also pings <a href="http://www.googleping.com/" title="GooglePing">GooglePing</a> so that Google and other services come along and read your update.
<br/>
Over time, the difference between what the old page 2 on S3 has and what it should be will build.  There's a simple answer, which is to just upload all of the page files.  
<br/>
Every 10 blog posts or so, you could just update all the category and archive files as well.   Maybe that's somthing to automate as well
<br/><pre>

# !/bin/bash
# jdeibele [ at ] gmail . com
# What this does:
#   builds your blog with blogofile, then builds a list of key 
#   files that have changed.  Blogofile is a python program
#   that uses Mako to generate static pages.
#
# Blogofile: http://www.blogofile.com
#
# For me, these files are:
#   the post itself
#   the first page of the categories it appears in 
#   feeds for the categories (RSS and atom)
#   the archive page (year/month) 
#   the first page of /page/
#   feed for the blog (RSS and atom)
#   the main page (index.html) for the blog
#
#
BLOGURL="www.siriusventures.com"
BLOGNAME="Sirius Stuff"
BLOGHOME=$HOMEDIR/siriusventures
#
#
cd $BLOGHOME 
blogofile build
rmdir *
# blogofile builds extra directories for these but they're empty
cd $BLOGHOME/_posts
file=`ls -t * | head -1`
permalink=`grep "^permalink:" $file | cut -f3 -d: | cut -f4 -d"/"`
archive=`grep "^date:" $file | cut -f2 -d: | cut -f1,2 -d/ | sed 's/ //g'`
#
# "slugify" the category names 
#
categories=`grep "^categories:" $file | tr [:upper:] [:lower:]  | cut -f2 -d: | sed s'/^ //' | sed s'/ /-/'`
echo $categories
cd $BLOGHOME/_site
IFS=','
echo index.html &gt; /tmp/postit
for category in $categories
do
    echo category/$category/index.html &gt;&gt; /tmp/postit
    echo category/$category/1/index.html &gt;&gt; /tmp/postit
    echo category/$category/feed/index.xml &gt;&gt; /tmp/postit
    echo category/$category/feed/atom/index.xml &gt;&gt; /tmp/postit
done
echo archive/$archive/1/index.html&gt;&gt; /tmp/postit
echo feed/index.xml &gt;&gt; /tmp/postit
echo feed/atom/index.xml &gt;&gt; /tmp/postit
echo page/1/index.html&gt;&gt; /tmp/postit
# 
# s3cmd can be installed with homebrew - brew install s3cmd
#
#
# s3cmd needs -recursive to upload a new directory
#
s3cmd put --recursive $BLOGHOME/_site/$permalink s3://$BLOGURL
#
while read file
do
    s3cmd put $BLOGHOME/_site/$file s3://$BLOGURL/$file
    echo $BLOGHOME/_site/$file
done 
<br/></pre>]]></content:encoded>
    </item>
    <item>
      <title>What's not perfect with Blogofile</title>
      <link>http://www.siriusventures.com/whats-not-perfect-with-blogofile</link>
      <pubDate>Thu, 28 Apr 2011 15:00:10 PDT</pubDate>
      <category><![CDATA[Web]]></category>
      <category><![CDATA[User Interface]]></category>
      <category><![CDATA[Blogging]]></category>
      <guid>http://www.siriusventures.com/whats-not-perfect-with-blogofile</guid>
      <description>What's not perfect with Blogofile</description>
      <content:encoded><![CDATA[<br/>In <i><a href="http://www.siriusventures.com/switched-from-wordpress-to-blogofile" title="Switched from WordPress to Blogofile">Switched from WordPress to Blogofile</a></i> there are two good things about using <a title="blogofile" href="http://www.blogofile.com">Blogofile</a>:
<ul><li>flat files are almost impossible to hack</li>
<li><a title="amazon" href="http://www.amazon.com/">Amazon</a>'s <a title="s3" href="http://aws.amazon.com/s3/">S3</a> (Simple Storage System) can scale incredibly high</li>
</ul><br/><br/>
There's some downsides:
<ul><li><i>blogofile build</i> seems to copy or regenerate every single file</li>
<li>it's not totally happy being on S3 - it doesn't make index.html files for the archive and category directories.  
</li><li>there's no easy way to post-via-email or send a link to start a post</li>
</ul><br/><br/>
Right now I'm writing this with vi and that's far less comfortable than WordPress's editor which I really liked.   But I'm sure I'll find TextWrangler or something as suitable for writing blog posts.
<br/>]]></content:encoded>
    </item>
    <item>
      <title>Switched from WordPress to Blogofile</title>
      <link>http://www.siriusventures.com/switched-from-wordpress-to-blogofile</link>
      <pubDate>Thu, 28 Apr 2011 13:24:10 PDT</pubDate>
      <category><![CDATA[Web]]></category>
      <category><![CDATA[User Interface]]></category>
      <guid>http://www.siriusventures.com/switched-from-wordpress-to-blogofile</guid>
      <description>Switched from WordPress to Blogofile</description>
      <content:encoded><![CDATA[<br/>I really like <a title="WordPress.com" href="http://www.wordpress.org">WordPress</a> for the huge number of themes and utilities that it has.   What I don't like, though, is the need for constant vigilance to make sure that your blog hasn't been hacked.  When I started the conversion, I found two blog posts that had been secretly altered so that they had links to spam sites.   I wasn't sure whether to be grateful that only two had been altered or disappointed that my blog mattered so little that that's all they did.
<br/><br/>
So it's with some relief that I've switched to <a title="blogofile" href="http://www.blogofile.com">Blogofile</a>, a python program that generates flat files that can be hosted on <a title="amazon" href="http://www.amazon.com/">Amazon</a>'s <a title="s3" href="http://aws.amazon.com/s3/">S3</a> (Simple Storage System).   This has the advantage of being almost impossible to hack.  It also can scale even if this blog was featured on the front pages of <a title="digg" href="http://digg.com/">Digg</a> and <a title="reddit" href="http://www.reddit.com/">Reddit</a> and <a title="daring fireball" href="http://daringfireball.net">Daring Fireball</a> and <a title="slashdot" href="http://slashdot.org">Slashdot</a> and ...
<br/><br/>
Not that that's likely to happen little ol' me but it's comforting to think that everyone in the world could read my incredible prose.
<br/><br/>
Right now I'm writing this with vi and that's far less comfortable than WordPress's editor which I really liked.   But I'm sure I'll find TextWrangler or something as suitable for writing blog posts.
<br/>]]></content:encoded>
    </item>
    <item>
      <title>Twitter phishers are after your password</title>
      <link>http://www.siriusventures.com/twitter-phishers-are-after-your-password/</link>
      <pubDate>Thu, 29 Oct 2009 10:10:10 PDT</pubDate>
      <category><![CDATA[Web]]></category>
      <category><![CDATA[User Interface]]></category>
      <category><![CDATA[Twitter]]></category>
      <guid>http://www.siriusventures.com/twitter-phishers-are-after-your-password/</guid>
      <description>Twitter phishers are after your password</description>
      <content:encoded><![CDATA[
				<p id="p1">I was burned by this one!  Graham Cluley writes a nice article on his blog called <a href="http://www.sophos.com/blogs/gc/g/2009/10/28/twitter-phishers-password/">Twitter phishers are after your password </a></p>
<p id="p2">What was really appalling to me was getting burned by this screen:<br/>
<img id="image119" src="/site_img/tw-phishing-550.jpg" alt="Fake twitter login screen"/><br/>
Twitter, like Facebook, lets you use other sites by handling authorization.   I’d been having serious problems with Twitter not accepting my password (as were thousands of others, apparently) and it just got fixed last week.  So even though I was logged in and active on twitter.com, I wasn’t surprised to be prompted to login.  And I didn’t look closely enough at the URL.</p>
<p id="p3">Of course I wasn’t surprised to see this:<br/>
<img id="image120" src="/site_img/tw-over-capacity-550.jpg" alt="Fail whale - you've seen this"/><br/>
Takeaways?   Twitter has becoming more and more reliable.   They are fixing bugs.   And we all need to watch where we’re going - sometimes we think we’re someplace we’re not.  </p>
<p id="p4"><em>images courtesy of <a href="http://www.sophos.com">Sophos</a> I copied them so they won’t take their bandwidth or disappear if they change their links.</em> </p>
]]></content:encoded>
    </item>
    <item>
      <title>Cargo bikes for greener business deliveries in congested cities</title>
      <link>http://www.siriusventures.com/cargo-bikes-for-greener-business-deliveries-in-congested-cities/</link>
      <pubDate>Wed, 24 Dec 2008 12:12:12 PST</pubDate>
      <category><![CDATA[Cycling]]></category>
      <guid>http://www.siriusventures.com/cargo-bikes-for-greener-business-deliveries-in-congested-cities/</guid>
      <description>Cargo bikes for greener business deliveries in congested cities</description>
      <content:encoded><![CDATA[
				<p id="p1">These seem really neat for emissions free deliveries in the city.   Do wonder about security - not only the cargo being stolen but the whole bike.   <a href="http://springwise.com/eco_sustainability/cargo_bikes_for_greener_busine/">Cargo bikes for greener business deliveries in congested cities - Springwise</a><br/>
</p>

]]></content:encoded>
    </item>
    <item>
      <title>Smart Google Reader Subscribe Button</title>
      <link>http://www.siriusventures.com/smart-google-reader-subscribe-button/</link>
      <pubDate>Wed, 17 Dec 2008 12:12:12 PST</pubDate>
      <category><![CDATA[Web]]></category>
      <guid>http://www.siriusventures.com/smart-google-reader-subscribe-button/</guid>
      <description>Smart Google Reader Subscribe Button</description>
      <content:encoded><![CDATA[
				<p id="p1">If you’re like most people, you’ve got more feeds in your news reader than you can keep up with.   What’s neat about this script is that it not only makes it easy to subscribe but also shows you if it’s already in your subscription list.   If it is, it’s shown with a checkmark over the RSS icon.  </p>
<p id="p2">My only objection is that it’s not posted to <a href="http://userscripts.org/">UserScripts</a>, a central repository for Greasemonkey scripts.</p>
<p id="p3"><a href="http://blog.persistent.info/2006/05/smart-google-reader-subscribe-button.html">Smart Google Reader Subscribe Button</a> is highly recommended.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Greasefire - automatically find greasemonkey scripts</title>
      <link>http://www.siriusventures.com/greasefire-automatically-find-greasemonkey-scripts/</link>
      <pubDate>Wed, 17 Dec 2008 12:12:12 PST</pubDate>
      <category><![CDATA[Web]]></category>
      <guid>http://www.siriusventures.com/greasefire-automatically-find-greasemonkey-scripts/</guid>
      <description>Greasefire - automatically find greasemonkey scripts</description>
      <content:encoded><![CDATA[
				<p id="p1">This Greasemonky script <a href="https://addons.mozilla.org/en-US/firefox/addon/8352">Greasefire :: Firefox Add-ons</a> looks interesting but it doesn’t run on Firefox 3.1 beta, which I’m running now.   I find the Greasemonkey scripts for Google Reader very helpful.</p>
<p id="p2">It’d be nice to look into later.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Enter credit card number to see if it has been stolen scam.</title>
      <link>http://www.siriusventures.com/enter-credit-card-number-to-see-if-it-has-been-stolen-scam/</link>
      <pubDate>Mon, 15 Dec 2008 12:12:12 PST</pubDate>
      <category><![CDATA[General]]></category>
      <guid>http://www.siriusventures.com/enter-credit-card-number-to-see-if-it-has-been-stolen-scam/</guid>
      <description>Enter credit card number to see if it has been stolen scam.</description>
      <content:encoded><![CDATA[
				<p id="p1">It’s almost tempting to implement this just to see if anybody enters their info, isn’t it?</p>
<p id="p2"><a href="http://failblog.org/2008/11/14/scam-fail/"><img src="http://failblog.wordpress.com/files/2008/11/fail-owned-stolen-credit-card-scam-fail.jpg" alt="fail owned pwned pictures" title="fail-owned-stolen-credit-card-scam-fail" class="alignnone size-full wp-image-8266"/></a>
</p>
]]></content:encoded>
    </item>
  </channel>
</rss>

