Blog
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...
Read PHP to Rust via Copilot
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...
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...
Read HTML Form Processing with PHP - php[architect] Magazine August 2014
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...
Read The Workshop: Local Dev with Lando - php[architect] Magazine November 2022
August 2014
November 2022