logo

 

     
 
BW2 Home
BW2 Site Map
BW2 Popular Articles
BW2 Search
Using This Site...
 
 
Bitwise Home
 
 
 

rss

 
 

ruby in steel

hostgator

 


This section's articles

Pyrenean Mountain Dog Puppies

- link to article/comments...
Bundles of furry fun!
Saturday 30 May 2009.
 

As I mentioned before, there is a good reason why I have been writing a bit less on Bitwise over the past few weeks - well, nine good reasons, actually!

My beloved Pyrenean Mountain Dog, Bethan, gave birth to nine fabulously beautiful puppies this April. They are growing at a phenomenal rate and they are taking up a huge amount of my time. Hence, not so much time to write in Bitwise...

Anyway, here’s a picture of one of the pups. She’s called Rose...

If you want to see more Pyrenean Mountain Dog puppies, go to my Pyrenean Mountain Dog site.

Amethyst Flash Platform IDE, beta 5

- link to article/comments...
Flex, AIR and ActionScript in Visual Studio
Tuesday 26 May 2009.
 

My company, SapphireSteel Software, today released the fifth beta of our Visual Studio IDE for programming Adobe Flash Platform applications.

This beta adds refactoring plus a whole bunch of other goodies. For more information and to download a copy go to our web site:
http://www.sapphiresteel.com/Amethyst-Beta-5-Flex-Refactoring.

Pyrenean Mountain Dog Pups

- link to article/comments...
The softest type of software...
Sunday 3 May 2009.
 

I’ve been using my old Hewlett-Packard laptop recently, sitting here on the table in my kitchen. It’s been a while since I used it and its 16Gb disk is no longer quite as massive as once it seemed. How time flies!

It doesn’t seem so long ago that I was sitting here in the kitchen with the same HP portable to look after my new pup, Bethan. At that time 16Gb seemed massive. In fact, that was about four years ago and now Bethan (a beautiful Pyrenean Mountain Dog or ‘Great Pyrenees’) is sitting here surrounded by her own pups and I’m hard pressed to get all the software I need installed onto this ‘tiny’ 16Gb hard disk! It took me a whole day to install all the latest updates to Windows, Visual Studio and MSDN, and by that time the disk had precious little free space left.

The reason for my decamping from my office into my kitchen is shown below...

As I mentioned before, Bethan had her pups a couple of weeks ago. This followed a brief but meaningful relationship with an American dog called Murphy (or ‘Rivergroves Murphy-Goode’ when he’s being formal) back in February.

This is the first time she’s had pups and the first time that I’ve had to cope with them. It’s an interesting, if time consuming, experience. Over the past couple of days the pups have been transformed from helpless squirming balls of fluff into small and mobile creatures with ambitions to take over the kitchen, the house and then, presumably, the world.

Anyway, this all has nothing to do with the stuff I normally write about here. But, what the heck, the pictures are prettier than software! ;-)

If you want to see more pictures of Bethan and her pups, go to my Pyrenean Mountain Dog site: http://pyr.darkneon.com. I warn you, however, that it’s entirely possible that I may slip the odd photo into my blog here from time to time, too...

The Hunt For Gollum

- link to article/comments...
Gobsmacked is the only word for it!!!
Thursday 30 April 2009.
 

Fan films, like ‘fan fiction’, are not things I generally seek out for my entertainment. A film based on The Lord Of The Rings and which proclaims itself to be “a film by fans for fans” sounds like something that I would avoid like a plague of Orcs.

So I confess that I am surprised, amazed, dumbfounded and, yes, gobsmacked by the trailer I have just watched for a fan-made movie called ‘The Hunt For Gollum’. When I read that this film had been made on a budget of £3,000 (about $4,500), and that instead of filming in the epic grandeur of the wilds of New Zealand, as Peter Jackson did for his Tolkien trilogy, it was filmed in the English countryside, Wales and the popular leafy London dog-walking area of Hampstead Heath, I naturally assumed that this would be an embarrassingly amateurish production which would make me ashamed to be British....

Far from it! If I’d watched the trailers without knowing anything about this film in advance I would certainly have assumed that this was a big budget mega-spectacular with armies of actors, makeup people, cameramen, hairdressers and lighting engineers at its disposal.

In fact, much of the recruitment and film development was done using the Internet. Eventually a crew of 160 people was assembled with 60 people working on visual effects shots over the Internet.

OK, so admittedly the trailer is only 2 and a half minutes long. But heck, the film itself is only 40 minutes long. If the remaining 37 and a half minutes are anywhere near as good, this will be pretty darn’ magnificent. And even if the film doesn’t live up to the trailer, the trailer itself is so good that if I were a movie mogul I’d be getting a contract written for The Hunt Of Gollum’s director, Chris Bouchard, at my earliest opportunity. If the man can do two and a half minutes of this quality with next to no budget, just think what could he do with some financial backing?

See what you think...

Not sure what they will do about the problem of representing Gollum on screen. I doubt if £3,000 buys much CGI. Then again, after seeing these trailers, I’m reluctant to jump to any conclusions in advance.

The Hunt For Gollum has its world premiere at the Sci-Fi-London film festival this Sunday. After that it will be released online. It has its own web site at: http://www.thehuntforgollum.com and the director is interviewed on the BBC site here: http://news.bbc.co.uk/1/hi/entertainment/8022623.stm

UK Prime Minister’s Site Votes Him Out

- link to article/comments...
The perils of online engagement
Wednesday 29 April 2009.
 

The British Prime Minister, Gordon Brown, is determined to come to grips with the online world. But to date his exploits online have not been entirely happy ones.

First there was the scandal over a couple of his spin doctors plotting to smear members of the Conservative opposition party. Then there was his less than enthralling attempt to launch new policies on YouTube (The Times says that comments to that video were subsequently disabled). And now...

Now, the official site of the Prime Minister has a wonderfully democratic online voting system which lets British citizens start a petition and see how many other people sign up to it. In principle, I suppose, the most popular petitions should be expected to get the Prime Minister’s most serious and active consideration. A shame then that the most popular petition at the moment is this one...

If you feel the urge to add your name, the petition can be found here: http://petitions.number10.gov.uk/please-go/

Free 425 Page Ruby eBook

- link to article/comments...
Now available
Monday 20 April 2009.
 

I’ve finally completed my Ruby programming eBook, The Book Of Ruby. This contains 20 chapters plus appendices and index and comes with over 300 ready-to-run sample programs in the source code archive.

While the book assumes no prior knowledge of Ruby, it is not a book solely for beginners. On the contrary, it was written during the design and testing of my company’s Ruby on Rails IDE, Ruby In Steel, and it contains information on many of the twisty byways of Ruby which you might not come across unless you happened to be, well, writing a Ruby On Rails IDE ;-)

So, whether you just need a simple reference to Ruby syntax or whether you need to learn about some of the more weird any wonderful ‘dynamic’ things you can do such as creating classes at runtime, you should find something of use in this book.

Incidentally, I will warn you in advance that I (deliberately) do not adopt some of the stylistic conventions preferred by some Ruby programmers for the simple reason that I find them ugly. So, where some people like names_with_underscores I may prefer NamesWithoutThem. And where many Ruby programmers avoid brackets whenever possible, I use them fairly freely. I know this annoys the heck out of some Ruby folk who feel that it is good for the soul slavishly to copy someone else’s preferred coding style. If that is your opinion then by all means avoid reading my book.

The truth is that I have never understood why people get so passionate about naming conventions. You like underscores, I like camel case, I say potatoes, you say pot-ah-toes. In brief, the way you write names is trivial. Language elements such as brackets, on the other hand, are important. Parentheses clarify code and avoid ambiguity which in a highly dynamic language such as Ruby is, in my opinion, absolutely vital (see the index entries on ‘ambiguities’ and ‘parentheses’).

In any case, The Book Of Ruby doesn’t preach on matters of style. I don’t disapprove of other people’s preferred coding style as long as they don’t try to force me to adopt it. If you are interested, you can read some more of my thoughts on programming style in a series of articles I wrote a whole back called ‘Ruby The Smalltalk Way’ - parts one, two and three.

Anyway, decide for yourself. The Book Of Ruby is 100% free, after all.

- Download The Book Of Ruby here: http://www.sapphiresteel.com/The-Book-Of-Ruby.

Dog Tired...

- link to article/comments...
Why so quiet...?
Sunday 19 April 2009.
 

Regular readers may have noticed that things have been a bit quiet around here lately. Fear not, I shall get back up to speed soon.

The reason is explained below...

Nine Pyrenean Mountain Dog (Great Pyrenees) puppies!

The mother is my dog, Bethan. She gave birth to her litter between midnight last Wednesday night/Thursday morning and 3:30 on Thursday afternoon (the last pup came as quite a surprise!). Suffice to say, I haven’t had a lot of sleep lately and my schedule has gone all to pot. Anyway, both mother and pups and doing well. I’ll try to get my work schedule back on track shortly. In the meantime, I have a few other things (nine to be precise) to attend to...

Derek Draper and how NOT to blog

- link to article/comments...
Oh what a tangled web...
Sunday 12 April 2009.
 

Earlier I mentioned the inept conniving of two left-wing Labour party spinners in the UK to counteract the influence of some very successful right-wing bloggers by setting up their own ‘rumour’ blog. I now see that one of those successful right-wing bloggers (Iain Dale) has just written a piece explaining what you should and should not do if you want to write a successful political blog.

Derek Draper is one of the two men involved in a plan to smear top members of the opposition Conservative party in the UK by blogging lurid and unfounded stories suggesting various improprieties, predominantly of a sexual nature. Their plan was found out and their nasty little emails have been filling the pages of the UK newspapers today.

As I said before, the thing that baffles me is the sheer, staggering incompetence of their plans to create a muck-raking blog in cahoots with one another in the expectation that nobody would ever guess what they were up to.

Iain Dale says that he actually offered blogging advice to Derek Draper some months back: “I explained to him patiently the pitfalls of the internet. Indeed, I had to be very patient indeed as his knowledge of online matters was only slightly superior to that of my 78-year-old mother, who has never touched a computer in her life.”

But Draper ignored Dale’s advice. “His blog authors all came from his contacts book. The site contained few articles that could not have been written in Labour Party HQ, and there was precious little grassroots input. He was accused of censoring comments and using the site as a vehicle for his own giant-sized ego.

As LabourList [Draper’s blog] started to tank, he looked for help elsewhere. And he set his sights on Damian McBride, the Prime Minister’s Director of Strategy.”

Read Dale’s article in the Telegraph newspaper. If you have any ambitions to write a blog of any political complexion you would do well to study this first.

It is curious that while many of the best newspaper journalists in the UK are left leaning, the better bloggers, with only a few notable exceptions, are predominantly right wing. I am not entirely sure why that is so. I only hope that the shenanigans of McBride and Draper act as a shining example of what not to do and encourage some other writers to have a go. Come on. It really wouldn’t be too hard to do a better job of it...

The UK Government versus The Bloggers

- link to article/comments...
Sleaze, emails and people close to the Prime Minister
Sunday 12 April 2009.
 

If you live outside the UK, you may not be aware of the current headline news stories about some pretty nasty goings on close to the very heart of the British government.

In short, it concerns some squalid emails passed between a certain Damian McBride and a blogger named Derek Draper. Mr McBride is (or rather was until he speedily resigned yesterday) a publically-funded government adviser with close connections to the Prime Minister, Gordon Brown. Derek Draper claims to be an independent left-wing (Labour) blogger who comments on the political scene without taking instructions or contributions from the British Labour party.

In other words, he is a left-leaning counterpart to right-leaning bloggers such as Iain Dale and Paul Staines, otherwise known as ‘Guido Fawkes’. In fact, Staines and Draper have crossed swords a few times in their blogs and on TV. One gets the strong impression that they don’t much like one another.

Staines has previously challenged Draper’s claim to be truly independent and has suggested that, on the contrary, Draper’s blog is guided from on high by people in the ruling Labour party. Yesterday, Staines produced some evidence for these claims - he had somehow managed to obtain emails passed from government adviser, Damian McBride, to the ‘independent’ blogger, Derek Draper, making suggestions for stories which Draper might like to publish on a web site designed to undermine the opposition Conservative party.

That alone would have been bad enough. What is worse is that the stories suggested by McBride were rather a long way from the kind of well-argued political analysis one might expect from one of the Prime Minister’s top advisers. Among the suggestions were that Draper should run completely unfounded stories suggesting that the leader of the Conservative opposition had suffered from embarrassing sexually transmitted diseases while the Conservative shadow chancellor, George Osborne, had had sex with a prostitute and posed for photographs “in a bra, knickers and suspenders” and “with his face ‘blacked up’ ”.

Draper responded: ““Absolutely totally brilliant Damian. I’ll think about timing and sort out the technology this week so we can go as soon as possible.”

I won’t go over the full sordid details of the emails. You can read more on the story in today’s Sunday Times. What I find most bizarre about all this (and there are plenty of bizarre things to choose from!) is not the childishly nasty nature of the stories which Mr McBride and Mr Draper were discussing in their emails but the mindboggling stupidity of anyone who believes that a scandal-mongering political website concocted by Labour spin-doctors had the remotest chance of not being found out!

This demonstrates a profound misunderstanding of how the Internet operates, I think. Politicians may have been rather good at exerting their influence over the conventional press. But how naive and foolish they look when they let themselves loose on the Internet!

Amethyst Adobe Flex/ActionScript IDE Beta 4

- link to article/comments...
Phew! I’m exhausted!
Tuesday 24 March 2009.
 

Developing software can be tiring but launching it is truly exhausting.

OK, so this is not The Big Launch. It’s ‘just’ a beta. But even so, tying up all the loose ends, testing all the new features and making sure that we haven’t accidentally screwed up the old features - in short moving from an internal build to a public release - never ceases to be a traumatic business. If you’ve been through this process with your own software you’ll understand what I mean. If you haven’t, take my advice: stay well clear of a software developer on release day!

Anyway, my company shipped the latest version of Amethyst, our Visual Studio IDE for developing Flex, AIR and ActionScript projects today.

New features include:

- auto expanding snippets
- a dedicated snippet editor
- context-sensitive help
- IntelliSense and project management improvements

These are in addition to existing features such as:

- drilldown debugging
- configurable code formatting
- code colouring and collapsing (etc.)

If you are an existing Flex developer you can import your projects or ‘convert’ them to allow you to share code with another editor or IDE such as Adobe’s Flex Builder or Flash IDE. If you are learning ActionScript or Flex, you might want to download a copy of Amethyst and follow along with my ActionScript tutorial series here on Bitwise.

More...

Ruby In Steel Developer 1.4

Monday 26 January 2009 by Huw Collingbourne

Grotesque Censorship or Creative Editing?

Saturday 24 January 2009 by Huw Collingbourne

Adobe Flex In Visual Studio - latest news

Friday 16 January 2009 by Huw Collingbourne

Visual Studio Flex IDE - Amethyst Developments

Tuesday 6 January 2009 by Huw Collingbourne

Wikipedia Censorship Removed (kind of)

Wednesday 10 December 2008 by Huw Collingbourne

Amethyst, Adobe Flex IDE beta released today

Monday 8 December 2008 by Huw Collingbourne

Wikipedia Censored in the UK

Monday 8 December 2008 by Huw Collingbourne

Free Adobe Flex IDE For Visual Studio

Monday 1 December 2008 by Huw Collingbourne

Turbo Pascal - Quarter of a Century Later

Wednesday 19 November 2008 by Huw Collingbourne

Ruby Rage

Tuesday 18 November 2008 by Huw Collingbourne

Delphi For Visual Studio

Monday 6 October 2008 by Huw Collingbourne

Free Ruby In Steel IDE includes free Visual Studio!

Monday 6 October 2008 by Huw Collingbourne

Free Ruby Programming eBooks

Friday 26 September 2008 by Huw Collingbourne

Are New Programming Languages Bad?

Monday 15 September 2008 by Huw Collingbourne

Ruby In Steel 1.3 Released

Wednesday 3 September 2008 by Huw Collingbourne

Learn Ruby For Free

Tuesday 26 August 2008 by Huw Collingbourne

Secure Your PC - Free eBook

Saturday 9 August 2008 by Huw Collingbourne

Encapsulation, OOP and Sapphire

Tuesday 22 July 2008 by Huw Collingbourne

The Book Of Ruby - Free Ruby eBook

Thursday 15 May 2008 by Huw Collingbourne

CodeGear Sold!

Wednesday 7 May 2008 by Huw Collingbourne

Love The Office Ribbon?

Tuesday 29 April 2008 by Huw Collingbourne

Visual Ruby On Rails

Monday 21 April 2008 by Huw Collingbourne

The Sapphire Programming Language

Tuesday 18 March 2008 by Huw Collingbourne

Can’t Add WPF Controls From Toolbox?

Monday 10 March 2008 by Huw Collingbourne

Iron Ruby IDE - Free

Thursday 28 February 2008 by Huw Collingbourne

Monkeypatching, Ruby and Smalltalk

Sunday 24 February 2008 by Huw Collingbourne

Visual Studio 2008 plus Expression Studio - FREE!

Tuesday 19 February 2008 by Huw Collingbourne

Learn A Language Online

Wednesday 13 February 2008 by Huw Collingbourne

LiveMocha - the Facebook for Language Learners?

Monday 11 February 2008 by Huw Collingbourne

Windows Media Player 11 and Vista - Video But No Audio

Monday 28 January 2008 by Huw Collingbourne

Ruby On Rails with Visual Studio For Under $50!

Monday 7 January 2008 by Huw Collingbourne

Happy New Year!

Thursday 3 January 2008 by Huw Collingbourne

From IronRuby to ’Visual Ruby’?

Wednesday 31 October 2007 by Huw Collingbourne

Is Ruby The New VB?

Tuesday 30 October 2007 by Huw Collingbourne

Ruby and Visual Studio - The Great Divide

Monday 22 October 2007 by Huw Collingbourne

Microsoft Word (Expletive Deleted) My Document!

Saturday 29 September 2007 by Huw Collingbourne

Queen Victoria, Ruby and Debauchery Among The Upper Classes

Tuesday 25 September 2007 by Huw Collingbourne

Ruby and .NET - Making The Connection

Wednesday 12 September 2007 by Huw Collingbourne

Spam, Spam, Spam and Spam...

Tuesday 11 September 2007 by Huw Collingbourne

Free OCR Program

Sunday 26 August 2007 by Huw Collingbourne

Dreamweaver Custom Tags and Templates

Tuesday 21 August 2007 by Huw Collingbourne

Farewell Dolphin Smalltalk

Saturday 11 August 2007 by Huw Collingbourne

From Viagra To Shakespeare

Tuesday 7 August 2007 by Huw Collingbourne

PHP, MySQL, Apache and Vista Woes

Monday 6 August 2007 by Huw Collingbourne

Turbo PHP Goes Open Source

Thursday 26 July 2007 by Huw Collingbourne

Ball Screws, Dog Poo and Google...

Tuesday 24 July 2007 by Huw Collingbourne

Installing Apache on Vista

Friday 20 July 2007 by Huw Collingbourne

Morfik - Web Applications Without Tears

Monday 16 July 2007 by Huw Collingbourne

Silverlight On Linux?

Thursday 21 June 2007 by Huw Collingbourne

Delphi For Visual Studio (again)

Tuesday 12 June 2007 by Huw Collingbourne

The Mac Browser Comes To Windows

Monday 11 June 2007 by Huw Collingbourne

Komodo 4.1 Released

Monday 21 May 2007 by Huw Collingbourne

OOP Then and Now

Thursday 10 May 2007 by Huw Collingbourne

The Start of the End for Borland?

Monday 7 May 2007 by Huw Collingbourne

IronRuby != IronRuby

Monday 7 May 2007 by Huw Collingbourne

Ruby < Smalltalk

Wednesday 2 May 2007 by Huw Collingbourne

Don’t Try This!!!

Friday 20 April 2007 by Huw Collingbourne

Whatever Became Of Modula-2?

Monday 16 April 2007 by Huw Collingbourne

Delphi For Ruby? What’s The Attraction?

Sunday 15 April 2007 by Huw Collingbourne

Delphi, Ruby, C# and Smalltalk

Thursday 12 April 2007 by Huw Collingbourne

Ruby’s Inferiority Complex

Monday 19 March 2007 by Huw Collingbourne

J# R.I.P.

Thursday 15 March 2007 by Huw Collingbourne

Free Programming Books!

Sunday 11 March 2007 by Huw Collingbourne

So What Is Delphi Anyway?

Saturday 24 February 2007 by Huw Collingbourne

The Only Gay In The Village

Sunday 18 February 2007 by Huw Collingbourne

Back To The Command Prompt!

Monday 12 February 2007 by Huw Collingbourne

Delphi Astro? Spacely? PHP?

Monday 12 February 2007 by Huw Collingbourne

Delphi For PHP?

Thursday 8 February 2007 by Huw Collingbourne

Visual Studio, Ruby and The Year That Never Was

Monday 29 January 2007 by Huw Collingbourne

Why Every Developer Should Have A Dog

Sunday 21 January 2007 by Huw Collingbourne

Goodbye, Wilf

Friday 5 January 2007 by Huw Collingbourne

CodeGear Is Go!

Tuesday 19 December 2006 by Huw Collingbourne

Delphi For VS: Lost In The Translation?

Thursday 7 December 2006 by Huw Collingbourne

Latest On Le Mystère Code Gear

Monday 4 December 2006 by Huw Collingbourne

Delphi’s Alive, Kicking and NOT Moving To Visual Studio

Monday 4 December 2006 by Huw Collingbourne

Delphi For Visual Studio?

Friday 1 December 2006 by Huw Collingbourne

A Ruby IDE For Windows? I Must Have Been Mad!

Sunday 19 November 2006 by Huw Collingbourne

Borland’s Adventures In Wonderland

Wednesday 15 November 2006 by Huw Collingbourne

Borland Developer Group - Here Today, Here Tomorrow?

Tuesday 14 November 2006 by Huw Collingbourne

MicroISVs of The World Unite!

Thursday 2 November 2006 by Huw Collingbourne

Rails the Dog Wagging Ruby The Tail?

Wednesday 25 October 2006 by Huw Collingbourne

Internet Explorer 7 – Here At Last!

Thursday 19 October 2006 by Huw Collingbourne

Video Bloggers Under Fire?

Wednesday 18 October 2006 by Huw Collingbourne

Bill Gates - Satan or Saint?

Monday 16 October 2006 by Huw Collingbourne

Nuclear Warheads, Boobies and President Clinton

Friday 29 September 2006 by Huw Collingbourne

Publish (Yourself) And Be Damned!

Thursday 14 September 2006 by Huw Collingbourne

eXtreme Programming - comments on comments

Saturday 12 August 2006 by Huw Collingbourne

Turbo Delphi - The Return!

Friday 11 August 2006 by Huw Collingbourne

Microsoft Ruby?

Thursday 27 July 2006 by Huw Collingbourne

Dogs, Blogs and eBooks

Tuesday 11 July 2006 by Huw Collingbourne

Programming, Methodologies and Buzzwords

Tuesday 27 June 2006 by Huw Collingbourne


Home