Community Posts

Last Updated: 2020-05-28

Looking For A New Adventure

October 3, 2019 -

Fourteen years ago, almost to the day, I received a job offer from Zend to join their nascent eBiz team, where I started contributing almost immediately to the yet-to-be-announced Zend Framework. Two years later, I joined the Zend Framework team full-time. A year later, I was promoted to Architect. A year after that, I was promoted to Project Lead of Zend Framework, a role I kept for the next ten years. Read more about Looking For A New Adventure

Deploying WASM to Fastly's Edge

September 6, 2019 -

Not so long ago, Fastly introduced a new platform for edge programming. Fastly’s vision is to use wasm to sandbox and run applications, which means that any language that can compile to wasm can run on their edge servers. The idea of edge functions is by no means new. Amazon does it with Lambda, CloudFlare has Workers, Google Cloud and Azure both call theirs Functions. To the best of my knowledge, Fastly’s offering is unique in its use of wasm, and this has enabled them to have really fast boot and response times. Read more about Deploying WASM to Fastly's Edge

PCI Access Without a Driver

July 9, 2019 -

At work recently, I had a new PCI device that I needed to experiment with. I was dreading writing a Linux kernel driver to talk to it. It turns out, Linux makes it possible to read and write to a PCI device’s memory space without a driver! Woohoo! Linux provides a sysfs interface to PCI devices. From that interface, the memory space can be mmaped and then read and written. No driver involved. Read more about PCI Access Without a Driver

Node.js on IBM i: Easy Peasy

June 5, 2019 -

Node.js is on the rise in the IBM i ecosystem. People are taking notice, but there is still a misconception among some that Node.js and other open source software are difficult to install on IBM i. This article aims to show just how easy peasy it is to get Node.js installed, configured, and running fine on IBM i. Prerequisite This article assumes that you have yum installed and accessible on your IBM i instance. Read more about Node.js on IBM i: Easy Peasy

How to Pass Variables to a Partial Template in Hugo

April 14, 2019 -

As a developer, I want to keep my code as DRY as is feasible for the given project. In a Hugo project, that’s where the Partial templates come in. Partials are smaller, context-aware components in your list and page templates that can be used economically to keep your templating DRY. Partials, however, have one serious limitation, they’re cached during the build of a given page (or scope). Once a partial has been created, no outside logic can adjust what the partial returns (for the page). Read more about How to Pass Variables to a Partial Template in Hugo

Hosting Hugo on Aws Cloudfront and Route53 Using Ansible

April 12, 2019 -

It’s really easy to to set up a website on AWS’s s3 service, but if you want to use a certificate (you do), it’s just a bit more work. With Ansible as my hammer, everything is a nail. Here’s a quick playbook I used to set up my site to use cloudfront. This playbook creates the bucket, sets up an s3 website in the bucket, creates a cloudfront distribution with reasonable parameters, enables an existing Certificate Manager certificate on the site, and points DNS records at the cloudfront distribution. Read more about Hosting Hugo on Aws Cloudfront and Route53 Using Ansible

Getting Ec2 Instance Availability Zone With Curl or Powershell

March 10, 2019 -

I’m a big fan of AWS’s SDK’s and API tools because they’re so comprehensive and easy to use, in general, but I sometimes forget that there’s another good, even simpler API for getting data from some AWS resources… the magical http endpoint! This endpoint provides read-only metadata about resources once you have access, and doesn’t require additional authentication. This is very handy, for instance, when a client gives me SSH or RDP access to an EC2 instance and I need to know its size, network info, or in this case what Availability Zone it is in: Read more about Getting Ec2 Instance Availability Zone With Curl or Powershell

DSU / AT&T Hackathon

February 27, 2019 -

We did it. We challenged 15 DSU students to solve real-world problems for first responders. And then we gave them 48-hours to research, prototype a solution, and then pitch those solutions to a panel of first responders “There are companies spending millions of dollars on solutions that are not this good.” A response from oneRead more Read more about DSU / AT&T Hackathon