Posts by Barry Hess
A Good Enough Engineer
More about Barry:
https://bjhess.com
Back to all blog posts
-
· Barry Hess · TIL
TIL: Fixing Broken Social Share Images in Twitter/X
I have an admission to make. Social share images for Pika were broken on Twitter/X, LinkedIn, and Apple Messages for months. And it made me sad.
But in the past few months we got it fixed. And that made me very happy!
-
· Barry Hess · TIL
TIL: Overriding Permalink Generation in FriendlyId
FriendlyId is a helpful Ruby gem that streamlines creating permalinks and slugs for Rails applications. In Pika we're using it to help with generating permalinks for blog posts and pages as well as slugs for tags. When a customer wrote in with a request to modify the behavior of these permalinks, I wasn’t sure how easy it would be to override the default behavior. Turns out it wasn’t too bad!
-
· Barry Hess · TIL
TIL: Fixing Broken Action Text Images in Atom Feeds
For a while now we've seen that images in our Pika atom feeds were not displaying in some feed readers. In fact, they weren't displaying in my own feed reader, which routes through Feedly. I was sad.
I spent a lot of time troubleshooting this. Compared our feed with a lot of atom and RSS feeds that worked. Eventually I came to a hair-brained idea: what if Rails's Action Text image display markup was confusing these feed readers?
-
Grassroots
TLDNR: If you have an interest in Good Enough succeeding, we need your help! Telling friends, shouting on socials, and sharing links to our stuff with your favorite influencers–all of these things will help Good Enough succeed and continue making amazing stuff!
-
· Barry Hess · TIL
TIL: Easily Support Gravatars in Rails
We’re building some software where we’d like to display avatars for email contacts even if they aren’t users of our software. While Gravatar is a relic of Web 2.0, we’ve found that there are still a significant number of people who have their email addresses in that system.
Here’s how I streamlined displaying an avatar for an email address if it exists in the Gravatar system.
-
How We Built Unique Social Preview Images for Pika
One of the goals of Pika, the happy blogging software that we recently launched, is to help you find your own place on the internet. Along with a nice place on the internet, when you share links to your blog we want them to represent your internet home, which you've likely taken a little time to make just so. Sharing your blog on social networks, text messages, Slack, or wherever should be an experience that makes you smile, and that's why we built custom social preview images for your blog.
But how did we do it?
-
Pika: Start Your Happy Blog
Have you thought about starting or restarting a blogging habit? Have you wanted to write on the internet, but at your own place and at your own address rather than on a social network? Have you been overwhelmed by the online writing options that you’ve found? Well, have we got just the thing for you!
-
Why We're Writing Blog Software
We’re seven months into our Cosmic Maelstrom and we have started writing blogging software. What the why?!
-
Fixing Things
In 2009 I started doing something called "business travel." I bought a piece of dependable luggage: the Travelpro WalkAbout Lite 2 22" Rollaboard Suiter. The reality was that this wasn't proper business travel. First, it'd only be two or three round-trip flights a year. Second, suits were not a thing with which I needed to concern myself. Still, I did my research, was told "look at all of the flight staff – they're using Travelpro," and I spent accordingly.
For some reason I got into my head that expensive meant "buy it for life," but it was just a decently-built suitcase. At any moment it could get slammed to the runway pavement and that would be the end of the suitcase's lifetime for which I had bought the thing.
-
· Barry Hess · TIL
TIL: Rails has_one Nested Attributes Tweaking
In a project I'm working on right now I've been using a Rails nested form and a couple of things caught me off guard.