Nerdity

Another short one today; it's been a 'nothing' weekend outside my ongoing Raspberry Pi playtime.

Here's a repeat link to what I wanted to do with it, what I've done, and what I've actually accomplished so far – which is actually now 2/3 of the total.

My Raspberry Pi Setup – at GitHub.com.

So, what else have I accomplished?

  • Walked Ruby dog,
  • Helped with the girls' homework,
  • Bought a pair of walking shoes to replace those that Ruby chomped,
  • Washed, dried, put away clothes,
  • Changed the cat litter,
  • Been shown a paint colour chart; my wife's chosen a new colour for the hallway…

In-short, underperformed.

Git

A short one today. My nearly-week-old Raspberry Pi is now behaving, more-or-less.* Here's a link to what I wanted to do, what I've done, and what I've actually accomplished so far.

My Raspberry Pi Setup – at GitHub.com.

It's not overly-technical, nor is it particularly helpful or comprehensive. The plan is to expand a bit, make it more readable.

There are spelling errors sprinkled throughout, and it's an early draft.


*After 4 complete resets to factory settings I'd be silly to admit I've not learned a darn thing about Linux.

Meh

Summary: Meh.

Detail: Feeling crap, like death warmed up.

I was going to write a long piece about how my recent blog posts weren't necessarily a true reflection of self. The only stuff I've mentioned recently is negative, judgmental or at least ambivalent towards 'things.'

I lead a charmed life though, I'm lucky I'm in a position to be able to moan about first-world problems.

Anyone reading will tire of me mentioning the Raspberry Pi computer. Yesterday's enforced break from playing with it brought with it a welcome pause; the first day since I bought the thing that I haven't felt the need to reset it due to my misplaced enthusiasm for moving forward.

We'll see.

Sideways seems a fair direction to head in, for now.

I had a bit of a play this afteroon, between sitting on [redacted] and made progress; as can build and serve to my computer, can FTP to my web server and have it served from there.

I found a bug in the Jekyll static site generator though; or at least the one on my system. The most recent post 'No' fails to display its title when rendered locally. Renaming it to 'Nope' works but I'd like to Zzzz…

Ruby

Ruby, I could tear my hair out!!

It's probably not what you think; Ruby dog's fine, it's the computer Ruby I'm just about to rant about.

When I last used Linux the main stumbling block was Ruby – or the version manager incompatibilities with what I needed to do. It's no different this time around with the Raspberry Pi.

The credit-card-sized computer comes with Ruby 1.8. The stuff I want to use requires at least 1.9.3 (I think), so I opted to install 2.0.0. No matter what I did, when I've set it all up and it reports 2.0.0 and I try to install Jekyll, Jekyll reports that listen requires at least 1.9.3.

But, but…

So I reset the bloody thing for a second consecutive night and I'm off to bed!

Maybe the Raspbian Debian thing isn't up to the task and I need something with a little more 'oomph!'

At this point I'll take suggestions from anyone!

Next steps:

  1. Get rid of Ruby 1.8 completely,
  2. Reinstall RVM and Ruby 2.0.0.
  3. Install Jekyll!!
  4. Install sqlite3 prior to
  5. Gogs – a Git repo manager.

Not a big list is it.

Nope

Another summary post, this of a wasted day:

Personal

The lady who was supposed to visit my oldest daughter today didn't show up on time. Giving her the benefit of the doubt, I rang 1-1/4 hours after the scheduled start time.

"Oh, she's been off sick for a week-and-a-half, can you give me your daughter's name please?"

I did so.

"I'm just looking at her diary, it seems we missed you."

I then launched into a rant: 'I took the day off, my wife's stayed awake after her night shift, you've got a disappointed little girl here; tell the manager we're yet again dissatisfied by your lack of organisation…'


Home

A local tradesman tasked with a simple home visit 'around teatime', to fit his schedule, to quote us for 2 new radiators failed to show or call or text.


Ruby

(The dog this time!)

She's chewed her second pair of my Gore-Tex walking shoes. The girls leave the shoe cupboard door open, have no concept of…

My wife seems to think the total destruction of one side of the heel padding is fixable. I'll hover a finger over the Amazon 'buy again' button.


Ruby

(Yeah, computer stuff.)

Another day, another Raspberry Pi reset; the fourth in 4 days. Rather than do what I wanted to with the computer, it's perhaps a good time to re-evaluate my single purpose; blogging support.

It would gave been sustainable, there's enough scope in setting up a web site to fiddle with, fine-tune, break and fix. But problems with Ruby (computer program dependencies) are getting tiresome. Next step though: check out @mlv's 'strings (1)' comment.

Luckily the Raspberry Pi community has a huge amount of imagination and skill, for example Jonathan Duerig's (@duerig's) book scanner.


Stuff

I went shopping on my own while my wife slept and the girls watched streaming films. I didn't miss much either. The best thing to happen all day.

Raspberry Pi!

Raspberry Pi update. Firstly, and finally, I bought one! The day before Valentine's Day; the trembling anticipation of using 'Amazon Prime Now' proved too strong to resist. The delivery arrived 1-1/2 hours after my finger left the 'Buy Now' button!

Dont worry, my wife got the card and a single red rose!

Back to techy stuff:

Yesterday I:

  • Installed the GitLab* software. Badly.
  • Installed Ruby & support for Ruby gems.
  • Installed the Jekyll static website & blog generator.
  • Installed Glynn, a Ruby gem that copies the site to a remote ftp location.

I say I installed GitLab badly; I failed to setup the program's ability to email activation links to new users. The next step was going to be fix that and progress to setting up the authorisation keys necessary to clone my online git repositories…

I let enthusiasm cloud my judgment.

I, again badly, uninstalled GitLab, and tried every other GUI git program installer.

Ruby, the key to everything I need, wasn't playing along with the new stuff I wanted to install. I'd started with RVM but got rid of that and threw RBENV on instead (remembering the hardship I faced trying to get ayadn_shell to run.)

(time passed…)

To cut a long story short, it's a good thing I'm running the Raspbian Debian Linux installed by something called NOOBS; it has a quick & easy reset to factory settings option on reboot. So I used it.

Wiped, restarted, re-entered new password and computer name; compy386 – to replace my previous laptop, a machine named lappy486. (It's pointless going with a strict chronology at a time like this!)

Refill


layout: post

title: Refill

My Fisher Space Pen leaked; the brand's legendary status is in jeopardy! Aaaaaaaaaaaaaa!

(Think calming thoughts Baz…)

On Tuesday I dropped my pen, thought nothing of it.

On Wednesday I noticed excessive smudging (I'm left-handed.)

Today I got my magnifying glass out after a particularly nasty blob of ink appeared on my planner. And transferred to my finger. And highlighter pens. A blob of ink that even after half a day resisted all attempts to cover by careful applications of white paper from an on-a-roll dispenser.

Now the magnifier is ordinarily almost useless, having a too-small, rectangular, lowish powered main glass and a tiny ancillary, but insanely-powerful inset magnifier. It's with this second, a lens having an extraordinarily shallow focus depth, that I found the end of the pen refill had split.

When it dropped, all-of 73cm onto industrial-strength office carpet, it must have impacted something hard-enough to break one side of the ball retaining sleeve.

Unprecedented.

Yes, I have got a spare refill.

Phew!

It – a fine point replaced by the new-year medium black – is about to run out.

Living on borrowed time now; it's probably the most excitement I'll have all week.

Let's face it, at work on an otherwise-unremarkable day, I managed to defeat the very best American engineering – a pen designed to write in zero-G, upside-down, underwater, in extraordinarily hostile environments – by dropping it on the floor.

Danger, it follows me everywhere.


Addendum:

It's a myth that the Americans spent squillions of dollars developing the pen whilst the Russians used a pencil. Snopes.com link.

Backups

I have a NAS – a network-attached-storage device. Bought to serve photos and video and music to the family and cut our reliance on cloud storage, it has of course failed to live up to its potential.

There are a few photos and songs and videos and a few documents and, well, not much else. The usable Internet speeds we have now, our Amazon Prime video subscription, and the ready availability of girl-friendly entertainment on YouTube, they all conspire against my original vision of an all-encompassing media server.

It’s appropriate to note that most of our irreplaceable files are also stored at a couple of cloud storage providers.

“…most of…”?

Yeah.

So, regular backups of our important stuff? Every now and then I make backups from our laptops. But, thus far, not automatically.

What I’m looking for is a program that’ll run silently on our Windows laptops*; a program that’ll take whatever exists in a user’s folders and put it somewhere safe.

Now I know this bit sounds obvious, but I don’t want to have to leave devices on and wait for a timed schedule to start the backup process. This has to happen seamlessly, in real time as the files are manipulated.

Moreover, whatever I get must not lose files deleted from a users computer from backups after 30 days. That knocks both saving stuff into Dropbox folders and making Backblaze backups from my list.

My frontrunners so far are Arq and CrashPlan. Both are probably overkill for our needs, but have solid reputations.

I’d appreciate any advice from existing users, along the lines of:

  • Which service/program is the most unobtrusive and reliable for you?
  • Which cloud storage services are easy to setup with the program, and have the ‘best’ uptime? Amazon Glacier might be cost-effective but I’m really not keen on waiting hours to get our stuff.

Of course my shortlist candidates have, or will soon have, the attraction of their own storage. 250GB right now seems right, whereas ‘unlimited’ is far, far beyond our likely needs.

Oh yes, I want to utilise the NAS too for automatic backups.

This is but the start of a journey.


*We’re not made of money; only one laptop was bought new, the rest were acquired as a result of family generosity. The new one? Sale price.

Developing

I may have mentioned my programming days are >30 years in the past? Well they are. It's not to say I haven't dabbled in the last few years. Because I have.

My GitHub Pages site is a prime example; personal, trivial, offering not much mass-appeal; yet requiring a fair degree of time and patience to create.

And I've learned new skills too!

My pages are hosted at GitHub.com; the design (the technical aspects, not necessarily how pretty it looks) is based on a forked version of the poole/hyde repository (repo.) This is where the more in-depth instructions are located. Essentially it's a Web site in a box, free from the shackles of self-hosting and server security concerns.

Getting it personalised in the first instance was surprisingly easy. Take a look at http://github.com/bazbt3/bazbt3.github.io for my site's files.

I'm assuming here that you want to create a new site and want to do it the easy way, as did I. There's a learning curve of course, but there's no compelling reason to step outside the GitHub.com site along the way.

The executive summary:

  1. Login to your GitHub.com account. You may need to create one for this step to work best!
  2. Find and fork the 'poole/hyde' repo, calling your fork [your GitHub username].github.io –
  3. Remove the entry (all the text) in the CNAME file and save it back to your repo. This forms one half of a redirect from a domain external to GitHub Pages.
  4. Customise the fields within the _config.yml file and save it. This effectively personalises the new site.
  5. Edit the post within the _data folder. This is to test whether the basics are working.
  6. Browse to [your GitHub username].github.io – and you should see something superficially like poole/hyde and my sites, but with your content.
  7. Fix anything that doesn't quite work.
  8. Success!

If you don't see what you like, it's not a massive amount of work for anyone with any previous programming (at any level) or HTML background to work stuff out. Knowing a bit of Markdown – to edit and format your posts – will help.

I've changed stuff and added a few things to the basic 'framework', such as:

  • Changed the site name font (I know a tiny amount of CSS, not enough to break stuff, but I always do and have to revert.)
  • An 'Archive' page, basically a copy and paste from the jekyllrb.com site, but formatted to add post excerpts.
  • A 'Reading list' page, a simple loop reading data from a .csv file.
  • Other stuff.

Once you get into this, the ideas flow quickly.

But, despite all this enthusiasm, faffing about… my primary blog still resides at Jason Irwin's 10Centuries – here.

Why?

Because there's more to blogging than fiddling with site nuts and bolts, SEO, testing, etc. – it's all about the writing for me.

Besides, 10Centuries v4 is due soon (currently in invite-only beta) and that's an entirely different ballgame!

Despite my what it states in my App.net bio I am #NotADeveloper.

But it helps to have a basic understanding of what it takes to be one.

A clear mind.

ADNHackDay

App.net's @lukasros asked a couple of days ago:

"Hello people of App.net! What do you think about having another #ADNHackDay / #CommunityHackDay?
Pinging @matigo @33mhz @duerig @ryantharp @flashblu @adnfuture @pamdavis @jvimedia @cgiffard @blumenkraft and everyone else."

The weekend of January 30/31 has been proposed. And I'm vaguely excited!

"Vaguely" because, as you're probably already aware, I'm not a developer not even a hobbyist coder. It didn't stop me creating a thing that came to its ultimate* fruition only after the weekend I participated. But it was good to watch the evolution of stuff and, though I'd imagine there's no substitute for being in the same room as people working feverishly to complete a hack, it was good enough for me.

No, I don't know what I'm going to do, or what I'm capable of. And that's what the inspiration of a community of like-minded, though far better than me at their fields, people will imbue in me. Confidence. Or fear, too early to say.

Or… I'll just read the recap. Dunno yet!


*It's really not that good. And it has the niche-cubed appeal factor.