<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RandomStringOfWords &#187; Programming</title>
	<atom:link href="http://randomstringofwords.com/category/dev-diary/programming-dev-diary/feed/" rel="self" type="application/rss+xml" />
	<link>http://randomstringofwords.com</link>
	<description>RandomStringOfWords.com &#124;&#124; RSoW.com</description>
	<lastBuildDate>Tue, 03 Jan 2012 19:38:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My own custom blogging software</title>
		<link>http://randomstringofwords.com/my-own-custom-blogging-software/</link>
		<comments>http://randomstringofwords.com/my-own-custom-blogging-software/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 21:18:43 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://randomstringofwords.com/?p=1276</guid>
		<description><![CDATA[Final Update:  Okay.. I owe a huge apology to the wordpress folks..  After doing a bunch of digging this isn&#8217;t a wordpress bug at all, but rather a server exploit that someone used to edit a good portion of the .php files on my site in order to inject their shitty obfuscated iframe crap.  There [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1417" class="wp-caption alignright" style="width: 160px"><a href="http://randomstringofwords.com/wp-content/uploads/2011/11/iframe.jpg" rel="lightbox"><img class="size-thumbnail wp-image-1417 " title="Example" src="http://randomstringofwords.com/wp-content/uploads/2011/11/iframe-150x150.jpg" alt="Example" width="150" height="150" /></a><p class="wp-caption-text">Click for Example</p></div>
<p>Final Update:  Okay.. I owe a huge apology to the wordpress folks..  After doing a bunch of digging this isn&#8217;t a wordpress bug at all, but rather a server exploit that someone used to edit a good portion of the .php files on my site in order to inject their shitty obfuscated iframe crap.  There were files that were edited completely outside the realm of wordpress, on my server that the wordpress user didn&#8217;t even have access too.. So wordpress is completely off the hook!  Sorry guys.</p>
<p>Now having said that I&#8217;m still planning on making my own blogging software for funsies.. but I am not feeling as much pressure now since I now know how to purge the iframes off and wordpress isn&#8217;t to blame.</p>
<p>&nbsp;</p>
<p><em>Update: Click the image to the right to see the highlighted code that got injected into the site tonight.. I have no clue how it got in there and am actively taking steps to figure it out.. it&#8217;s magically there one second then a refresh shows its gone..   I have tested my codebase thoroughly and I can&#8217;t find it anywhere, nor can I find it in any of the javascript that is being called..  Either way,  Please don&#8217;t install or run anything that you download from my site.  Note: I&#8217;m deactivating all extra plugins for the time being until I figure out whats causing this.</em></p>
<p>As many of you know, I am very much my own special kind of nerd.  I enjoy doing many a&#8217;geeky thing that others wouldn&#8217;t even dream of.  To be honest, I think all software engineers have to be a bit brain damaged just to do their job.  Recently my own affliction has been leading me down the path of writing my own blogging and content management system.</p>
<p><span id="more-1276"></span></p>
<p>I have used a lot of different packages over the years from full on CMS systems like Joomla and Mambo to more specific blogging solutions like WordPress and Blogger..  They all have their good points and their bad points..  I have stuck with wordpress the longest as it most fit my need, but the more I dig into programming for wordpress the more I hate it..  I really think that wordpress needs to be rewritten from the ground up, but that&#8217;s a post for a different thread..</p>
<p>Long story short, I have decided to begin work on my very own blogging and content management system that is fully featured and professionally developed.    My ultimate goal is to make it a fully featured suite of tools that folks can install and use for their own site that has a very low bar to entry.    It should be easy to install and work seamlessly out of the box..etc..</p>
<p>The main reason lately that this has become an issue is that I&#8217;m tired of having folks hack/inject code into my headers and footers.   I have done everything I know to do to harden my wordpress install, yet I am still constantly fighting random crap showing up in the various theme files on the site.</p>
<p>I hate it!</p>
<p>It&#8217;s frustrating and not fun.  More over, if they have the ability to do that then they have the ability to inject all manner of malicious code..</p>
<p>So with that I&#8217;m going to begin designing and building something that can do all the work I need and take all the stuff already done (all of my wordpress blog) and convert it.. etc..</p>
<p>Gonna be a lot of work.. design will be huge, but should be good in the long run if for no other reason than something fun to do..  yes.. I see this as fun..</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/my-own-custom-blogging-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lost in the woods of C#</title>
		<link>http://randomstringofwords.com/lost-in-the-woods-of-c-sharp/</link>
		<comments>http://randomstringofwords.com/lost-in-the-woods-of-c-sharp/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 01:07:34 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://randomstringofwords.com/?p=981</guid>
		<description><![CDATA[I&#8217;m really kind of frustrated at the general lack of helpful input from other people on the internet when it comes to trying to learn a new programming language..  It almost seems like folks just don&#8217;t want to be bothered or that they have the opinion that &#8220;by god it was hard for them, so [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_983" class="wp-caption alignright" style="width: 160px"><img class="size-full wp-image-983" title="C# Confusion" src="http://randomstringofwords.com/wp-content/uploads/2010/07/csharpquestion.jpg" alt="C# Confusion" width="150" height="274" /><p class="wp-caption-text">C# Confusion</p></div>
<p>I&#8217;m really kind of frustrated at the general lack of helpful input from other people on the internet when it comes to trying to learn a new programming language..  It almost seems like folks just don&#8217;t want to be bothered or that they have the opinion that &#8220;by god it was hard for them, so it should be hard for you.. &#8221;</p>
<p>Human beings are blessed with the ability to learn from one another, and while we are also often cursed with the disinclination to do so, quite often it seems that those &#8220;in the know&#8221; don&#8217;t want to share that knowledge when others are clambering for it..</p>
<p>I&#8217;m fairly new to C# and am interested in learning it..  I&#8217;m not new to programming though so I understand most of the basic concepts, I just need to learn the syntax and the &#8220;flavor&#8221; of the language..  The IDE is pretty familiar because I&#8217;m an old time Delphi programmer (C# was written by the same guy apparently)..</p>
<p>I decided I wanted to write an application that take a screenshot of a DirectX game while it was in the background (not minimized)..  I&#8217;m having a lot of trouble getting it to work correctly, and trying to find people to help is very much like trying to find Venuses arms..</p>
<p>I can&#8217;t help but feel very alone in my struggle and that plain sucks..</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/lost-in-the-woods-of-c-sharp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delphi like IDE/VCL for Javascript, written in javascript</title>
		<link>http://randomstringofwords.com/delphi-like-idevcl-for-javascript-written-in-javascript/</link>
		<comments>http://randomstringofwords.com/delphi-like-idevcl-for-javascript-written-in-javascript/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 19:05:04 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[JS/CSS Etc]]></category>
		<category><![CDATA[BuildForge]]></category>
		<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://info.rsow.com/?p=622</guid>
		<description><![CDATA[So something that I have been pondering is the creation of a rapid application framework/IDE similar to Delphi for javascript, in javascript..  Bear with me..  This is more or less theoretical conjecture at this point, but it amuses me and I wonder what kind of value there would be to be had from such a [...]]]></description>
			<content:encoded><![CDATA[<p>So something that I have been pondering is the creation of a rapid application framework/IDE similar to Delphi for javascript, in javascript..  Bear with me..  This is more or less theoretical conjecture at this point, but it amuses me and I wonder what kind of value there would be to be had from such a platform.</p>
<p>Where Delphi has always excelled, even to this day, is where its IDE and it&#8217;s VCL meet &#8211; you design the look of the application first, and then slap code in behind it second.   Not the other way around.   Users are given a &#8220;form&#8221; on which they can drag components from the visual component library.   The VCL is a vast palette of components and elements really allowing you to make your program look however you want..   Afterward positioning everything and making the program look &#8220;correct&#8221; you go into each component and add the various bits needed to make them do what you want.  </p>
<p>When it comes to rapid application development, Delphi is king.   It beats VB, VC and Java hands down for easy of program design.  This is my opinion of course and largely an opinion based on my experiences with it years ago.   I don&#8217;t use it any more but I know a lot of folks still do and it&#8217;s doing fairly well..  I also see a lot of elements of Delphi&#8217;s innovated IDE in other IDE&#8217;s out there.. (*cough*Eclipse*cough*)</p>
<p><span id="more-622"></span></p>
<p>So my thought is.. How useful would that be for javascript?  This fits in nicely with a project I&#8217;m doing at work in that some of the same concepts are there..    You have a framework in the background that all this rests on (lets call it a desktop), then on top of that you have delphi like &#8220;forms&#8221; (lets call them viewlets) which are nothing more than a window framework container.  Each viewlet would have components that would be pulled from a common component library that you have positioned how you see fit and now have working how you want.</p>
<p>With jQuery it would be fairly simple to allow for any kind of function definitions; from onclicks to mouseovers.. Custom code would be simple and all of that could easily be serialized into a simple object definition that would be easy to store remotely..</p>
<p>You would need a &#8220;component inspector&#8221; like object that allowed you to edit and change things within a viewlet but once that&#8217;s done you simply disable the component inspector and you&#8217;re off to the races..</p>
<p>There are a lot of good javascript frameworks but they all come at this problem from the other direction.. More over there aren&#8217;t any drag and drop Delphi like application creation tools out there for javascript and certainly not any written entirely in javascript..</p>
<p>For work I am creating a whole new system and I was thinking of how I could keep it easy enough that third party developers could design and create their own viewlets for our system.. That&#8217;s when this whole thing plonked itself into my head..   If you designed it from the onset to be a system that could be entirely dynamically done then it would take very little programming on the part of the third party creator to get something new.. They don&#8217;t even need to know the framework because they could simply drag and drop the components they want onto a form (I have a hard time calling it a viewlet) then you&#8217;d have drop down boxes in the component inspector to attach information to that component..</p>
<p>At that point its just a matter of making your components sophisticated enough to provide the functionality you want..  The other nice thing is your shop goes from being application developers to simply being component developers..  If the framework works, you simply need to continue to develop better and better components..  You aren&#8217;t rewriting the wheel each time you want to make a change..</p>
<p>There would need to be some back end code in place to handle the storage of user generated forms, but all HTML, CSS, JPGS, and Components as well as the window framework and desktop are already written.  They don&#8217;t change. </p>
<p>From a support standpoint it would be nice to give your support folks a way to pop-up some kind of component inspector widget that would allow you to browse components and forms on the fly.. etc.. </p>
<p>I dunno.. its one of those things I was pondering.. I know I wont be allowed to do this for work but it amuses me..</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/delphi-like-idevcl-for-javascript-written-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Theme Update &amp; IE8 aint so bad&#8230;</title>
		<link>http://randomstringofwords.com/theme-update-ie8-aint-so-bad/</link>
		<comments>http://randomstringofwords.com/theme-update-ie8-aint-so-bad/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 18:57:24 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://info.rsow.com/?p=477</guid>
		<description><![CDATA[So I have been plugging away at creating my OS7 theme.. I previously stated that IE8 sucked completely and I have to take that back.   It doesn&#8217;t suck completely.. infact, it sucks a lot less than I realized.. I found that I was using IE8 in &#8220;quirks mode&#8221; and of course it behaved quirky.  My [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_478" class="wp-caption alignright" style="width: 160px"><a rel="lightbox" href="http://rsow.com/wp-content/uploads/2009/06/wpos7.png"><img class="size-thumbnail wp-image-478" title="WPOS7 Screenshot" src="http://rsow.com/wp-content/uploads/2009/06/wpos7-150x150.png" alt="WPOS7 Screenshot" width="150" height="150" /></a><p class="wp-caption-text">WPOS7 Screenshot</p></div>
<p>So I have been plugging away at creating my OS7 theme.. I previously stated that IE8 sucked completely and I have to take that back.   It doesn&#8217;t suck completely.. infact, it sucks a lot less than I realized..</p>
<p>I found that I was using IE8 in &#8220;quirks mode&#8221; and of course it behaved quirky.  My main question is;  What the hell is the point of quirks mode?!  &#8220;Here have our browser in a mode that is completely broken.&#8221;  I just don&#8217;t get it..  I guess quirks mode is basically IE6 as they seem to render similarly.. (I have IE6 on my laptop still for testing purposes..)  If that&#8217;s the case it couldn&#8217;t be better named..</p>
<p>Apparently since I had a misspelling (or something) in my doctype it defaulted to quirksmode.. Once I found that I was in the wrong mode, found out why and fixed it, I started to test my new UI in IE7 and IE8..  It actually works!!  Ever so minor bug in IE7, but its hardly worth mentioning..   IE8 works fine, but a little slow.  er.. in fact, a lot slow..  IE8 ain&#8217;t zippy at all.. <span id="more-477"></span></p>
<p>I think that if Microsoft would focus on speeding up IE8 A LOT and quash the remaining bugs, they&#8217;d have a viable browser.  I fear they have been slack in development because they knew they had the majority of the market share.  Since supposedly soon they will be uncoupling the OS and the browser that market share will wax..</p>
<p>With some of the advances that other browsers are pulling, IE is gonna hurt bad!</p>
<p>As to my theme.. It&#8217;s still not technically a theme.. At this point I am creating the basic window manager windows object and making all the standard stuff work..  So far so good..</p>
<p>What REALLY amuses me is if you use my theme, with F11 poked (fullscreen).. it looks like you&#8217;re in windows 7.  heh At a glance you can&#8217;t tell the difference.. *glee*  I want to further that illusion if at all possible..</p>
<p>On the back end, I need to make WordPress ajaxable in order to pull information.. Supposedly there are already some pretty good wordpress plugins for doing this, but I don&#8217;t know that I want to rely on others work..   I&#8217;ll likely test a few before making a decision but more than likely I&#8217;ll write my own ajax solution which means poking around in the guts of WordPress.. Fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/theme-update-ie8-aint-so-bad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPOS7 WordPress Theme</title>
		<link>http://randomstringofwords.com/theme-wpos7/</link>
		<comments>http://randomstringofwords.com/theme-wpos7/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 21:42:53 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[RSoW.com]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://info.rsow.com/?p=471</guid>
		<description><![CDATA[So I have been using Windows 7 for a while now and I really do like it.  It&#8217;s no Snow Lepoard but it&#8217;s what I have.. heh  Honestly, its not bad at all..  I also have been using wordpress for a goodly while with the same theme &#8220;Microblue&#8221; a theme I created a year ago. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_470" class="wp-caption alignright" style="width: 160px"><a rel="lightbox" href="http://rsow.com/wp-content/uploads/2009/06/newdesign.jpg"><img class="size-thumbnail wp-image-470" title="Wordpress OS7 Theme" src="http://rsow.com/wp-content/uploads/2009/06/newdesign-150x150.jpg" alt="Wordpress OS7 Theme" width="150" height="150" /></a><p class="wp-caption-text">Wordpress OS7 Theme</p></div>
<p>So I have been using Windows 7 for a while now and I really do like it.  It&#8217;s no Snow Lepoard but it&#8217;s what I have.. heh  Honestly, its not bad at all..  I also have been using wordpress for a goodly while with the same theme &#8220;<a title="Microblue Theme" href="http://info.rsow.com/theme-microblue" target="_blank">Microblue</a>&#8221; a theme I created a year ago.</p>
<p>I&#8217;m getting bored with Microblue so its time for a change and I thought it would be fun to combine Windows 7&#8242;s look and feel into a wordpress theme.    This lead me down the road that I had started with my <a title="jQuery Windows" href="http://info.rsow.com/jquery-windows" target="_self">jQuery Windows</a> post and posed an important question;</p>
<p>Do I implement a windows manager within a webpage?    God what a pain in the ass..</p>
<p><span id="more-471"></span>I could easily just create a static theme that looks sorta like windows 7..  Or.. I could create a much bigger and deeper product which would in essence be an entire windows manager..  In a  web browser..  I&#8217;m still pondering the route I want to go..</p>
<p>I&#8217;m not sure wordpress can handle some of the stuff I have in mind.. It would require some back end ajax work in order to take advantage of everything I want to do and I&#8217;m not sure I want to write that part of this..</p>
<p>The other issue here is that I&#8217;m going to be using a LOT of PNG files in order to take advantage of the alpha channel.  So older browsers will have to be waved off..  No matter which way I go this will be true..</p>
<p>I would like to try some effects that I don&#8217;t think you can do yet with PNG&#8217;s.. I want a PNG to be able to blur the image below it.. but I don&#8217;t think you can do that yet..  That will require some research..</p>
<p>I&#8217;m going to be working on this project for a bit outside of wordpress to get the basic look working then work on adding it to wordpress.</p>
<p>&#8212;</p>
<p><strong>Saturday, Jun 20th 2009</strong> &#8211; So I have been working on my initial run at the WPOS7 theme.   I find it painfully ironic that IE8 can&#8217;t display it.  It works perfectly in Firefox and Safari but epic fail in IE.</p>
<p>&#8212;</p>
<p><strong>Sunday, Jun 21st 2009</strong> &#8212; Well I spent the majority of the weekend working on my OS7 theme.  I have gone the windows manager route and am using this experience to learn more about jQuery.. What&#8217;s interesting is since I&#8217;m going this route, I&#8217;ll be able to apply my knowledge to Build Forge and the new UI that we are going to be creating..</p>
<p>It&#8217;s coming along nicely and works perfectly in Safari and Firefox&#8230; And to be honest, its working better than I would have thought..  IE8 is still an epic fail.. I mean dear god.. what a piece of crap..   I&#8217;m going to have to write some special jQuery stuff just to get IE8 working..  Assuming that doesn&#8217;t fail completely too..</p>
<p>I&#8217;m also going the route of writing it such that it will activate those windows that are created by the HTML as well as instancing new ones..   My reasoning behind this is for my work.. I am considering the creation of a new UI that would sit on the existing code base..</p>
<p>We&#8217;ll see.. I want to make this sucker as functional as possible..</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/theme-wpos7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery and Browser based games</title>
		<link>http://randomstringofwords.com/jquery-and-browser-based-games/</link>
		<comments>http://randomstringofwords.com/jquery-and-browser-based-games/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 23:59:43 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[engine]]></category>

		<guid isPermaLink="false">http://info.rsow.com/?p=302</guid>
		<description><![CDATA[I have been playing with the jQuery animate functionality a bit today and it occurred to me that jQuery would likely be the perfect library to build a browser based game on top of.. I did a little browsing about the web, and sure enough.. someone thought of it before me. The games I would [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_303" class="wp-caption alignright" style="width: 166px"><img class="size-full wp-image-303" title="t-and-c-surf-designs" src="http://randomstringofwords.com/wp-content/uploads/2009/03/t-and-c-surf-designs.png" alt="t-and-c-surf-designs" width="156" height="208" /><p class="wp-caption-text">Surfs Up!</p></div>
<p>I have been playing with the jQuery animate functionality a bit today and it occurred to me that jQuery would likely be the perfect library to build a browser based game on top of..</p>
<p>I did a little browsing about the web, and sure enough.. <a href="http://jonraasch.com/blog/jquery-video-game-remake-tc-surf-designs">someone thought of it before me</a>.</p>
<p>The games I would want to create would be less animated than this one.. but I could totally see a Masters of Orion remake as a browser based game using the jQuery library..   Or any number of other turn based games..  You could even make them multiplayer fairly easily..</p>
<p>As computers get faster, and as browser trend towards threaded javascript engines.. Why the hell not?!  At this point I think it would be just as easy/difficult to create a game via a webbrowser as it would via any other medium..</p>
<p><span id="more-302"></span></p>
<p>More over you wouldn&#8217;t have to sell any kind of client.. everyone with a modern computer has a web browser..  You trade having to create a game that works with hundreds of different graphics drivers and computer configurations for having to deal with 5 major browsers that all do things slightly differently, but big deal..  jQuery does most of that nicely, so really you&#8217;re only stuck fixing CSS issues..</p>
<p>As always the trick is in coming up with a game that is compelling enough that others want to play it.  I mentioned Masters of Orion above because I think that&#8217;s likely one of the best games of all time and as such a perfect candidate for remake in this format.</p>
<p>Granted you&#8217;re not going to make the next 3D masterpiece as a browser based game.. but I say good..  Games these days are moving towards looking good with zero game play..  Give me a game that is fun to play any day over the latest wiz-bang graphics.. I think the browser game market is a good place to try this..</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/jquery-and-browser-based-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Windows</title>
		<link>http://randomstringofwords.com/jquery-windows/</link>
		<comments>http://randomstringofwords.com/jquery-windows/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 00:02:11 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://info.rsow.com/?p=282</guid>
		<description><![CDATA[So as part of my on-going exploring and learning of jQuery I want to create a window system.  This will let me explore the wonderful world of jQuery as well as create something functional and useful for my work project. This window system will need to be dragable, droppable, completely resizable via all standard and [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_284" class="wp-caption alignright" style="width: 160px"><a rel="lightbox" href="http://randomstringofwords.com/wp-content/uploads/2009/03/window1.jpg"><img class="size-thumbnail wp-image-284" title="window1" src="http://rsow.com/wp-content/uploads/2009/03/window1-150x150.jpg" alt="Example Windows" width="150" height="150" /></a><p class="wp-caption-text">Example Windows</p></div>
<p>So as part of my on-going exploring and learning of jQuery I want to create a window system.  This will let me explore the wonderful world of jQuery as well as create something functional and useful for my work project.</p>
<p>This window system will need to be dragable, droppable, completely resizable via all standard and expected methods.  It will need to be able to have x number of configurable buttons within the border both left and right, have other customizable data within the top header..</p>
<p>I want to make it so that each window is basically a container, and thus can contain anything.. including other windows.</p>
<p><span id="more-282"></span></p>
<p>Most of these windows will need to be created dynamically completely at run time.  That means no static HTML at all.  But the windows will need to know where to live I suppose.. Users will need to be able to drag the window and the &#8220;desktop&#8221; will either allow free dragging or snapping to place holders..  Not sure the best way to go about this just yet..</p>
<p><a rel="jQueryWindow"></a></p>
<p>Above you should see a window. It doesn&#8217;t know how to pull information from the page yet, but soon it will be able to replace an element within the page with a window of the same information.</p>
<p>The window is a container that already comes with 2 tabs per the window definition (which is defined in json)..</p>
<p>Next is just a plain window with a plain block of text.</p>
<p><a rel="jQueryWindow1"></a></p>
<p>This still doesn&#8217;t work.  It will.. bear with me.</p>
<p>I plan to add the various icons and twisties support soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/jquery-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery Lightbox</title>
		<link>http://randomstringofwords.com/jquery-lightbox/</link>
		<comments>http://randomstringofwords.com/jquery-lightbox/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 20:26:32 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[lightbox]]></category>

		<guid isPermaLink="false">http://info.rsow.com/?p=267</guid>
		<description><![CDATA[I have been playing with the javascript library jQuery for a couple days now.. My intent is to learn the ins and out&#8217;s of it for a project at work.  So far I like what I am seeing. I need to learn a &#8220;best practices&#8221; as there are many ways to do things in jQuery [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_266" class="wp-caption alignright" style="width: 160px"><a rel="lightbox" href="http://randomstringofwords.com/wp-content/uploads/2009/03/rocky-mountains-poster.jpg"><img class="size-thumbnail wp-image-266" title="rocky-mountains-poster" src="http://rsow.com/wp-content/uploads/2009/03/rocky-mountains-poster-150x150.jpg" alt="Lightbox Test" width="150" height="150" /></a><p class="wp-caption-text">Lightbox Test Image</p></div>
<p>I have been playing with the javascript library jQuery for a couple days now.. My intent is to learn the ins and out&#8217;s of it for a project at work.  So far I like what I am seeing.</p>
<p>I need to learn a &#8220;best practices&#8221; as there are many ways to do things in jQuery and I am very likely going about some of it incorrectly..  But, there is only one way to try things and that&#8217;s to jump off the deep end!  So far it&#8217;s cake..  Something I have wanted for my site for a while now was a lightbox implementation.  And while WordPress has quite a few lightbox like plugins, I thought it would be interesting to create my own using jQuery such that ANY link (on any website) with an attribute of rel=&#8221;lightbox&#8221; would be opened as a lightbox.  This is the file I&#8217;m actively developing on;</p>
<pre id="line13"><span class="attribute-value">http://rsow.com/files/jquery.lightbox.js

</span></pre>
<p>And the image above will be my lightbox test image for the time being.  Clicking the image will close the lightbox.<span id="more-267"></span></p>
<p>So far so good!  The lightbox appears to be working nicely.  Clicking the image correctly pulls the &#8220;shade&#8221; (the darker background) and opens a white background over the shade with a &#8220;loading&#8221; gif.  It then loads the image into memory.   Once the image is loaded, it then resizes the white background to the size of the image, and displays the image in the place of the loading image.</p>
<div id="attachment_271" class="wp-caption alignright" style="width: 160px"><a rel="lightbox" href="http://randomstringofwords.com/wp-content/uploads/2009/03/wideimage.jpg"><img class="size-thumbnail wp-image-271" title="wideimage" src="http://rsow.com/wp-content/uploads/2009/03/wideimage-150x150.jpg" alt="Large Wide Image" width="150" height="150" /></a><p class="wp-caption-text">Large Wide Image</p></div>
<p>You most likely wont ever see the loading GIF unless you&#8217;re loading a very large image like the one to the left.  But that brought up a different problem.  What if the image is larger than the screen?</p>
<p>The lightbox will now automatically size the image to fit your screen upon load. If you resize your desktop while the lightbox is displaying it wont adjust itself yet.</p>
<p>At this point the only real pain is remembering to add rel=&#8221;lightbox&#8221; to your anchors.  I&#8217;m sure there is a way to get WordPress to play nice with that regard.. not sure yet.  Also my goal was to make it so that the only thing you would need would be to add jQuery and my jQuery.lightbox files to your site and you&#8217;re good to go. Unfortunately I forgot about the loading graphic.. so you&#8217;ll want that gif too..  And it will need to live at /images/loading.gif   You can use any you like, so long as it&#8217;s there and it isn&#8217;t too large.</p>
<div class="wp-caption alignleft" style="width: 58px"><img title="Loading" src="http://rsow.com/images/loading.gif" alt="Loading GIF" width="48" height="47" /><p class="wp-caption-text">Loading GIF</p></div>
<p>Feel free to use mine..</p>
<p>I want to add some more features to this thing.. I dunno how crazy I&#8217;ll get though.  Comments would be nice on an image by image basis, but not sure how to go about that.  Either I can try to embed the comments in the page in some hidden way and then have jQuery pull them or I could try loading them from a similarily named file that resides next to the image?  I dunno.</p>
<p>I also like the idea of creating other forms of pop-ups / lightbox styles through the use of the rel attribute.  If you use &#8220;lightbox&#8221; it does what it does now, but if you use &#8220;lightbox_zoom&#8221; (or something) it does something else..   I already have other ideas but I dunno how crazy I want to get.</p>
<p>Right now this system has no way to do groups either.. this is purely a singleton solution right now.  I&#8217;d like to add more features but for now it&#8217;s where its at.  I&#8217;m a little stunned at how easy it was to create to be honest.  This bodes very well for jQuery.</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/jquery-lightbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Theme Conversion Update</title>
		<link>http://randomstringofwords.com/theme-conversion-update/</link>
		<comments>http://randomstringofwords.com/theme-conversion-update/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 04:24:22 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[JS/CSS Etc]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ipb]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://info.rsow.com/?p=168</guid>
		<description><![CDATA[Well as some of you know I have been working on a joint WordPress MU and Invision Power Board theme based on the joomla theme Chromatophore.. I thought I would give an update &#8212; It&#8217;s going well all things considered, but its taking me a little longer than I had for seen to get the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-156" style="float: right;" title="Fan Films Forum plus WordPress MU" src="http://info.rsow.com/files/2008/06/fffpluswpmu.gif" alt="" width="150" height="150" />Well as some of you know I have been working on a joint WordPress MU and Invision Power Board theme based on the joomla theme Chromatophore..  I thought I would give an update &#8212; It&#8217;s going well all things considered, but its taking me a little longer than I had for seen to get the color chooser logic working correctly.</p>
<p>You can see my progress here:</p>
<p><a href="http://info.rsow.com/projects/fffredesign/" target="_blank">http://info.rsow.com/projects/fffredesign/</a></p>
<p>I&#8217;ve run into some interesting javascript foibles that I have had to deal with and have also taken this opportunity to start on my own javascript toolbox.</p>
<p><span id="more-168"></span>Every artist has his favorite paintbrush or pens, every carpenter his favorite hammer, and every plumber his favorite ass crack pants..  I&#8217;m using this project to develop my own javascript toolkits.  For now they are largely unfinished and designed to be used for .. well this project.. but it is a start..</p>
<p>With regards to the theme, I&#8217;m working specifically on getting the colorchooser to work.  Right now it doesn&#8217;t choose colors, and I only got the slider/picker cursors to work today.  But only on clicks, you can&#8217;t drag them yet.</p>
<p>I&#8217;m hoping to have it work better than the Chromatophore stuff, and so far the one thing that works better (in my opinion) is the way the chooser slides out.   Firstly from a purely javascript profiling stand point I win hands down;</p>
<p>The Chromatophore theme makes 454 javascript calls to &#8220;slide&#8221; their colorchooser down, where as my version only makes 88 calls..  454 man!  I have no idea what they are doing of course because they obfuscate their code and I don&#8217;t feel like eval&#8217;ing it out and running tidy to figure it out..</p>
<p>My color chooser will also be fixed once down so you can scroll around the page and have the color chooser open to see how your changes work live on the page, instead of having a mini-preview &#8212; right now this isn&#8217;t the case but it will be.</p>
<p>I&#8217;m still very excited about this and working on it.. but this is taking time.</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/theme-conversion-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Javascript Obfuscation</title>
		<link>http://randomstringofwords.com/javascript-obfuscation/</link>
		<comments>http://randomstringofwords.com/javascript-obfuscation/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 02:00:35 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[JS/CSS Etc]]></category>
		<category><![CDATA[BS]]></category>
		<category><![CDATA[obfuscation]]></category>

		<guid isPermaLink="false">http://info.rsow.com/?p=166</guid>
		<description><![CDATA[Code obfuscators will strip out the unnecessary characters like white space, tabs, newlines and comments. The modern flock of javascript obfuscators will also go through and replace every command and variable in the file with some random key that points to an array which then gets eval&#8217;d back out at run time. Generally speaking the [...]]]></description>
			<content:encoded><![CDATA[<p>Code obfuscators will strip out the unnecessary characters like white space, tabs, newlines and comments.  The modern flock of javascript obfuscators will also go through and replace every command and variable in the file with some random key that points to an array which then gets eval&#8217;d back out at run time.  Generally speaking the code you see in an obfuscated javascript file looks like completely gobbledygook which is sorta the point.</p>
<p>My stance on it is simple;  Don&#8217;t do it &#8212; If you ever catch me encoding or obfuscating my javascript, come kick me square in the jimmy..  I simply cannot abide by people who think they need be secretive with javascript..  And lets be completely honest here, that&#8217;s what it&#8217;s about.<span id="more-166"></span></p>
<p>Some folks will try to sling a steaming pile by saying it&#8217;s to shrink the file size for bandwidth purposes, but that&#8217;s crap &#8212; most .jpgs on this site are larger than its javascript.  Most servers gzip everything before sending it to the client anyway so any file size benefits gained by obfuscation is nearly nil &#8212; unless you&#8217;ve written war and peace in the comments of the file.</p>
<p>Javascript obfuscation is purely about power &#8212; People who think they are smart and have done something they want to be noted for obfuscate their code to play the pointless and asinine game of &#8220;knowledge is power&#8221;.  They yammer on about how they don&#8217;t want anyone to &#8220;steal it&#8221; &#8212; which is again a steaming pile of shash..</p>
<p>Obfuscation is at best like a padlock on a door &#8212; &#8220;it keeps the honest people honest&#8221; as my father would say.. if someone wants it their gonna take it.. More over, javascript on some webpage SHOULD be free and open..</p>
<p>Most of these folks fail to realize that they themselves wouldn&#8217;t be able to write the code in the first place if there wasn&#8217;t a &#8220;view source&#8221; button.  Myself included &#8212; And now you&#8217;ve written something you think is so awesome and innovative you need to hide it?!  Douche..</p>
<p>By obfuscating all you&#8217;re doing is refusing to give back to the community and saying &#8220;fuck you&#8221; to the very system that trained you to begin with.  You are stifling innovation in the industry, screwing over the little guy who doesn&#8217;t know as much, and making yourself look like an ass and generally speaking you should hang your head.</p>
<p>All of us are the modern day equivalent to shade tree mechanics.. You wanna know how something works?  Look under the hood..  That&#8217;s the beauty of the system we use.. There are no secrets, and there shouldn&#8217;t be..</p>
<p>Stop it.</p>
]]></content:encoded>
			<wfw:commentRss>http://randomstringofwords.com/javascript-obfuscation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

