I’d read on various blogs and how to sites that you should install FreeNAS to a USB stick, and boot from that. This leaves hard drives free to be proper network attached storage, and not have to use a partition on them just for the OS.
What I ended up doing was use VirtualBox with USB pass-through to install a VM onto a USB thumb drive. The USB stick I tried was an old Sandisk Cruzer Slice I’ve had since 2010, and has usually been my OS install disk since I don’t have a DVD-ROM drive any more.
While booting I was having no end of problems. It took a good 10 minutes to go from POST to grub, and after Grub it would drop to the “mountroot” screen. The mountroot screen looked a bit like this:
This lead me down a rabbit hole where I started to wonder if maybe there was something wrong with the server I was using.
After several days head-scratching, I swapped to a different, newer USB stick, which worked fine. I guess I must have ruined the Sandisk over time.
At the moment, the NAS contains only a single hard drive, which is only 350GB. The plan was to use this to experiment with, and once I’m happy, to replace it with several large capacity drives in some kind of RAID configuration.
Even with this limited capacity, it’s actually still enough to store all of my photos and all of our music, so it’s a good test of the system’s capabilities and a good way to muck about with the various share options.
Music: CIFS read/write, and NFS read.
Films: NFS read/write
Photography: NFS read/write
Music needs to be CIFS read/write because Sarah’s laptop is where all digital music is managed, because of Itunes (we hates it FOREVER).
It needs NFS read so that Kodi, running on the Raspberry Pi, can access it and NFS is faster for reads over the network than CIFS is.
With my missus’s birthday rapidly approaching, I have decided to manufacture her something neat.
To that end…
A NIXIE CLOCK.
“Nixie” tubes are a brand-name for a cold cathode glow discharge device used for a relatively short period around the 80’s to display numbers, letters and symbols (before LED technology reached maturity). They are only in production by a few die-hard enthusiasts, but ex-Soviet stock is reasonably readily available on the Internet.
They look something like this:
The purpose of this post however, is as follows.
As a byproduct of the majority of available Nixies being Soviet-made, their datasheets are Cyrillic.
And I have translated the one for an INS-1 ‘indicator’ point (not a true Nixie lamp, but a start).
So here it is, take from two documents- one that ships with each batch (firing voltages and current), the physical properties taken from another:
Gas discharge lamp unit is designed to display information in the form of a point in the information display.
The body is cylindrical glass. Weight no more than 1.5g
Cathode marked with a dot (NOTE- this contradicts most of what I have read on various forums! However, the datasheet clearly has “анод” (anode) and “катод” (cathode) marked, with the dot on the cathode)
Instructions for Use
Firing voltage, V, Min (Max) . . . . . . . . . . . . . . 65 (90)
Sustaining Voltage, V, Max . . . . . . . . . . . . . . . . . 55
Current, mA . . . . . . . . . . . . . . . . . . . . . . . . 0.5
Frequencies, Hz . . . . . . . . . . . . . . . . . . . . 1-1000
Acceleration, m/s² (g), no more . . . . . . . . . . . . 98 (10)
Acceleration, m/s² (g), no more . . . . . . . . . . . . 147 (15)
Impact duration, m/s . . . . . . . . . . . . . . . . . . . 2-15
Acceleration, m/s² (g), no more . . . . . . . . . . 1472 (150)
Impact duration, m/s . . . . . . . . . . . . . . . . . . . . 13
Temperature (environment), ° C. . . . . . . . . . . -60 /+ 85
Relative humidity,%, not more . . . . . . . . . . . . . . 98
The increased air pressure, Pa (kg/cm²) . . . . . .294 198 (3)
I’ve been thinking for a long time about solidifying and formalising my backup procedures. To be honest, my existing system is pretty awful, even though it’s caused me problems in the past.
Existing Backup solution
On my desktop, I have an SSD where my operating system (Xubuntu) lives. This drive is 250GB. I have an HDD, which is 360GB called “coffee”, which is where I store photographs, music, videos, download, etc. MOST of what I download ends up here, but some ends up on the SSD when I forget to move it.
I also have numerous external hard drives, where a collection of media I’ve built up over the last decade lives, in a pretty awful folder structure. Some of this is duplicates, some of it isn’t, some of it is corrupt, some of the hard drives are dead.
I know for a fact that the majority of photographs I took between 2006-2010 are gone forever, because the drive I was storing them on died.
Sarah’s laptop is slightly better in some ways, and much worse in others. It’s better because File History in Windows 10 is turned on, but worse because:
- -The drive that the file history is on is one of my many external hard drives
- -We never connect the drive
- -Her filing system is non-existent.
*It’s really bad. Her Music is so scattered and so poorly named that it’s going to take me a while to get it sorted out. I’m going to try out a few different tools for automatic tagging and renaming, see where it gets us.*
FreeNAS & HP Proliant Microserver
I’ve played with FreeNAS before, and I love how it works and what it can do, but I’ve never had any dedicated hardware to run it on. That’s changed now that I’ve bought one of these:
I’ve begun setting it up and getting a working FreeNAS install on it, but I’ve got a lot of thinking to do about how it’s going to all work and fit together.
I’ve got a few basic requirements:
- Have regular backups from Sarah’s laptop
- Have regular backups from my desktop
- Have a network share configured on it for all of our pictures
- Have a network share for all of our Music
- Install the OwnCloud plugin
- Our phones must auto-backup images to Owncloud
- Owncloud must somehow share the storage space so that our images are visible from Owncloud and our phone images are visible on the network share
Once this is all done, I want to be able to do the following:
- Access the music shares from Kodi, on my raspberry pi. The Raspi is hooked up to my amplifier, and I want to control what it’s playing from my phone.
- Access Owncloud from the internet. This will be a small project all on it’s own
I need to make a few decision about how the shares will work. If I’m already backing up everything from Sarah’s laptop, do I want to use Windows File History to make the backups, or something else?
If I use File History, then it’s going to dump all versions of everything in a network share. I don’t really want all the old versions to be visible to every other device (and Owncloud) that is using that particular share or dataset.
Migrated wordpress + database to new host, testing functionality
A while ago I discovered Steamleft, and decided to use it to try and track my progress in finishing my backlog of Steam games. There are some major flaws with it, such as it counting games I’ve played but not on Steam (eg, Half-life: Blue Shift). It also has really really high estimates for how long it should take me to “complete” Dota 2, a game I got for free and despise (because I suck at it).
Every now and then I run GNUplot over my logging file of hours left in Steam. Here’s a sample:
The data points between between May 9th and May 16th are probably when my estimated hour to completetion were modified by a free trial, or something.
The sudden drop off in the back end of April, I’ve no idea what caused that one.
Here’s a newer graph:
The sudden drop off is again probably from a game I had for a weekend or something. I have bought a few games since I started this, but not too many.
Somebody sent me to this tool.
If your Steam Profile is public, it will show you how long you’d need to play for to “complete” all games in your steam library.
My own entry is here.
It relies on average game length statistics from www.howlongtobeat.com , which will obviously be a bit hit and miss with games like Kerbal Space Program. For open ended sandbox games, like KSP, what counts as beating it?
Actually, I’ll go and look it up:
I suppose KSP does have a Career mode these days, and maybe that’s what’s been submitted for the Main Story stat? Even so, I could play this game for literally the rest of my life and I’d still probably find stuff to do.
So SteamLeft won’t be perfect, by a long shot. I’ve got whole sections of my library dedicated to multiplayer games that I’ll never “beat”, and I’ve got a load of duplicate games as well, for when things have a separate beta branch entry in my games list.
However, I wrote myself a little script to scrape my steamleft entry daily, and log the results to a file.
The script is here:
#!/bin/sh wget -O - http://steamleft.com/span/76561197973314452 | echo $(date +"%d-%m-%Y") $(xmllint --html --xpath "/html/body/main/div/div/section/div/text()" - 2>/dev/null) >> /home/anorak/steamleft/bob
I’ll break down what it’s doing:
wget -O - http://steamleft.com/span/76561197973314452
Wget grabs whatever content exists at the URL you give it. In this case, the URL is the steamleft page for my steam account. This information is looked up in realtime when you visit the page (presumably).
The “-O -” argument redirect the downloaded contents to standard in, rather than writing the results to disk. This is useful because we don’t need to then look up the contents of disk afterwards, and the next part of the command can read directly from standard input.
| echo $(date +"%d-%m-%Y") $(xmllint --html --xpath "/html/body/main/div/div/section/div/text()" - 2>/dev/null) >> /home/anorak/steamleft/bob
The “|” character is a pipe, and it’s used for directing the output of the command before it to the input of the command after it.
echo $(date +”%d-%m-%Y”)
This outputs the date in the format “dd-mm-yyyy”.
xmllint --html --xpath "/html/body/main/div/div/section/div/text()
xmllint I had to install myself, it wasn’t part of my standard ubuntu install. It’s a program for parsing XML. The “–html” option allows parsing of HTML (HTML is often not XML compliant).
The “–xpath” option lets me grab the actual element I want from the page. I found the xpath by looking through the steamleft page in Google Chrome:
$(xmllint --html --xpath "/html/body/main/div/div/section/div/text()" - 2>/dev/null) >> /home/anorak/steamleft/bob
The “-” reads the input from standard in.
the “2>/dev/null” redircects all errors to /dev/null. And there WILL be errors, because it’s HTML. And XML parsers do not like HTML very much.
This adds the result to the end of the output file.
The output file looks like this:
30-03-2015 1768 continuous hours 31-03-2015 1768 continuous hours
This script is set to execute once per day. I’ll leave it running for a few months, and see how I’m doing at beating my library. I’ll hook it up to GNUplot at some point too, for shits and giggles.
I’ve been fairly good at not buying new games, with the intention of beating my back-catalog. This should give me an indication of how I’m doing. And it gave me an interesting little exercise. In fact it took me longer to write up how I did it than it took to actually do it.
#ABANDON POINTLESS PROJECT. I lost the screenshots I was taking for this, and then found this post in my drafts folder. I cannot be arsed to continue this.
Christ on a bike, it was 2 years since I last thought about doing anything with this.
We last left our hero GORDON FREEMAN standing in front of a turnstile. Gordon felt threatened by the irregular gate, and remained motionless for some time.
As Gordon watched, a man walked through the gate. And when I say through the gate, I don’t mean that the turnstile turned around him, as is proper.
I mean we walked THROUGH the gate. He warped through it. He phased through it. He ignored everyday physical laws.
Gordon, being a theoretical physicist, calms down and stops trying to worry so much. He realises that the man in question is in possession of alien technology. Or he is possessed.
On the other side of the gate is the main station arrivals / departures area. It’s got a few people in it to interact with, all of which inform the setting, all of whom I’ll talk about in a moment.
Looking at this room 9 years later is strange. These days, you’d generally expect it to hold a dozen people or more, to make it seem busier, and make the world seem more real. However this can be a detriment in some ways – if you populate a room with that many people, you’d want each one to have at least SOMETHING to say, and it becomes harder and harder to avoid problems such as – NPCs standing around doing nothing. Not interacting, not talking, not going anywhere. Even here, with these few NPCs, that problem is not totally avoided.
Each of the NPCs has a specific task, an action they must perform. They are mere puppets, condemned to play out the same stage directions over and over again, with no variations.
Paranoid Guy looks a little older than most of the people we talk to here. His line delivery is twitch, and furtive; he doesn’t want to be seen talking to you, but still feels obliged to warn you.
According to him, They have been putting something in the water, to
sap the precious bodily fluids to make everyone forget. If this is true, and not just the paranoid delusions of an old man, we never get a hint of it. For all Gordon knows, he could have been talking about stuff in the water even before the Combine invasion, and he probably believed in chemtrails and the Illuminate.
However, it wouldn’t really be out of character for the combine to be drugging the population into submissiveness and compliance. If people can’t recall a time before the combine so easily, then they’d be less likely to rebel?
Of course – history (and 1984) shows us that there are much subtler ways to achieve this. Mass propaganda and fear can accomplish much the same thing.
Muttering guy paces back and forth in front of the departures/arrivals board
Guys Soon To be Dragged Away By Secret Police and Shot
….Is the very first thing printed in my copy of Reaper Man. I suppose it’s fitting, that Reaper Man was the first one that came to hand. It’s Reaper man that contains one of the more profound insights into the duration of a single human life:
no-one is finally dead until the ripples they cause in the world die away
So in a sense, the title of this post is still true, and will always be true – it will be a very long time before the ripples of Sir Terry’s work finally die away.
I saw Sir Terry speak twice at the Hay Literature festival, once when I was about 7 years old, and again when I was 15. I’ve also met him in a different setting entirely. When I was 7 the only books of his I had read were Truckers, Diggers and Wings – books I hope to introduce my own children to, one day. My dad had taken me, and he’d taken his copy of Maskerade to get it signed. He wasn’t able to, but I started to read it on the way home.
When I was 15, I’d gone with a friend to see him talk, and that was just around the release of Thud!. Afterwards, during the signings, he spoke to me at some length about Half-Life 2, because I was wearing a Half-Life 2 tshirt. It was incredible to have someone I looked up to so much just talk to me for a few minutes about a common interest.
The final time I met him, was a far more personal setting. He came into the bookshop I was working in. My boss was out to lunch, so I was manning the counter. I was sure it was him, but didn’t want to completely geek out at him while he was just doing some shopping. He bought several rare second hand books (And I can’t remember for the life of me what they were), and when the transaction was completed, I told him I was a big fan of his books. I’ve always wondered what it was like for celebrities to be pestered in public, but he didn’t mind at all, and we spoke for a few minutes about the Hay festival and Hay itself. I said that his descriptions of L-space had always reminded me of the second hand bookshops in Hay-on-Wye.
My boss came back, and brazenly capitalized on the situation by asking Sir Terry to sign some of our stock! He was quite happy to, but my boss barely waited for him to be out of the door before marking the prices up and sticking them in the window. (My boss apparently went to the same school as Bernard Black).
I’m going to go away and celebrate the life of Terry Pratchett, one of the greatest authors of all time, by reading Reaper Man. I’ll have a glass of whiskey, and I’ll light a candle.
“What I could do with right now is one of Mr Dibbler’s famous meat pies – ‘
And then he died.
The Archchancellor glanced at his fellow wizards, and then tiptoed across to the wheelchair and lifted a blue-veined wrist to check the pulse. He shook his head.
“That’s the way I want to go,” said the Dean.
“What, muttering about meat pies?” said the Bursar.
Goodbye, Sir Terry Pratchett. We’ll miss you.
I haven’t played anything in weeks, if not months. I’ve been working away from home since mid May, and during that time I’ve barely touched anything.
Instead I’ve been reading about games, keeping up with releases, but over the last couple of weeks I’ve instead been caught up in DRAMA. Games Journalism DRAMA.
I’m sick of it, yet morbidly fascinated by it. But I’ve lost sight a bit of why this is my hobby in the first place. So I’ve gone down my steam list and installed things that:
a) Will run on my work laptop
b) I haven’t played before
Here’s what I’ve got installed at the moment:
Red Faction runs very poorly.
CoH won’t launch.
I’ve played KSP a lot already.
So a trip to 1998 is in order. I’m going to play SiN.