<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
<title>MarcGrabanski.com - Jack of All Trades Web Development</title>
<link>http://marcgrabanski.com</link>
<description>Sharing my web development career knowledge so you can do more. Frequently covers jQuery/JavaScript, HTML/HTML5 and CSS.</description>
<language>en-us</language>
<pubDate>Thu Sep 02 09:43:53 -0700 2010</pubDate>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/allTrades" /><feedburner:info uri="alltrades" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>allTrades</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
<title>Happy News on The jQuery Course</title>
<description>&lt;p&gt;It has been almost three months since I first released my &lt;a href="http://marcgrabanski.com/articles/the-jquery-course-prerelease"&gt;Prerelease of The jQuery Course&lt;/a&gt;. I feel I owe it to everyone to talk about the development of the course. Happily all the news is good news!&lt;/p&gt;
&lt;h2&gt;Signing on Karl Swedberg as Editor&lt;/h2&gt;
&lt;p&gt;Over the next month, I will be finishing the course with Karl Swedberg as editor. He is the author of the &lt;a href="https://www.packtpub.com/learning-jquery-1.3/book?mid=220409c024ep"&gt;Learning jQuery Book&lt;/a&gt; and also the creator of the &lt;a href="http://www.learningjquery.com"&gt;Learning jQuery blog&lt;/a&gt;. The latest guest post was me writing an exhaustive list on his blog on the &lt;a href="http://www.learningjquery.com/2010/07/great-ways-to-learn-jquery"&gt;ways to learn jQuery&lt;/a&gt;. You can see I&amp;#8217;ve done my homework ;)&lt;/p&gt;
&lt;h2&gt;100% Satisfaction&lt;/h2&gt;
&lt;p&gt;So far, 100% of the people who have bought it have learned and enjoyed the content so far, with only giving one person&amp;#8217;s money back because it took me so long to release the rest of the course content. But obviously he liked the content, just wanted more. So, I&amp;#8217;ll stick to the fact that 100% satisfied customers is a good thing. I believe the price was right for the 61 minutes of video that is there and the promise of more content in the future is icing on the cake.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#8220;Just a quick email to say I am loving the jQuery course I think you have a great teaching style. The format is also good I like the fact I can ask questions. &amp;quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#8220;If you’re on the fence about this, I can recommend it (I purchased it immediately). I found the section on ‘context’ immediately useful. Also, if you’re not using Firebug and working with the console then this first series will be so worth it.&amp;#8221;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#8220;Great work; I can’t wait for the rest.&amp;#8221;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Most of the content so far is geared towards beginners so I have more up my sleeve for the rest of the course. If you are a beginner, I feel comfortable telling you it is worth the $25. Click here if you want to &lt;a href="http://bit.ly/jquery-course-prerelease"&gt;buy it&lt;/a&gt;. For those of you who are fairly advanced in jQuery already, I am planning to unfold some of the missing pages in your jQuery journey during the final release of the course.&lt;/p&gt;
&lt;h2&gt;Why Are You Still Doing This?&lt;/h2&gt;
&lt;p&gt;There has been an influx of more training courses out there, frankly they are all over the place by now&amp;#8230; even free ones! So you may ask why I am I still doing this? I still believe I have a different take since I&amp;#8217;ve done &lt;strong&gt;so much&lt;/strong&gt; work with jQuery on so many different client projects since the very beginnings of jQuery. I&amp;#8217;ve known most of the core team members, spoken at most of the official jQuery events and can teach you the philosophies behind why you are using jQuery and what are the practical things you need to know to become successful with jQuery.&lt;/p&gt;
&lt;p&gt;Oh, and fun fact.. my jQuery Essentials slideshow became the &lt;a href="http://www.slideshare.net/search/slideshow?q=jquery"&gt;#1 most favorited slideshow on slideshare for jQuery&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Release Date of The jQuery Course&lt;/h2&gt;
&lt;p&gt;Over the next month I will be rerecording a few things based on some feedback. The introduction section needs to cover more and I need to re-film the entrance (people said I sound mad, lol). Also people said it would be helpful to have better transitions instead of quickly switching topics. There was no really bad feedback though, so like I said everyone has learned something from it. I truly believe I have a lot of great things to teach you.. so onward!!&lt;/p&gt;
&lt;p&gt;The release date for the final course has been set for mid next month.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=KNemaR4HOJw:_pb3GyLbizo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=KNemaR4HOJw:_pb3GyLbizo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?i=KNemaR4HOJw:_pb3GyLbizo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
<link>http://feedproxy.google.com/~r/allTrades/~3/KNemaR4HOJw/news-the-jquery-course</link>
<guid isPermaLink="false">http://marcgrabanski.com/articles/news-the-jquery-course</guid>
<author>Marc Grabanski</author>
<pubDate>2010-08-20 16:55:47 UTC</pubDate>
<feedburner:origLink>http://marcgrabanski.com/articles/news-the-jquery-course</feedburner:origLink></item>
<item>
<title>Increase Productivity Through the Mission</title>
<description>&lt;p&gt;One area a lot of us developers like to worry about is personal productivity tools. Sometimes this can be a good area to explore, but in general, I think about all the time I&amp;#8217;ve wasted on trying out all these things.&lt;/p&gt;
&lt;h2&gt;Reasons for Trying Out New Productivity Tools&lt;/h2&gt;
&lt;p&gt;A. I like trying new things (which is probably just fine)&lt;br /&gt;
B. My current tool is insufficient&lt;br /&gt;
or unfortunately more often I think it is probably C. I&amp;#8217;ve usually lost site of the underlying driving factors &amp;#8212; which I&amp;#8217;m referring to as &amp;#8220;The Mission&amp;#8221;.&lt;/p&gt;
&lt;h2&gt;The Key to Productivity&lt;/h2&gt;
&lt;p&gt;The first, biggest key to productivity is to define your underlying philosophy of why you do what you do.. and what you love. What you want to be the best at and what areas you want to grow in. You will discover that the best tools for the job will come to you through discovery when you feel you need something better. Write out these things and refer to it often as, &amp;#8220;The Mission&amp;#8221; or the driving force behind what you are doing.&lt;/p&gt;
&lt;h2&gt;Low Level Task Management&lt;/h2&gt;
&lt;p&gt;Task management is a low-level function. Between using gmail labels such a  &amp;#8220;notifications, open conversations, open work (new oportunities) and todo&amp;#8221; combined with a &lt;span class="caps"&gt;GTD&lt;/span&gt; app pretty much solve organizing importance on a task and conversational level. The tools are in place to solve this low-level action of processing through tasks.&lt;/p&gt;
&lt;h2&gt;High Level &amp;#8220;Why&amp;#8221; Finding&lt;/h2&gt;
&lt;p&gt;The time I spend thinking about the underlying philosophies is actually solving things a much higher level than the applications and tools.&lt;/p&gt;
&lt;p&gt;If you want to be more productive, find out why you are doing it. If you get that far then if you find yourself consistently seeking the right productivity tools then you probably are spending your time on the wrong thing and have worn out your passions and lost sight of the &amp;#8220;why&amp;#8221; and are now focusing on the &amp;#8220;how&amp;#8221; when time would be better spend deriving passion from the why.&lt;/p&gt;
&lt;h2&gt;Productivity Tools&lt;/h2&gt;
&lt;p&gt;I think when I&amp;#8217;m most productive I&amp;#8217;m thinking less about my tools and more about what I want to accomplish. My tools revert to a piece of paper or whiteboard and I &lt;strong&gt;forget&lt;/strong&gt; to use all my tools that I was using when I lost sight of the &amp;#8220;why&amp;#8221;. Tools such as &lt;span class="caps"&gt;GTD&lt;/span&gt; tools are great on a per-task basis, but don&amp;#8217;t let them take your sight off the overall mission.&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Prioritize your actions according to the mission.&lt;/p&gt;
&lt;p&gt;Next time you are wasiting time on your tools, try saying this: &amp;#8220;Hey tool! Get behind my mission or else your new home will be in the trash bin!&amp;#8221; Then go sip some tea and cultivate your passions derived from the underlying mission. After that it will be much easier to produce in the area you are thinking about.&lt;/p&gt;
&lt;p&gt;Paul Graham has a great writeup that taps on the &amp;#8220;why&amp;#8221; side of the fence titled, &lt;a href="http://www.paulgraham.com/ideas.html"&gt;Ideas for Statups&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=Ok5GBCAc9Rc:C0Sossh6vKw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=Ok5GBCAc9Rc:C0Sossh6vKw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?i=Ok5GBCAc9Rc:C0Sossh6vKw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
<link>http://feedproxy.google.com/~r/allTrades/~3/Ok5GBCAc9Rc/increase-productivity-mission</link>
<guid isPermaLink="false">http://marcgrabanski.com/articles/increase-productivity-mission</guid>
<author>Marc Grabanski</author>
<pubDate>2010-08-12 20:53:55 UTC</pubDate>
<feedburner:origLink>http://marcgrabanski.com/articles/increase-productivity-mission</feedburner:origLink></item>
<item>
<title>Organizing and Sharing Knowledge</title>
<description>&lt;p&gt;This article is the all-encompassing thought train of me wrestling with the overarching concept of organizing and sharing knowledge online. I&amp;#8217;m building an application that deals with these very concepts, so consider this market research that you get to listen to and take part in via the comments.&lt;/p&gt;
&lt;h2&gt;Mentioned Services&lt;/h2&gt;
&lt;p&gt;If you are just a passer-by person then check out these services, I go into more detail about their use below.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Link sharing: &lt;a href="http://delicious.com"&gt;Delicious&lt;/a&gt;, &lt;a href="http://digg.com"&gt;Digg&lt;/a&gt;, &lt;a href="http://www.reddit.com/"&gt;Reddit&lt;/a&gt;, &lt;a href="http://twitter.com"&gt;Twitter&lt;/a&gt; and &lt;a href="http://new.digg.com/"&gt;New Digg&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Read links later: &lt;a href="http://www.instapaper.com/"&gt;Instapaper&lt;/a&gt; and &lt;a href="http://readitlaterlist.com/"&gt;Read It Later&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Link curation: &lt;a href="http://chirplinks.com/"&gt;Chirp links&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Blogging: &lt;a href="http://wordpress.org/"&gt;WordPress&lt;/a&gt;, &lt;a href="https://www.blogger.com/"&gt;Blogger&lt;/a&gt; and &lt;a href="http://www.tumblr.com"&gt;Tumbler&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Image sharing: Facebook, &lt;a href="http://picasa.google.com/"&gt;Google Picasa&lt;/a&gt; and Flickr&lt;/li&gt;
	&lt;li&gt;Audio Sharing: &lt;a href="http://soundcloud.com/"&gt;Sound Cloud&lt;/a&gt;, Last.fm and Myspace&lt;/li&gt;
	&lt;li&gt;Video sharing: YouTube and Vimeo&lt;/li&gt;
	&lt;li&gt;Document syncing and selective sharing: &lt;a href="https://www.dropbox.com/referrals/NTI0MDYyMDU5"&gt;Dropbox&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Document sharing: &lt;a href="http://www.scribd.com/"&gt;Scribd&lt;/a&gt;, &lt;a href="http://www.docstoc.com/"&gt;Docstoc&lt;/a&gt; and &lt;a href="http://www.slideshare.net"&gt;Slideshare&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Groups of Documents Sharing: &lt;a href="http://drop.io/"&gt;Drop.io&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Desktop to Web: &lt;a href="http://www.getcloudapp.com/"&gt;Cloud App&lt;/a&gt; and &lt;a href="http://skitch.com"&gt;Skitch&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Personal organization and pseudo sharing: &lt;a href="http://www.google.com/notebook"&gt;Google Notebook&lt;/a&gt; and &lt;a href="http://www.evernote.com/"&gt;Evernote&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;What do we organize and share online?&lt;/h2&gt;
&lt;p&gt;There are a few things that a person shares online. When I think of the types of things I share, they are: links, original written content, documents, images, video and music. I rarely share music and with videos I upload them to YouTube and share them with a link. So, for me what I want to really tackle is sharing links, images, writings and documents.&lt;/p&gt;
&lt;h2&gt;What do we do with links?&lt;/h2&gt;
&lt;p&gt;When I think about how a person creates and shares links, Twitter, blogging and &lt;a href="http://delicious.com"&gt;Delicious&lt;/a&gt; come to mind. Delicious is probably more a personal bookmark management system that is synced online than it is sharing, but I do know people who publish the &lt;span class="caps"&gt;RSS&lt;/span&gt; feed of their bookmarks online. Also, delicious popular is a good way to find popularly bookmarked links. So this service is incredibly important for organizing links. It must be considered the default way to use bookmarks aside from simply bookmarking in the browser.&lt;/p&gt;
&lt;p&gt;Another link sharing service that comes to mind is &lt;a href="http://digg.com"&gt;Digg&lt;/a&gt; and &lt;a href="http://www.reddit.com/"&gt;Reddit&lt;/a&gt;. These are all link sharing services at heart, with the added feature of voting them up and commenting on the links. Really, I don&amp;#8217;t see any difference between digg and delicious other than where the focus is put on. Digg was created as a social news site. Well, delicious could have been the same thing had they had commenting, voting and a home page that featured it.&lt;/p&gt;
&lt;p&gt;Twitter is also great for sharing links, but only one link at a time. I now find more useful links through twitter than anywhere else at this point throughout each day. Simply because I follow people who share content that is interesting to me. Currently there is no way to vote up the usefulness of a tweet, but in reality you are voting on the usefulness of all tweets by a single person with your follow.&lt;/p&gt;
&lt;p&gt;There is no way to really go back and find the best links through twitter other than looking at number of retweets, so I see there is room for someone to create a better service around links and link discovery for twitter &amp;#8212; &lt;a href="http://chirplinks.com/"&gt;Chirp links&lt;/a&gt; is trying to do this. Then there is the &lt;a href="http://new.digg.com/"&gt;new Digg&lt;/a&gt; which is trying to be social sharing of useful links, basically Twitter without the middle noise.&lt;/p&gt;
&lt;p&gt;The final point way we deal with links is to save them to read later. &lt;a href="http://www.instapaper.com/"&gt;Instapaper&lt;/a&gt; and &lt;a href="http://readitlaterlist.com/"&gt;Read It Later&lt;/a&gt; are two great services for this.&lt;/p&gt;
&lt;h2&gt;What do we do with writings?&lt;/h2&gt;
&lt;p&gt;Blogging (WordPress and Blogger) is the most prevalent way to share your own writings online. The shortened (micro blogging) form of this is Twitter, which is obviously picking up a ton of steam.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.tumblr.com/"&gt;Tumbler&lt;/a&gt; sits right in the middle of Twitter and Blogging. I don&amp;#8217;t really see it as blogging, I see it more as simplified sharing. I know there are people who use Tumbler to blog, but more often I just see it as a way to drop in a link and write a paragraph about it. That is what almost all tumbler blogs I see are. A little longer than Twitter, but less than a traditional blog.&lt;/p&gt;
&lt;h2&gt;Sharing collaborative writings&lt;/h2&gt;
&lt;p&gt;The way many people are able to write together is usually through a wiki. Wikis are great for documenting open source projects. jQuery uses a wiki and so does most projects. It just a natural way to see edits that a group of people are making to a series of writings.&lt;/p&gt;
&lt;p&gt;A relatively new way of sharing writings is to publish it on github. With github, anyone can download that content, make edits and submit a pull request. The github team used this to have their ebook translated into a ton of languages.&lt;/p&gt;
&lt;h2&gt;What do we do with images?&lt;/h2&gt;
&lt;p&gt;Facebook, I believe, has become the primary source of sharing images online. I think it has pretty much become a photo sharing website at this point with the ability to play social games as well. Flickr is specifically for photo sharing and has received tremendous growth. I hear Google&amp;#8217;s Picasa is great for photo sharing as well.&lt;/p&gt;
&lt;h2&gt;How do we share audio?&lt;/h2&gt;
&lt;p&gt;I&amp;#8217;m not too familiar with audio sharing, but I imagine myspace is the leader. I&amp;#8217;ve been hearing a lot about Sound Cloud as well. Itunes would be the biggest paid audio player. Last.fm is great for sharing your musical preferences with others.&lt;/p&gt;
&lt;h2&gt;How do we share video?&lt;/h2&gt;
&lt;p&gt;Of course YouTube and Vimeo are huge players in the video sharing space. There is a new class of applications for sharing paid videos, but those services are far less mature than YouTube and Vimeo.&lt;/p&gt;
&lt;h2&gt;What do we do with documents?&lt;/h2&gt;
&lt;p&gt;First and foremost I think of &lt;a href="https://www.dropbox.com/referrals/NTI0MDYyMDU5"&gt;Dropbox&lt;/a&gt; (referral link, I get extra storage if you sign up) when I think of documents. With dropbox, you can keep your files up to sync and share folders with other people. This is more of an organizing activity though and not really for public sharing.&lt;/p&gt;
&lt;p&gt;Of course Google Docs comes to mind again, this is a great service for both storing and editing documents. But again, I don&amp;#8217;t see people tweeting out google doc links. Usually it is shared on a private mailing list or by email.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://drop.io"&gt;Drop.io&lt;/a&gt; is great for taking a bunch of documents, putting them in a group and sharing folders online. I kind of see it as a public Dropbox. Except there is no way to keep your drop.io folders synced on your desktop. Everything is done through a web app. I have seen drop.io links be shared in blog articles, twitter and via email.&lt;/p&gt;
&lt;p&gt;The most prevalent ways of sharing documents would be &lt;a href="http://www.scribd.com/"&gt;Scribd&lt;/a&gt;, &lt;a href="http://www.docstoc.com/"&gt;Docstoc&lt;/a&gt; and I&amp;#8217;d also include &lt;a href="http://www.slideshare.net/"&gt;Slideshare&lt;/a&gt; in this as well. The great thing about these services is that you can preview and download a page at a time rather than having to store the entire document on your computer at one time. There is also the social aspects as well. I see people embedding and sharing scribd and slideshare links quite often.&lt;/p&gt;
&lt;p&gt;The final way is email which is very personal, has no collaboration aspects.. it is mostly for historical reference and one-offs.&lt;/p&gt;
&lt;h2&gt;Personally managing all of these things&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://www.google.com/notebook"&gt;Google Notebook&lt;/a&gt; and &lt;a href="http://www.evernote.com/"&gt;Evernote&lt;/a&gt; both come to mind when I think of organizing information. Both applications have the ability to write notes, organize them into notebooks and use a rich text editor to edit the contents. They both feature searching across all your notes. Google Notebook doesn&amp;#8217;t allow you to upload documents, but Evernote does. Evernote also OCRs your images to extract text from pictures you take. Very useful for mobile. I believe Google Goggles is also doing something similar. I wouldn&amp;#8217;t be surprised if Google Goggles integrated with Google Notebook soon.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#8220;When publishing a notebook that contains content from websites, please remember to respect the hard work (and legal rights) of the people that created the content. Publishing a notebook is the same as creating your own web page — don&amp;#8217;t include content in your notebook that you couldn&amp;#8217;t legally publish on your own webpage.&amp;#8221;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You can take a Google Notebook or Evernote Notebook and share it online. It converts that notebook to a webpage. I&amp;#8217;m surprised I haven&amp;#8217;t seen more of these links online.&lt;/p&gt;
&lt;h2&gt;Sharing things from your desktop&lt;/h2&gt;
&lt;p&gt;There are only a few services that let you share things from your desktop. The Mac-only &lt;a href="http://www.getcloudapp.com/"&gt;Cloud App&lt;/a&gt; is probably the only service out there like this. You can just drop in a file, link, anything and it publishes out to a publicly available shared link. You can make each thing public or private.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://skitch.com"&gt;Skitch&lt;/a&gt; is worth mentioning too, because for images you can edit and then share them quickly.&lt;/p&gt;
&lt;h2&gt;Building the future of organizing and sharing&lt;/h2&gt;
&lt;p&gt;Over the last eight months I&amp;#8217;ve tried to hash out all of these ways of sharing and making knowledge available to be shared with others. The concept of sharing knowledge with each other is incredibly important to me. I did create a little prototype that was shown to some angel investors and they gave me funding for round two. Hopefully in a month or so the team I have put together for this can have a publicly available way to share and organize information as the first step of many towards making a better way to organize your information and share it with the people that you want to share with.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=KMDvxj9TEbc:05wAxfxMc68:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=KMDvxj9TEbc:05wAxfxMc68:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?i=KMDvxj9TEbc:05wAxfxMc68:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
<link>http://feedproxy.google.com/~r/allTrades/~3/KMDvxj9TEbc/organizing-and-sharing-knowledge</link>
<guid isPermaLink="false">http://marcgrabanski.com/articles/organizing-and-sharing-knowledge</guid>
<author>Marc Grabanski</author>
<pubDate>2010-08-05 17:57:23 UTC</pubDate>
<feedburner:origLink>http://marcgrabanski.com/articles/organizing-and-sharing-knowledge</feedburner:origLink></item>
<item>
<title>Groovy JSON String Escape Quote Nightmare</title>
<description>&lt;p&gt;The project I&amp;#8217;m working on at the moment is in Groovy. In order to set &lt;span class="caps"&gt;JSON&lt;/span&gt; on page load, you have to escape either single quotes or double quotes.&lt;/p&gt;
&lt;div class="CodeRay"&gt;
  &lt;div class="code"&gt;&lt;pre&gt;&lt;span class="kw"&gt;var&lt;/span&gt; myJSON = &lt;span class="s"&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="k"&gt;this is the cat&lt;/span&gt;&lt;span class="ch"&gt;\'&lt;/span&gt;&lt;span class="k"&gt;s first day in Marc&lt;/span&gt;&lt;span class="ch"&gt;\'&lt;/span&gt;&lt;span class="k"&gt;s house&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;/span&gt;; &lt;span class="c"&gt;// JavaScript string&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;With groovy, you can cast something as &lt;span class="caps"&gt;JSON&lt;/span&gt; and set it to the view pretty easily.&lt;/p&gt;
&lt;div class="CodeRay"&gt;
  &lt;div class="code"&gt;&lt;pre&gt;&lt;span class="c"&gt;// setting JSON object to view in grails&lt;/span&gt;
&lt;span class="kw"&gt;def&lt;/span&gt; myObject = [
  &lt;span class="ke"&gt;id&lt;/span&gt;: id,
  &lt;span class="ke"&gt;foo&lt;/span&gt;: foo
]
[&lt;span class="ke"&gt;myObject&lt;/span&gt;: myObject &lt;span class="kw"&gt;as&lt;/span&gt; JSON]&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In the view, you can use jQuery&amp;#8217;s parseJSON method to set the myJSON object from your server-side method.&lt;/p&gt;
&lt;div class="CodeRay"&gt;
  &lt;div class="code"&gt;&lt;pre&gt;&lt;span class="c"&gt;// turning Groovy JSON object into JavaScript JSON in view&lt;/span&gt;
&lt;span class="kw"&gt;var&lt;/span&gt; myJSON = &lt;span class="pd"&gt;$&lt;/span&gt;.parseJSON(&lt;span class="s"&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="k"&gt;${myObject}&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;/span&gt;);&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The problem comes when you have single quotes inside that &lt;span class="caps"&gt;JSON&lt;/span&gt; string.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#8220;Strings are &lt;span class="caps"&gt;CON&lt;/span&gt;-&lt;span class="caps"&gt;FUSE&lt;/span&gt;-&lt;span class="caps"&gt;ING&lt;/span&gt; in groovy- I just want to print a dang backslash-quote &amp;#8220;\&amp;#8217;&amp;#8221; nope try again.. &amp;#8216;\\&amp;#8217;&amp;quot; ..nope &amp;#8220;\\\&amp;#8217;&amp;#8221; ..nope.. &amp;#8216;\\\\&amp;#8217;&amp;#8217; ..?&amp;quot; &amp;#8211; &lt;a href="http://twitter.com/1Marc/status/19722616677"&gt;2AM Tweet frustration&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I looked up countless articles, and found out that it is not actually strings that are a deal. With Groovy, you have to use four slashes &lt;code&gt;s.replaceAll("'", "\\\\'")&lt;/code&gt;. See, &lt;a href="http://blog.adaptivesoftware.biz/2009/06/slashy-strings-in-groovy.html"&gt;Slashy Strings in Groovy&lt;/a&gt;. This is also outlined in a forum thread where people were complaining about Java itself, &lt;a href="http://www.velocityreviews.com/forums/t152246-string-replaceall-troubles-with-regex.html"&gt;String.replaceAll troubles with regEx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is great if you want to print out a normal string:&lt;/p&gt;
&lt;div class="CodeRay"&gt;
  &lt;div class="code"&gt;&lt;pre&gt;&lt;span class="c"&gt;// string replace single quote with backslash-quote in groovy&lt;/span&gt;
&lt;span class="kw"&gt;def&lt;/span&gt; myString = &lt;span class="s"&gt;&lt;span class="dl"&gt;&amp;quot;&lt;/span&gt;&lt;span class="k"&gt; the dog's tail is being chased more' quotes' 09' 10' &lt;/span&gt;&lt;span class="dl"&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
myString = myString.replaceAll(&lt;span class="s"&gt;&lt;span class="dl"&gt;&amp;quot;&lt;/span&gt;&lt;span class="k"&gt;'&lt;/span&gt;&lt;span class="dl"&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;, &lt;span class="s"&gt;&lt;span class="dl"&gt;&amp;quot;&lt;/span&gt;&lt;span class="ch"&gt;\\&lt;/span&gt;&lt;span class="ch"&gt;\\&lt;/span&gt;&lt;span class="k"&gt;'&lt;/span&gt;&lt;span class="dl"&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;)&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;But won&amp;#8217;t work is if you try to cast that object &lt;code&gt;as JSON&lt;/code&gt;. I tried to do this inside an object and cast it &lt;code&gt;as JSON&lt;/code&gt; then the once I set it to the view, \&amp;#8217; doesn&amp;#8217;t print out.&lt;/p&gt;
&lt;p&gt;If you have a solution for this great, but I solved my problem by getting the &lt;span class="caps"&gt;JSON&lt;/span&gt; via a simple &lt;span class="caps"&gt;AJAX&lt;/span&gt; &lt;code&gt;$.get&lt;/code&gt; request.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=uCzJVoZqEjg:EAwePRmsJK4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=uCzJVoZqEjg:EAwePRmsJK4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?i=uCzJVoZqEjg:EAwePRmsJK4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
<link>http://feedproxy.google.com/~r/allTrades/~3/uCzJVoZqEjg/groovy-escape-quote-string</link>
<guid isPermaLink="false">http://marcgrabanski.com/articles/groovy-escape-quote-string</guid>
<author>Marc Grabanski</author>
<pubDate>2010-07-28 20:00:39 UTC</pubDate>
<feedburner:origLink>http://marcgrabanski.com/articles/groovy-escape-quote-string</feedburner:origLink></item>
<item>
<title>Why Aren't More Developers Building Businesses?</title>
<description>&lt;div style="float: left; margin-right: 20px; margin-top: 20px;"&gt;&lt;img src="http://marcgrabanski.com/img/construction-smaller.jpg" alt="" /&gt;&lt;/div&gt;
&lt;p&gt;Are you wanting to venture out to implement a new business idea?&lt;/p&gt;
&lt;p&gt;Every good developer has their own independent visions, but even when visions line up developers chose to build independently instead of together. College students don&amp;#8217;t seem to have this problem, but anyone seasoned in their career will only work for money or so it seems. The risk is gone, the emotion, the drive, the opportunism to create something new that drives new businesses goes away. Instead it becomes all of us making money for other people which is much safer.&lt;/p&gt;
&lt;h2&gt;Businesses Require Money to Exist&lt;/h2&gt;
&lt;p&gt;A business does need to make money to survive, so maybe we just don&amp;#8217;t have financial literacy or what it takes to hack it building software that makes money? Maybe we don&amp;#8217;t care about that so we just all work in safety coding open source together despite wanting our 9-5 time back.&lt;/p&gt;
&lt;h2&gt;Developers Working Together to Build Businesses&lt;/h2&gt;
&lt;p&gt;Here&amp;#8217;s a question that I&amp;#8217;ve often wondered: What would it take for great developers to be inspired working together building their own business? Why be restrained by someone else&amp;#8217;s business mandating your salary rate, your hours, your office and ultimately your life?  What would it take for us to work together for a common goal and build the companies and the lifestyle we all dream of?&lt;/p&gt;
&lt;p&gt;I think &lt;a href="http://builditwith.me/"&gt;Build It with Me&lt;/a&gt; is stepping in the right direction towards building things together, I don&amp;#8217;t have a conclusive answer to this, just wondering your thoughts.&lt;/p&gt;
&lt;div style="clear:both"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=x0pd2J6f_7E:YzVC8MHpfBE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/allTrades?a=x0pd2J6f_7E:YzVC8MHpfBE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/allTrades?i=x0pd2J6f_7E:YzVC8MHpfBE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
<link>http://feedproxy.google.com/~r/allTrades/~3/x0pd2J6f_7E/developers-building-businesses</link>
<guid isPermaLink="false">http://marcgrabanski.com/articles/developers-building-businesses</guid>
<author>Marc Grabanski</author>
<pubDate>2010-07-21 20:56:26 UTC</pubDate>
<feedburner:origLink>http://marcgrabanski.com/articles/developers-building-businesses</feedburner:origLink></item>
</channel>
</rss>
