Skip to content

Random Tech Thoughts

  • About
  • Contact
  • Sign up

Author: Bob

I'm a programmer working in the UK. Anything I post here are my own personal ramblings and don't necessarily reflect the views of my employer.

Aggregation and window functions for data

February 20, 2023 ~ Bob ~ Leave a comment

In this article I’ll go into two related operations or kinds of queries you can do to data, that are both to do with grouping things – aggregation and window functions. I’ll describe how they both work, how they’re similar but different, and give examples of when you might use them including how you might … Continue reading Aggregation and window functions for data

Pairs ancient and modern for security

December 24, 2022December 24, 2022 ~ Bob ~ Leave a comment

I was struck recently by how often pairs crop up in things to do with security, and for how long this has been true. I’ll go into two similar old techniques to do with documents – indenture and chirograph, and an old pair-based object (the split tally) and then two things enabled by the current … Continue reading Pairs ancient and modern for security

Mental models for data engineering and data science 

November 19, 2022 ~ Bob ~ Leave a comment

For programmers like me, it can be a bit of wrench when you get more into data work, particularly data engineering and data science. You’re used to data being around (in the background) and so think everything will be OK. This wasn’t the case for me, and so here are some mental models (glorified metaphors) that … Continue reading Mental models for data engineering and data science 

Analysing white noise sounds from nature

November 10, 2022November 11, 2022 ~ Bob ~ Leave a comment

The sound of rain, a breeze through trees, water in a stream and waves on a shore are probably familiar to you. They’re different but similar – they all contain white noise and don’t sound like e.g. a guitar, but they also don’t sound the same. In this article I try to analyse some recordings of … Continue reading Analysing white noise sounds from nature

Solving computer problems with indirection

November 6, 2022November 6, 2022 ~ Bob ~ 2 Comments

There's a pattern that crops up a lot in computing - indirection. It's sometimes a little bit disguised, but it's used to solve many kinds of problem. To introduce it I'll first use an example from outside computing, that I like for many reasons. Five freedoms for animal welfare  It might be a bit odd … Continue reading Solving computer problems with indirection

The world’s greatest music?

October 28, 2022October 28, 2022 ~ Bob ~ 1 Comment

I sometimes listen to the UK radio station Classic FM.  Its strapline is “The world’s greatest music”. Leaving aside the difficulty of defining what great music is, let alone the greatest, I was curious as to the “world” bit.  I scraped the playlist for one day, did some gentle analysis on it and the charts that … Continue reading The world’s greatest music?

Comparing and aligning data models

October 7, 2022 ~ Bob ~ 1 Comment

Sometimes you are trying to bring two worlds together - two bits of code, each with its own data model. The two worlds could be a computer system you work on and the system from a partner you're trying to integrate with. The data models can be the most prominent bits of this integration, but … Continue reading Comparing and aligning data models

Modelling a river lock

August 29, 2022August 31, 2022 ~ Bob ~ Leave a comment

In this article I will model a lock on a river or canal. As well as going into the specifics of the model, I’ll touch on more general topics about modelling. These are things like diagrams to represent the model, tools, models as conversation starters, iterating models etc.  A lock has a model that is … Continue reading Modelling a river lock

Representing numbers

August 21, 2022August 22, 2022 ~ Bob ~ Leave a comment

I’ve recently been doing more maths than usual using Roman numerals, which has got me thinking about the relationship between how numbers are represented and how easy it is for them to do different jobs for us. I’ll go into a few representations below, and their good and bad points. I won’t talk about floating … Continue reading Representing numbers

Multiplying using halving, doubling and summing

July 23, 2022March 15, 2025 ~ Bob ~ Leave a comment

I was introduced to an interesting way of multiplying two numbers (integers greater than 0) recently, at a Tudor re-enactment at Kentwell Hall. It took me a while to realise what was going on behind the scenes, at least in terms of things I already understood. As it also made me think in a new … Continue reading Multiplying using halving, doubling and summing

Posts navigation

Older posts
Newer posts

Categories

Want to be told when there’s new stuff?

If you'd like an email telling you when I've posted new stuff, go to the sign-up page.

Recent Posts

  • Whetstone of Witte, complexity and programming August 3, 2025
  • Dividing using subtraction July 20, 2025
  • Multiplying using halving, doubling and summing – part 2 March 15, 2025
  • Palimpsests ancient and modern February 7, 2025
  • Designing the user experience of Top Trumps February 1, 2025
Blog at WordPress.com.
  • Subscribe Subscribed
    • Random Tech Thoughts
    • Join 83 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Random Tech Thoughts
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...