<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-3826577489563855618</atom:id><lastBuildDate>Fri, 08 Nov 2024 14:55:33 +0000</lastBuildDate><category>Flex</category><category>ActionScript</category><category>Agile</category><category>Flexmojos</category><category>TDD</category><category>Testing</category><category>DSL</category><category>FlashBuilder</category><category>FlexUnit</category><category>Parsley</category><category>Google</category><category>Ruby</category><category>Git</category><category>Java</category><category>Maven</category><category>Personal Thoughts</category><category>JVM</category><category>Rails</category><category>RoR</category><category>Scala</category><category>Tidbits</category><category>Bash</category><category>Derby</category><category>JRoR</category><category>JRuby</category><category>Tomcat</category><category>Blogging</category><category>Cygwin</category><category>Mocking</category><category>Python</category><category>SQLite3</category><category>Apache</category><category>BDD</category><category>C#</category><category>CC</category><category>CMD</category><category>Compilation</category><category>Continuous</category><category>IDEA</category><category>IntelliJ</category><category>JUnit</category><category>LINQ</category><category>Passenger</category><category>Perl</category><category>SPA</category><category>ScalaTest</category><category>Specs</category><category>blog</category><category>chronotime</category><category>date</category><category>datearithmetic</category><category>html</category><category>implicitconversion</category><category>implicits</category><category>javascript</category><category>jodatime</category><category>jquery</category><category>js</category><category>mod_rails</category><category>nco</category><category>ndo</category><category>none</category><category>nsc</category><category>nso</category><category>null</category><category>option</category><category>pagination</category><category>paging</category><category>post blogger</category><category>seo</category><category>time</category><category>typeclasses</category><title>Blog dot DarrenBishop.com</title><description></description><link>http://blog.darrenbishop.com/</link><managingEditor>noreply@blogger.com (Darren Bishop)</managingEditor><generator>Blogger</generator><openSearch:totalResults>42</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-1349645620412899453</guid><pubDate>Sat, 16 Apr 2016 07:10:00 +0000</pubDate><atom:updated>2016-04-17T10:04:55.030+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">JVM</category><category domain="http://www.blogger.com/atom/ns#">Mocking</category><category domain="http://www.blogger.com/atom/ns#">Scala</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><title>Darren on the JVM: Intro to TDD Part 1: Some Ideas, Principles &amp; Techniques</title><atom:summary type="text">
PROLOGUE
A while ago now I applied for a Java role at a certain newspaper,
having heard they were Agile and proponents of TDD. After a successful
initial telephone screening interview, I was issued a programming
exercise - Battleships!  These exercises serve to reveal a candidates ability to

Digest a problem description
Extract requirements and define scope
Identify expected program behaviour
</atom:summary><link>http://blog.darrenbishop.com/2016/04/darren-on-jvm-intro-to-tdd-part-1-some.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-3063446606518799</guid><pubDate>Thu, 07 Jan 2016 10:05:00 +0000</pubDate><atom:updated>2016-01-11T19:30:03.689+00:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">JVM</category><category domain="http://www.blogger.com/atom/ns#">nco</category><category domain="http://www.blogger.com/atom/ns#">ndo</category><category domain="http://www.blogger.com/atom/ns#">none</category><category domain="http://www.blogger.com/atom/ns#">nsc</category><category domain="http://www.blogger.com/atom/ns#">nso</category><category domain="http://www.blogger.com/atom/ns#">null</category><category domain="http://www.blogger.com/atom/ns#">option</category><category domain="http://www.blogger.com/atom/ns#">Scala</category><title>Darren on the JVM: Scala: Null Coalescing Operator for Scala</title><atom:summary type="text">Null (Safe|Dereferencing|Coalescing) Operator
I stumbled on to this concept a while ago when researching the many cool features of Scala. I had come across it before, as I’ll mention, but not so concretely. There is a wealth of information on SO and Wiki, which again leaves mythed why Java (my roots) does not support this.
Anyway, what I offer here - which btw is not new - is slightly different </atom:summary><link>http://blog.darrenbishop.com/2016/01/darren-on-jvm-scala-null-coalescing.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-1046917112261853923</guid><pubDate>Wed, 06 Jan 2016 08:40:00 +0000</pubDate><atom:updated>2016-01-08T16:52:29.734+00:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">chronotime</category><category domain="http://www.blogger.com/atom/ns#">date</category><category domain="http://www.blogger.com/atom/ns#">datearithmetic</category><category domain="http://www.blogger.com/atom/ns#">implicitconversion</category><category domain="http://www.blogger.com/atom/ns#">implicits</category><category domain="http://www.blogger.com/atom/ns#">jodatime</category><category domain="http://www.blogger.com/atom/ns#">JVM</category><category domain="http://www.blogger.com/atom/ns#">Scala</category><category domain="http://www.blogger.com/atom/ns#">time</category><category domain="http://www.blogger.com/atom/ns#">typeclasses</category><title>Darren on the JVM: Scala: Timely Type-Classes Brings Rails-style Date Arithmetic</title><atom:summary type="text">For those of you who have ever done any Ruby development on Rails super-charged with ActiveRecord (as I recall back from 2008), you would have been blessed with the most intuitive date-arithmetic facility known to programming-man.
At that time in my life, Java was my main bread-and-butter and I longed for this simplicity… I am sure we all did.
Why it did not exist was simple: primitives such as </atom:summary><link>http://blog.darrenbishop.com/2016/01/darren-on-jvm-scala-timely-type-classes.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-891807952623914080</guid><pubDate>Thu, 16 Apr 2015 11:17:00 +0000</pubDate><atom:updated>2015-04-16T12:46:13.902+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">BDD</category><category domain="http://www.blogger.com/atom/ns#">CC</category><category domain="http://www.blogger.com/atom/ns#">Compilation</category><category domain="http://www.blogger.com/atom/ns#">Continuous</category><category domain="http://www.blogger.com/atom/ns#">IDEA</category><category domain="http://www.blogger.com/atom/ns#">IntelliJ</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">JUnit</category><category domain="http://www.blogger.com/atom/ns#">JVM</category><category domain="http://www.blogger.com/atom/ns#">Scala</category><category domain="http://www.blogger.com/atom/ns#">ScalaTest</category><category domain="http://www.blogger.com/atom/ns#">Specs</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><title>Darren on the JVM: Java and Scala with IntelliJ&#39;s Compile Server</title><atom:summary type="text">PROLOGUEI went searching YouTrack, doing my due diligence, for an issue (described below) before raising a feature request for IntelliJ&#39;s Compile Server facility.

I came across this issue, which describes slow compilation despite having the compile server enabled.

I echo here my comments and findings

If you are trying to make use of IntelliJ&#39;s Compile Server facility, say, to make you Red, </atom:summary><link>http://blog.darrenbishop.com/2015/04/darren-on-jvm-java-and-scala-with.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-3519481886386124893</guid><pubDate>Wed, 25 Feb 2015 13:55:00 +0000</pubDate><atom:updated>2016-01-08T15:43:18.795+00:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">blog</category><category domain="http://www.blogger.com/atom/ns#">html</category><category domain="http://www.blogger.com/atom/ns#">javascript</category><category domain="http://www.blogger.com/atom/ns#">jquery</category><category domain="http://www.blogger.com/atom/ns#">js</category><category domain="http://www.blogger.com/atom/ns#">pagination</category><category domain="http://www.blogger.com/atom/ns#">paging</category><category domain="http://www.blogger.com/atom/ns#">post blogger</category><category domain="http://www.blogger.com/atom/ns#">seo</category><title>Darren on Blogger: Pagination for Blogger powered by jQuery</title><atom:summary type="text">UPDATE: Replaced all uses of the pagelist class with pagelinks, as depending on the template used, Blogger may or may not use this class to manage its &#39;blog pages&#39; i.e. tabs.

Some time ago I wrote a 6 part blog and I have very recently written another multi-part blog that has the potential to be quite long.

Once I have done the technical work for a blog post and start writing it up, if it </atom:summary><link>http://blog.darrenbishop.com/2015/02/blogger-pagination-with-jquery.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-5011412335704370883</guid><pubDate>Wed, 19 Nov 2014 16:53:00 +0000</pubDate><atom:updated>2014-11-24T14:37:12.549+00:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ActionScript</category><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">DSL</category><category domain="http://www.blogger.com/atom/ns#">FlashBuilder</category><category domain="http://www.blogger.com/atom/ns#">Flex</category><category domain="http://www.blogger.com/atom/ns#">Flexmojos</category><category domain="http://www.blogger.com/atom/ns#">FlexUnit</category><category domain="http://www.blogger.com/atom/ns#">Mocking</category><category domain="http://www.blogger.com/atom/ns#">Parsley</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><category domain="http://www.blogger.com/atom/ns#">Testing</category><title>Darren on Flex: FlexUnit4 Testing with Parsley - Testing with Mock Injections</title><atom:summary type="text">In Part-5 I showed how to tidy away all (most of) the Parsley Messaging and Flex event management boiler-plate by extending the Fluint-aware DSL introduced in Part-3, which made tests Parsley-aware.

This much overdue final part of the FlexUnit4 Testing with Parsley series demonstrates mock injection and leverages Mockito-Flex to achieve that.
(I will give a shout to the team behind Mockolate, as</atom:summary><link>http://blog.darrenbishop.com/2014/11/darren-on-flex-flexunit4-testing-with.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-3910298558211324547</guid><pubDate>Wed, 15 Jun 2011 23:23:00 +0000</pubDate><atom:updated>2015-10-14T09:49:57.255+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ActionScript</category><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">DSL</category><category domain="http://www.blogger.com/atom/ns#">FlashBuilder</category><category domain="http://www.blogger.com/atom/ns#">Flex</category><category domain="http://www.blogger.com/atom/ns#">Flexmojos</category><category domain="http://www.blogger.com/atom/ns#">FlexUnit</category><category domain="http://www.blogger.com/atom/ns#">Parsley</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><category domain="http://www.blogger.com/atom/ns#">Testing</category><title>Darren on Flex: FlexUnit4 Testing with Parsley - Testing with a Parsley-Aware DSL</title><atom:summary type="text">In Part-4 I showed how to use [RunWith] and [Rule] to locate and hide Parsley context initialization; with the reduced duplication in this approach tests are left to focus on what is important - testing.  In Part-5, I&#39;ll show how to reduce the noise hide the complexities of Parsley Messaging, used to implement decoupling between components, by extending the Fluint-aware DSL introduced in Part-3 </atom:summary><link>http://blog.darrenbishop.com/2011/06/darren-on-flex-flexunit4-testing-with.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-1645499562548516264</guid><pubDate>Wed, 20 Apr 2011 17:24:00 +0000</pubDate><atom:updated>2011-06-17T07:37:09.025+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ActionScript</category><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">DSL</category><category domain="http://www.blogger.com/atom/ns#">FlashBuilder</category><category domain="http://www.blogger.com/atom/ns#">Flex</category><category domain="http://www.blogger.com/atom/ns#">Flexmojos</category><category domain="http://www.blogger.com/atom/ns#">FlexUnit</category><category domain="http://www.blogger.com/atom/ns#">Parsley</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><category domain="http://www.blogger.com/atom/ns#">Testing</category><title>Darren on Flex: FlexUnit4 Testing with Parsley - Improved Parsley Support with FlexUnit&#39;s [RunWith(...)] &amp; [Rule]</title><atom:summary type="text">In Part-3 I showed how a DSL can be used to reduce the complexity of asynchronous testing when using the Fluint Sequence API. With this DSL I was also able to remove several lines of boilerplate code. These might be modest improvements, but the introduction of a DSL paves the way for more concise tests.


In Part-4, I&#39;ll show how to integrate Parsley into FlexUnit by using the [RunWith] and [Rule</atom:summary><link>http://blog.darrenbishop.com/2011/04/darren-on-flex-flexunit4-testing-with_20.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>6</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-539138875067178983</guid><pubDate>Mon, 18 Apr 2011 23:38:00 +0000</pubDate><atom:updated>2011-06-17T07:33:33.946+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ActionScript</category><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">DSL</category><category domain="http://www.blogger.com/atom/ns#">FlashBuilder</category><category domain="http://www.blogger.com/atom/ns#">Flex</category><category domain="http://www.blogger.com/atom/ns#">Flexmojos</category><category domain="http://www.blogger.com/atom/ns#">FlexUnit</category><category domain="http://www.blogger.com/atom/ns#">Parsley</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><category domain="http://www.blogger.com/atom/ns#">Testing</category><title>Darren on Flex: FlexUnit4 Testing with Parsley - Hiding Fluint Sequences with a Flow-based DSL</title><atom:summary type="text">In Part-2 I showed how to implement a component-test, with some of the setup delegated to Parsley to leverage IoC and DI.


In Part-3, I&#39;ll show how to hide the Fluint Sequence API, used for asynchronous testing, behind an embedded asynchronous-DSL. The DSL design presented only really serves to seed an idea; anyone can implement a DSL, using different verb-names for methods and statement </atom:summary><link>http://blog.darrenbishop.com/2011/04/darren-on-flex-flexunit4-testing-with_19.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>18</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-7691265549383826403</guid><pubDate>Sun, 17 Apr 2011 17:37:00 +0000</pubDate><atom:updated>2011-06-17T07:27:48.882+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ActionScript</category><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">DSL</category><category domain="http://www.blogger.com/atom/ns#">FlashBuilder</category><category domain="http://www.blogger.com/atom/ns#">Flex</category><category domain="http://www.blogger.com/atom/ns#">Flexmojos</category><category domain="http://www.blogger.com/atom/ns#">FlexUnit</category><category domain="http://www.blogger.com/atom/ns#">Parsley</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><category domain="http://www.blogger.com/atom/ns#">Testing</category><title>Darren on Flex: FlexUnit4 Testing with Parsley - Asynchronous Testing with Parsley and Fluint Sequences</title><atom:summary type="text">In Part-1 I showed a pure-unit test, completely managed outside Parsley.


In Part-2 I&#39;ll show how to implement a component-test, with some of the setup delegated to Parsley to leverage IoC and DI.

The &#39;test&#39; code: revisited...
Again I&#39;ll jump straight into the test class itself

The FlexUnit4 GetPersonCommandComponentTest


package com.darrenbishop.crm.directory.application {
    import </atom:summary><link>http://blog.darrenbishop.com/2011/04/darren-on-flex-flexunit4-testing-with_17.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-8709278360037481378</guid><pubDate>Mon, 11 Apr 2011 18:33:00 +0000</pubDate><atom:updated>2011-06-17T07:08:18.333+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ActionScript</category><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">DSL</category><category domain="http://www.blogger.com/atom/ns#">FlashBuilder</category><category domain="http://www.blogger.com/atom/ns#">Flex</category><category domain="http://www.blogger.com/atom/ns#">Flexmojos</category><category domain="http://www.blogger.com/atom/ns#">FlexUnit</category><category domain="http://www.blogger.com/atom/ns#">Parsley</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><category domain="http://www.blogger.com/atom/ns#">Testing</category><title>Darren on Flex: FlexUnit4 Testing with Parsley - Unit Testing Command Objects</title><atom:summary type="text">In Part I, I&#39;ll start off by implementing a &#39;purist&#39; unit-test. In order to do this, however, I need a context; I think a noddy CRM system will do - I was tempted to use a Calculator system, but decided against it as there was too much temptation to actually implement some logic.


Ironically, the point of this blog series is not about testing logic :-/


CRM It Is Then...

As mentioned in the </atom:summary><link>http://blog.darrenbishop.com/2011/04/darren-on-flex-flexunit4-testing-with_11.html</link><author>noreply@blogger.com (Darren Bishop)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwR0WkpXLFnQSOaM1C3MRaoN2Dn6FtEHhssKQxnubxSurv6m3pLq6sAQ3EUczFB4FH1iye70j4Cr7pwCRa__EvhXB-eHS8FS69cMExNWthtWozqlkhy4uAxRxC4GSaSV_jr90jSrTj-68/s72-c/cairngorm-layout.png" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-9111709446612954865</guid><pubDate>Tue, 05 Apr 2011 22:30:00 +0000</pubDate><atom:updated>2014-11-19T16:55:47.491+00:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ActionScript</category><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">DSL</category><category domain="http://www.blogger.com/atom/ns#">FlashBuilder</category><category domain="http://www.blogger.com/atom/ns#">Flex</category><category domain="http://www.blogger.com/atom/ns#">Flexmojos</category><category domain="http://www.blogger.com/atom/ns#">FlexUnit</category><category domain="http://www.blogger.com/atom/ns#">Parsley</category><category domain="http://www.blogger.com/atom/ns#">TDD</category><category domain="http://www.blogger.com/atom/ns#">Testing</category><title>Darren on Flex: FlexUnit4 Testing with Parsley</title><atom:summary type="text">I&#39;ve explored in the past the features of FlexUnit4, specifically its asynchronous and UI capabilities, to test the behaviour of the mixins over at my Flexins Project. Recently, however, I&#39;ve been using Cairngorm and Parsley on an assignment and I&#39;ve channelled my efforts into testing UI-logic. I&#39;ve deferred testing views for the time being, focusing on Parsley Command objects and Cairngorm-style</atom:summary><link>http://blog.darrenbishop.com/2011/04/darren-on-flex-flexunit4-testing-with.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-1398546930856514485</guid><pubDate>Mon, 04 Oct 2010 00:51:00 +0000</pubDate><atom:updated>2010-10-04T01:51:50.629+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Bash</category><category domain="http://www.blogger.com/atom/ns#">Tidbits</category><title>Techie Tidbits: Resolving Symlinks</title><atom:summary type="text">If you use a linux distro that uses the alternatives framework, from time to time you might need to know where or what those symlinks eventually point to; this was the case for me when I needed to know where my JRE home was... and which java wasn&#39;t helping me (much).

Google introduced me to readlink which has an -e or -f option which basically switches on recursion.

So something like readlink </atom:summary><link>http://blog.darrenbishop.com/2010/03/techie-tidbits-resolving-symlinks.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-8608086113267078913</guid><pubDate>Mon, 04 Oct 2010 00:47:00 +0000</pubDate><atom:updated>2010-10-10T20:11:10.555+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Bash</category><category domain="http://www.blogger.com/atom/ns#">CMD</category><category domain="http://www.blogger.com/atom/ns#">Cygwin</category><category domain="http://www.blogger.com/atom/ns#">Perl</category><category domain="http://www.blogger.com/atom/ns#">Python</category><category domain="http://www.blogger.com/atom/ns#">Ruby</category><category domain="http://www.blogger.com/atom/ns#">Tidbits</category><title>Techie Tidbits: Beef up the CMD Prompt</title><atom:summary type="text">Are you a frequent Cygwin user and/or often ask yourself &quot;Why is the CMD prompt so crap?!&quot;? If so, you&#39;ll probably be interested to know how you can inject some or possibly all of that Linux/Bash goodness into your CMD prompt.

1st, Install Cygwin if you haven&#39;t already done so

2nd, Extend Your PATH
Create a bin (short for binary, but conventionally the home for anything executable) folder in </atom:summary><link>http://blog.darrenbishop.com/2010/10/techie-tidbits-beef-up-cmd-prompt.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-7720934410922473030</guid><pubDate>Sun, 03 Oct 2010 23:56:00 +0000</pubDate><atom:updated>2010-10-04T01:50:09.100+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Bash</category><category domain="http://www.blogger.com/atom/ns#">Cygwin</category><category domain="http://www.blogger.com/atom/ns#">Tidbits</category><title>Techie Tidbits: Get Going with Cygwin</title><atom:summary type="text">Installing Cygwin is a pretty straight forward exercise - but here I walk-through a few extra configuration steps that make Cygwin a real productivity catalyst for my day-to-day activities.

1st, Install Cygwin
Download the setup.exe file from here. I usually install to C:\Cygwin and stick all the package stuff in C:\Cygwin\.pkg, where I also stick the setup.exe, once I&#39;ve initially finished with</atom:summary><link>http://blog.darrenbishop.com/2010/10/techie-tidbits-get-going-with-cygwin.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-138095067523371709</guid><pubDate>Fri, 23 Apr 2010 10:50:00 +0000</pubDate><atom:updated>2010-04-23T12:10:23.508+01:00</atom:updated><title>Darren on Ruby: Adding arrays like vectors in Ruby</title><atom:summary type="text">In the process of writing some RSpec tests, I found it useful to be able to add arrays of numbers together as you would vectors.

Of course Ruby has a Vector class, but I was intrigued as to how I might implement such a thing and what extra utility I could provide; I came up with the following: 

module Enumerable
  def **(other)
    zip(other.fill(0, other.size, size - other.size)).collect {|a| </atom:summary><link>http://blog.darrenbishop.com/2010/04/darren-on-ruby-adding-arrays-like.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-5310679798698309225</guid><pubDate>Thu, 18 Mar 2010 11:47:00 +0000</pubDate><atom:updated>2010-09-23T07:28:39.103+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Tidbits</category><title>Techie Tidbits - Making Life a Little Easier</title><atom:summary type="text">Every now and then I come across a wonderful solution to problems I never really realised I had. I&#39;ve decided to post them all here so a) I can externalise my memory of them and b) Google can do its thing and share the wonderfulness with those that go looking.

I&#39;ll try to treat this opening blog as an catalog linking to other posts with the details - enjoy q(^_^)p



Resolving Symlinks
</atom:summary><link>http://blog.darrenbishop.com/2010/03/techie-tidbits-making-life-little.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-2423415475082593751</guid><pubDate>Sat, 07 Nov 2009 14:39:00 +0000</pubDate><atom:updated>2011-04-05T00:05:39.676+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ActionScript</category><category domain="http://www.blogger.com/atom/ns#">Flex</category><category domain="http://www.blogger.com/atom/ns#">Flexmojos</category><category domain="http://www.blogger.com/atom/ns#">Git</category><category domain="http://www.blogger.com/atom/ns#">Google</category><category domain="http://www.blogger.com/atom/ns#">Maven</category><title>Darren on Flex: Flexins, Drag &#39;n&#39; Drop Mixin now without sticky cursor and with selectable text</title><atom:summary type="text">Recap of Version 0.3If you quickly go back and play with the demo in my previous blog you&#39;ll find that if you drag across the  TitleWindow i.e. pressing down the mouse button on the background (red canvas), the TitleWindow will stick to the cursor and drag along... not ideal.
Also, while it&#39;s not obvious in the previous demo application, clicking buttons, sliding scrollbar thumbs or selecting </atom:summary><link>http://blog.darrenbishop.com/2009/11/darren-on-flex-flexins-drag-n-drop.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-4992435604832384068</guid><pubDate>Tue, 14 Jul 2009 15:21:00 +0000</pubDate><atom:updated>2009-07-21T11:17:25.291+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apache</category><category domain="http://www.blogger.com/atom/ns#">mod_rails</category><category domain="http://www.blogger.com/atom/ns#">Passenger</category><category domain="http://www.blogger.com/atom/ns#">Rails</category><category domain="http://www.blogger.com/atom/ns#">RoR</category><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>HOWTO: Configure Apache+Passenger with HTTPS/SSL</title><atom:summary type="text">The following BASH commands assume you are in a root shell. It is quite convenient to switch using sudo -s; this should allow for plenty cut and paste action.

apt-get update
apt-get install -y ssh #... if like me you are working on a bare-bones VM

At this point I typically close my VM Server console (cause it&#39;s pants... until screw up my network and/or ssh config). I connect using keys from </atom:summary><link>http://blog.darrenbishop.com/2009/07/howto-configure-apachepassenger-with.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-6942170621710034785</guid><pubDate>Sun, 05 Jul 2009 10:57:00 +0000</pubDate><atom:updated>2009-07-05T12:00:40.886+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Git</category><title>How can I set up an editor to work with Git on Windows?</title><atom:summary type="text">
If you&#39;ve ever asked yourself this question, checkout my answer on StackOverflow.com


Cheers
</atom:summary><link>http://blog.darrenbishop.com/2009/07/how-can-i-set-up-editor-to-work-with.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-451634586200145026</guid><pubDate>Mon, 18 May 2009 17:00:00 +0000</pubDate><atom:updated>2009-05-18T18:10:56.412+01:00</atom:updated><title>I Broke Google!</title><atom:summary type="text">... but it seems that the query is working now, lol.Never seen this error page before... and I&#39;ll probably never see it again.
I&#39;m having images of an old desktop in a very large air-craft hanging going, &quot;Pooof&quot;!

Update: Further more, I discovered I can&#39;t spell, lol (best of breed)
</atom:summary><link>http://blog.darrenbishop.com/2009/05/i-broke-google.html</link><author>noreply@blogger.com (Darren Bishop)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTiHHGK0GyCUuz7uaYxFPSRZCa7jqQY_IkA-YvAroANmn7JI9tiP0HdBQHjCMQ64t0HiwUhJNV_wdmx9tnBmEIiyptQMIU3AN9H7dskU7spdBAS1wgkUlhnkHyrRy6V6jbiztHTQMTVxw/s72-c/2009-05-18+18.00_ScreenShot_001.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-7689999348921680988</guid><pubDate>Wed, 29 Apr 2009 14:27:00 +0000</pubDate><atom:updated>2009-04-29T15:33:49.084+01:00</atom:updated><title>Online Equation Builder</title><atom:summary type="text">
Hey, this is just a quick one to point out this cool on-line tool to build equations:


Roger&#39;s Online Equation Editor


You simply enter you LaTeX into the form, submit and save the image it generates. If like me, any clue you had on LaTeX markup is long-gone, there is a nice concise guide to the Mathsy stuff.


Nice one Roger.

Cheers
</atom:summary><link>http://blog.darrenbishop.com/2009/04/online-equation-builder.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-3984320296179051311</guid><pubDate>Thu, 16 Apr 2009 23:28:00 +0000</pubDate><atom:updated>2009-04-29T15:34:54.191+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Derby</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">JRoR</category><category domain="http://www.blogger.com/atom/ns#">JRuby</category><category domain="http://www.blogger.com/atom/ns#">Rails</category><category domain="http://www.blogger.com/atom/ns#">RoR</category><category domain="http://www.blogger.com/atom/ns#">Ruby</category><category domain="http://www.blogger.com/atom/ns#">Tomcat</category><title>Darren on Ruby: Migrating Rails to Tomcat / JEE, Part 3: Using Warbler (Rack) to Deploy to Tomcat, Jetty or GlassFish</title><atom:summary type="text">The Series So Far

Part 1: Switching to JRuby &amp;amp; Apache Derby showed you how to migrate from the Ruby+SQLite3 technology stack to JRuby+Derby.
Part 2: Migrating Your Data From SQLite3 to Derby showed you how to export your data out of your SQLite3 database and import that data into your new Apache Derby database.


Now I will take you through using Warbler to package your Rails app into a Web </atom:summary><link>http://blog.darrenbishop.com/2009/04/darren-on-ruby-migrating-rails-to-jee_17.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-7739743062181556885</guid><pubDate>Tue, 14 Apr 2009 10:29:00 +0000</pubDate><atom:updated>2009-05-01T12:48:06.698+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Derby</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">JRoR</category><category domain="http://www.blogger.com/atom/ns#">JRuby</category><category domain="http://www.blogger.com/atom/ns#">Rails</category><category domain="http://www.blogger.com/atom/ns#">RoR</category><category domain="http://www.blogger.com/atom/ns#">Ruby</category><category domain="http://www.blogger.com/atom/ns#">SQLite3</category><category domain="http://www.blogger.com/atom/ns#">Tomcat</category><title>Darren on Ruby: Migrating Rails to Tomcat / JEE, Part 2: Migrating Your Data From SQLite3 to Derby</title><atom:summary type="text">The Series So Far

Part 1: Switching to JRuby &amp;amp; Apache Derby showed you how to migrate from the Ruby+SQLite3 technology stack to JRuby+Derby.


Now we will take a look at migrating the important stuff: your data.

I found two ways to do a data migration: the easy way and the hard way. And unfortunately for me, I found the hard way first.


Update, 01/05/2009: You Don&#39;t Really Need to Migrate </atom:summary><link>http://blog.darrenbishop.com/2009/04/darren-on-ruby-migrating-rails-to-jee.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3826577489563855618.post-7683602495200717181</guid><pubDate>Sat, 11 Apr 2009 15:28:00 +0000</pubDate><atom:updated>2009-04-11T19:36:55.457+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Blogging</category><title>Syntax Highlighting 2.0 on Blogger</title><atom:summary type="text">I previously blogged about adding code and displaying it nicely in your blog posts.


Back on February 3, 2009 Syntax Highlighting 2.0 was released. It is much nicer than the previous versions and the clipboard feature now works properly - It&#39;s also backward compatible or rather it upgrades the old 1.5 style to the 2.0 style without needing to touch all those old blog posts. Cool, ay?


Inspired </atom:summary><link>http://blog.darrenbishop.com/2009/04/syntax-highlighting-20-on-blogger.html</link><author>noreply@blogger.com (Darren Bishop)</author><thr:total>0</thr:total></item></channel></rss>