How web-app creators (that I’ve tried) fall short still…

I’ve been trying to get back to using web-apps as separate apps outside of my browsers for a few weeks. Each of them falls short of me moving away from browsers + profiles, and I thought sharing those would help someone else:

WebCatalog

  • Link handling UX is difficult to use and is REGEX based.
  • Userscripts UX is also hard to use.
  • Notifications do not always work.
  • No tabs (deal breaker for e.g., Github).

Unite

  • Sometimes new tabs do not work.
  • New tabs always show the toolbar permanently.
  • Uneven toolbar UI.
  • No custom User Agent configuration; Google stuff doesn’t work.

Fluid

  • Old, hasn’t been updated in a long time!
  • JavaScript that opens new tabs to URLs not in your whitelist do not get thrown to the external default browser, but instead a new tab is opened.

Right now I’m still using Google Chrome profiles for most of the things. For Asana (because I feel it needs to be a separate app, and I have a few custom userscripts), I’m using WebCatalog so it throws new link clicks (handled by JavaScript) to my default browser (Choosy).

Fluid is probably the best of the bunch right now, and I can use tabs (though the UI looks outdated and clunky) for Github, which I feel tabbed browsing is a must.

WebCatalog has the most potential, if only they would find a way to allow tabs!

How to fix Mail.app on Mac taking long time to load

The answer is here, but I wanted to post with something that would catch Google searches, since none of mine today worked until I was trying to delete Mail.app all-together to re-install it (which you can’t really do).

But, just run:

killall Mail &> /dev/null; mv ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist ~/Desktop && open -a Mail

If it works, delete the com.apple.mail.plist file on your Desktop!

…it worked on my machine 😉

I did have to re-set all my Mail.app settings again, but worth it!

In Process.php line 441: The process has been signaled with signal “6” when running composer on Mac

As you can see, I’ve been through some hell this morning. First of all, you’re only going to get presented with:

In Process.php line 441:

  The process has been signaled with signal "6".

…if there is a composer.json file in the current working directory, so if you run composer right now in, say, $HOME you’re going to think it’s working, but if you’re here you likely have figured this out…

I did so much googling this morning. But I eventually landed on this, which gave me a clue…

Running composer -vvv I saw the same thing, and running svn --version I was presented with a new error:

dyld[92827]: Symbol not found: aprcryptoblockcleanup
  Referenced from: /opt/homebrew/Cellar/subversion/1.14.2/lib/libsvn_subr-1.0.dylib
  Expected in: /usr/lib/libaprutil-1.0.dylib

So I reinstalled svn, php, and composer a bazillion times, no effect. But then I landed on this in my googling and figured, what the hell and ran the suggested fix on that seemingly unrelated issue:

brew reinstall apr-util

And…it worked! I don’t really know what apr-util is, but it seems to have at least fixed my problem for now, and hopefully yours!

WP-CLI LocalWP without “Open Site Shell” (redux)

This is going to be short (I’ve been meaning to write it for a while), but first go read this post by my good friend Sal Ferrarello as a precursor to this one, then come back and read this.


Now that you’ve read Sal’s post, you can actually do this easier now using Local:

You don’t need to create a wp-cli.local.yml or wp-cli.local.php file; all you need to do is edit your current wp-config.php and find this section:

CleanShot 2022-04-11 at 11.24.10@2x.jpg

Now change the part where you have define( 'DB_HOST', 'localhost' ); and change it to:

defined( 'WP_CLI' ) && WP_CLI
    ? define( 'DB_HOST', 'localhost:/Users/aubreypwd/Library/Application Support/Local/run/do55POv0/mysql/mysqld.sock' )
    : define( 'DB_HOST', 'localhost' );

…and replace /Users/aubreypwd/Library/Application Support/Local/run/do55POv0/mysql/mysqld.sock with your sock file from Local:

CleanShot 2022-04-11 at 11.19.14@2x.jpg

…and that’s all you need to do now!

CleanShot 2022-04-11 at 11.26.42@2x.jpg