Soundcore by Anker Life P3 Noise Cancelling Earbuds at lowest price ever on Amazon

Last September, I spent more hours than I care to admit researching wireless earbuds, checking sites (mostly RTINGS.com), saving the names of a few top picks to a Google Keep note, and setting multiple price alerts using camelcamelcamel. Two months later, I discovered that the Soundcore by Anker Life P3 Noise Cancelling Earbuds were on sale for $59.99, which matched the previous lowest price ever. (I would have received a price alert email from camelcamelcamel, but I hadn’t set up the price watch correctly.)

After waffling back and forth, I bought a pair, received them a few days later, and loved them. They’re comfortable, the sound quality is great, and the noise cancelling features are fantastic. I’ve even used them with noise cancelling active and no music playing to dampen the sound at very loud events.

I’m confident that more expensive earbuds would likely have better neutral sound or would be better for working out, but I feel like the Soundcore P3 earbuds hit the sweet spot of quality and value for the money.

Why do I mention this 6 months after I bought them? Because I still love them, I still use them when working out, and they’re on sale for $59.99 again today.

Continue reading

How to suppress PHP warnings generated by Piwigo when running PHP 8.x

Are you running Piwigo on a server running PHP 8.x? Is your error_log file in your gallery quickly filling up with PHP warnings? If so, follow these steps to suppress those warnings:

  • Log in to your Piwigo gallery.
  • Click Administration. (This guide assumes your account has Webmaster rights.)
  • Click Plugins on the left-hand menu.
  • Click Add a new plugin.
  • Click in the Search field, type “localfiles” (minus quotes), and press Enter.
  • Under the LocalFiles Editor result, click Add.
  • Click Plugins on the left-hand menu.
  • Toggle the LocalFiles Editor plugin on if it isn’t already
  • Click the Settings button under the LocalFiles Editor item.
  • Copy and paste the following code into the local/config/config.inc.php file:
$conf['show_php_errors'] = E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING;
  • Click Save File.

Original source: https://piwigo.org/forum/viewtopic.php?id=31875

Making PowerShell talk

Here are a few basic lines of PowerShell code to get your computer to talk to you.

Add-Type -AssemblyName System.speech

$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer

$speak.Speak("Hello world")

It’s simple code, but it makes my children smile.

You can quickly launch PowerShell on most Windows computers by right-clicking the Start button and clicking Windows PowerShell.

Warning: Attempt to read property “post_type” on null – Issue resolved

Was a real headache fixing the issue where I’d go to make a new post and would get a slew of errors like this:

Warning: Attempt to read property "post_type" on null in /REDACTED/wp-includes/post.php

Ended up being a simple enough fix: When importing the database using phpMyAdmin, I had to uncheck the Do not use AUTO_INCREMENT for zero values option under the Format-specific options section.