Work around “unsafe usage of new static()”

Uncategorized

During a recent update of some of my library dependencies I found that one of my dependencies had marked their constructors as final. When I asked if it was possible to de-finalize them, they told me to remove it and run static analysis. It turns out that the answer lies in phpstan’s rule for Unsafe … Continued

PHP Pipeline Pattern

Development

A long time ago, in the League\Pipeline repository, there was an issue that asked about changing the interfaces to separate the concerns, and also allow the pipelines to be immutable. I thought this was a great idea at the time, and so I wrote SyberIsle\Pipeline. Three years later I still think the idea has merit, … Continued

Allow NFS through OS X High Sierra firewall for Host-Only networks

Development

I recently upgraded to High Sierra, and as a security conscious individual, I then enabled the system firewall by visiting System Preferences > Security & Privacy > Firewall, and clicking Turn on the Firewall. This is a great way for users to begin protecting their computer when connected to random networks. However, this falls short … Continued

The allure of static proxies

Development

Several weeks ago I started playing with Laravel. Primarily because several colleagues are using it, and have suggested that I take a look at it. During my time reviewing how to build a view template I came across references to Html, Form, View and other static calls. Initially I was not impressed due to the … Continued

Ansible “Authentication or permission failure.”

DevOps

I recently upgraded some servers, and on reboot I ran into the peculiar condition where I received the following warning: fatal: [user] => Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to … Continued

Cleaning up Ansible task formatting

DevOps

I’ve been using Ansible for the last several years, and I’ve used YAML just as long. Yet a lot of playbooks and tasks for Ansible are often horribly formatted. This causes anger within me, so I want to let others know, that there is a better way. “Use the YAML, Ansible Writers” YAML may not … Continued

“Login” vs “Log In” (Remembering our grammar)

Development

Struggling with the usage of “login” or “Log In”? Whether or not you should use “Log In” or “Sign In”? I don’t have all the answers but I just recently sat down and did some research to help myself with what I should be using. Hopefully this helps others out as well.