Fajara Posts - Joshua dot Perina dot com - RSShttp://joshua.perina.com/africa/gambia/fajara/posts/rss/xmlPosts from Fajarahttp://joshua.perina.comTue, 18 Nov 2008 20:15:23 GMThttp://geographicalmedia.comExplore Geohttp://joshua.perina.com/_ui/style/img/admin/explore-lara.gifhttp://geographicalmedia.comRSS Provided by .geographical mediaChaos in the Morninghttp://joshua.perina.com/africa/gambia/fajara/post/2008/4/1/chaos-in-the-morningSometimes strange things happen around here.  Even before we manage our coffee in the morning.  The other day we woke up to the dogs barking and...<div class='ShowMediaItem'><div id="FeaturedViewer"><div id="ShowPlayer"><a href="http://www.macromedia.com/go/getflashplayer">Install Flash Player</a> to view this video.</div><script type="text/javascript">var showplay = new SWFObject("http://joshua.perina.com/_ui/media/flvplayer.swf","single","480","380","7");showplay.addParam("allowfullscreen","true");showplay.addParam("wmode", "transparent");showplay.addVariable("file","http://joshua.perina.com/_library/2008/4/mvi_0603-d.flv");showplay.addVariable("image","http://joshua.perina.com/_library/2008/4/mvi_0603-d.jpg");showplay.addVariable("width","480");showplay.addVariable("height","380");showplay.write("ShowPlayer");</script></div><div class='ShowMediaDate'>Tuesday, April 01, 2008</div><div class='ShowMediaBody'><p>Sometimes strange things happen around here.  Even before we manage our coffee in the morning.  The other day we woke up to the dogs barking and discovered they had somehow caught a Drimmo, which is a giant Gambian rat up in a tree.   We took some video footage of us trying to get it out of the tree and the resulting disaster when it jumped out.  </p><p>Warning, this video is <strong>not for the weak at heart</strong>.  </p></div></div>Tue, 01 Apr 2008 10:19:39 GMTCreate Your Own Website with Geographical Mediahttp://joshua.perina.com/africa/gambia/fajara/post/2008/3/15/create-your-own-website-with-geographical-mediaWell, after 16 months of development I am very proud to annouce that our software product .geographical media is finally availabled to everyone via...<div class='ShowMediaItem'><div id="FeaturedViewer"><img id="PicViewFeatured" src='http://joshua.perina.com/_library/pictures/general posts/geo-d.jpg' /></div><div class='ShowMediaDate'>Saturday, March 15, 2008</div><div class='ShowMediaBody'><p>Well, after 16 months of development I am very proud to annouce that our software product <font color="#999999" >.<font color="#990000" >g</font>eographical <font color="#990000" >m</font>edia</font> is finally availabled to everyone via our website at <a href="http://geographicalmedia.org/" >http://geographicalmedia.org</a>.  </p><p>I hope everyone who visits my website will take the time to try out of software.  Its free and makes a great blogging platform.  If you are thinking of starting a blog or you or your company needs a website please try us out!  This website (joshua.perina.com) is running the product.  </p><p>Here's the sales pitch:</p><p>Geographical media is a powerful, easy to use, web publishing platform.  It features an incredible site design tool.  Based on the principles of CSS Zen Garden and a community developed style library every website owner is able to create a completely custom, great looking web design in minutes without knowing anything about web development.  </p><p>In addition to the powerfull design tools the system features a community aggregation network with incredible SEO possibilities.  Every media item, blog post, video, photo, article or real estate property posted in the system is indexed and immediately linked to and from already established media items in the network. </p><p>The product is designed to scale from individual bloggers or small businesses, to large newspapers or companies requiring community building websites.  </p><p>Signing up and creating a website with geographical media takes seconds and is fully hosted.  The system is entirely free, with inexpensive upgrades to use your own domain name or purchase more space.  </p><p>Oh, and advertisments will never be put on your website (unless you put them there).    </p><p>Thank you very much to my friends and family who have supported me over this time and I'd like to particularly say thank you to our small team here in The Gambia.  Thank you Mela, Lamin, Anna.  </p><p>If you want a website come try it out!  </p><p><a href="http://geographicalmedia.org/" >http://geographicalmedia.org</a></p><p><br /> </p></div></div>Sat, 15 Mar 2008 12:15:58 GMTUltimate Frisbee in Gambiahttp://joshua.perina.com/africa/gambia/fajara/post/2008/3/10/ultimate-frisbee-in-gambiaYes, Ultimate Frisbee is played in The Gambia.  For anyone who may be travelling to The Gambia, or passing through there is a regular pickup game...<div class='ShowMediaItem'><div class='ShowMediaDate'>Monday, March 10, 2008</div><div class='ShowMediaBody'><p>Yes, Ultimate Frisbee is played in The Gambia.  For anyone who may be travelling to The Gambia, or passing through there is a regular pickup game which occurs on Mondays and Thursdays at 5:45 pm at The Medical Research Center (MRC), ask any taxi for directions.  If you are interested to play feel free to just drop by, or if you want to confirm feel free to drop me a note by posting a comment on this post or send me a mail through my <a href="http://joshua.perina.com/contact" >contact</a> box. </p><p>The game has been running since Spring 2007 for over a year now.  If there are is any other Frisbee going on in West Africa I would love to hear about it as I'm planning on doing some travelling beginning next month (May 2008).  </p><p>Anyone is welcome!</p></div></div>Mon, 10 Mar 2008 12:39:49 GMTOne of the reasons I live in The Gambiahttp://joshua.perina.com/africa/gambia/fajara/post/2008/2/9/one-of-the-reasons-i-live-in-the-gambiaThis is a screenshot from my desktop...Sorry guys, but maybe this will solve that beetle problem you have going.BTW, my desktop background is from ...<div class='ShowMediaItem'><div id="FeaturedViewer"><img id="PicViewFeatured" src='http://joshua.perina.com/_library/2008/2/brrr2-d.jpg' /></div><div class='ShowMediaDate'>Saturday, February 09, 2008</div><div class='ShowMediaBody'><p> This is a screenshot from my desktop... </p> <p> Sorry guys, but maybe this will solve that beetle problem you have going. </p> <p> BTW, my desktop background is from <a href="http://www.webdesignerwall.com/"> http://www.webdesignerwall.com </a> .  I am a big fan of his work. </p> </div></div>Sat, 09 Feb 2008 07:56:22 GMTConverting to SQLite and LIKE Query Optimizationhttp://joshua.perina.com/africa/gambia/fajara/post/2008/1/28/converting-to-sqlite-and-like-query-optimizationI recently converted our web application .geographical media to use SQLite as its primary database (relegating SqlExpress to the backup...<div class='ShowMediaItem'><div class='ShowMediaDate'>Monday, January 28, 2008</div><div class='ShowMediaBody'><p> I recently converted our web application <a href="http://geographicalmedia.org/"> .geographical media </a> to use SQLite as its primary database (relegating SqlExpress to the backup position).  This posed some interesting challenges but overall I was very pleased with the result.  As they say on their website <a href="http://sqlite.org/"> sqlite </a>  is small, fast and reliable.  For us, the major reason for change was to reduce load on our hosting servers enabling us to put many more websites on a single server.  </p> <p> Our product is built with .NET and we used the System.Data.SQLite library built by Robert Simpson which seems to be extremely well written and was super easy to use.  Great job by Robert and thank you.  </p> <p> One of the most interesting things I faced during the conversion was the experience I had with one of our more common queries.  We use a LIKE query with a wildcard at the end to enable us to search a hierarchical structure for inclusive location information.  We have a path column which contains data like the following: </p> <p> geo-Africa-Gambia- </p> <p> geo-Africa-Egypt- </p> <p> geo-Africa-Egypt-Cairo </p> <p> geo-Africa-Senegal </p> <p> Now to query this table for all records in Egypt we use the query: </p> <p>     SELECT * FROM Table WHERE Path LIKE 'geo-Africa-Egypt-%' </p> <p> This has always been fine in our SqlExpress days as even when we have had to do complex queries against 10s of thousands of records the response time was always under 100ms.  So it was with shock and concern that after converting to SQLite I suddently found the same queries taking as much as 16 seconds to run on the same machine!  </p> <p> Fortunately for me a man name Jim Lyon, way back in september of 2003, wrote a document which both explained and solved my dilemma.  His document can be found <a href="http://web.utk.edu/~jplyon/sqlite/SQLite_optimization_FAQ.html"> here </a>  as is an invaluable document about optimizing your SQLite databases and queries.  The crux of the problem is this </p> <blockquote> <p>  The <code> <strong> GLOB </strong> </code> and <code> <strong> LIKE </strong> </code> operators are expensive in SQLite because they can't make use of an index. </p> </blockquote> <p> There is some reason for this but fortunately for me our LIKE query just has a wildcard at the end.  Jim explains all the details, but in the end it is possible to optimize this query to look like the following: </p> <p>     SELECT * FROM Table WHERE Path >= 'geo-Africa-Egypt-' AND Path < 'geo-Africa-Egypt-zzz' </p> <p> There MUST be an index on the Path column for this to work.  By adding the 'zzz' at the end the query will naturally select everything in the alphabetic sort order between the first and second query parameters.  </p> <p> The end result was spectacular, my newly optimized queries were now running super fast, on both SQLite (~50ms) and even improved on SqlExpress (~60ms).  I have to give credit to Microsoft, as they must have some optimizations already built in for this type of query and its been making my life easy up until this point.      </p> <p> I think making the switch to SQLite is a good on and can be extremely rewarding for most applications.  Overall, to get the performance I was looking for it made me a bit more honest of a programmer, I had to ensure all my queries were in proper transactions and indexes were explicitly stated.  Sometimes I found the documentation on the SQLite website a bit lacking.  </p> <p> </p> <p> </p> </div></div>Mon, 28 Jan 2008 10:44:13 GMTInternet Explorer CSS File Size Limithttp://joshua.perina.com/africa/gambia/fajara/post/2008/1/25/internet-explorer-css-file-size-limitToday I encountered a problem where in IE7 and IE6 it appeared as if some parts of my CSS style was not loading.  I tracked the problem down to what...<div class='ShowMediaItem'><div class='ShowMediaDate'>Friday, January 25, 2008</div><div class='ShowMediaBody'><p> Today I encountered a problem where in IE7 and IE6 it appeared as if some parts of my CSS style was not loading.  I tracked the problem down to what appears to be a file size limit of ~288kb for .css files.  In IE only the first 288kb in a file will be read and processed.  Any CSS after 288kb will be ignored.  </p> <p> In this particular case I was loaded a CSS file of 347kb.  </p> <p> Firefox does not seem to have a limit.  </p> <p> The limit appears to be a "per file" limit.  You can split the CSS into two files and it will work fine.  </p> <p> You may be asking yourself, why would you ever have a CSS file which is 347kb?  Good question... but we use a large file size in our site design application at <a href="http://rhythmwebdesign.com/"> http://rhythmwebdesign.com </a>   The CSS ends up being gzipped and is only 35kb when you download it when loading the designer.  </p> <p> </p> </div></div>Fri, 25 Jan 2008 06:19:30 GMTJavascript Transition Effectshttp://joshua.perina.com/africa/gambia/fajara/post/2008/1/25/javascript-transition-effectsHere are some samples of some basic javascript transition effects.  We are thinking about putting some of these nifty effects into certain areas of...<div class='ShowMediaItem'><div class='ShowMediaDate'>Friday, January 25, 2008</div><div class='ShowMediaBody'><p> Here are some samples of some basic javascript transition effects.  We are thinking about putting some of these nifty effects into certain areas of .geographical media.  It seems to be rather trendy these days to do so.  </p> <p> I have created the following effects: Fade In, Fade Out, Fly Out and Drop Out, Drop Back </p> <p> The effects are all very easy to do with Javascript adjusting the style properties of the object you wish to have the effect on.  I found the opacity properties here at quirksmode  <a href="http://www.quirksmode.org/js/opacity.html"> http://www.quirksmode.org/js/opacity.html </a> .  I consider quirksmode to be the best source of well tested solutions to some of the more complex aspects of javascript programming.  I've used his work often and would recommend his site to anyone. </p> <p> Here are the sample effects: </p> <p> <a href="http://joshua.perina.com/transition-effects"> http://joshua.perina.com/transition-effects </a> </p> <p> I'll write more and explain the code once I've cleaned it up a bit.  At the moment it's just 1/2 hour quick prototype. </p> <p> </p> </div></div>Fri, 25 Jan 2008 01:32:03 GMTWhat am I up to?http://joshua.perina.com/africa/gambia/fajara/post/2008/1/23/what-am-i-up-toSo if you have been wondering what I have been up to the past couple of years, here's a quick update.  Basically, I've been living in The Gambia,...<div class='ShowMediaItem'><div id="FeaturedViewer"><img id="PicViewFeatured" src='http://joshua.perina.com/_library/2008/1/everything%20under%20control-d.jpg' /></div><div class='ShowMediaDate'>Wednesday, January 23, 2008</div><div class='ShowMediaBody'><p> So if you have been wondering what I have been up to the past couple of years, here's a quick update.  Basically, I've been living in The Gambia, West Africa, where I started a company building web publishing software.  Thus all the postings about "new version released" and so on.  The Gambia  is a warm little country and I live with my girl friend/business partner Melanie Radtke. She's a gem and one of the main reasons I am here.  We've been working at our little company with the help of some good staff we've managed to find here.   We live just a few minutes walk from the Atlantic ocean, in fact, I can hear the surf crashing as I write this and this evening I took our two dogs down to the beach to watch the sunset and drink a beer.  Did I mention we have 2 dogs?  Mela is not here at the moment.  She's off visiting her family and friends in Germany.  </p> <p> Life is very simple right now.  I spend many, many hours being very productive on the computer, trying to build our product.  I'll be posting more information here about that later.  Suffice it to say though, this website runs on it, which is why you may find I change the design a lot.  (Our product makes changing the design very easy)  </p> <p> I'm planning to post a few different blogs channels here on the site.  One on web design and technology since thats what I spend a lot of time on these days.  Maybe I can help some one out with something I've learned.  I've learned countless things from the people online.  Second, I am planning to organize some thoughts on Theology.  Which I spend a lot time thinking about as well.  Third, more postings just like this, about whats happening in my life, where I'm at and whats going on so all my friends and family can keep up with me.  </p> <p> </p> </div></div>Wed, 23 Jan 2008 12:40:30 GMTNew Version of our Softwarehttp://joshua.perina.com/africa/gambia/fajara/post/2008/1/18/new-version-of-our-softwareToday we released version 1.24 of our new web publishing software .geographical media.  If you are wondering what it is all about you'll have to wait...<div class='ShowMediaItem'><div class='ShowMediaDate'>Friday, January 18, 2008</div><div class='ShowMediaBody'><p> Today we released version 1.24 of our new web publishing software .geographical media.  If you are wondering what it is all about you'll have to wait but the documentation will be coming soon!  </p> <p> <a href="http://geographicalmedia.org/"> http://geographicalmedia.org </a> </p> <p> </p> </div></div>Fri, 18 Jan 2008 10:18:28 GMTMy Old Blogger Bloghttp://joshua.perina.com/africa/gambia/fajara/post/2008/1/15/my-old-blogger-blogIf you are looking for more info about me it can be found at my old blogger blog.  Affectionately called joshtracker.blogspot.com  since I was...<div class='ShowMediaItem'><div class='ShowMediaDate'>Tuesday, January 15, 2008</div><div class='ShowMediaBody'><p> If you are looking for more info about me it can be found at my old blogger blog.  Affectionately called <a href="http://joshtracker.blogspot.com/"> joshtracker.blogspot.com </a>  since I was just beginning a long period of travel after leaving Denver.  </p> <p> I plan on porting those blog entries over into this site so I have better control over them.  For now though, I just don't have the time.  </p> <p> </p> <p> </p> <p> </p> </div></div>Tue, 15 Jan 2008 12:53:22 GMT