BlogFlock

SQL ENUM Modification

3 posts last month
Feed
Copied!

I'm doing a little DB work recently, and needing to choose how to represent certain data in the database. For a few fields, ENUM would be the correct choice, but there's a possibility I would need to expand the ENUM later to add values.

My question: is this safe?

The…

CSS Grid Lanes

3 posts last month
Feed
Copied!

I've been using the experimental "display: masonry" CSS for my gallery and a few other areas of my website for over a year (with a fallback to standard grid columns). However, I noticed in the last few months that my browser was no longer honoring it, and finally…

Create an HTML version of an OpenAPI spec

Rob Allen
0 posts last month
Feed
Copied!

I have a new project where we will be integrating with a third party API that is currently being written. Due to Conway's Law, we are being sent new versions of the OpenAPI spec as a set of JSON files via email.

I quite like seeing the HTML rendering of…

PHPStan custom rules

Rob Allen
0 posts last month
Feed
Copied!

Recently I discovered that this code passed our PHPStan level 10 checks:

use http\Exception\InvalidArgumentException;


// ...

throw new InvalidArgumentException;

I was surprised as http\Exception\InvalidArgumentException is not a class in our system. While cooling, I discovered that there's an http PHP extension and it appears that PHPStan has a stub for…

Feelings

Rob Allen
0 posts last month
Feed
Copied!

Today has been a struggle entirely due to my own internal negative thoughts and feelings about impacting events that are outside my control.

Navigating this to come out stronger rather than letting it consume my self-belief and confidence isn’t easy, especially at the time. I’m not worse at my job…

Headless boot for Beelink EQ14

3 posts last month
Feed
Copied!

A few months back, I purchased a Beelink EQ14 mini server for my homelab. One thing that has frustrated me has been that rebooting or even powering on... has required I have either my keyboard or my monitor plugged in (I haven't been able to determine exactly which one yet).…

PHP
Editing List

All things PHP

Created by
exakat

Blogs