<?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>Polymath Workshop</title>
	<atom:link href="http://polymathworkshop.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://polymathworkshop.com</link>
	<description>Polymath Workshop is a web development studio based in Chicago.  We build websites that tell your company&#039;s story.</description>
	<lastBuildDate>Mon, 15 Aug 2011 16:40:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Setting up Ruby on Rails with MAMP</title>
		<link>http://polymathworkshop.com/setting-up-ruby-on-rails-with-mamp/</link>
		<comments>http://polymathworkshop.com/setting-up-ruby-on-rails-with-mamp/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 16:34:15 +0000</pubDate>
		<dc:creator>Jay Margalus</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://polymathworkshop.com/?p=161</guid>
		<description><![CDATA[I just spent about two hours trying to set up Ruby on Rails on my Mac with MAMP. Here&#8217;s a quick and dirty of how to do it for those of you who don&#8217;t feel like going crazy. Follow the installation steps for RoR here: http://wiki.rubyonrails.org/getting-started/installation/mac Edit your MAMP MySQL installation using the steps provided on this website: http://boonedocks.net/mike/archives/175-MAMP-and-the-Ruby-MySQL-Gem.html After you&#8217;ve created<a href="http://polymathworkshop.com/setting-up-ruby-on-rails-with-mamp/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom:15px;">I just spent about two hours trying to set up Ruby on Rails on my Mac with MAMP. Here&#8217;s a quick and dirty of how to do it for those of you who don&#8217;t feel like going crazy. <strong>Follow the installation steps</strong> for RoR here: <a href="http://wiki.rubyonrails.org/getting-started/installation/mac">http://wiki.rubyonrails.org/getting-started/installation/mac</a> <strong>Edit your MAMP MySQL installation</strong> using the steps provided on this website: <a href="http://boonedocks.net/mike/archives/175-MAMP-and-the-Ruby-MySQL-Gem.html">http://boonedocks.net/mike/archives/175-MAMP-and-the-Ruby-MySQL-Gem.html</a> After you&#8217;ve created your first Rails project, locate it on your computer, then <strong>g</strong><strong>o to config/database.yml and enter the following:</strong></p>
<pre>development:
 adapter: mysql
 database: XXX_dev
 username: root
 password: root
 timeout: 5000
 socket: /Applications/MAMP/tmp/mysql/mysql.sock

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
 adapter: mysql
 database: XXX_test
 username: root
 password: root
 timeout: 5000
 socket: /Applications/MAMP/tmp/mysql/mysql.sock

production:
 adapter: mysql
 database: XXX
 username: root
 password: root
 timeout: 5000
 socket: /Applications/MAMP/tmp/mysql/mysql.sock</pre>
<p style="margin-top:15px;">Finally, <strong>follow the steps provided</strong> <a href="http://wiki.rubyonrails.org/getting-started/first-rails-app-walkthrough">here</a> to create your MySQL DB for the project. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://polymathworkshop.com/setting-up-ruby-on-rails-with-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development Tips for Newbies, by Newbies:  Transferring a site to WordPress</title>
		<link>http://polymathworkshop.com/web-development-tips-for-newbies-by-newbies-transferring-a-site-to-wordpress/</link>
		<comments>http://polymathworkshop.com/web-development-tips-for-newbies-by-newbies-transferring-a-site-to-wordpress/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 05:55:30 +0000</pubDate>
		<dc:creator>Dan Margalus</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://polymathworkshop.com/?p=108</guid>
		<description><![CDATA[If you&#8217;ve got a site that could use a little organizing, or if you want to take a static site and turn it into an interactive blog, WordPress provides an excellent (not to mention free) means of doing so. Installation is fairly simple, though you may need to muddle through it the first time. The<a href="http://polymathworkshop.com/web-development-tips-for-newbies-by-newbies-transferring-a-site-to-wordpress/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve got a site that could use a little organizing, or if you want to take a static site and turn it into an interactive blog, WordPress provides an excellent (not to mention free) means of doing so. Installation is fairly simple, though you may need to muddle through it the first time. The WordPress Codex actually contains detailed installation instructions for first-time users, so don&#8217;t panic. Just download the latest version of WordPress and follow the instructions at <em>http://codex.wordpress.org/Installing_WordPress#Detailed_Instructions</em>.</p>
<p><span id="more-108"></span></p>
<p>As an aside, WordPress claims you need an FTP client to use it at all&#8211;this is false. You WILL, however, need an FTP client to get your wordpress blog online. It will transfer your database to an online server, and you&#8217;ll attract visitors to that server with a clever (or not) URL.</p>
<p>&nbsp;</p>
<p>With that out of the way, let&#8217;s get to the actual transfer of this website to WordPress, which will be done entirely offline through a local server until the blog is ready to be posted. I&#8217;m a bit of a beginner with this myself, but I can at least help you avoid some common pitfalls, several of which I had to find the hard way before I performed the transfer the right way.</p>
<p>&nbsp;</p>
<h2>1. The content:</h2>
<p><strong>a. text:</strong> Text is actually easiest to transfer if you take the time to strip its formatting. Copy-pasting the content of a preexisting site directly to WordPress can create awkward breaks in the text, forcing the user to painstakingly edit the pasted text. this method takes an inordinate amount of time, and apart from the aforementioned breaks in the text, it can also land you with some unusable static page links. I initially avoided these problems by transcribing the page content to WordPress, and I saved about ten minutes per page/post by doing so. Incidentally, this was also a great way to take note of any typos or grammatical errors I had made, so it&#8217;s worth the irritation you&#8217;ll through while retyping absolutely everything. That said, there is a quicker, more intelligent way to strip the formatting of a block of text: paste it into Notepad first. Notepad removes the formatting of any piece of text, so a second copy-paste job will give you a more or less finished product.</p>
<p>&nbsp;</p>
<p><strong>b. images:</strong> I&#8217;ll repeat this later as a rule of thumb, but avoid using an image gallery plugin. Just create a devoted image folder and a few sub-folders inside your wordpress theme folder. Use that as your directory and upload entire galleries all at once. It&#8217;s easy, I swear, and you won&#8217;t have any issues with unexpected sidebars popping up or bits of page content sliding out of place. You almost assuredly will have these problems if you rely on a plugin. As for non-gallery images, experiment a little. Web pages are organized in layers, and sometimes you&#8217;ll need to swap between placing images with HTML, Slipping them into the background with CSS, and organizing smaller galleries in WordPress.</p>
<p>&nbsp;</p>
<h2>2. Links:</h2>
<p>Create dynamic links to direct users to the dynamic content of your website. Static HTML links to your local host will be useless once the WordPress blog is online. Yes, I know, they look messy and awkward to a beginner, but you need them. If you&#8217;re still complaining, chin up. If you don&#8217;t know what a dynamic link is/looks like, allow me to help you.</p>
<p>&nbsp;</p>
<p>This is what you&#8217;re doing:</p>
<p>&nbsp;</p>
<p>&lt;a href=&#8221;localhost/mypost.html&#8221;&gt;Link Text Here&lt;/a&gt;</p>
<p>&nbsp;</p>
<p>This is what I want you to do:</p>
<p>&nbsp;</p>
<p>&lt;a href=&#8221;&lt;?php the_permalink&gt;&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;&lt;/a&gt;</p>
<p>&nbsp;</p>
<p>Confused? That&#8217;s okay, for my part, I always thought it was somewhat poetic that every line of php began with a question mark.</p>
<p>&nbsp;</p>
<h2>3. Punctuation:</h2>
<p>Ooh, was that almost a segue? Because now I have to talk about punctuation in HTML. If you&#8217;re just making your first static site, this is no big deal, but presumably you&#8217;ll want your blog to look professional and adhere to some basic standards. I could go into detail, or I could just copy/paste a chart of unusual bits of punctuation that I&#8217;m pretty sure I got off of the W3C site.</p>
<p>&nbsp;</p>
<h3><strong><em>****FLAGRANT COPY/PASTING BEGINS HERE****</em></strong></h3>
<p>&nbsp;</p>
<p><strong>1.  Name/Glyph </strong></p>
<p><strong>2.  HTML entity</strong></p>
<p><strong>3.  Example</strong></p>
<p>&nbsp;</p>
<p>QUOTES AND PRIMES</p>
<p>&nbsp;</p>
<p>1.  Left single quote ‘ and right single quote ’</p>
<p>2.  &amp;lsquo; and &amp;rsquo;‘</p>
<p>3.  Hey, this is a quote!’</p>
<p>&nbsp;</p>
<p>1.  Left double quote “ and right double quote ”</p>
<p>2.  &amp;ldquo; and &amp;rdquo;</p>
<p>3.  ‘Hey, this is a quote“within another” quote!’</p>
<p>&nbsp;</p>
<p>1.  Single prime ′ and double prime ″</p>
<p>2.  &amp;prime; and &amp;Prime;</p>
<p>3.  The girl is 7′10″!</p>
<p>&nbsp;</p>
<p>DASHES</p>
<p>&nbsp;</p>
<p>1.  Em dash —</p>
<p>2.  &amp;mdash;</p>
<p>3.  A break in thought—like this</p>
<p>&nbsp;</p>
<p>1.  En dash –</p>
<p>2.  &amp;ndash;</p>
<p>3.  Ages 2–5</p>
<p>&nbsp;</p>
<p>1.  Hyphen -</p>
<p>2.  -</p>
<p>3.  key front-end developer</p>
<p>&nbsp;</p>
<p>ELLIPSIS</p>
<p>&nbsp;</p>
<p>1.  Ellipsis …</p>
<p>2.  &amp;hellip;</p>
<p>3.  To be continued…</p>
<p>&nbsp;</p>
<p>In addition to these common glyphs, there are numerous others: from the division symbol (÷ or &amp;divide;) to the section symbol (§ or &amp;sect;). If you’re interested in special characters and glyphs, then Wikipedia’s article on “Punctuation” is a good place to start (just keep clicking from there).</p>
<p>&nbsp;</p>
<h3><strong><em>****FLAGRANT COPY/PASTING ENDS HERE****</em></strong></h3>
<p>&nbsp;</p>
<p>Incidentally, here&#8217;s a pro-tip. Never create from scratch what you could legally copy. It&#8217;s just easier that way. Trust me, I tried to do an entire blog on my own when I should have started from a preexisting template. You&#8217;ll save yourself a lot of grief with the organization of divs and the infrastructure of your site, not to mention you&#8217;ll learn php by proxy. There&#8217;s no need to grope around in the dark with your first attempt at a dynamic programming language.</p>
<p>&nbsp;</p>
<p>Other Tips:</p>
<p>&nbsp;</p>
<p>Plugins&#8211;If at all possible, avoid WordPress Plugins. There usually exists a way to get the same job done more elegantly with a decent piece of PHP, with the added bonus of a decreased chance of incompatibility.</p>
<p>&nbsp;</p>
<p>Widgets&#8211;See above reference to plugins.</p>
<p>&nbsp;</p>
<p>Comments&#8211;Use them frequently. You&#8217;ll have so many divs, it&#8217;ll make you dizzy unless you know what they&#8217;re boxing off. Try Something simple like &#8220;container open&#8221; and &#8220;container close&#8221;. Do this for every significant piece of markup or code, or for a large interrelated block of css.</p>
<p>&nbsp;</p>
<p>If your code seems too complicated for the job you&#8217;re attempting to do (5 separate pieces of style, plus an important! tag and some strong-arming with the html just to move an image around), it probably is.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://polymathworkshop.com/web-development-tips-for-newbies-by-newbies-transferring-a-site-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development Tips for Newbies, by Newbies:  Your Work Environment</title>
		<link>http://polymathworkshop.com/web-development-tips-for-newbies-by-newbies-your-work-environment/</link>
		<comments>http://polymathworkshop.com/web-development-tips-for-newbies-by-newbies-your-work-environment/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 17:55:54 +0000</pubDate>
		<dc:creator>Dan Margalus</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[komodo edit]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[notepad++]]></category>
		<category><![CDATA[sublime text]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://polymathworkshop.com/?p=102</guid>
		<description><![CDATA[If you&#8217;re just starting out in web development, there&#8217;s a good chance you don&#8217;t even know what tools are necessary to start making a website. Where does a newbie programmer go from square one? Right off, you&#8217;ll need to set up a private server. Anything you put into a new website, along with any changes<a href="http://polymathworkshop.com/web-development-tips-for-newbies-by-newbies-your-work-environment/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re just starting out in web development, there&#8217;s a good chance you don&#8217;t even know what tools are necessary to start making a website. Where does a newbie programmer go from square one? Right off, you&#8217;ll need to set up a private server. Anything you put into a new website, along with any changes you make later, can be tested offline through this server. You&#8217;ll also need a decent text editor, and by &#8220;decent&#8221; I mean &#8220;not Notepad&#8221;. These two all-important tools, the private server and the text editor, will be the subject of this, my inaugural post. Note that the post will assume that, like me, you are working on a Windows based machine.</p>
<p><span id="more-102"></span></p>
<h2>The server:</h2>
<p>This is still a bit of a mystery subject to me. I only began making websites recently, and the differences between servers still elude my understanding. That said, it&#8217;s easy enough to see roughly what a server does as a consequence of the languages it supports. Everything I&#8217;ve seen has at least a basic HTML interface and CSS compatibility (no, really?), but the rest is more than just icing on the cake.</p>
<h3><strong>1. Xampp:</strong></h3>
<p>This is the server solution I&#8217;ve been using for my own websites. It has worked reliably for both static pages (which any server should be able to handle) and wordpress blogs. And since my experience is limited to HTML, CSS, and PHP, this is a perfectly usable server setup for me or indeed any beginner. It&#8217;s also cross-platform, meaning that if I ever swap my Windows laptop for a Macbook, I won&#8217;t have to adjust to a new server until I&#8217;ve learned more advanced programming languages.</p>
<h3><strong>2&amp;3:</strong></h3>
<p>These sections used to hold descriptions of Mongrel and Nginx, until I realized that they are web servers, not local servers, and that they are therefore not so useful for the initial creation of a website. It might be more useful, however, to explain Xampp&#8217;s cousins, the WAMP family of programs. These are actually packages designed to run on Windows operating systems and help in the construction of a website. At their most basic, they combine a server (Apache), a database manager (MySQL), and one of three programming languages (PHP, Perl, or Python) into a single program. They are very user-friendly, providing all the infrastructure for a website without the need for any legwork on the part of the programmer. As it happens, Xampp uses both PHP and Perl. It&#8217;s what I started with, and it&#8217;s what I&#8217;ll recommend.</p>
<h2>The text editor:</h2>
<p>about anything will get the job done, but your choice of text editor will be a matter of personal preference. Do you want to see more of your text at once, or do you need the individual characters to be larger and more visible? Is a white background A-OK with you, or do you want the option to easily swap to a darker, less abrasive color scheme? It&#8217;s all a matter of taste, with one notable exception: Notepad is for chumps. The following are all superior to Notepad by far, and they are entirely free.</p>
<h3><strong>1. NetBeans</strong></h3>
<p>The first text editor to which I was introduced is not necessarily the best, even for a beginner. It has a simple setup, with decently colorful text to differentiate between HTML tags, attributes, conditions and what have you, but that&#8217;s about it. There is no option to divide your screen, which would make it easier to handle even a basic HTML/CSS page by keeping both types of files on screen at once. Also, I&#8217;m not personally a fan of white backgrounds. I thought this was a fairly big issue in usability. Maybe we&#8217;re not all using the same backlit screens we were in the 90&#8242;s, but stark white is still painful to human eyes. Skip to the next two recommendations.</p>
<h3><strong>2. Sublime Text</strong></h3>
<p>Ahh, that&#8217;s more like it. A charcoal background and numerous neon-colored fonts for differentiation come standard here, and there are more options for that under the preferences menu. Font size is also easily changed, and the screen can be divided into numerous columns, rows, or a 4-quadrant grid. Add to that a simple, unobtrusive interface and it seems like this should be the perfect overall editor. Unfortunately, the text can only be shrunk down so far, and that makes for awkwardly wrapping text once the screen is divided into two or more columns. Code begins to look awfully messy when there are breaks in the text that a user didn&#8217;t put there. Also, Sublime Text is technically free to use, but every now and again a pop-up appears reminding the user to go and purchase the retail version. It gets annoying after a while, but I still recommend the text editor with very few caveats.</p>
<h3><strong>3. Komodo Edit</strong></h3>
<p>The initial interface of Komodo Edit is not that great. A white background and text colors ranging through different shades of blue don&#8217;t exactly help a newbie coder retain their focus. However, darker schemes are readily available through the Preferences menu and online. I prefer the downloadable &#8220;Twilight&#8221; color scheme (insert your own vampire joke here), which shrinks the text significantly for use with multiple columns and utilizes both a dark background and light, readable colors. Ever stared at a text editor for so long that your vision blurred and your will to work dissipated? That won&#8217;t happen quite so easily with Komodo Edit under the Twilight setting. The interface is slightly more obtrusive than that of Sublime Text, as the on-screen dividers and menus contrast with the actual text field and keep the user mentally anchored to their operating system. It&#8217;s really not so bad though, and I&#8217;ve yet to receive a single irritating &#8220;buy the full version&#8221; pop-up. This editor also comes highly recommended.</p>
<h3><strong>4.Notepad++</strong></h3>
<p>Remember what I said about Notepad being for chumps? That&#8217;s still true, but apparently those two little plus signs make all the difference in the world. Notepad++ is a far superior program that I would classify as a blank canvas in comparison to the mostly prepackaged editors mentioned above. It can be customized to have all of the positive functions (split screen, dark theme, text differentiation) as all the others and then some. Notepad++ makes it easy to stay organized, too, creating collapse/expand points wherever you&#8217;ve hit the enter key. This is a very tempting package, and if you&#8217;ve got the patience for it you can create a work space custom tailored to your needs, but I still can&#8217;t recommend it for first time programmers. It&#8217;s difficult to customize the first time through, it&#8217;s buggy, and the initial settings are pretty useless for coding.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://polymathworkshop.com/web-development-tips-for-newbies-by-newbies-your-work-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CueCat Decrypter</title>
		<link>http://polymathworkshop.com/cuecat-decrypter/</link>
		<comments>http://polymathworkshop.com/cuecat-decrypter/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 16:35:17 +0000</pubDate>
		<dc:creator>Jay Margalus</dc:creator>
				<category><![CDATA[hobby projects]]></category>

		<guid isPermaLink="false">http://polymathworkshop.com/?p=163</guid>
		<description><![CDATA[I wrote a :CueCat decrypter for Workshop 88 based on the following scheme: A B C 0 C3 n Z 1 CN j Y 2 Cx f X 3 Ch b W 4 D3 D 3 5 DN z 2 6 Dx v 1 7 Dh r 0 8 E3 T 7 9 EN P<a href="http://polymathworkshop.com/cuecat-decrypter/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p>I wrote a :CueCat decrypter for Workshop 88 based on the following scheme:</p>
<table border="1" cellpadding="5">
<tbody>
<tr>
<td></td>
<td>A</td>
<td>B</td>
<td>C</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>0</td>
<td>C3</td>
<td>n</td>
<td>Z</td>
</tr>
<tr>
<td>1</td>
<td>CN</td>
<td>j</td>
<td>Y</td>
</tr>
<tr>
<td>2</td>
<td>Cx</td>
<td>f</td>
<td>X</td>
</tr>
<tr>
<td>3</td>
<td>Ch</td>
<td>b</td>
<td>W</td>
</tr>
<tr>
<td>4</td>
<td>D3</td>
<td>D</td>
<td>3</td>
</tr>
<tr>
<td>5</td>
<td>DN</td>
<td>z</td>
<td>2</td>
</tr>
<tr>
<td>6</td>
<td>Dx</td>
<td>v</td>
<td>1</td>
</tr>
<tr>
<td>7</td>
<td>Dh</td>
<td>r</td>
<td>0</td>
</tr>
<tr>
<td>8</td>
<td>E3</td>
<td>T</td>
<td>7</td>
</tr>
<tr>
<td>9</td>
<td>EN</td>
<td>P</td>
<td>6</td>
</tr>
</tbody>
</table>
<p>You should check it out <a href="http://www.polymathworkshop.com/cuecat">here</a>, where I&#8217;ve also included the process.php file for download. I&#8217;ll be working on additional features in the future, including product listing and price comparisons.</p>
]]></content:encoded>
			<wfw:commentRss>http://polymathworkshop.com/cuecat-decrypter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

