all repos — h3rald @ 33455297d89b82345dd2e74a6e57567bbf73b20f

The sources of https://h3rald.com

content/articles/log-apr-2009.textile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
----- 
summary:  "Featuring this month: wedding planning, easter in London, XBox gaming and more."
permalink: log-apr-2009
filters_pre: 
- redcloth
title: Personal Log - April 2009
comments: 
- :date: 
  :author: Elora
  :url: ""
  :id: 2701
  :body: May 8 here we come!!!
date: 2009-04-28 06:11:00 +02:00
tags: 
- personal_log
- ruby
- books
- wedding
type: article
toc: true
-----
April is tratidionally a rather busy month: Easter, public holidays, and — always — some deadline to meet at work. Moreover, my birthday is also in April which makes it even more busy! Let's see what happened this year...h3. Using Ruby in a corporate environment

I've been using Ruby at work for a while now. I started off writing some automation script for my own needs, then someone noticed it and asked me if by chance I could develop some scripts for them, for automating part of their own job, and so on. My boss ultimately noticed it, and she liked the idea of me investing a small portion of my time to make other people save huge amount of _their_ time, so now I am _officially_ in charge of workflow improvements and automation (it's even in my job description!).

This month a colleague of mine and I had to figure out a way to write some documents *once* in XML format and then produce different kind of outputs (other XML files, PDFs, etc.) using the "DITA Open Toolkit":http://dita-ot.sourceforge.net/. Originally we thought the toolkit would do most of the job, but we soon realized we needed to tweak and change a lot more than what we usually expected. 

We ended up hacking together a _system_ using:

* "Microsoft Infopath":http://office.microsoft.com/en-us/infopath/default.aspx as XML editor for the end users (the company buys it by default, so no worries there)
* A Ruby program to parse and manipulate the original XML and produce DITA-compatible XML files.
* Some "Apache Ant":http://ant.apache.org/ tasks available in the open toolkit to produce an XSL-FO file
* "Apache FOP":http://xmlgraphics.apache.org/fop/ to produce the PDF from the XSL-FO file...

The thing seems to work fine (after a lot of tweaking), and I really enjoyed creating the Ruby program to _glue_ everything together. I even got a chance to introduce my colleagues to the wonderful world of "Textile":http://hobix.com/textile/ (they are so happy that they don't want to use WYSIWYG editors anymore!).

h3. Easter in London

As usual, Roxanne and I spent our Easter holidays in London, at her brother's place. This year we actually had 9 days to go around -squandering money-  spending _wisely_ in food, books, clothes and entertainment.

Most notably, I managed to drag Roxanne to "Foyles":http://www.foyles.co.uk/ and I got myself a copy of "The Pragmatic Programmer":http://www.pragprog.com/the-pragmatic-programmer, which I'm reading avidly. If it was up to me I was going to buy half of the computing section, but Roxanne _kindly pointed out_ that I could get all of them from Amazon for half the price. 
And she was right: for my birthday I preordered a copy of "Programming Language Pragmatics, 3rd Ed.":http://www.amazon.com/Programming-Language-Pragmatics-Third-Michael/dp/0123745144, which should be shipped soon.

h3. Wedding planning

My spreadsheets for the wedding guests, wedding expenses (!) and ...suit sizes are getting bigger and bigger. We managed to book a lot of flights to Ireland to my parents, us, relatives etc., but there are still quite a few things to do for the wedding. The most urgent thing to do right now is sending the invites: we had them printed with the words _RSVP within May_ on them, so they _have_ to be out in one or two weeks at most.

The other thing which must be sorted soon are the suits. According to English (and Irish) tradition, the groom, the bestman, the father of the groom, the father  of the bride and the ushers have to wear the same type of suit, with minor differences (the color of the waistcoats?). In my case, this means getting 7 (SEVEN) _morning suits_ off eBay, in the right sizes! Hopefully I'll be able to get them by the end of next week (if my bestman manages to let me know his sizes).

h3. XBox 360 Gaming

Now that our new XBox 360 finally came through, Roxanne and I have a lot of hours of hard core week end gaming ahead of us! This, added to the physiological increase of stress due to the wedding, may result in a temporary slowdown of my coding and writing activities.
Right now we're playing "Mirror's Edge":http://xbox360.ign.com/objects/949/949455.html, "Mass Effect":http://xbox360.ign.com/objects/718/718963.html, and "Unreal Tournment III":http://xbox360.ign.com/objects/746/746631.html. The last one was a special surprise present from Roxanne (_"...so we can kill each other!"_ — she's really lovely at times!).

h3. Other tech-related tidbits

* I can't wait to go to the cinema to watch "Star Trek XI":http://www.imdb.com/title/tt0796366/
* I started using "Shelfari":http://www.shelfari.com/
* I started using "Star.io":http://start.io as my personal, bare-bones start page.
* I recently "released Concatenative 0.2.0":http://www.h3rald.com/articles/concatenative-020.
* I'm currently evaluating the possibility to create a Ruby-based _Document Authoring Framework_. Stay tuned.