Posts

Stopping PHP From Stripping out Hyperlinks From a NITF XML Response While Parsing the XML

This is another of those particular posts that might help one or two people out. If I can save you some time working with the News Industry Text Format in PHP, I’ll be glad that you didn’t experience my frustration. While working with the Associated Press API, I recently ran into a situation where ingested content from the NITF format they supply was being stripped out in PHP. The code in question looked like this:

DJI Mini 3 Pro Review

I have always been fascinated by and loved drones but at a distance. Like many reading this, I resisted the temptation to spend $1k+ on a drone that I knew would crash into a tree or into a body of water where it is doomed to rest for eternity. With the DJI Mini 3 Pro, many of those valid concerns have been alleviated by releasing one of the most beginner-friendly drones, which also offers pro features. While this is not the first small-sized drone DJI has released, it is one of the best.

How To Override WordPress Gutenberg Core Blocks Output

WordPress ships with a bunch of neat core Gutenberg blocks. However, there may be situations where you need to change the output of a Gutenberg block. In my use case, I needed to modify the core/image block to add an image credit field I created using Advanced Custom Fields. Like most things in WordPress, this is possible using an action and a few lines of code. Some solutions around on the internet make you call register_block_type to override the registration of the core block (which is wrong, in my opinion).

Speeding Up Slow WordPress CLI Commands

When performing intensive or long-running operations on a WordPress website, the admin panel is terrible. Have you tried to delete 100 posts from the posts screen? It’ll time out and delete maybe 10-20 if you’re lucky. This is one example of many. Naturally, I opted for the WP CLI (WordPress CLI), which allows you to perform operations on your WordPress site from the terminal. I needed to delete custom post types from within a date range in my use case.

Neural DSP Reveal Details About the Long-Awaited Quad Cortex Desktop Editor

Since the release of the Quad Cortex modeller, most people have been asking for a desktop editor for the Quad Cortex. While the interface of the Quad Cortex makes for seamless editing, a desktop editor can speed up the process. In Discord, Doug revealed some details about the highly-anticipated desktop editor. Here is what we know: There has been a dedicated team working on the desktop editor for months The desktop editor will require the Quad Cortex to be connected to use (like some other modellers) Doug is strictly against a single-file preset format like what the Helix and other modellers offer There might be a future feature to save and load setlists into the Quad Cortex Admittedly, the lack of file format is disappointing. For such an expensive device that I am a huge fan of, the lack of open file format isn’t ideal and I hope they change it. It seems as though Neural DSP is taking an Apple-inspired approach to their hardware, locking people into using their cloud and future marketplace.

I am already bored of Battlefield 2042

In the lead up to Battlefield 2042, I was genuinely excited, and it looked like a step in a new direction. Despite having more bugs than a cheap motel mattress, I even played the beta briefly and enjoyed it immensely. When launch day finally arrived, I jumped right in and invested quite a few hours into Battlefield 2042. The maps are big and beautiful, and they shock you with their sheer scale. But, eventually, the shine begins to wear off, and you’re left with a game that doesn’t have the same impact previous Battlefield games did, like Battlefield 4.

Announcing Cortexpresets.com — Buy custom Quad Cortex Presets

At present, the Cortex Cloud does not have a marketplace feature. There is no officially supported way to sell your preset creations for preset creators like myself. The process works for sharing private presets is you have to befriend someone, then they can share private captures and presets with you. I have a knack for creating clone presets based on famous artist sounds. Think bands like Monuments or Linkin Park, the kind of tones people want but might lack the knowledge to create themselves. So, I decided to build something called cortexpresets.com.

Is Web 3.0 Just Another Crypto Hype Scam?

The term Web 3.0 is being thrown around a lot, not just those in the crypto sphere, but investors and everyday folk are starting to talk about it. You know, when your Uber driver or barber is talking about Web 3.0, it has permeated the fabric of society. People have differing opinions on Web 3.0, what it will do for the web, how it will change everything. There seems to be an aura of excitement around Web 3.0, with a hint of ambiguity.

Cache Busting WordPress Enqueued Styles and Scripts

In WordPress, you add theme styles and scripts using the trusty wp_enqueue_script and wp_enqueue_style methods. However, by default, your enqueued scripts and styles will be added to your WordPress site as straight scripts. What happens (and the reason you’re probably here) is the browser will cache your scripts, which is what we want to happen. There is nothing more frustrating than making a change, only for the client or QA team to say they can’t see the changes, for you to go back then and tell them to do a “hard refresh.”

Building a High Availability WordPress Website Using AWS and Hyperdb

WordPress is the most popular CMS on the planet, powering over 40% of the internet and continually growing. Despite what you have been told, WordPress isn’t dying, and it’s not the terrible mess some dramatic PHP hating developers make it out to be. I was tasked with building a WordPress capable of sustaining millions of visitors per minute (a project I can’t reveal the details of just yet). The brief was a platform that could handle upwards of 100,000 visitors per second. Keep in mind this is across hundreds of WordPress Multisite domains, not one single site.