-
JRuby 10 on Windows: Day 0 - install and Hello World
JRuby is a Java implementation of Ruby that runs atop the Java Virtual Machine. The JRuby wiki has this to say:…
-
Productivity: Organising the notebook in OneNote
With OneNote, I think the biggest challenge is deciding the correct number and organisation of the notebooks. This post explains the approach that I am currently using.…
-
Exploring DuckDB - Part 2 (Dates, Times, CLI)
In the previous posts, we went through setting up DuckDB and exploring DuckDB for common tasks involving importing data, aggregate queries and type casting. In this post, we continue our exploration by looking at some more common things we need, especially around date and time functions.…
-
Exploring DuckDB - Part 1 (Import, Aggregates, Casting)
Recently, I started using DuckDB for some quick analysis of large data files that I had received. In doing so, I needed to figure out how to do things within DuckDB. This post is a collection of "tips" for doing things that I commonly need to do. You’re unlikely to find advanced tips here but if you’re also just getting started, this post might save you some amount of searching.…
-
Using DuckDB on Windows and with Ruby
DuckDB is a fast, open-source database for Online Analytics Processing (OLAP) workloads. It is similar to SQLite3 in the sense that it’s intended to be built directly into a host process and runs within it rather than a separate stand-alone server. Let’s look at setting this up and using it in Windows and also from Ruby.…
-
Windows: Installing and Running Podman Desktop - Part 1
Podman Desktop (and Podman) helps you run Linux containers on Windows, backed by Windows Subsystem on Linux (WSL2). Let’s look at the normal installation flow.…
-
Windows: Virtualisation and Running Linux
A short note on virtualisation for Linux applications and machines on your Windows machine.…
-
Productivity: Creating a Year Overview Page for 2025 in OneNote
I am not sure where I read it or watched it (in the past 18 months, I have probably watched nearly 100 videos on organisation, productivity and using OneNote), but I think one idea that I find very useful is creating a summarised overview for the full year. This helps me note down in a simple way what the year looks like and it is updated by me as we go through the year. It provides a great way to see what has transpired and what is in play for the rest of the year, as we know it.…
-
Ruby 3.4 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 2024, the core team released version 3.4 with major improvements and new features including a new parser that has been in development for some time. This was followed by a rapid release of 3.4.1 due to a minor oversight. The Windows RubyInstaller site has just added Ruby 3.4 to its downloads, so let’s get it up and running.…
-
Ruby: 20 Day Gem Challenge Part 4
Recently on Bluesky, there was a #20DayGemChallenge where we were encouraged to choose 20 Ruby gems that we’ve used time and time again, or have inspired us in some way and post one gem per day in no particular order and with no explanation. This series of posts explains my specific reason for choosing each of these gems.…
-
Ruby: 20 Day Gem Challenge Part 3
Recently on Bluesky, there was a #20DayGemChallenge where we were encouraged to choose 20 Ruby gems that we’ve used time and time again, or have inspired us in some way and post one gem per day in no particular order and with no explanation. This series of posts explains my specific reason for choosing each of these gems.…
-
Ruby: 20 Day Gem Challenge Part 2
Recently on Bluesky, there was a #20DayGemChallenge where we were encouraged to choose 20 Ruby gems that we’ve used time and time again, or have inspired us in some way and post one gem per day in no particular order and with no explanation. This series of posts explains my specific reason for choosing each of these gems.…
-
Ruby: 20 Day Gem Challenge Part 1
Recently on Bluesky, there was a #20DayGemChallenge where we were encouraged to choose 20 Ruby gems that we’ve used time and time again, or have inspired us in some way and post one gem per day in no particular order and with no explanation. This series of posts explains my specific reason for choosing each of these gems.…
-
Windows: Use Graphviz without Installation
Graphviz is open source graph visualization software that is incredibly popular. In this post, we see how to run it on Windows without installing the software package.…
-
Windows: Setting Environment Variables and Changing the PATH Permanently
Every now and then, you need to edit the Windows system PATH or add an Environment variable. This is especially so if you want to use applications without installing them. This post shows how you can do that.…
-
Windows: Exporting Office Apps Customisations
If you use the Quick Access Toolbar in Office apps (and you really should) or customise the Ribbon, you have to redo your setup again when you move PCs or set up your PC again. This post covers the built-in way to make this task easier.…
-
Windows: Taming Windows Search
I discovered that Windows Search was taking approximately 139GB (out of the 300GB) on my system drive, and decided to look for ways to tame it a bit. These are my notes as reference (and for future setups).…
-
Shoutout to some really useful online JSON tools (2024 Edition)
Just a shout-out to a few great online JSON tools that I use quite a lot when working with new JSON files. This is the version of the post updated in Nov 2024 with a couple of new additions.…
-
Notes on Using Licensed and Licensee for OSS Licensing and SBOM: Rails Apps
Have you ever wondered what Open Source Software (OSS) is being using in your product and what licenses apply to these dependencies? GitHub/licensed is a tool that can help to scan your codebase and create a list of licenses for you. Let’s look at how to use it for Rails applications.…
-
Rails 8.0 with Ruby 3.3 on Windows: It just works! (and what to do if it doesn't!)
Rails 8.0 was released just a few days back and as a user primarily on Windows, I was keen to see it all works and runs on Windows. I had done this check previously with Rails 7.1 on Ruby 3.2 on Windows and it had worked fine. Thanks to the stellar work of everyone involved, it just works. Let’s see a few more details below.…
-
Ruby Tips 14 - Copy a file with a new base name
Every now and then, we want to save a file before we overwrite it. This simple code helps extract the base name, give it a new name, and then copy it to the same folder as the original file.…
-
Windows: Set an icon for the Windows Terminal Shortcut
I have a shortcut to Windows Terminal in my Quick Launch bar, but it often does not show the icon, so I set out to fix it. This post documents what is needed.…
-
Migrating Sequence Diagrams from WebSequenceDiagrams to Mermaid
Both WebSequenceDiagrams.com and Mermaid support the creation of sequence diagrams using plain text. While the formats are similar, there are some small differences that mean that you probably cannot just paste diagram text from one into the other. This post lists the items that I found recently.…
-
Windows: Make the Windows Hotspot Network Private
For some applications (in my case, Spacedesk), it helps to make the wireless network you are on marked as Private (if it is trusted) so that the firewall allows connections. This is a bit complicated when the wireless network is created by Windows using the Hotspot functionality.…
-
Rails: Load multiple records by ID (find v where)
ActiveRecord includes lots of handy methods to query data from the database. Sometimes, it can be confusing which ones work in which way and . This post touches on a common need – look up multiple records from a database table given the ID of the records.…