<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Big Bee Consultants Ltd</title>
    <link>/</link>
    <description>Recent content on Big Bee Consultants Ltd</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-GB</language>
    <copyright>&amp;copy; Big Bee Consultants Ltd. All rights reserved.</copyright>
    <lastBuildDate>Thu, 08 Dec 2011 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Welcome to Big Bee Consultants</title>
      <link>/about/</link>
      <pubDate>Thu, 08 Dec 2011 00:00:00 +0000</pubDate>
      
      <guid>/about/</guid>
      <description>Experience and good problem solving count for a lot in Enterprise Software. That&#39;s why Big Bee Consultants has been successfully meeting the needs of clients for many years now. This website will let you sample the range of new thinking and other issues that have been covered here in recent times, organised mostly in the form of a blog.    If you&#39;d like to comment on any of the recent articles, please use the comment form you&#39;ll find there.</description>
    </item>
    
    <item>
      <title>Privacy</title>
      <link>/privacy/</link>
      <pubDate>Thu, 12 Jan 2012 00:00:00 +0000</pubDate>
      
      <guid>/privacy/</guid>
      <description>We at the Big Bee Consultants web site take your individual privacy seriously. We aim to ensure that this site meets and exceeds all relevant legal and regulatory requirements, including the Data Protection Act. Any personal information collected via the web site will be stored and processed exclusively for the purposes of Big Bee Consultants. No personal information you provide via this web site will be passed on to any third party.</description>
    </item>
    
    <item>
      <title>Bee Config reaches beta release</title>
      <link>/news/2012/bee-config-reaches-beta-release/</link>
      <pubDate>Tue, 27 Nov 2012 00:00:00 +0000</pubDate>
      
      <guid>/news/2012/bee-config-reaches-beta-release/</guid>
      <description>[b][url=/bee-config]Bee Config[/url][/b], the simple Scala API for loading configuration files, has needed very few changes over the last few months and is now in preparation for full release. It is feature-complete and mostly ready for production use. It now has a Maven/Ivy repository for automatic dependency. If no significant changes are needed during December, the first release candidate will be announced in a few weeks.</description>
    </item>
    
    <item>
      <title>Bee Config is now at v1.4.0</title>
      <link>/news/2013/bee-config-now-v140/</link>
      <pubDate>Thu, 20 Jun 2013 00:00:00 +0000</pubDate>
      
      <guid>/news/2013/bee-config-now-v140/</guid>
      <description>Version 1.4.0 of Bee Config is now available. This follows two enhancements. Firstly, the reloader tool has been improved. Secondly, it is now possible to wrap a config and register it as a JMX bean, allowing a configuration to be accessed and modified by standard JVM tools whilst the program is running.</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.22.4</title>
      <link>/news/2013/bee-client-now-v0224/</link>
      <pubDate>Mon, 22 Jul 2013 00:00:00 +0000</pubDate>
      
      <guid>/news/2013/bee-client-now-v0224/</guid>
      <description>Version 0.22.4 of Bee Client is now available. This is a bugfix release.
 Unclean handling of non-textual content has been tidied up. Status equals method has been changed to behave more intuitively, comparing only the status code now.  History of commits</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.22.6</title>
      <link>/news/2013/bee-client-now-v0226/</link>
      <pubDate>Sun, 04 Aug 2013 00:00:00 +0000</pubDate>
      
      <guid>/news/2013/bee-client-now-v0226/</guid>
      <description>Version 0.22.6 of Bee Client is now available. This brings some minor feature enhancements.
 Small improvements to the following classes: Status, Domain, Href, Path  History of commits</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.22.8</title>
      <link>/news/2013/bee-client-now-v0228/</link>
      <pubDate>Sat, 12 Oct 2013 00:00:00 +0000</pubDate>
      
      <guid>/news/2013/bee-client-now-v0228/</guid>
      <description>Version 0.22.8 of Bee Client is now available. This brings some minor API changes; the corresponding old API is now deprecated.
 Small alterations to the following constants: CookieJar.Empty, CredentialSuite.Empty  The old names (CookieJar.empty and CredentialSuite.empty) should be replaced with the new names with capital &amp;lsquo;E&amp;rsquo;.
History of commits</description>
    </item>
    
    <item>
      <title>Bee client is now at v0.23.1</title>
      <link>/news/2013/bee-client-now-v0231/</link>
      <pubDate>Mon, 21 Oct 2013 00:00:00 +0000</pubDate>
      
      <guid>/news/2013/bee-client-now-v0231/</guid>
      <description>Version 0.23.1 of Bee Client is now available. This brings some minor API changes;
 RequestBody now implements equals and hashCode methods appropriately according to its implemention subclasses.
 MediaType.contentType field has been renamed to mainType to reflect its purpose more correctly. (It would be possible to use type but this wasn&amp;rsquo;t adopted because of the inconsistency this introduces into source code at usage sites, vs the subType field.)
  History of commits</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.24.0</title>
      <link>/news/2013/bee-client-now-v0240/</link>
      <pubDate>Thu, 07 Nov 2013 00:00:00 +0000</pubDate>
      
      <guid>/news/2013/bee-client-now-v0240/</guid>
      <description>Version 0.24.0 of Bee Client is now available. This brings one API change.
Config now has a proxy field that is optional. The old apply signature is still available as a deprecated factory method, but you should upgrade your code to use the optionality. The meaning of the proxy field is thus:
 when some proxy is supplied, this is used for all requests made using this configuration when None is supplied, the standard JVM DefaultProxySelector operates and this means that the standard command-line flags are used when Some(Proxy.</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.24.1</title>
      <link>/news/2013/bee-client-now-v0241/</link>
      <pubDate>Thu, 14 Nov 2013 00:00:00 +0000</pubDate>
      
      <guid>/news/2013/bee-client-now-v0241/</guid>
      <description>Version 0.24.1 of Bee Client is now available. This brings one API change.
Config now has methods to make SSL connections operate in an insecure mode. This is intended for specialised purposes, e.g. code development, only.
More information: Making proxied requests
History of commits</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.26.1</title>
      <link>/news/2013/bee-client-now-v0261/</link>
      <pubDate>Tue, 28 Jan 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2013/bee-client-now-v0261/</guid>
      <description>Version 0.26.1 of Bee Client is now available. This brings one important API change, namely a bugfix in MediaType. It is now consistent with all the other header Value implementations.
This is a breaking change: old usage of MediaType.value needs to be replaced with the new MediaType.mediaType field that replaces it. Now, MediaType.value includes the character set when present, and this is a change of semantics.
Other issues:  v0.</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.26.4</title>
      <link>/news/2014/bee-client-now-v0264/</link>
      <pubDate>Thu, 06 Feb 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-client-now-v0264/</guid>
      <description>Version 0.26.4 of Bee Client is now available. This brings bugfixes to cookie handling:
 issue 22 cookie exipry, and issue 23 cookie domain matching  Also, work is under way to provide client-side caching, following HTTP practice. This is not yet ready and will feature in a future release.
History of commits</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.26.6</title>
      <link>/news/2014/bee-client-now-v0266/</link>
      <pubDate>Wed, 12 Feb 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-client-now-v0266/</guid>
      <description>Version 0.26.6 of Bee Client is now available. This brings a bugfix to date handling:
 issue 24 two-digit year  Also, work to provide client-side caching, following HTTP practice, is nearly ready and a new version including it is to be expected soon.
History of commits</description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.27.0</title>
      <link>/news/2014/bee-client-now-v0270/</link>
      <pubDate>Thu, 13 Feb 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-client-now-v0270/</guid>
      <description>Version 0.27.0 of Bee Client is now available. This brings completion of the HTTP content cache.
History of commits</description>
    </item>
    
    <item>
      <title>Bee Config is now at v1.4.2</title>
      <link>/news/2014/bee-config-now-v142/</link>
      <pubDate>Wed, 03 Jul 2013 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-config-now-v142/</guid>
      <description>Version 1.4.2 of Bee Config is now available. This is a bugfix release.
ConfigSource now has a canBeOpened method. SourceChangeDetector has been simplified by using the canBeOpened logic. ConfigSource has been modified to ensure that the counter is always updated.
History of commits</description>
    </item>
    
    <item>
      <title>Bee Config is now at v1.5.0</title>
      <link>/news/2014/bee-config-now-v150/</link>
      <pubDate>Wed, 25 Jun 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-config-now-v150/</guid>
      <description>Version 1.5.0 of Bee Config is now available. This brings full Java support, whilst carrying forward the excellent Scala api.
In previous versions, file i/o, parsing and config manipulation were all written in Scala, which was less easy to use from Java programs.
Now, a new ConfigJ class in Java emulates the Config class in Scala. The Java parser is shared by both. The file i/o and parsing have been back-ported to Java, although this will not be evident in existing Scala programs (unless they happen to use the underlying utility classes explicitly).</description>
    </item>
    
    <item>
      <title>Bee Config is now at v1.5.3</title>
      <link>/news/2014/bee-config-now-v153/</link>
      <pubDate>Tue, 08 Jul 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-config-now-v153/</guid>
      <description>Version 1.5.3 of Bee Config is now available. This brings JavaBean integration, a new feature for those who would like easy configuration files combined with pojos with typed properties.
The new feature allows you to load your Config from a file (or wherever) as normal, then use it to populate JavaBeans, which may themselves contain further JavaBeans. You can create your own JavaBean and pass it in. Or you can specify the class of the bean and it will be created reflectively for you.</description>
    </item>
    
    <item>
      <title>Bee Config is now at v1.5.4</title>
      <link>/news/2014/bee-config-now-v154/</link>
      <pubDate>Thu, 10 Jul 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-config-now-v154/</guid>
      <description>Version 1.5.4 of Bee Config is now available. This brings support for Scala 2.11 as well as 2.10 and 2.9.x.
 Previous announcement: v1.5.3 History of commits  </description>
    </item>
    
    <item>
      <title>Bee Config is now at v1.5.5</title>
      <link>/news/2014/bee-config-now-v155/</link>
      <pubDate>Thu, 10 Jul 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-config-now-v155/</guid>
      <description>Version 1.5.5 of Bee Config is now available. This includes a small bugfix in the DimensionedValue class, which now treats kilograms (kg) as a special case.
 Previous announcement: v1.5.4 History of commits  </description>
    </item>
    
    <item>
      <title>Bee Client is now at v0.28.0</title>
      <link>/news/2014/bee-client-now-v0280/</link>
      <pubDate>Wed, 03 Sep 2014 00:00:00 +0000</pubDate>
      
      <guid>/news/2014/bee-client-now-v0280/</guid>
      <description>Version 0.28.0 of Bee Client is now available. This brings support for Scala 2.11.
 History of commits</description>
    </item>
    
    <item>
      <title>Writing a Reverse Proxy</title>
      <link>/bee-client/writing-reverse-proxy/</link>
      <pubDate>Wed, 03 Oct 2012 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/writing-reverse-proxy/</guid>
      <description>todo</description>
    </item>
    
    <item>
      <title>Where to Go Next ~ Operators</title>
      <link>/post/2017/go-ideas-2/</link>
      <pubDate>Tue, 21 Feb 2017 00:00:00 +0000</pubDate>
      
      <guid>/post/2017/go-ideas-2/</guid>
      <description>&lt;p&gt;Go version 1.0 arrived in late 2009. It&amp;rsquo;s now a well established language and ecosystem, having carved out a significant niche in server integration and bespoke webserver code, amongst others.&lt;/p&gt;

&lt;p&gt;Unashamedly a quirky language, Go&amp;rsquo;s developers pioneered an opinionated approach to minimalism that has evidently served it well.&lt;/p&gt;

&lt;p&gt;This post is one of several looking to the future; it focusses on operators in Go.
&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Where to Go Next ~ Range</title>
      <link>/post/2016/go-ideas-1/</link>
      <pubDate>Fri, 30 Dec 2016 00:00:00 +0000</pubDate>
      
      <guid>/post/2016/go-ideas-1/</guid>
      <description>&lt;p&gt;Go version 1.0 arrived in late 2009. It&amp;rsquo;s now a well established language and ecosystem, having carved out a significant niche in server integration and bespoke webserver code, amongst others.&lt;/p&gt;

&lt;p&gt;Unashamedly a quirky language, Go&amp;rsquo;s developers pioneered an opinionated approach to minimalism that has evidently served it well.&lt;/p&gt;

&lt;p&gt;This post will focus on iteration in Go using &lt;code&gt;range&lt;/code&gt;. Later posts will take a more detailed look at a few other Go features.
&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>How are Akka actors different from Go channels?</title>
      <link>/post/2015/how-are-akka-actors-different-from-go-channels/</link>
      <pubDate>Sun, 30 Aug 2015 00:00:00 +0000</pubDate>
      
      <guid>/post/2015/how-are-akka-actors-different-from-go-channels/</guid>
      <description>From the Quora.com question How are Akka actors different from Go channels?
I have worked extensively with both Akka actors and Go channels/goroutines and would like to offer a few comments.
Firstly, it is important to stress that CSP allows rendezvous-based synchronisation between goroutines using channels, and channels can optionally include buffering.
When one goroutine attempts to send on an unbuffered channel, it checks whether the other party is present. If not, it sits waiting, during which it consumes no CPU and only a little memory.</description>
    </item>
    
    <item>
      <title>Hosting A Hugo Website Behind Nginx</title>
      <link>/post/2014/hosting-hugo-website-behind-nginx/</link>
      <pubDate>Thu, 20 Nov 2014 00:00:00 +0000</pubDate>
      
      <guid>/post/2014/hosting-hugo-website-behind-nginx/</guid>
      <description>I&amp;rsquo;ve been exploring Hugo lately. Interesting.
There are many Content Management Systems (CMS) in the world - this site you&amp;rsquo;re reading is hosted within Drupal. But I&amp;rsquo;ve always felt that a live CMS is sometimes a needlessly heavy-weight solution to the problem of authoring content and handling the digital assets to go with it. Even large corporations blunder into complex arcane content management, maybe suffering poor productivity and bad performance, with expensive licences to boot.</description>
    </item>
    
    <item>
      <title>The Awesomeness of Gorun</title>
      <link>/post/2014/awesomeness-gorun/</link>
      <pubDate>Tue, 04 Nov 2014 00:00:00 +0000</pubDate>
      
      <guid>/post/2014/awesomeness-gorun/</guid>
      <description></description>
    </item>
    
    <item>
      <title>Communicating Process Architectures - CPA2014 Conference Summary</title>
      <link>/post/2014/cpa2014-conference-summary/</link>
      <pubDate>Thu, 28 Aug 2014 00:00:00 +0000</pubDate>
      
      <guid>/post/2014/cpa2014-conference-summary/</guid>
      <description>The CPA2014 conference held in Oxford over the last few days brought together an interesting group of around three dozen experts in the field of communicating process architectures. Discussions were on concurrency and parallelism topics, both theoretical and practical, in areas related to communicating process architectures (CPA).
Also known as process-oriented programming, CPA is about both concurrency (the natural expression of things that are happening alongside each other) and parallelism (the physical execution of many parts of a program at the same time) by means of process algebra formalisms and CSP in particular.</description>
    </item>
    
    <item>
      <title>Go Web Toolkits and Frameworks</title>
      <link>/post/2014/go-web-toolkits-and-frameworks/</link>
      <pubDate>Fri, 18 Jul 2014 00:00:00 +0000</pubDate>
      
      <guid>/post/2014/go-web-toolkits-and-frameworks/</guid>
      <description>Beego FrameworkTL;DR. Sorry.
Revel Framework* strongly opinionated - you may or may not like what it requires you to do
+ routing, filters, middleware, templates/views
+ nice development environment
- hard to step outside the Revel wayTraffic Framework+ routing, filters, middleware, templates/views
- dependency on regexp-based routing: impaired performance
Gorilla Toolkit+ fast routing
+ subrouter / tree capability is very good
- &amp;lsquo;context&amp;rsquo; shares a common table of state
- &amp;lsquo;session&amp;rsquo; uses &amp;lsquo;context&amp;rsquo;</description>
    </item>
    
    <item>
      <title>Go Gaps</title>
      <link>/post/2014/go-gaps/</link>
      <pubDate>Wed, 02 Jul 2014 00:00:00 +0000</pubDate>
      
      <guid>/post/2014/go-gaps/</guid>
      <description>Go is a great and superbly simple language. It has a high degree of credibility in its competence because its progenitors worked tirelessly on achieving simple and clean precision.
But it&amp;rsquo;s not perfect.
 There is no easy way to compare structs deeply without using reflect.DeepEqual or some hard work http://stackoverflow.com/questions/24534072/golang-how-to-compare-struct-slice-map-is-equal I really would like some single-assignment style of immutability. Channel selection doesn&amp;rsquo;t have boolean guards, unlike Occam. This is a shame when these are essentially easy to implement and greatly simplify the code needed to write stateful actors (processes in CSP-speak).</description>
    </item>
    
    <item>
      <title>Scala, The Good Bits</title>
      <link>/post/2014/scala-good-bits/</link>
      <pubDate>Tue, 27 May 2014 00:00:00 +0000</pubDate>
      
      <guid>/post/2014/scala-good-bits/</guid>
      <description>== ~ Or: Why Java devs might find Scala-lite very useful ~
 Case classes awesome; Javabeans smell Exception handling, schmexception handling  </description>
    </item>
    
    <item>
      <title>Contact</title>
      <link>/contact/</link>
      <pubDate>Wed, 09 Apr 2014 00:00:00 +0000</pubDate>
      
      <guid>/contact/</guid>
      <description> First Name  Last Name  E-Mail  City  State AL CA IL      Send   </description>
    </item>
    
    <item>
      <title>Cake Or Dependency Injection</title>
      <link>/post/2014/cake-or-dependency-injection/</link>
      <pubDate>Thu, 13 Feb 2014 00:00:00 +0000</pubDate>
      
      <guid>/post/2014/cake-or-dependency-injection/</guid>
      <description> Traits encourage inheritance (by a different name) instead of aggregation Cake can be harder to test - stubs/mocks; example&amp;hellip; Cake has a single namespace, with collision problems.  </description>
    </item>
    
    <item>
      <title>Process-Oriented Programming - a generalisation of the Actor Model </title>
      <link>/post/2013/process-oriented-programming-generalisation-actor-model/</link>
      <pubDate>Sat, 14 Dec 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/process-oriented-programming-generalisation-actor-model/</guid>
      <description>The Actor Model originated in 1973 and allows easy description of stateful objects that execute concurrently with each other. They pass messages and, fundamentally, these messages are delivered without the sender ever waiting for the receivet to acknowledge receipt (i.e. the messages are exchanged asynchronously).
 PROC actor (CHAN? OF ANY in) WHILE TRUE SEQ :  No control over aliasing It is easy to send mutable data structures, such as collections, in messages between actors.</description>
    </item>
    
    <item>
      <title>Reactive Programming Critique</title>
      <link>/post/2013/reactive-programming-critique/</link>
      <pubDate>Mon, 09 Dec 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/reactive-programming-critique/</guid>
      <description>The recently-concluded Principles of Reactive Programming
Martin Odersky  Good overview of using mutable code for event-based simulation Event-wheel model is an old idea, but solid  Eric Meier  rambling presentations without any summaries duality aside-remarks &amp;amp; category theory not really necessary sales job for Rx library complex api without good reference documentation suffers from immediate non-determinism potentially heavy memory footprint needed for re-imposing ordering on disordered events difficulty in making choices (no clear select/alternative) complex higher-order manipulation - clever but hard to understand unnecessarily complex compared to equivalent CSP-based lego race conditions are sometimes allowed - especially MultipleAssignmentSubscription() source code samples have syntax errors Rx library is alpha-grade version with bugs callback hell.</description>
    </item>
    
    <item>
      <title>Bitter Cake</title>
      <link>/post/2013/bitter-cake/</link>
      <pubDate>Mon, 21 Oct 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/bitter-cake/</guid>
      <description>The Cake Pattern is a hugely popular way of constructing Scala applications based on mixed-in code components.
 So what&amp;rsquo;s wrong?
 global namespace; name collisions; broken locality of knowledge prefer composition over inheritance testing the wrong things - blurred responsibilities&amp;nbsp; refactoring - harder more perm-gen space, more classloading cannot have final classes (unless sealed)</description>
    </item>
    
    <item>
      <title>Euler&#39;s Equation</title>
      <link>/post/2013/eulers-equation/</link>
      <pubDate>Sat, 07 Sep 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/eulers-equation/</guid>
      <description>Being of only modest mathematical achievement, I wouldn&#39;t claim much great insight. However, when doing my studies in earlier years, I was always unimpressed with the lack of simplicity of many equations featuring the constant
2π</description>
    </item>
    
    <item>
      <title>Avoiding Race Conditions</title>
      <link>/post/2013/avoiding-race-conditions/</link>
      <pubDate>Mon, 02 Sep 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/avoiding-race-conditions/</guid>
      <description>At a recent conference, I had one of those &#39;aha!&#39; moments when some existing pieces together to give a new insight. Sometimes, a glimpse of greater clarity sheds light on where we are and where we&#39;re going. In this particular case, I&#39;d been wrestling with concurrency issues. All concurrent software needs to share state. Obviously, if this were not true, it would just be a bag of disjoint stuff otherwise. Sharing state is where the fun starts.</description>
    </item>
    
    <item>
      <title>Goodbye Actors?</title>
      <link>/post/2013/goodbye-actors/</link>
      <pubDate>Tue, 27 Aug 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/goodbye-actors/</guid>
      <description> Good For &amp;hellip; &amp;hellip; &amp;hellip; Not So Good For  latter-day batch processing - limited model expressiveness poor performance limited abstraction limited applicability  </description>
    </item>
    
    <item>
      <title>A Tour of Go</title>
      <link>/post/2013/tour-go/</link>
      <pubDate>Thu, 30 May 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/tour-go/</guid>
      <description>I was asked to give a tour of Go to colleagues, so what better than to flatter Russ Cox by imitating his excellent tour of Go. The presentation material and code samples for my tour are here.</description>
    </item>
    
    <item>
      <title>Deadlock ... and How To Avoid It</title>
      <link>/post/2013/deadlock-and-how-avoid-it/</link>
      <pubDate>Wed, 27 Mar 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/deadlock-and-how-avoid-it/</guid>
      <description>In an earlier article, four untestable dynamic problems were discussed:  race conditions deadlock livelock thread starvation There is no panacea to solve these problems. However, there are quite usable steps that can be taken to deal with such situations.
Race Conditions Although this article is about deadlocks, you wouldn&amp;rsquo;t have any if race conditions (instability due to concurrent threads changing shared data without sufficient protective locking) were not a concern.</description>
    </item>
    
    <item>
      <title>Getting Go</title>
      <link>/post/2013/getting-go/</link>
      <pubDate>Mon, 11 Feb 2013 00:00:00 +0000</pubDate>
      
      <guid>/post/2013/getting-go/</guid>
      <description>It&amp;rsquo;s quite easy to install the Go language on Ubuntu and similar Linuxes. In fact, Ubuntu has an old version straight out of apt-get.
However, if you want to install the latest, maybe you want to download the latest and install it in a clean way. Here&amp;rsquo;s how I chose to do it - YMMV.
#!/bin/bash -xe V=go${1:-1.1} if fgrep $V /usr/local/go/VERSION; then echo Go $V is already installed in /usr/local/go echo To uninstall or upgrade, first echo &amp;quot; sudo rm -rf /usr/local/go&amp;quot; else echo Installing Go programming language $V .</description>
    </item>
    
    <item>
      <title>CSP For Akka?</title>
      <link>/post/2012/csp-akka/</link>
      <pubDate>Wed, 21 Nov 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/csp-akka/</guid>
      <description>At London Scala Exchange, Martin Odersky said
 &amp;ldquo;The Scala way is to design something that&amp;rsquo;s very general and can be used in lots of ways.&amp;rdquo;
 Let&amp;rsquo;s pick up the challenge with actors - specifically Akka.</description>
    </item>
    
    <item>
      <title>Wrestling With Concurrency - Scala Exchange 2012</title>
      <link>/post/2012/wrestling-with-concurrency-at-scala-exchange-2012/</link>
      <pubDate>Wed, 21 Nov 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/wrestling-with-concurrency-at-scala-exchange-2012/</guid>
      <description>I was very fortunate to join the London Scala Exchange conference over the last two days. A good range of quality talks were offered - some thought provoking, some highly entertaining. And most wrestled to some extent with concurrency.
It seems that Scala is not yet at ease with itself in its concurrency model. The root of the issue is the JVM: threads are very expensive and limited to small numbers (say, 30).</description>
    </item>
    
    <item>
      <title>Google&#39;s Go Revisited</title>
      <link>/post/2012/googles-go-revisited/</link>
      <pubDate>Sat, 13 Oct 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/googles-go-revisited/</guid>
      <description>At the end of 2009, a delightfully &amp;ldquo;little&amp;rdquo; programming language was fully released following a few years of gestation. I wrote back then about the major features of Google&amp;rsquo;s Go.
Nearly two years of intensive Scala, Java and Groovy work later, I felt it was time to revisit Go with one question in mind: with so much new-found enthusiasm for non-Java languages around, what has Go got to offer that might make it stand out from the crowd?</description>
    </item>
    
    <item>
      <title>Making HTTP Requests - Bee-Client Wraps HttpURLConnection in Scala</title>
      <link>/post/2012/making-http-requests-bee-client-wraps-httpurlconnection-scala/</link>
      <pubDate>Sat, 13 Oct 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/making-http-requests-bee-client-wraps-httpurlconnection-scala/</guid>
      <description>TODO</description>
    </item>
    
    <item>
      <title>Dispatch HTTP Critique</title>
      <link>/post/2012/dispatch-http-critique/</link>
      <pubDate>Tue, 25 Sep 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/dispatch-http-critique/</guid>
      <description>Dispatch is a library for asynchronous HTTP interaction. It provides a Scala vocabulary for Java’s async-http-client. It is apparently popular and crops up as a transitive dependency of several other popular Scala products. So it can&amp;rsquo;t be all bad.
However, a recent project of ours had an unhappy experience with it.
Disclaimer I&amp;rsquo;ll say at the outset that there is an alternative HTTP client of my own. So I&amp;rsquo;m biased.</description>
    </item>
    
    <item>
      <title>Scala Mixins - Five Gotchas</title>
      <link>/post/2012/scala-mixins-five-gotchas/</link>
      <pubDate>Tue, 25 Sep 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/scala-mixins-five-gotchas/</guid>
      <description> Constructor order Multiple execution of constructor side-effects No longer is-a Colliding namespaces - method names can only be globally distinct No other way to inject collaborators (or resort to setter injection???) Stubbing can be hard work - mocking sometimes preferable  </description>
    </item>
    
    <item>
      <title>Is Blocking Evil?</title>
      <link>/post/2012/blocking-evil/</link>
      <pubDate>Mon, 24 Sep 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/blocking-evil/</guid>
      <description>A recurring theme amongst Scala enthusiasts is the assertion that blocking is evil. Indeed at a recent conference more than one speaker had a slide on the screen with those words. I&amp;rsquo;ve been pondering the evil of blocking ever since. Is it always true? is it ever true even?
The argument in favour of non-blocking I/O is an easy one: each JVM thread that&amp;rsquo;s blocked because it&amp;rsquo;s waiting for I/O cannot get on with something else useful instead.</description>
    </item>
    
    <item>
      <title>Bee Config - simple, compelling replacement for Properties in Scala</title>
      <link>/post/2012/bee-config-replaces-properties-in-scala/</link>
      <pubDate>Tue, 17 Jul 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/bee-config-replaces-properties-in-scala/</guid>
      <description>The new Bee Config API provides an alternative to using java.util.Properties in Scala programs. The API provides a very simple Scala API for loading configuration files. Simplicity is the key!
Often, java.util.Properties is still used in Scala applications, but it is often unsatisfactory. This API is broadly similar in intent, but pimped to work well in Scala.
Features  Config files are like properties files, except they are always Unicode.</description>
    </item>
    
    <item>
      <title>JSON In Scala - Typesafe Mapping using Jerkson</title>
      <link>/post/2012/json-scala-typesafe-mapping-using-jerkson/</link>
      <pubDate>Wed, 29 Feb 2012 00:00:00 +0000</pubDate>
      
      <guid>/post/2012/json-scala-typesafe-mapping-using-jerkson/</guid>
      <description>Our project moved its middle tier to Scala recently. It had been Java, but with an able team on hand and a lot of work ahead of us, Scala was adopted instead. Not only was the transition to Scala painless, but it also brought an important and serendipitous benefit in our problem space: Scala case classes transform directly into JSON and vice versa. It&amp;rsquo;s hard to overstate just how much benefit this brought for this application.</description>
    </item>
    
    <item>
      <title>The Principles of Good Programming</title>
      <link>/post/2011/the-principles-of-good-programming/</link>
      <pubDate>Wed, 27 Jul 2011 00:00:00 +0000</pubDate>
      
      <guid>/post/2011/the-principles-of-good-programming/</guid>
      <description>A modest set of principles guides today&amp;rsquo;s expert programmers to produce effective results quickly and reliably.&amp;nbsp; Christopher Diggins has produced an excellent concise summary of these, which is reproduced here. Principles of Good Programming The principles of good programming are closely related to principles of good design and engineering. The following programming principles have helped me over the years become a better programmer, and I believe can help any developer become more efficient and to produce code which is easier to maintain and that has fewer defects.</description>
    </item>
    
    <item>
      <title>Is Scala Good For the Enterprise Yet?</title>
      <link>/post/2011/scala-good-enterprise-yet/</link>
      <pubDate>Fri, 07 Jan 2011 00:00:00 +0000</pubDate>
      
      <guid>/post/2011/scala-good-enterprise-yet/</guid>
      <description>Can decision-makers realistically steer their development projects from Java to Scala yet, or is it too early?&amp;nbsp; Clearly, such a transition is not without risk.&amp;nbsp; Have the benefits now stacked up to outweigh the risks?
 An excellent blog post by Jim McBeath discusses the pros and cons in an objective way.&amp;nbsp; This is well worth reading. Paulo Vilella of Accenture added his views: &amp;ldquo;For small to medium projects, I believe Scala is right now a great alternative to Java for higher productivity and agility, without compromising on performance and compatibility.</description>
    </item>
    
    <item>
      <title>Easy Pojos in Scala</title>
      <link>/post/2010/easy-pojos-scala/</link>
      <pubDate>Sun, 21 Nov 2010 00:00:00 +0000</pubDate>
      
      <guid>/post/2010/easy-pojos-scala/</guid>
      <description>A significant part of the lines of code in any enterprise Java application are devoted to plain old java objects (pojos) that carry data. Although they are simple, they represent a non-trivial effort in development and testing. And they make an application resistant to change because often a small change requires alteration of code in several places. Pojos written in Scala are so simple that the value of mixing Scala into Java development becomes worth the extra startup effort.</description>
    </item>
    
    <item>
      <title>SLF4J - Not Just Simple Logging in Java</title>
      <link>/post/2010/slf4j-not-just-simple-logging-java/</link>
      <pubDate>Fri, 19 Nov 2010 00:00:00 +0000</pubDate>
      
      <guid>/post/2010/slf4j-not-just-simple-logging-java/</guid>
      <description>A Java logging framework should be effective but low fuss. There are many to choose from - some would say too many perhaps.&amp;nbsp; What is needed is something that is simple, productive, reliable and with good performance.
SLF4J is a façade for logging in Java that achieves best-of-breed capability and plays nicely with pre-existing frameworks.
Log4J - the Forerunner Probably the most successful earlier logging framework was Log4J, a well-respected Apache project.</description>
    </item>
    
    <item>
      <title>Concrete5 CMS Experiences</title>
      <link>/post/2010/concrete5-cms-experiences/</link>
      <pubDate>Thu, 04 Nov 2010 00:00:00 +0000</pubDate>
      
      <guid>/post/2010/concrete5-cms-experiences/</guid>
      <description>Here at Big Bee Consultants we do Java. Mostly. We also have a considerable body of experience in website development, including the CSS styling, XHTML&amp;nbsp;&amp;amp;&amp;nbsp;SVG integration and PHP&amp;nbsp;content management systems.
Having needed to investigate PHP&amp;nbsp;content management systems and used several on production sites, here are a few tips we&#39;ve learnt.&amp;nbsp; A lot else has been written on this subject so we&#39;ll keep this brief.
Concrete5 is a relatively new PHP content management system (CMS) with the MIT licence.</description>
    </item>
    
    <item>
      <title>Move over Java, Scala has arrived!</title>
      <link>/post/2010/move-over-java-scala-has-arrived/</link>
      <pubDate>Tue, 26 Oct 2010 00:00:00 +0000</pubDate>
      
      <guid>/post/2010/move-over-java-scala-has-arrived/</guid>
      <description>Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages. It is also fully interoperable with Java. Code sizes are typically reduced by a factor of two to three when compared to an equivalent Java application. Scala - The New Kid on the Block Actually not so very new, Scala was initially developed during 2001 - 2003.</description>
    </item>
    
    <item>
      <title>A Post-Commit Hook to Integrate Subversion with Hudson</title>
      <link>/post/2010/post-commit-hook-integrate-subversion-hudson/</link>
      <pubDate>Wed, 16 Jun 2010 00:00:00 +0000</pubDate>
      
      <guid>/post/2010/post-commit-hook-integrate-subversion-hudson/</guid>
      <description>Hudson is a continuous-integration build server which is easy to install and works well. An earlier article compared Hudson with Cruise Control. This article goes on to discuss how Hudson operates with source code stored in a Subversion repository.
Hudson provides out-of-the box integration with CVS and Subversion, and hosts various other source code repositories too (more info). This works on a &amp;lsquo;polling&amp;rsquo; basis: you configure your build job to check the relevant svn URL every X minutes.</description>
    </item>
    
    <item>
      <title>Google&#39;s Go</title>
      <link>/post/2009/go-lang/</link>
      <pubDate>Tue, 15 Dec 2009 00:00:00 +0000</pubDate>
      
      <guid>/post/2009/go-lang/</guid>
      <description>Google&amp;rsquo;s Go Language has been making news since the publicity launch in November &amp;lsquo;09.&amp;nbsp; Go combines the development speed of working in a dynamic language like Python with the performance and safety of a compiled language like C or C++.
Go is not like Java and it doesn&amp;rsquo;t aim to be like Java. Rather, think of it as C++ for the 21st century. No &amp;hellip; correct that - it&amp;rsquo;s a bit more than C++ but yet rather a lot less than C++.</description>
    </item>
    
    <item>
      <title>Serving XHTML as application/xhtml&#43;xml</title>
      <link>/post/2009/serving-xhtml-applicationxhtmlxml/</link>
      <pubDate>Fri, 29 May 2009 00:00:00 +0000</pubDate>
      
      <guid>/post/2009/serving-xhtml-applicationxhtmlxml/</guid>
      <description>It&amp;rsquo;s nearly a decade since W3C produced the first XHTML standard. In all that time, very few sites adopting it have gone as far as to serve the preferred MIME type (application/xhtml+xml). This is because it has been difficult to do well, and text/html sort-of works, so most website administrators don&amp;rsquo;t bother. Here are some tips to make things easier.
First of all, this article isn&#39;t about whether XHTML is a Good Thing - personally, I take it for granted that it is, but I merely note in passing that a minority of people disagree.</description>
    </item>
    
    <item>
      <title>Software for Continuous Integration - Cruise Control &amp; Hudson Compared</title>
      <link>/post/2009/software-continuous-integration-cruise-control-hudson-compared/</link>
      <pubDate>Fri, 29 May 2009 00:00:00 +0000</pubDate>
      
      <guid>/post/2009/software-continuous-integration-cruise-control-hudson-compared/</guid>
      <description>&amp;nbsp;
Cruise Control is a well-established continuous integration (CI) server and is doing a good job. So why would we even consider using something else – and all the upheaval of changing? The author was fortunate to operate the two systems side-by-side for a while for a busy development team. This review presents a comparison with Hudson and will attempt to provide some answers.
The table below does not promise to provide a complete list of all features; in particular, there are many other plugins not listed here.</description>
    </item>
    
    <item>
      <title>BlockingQueues and Communicating Sequential Processes</title>
      <link>/post/2009/blockingqueues-and-communicating-sequential-processes/</link>
      <pubDate>Thu, 14 May 2009 00:00:00 +0000</pubDate>
      
      <guid>/post/2009/blockingqueues-and-communicating-sequential-processes/</guid>
      <description>A particularly important objective for developers producing of concurrent systems is to produce designs that always give consistent results and cannot deadlock (see The Four Horsemen on why this can be difficult).
Since Java 1.5, the Java API has included the java.util.concurrent package, which contains a range of classes to support thread synchronisation, communication and safe sharing of data. This Java5 API enhancement introduced blocking queues for passing messages between threads, and with this it has been possible to write concurrent Java applications that benefit from decades of theoretical progress in how to design deadlock-free systems.</description>
    </item>
    
    <item>
      <title>XML Catalogs &amp; Catalog Resolvers</title>
      <link>/post/2008/xml-catalogs-catalog-resolvers/</link>
      <pubDate>Fri, 06 Jun 2008 00:00:00 +0000</pubDate>
      
      <guid>/post/2008/xml-catalogs-catalog-resolvers/</guid>
      <description>XML documents typically refer to external entities, for example the public and/or system ID for the Document Type Definition. These external relationships are expressed using URIs, typically as URLs. However, if they&#39;re absolute URLs, they only work when your network can reach them. Relying on remote resources makes XML processing susceptible to both planned and unplanned network downtime. Conversely, if they&#39;re relative URLs, they&#39;re only useful in the context where the were initially created.</description>
    </item>
    
    <item>
      <title>The Four Horsemen of the Test-Driven Apocalypse</title>
      <link>/post/2008/four-horsemen/</link>
      <pubDate>Wed, 23 Apr 2008 00:00:00 +0000</pubDate>
      
      <guid>/post/2008/four-horsemen/</guid>
      <description>Test-driven development (described on Wikipedia) is now widely accepted as the preferred way to develop software, especially Java software. I&#39;m an enthusiastic supporter of this predilection - but there is a problem people seem often to overlook. I call it The Four Horsemen (also on Wikipedia) because there are four potentially major dynamic problems unreachable by testing alone.
The problems are:
 Race Conditions - instability due to concurrent threads changing shared data without sufficient protective locking  Deadlock - freezing-up of concurrent threads that have a mutual dependency that cannot ever be satisfied  Livelock - similar to deadlock, livelock is a condition in which concurrent threads waste time trying to acquire resources that cannot ever be satisfied due to the mutual dependency between the threads.</description>
    </item>
    
    <item>
      <title>The Single Assignment Pattern</title>
      <link>/post/2008/single-assignment-pattern/</link>
      <pubDate>Tue, 22 Apr 2008 00:00:00 +0000</pubDate>
      
      <guid>/post/2008/single-assignment-pattern/</guid>
      <description>&amp;lsquo;final&amp;rsquo; - underused or overrated? The famous Gang of Four made people sit up and take notice that we developers normally do similar things to each other, and the similarities can be effectively expressed as design patterns. Because of the object oriented nature of Java, it is a language that is well suited to patterns; nowadays design patterns are the industry norm. However, there is an important pattern that seems to have been overlooked - probably because it&amp;rsquo;s so obvious.</description>
    </item>
    
    <item>
      <title>Keeping it Simple</title>
      <link>/post/2007/keeping-it-simple/</link>
      <pubDate>Fri, 28 Dec 2007 00:00:00 +0000</pubDate>
      
      <guid>/post/2007/keeping-it-simple/</guid>
      <description>I&#39;ve always been one of those perhaps slightly annoying people who don&#39;t easily accept propositions that seem overly intricate. It&#39;s not that I&#39;m a stroppy person - I&#39;m pretty relaxed really - I just don&#39;t like wastefulness, and that can mean I&#39;m unhappy when I see other people wasting their time doing things the hard way.
I suppose I was trained this way by the years I spent working with the Occam programming language, a language that espouses explicitly the avoidance of complexity by making behavioural semantics really clear to the developer.</description>
    </item>
    
    <item>
      <title>Interfaces - no need to know exactly who you&#39;re talking to</title>
      <link>/post/2007/interfaces-no-need-know-exactly-who-youre-talking/</link>
      <pubDate>Thu, 27 Dec 2007 00:00:00 +0000</pubDate>
      
      <guid>/post/2007/interfaces-no-need-know-exactly-who-youre-talking/</guid>
      <description>I wrote about the Spring Framework Mission Statement earlier. This article follows it by examining the second Spring mission statement bullet, which concerns the use of interfaces in Java:
 It&amp;rsquo;s best to program to interfaces, rather than classes. Spring reduces the complexity cost of using interfaces to zero.  Everyone knows this is a Good Thing - but why is it good?
The answer lies in achieving decoupling. Object oriented programming in Java draws on the precedent set by Smalltalk in which objects communicate by passing messages.</description>
    </item>
    
    <item>
      <title>Licence</title>
      <link>/bee-client/licence/</link>
      <pubDate>Tue, 30 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/licence/</guid>
      <description>© Copyright 2012 Rick Beton
Published under The MIT License.
The MIT License Copyright (c) 2012 Rick Beton &amp;lt;rick@bigbeeconsultants.co.uk&amp;gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &amp;quot;Software&amp;quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</description>
    </item>
    
    <item>
      <title>Release Notes - Bee Client</title>
      <link>/bee-client/release-notes/</link>
      <pubDate>Mon, 29 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/release-notes/</guid>
      <description>Tue, 28 Jan 2014  v0.26.1 - some extra methods have been added to HeaderName  Tue, 28 Jan 2014  v0.26.0 - MediaType value field has been renamed mediaType. THIS IS A BREAKING CHANGE and call sites will have to be modified. The purpose is to fix a bug and make MediaType consistent with all other Value implementations in that the value field is the representation used in HTTP headers.</description>
    </item>
    
    <item>
      <title>10: Non-blocking Requests</title>
      <link>/bee-client/non-blocking-requests/</link>
      <pubDate>Tue, 23 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/non-blocking-requests/</guid>
      <description>(This page is not yet complete)
Because Bee Client is a wrapper for HttpURLConnection, it relies on the standard Java i/o libraries. Thus, the calling thread will block on each request until the corresponding response has been received.
Nowadays, it is popular to assert that blocking I/O such as this is somehow evil. This assertion is based on incorrect assumptions, but nevertheless there are times when non-blocking I/O is more suitable.</description>
    </item>
    
    <item>
      <title>9: Handling Authentication, Sessions and Caching</title>
      <link>/bee-client/httpbrowser/</link>
      <pubDate>Mon, 22 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/httpbrowser/</guid>
      <description>Making multiple round-trips At its simplest, HTTP is just a &amp;ldquo;request &amp;amp; response&amp;rdquo; protocol. Of course, when redirection happens, subsequent requests may occur, following the redirection, which HttpClient supports transparently by default.
But three other aspects mean that we have to be able to aggregate context over a series of requests:
 when authenticating, the server might issue challenges, meaning that there might be several &amp;ldquo;request &amp;amp; response&amp;rdquo; round-trips.</description>
    </item>
    
    <item>
      <title>8: Authentication</title>
      <link>/bee-client/authentication/</link>
      <pubDate>Sun, 21 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/authentication/</guid>
      <description>Users can log into HTTP sites via various mechanisms including:
 Basic authentication: the server challenges the client, the web browser may prompt the user for username &amp;amp; password and sends them with subsequent requests. The credentials are not protected from snoopers. Digest authentication: the server challenges the client, the web browser may prompt the user for username &amp;amp; password and sends them with subsequent requests. The credentials are protected from snoopers.</description>
    </item>
    
    <item>
      <title>7: HTTPS Secure Connections</title>
      <link>/bee-client/https-secure-connections/</link>
      <pubDate>Sat, 20 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/https-secure-connections/</guid>
      <description>Making secure requests via HTTPS will work simply by making use of the java.net.URLConnection built-in support for HTTPS. This is implemented using the Java Secure Socket Extension, which provides more detail.
In summary though, there are two cases: server certificate only, and server + client certificate.
Server Certificate Only This is simply achieved for all https URLs automatically, provided the security keys and hostname verification are handled correctly. More information on these details is in the Java API for HttpsURLConnection.</description>
    </item>
    
    <item>
      <title>6: Making requests via proxies</title>
      <link>/bee-client/making-requests-via-proxies/</link>
      <pubDate>Fri, 19 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/making-requests-via-proxies/</guid>
      <description>HTTP allows connections to pass from the client to the server via optional intermediaries called proxies. Proxies are servers on the network that receive your requests and pass them on to the origin server on your behalf (possibly via yet more proxies). There are several types of proxies but we&amp;rsquo;re only concerned with &amp;lsquo;ordinary&amp;rsquo; proxies here, i.e. the kind of proxies you have to explicitly set up your client to use (transparent proxies and reverse proxies are not relevant here).</description>
    </item>
    
    <item>
      <title>5: Unbuffered Requests</title>
      <link>/bee-client/unbuffered-requests/</link>
      <pubDate>Thu, 18 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/unbuffered-requests/</guid>
      <description>Dealing With Response Bodies - Latency Issues The Simple Option: Buffered Requests The main use-case for Bee Client is to make simple requests and get simple responses. Headers are easily set and retrieved. Likewise cookies are easily handled. All state is immutable in the basic case.
In this simple case, the response body (which may be empty) is buffered in a byte array and, when you need it, this is automatically converted to the equivalent string.</description>
    </item>
    
    <item>
      <title>4: Cookies</title>
      <link>/bee-client/cookies/</link>
      <pubDate>Wed, 17 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/cookies/</guid>
      <description>In Bee Client, cookies are immutable objects, each comprising a name, a value and various other mostly-optional parameters. Because their identity is a compound structure consisting of the name, domain and path, there is a CookieIdentity trait.
trait CookieIdentity { def name: String def domain: Domain def path: String def matches(cookie: CookieIdentity): Boolean = { ... } }  CookieIdentity is shared by two case classes: CookieKey implements CookieIdentity directly, whilst Cookie does so and also provides value information.</description>
    </item>
    
    <item>
      <title>3: Making Other Types of Requests</title>
      <link>/bee-client/making-other-types-requests/</link>
      <pubDate>Tue, 16 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/making-other-types-requests/</guid>
      <description>Making HEAD Requests The GET requests are the most familiar of those available to us, but not the simplest. HEAD requests are simpler but rarely used; they&amp;rsquo;re not useful for much other than testing URL status. Let&amp;rsquo;s see an example that is similar to those we saw earlier.
import uk.co.bigbeeconsultants.http._ object Example3a { val httpClient = new HttpClient def main(args: Array[String]) { val response = httpClient.head(&amp;quot;http://www.google.com/&amp;quot;) println(response.body.contentLength) // prints 0 println(response.</description>
    </item>
    
    <item>
      <title>2: Specifying Request Headers</title>
      <link>/bee-client/specifying-request-headers/</link>
      <pubDate>Mon, 15 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/specifying-request-headers/</guid>
      <description>It&amp;rsquo;s easy to specify request headers. The HeaderName class provides an arrow operator, which can be used with the Headers factory constructor like this. In this example, we ask for some French content from a website that switches automatically (Google).
... imports object Example2a { val headers = Headers( ACCEPT -&amp;gt; &amp;quot;text/html&amp;quot;, ACCEPT_LANGUAGE -&amp;gt; &amp;quot;fr&amp;quot; ) val httpClient = new HttpClient def main(args: Array[String]) { val response = httpClient.get(&amp;quot;http://www.google.com/&amp;quot;, headers) // prints a list of the response header names available to you println(response.</description>
    </item>
    
    <item>
      <title>1: Some Simple Examples</title>
      <link>/bee-client/simple-examples/</link>
      <pubDate>Sun, 14 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/simple-examples/</guid>
      <description>Making a Simple GET Request The main HttpClient class provides the actions necessary for making HTTP calls; it&amp;rsquo;s immutable and therefore thread-safe. In the following example, an HttpClient instance is created, then used to fetch a URL.
import uk.co.bigbeeconsultants.http.HttpClient import uk.co.bigbeeconsultants.http.response.Response import java.net.URL object Example1a { def main(args: Array[String]) { val httpClient = new HttpClient val response: Response = httpClient.get(new URL(&amp;quot;http://www.google.com/&amp;quot;)) println(response.status) println(response.body.asString) } }  Under the hood, this simply uses java.</description>
    </item>
    
    <item>
      <title>Tutorial: The Basics</title>
      <link>/bee-client/basics/</link>
      <pubDate>Sat, 13 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/basics/</guid>
      <description>With Bee Client, making an HTTP call simply involves
 constructing a request, with data, headers and cookies as needed executing the request (use either the HttpClient or HttpBrowser class to do this) dealing with the response, including the status, data, headers and cookies it may include.  The API is designed around immutable data-structures, mostly using Scala case classes. This is to make it both easy to use and thread-safe.</description>
    </item>
    
    <item>
      <title>Licence</title>
      <link>/bee-config/licence/</link>
      <pubDate>Tue, 09 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/licence/</guid>
      <description>© Copyright 2012 Rick Beton
Published under The MIT License.
The MIT License Copyright (c) 2012 Rick Beton &amp;lt;rick@bigbeeconsultants.co.uk&amp;gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &amp;quot;Software&amp;quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</description>
    </item>
    
    <item>
      <title>Release Notes</title>
      <link>/bee-config/release-notes/</link>
      <pubDate>Mon, 08 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/release-notes/</guid>
      <description>Thu, 20 Jun 2013  v1.4.0 Reloader enhanced to offer more robust multithreading support new SourceChangeDetector class hived off Reloader (it could be used for any file-based cache)  Thu, 20 Jun 2013  v1.3.1 - New MutableConfig refactors out the parts of the JMX bean needed for mutability from the parts needed for JMX integration.  Thu, 20 Jun 2013  v1.3.0 - added support for JMX (experimental): A Config instance can be inserted into a JMX MBean with operations that allow values to be queried and altered.</description>
    </item>
    
    <item>
      <title>5. Reloading configuration changes</title>
      <link>/bee-config/5-reloading/</link>
      <pubDate>Sun, 07 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/5-reloading/</guid>
      <description>Config is loaded once only, when it is constructed. You can use Reloader to load changes on the fly if you want to. Reloader is constructed using a File or other source, and a max age in seconds
import uk.co.bigbeeconsultants.bconfig.Reloader val reloader = Reloader(new File(&amp;quot;src/test/resources/sample2.txt&amp;quot;), 10)  Reloader wraps Config loading so that changes to the source can be reloaded dynamically. If the config file is edited whilst the application is running, the new values are loaded in.</description>
    </item>
    
    <item>
      <title>4. Nesting and subsections</title>
      <link>/bee-config/4-hierarchies/</link>
      <pubDate>Sat, 06 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/4-hierarchies/</guid>
      <description>A Config subsection is itself a Config instance - it&amp;rsquo;s easy to group your keys therefore.
Here&amp;rsquo;s a sample file we&amp;rsquo;ll be discussing:
xx.a.z1 = alpha-xx xx.a.z2 = beta-xx xx.b.z3 = gamma-xx xx.b.z4 = delta-xx [yy] a.z1 = alpha-yy a.z2 = beta-yy [zz] a.z1 = alpha-zz a.z2 = beta-zz  There are two ways to deal with sections and hierarchies of settings.
Prefixes The crudest is simply by choosing a common prefix on all the keys in the group.</description>
    </item>
    
    <item>
      <title>3. Accessing config values</title>
      <link>/bee-config/3-accessing-config-values/</link>
      <pubDate>Fri, 05 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/3-accessing-config-values/</guid>
      <description>Config extends ListMap, making it very easy to use. It assumed that you are familiar with Scala&amp;rsquo;s Map (and ListMap) collection classes. For clarity, the following examples have the explicit type declared on each val, which is not usually necessary in Scala.
Here&amp;rsquo;s a sample file we&amp;rsquo;ll be discussing:
a = something b = else easy = true tau = 6.2832 somewhen = 1979-05-27T07:32:00Z coronation = 1953-06-02 triangle = 3, 4, 5 actors = &amp;quot;\&amp;quot;Harry\&amp;quot;, Daniel Radcliffe&amp;quot;, &amp;quot;\&amp;quot;Ron\&amp;quot;, Rupert Grint&amp;quot;, &amp;quot;\&amp;quot;Hermione\&amp;quot;, Emma Watson&amp;quot; timeout = 60s maxHeap = 2 GiB maxTemp = 90°C  Simple Cases ∘ Load a string value directly.</description>
    </item>
    
    <item>
      <title>2. Load your config file</title>
      <link>/bee-config/2-load-your-config-file/</link>
      <pubDate>Thu, 04 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/2-load-your-config-file/</guid>
      <description>Scala API Simply construct Config instances using the factory method.
import uk.co.bigbeeconsultants.bconfig.Config val config = Config(new File(&amp;quot;src/test/resources/sample1.txt&amp;quot;))  You can create a new Config instance from a File or anything that provides an InputStream. Or use the Config.fromClasspath method to read a resource from the classpath.
When constructing a Config, you can include another Config as a fallback source of default values; this too can have a fallback so a chain of any length of them is possible.</description>
    </item>
    
    <item>
      <title>Download via SBT &amp; Gradle</title>
      <link>/bee-client/sbt-gradle-examples/</link>
      <pubDate>Wed, 03 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/sbt-gradle-examples/</guid>
      <description>A similar process is used for downloading Bee Config and Bee Client. The instructions that follow apply to both - please adjust to suit your needs.
In what follows, please allow for the possibility that the latest version number is newer than what&amp;rsquo;s in the examples below.
Using SBT Getting Bee Config and Bee Client needs some lines such as these adding to your build.sbt:
libraryDependencies ++= Seq( &amp;quot;uk.co.bigbeeconsultants&amp;quot; %% &amp;quot;bee-config&amp;quot; % &amp;quot;0.</description>
    </item>
    
    <item>
      <title>How to Use Bee Config</title>
      <link>/bee-config/tutorial1/</link>
      <pubDate>Wed, 03 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/tutorial1/</guid>
      <description>1. The Config File Writing your config file is easy. It&amp;rsquo;s like a java.util.Properties file except it must be Unicode (ISO-10646) encoding, not ISO-8859 or some such. Nowadays there are plenty of tools to transcode text files, notably
 uconv on Linux/Unix computers, various IDEs, native2ascii in the JDK tool suite may be useful in some cases.  The config file may optionally start with a Unicode byte-order-mark (BOM) and this is required for automatic switching between UTF-8, UTF-16 and UTF-32.</description>
    </item>
    
    <item>
      <title>How to Get Bee Config</title>
      <link>/bee-config/download/</link>
      <pubDate>Tue, 02 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/download/</guid>
      <description>Bintray  Scala 2.11  Scala 2.10   Option 1: Maven / Ivy dependency Please use the Set Me Up link you&amp;rsquo;ll find on one of the &amp;lsquo;Download&amp;rsquo; pages, above.
Option 2: manual download  Browse one of the &amp;lsquo;Download&amp;rsquo; pages, above. Choose a version and navigate to the Files tab to find the jars. Download the jars and put them on your classpath. You need bee-config_1.X.X.jar and you may find the javadoc and source jars useful during development, too.</description>
    </item>
    
    <item>
      <title>How to get Bee Client</title>
      <link>/bee-client/download/</link>
      <pubDate>Tue, 02 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/download/</guid>
      <description>Bintray  Scala 2.11  Scala 2.10   Option 1: Maven / Ivy dependency Please use the Set Me Up link you&amp;rsquo;ll find on one of the &amp;lsquo;Download&amp;rsquo; pages, above.
Option 2: manual download  Browse one of the &amp;lsquo;Download&amp;rsquo; pages, above. Choose a version and navigate to the Files tab to find the jars. Download the jars and put them on your classpath. You need bee-client_2.X.X.jar and you may find the javadoc and source jars useful during development, too.</description>
    </item>
    
    <item>
      <title>Bee Client - A Lightweight Scala HTTP Client</title>
      <link>/bee-client/</link>
      <pubDate>Mon, 01 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-client/</guid>
      <description>Bee Client is a Scala API that wraps the standard java.net.URL capability for making HTTP requests more easily. &amp;hellip;Much more easily!  It is written in Scala but may be called (a lot less easily) from Java also.
Simply create an HttpClient instance and get / post / whatever your requests.
val httpClient = new HttpClient val response: Response = httpClient.get(&amp;quot;http://www.google.com/&amp;quot;) println(response.status) println(response.body.asString)  More examples follow in the tutorial.</description>
    </item>
    
    <item>
      <title>Bee Config - Java &amp; Scala Configuration API</title>
      <link>/bee-config/</link>
      <pubDate>Mon, 01 Jan 2001 00:00:00 +0000</pubDate>
      
      <guid>/bee-config/</guid>
      <description>Bee Config provides a very simple Java and Scala API for loading configuration files. Config files become Maps Simplicity is the key!  Still often used in Scala applications, java.util.Properties is rarely satisfactory. Bee Config is broadly similar in intent, but pimped to work well in Scala. Why is Bee Config different: well, Properties files are sooo 20th Century. We need something similar, something as simple but something refreshed. We need to move on from ASCII to Unicode.</description>
    </item>
    
    <item>
      <title>Page not found</title>
      <link>/e404/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/e404/</guid>
      <description>Sorry, the web address you tried goes nowhere in particular.  </description>
    </item>
    
  </channel>
</rss>