Blog


May 2, 2024

PHP to Rust via Copilot

I set out to build a small project in Rust. I wanted to scrape a website and parse a JSON payload. I ran into issues quickly as this was my first real project build it Rust. I thought this might be a great use case to see if GitHub Copilot could help me convert some PHP code I had to Rust. Below is the PHP code I wanted to convert to Rust. Savvy PHP developers will quickly spot this is a...

learning php rust copilot

Read

October 2, 2023

Compiling Python 3.12 from Source Tarball on Linux

Debian/Ubuntu Red Hat or Fedora: Download "Gzipped source tarball" the from Python.org, and it extract it locally. Check how many CPUs you have to enable faster compilation: In this example we have 8 CPUs on the github-cicd server. We want to use all our cores to compile so it runs faster. If you run into issues you can try using 1 or 2 fewer CPUS than reported by...

learning python writing

Read

July 10, 2023

HTML Form Processing with PHP - php[architect] Magazine August 2014

Forms are everywhere. Every application that interacts with a user uses forms in some manner. Whether you are logging into a website, filling out a survey, or signing up for a service you are interacting with a form that someone had to create in order to get some info from you. You have a PHP application that needs input. How do you safely, securely, and reliably obtain that input or other...

learning phparch writing

Read

July 5, 2023

The Workshop: Local Dev with Lando - php[architect] Magazine November 2022

This month we’re going to visit a topic that is near and dear to my heart: local development environments. I’ve been maintaining Laravel Homestead since late 2016 and have been a longtime tinkerer of just about every local development tool you’ve ever heard of and they all have their strengths and weaknesses. Lando is just about the only tool I haven’t had a chance to dive into so join...

learning phparch writing

Read