Mark Grealish

Cats and wizardry.


class

Menlo Castle in the Snow

What a fantastic start to my winter holidays!

Go Party Team!

Holy heck, but one year at GirlCrew. We had an amazing night out at Tippenyaki in Rathmines

The Glendalough Valley from Laragh

Taking while on a hike with a Meetup.com hillwalking group. Absolutely stunning day.

Gaelcon 2017

Gaelcon runs again this October bank holiday, same as it always does, same as it always has. When I was a teenager, Gaelcon was the be-all of Irish gaming. The con was our annual pilgrimage, the weekend where gamers from around Ireland came to let their hair down. Card games like Magic and L5R dominated […]

The Littlest Nazgûl

Lil Khamûl.

Perspective

An eerie flat plain approaches a sharp clifftop.

Better Version of Bash/ZSH Dependency Tester

Why test for one dependent executable when you can test for them all? It came in useful at work today. function _has { for PROGRAM in "$@"; do if [[ $(which $PROGRAM > /dev/null 2>&1; echo $?) != 0 ]]; then return 1 fi done return 0 }

Anarchy on the Streets of Dublin 8

They respect no law but the law of MIGHT MAKE RIGHT.

Ordinary Day

Taken at Bull Island, October 14.

Phoenix Park, September 2017

Taken on September 24 on a wonderful warm autumn evening.

Poolbeg in Silhouette from Bull Island

On Being Vulnerable (as a Good Thing)

We discus vulnerability as a negative because we need to protect vulnerable persons, which is that’s fair. One of the marks of society is in the way we treat our weak and helpless. What we overlook is being vulnerable as a positive. I mean, we’re vulnerable all the time. We’re vulnerable when we share with […]

Forcibly Set Counter Cache Columns to Zero in Rails 5

(Or any other value you like.) So it turns out that counter cache columns are marked as readonly because Rails handles increment/decrement internally through methods such as increment_counter. Rails does not want you to update the counters by hand. It really wants you to leave the integrity of those fields to the framework itself. Every […]

Menlo Skylight

Thorncastle Street Apartments, Ringsend

The Iveagh Trust, Dublin

Ghetto Single-Instance Cron jobs on Elastic Beanstalk

Before you read this article, go and read about Elastic Beanstalk’s worker environments. A worker environment is a copy of your application which you configure to handle certain background tasks. In the case of Ruby on Rails, you can configure ActiveJob to interact with the worker tier through the active-elastic-job gem. If a worker tier […]

My Body is Ready

\\//

March for Repeal

At least one hundred people attended the March for Repeal today in Dublin.

Liffey Sunset

Hell of a gorgeous evening!

Scratch Scratch

Neighborhood cat scratches are best cat scratches.

Auto-ception

Today I clicked into a mainstream news website which had an autoplaying video frame. The autoplaying video wanted me to watch an autoplaying video advertisement before it’d show me the autoplaying video. There are men and women on this green Earth, brothers and sisters, who deserve to be taken outside and whipped with a chain, […]

The Secret Life of Crows

Ricky Whelan (@rickywhelan) of Birdwatch Ireland hosted “The Secret Life of Crows” last night at the Botanic Gardens in Glasnevin. The lecture capped off my gorgeous Autumn evening walk across from the office after work. While in the line I struck up a conversation from a retired New Zealander couple who are out to cycle […]

Six Sunny Sunset Skies

Taken around Taylor’s Lane, Prospect Avenue and Smithfield this evening.

Eight!

Gar looks so like me sometimes. <3 I hung out with Mariah, Caira and the rest of them on Friday for about thirty minutes. In the middle of dinner at Denny’s. It was fun!

instasort 4.0.1

One bad programmer habit of mines is that I tend to duck type when there isn’t a strict need. I ask whether the object doesn’t fit conditions, or evaluate it against some rules, at times when I have the ability to check its actual type. I thusly duck typed images in the previous version of […]

Double Rainbow over School Street, Dublin

Invalid Authenticity Token Errors in Rails 5

Over the last while we had persistent CSRF token issues in our natively-wrapped application. ActionController::InvalidAuthenticityToken The error only appeared to occur under specific circumstances: Open app. Perform any action, then logout. Log back in again. All remote POST/PUT/DELETE requests will fail with token errors. Typical trace: Started POST "/events/147/attendances" for 127.0.0.1 at 2017-09-12 12:17:54 +0000 […]

Flogging Molly at the Olympia

What a fantastic gig, full of great craic! Mariah introduced me to Flogging Molly years ago when I lived in Las Vegas. They’ve stayed a firm favourite of mine since. Flogging Molly’s songs are of home and loss, of survival and endurance. About where you are and what family means. It meant a great deal […]

Agency

Your sense of agency can be described as your perception of control in any given situation. Now, yeah, it varies. You feel less agency at work, for example, because someone else owns the product or project, or you need to consider other opinions. You get the idea. Most people have a robust sense of agency […]