1. Rendering Mermaid Diagrams in Textile pages in Jekyll

    Recently, I have taken a strong interest in Diagrams as Code and specifically, I have been looking at Mermaid, Structurizr and C4 models. I want to be able to include some diagrams in this blog but wanted to do it without using extra gems. This post explains how to do it if you’re writing pages for Jekyll using Textile markup.…


  2. Ruby 3.3 on Windows: Day 0 - install and Hello World

    Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write (from the Ruby web site). On Christmas Day 2023, the core team released version 3.3 with major improvements and new features included. Now that RubyInstaller 3.3.0-1 has been released and is available for all to try, it’s a good time to set it up on Windows and try the features of Ruby 3.3. This post will help you get started with Ruby 3.3 on Windows, and covers the basics of installation. This post is along the same lines as the JRuby Day 0 post from earlier.…


  3. Die Hard is a Christmas Movie

    Every year, I receive messages and see numerous posts debating whether Die Hard is a Christmas movie. Every year, I respond with the same messages and the strong conviction that it is indeed so.…


  4. You're probably not using your Calendar enough

    Just over six years back, I wrote up my 6 tips for travel, calendars and time zones to share what I have found to be helpful while travelling. When travel resumed after COVID-19 and I started to travel again, I realised that I have started to use my calendar on the phone even more to help when I travel. This is a follow-up post with my new learnings.…


  5. Rails 7.1 with Ruby 3.2 on Windows: It just works!

    Rails 7.1 was released a couple of days back and as a Ruby user primarily on Windows, I was keen to see if it works and runs on Windows.…


  6. Ruby Learning by Reversing: Native Gems, Part 6

    The first series of Learning by Reversing examines a Ruby native gem to understand how it works. Part 6 examines how the benchmark is run to compare the performance of the native version with the original Ruby version.…


  7. Ruby Learning by Reversing: Native Gems, Part 5

    The first series of Learning by Reversing examines a Ruby native gem to understand how it works. Part 5 digs looks at the C code needed to interface with the Ruby code.…


  8. Ruby Learning by Reversing: Native Gems, Part 4

    The first series of Learning by Reversing examines a Ruby native gem to understand how it works. Part 4 digs into the development Makefile and how it supports different activities during development.…


  9. Ruby Learning by Reversing: Native Gems, Part 3

    The first series of Learning by Reversing examines a Ruby native gem to understand how it works. Part 3 continues the exploration by looking at what is included in the gem and how it is set up so that the native extension is built and available once the gem is installed.…


  10. Ruby Learning by Reversing: Native Gems, Part 2

    In Part 1 , we looked at the background to the gem that we are going to explore and saw how the gem works, and also how to change, rebuild and install the gem locally. Part 2 explains how the gem gets picked up and used by Ruby when you require it, and how Ruby knows what to do. In this part, we will jump across a number of files to figure out what is happening. We will not rebuild the gem or look at the Makefile, etc. in this post.…


  11. Ruby Learning by Reversing: Native Gems, Part 1

    In this series of posts, I want to look at how to create a native gem for Ruby in C. Actually, it would be more accurate to say – I want to look at how a native gem has been created in C for Ruby. So, I will look at one native gem and we will reverse back and understand what has been done and what it means.…


  12. Ruby Learning by Reversing: Series 1 - Native Gems

    In this series of posts, I want to look at how to create a native gem for Ruby in C. Actually, it would be more accurate to say – I want to look at how a native gem has been created in C for Ruby. So, I will look at one native gem and we will reverse back and understand what has been done and what it means.…


  13. Getting FreeMind to work with OpenJDK

    This is a short note for me to remember how I got the fantastic open source FreeMind mind mapping software running on Windows 10 using OpenJDK instead of the Oracle JDK. It seems like FreeMind is really old and has not been updated for a while but honestly, it does a lot of things and most of them really well.…


  14. Ruby 3.2 on Windows: Day 0 - install and Hello World

    Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write (from the Ruby web site). On Christmas Day 2022, the core team released version 3.2 with major improvements and new features. Now that RubyInstaller 3.2.0-1 has been released and is available for all to try, it’s a good time to set it up on Windows and try the features of Ruby 3.2. This post will help you get started with Ruby 3 on Windows, and covers the basics of installation. This post is along the same lines as the JRuby Day 0 post from earlier.…


  15. Grace under fire: thoughts on support during an issue

    For a while, I have wanted to put down my thoughts on how we should behave when providing support to the users of our systems if an important issue has been found. More specifically, these ideas come from providing support in enterprise setups where you might work with a system integrator or a business user of your product.…


  16. HotWire and Stimulus Tutorials - Bookmarks

    Rails 7 brought Hotwire and StimulusJS into the forefront. I have been meaning to spend some time on it and had bookmarked these sites or tutorials. This post is just a collection of bookmarks that I can add more to if I find other things.…


  17. Textile Markup Tip 1 - Creating an Anchor on a Page

    I keep forgetting how to create a link to a part of a page using Textile Markup and have to look it up every time I need it. So, I’m putting this short post here so that I remember.…


  18. Uninstalling Ruby On Windows

    I was surprised to see a question on the GitHub tracker of RubyInstaller2 on how to uninstall RubyInstaller2 on Windows. I had not expected it to be a big problem. This post just quickly summarises the options.…


  19. 24 JAPAN: Lessons for Project Managers and Programmers

    I watch a fair amount of television (well, technically, streaming video on apps) and recently, I watched (and really enjoyed) 24: Japan – the Japanese remake of the American 24 franchise. It was really good and as I watched through the 24 episodes, I started to notice that there are things that we can learn from the show about managing projects. That brings us to this post – written half-seriously and half in jest.…


  20. Bookmarks: Resources for Images, Sounds, etc.

    This post is a collection of links and resources where you can access and find images, sounds, etc. for your next presentation or creative pursuit such as creating your desktop wallpaper.…


  21. Despite problems, making WSL2 Work

    This should have been easy – enable Windows Subsystem for Linux 2 on Windows 10, and install a version of Linux. However, I ran into a few problems. This post is a collection of the things that I had to do (and where I found the information) in case I ever need to do it again.…


  22. Ruby Tips 11 - Level up your usage of the Ruby Hash (Part 1)

    A programming language like Ruby comes with lots of features and capabilities which we often don’t learn in detail and instead end up rewriting things in our application code. This post looks at a few simple things within the Hash class that you could be using.…


  23. Ruby Tips 10 - Adding enumeration to your class

    One of the cool things in Ruby is to be able to pass a block to a method or go through all the elements in a class (such as an array or hash) and do something as you step through each element. This is a short post on how to add an each method to your class.…


  24. Ruby 3.1 on Windows: Day 0 - install and Hello World

    Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write (from the Ruby web site). On Christmas Day 2021, the core team released version 3.1 with major improvements and new features. Now that RubyInstaller 3.1.0-1 has been released and available for some time, it’s a good time to set it up on Windows and try the features of Ruby 3.1. This post will help you get started with Ruby 3 on Windows, and covers the basics of installation. This post is along the same lines as the JRuby Day 0 post from earlier.…


  25. Solve: A fast Windows PC feels sluggish when moving through code or a list

    There are times when a Windows 10 PC feels very sluggish when you’re going through a list (e.g. emails in Outlook or Thunderbird) or even code in a text editor. Often, it has nothing to do with the computer per se, but just the keyboard settings.…




All Posts by Tags