WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

drush migrate (mim) watermarks

Submitted by barnettech on Fri, 09/29/2023 - 14:38

The high watermark can be set via Drush before running the migration in order to get a different timespan of updates.

For example, to get all updates since 9/1/2023:

drush mshw publication 20230901
drush mim publication --update
Clearing the high watermark will pull all records:

drush mshw publication
drush mim publication --update

A working .lando.yml file that allows enabling of xdebug, and also a launch.json and php.ini (if using WSL2)

Submitted by barnettech on Sat, 09/09/2023 - 18:01

This blog post also helped me get my xdebug working with a mac, lando, and vscode https://thehigglers.com/blogs/how-to-configure-xdebug-with-lando-for-dr…
I think the main thing was to install the official php debug extension in vscode. My settings that are currently working 1/2/2024 are below. FYI also in the debugger pane in vscode, you have to click the green arrow to start listening for connections.

ChatGPT

Submitted by barnettech on Wed, 06/14/2023 - 11:48

Embeddings versus Fine Tuning: https://youtu.be/_wtfszFzqt0
Forcing it to answer from the data given through embeddings, versus augmenting the sum of chatGPT data. From the spreadsheet example listing a bunch of animal names, which one is likely to speak English was asked, and it's forced to answer and choose from the list of animals, so it picked "Turtle" probably because of the Teenage Mutant Ninja turtles roflol!