I don’t think I need to add anything here…
I mentioned last month that I was in the process of consolidating the mess of repositories that I have created over the past few years. This is now done and, hopefully, will be a bit more manageable going forward.
I now have three consolidated repositories: silliness, utilities and utils-on-power. The Configurate repository is already logically enough organised and Squirt is large enough to justify its own repo.
I have also removed the static pages referring to these repos on this site. They were creating overhead without adding any value.
And I now know a lot more about Git that I knew this time last month.
It would be a mistake to take any sort of online personality test seriously. Since the results depend on the answers you provide, the best they can do is reflect back at you what you already know or think about yourself. That said, I’m still a sucker for these things so when I saw a link to a Narcissistic Personality Quiz on Pharyngula, I couldn’t resist.
Your Total: 4
Between 12 and 15 is average.
Celebrities often score closer to 18.
Narcissists score over 20.
My highest score was in Self-Sufficiency which I can certainly agree with. But that’s hardly surprising since it was me answering the questions in the first place.
Consolidating some of my Git repositories is ongoing and I have now found some time to take a look at the utilites written for the IBM i on Power. These can now all be found on Github at utils-on-power.
This means that the seperate repositories for DSPOSRLS, DSPPGMLCK and RGZLIB are no more.
As you may or may not be aware I have been tinkering with a command-line FTP client over the past year or so. And now seems as good a time as any to release version 0.2. The main change here is that the FTP client now supports sending data via SMTP.
In order for this to work, you need to be able to specify an SMTP server and port but, if you have a spare gmail account knocking around, server smtp.gmail.com and port 587 will work quite nicely.
As ever, you can find all of the source on GitHub. Feel free to tinker around with it.
This has taken a while for me to come up with an approach, and the approach I took probably isn’t the most efficient. In fact I am sure it isn’t.
But it worked and I thought it would be worth documenting it for the next time I want to do something like this.
So the issue was that I had two files (dicetastic.py and dicelib.py) that needed to be moved. These files has started out in their own (now deleted) Dicetastic repository and then merged into my utilities repository. Now I wanted to move them to silliness, while retaining the git history.
The approach I eventually took was to format a set of patches from the original repositor(y|ies) and then merge them into the new.
So first I created a folder called rollout:
Then I formatted the patches I needed from the utilities folder:
cd utilities git format-patch -o ../rollout --root dice*
This created three patches in the rollout folder. Unfortunately this wasn’t quite what I wanted as none of the history from before I started mucking about with this.
So I went back and formatted the patches from the Dicetastic folder:
cd ../Dicetastic git format-patch -o ../rollout --root dice*
And I will note here that I should have done this for everything, not the dice* files, in order to include the changes to the README. Oh well.
So now I have a collection of patches in the rollout folder, which I could use to rebuild the history in the silliness folder.
If I had done this properly, I should have been able to use:
git am ~/Code/patches/*.patch
Unfortunately, because I had created two sets of patches in the same folder I had a slightly scary numbering issue. And because there were only seven patches I decided to apply them individually so that I could see what I was doing.
But it worked and all that was left was for me to commit the changes and push them and both the files are in the right place, along with their full history.
I mentioned about a week ago that I was starting to consolidate some of the short scripts that I have knocked together and pushed to GitHub over the years. This is still in progress but I have decided to consolidate these into two repositories: utilities and silliness. Because A lot of what I do is quite silly.
Going forward, anything short I throw together will end up in one or the other of these repositories. Now I just need to tidy up my current mess of folders.
You can listen to the full show at Duffercast 7 – King Carl Gustaf’s Trusty Testicles
I don’t think anyone actually looks at these but, in the site menu here are a bunch of links to IBM i and Linux utilities that I have knocked together over the years. They are useful to me and may be useful to someone else at some point.
However, my habit of throwing each script into a seperate folder, and a seperate repository on GitHub has let to a bit of a mess of tiny repositories. So I have started thinking about consolidating these in the Towel repository (because it’s a tough universe out there).
So far Photog (a photo renaming utility) and killchar (a utility to strip annoying characters from file names) are in there. Others will follow as and when I find the time.
And then I will need to look at repairing or removing the links and static pages on this site.
The board is a 6×6 grid and the players each start with three tiles on which parts of a path are marked. You place a tile, move your stone to the end of the path and draw another tile. Once the path takes you off the board, you are out of the game. The aim, of course, is to be the last player left on the board and the strategy consists of trying to keep your own path going while forcing your opponents out of the game.
It’s a beautifully simple game and one that is very easy to pick up. It’s also a game for which, the more you play, the more complexity emerges. As such, it is one of the very few games that really does work for all ages from 8 (or 7, in out case) to adult.
Each individual game is pretty short – the game takes as long as it takes to place 35 tiles – but its sheer playability makes this a very addictive game. We have played several games already and I can see Tsuro being pulled out and played quite regularly over the next few years.