Microblog

  • I’m pretty pumped about this nor’easter because it is the first proper storm we’ve had since I put up my weather station. Can’t wait to see the weather data.
  • I write directly into the block editor on a daily basis. It has been at least three years since I’ve lost anything I’ve written because it didn’t save.
  • Good rule to social media by: If you feel any twinge of outrage whatsoever, don’t RT/share it. You are probably being baited.
  • Every six months or so I’m reminded that I host a bunch of technical repair manuals for appliances on my server for my father because someone emails me asking questions about some issue that has stumped them. I usually pass them along to my Dad, who always knows the answer.
  • Live WIP output from my weather station WordPress block:

  • Looking forward to Michael Lewis’s upcoming book on SVB.
  • Stripe blocked payouts from SVB today. If any bank can quickly onboard and approve new accounts and get them connected to both Stripe and payroll systems, they’ll have 50% of US startups as customers by Monday morning.
  • TIL the plant I’ve been calling Moonflower is actually Datura and very toxic to humans. Better not plant them while we have a toddler in the yard.

  • Overheard on Magic School Bus: “She’s not just any person. She’s a person with a blog!”
  • Decided to up my seed starting game this year, so got a shelf with a cover and added LED grow strips. Ready to start seeds in a week or two!

  • Updated the weather station data forwarding script to fetch and update data every 5 minutes instead of every minute, as I’m starting to hit daily API usage limits from Wunderground now that I added my custom block. It looks like the limit is 1500 requests a day (day resets in UTC time). I’m having trouble finding the limits documented anywhere, but around 1500 I start getting errors back for my requests.

    Side note: Don’t use multiple Google Docs for your public API documentation. Makes it very difficult to search across documents.

  • How to create symlinks on macOS, for things like symlinking WordPress core or plugins that you are working on that need a separate git repo:

    First, navigate in your terminal to the folder where you want to symlink to live, then run this:

    ln -s ~/Projects/path-to/what-you-want-symlinked
  • I created a plugin to pull down data from my home weather station and display it in a custom block. The data updates every 10 minutes. I’m also gathering daily summaries behind the scenes for future blocks to come.

    Here is the block in action. It is currently “no frills” and needs some styling and a round of code clean up, but I’m happy with the first working version.

    Data is not available.

    This block will live permanently at https://cagrimmett.com/weather/

    You can find the plugin code on GitHub: https://github.com/cagrimmett/wunderground-pws-wp-blocks

  • Today I had trouble with Valet not being properly linked to the correct PHP version installed via Homebrew. Here is how I fixed it. I’m sure I’ll need this again, so putting it here.

    brew unlink php && brew link php
    brew services restart --all
    composer global update
    valet start
  • Just stocked back up on Chartreuse. Will need to take it easy on the swizzles given the news from the monks.
  • Citrus superjuice. Probably a good thing to have on hand for parties!

  • This will run over every single PHP file on the site and check it for syntax errors using the current version of PHP:

    	
    find -L /srv/htdocs -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l

    Useful for testing PHP upgrades.

    h/t Tony Hegyes

  • New federal income tax credits are available through 2032 providing up to $3,200 annually to lower the cost of energy efficient home upgrades by up to 30 percent. Improvements such as installing heat pumps, heat pump water heaters, insulation, doors and windows, as well as electrical panel upgrades, home energy audits and more, are covered by the tax credits and can help families save money on their monthly energy bills for years to come.

    In addition to the energy efficiency credits, homeowners can also take advantage of the modified and extended Residential Clean Energy credit, which provides a 30 percent income tax credit for clean energy equipment, such as rooftop solar, wind energy, geothermal heat pumps and battery storage through 2032, stepping down to 22 percent for 2033 and 2034.

    h/t Jeremy Felt

  • Snow day!

  • First major snow of the year!