Mark Grealish

Cats and wizardry.

FactoryBot Email Factory

in code

While hardly a world-shattering bit of code, I’ve found this super useful for reuse. :D

FactoryBot.define do
  factory :email_address, class: String do

    transient do
      sequence(:address) { |n| "factory_email_#{n}" }

    initialize_with do
      new address if address

Call inside a factory thus:

FactoryBot.define do
  factory :foobar do
    email { create :email_address }

Andddddd We Drunk Called Friends

in friends

(Sorry Jenny!)

At some point I’ll have to blog about Asheron’s Call and its effect on our lives. The AC community, more than any other I’ve known, came together as people in real life.

For now, yeah, we had a great time over a couple of drinks in Dublin. :D

MissManners and I

Strandhill Snapshots

in ireland

Well as you could have guessed from the runs, I went to Strandhill last weekend with a friend. My most excellent company aside, it felt so good to be back in Sligo and the northwest for its own sake. I ran, we walked, we got burned under the sun and enjoyed fantastic food and beer at The Strand.

I can’t wait to get back out there again, sooner rather than later!

Sunset into the Atlantic at Strandhill
Beautiful cottage in the lee of Knocknarea
The Atlantic Ocean from Strandhill
Benbulben and Sligo Bay from Strandhill
Graveyard wall at Strandhill
Gravestones at Strandhill
The ruins of Killaspugbrone church
Sand and sky at Strandhill
Knocknarea from the shore of Sligo Bay

Pretty Neighbourhood Kitty

in animals

He got the scratchies from me. 🐱

Neighbourhood cat in Dolphin's Barn, Dublin

This Be The Verse

in random

Poem by Philip Larkin, shared with me by a friend.

They fuck you up, your mum and dad.
   They may not mean to, but they do.
They fill you with the faults they had
   And add some extra, just for you.

But they were fucked up in their turn
   By fools in old-style hats and coats,
Who half the time were soppy-stern
   And half at one another’s throats.

Man hands on misery to man.
   It deepens like a coastal shelf.
Get out as early as you can,
   And don’t have any kids yourself.

Weekend Runs

in ireland

Saturday’s run was Tour de Knocknarea. A friend and I spent the weekend in Strandhill in Sligo. We had our own plans made for Saturday morning, mine being to run a loop around Knocknarea. It looked easy on paper, ten kilometres in a circle back to the start. Right? Hah! The southeast side of the run went over the shoulder of Knocknarea, a broad slope that runs off southeast toward Ballysadare. So, yeah, I did the run. I peed blood (lovely, yes) after I got back, as well as bleeding from both ankles they rubbed against my shoes. I am the blood monster. Given everything, my 5:58 pace over the distance was fantastic.

Got back into Dublin this afternoon, arrived home, passed out dead asleep for three hours. I went out and ran at 10pm because I couldn’t wake up, but knew I wouldn’t sleep tonight. Again, I’m happy with the pace. It’s not as fast as some of my other recent runs (~5:04), but in the acceptable range.

Getting there. :D

10.02km run in Strandhill, Sligo
5.99km run in Harold's Cross, Dublin