Recently, I was tasked with building an audit trail log for a legacy WinForms VB.NET project that uses Entity Framework v6.4 on .NET 4.5. Rather than reinventing the wheel, I opted for an open-source library like Audit.NET v20.2.4. The default settings are quite nice, as they list all changes by column name and map the […]
Author: Wojciech Szczurek
Generating Config Cache in Laravel Serverless Deployments
Laravel applications can be successfully deployed to AWS serverless infrastructure using projects such as Bref. On deployments, for optimal performance you want to create cached files for your configuration, events, routes, and views by using php artisan optimize. One challenge with compiled Laravel configuration files is that they generate absolute, environment-dependent paths. This behavior can […]
Automate Homepage and Blog Page Setup in WordPress with WP-CLI
Would you like to automate the setup of your homepage and blog page in WordPress using WP-CLI? You can easily achieve this with the following commands: This solution has been tested in WordPress v6.7.1 and WP-CLI 2.10.0. After running these commands, your settings page will reflect the following changes:
Why S3-Uploads by Human Made Is My Go-To Choice
What is a CDN? A CDN, or Content Delivery Network, is a global service provided by major cloud providers that efficiently delivers files and other content to users worldwide. It distributes your content across multiple servers located around the globe, ensuring fast and reliable access for visitors wherever they are. Why do we use CDN? […]
Ditch the Overkill: How to Send WordPress Emails Using PHPMailer and Amazon SES
The WordPress ecosystem now hosts a range of fully developed email solutions provided by numerous plugins. Two of the most prominent examples are WP Mail SMTP and Easy WP SMTP. While I have no particular objections to these plugins, I believe that for experienced developers, they can be overly complex. Most of their features extend […]
How to Implement Server-Side Rendering for WordPress Blocks?
Recently, I was tasked with implementing server-side rendering for a WordPress block created with @wordpress/create-block package. Specifically, I developed a block that displays a page list based on a user-selected menu. The block’s functionality is straightforward: in the back-end, the user selects a menu from a list of available menus, and on the front-end, the […]
AWS Certified Data Engineer – Associate (DEA-C01)
Introduction What data engineers do? Data engineers: Data management challenges: Essentially, the role of the data engineer is to get data from sources, make is useful and serve the data to stakeholders. Data Discovery Data engineer responsibilities: AWS Data Services and Modern Infrastructure Basic workflow of modern data engineering building blocks: Orchestration and Automation Options […]
My Notes – Machine Learning
Algorithms Measures Low variance vs high variance (high variance is good for model). Dimensionality Reduction Hyperparameter Tuning AWS Services
“Hidden Potential: The Science of Achieving Greater Things” by Adam Grant
Another great read from Adam. As the title suggests, the author explores self-improvement techniques by embracing the unknown and unfamiliar, overcoming obstacles by building support systems, and discovering inner potential—not through the end result, but through the growth that happens along the way. Why does Finland’s education system consistently rank among the best in the […]
How to Fix JetEntityFrameworkProvider Registration Error in EF6 Projects
Are you trying to install JetEntityFrameworkProvider for your WinForms project and encountered the following error? Ensure the provider factory is registered in the app.config or web.config files for all projects that use EF6 in your solution. If your solution consists of just one project, adding the following snippet to your project’s config file should resolve […]