Saturday, August 19, 2017

Three wedges

Another puzzle from Tumbleweed.

These eight pieces form a cube

Tuesday, June 6, 2017

Cryptic Crossword Helpers

Trying to do American Cryptic Crosswords can occasionally require snippets of US pop culture that few Australians recognise, so I'm going to start collecting them here so that others I try to turn on to cryptics don't give up in despair.  This blog entry, more than any of my others, is likely to see edits as I encounter new references that need explaining:

letters clued as
EL Train, Railway why?
OTT Baseball player, Mel why?
TY Baseball player, Cobb why?
A, A's Baseball team, Oakland team why?

And some, perhaps obvious, common clue indicators

clue suggests
! An exclamation mark usually means that the entire clue should be read two different ways, rather than looking to seperate it into two clauses
? An question mark usually means that the wordplay in the answer may be even more groan-worthy in terms of punnishness.
Reverend Spooner Two words will have their prefixes phonetically switched.
To shout across the harbour might be a "Bay Hail" which is also clued as a "Hay Bale".

Siebenstein-Spiele 5-L Box

I bought this on a recent trip to Paris (from Tumbleweed - recommended highly) and it took enough time to solve that I'm happy with the purchase.

If you search for solutions in Google, they turn up quite quickly - but I only searched after I had independently arrived at this one:

However, #1 son had previously beaten me to it with this one:

which is obviously not what the designer intended but is just as legitimate a solution.  All the pieces move freely, nothing has been jammed in - in fact many of the pieces have a bit of wiggle room - note the gaps at bottom-right and bottom-left.

Wednesday, October 19, 2016

Error -50 when trying to write to an HFS+ Journaled file system

First, credit where credit is due.  The answer came from

One of my Seagate drives suddenly started acting really weird.  It wouldn't let me delete files from it, copy new files on to it, etc.  Copying files off the drive seemed to work fine, but when I tried to run Disk Utility to validate the file system, it gave an error complaining about being unable to dismount the file system - someone had it busy.

Quick trip to the Terminal and tried:

$ sudo lsof | grep VOLUMENAME

and that showed a couple of issues, OneDrive, GoogleDrive, etc keeping files open, so I quit those apps and tried again.  Same dismount problem, even though there were no open files that the system would tell me about.   Hmmm, real Unix fsck can run on a mounted filesystem, surely the hfs variant can?  Yep.  First, work out the device name with mount ...

$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2s2 on /Volumes/VOLUMENAME (hfs, local, journaled)

... then run the HFS checker using that device name

$ sudo fsck_hfs -ld /dev/disk2s2

... and that claimed that the file system was fine.

Back to Google, found the thread at which suggested that the problem might be a corrupted journal.  His solution was more complicated than I needed because I don't have a hardware failure to contend with, so I tried doing it online.

Turn off journaling with Apple's hidden hfs.util tool:

$ sudo /System/Library/Filesystems/hfs.fs/Contents/Resources/hfs.util \

    -N /Volumes/VOLUMENAME

and try Disk Utility again.  Lo and behold, now it can unmount.  Let it run through the check and it gives the drive the thumbs up.  Turn journaling back on:

$ sudo /System/Library/Filesystems/hfs.fs/Contents/Resources/hfs.util \
    -J /Volumes/VOLUMENAME/
Allocated 229376K for journal file.

And we are back in business.  No idea why the journal went bad, and I'll make sure my backups of all the stuff on that drive are up to date. 

P.S. The crappy fonts and colouring in this post are a function of this wysiwyg editor that provides.

P.P.S Less than two weeks later, the same disk has died again but this time with an error that fsck does not seem to be able to fix.  Sigh.

Monday, October 10, 2016

iTunes Rants

Dear Apple,

when people tell you that iTunes is a piece of crap, this is what they mean.

I'm sure one of those numbers is correct ...

Useful Mac Hacks

If it gets in here, it has to be pretty useful.  I didn't work it out, I'm just trying to hold on to it for posterity.  Always look to the original link for details.

Add a "recent apps" icon to the dock.
defaults write persistent-others -array-add '{ "tile-data" = {"list-type" = 1; }; "tile-type" = "recents-tile";}' && \killall Dock

Note: I don't know why they include the \ in front of killall - it isn't needed, it merely escapes the 'k'.  If you wanna avoid PATH issues, use /usr/bin/killall.

Saturday, August 29, 2015

16 blocks making up circular patterns

Here's another that I must have gotten years ago, and I've lost the instructions.  The sticker on the only remaining part of the packaging says "Attempt to arrange the tiles so that different colours never touch!". That seems too easy - here are two solutions that only took about ten minutes to find.

all the circles the same colour scheme, but no two colours touch anywhere
all of the tiles connected in a single loop, again no colours touching anywhere