Screenshot of the new matthaliski.com design.

New website look

Would you look at that?! I just launched my new website design. It’s a somewhat soft launch because I’ve got more things planned. I went down a giant rabbit hole to reach this point, so I thought I would commemorate it with a post. It feels good to kick this out the door.
Screenshot of Xcode's project settings showing both the target and project iOS Deployment Targets.

Xcode’s Deployment Target: Project vs. Targets

I occasionally get hung up on stuff as I travel deeper into iOS development. I recently got confused with the difference between a project’s deployment target and a target’s deployment target. This is ultimately an issue of what iOS versions I will support as a developer, but I was confused about why I could specify it

Fixing [SceneConfiguration] Info.plist contained no UIScene configuration dictionary error in Xcode

It seems Xcode 14.2 introduced an annoying little error when running your app in the Simulator. The error reads: [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)"). It would appear three times in a row for me.

Here’s how you can fix it:

  1. Select ...
Mastodon header

Customize your Mastodon Handle

Let’s say some narcissistic moron buys the social media company you use daily and decides that it would be better off with 100x the Nazis. You decide this isn’t for you, so you find yourself exploring the world of Mastodon.
A bird who is tripping balls in a fiery hellscape.

I'm leaving Twitter

I joined Twitter in December 2008. I was at the beginning of my career and eager to see what the web design and development field was up to. I enjoyed the platform’s brevity and the immediate consumption of information it allowed.
View of the ocean from a hotel balcony

Day of the Dead

We recently took a trip to Puerto Vallarta, Jalisco, to witness the Day of the Dead celebrations. It shares similar timing with Halloween and folks down there celebrate both. There were many trick-or-treaters out and about, but the main attractions were the Catrinas, and folks down there celebrate both.
PurgeCSS Logo

Using PurgeCSS with Rails

We leverage CSS frameworks like Bootstrap or Tailwind in our applications, but we likely won't use *all* elements from the framework. This means that we’re serving larger CSS files than we need to. Wouldn’t it be great if there was a way only to include the
Two elephants standing in the grass.

How to minify and add vendor prefixes in Rails 7

If you fire up a new Rails 7 project, you’ll probably be missing a couple of tools you should have: minification and vendor prefixing. Minification takes our JavaScript and CSS assets and squishes everything down by removing whitespace to make file sizes smaller. Adding vendor prefixes helps normalize the way our CSS r...

Fixing page jump in Rails websites using Turbo

This was a very annoying problem that had a straightforward fix but was hard to track down.

You have a Rails website using Hotwire/Turbo that is, after clicking a link, skipping to the top before navigating to the requested page. The steps needed to replicate are:

  1. Scroll to the bottom of the current page
  2. Click a lin...

Regex match for spaces outside of HTML tags

:::{info} This turns out to be quite a tricky problem to solve. The solution below is meh. I have since stumbled across a fantastic gem called Truncato that handles these situations beautifully. :::

Let’s say you are truncating a blog post to produce an excerpt for multiple posts in an index view. In Ruby on Rails, we...

About These Posts

Matt Haliski's mug

My blog primarily contains writings about my work on computers, but I occasionally mix in fun life stuff. I am, at best, a mediocre writer, but I like doing my part to give back to the community. Feel free to contact me if you have specific something to chat about. See you around!