Here’s two quick stories about providing native Windows support for pestle. Home Directory The first issue boiled down to our using the following code to get a user’s home directory $home = trim(`echo ~`); if(!is_dir($home)) { throw new Exception("Could not find home directory with echo ~"); } This works for the *nix [...]
astorm
I just had a nice reminder that sometimes reporting a bug to a public software forum can matter, even if you suspect/know it’ll be closed out. Someone familiar with the Symfony docs process ran across the same problem I had with the HttpClient, and appears to have had the same “what is even happening reaction I had”, [...]
astorm
Just a quick note that a new version of Commerce Bug (3.2.4) is out in the world. This release fixes a small bug where the jsTree elements in the KO Scopes tab could interfere with the styling of jsTree elements that core Magento used in places like the Access Control Roles tree. If you follow my feeds on Stack Overflow or Twitter you [...]
astorm
This entry is part 1 of 1 in the series Async PHP. This is the first post in the series. One luxury afforded to the average PHP programmer is never having to worry about threads or asynchronous programming. Unlike other dynamic languages of its era (ruby, python, etc.), PHP has no built-in concept of a thread. PHP also came along early [...]
astorm
This entry is part 12 of 12 in the series Pestle. Earlier posts include Pestle 1.1.1 Released, Pestle 1.1.2 Released, Magento 2 Setup Migration Scripts, Pestle 1.2.1 Released, Sending Text Messages with PHP, pestle, and Nexmo, Pestle 1.3 and AbstractModel UI Generation, Pestle 1.4.1 and the Merits of Inheritance, Pestle 1.4.4 Released, [...]
astorm
Coming up through the dynamic languages and having my “typed” language be C, I mostly missed out on the whole “generics” thing. Cue the late 2010s and generics are a thing in TypeScript and every so often there’s a push to get generics into PHP. A few years back I figured it was time to learn what was going [...]
astorm
I’m working my way through James Cogland’s Building Git and it’s a delightful read. Git and its role in building software is fertile grounds for exploring the social interactions of the software industry. Git’s history, in brief, is the Linux Kernel project started using a version control system (named BitKeeper) [...]
astorm
Recently I was moving a few of the websites and web applications I run on my laptop from .dev domain names over to .localhost domain names. The .dev top level domain became a real thing a few years back. Google bought it, started using it, and (most importantly) browsers started automatically redirecting .dev domain names from http to [...]
astorm
Over in my patreon slack room (the semi-private slack where I help patrons with their programming questions), a patron wan running into an issue where Magento catalog/category pages were generating an X-Magento-Tags HTTP header that was “too large”. They’d managed to track this down to a GitHub issue from this summer. [...]
astorm
The ExtDN group, a collection of Magento extension vendors trying to keep the platform a reasonable place for extension vendors to do good work, have released an open source and vendor neutral project that will give you “one line installation” of any composer managed Magento extension. (you can even install it via homebrew) [...]
astorm
This entry is part 11 of 12 in the series Pestle. Earlier posts include Pestle 1.1.1 Released, Pestle 1.1.2 Released, Magento 2 Setup Migration Scripts, Pestle 1.2.1 Released, Sending Text Messages with PHP, pestle, and Nexmo, Pestle 1.3 and AbstractModel UI Generation, Pestle 1.4.1 and the Merits of Inheritance, Pestle 1.4.4 Released, [...]
astorm
Ten years ago I stumbled across a small indie game named VVVVVV — its aesthetic mimicked a game from the mid-80s on an early personal computer but its game play fully explored a simple game mechanic using everything “we” know about modern game design. Even in 2010 I didn’t really play games much but I played the [...]
astorm
Last week I had the good fortune to visit Montreal and attend the Node+JS Interactive conference, 2019 edition. It’s nice being able to attend a conference anonymously without the expectations that would materialize whenever I attended Magento’s Image conference. These are just some quick high level thoughts on the talks I [...]
astorm
Possibly useful ten tweet overview of React. I touch React components occasionally but not often and find this a nice refresher of what’s going on with those sort-of-a-class files.
astorm
This one comes straight from my Patreon slack (where, despite not actively working with the Magento platform, I still advise, mentor, and be-a-therapist-for people who are — also while I’m pitching my Patreon slack to you I also still sell Commerce Bug and No Frills Magento 1/2 Layout, both of which will make you and your [...]
astorm
There’s a new PHP remote code execution bug making the rounds, and I thought it might make for some blogging fodder, as it hits me right in my “intersection of deeply technical content + mushy culture stuff” feels. If you’re interested in learning more about this remote code execution bug, why it could effect more [...]
astorm
A new version of Pestle (1.5.0) has just been released. This is the big “generate code outside of app/code if you want” release — full docs for the new feature are also available. Download instructions are in the README.md, and current users should be able to update with a $ pestle.phar selfupdate The new feature is [...]
astorm
The KnpLabs/php-github-api project was invaluable to me during my recent composer/Magento research. GitHub offers both REST and GraphQL APIs that you interact with via HTTP, but it’s often easier to use these sorts of APIs with a package that gives you classes or functions that handle the HTTP POSTing and serializing of the data. [...]
astorm
This entry is part 4 of 4 in the series Magento 2 and Composer. Earlier posts include Magento 2: Composer, Marketplace, and Satis, Magento 2: Composer Plugins, and Magento 2: Composer and Components. This is the most recent post in the series. A few weeks ago I set out to put Magento composer package support into pestle, and then I got [...]
astorm
I’ve recently allowed my open source time to become monopolized by a bunch of data scraping and analysis. I managed to pull together around 3400 composer.json files for Magento modules hosted on packagist. My primary interest was in their autoloader section, but then I remembered Magento’s toying around with using [...]
astorm