Monday, April 27, 2026

Traveller continued...

On Saturday afternoon I ran another session of Traveller, coming to the end of "Search and Rescue", with a grafted on JTAS adventure, "Adrift". It went down well, with all sorts of things happening.

Now I am back to re-learning C++. I had an article, "C++ Standard Library: A matter of import" published in this month's Overload magazine. The magazine can be downloaded from here.

Monday, March 02, 2026

"Programming: Principles and Practice Using C++"

I have been busy working my way through the abovementioned book, making notes, doing the exercises etc at the end of each chapter . Currently I have 11 Drills and 20 Exercises from chapter 3, "Computation", to do.

Also, I had to get to grips with using the Standard Library (and the author's PPP library) using "import" and I have just about finished an article about it.

Tuesday, November 25, 2025

C++ studying

 Well, after all this studying of Git, I have got myself to a reasonable pattern. Basically, I can mainly concentrate on relearning C++ whilst using git to update https://github.com/ian-bruntlett/studies/tree/main/cpp/lambda-story/1

Tuesday, November 04, 2025

git work

 So, whilst reading "Version Control with Git (3e)", I thought I'd do some practical with my "studies" project. so I updated .gitignore in the main directory, introduced a specific .gitignore in my cpp (aka C++) directory and uploaded that directory.

 I can now do simple Git operations and update my studies remote repository on github.

Monday, August 18, 2025

bash activity

 OK, it's 19:50 and I'm spending the evening messing around with bash. Fairly standard for Linux users, I admit.

But I'm reading the GNU manual for bash - and enjoying it! Just as well because I've got some weird bash syntax that was kindly given to me on accu-general and I have to explain it in an article about a bash script. Here it is:

 stub="${filename%.*}" 

It is clever. There is some code to ensure that the filename is valid - that it ends in .HTML or .html. But, trying to trip it up, it still works perfectly. Like this:-
input  = stuff.html/hello.html
return value = 0
result = stuff.html/hello.md

Why? I will read on and find out...

I spent a couple of hours this morning merging four pages of where I've found inspiration for running TTRPGs ( Traveller ) to be more specific. I watched a couple of episodes of Star Trek : Enterprise hoping to soak up some inspiration.

Sunday, June 29, 2025

Traveller

Despite being completely under the weather  I ran a game of Traveller yesterday. For once we had 4 players - 1 player per character and that proved to be really good.

 Today I tested positive for Covid. It felt like a case of hayfever. Sadly, it was not. 

Monday, June 23, 2025

C++

Been reading some C++ stuff, experimenting with examples from "The C++ Initialization (sic) Story". Getting to grips with it...

Sunday, May 25, 2025

Busy bee!

 I'm still reading technical books to review. It is currently an exercise in spinning plates. Also, I am preparing to run a Traveller game, a science fiction game set in the far future, in the not too distant future.

Sunday, January 05, 2025

Extremes

 I watched the DVD of "The Lives of Others", a film set in 1984 East Berlin.

It struck me that both the far left and the far right don't know how to handle artists and writers.

Saturday, September 28, 2024

Another one!

 I have just found out about another programmer with schizophrenia - Terry A. Davis

In other news, my cold is slowly going away and I've had to resort to Paracetamol for a headache.

Friday, August 09, 2024

Progress, I hope

Well, the SSH Mastery Book seems to be unsuitable for my needs. Currently reading Wikipedia articles on public-key cryptography and, later on, its article on SSH.

In other news, I worked out how to get Ubuntu to launch a calculator when an otherwise unused key is pressed!

Monday, August 05, 2024

Monday...

Well, my meds didn't turn up today.

 In the morning I was reading "SSH Mastery (2e)" when I realised I needed to read "Networking for System Administrators". So I started on that.

In the afternoon I bounced around various Traveller sourcebooks, looking to get an idea of more things too read - what and when.

Saturday, July 20, 2024

Productive Saturday

Today I

  • Did about one and a half hours of Gardening.
  • Watched the first two lectures on The Great Courses "Writing Creative Nonfiction".
  • Wrote up some recent notes on my reading of "Learning Git".

Monday, May 06, 2024

"Learn C++ by Example" by Frances Buontempo

Currently taking part in a study group for the abovementioned book.

I was curious to see if I could write a simple filter. Using cppreference.com for information on the C++ standard libraries, I came up with this, saved into the file irb-filter.cpp:-

/*
  The most basic filter ever, copies cin to cout.

  Ian Bruntlett 5th May 2024

  To check for memory errors, do this:
  $ valgrind --tool=memcheck ./irb-filter <rose.txt

  To see cache performance, do this:
  $ valgrind --tool=cachegrind ./irb-filter <rose.txt

  See valgrind.org for more info on valgrind
 
*/

#include <iostream>
#include <string>

int main()
{
  std::string line;
 
  //std::cout << "line.capacity() = " << line.capacity() << '\n';
  //line.reserve(200); // assume lines typically 200 characters or less

  while ( std::getline(std::cin,line) )
    std::cout << line << '\n';
    //std::cout << line.capacity() << " length " << line.length() << ' ' << line << '\n';
}

I've left in some comments in case the reader want to delve a bit deeper. I've also left in some commented bits of code I used to check my understanding of what is happening when the code is being run.

I compiled the code with my makefile, which in turn ran this command:

g++ -g -Wall -Wshadow -Wconversion -std=c++23  -Wl,-Map=irb-filter.map  irb-filter.cpp   -o irb-filter

Here are the contents of rose.txt:

 The Sick Rose
By William Blake
O Rose thou art sick.
The invisible worm,
That flies in the night
In the howling storm:

Has found out thy bed
Of crimson joy:
And his dark secret love
Does thy life destroy.

Monday, January 29, 2024

git update

 OK, so it's taking a while, a lot of effort, but... I think I am getting to grips with git. Still got a long way to go but its doable.

Wednesday, January 10, 2024

Traveller Update

Well, we are in the third adventure, set in a world of asteroids, mining and... other things. This Traveller supplement was published 16 years ago, supporting Mongoose Traveller 1st Edition, and is still relevant. At the conclusion of the second adventure, the Travellers (aka Player Characters) were rewarded with action figures of themselves.

Wednesday, November 22, 2023

More Traveller

 I ran a brief Traveller session this week. My OCD kicked in and I turned up late - having door to door salesmen come round twice did not help.

 I've started a new adventure, published by Mongoose Publishing, and it has quite a bit of set up work required before the action gets going.

Tomorrow will be all about studying "Learning Git".



Wednesday, November 15, 2023

Traveller Update

 I ran a Traveller adventure this week. I think it went well. Will continue playing Traveller.

Monday, September 11, 2023

Mission: Impossible – Dead Reckoning Part One.


This is a long film – about two and three quarter hours and it kept my attention throughout. I’ve always preferred M.I. films that have an ensemble cast and this film has that in spades. Yes, Tom Cruise does get to run around the roofs of tall buildings and ride a motor bike but that was integral to this story. As always, the M.I. team are roused into action by the need to acquire a gadget / MacGuffin – in this case, the ultimate information weapon. Definitely worth seeing.

Thursday, August 17, 2023

Good Omens

 One of my meds, Aripiprazole, could have been named after a demon from Good Omens...