<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;Type=RSS20" rel="self" type="application/rss+xml" /><title>Coffee into Code</title><description>Coffee into Code</description><link>http://buzzware.com.au/</link><lastBuildDate>Wed, 30 May 2012 09:29:44 GMT</lastBuildDate><docs>http://backend.userland.com/rss</docs><generator>RSS.NET: http://www.rssdotnet.com/</generator><item><title>SOLUTION: gemcutter "gem migrate" gives "Too many authentication failures"</title><description>When trying to migrate my gems from rubyforge to gemcutter I got the following error :&lt;br /&gt;
&lt;pre&gt;GarysMac:yore gary$ gem migrate yore&lt;br /&gt;Starting migration of yore from RubyForge...&lt;br /&gt;A migration token has been created.&lt;br /&gt;Uploading the migration token to buzzware.rubyforge.org.&lt;br /&gt;There was a problem uploading your token: disconnected: Too many authentication failures for buzzware (2)&lt;br /&gt;Asking Gemcutter to verify the upload...&lt;br /&gt;Gemcutter is still looking for your migration token.&lt;br /&gt;GarysMac:yore gary$&lt;/pre&gt;
I've seen this before with ssh on my Mac - it seems I have too many hosts set up in ~/.ssh/config, and unless it has a host setup that matches perfectly (or something) it gives up before trying all possibilities. I also seem to remember "IdentitiesOnly yes" to help in reducing the number of configurations tried.&lt;br /&gt;
&lt;br /&gt;
Anyway, I debugged it by doing "rdebug gem migrate yore" and then "b migrate.rb:66" to debug the upload_token method.&lt;br /&gt;
When it got to the point of uploading the token, I used the token string it was going to upload, and by fiddling with ~/.ssh/config, eventually uploaded it myself. Then when I let the debugger continue, it succeeded. The following setting in ~/.ssh/config also succeeded with my other gems :&lt;br /&gt;
&lt;pre&gt;Host buzzware.rubyforge.org&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IdentitiesOnly yes&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User buzzware&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PreferredAuthentications password&lt;/pre&gt;
Hooray!&lt;br /&gt;
</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=48670&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fSOLUTION_gemcutter_gem_migrate_gives_Too_many_authentication_failures%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/SOLUTION_gemcutter_gem_migrate_gives_Too_many_authentication_failures/</guid><pubDate>Fri, 04 Dec 2009 08:16:00 GMT</pubDate></item><item><title>SOLUTION: svn: Can't open file '.svn/text-base/somefile.ext.svn-base': No such file or directory</title><description>&lt;p&gt;I was getting this error and it seemed my working copy was corrupt. A sure fire way to fix this, if you can afford to, is to remove or move the folder with the error and update to get a clean copy. But just now I had this with a folder of 300MB of images.&lt;/p&gt;
&lt;p&gt;The following quick hack worked though :&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;copy some other file like .svn/text-base/somefile.ext.svn-base in the same folder to .svn/text-base/somefile.ext.svn-base&lt;/li&gt;
    &lt;li&gt;update to a version of the repo before somefile.ext existed (or maybe changed - not sure) like this "svn update -r XXX"&lt;/li&gt;
    &lt;li&gt;update to the current version "svn update"&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The above should get past the error by having a correct-looking file in the expected place. We then cause that file to be replaced with its correct content by causing svn to overwrite it&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=46057&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fSOLUTION_svn_Can't_open_file_'svntext-basesomefileextsvn-base'_No_such_file_or_directory%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/SOLUTION_svn_Can't_open_file_'svntext-basesomefileextsvn-base'_No_such_file_or_directory/</guid><pubDate>Wed, 07 Oct 2009 09:07:00 GMT</pubDate></item><item><title>My core libraries on GitHub</title><description>I finally got my core libraries up on &lt;a href="http://github.com/buzzware"&gt;GitHub&lt;/a&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=45089&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fMy_core_libraries_on_GitHub%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/My_core_libraries_on_GitHub/</guid><pubDate>Thu, 17 Sep 2009 23:46:00 GMT</pubDate></item><item><title>Flex child components that don't interfere with mouse events</title><description>&lt;p&gt;I have a bitmap that I want to act as a button, complete with the standard mouse hover cursor (hand).  I also have a label I want overlaid over the bitmap. &lt;/p&gt;
&lt;p&gt;Firstly, there are various posts out there about custom mouse cursors, but it surprisingly hard to find anything on the standard hand pointer that appears when the mouse is over a link. "buttonMode = true" is the answer to that one, but it doesn't work for everything.&lt;/p&gt;
&lt;p&gt;Secondly, the label must be in front of the bitmap, but not interefere with the mouse. The answer to this was to make the label a child of the image, and then to set "imgCart.mouseChildren = false". This makes the label ignore mouse events, which fall through to its parent. &lt;/p&gt;
&lt;p&gt;Some actionscript in creationComplete that makes the label a child of the image control, then centers its position within the image :&lt;/p&gt;
&lt;p&gt;var lbl: Label = lblCartCount;&lt;br /&gt;
lbl.parent.removeChild(lbl)&lt;br /&gt;
imgCart.addChild(lbl);&lt;br /&gt;
lbl.x = (imgCart.width - lbl.width) / 2 - 5&lt;br /&gt;
lbl.y = (imgCart.height - lbl.height) / 2&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=39717&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fFlex_child_components_that_don't_interfere_with_mouse_events%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Flex_child_components_that_don't_interfere_with_mouse_events/</guid><pubDate>Tue, 19 May 2009 14:42:00 GMT</pubDate></item><item><title>Pure Actionscript HTML Parser (with thanks to John Resig)</title><description>I am writing a Flex ecommerce store that needs to work with &lt;a href="https://www.mals-e.com"&gt;Mals Ecommerce&lt;/a&gt;. I am posting values to Mals to add to the cart, and the result is a HTML 4.0 page of the shopping cart, which I need to extract some information from. Parsing HTML would be much easier if it could be converted to XML for use with Flex's built in XML parser. At first I tried quoting unquoted attributes, but then found unclosed tags and it all seemed too hard, so I went looking for a HTML parser in ActionScript, with no success. Then i remembered that ActionScript is supposed to be a superset of Javascript, and the amount of serious code being written in Javascript these days continues to surprise me. This led to this &lt;a href="http://ejohn.org/blog/pure-javascript-html-parser/"&gt;Javascript HTML Parser&lt;/a&gt; whipped up by Javascript guru and JQuery creator John Resig.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;With some quick hacking, &lt;a href="http://www.buzzware.com.au/Images/blog/HtmlParser.as"&gt;here is my version&lt;/a&gt;.&lt;/div&gt;
</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=39500&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fPure_Actionscript_HTML_Parser_(with_thanks_to_John_Resig)%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Pure_Actionscript_HTML_Parser_(with_thanks_to_John_Resig)/</guid><pubDate>Thu, 14 May 2009 13:44:00 GMT</pubDate></item><item><title>"svn: No repository found" error with svn+ssh on the same host</title><description>&lt;p&gt;I had a strange problem where a SVN working copy was working fine on one machine, but after file copying it to the same machine that the svn server lives on, any server accesses would fail with "no repository found". The breakthrough came when I tried to ssh in as the svn user, which should connect directly to svnserve and give some gibberish back, but instead was logging in with a waiting shell prompt. &lt;/p&gt;
&lt;p&gt;Why was this happening from the same machine and not another machine ?&lt;/p&gt;
&lt;p&gt;The problem turned out to be how sshd authenticates. Somehow it wasn't trying the correct key in the .ssh directory, and defaulting to a password login.&lt;/p&gt;
&lt;p&gt;The solution was to specify which key to use on the &lt;i&gt;client side&lt;/i&gt; when connecting as the svn user for the svn server.&lt;/p&gt;
&lt;p&gt;eg. in ~/.ssh/config :&lt;/p&gt;
&lt;pre&gt;Host your-svn-server.com
    IdentityFile ~/.ssh/your-svn-key.ppk
    User svn
&lt;/private&gt;&lt;/your&gt;&lt;/pre&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=36496&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252fBlogRetrieve.aspx%253fBlogID%253d1956%2526PostID%253d36496</link><guid isPermaLink="true">http://buzzware.com.au/BlogRetrieve.aspx?BlogID=1956&amp;PostID=36496</guid><pubDate>Mon, 02 Mar 2009 04:06:00 GMT</pubDate></item><item><title>Don't underestimate Radiant CMS</title><description>&lt;p&gt;I hereby confess that I underestimated Radiant CMS. I was looking at the website some years ago, and without digging in too far, concluded that it was a small project to create a CMS in Ruby on Rails, and hadn't really got a lot of traction. I'd be better off with one of the big name CMS's, probably one written in PHP I thought. Well now I'm freelancing and trying to consolidate my favoured technologies to increase re-use, reduce learning time and increase productivity. Choosing a CMS however hasn't been easy, there are so many out there its bewildering, and so many people seem disgruntled with them.&lt;/p&gt;
&lt;p&gt;I know enough languages to pick up PHP if I have to, and I already know enough to modify existing code, but like most languages, or even more than most, it hurts my eyes after a few years with Ruby. Now from playing with Magento, I've decided the Zend Framework is where I'll focus when I have to do PHP, so I looked for a Zend based CMS, and the only serious contender seems to be http://www.digitalus.nl. It may well be good, but its in its early stages.&lt;/p&gt;
&lt;p&gt;So the other night I stayed up trying to answer the question "Can I seriously use a Ruby-based CMS ie Radiant as my CMS of choice ?", and I came to the conclusion that yes, Radiant is something worth making that kind of investment in. The kicker was the slides from this presentation &lt;a href="http://seancribbs.com/page_attachments/0000/0054/barcampkc-pres.pdf"&gt;Pragmatic Content Management with Radiant&lt;/a&gt; from &lt;a href="http://seancribbs.com/tech/2008/05/"&gt;Sean Cribbs&lt;/a&gt;. It succinctly explains the pages, parts, snippets and layouts. In particular, the idea that a page should have more than one location to be filled by dynamic content is something I implemented in a Flex templating system I wrote. It seem so obvious, yet many systems apparently don't allow it. &lt;/p&gt;
&lt;p&gt;Also the extension system, in typical Ruby style seems extremely powerful and useable even on jobs with a tight deadline. And of course, you have the full power of Ruby available as required.&lt;/p&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=34696&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fDon't_underestimate_Radiant_CMS%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Don't_underestimate_Radiant_CMS/</guid><pubDate>Mon, 02 Mar 2009 04:11:00 GMT</pubDate></item><item><title>Hello Magento</title><description>&lt;p&gt;Magento seems to be the rising star Open Source of shopping carts. I'm excited about it because :&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Although it is PHP (I'm not a fan), it uses the &lt;a href="http://framework.zend.com/"&gt;Zend Framework&lt;/a&gt;, which at least has learnt from Rails. ie it has MVC&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://blogs.adobe.com/flex/archives/2008/07/adobe_contributing_amf_support.html"&gt;Zend and Adobe&lt;/a&gt; have been talking, and Zend now includes AMF support, which Flex can consume with greater speed (about 25%), less bandwidth than XML ( about 35%) and server load was reduced to 4% of the XML equivalent in &lt;a href="http://www.jamesward.com/census/"&gt;this test&lt;/a&gt;. There is even an Open Source project &lt;a href="http://www.matsiya-technology.com/matsiya-introduces-the-first-amf-api-for-communication-between-flash-flex-and-magento-2/"&gt;Matsiya&lt;/a&gt; to integrate Flex and Magento.&lt;/li&gt;
    &lt;li&gt;It aims to be the main platform for up to very large sites. That means it will cope with all sorts of wacky promotional rules and product types&lt;/li&gt;
    &lt;li&gt;It has a nice looking UI that I would be proud to demonstrate to shop owner/operators, and I'm printing over 100 pages of nice looking user manual.&lt;/li&gt;
    &lt;li&gt;It aims to provide full API access to its functionality. This means easy integration with Flex, Rails and those scripts you sometimes have to write for some bizarre requirement, or even quite sensible requirements that the vendor has overlooked.&lt;/li&gt;
    &lt;li&gt;It has basic CMS ability, so for sites that consist of shop + simple static content (surely a large percentage of the market) it should be possible to develop a whole site in Magento.&lt;/li&gt;
    &lt;li&gt;I'm hoping I can treat it like a black box, not needing to get into the source code - just providing templates, CSS and Flex SWFs and Ruby scripts if necessary.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There is only one book for Magento (others are in the works they say) that is expensive and doesn't have good reviews, so I went to print out the User Guide, but it wasn't in PDF form, so I've converted it, with the Designers guide, thanks to OS Xs wonderful PDF manipulation features in Preview and you can get them here:&lt;/p&gt;
&lt;p&gt;&lt;a href="/Images/blog/Magento User Guide 081205.pdf"&gt;Magento User Guide 081205.pdf&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="/Images/blog/Magento Designers Guide 081205.pdf"&gt;Magento Designers Guide 081205.pdf
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=32516&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fHello_Magento%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Hello_Magento/</guid><pubDate>Fri, 05 Dec 2008 03:25:00 GMT</pubDate></item><item><title>Closet JRubists article</title><description>&lt;p&gt;This article &lt;a href="http://syntatic.wordpress.com/2008/11/25/the-closet-jrubyists/"&gt;The Closet JRubyists&lt;/a&gt; is exactly what I hoped to hear about JRuby, and I might even point to the future of Ruby and Rails. Consider what Sun now has to offer Rubyists, all for free :&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Solaris OS, with its builtin virtualisation&lt;/li&gt;
    &lt;li&gt;GlassFish, their JVM&lt;/li&gt;
    &lt;li&gt;MySQL, now their database&lt;/li&gt;
    &lt;li&gt;JRuby, with its access to the universe of Java class libraries, performance now &lt;a href="http://blog.headius.com/2008/08/qa-what-thread-safe-rails-means.html"&gt;faster, more memory and database connection efficient than MRI&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;NetBeans - highly underrated IDE with possibly the best Ruby support.&lt;/li&gt;
&lt;/ol&gt;
What more could we ask for ? Of course there are many other alternatives outside to most of these items, but its interesting to note this full stack offering from a company like Sun for the Ruby community, and when the whole stack comes from one vendor, they are more likely to take responsibility for integration issues.

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=32174&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fCloset_JRubists_article%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Closet_JRubists_article/</guid><pubDate>Sat, 29 Nov 2008 14:54:00 GMT</pubDate></item><item><title>Flash on the iPhone hypothetical solution</title><description>It seems to me it would be possible to get Flash applications working on the iPhone now, without Adobe or Apple's cooperation.&lt;br /&gt;
Flash and Air apps are distributed as swf or air files containing bytecode for the Adobe Virtual Machine 2 (AVM2) (&lt;a href="http://www.adobe.com/devnet/actionscript/articles/avm2overview.pdf"&gt;documented here&lt;/a&gt;) calling its APIs for graphics, window management, file system etc, and so the challenge is to execute that bytecode andimplement those libraries.
iPhone apps are written in Objective C with some subset of the MacOS X libraries, and some new ones.
&lt;br /&gt;
So my proposal is :&lt;br /&gt;
&lt;ol&gt;
    &lt;li&gt;write a translator from AVM2 bytecode to Objective C. This kind of thing has been done many times before. HotRuby takes Ruby bytecode output from the Ruby interpreter and translates to AVM2 to run a Ruby program on the Flash player.&lt;/li&gt;
    &lt;li&gt;Implement the Flash and/or Air system calls (eg. play a sound, create a window, open a file) in Objective C and OS X libraries.&lt;/li&gt;
    &lt;li&gt;Write a compiler to take a .air or .swf file and convert its code and assets into a form useable in Objective C/OS X.&lt;/li&gt;
    &lt;li&gt;Output a fully native iPhone app, ready for upload to Apple. They don't even need to know it was written in Flash/Flex!&lt;/li&gt;
&lt;/ol&gt;
Issues :&lt;br /&gt;
&lt;ol&gt;
    &lt;li&gt;Apple wouldn't like it. You might even find your name blacklisted in the OS X EULA !&lt;/li&gt;
    &lt;li&gt;Adobe might be OK with it. They get more Flex customers, and you become the bad guy (not them) in Apple's eyes.&lt;/li&gt;
&lt;/ol&gt;
If an investor wants to make this happen, I'm available !

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=30388&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fFlash_on_the_iPhone_hypothetical_solution%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Flash_on_the_iPhone_hypothetical_solution/</guid><pubDate>Mon, 10 Nov 2008 03:47:00 GMT</pubDate></item><item><title>FreeThingo coming soon</title><description>&lt;p&gt;I'm working on a small pet project, a site that gives a more useful view into the FreeCycle email list.
FreeCycle's concept is simple - that people announce via the mailing list that they have something of value
that they no longer need, and are offering it for free. Subscribers then reply asking to be the receiver, 
the offerer chooses a receiver, and they arrange the transaction.&lt;/p&gt;

&lt;p&gt;The problem is it is too popular for a simple email list, and something offered a week ago but not taken
is buried in following emails. There's also no way to watch for a type of item becoming available,
or filtering based on location (though Freecycle lists are usually specific to a city).&lt;/p&gt;

&lt;p&gt;Enter &lt;a href="http://freethingo.org"&gt;FreeThingo.org&lt;/a&gt;. It will receive and process messages sent to a Freecycle list,
(currently Perth's) and provide various ways of filtering and presenting the stream of information.&lt;/p&gt;

&lt;p&gt;I'm building this in my two favourite technologies, Adobe Flex and Ruby on Rails. A project like this is
a prime opportunity to do a little R &amp;amp; D.
For providing data to the grid control in Flex, XML is an easy option, and Rails' XML Builder is great for 
providing the required input. Typically this XML is either loaded from a static file or dynamically generated 
service. This data is then out of sight of search engines as well as requiring an extra request.&lt;/p&gt;

&lt;p&gt;This time I'm trying an idea esposed here 
(&lt;a href="http://www.space150.com/news/faust-flash-augmenting-standards"&gt;Flash Augmenting Standards&lt;/a&gt;). I've rendered 
the data as XHTML, and then consumed it in Flex. Once I had figured out a few utility functions it all flows 
quite smoothly.&lt;/p&gt;

&lt;p&gt;I needed two data structures:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;A table of data, with named columns and rows.  This is a classic case 
for good old TABLE.  While this poor tag is shunned these days for its 
unnatural use as a layout tool, tabular data like this is exactly what it 
was meant to do.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A set of name/value pairs.  This was implemented using the "Definition 
List" DL tag, and its counterparts DT and DD.  This also works quite well. &lt;br /&gt;
I currently have the definition list inside the table caption to keep it 
with the data, but I will probably move it outside the table.  &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Because its still essentially XML I'm still rendering it with the Rails Builder class, and using E4X on the 
Flex side to read it. The main difference is the extra levels of tags, and the less descriptive tags required
in order to be standard HTML.&lt;/p&gt;

&lt;p&gt;For browsers without Flash and search engines, it will simply look like a typical table of data. With a little 
effort it could look quite presentable, even dynamic with something like &lt;a href="http://jquery.com/"&gt;jQuery&lt;/a&gt; involved.&lt;/p&gt;

&lt;p&gt;A win-win all around it seems.&lt;/p&gt;
</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=30285&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fFreeThingo_coming_soon%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/FreeThingo_coming_soon/</guid><pubDate>Fri, 07 Nov 2008 12:39:00 GMT</pubDate></item><item><title>Inaugural Meeting of Perth Flash Developers Group with Kai Koenig !</title><description>&lt;p&gt;With the rise of Flex as a developers platform, all this talk of RIAs, and Flash continuing to grow strong, I think its time Perth had a Flash meetup again. So after talking with Matt Voermann (previous MMUG &amp;amp; Flash Platform Users Group Manager, now Sydney-based) and John Koch (Adobe Developer Relations Manager for Asia Pacific) I have organised the first meeting to include Kai Koenig while he is here for Edge of the Web conference.&lt;/p&gt;
&lt;p&gt;Why the name ? Even though I am primarily a Flex developer, I decided to use Flash and not Flex in the name. Flash is the vernacular name for anything that runs in the Flash Player, and when I mention Flex, most web developers don't know what I'm talking about. There are also the old school ActionScript programmers to include, and I think the word "Developers" makes it clear that its more aimed at coders than designers, but of course pure (and impure!) designers are more than welcome.&lt;/p&gt;
&lt;p&gt;The graphics are based on images from an electron microscope of Oenothera fruticosa pollen.&lt;/p&gt;
3:30-5:30pm Wednesday, November 5th 2008 &lt;br /&gt;
Velvet Lounge (Grosvenor Rd side of) &lt;br /&gt;
Flying Scotsman Hotel &lt;br /&gt;
Beaufort St, Mt Lawley &lt;br /&gt;
(same venue and just before Port 80 meeting at 6pm)&lt;br /&gt;
&lt;br /&gt;
See &lt;a href="http://www.perthflash.org"&gt;www.perthflash.org&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;All welcome !&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=29013&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fInaugural_Meeting_of_Perth_Flash_Developers_Group_with_Kai_Koenig_!%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Inaugural_Meeting_of_Perth_Flash_Developers_Group_with_Kai_Koenig_!/</guid><pubDate>Wed, 22 Oct 2008 06:19:00 GMT</pubDate></item><item><title>Boagworld Podcast - where have you been all my web dev life ?</title><description>&lt;p&gt;I've been looking out for and listening to several web development related podcasts for sometime. Being in the most isolated capital city in the world - Perth, Australia - conferences are few and far between, and podcasts are &lt;em&gt;gold. &lt;/em&gt;But somehow I've missed the &lt;a href="http://boagworld.com/podcast/"&gt;BoagWorld Podcast&lt;/a&gt;. Maybe it says something about the US-centered web industry. &lt;/p&gt;
&lt;p&gt;Look folks - there's 139 shows and some real meaty content too !
&lt;/p&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=28924&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252fBlogRetrieve.aspx%253fBlogID%253d1956%2526PostID%253d28924</link><guid isPermaLink="true">http://buzzware.com.au/BlogRetrieve.aspx?BlogID=1956&amp;PostID=28924</guid><pubDate>Mon, 20 Oct 2008 06:04:00 GMT</pubDate></item><item><title>Capistrano local and remote prompt handling</title><description>This is one of those things that I've wanted to figure out but never have in &lt;a href="http://www.capify.org/"&gt;Capistrano&lt;/a&gt; (2.5)&lt;br /&gt;
It does both prompting the local user for a value, and fulfilling the remote machines prompt for a value.&lt;br /&gt;
I love Capistrano even more now !&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="font-size: 80%"&gt;# give block with |aText,aStream,aState| that returns response or nil&lt;br /&gt;def run_respond(aCommand)&lt;br /&gt; run(aCommand) do |ch,stream,text|&lt;br /&gt; 	ch[:state] ||= { :channel =&amp;gt; ch }&lt;br /&gt; 	output = yield(text,stream,ch[:state])&lt;br /&gt; 	ch.send_data(output) if output&lt;br /&gt; end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;task :dump_db_svn do&lt;br /&gt;&lt;br /&gt;  # just dumps db to a file in a svn dir&lt;br /&gt;  run "mysqldump --user=root --password=nottelling --databases --add-drop-database joomla_db &amp;gt; /root/joomla_db_snapshot/joomla_db.sql"&lt;br /&gt;&lt;br /&gt;  # svn is using ssh+svn, so prompts for a passphrase (on the remote machine)&lt;br /&gt;  run_respond 'ssh-add somekey.ppk; svn commit /root/joomla_db_snapshot -m "latest joomla_db"' do |text,stream,state|&lt;br /&gt;    case text&lt;br /&gt;      when /Enter passphrase/ then &lt;br /&gt;        Capistrano::CLI.password_prompt(text)+"\n"	# this prompts the local user with the remote prompt text, then returns the result&lt;br /&gt;    end        &lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt;end&lt;/pre&gt;
&lt;br /&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=28848&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fCapistrano_local_and_remote_prompt_handling%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Capistrano_local_and_remote_prompt_handling/</guid><pubDate>Fri, 17 Oct 2008 03:51:00 GMT</pubDate></item><item><title>Buzzware Beginning</title><description>So as of August I've been a freelance developer, based at &lt;a href="http://www.twotwenty.com.au"&gt;Two&amp;nbsp;Twentys&lt;/a&gt; shared office in Leederville with 4 other guys; Myles Eftos (&lt;a href="http://madpilot.com.au"&gt;Mad Pilot Productions&lt;/a&gt;)
Grant Bissett (&lt;a href="http://www.speakinteractive.com"&gt;Speak Interactive&lt;/a&gt;), Alex Pooley (&lt;a href="http://www.alexpooley.com"&gt;Alex Poolely Design&lt;/a&gt;), and Ben Giles (&lt;a href="http://www.spoon.com.au"&gt;Spoon Media&lt;/a&gt;). I've switched to the Mac and have just completed my first project &lt;a href="http://www.helenansell.com"&gt;HelenAnsell.com&lt;/a&gt;

</description><link>http://buzzware.com.au/RSSRetrieve.aspx?ID=2532&amp;A=Link&amp;ObjectID=27974&amp;ObjectType=56&amp;O=http%253a%252f%252fbuzzware.com.au%252f_blog%252fCoffee_into_Code%252fpost%252fBuzzware_Beginning%252f</link><guid isPermaLink="true">http://buzzware.com.au/_blog/Coffee_into_Code/post/Buzzware_Beginning/</guid><pubDate>Tue, 07 Oct 2008 16:57:00 GMT</pubDate></item></channel></rss>
