Cam
cameronhscott.bsky.social
Cam
@cameronhscott.bsky.social
Full-stack developer, product manager, and fractional technology leader
The chatbot use-case gets gets hyped up all the time, but they never seem to actually be particularly effective. I want to interact with one that lives up to that hype.
December 16, 2024 at 1:46 PM
Haaa, yes—imagick is def. from a different era of web development. Still super powerful, but "clunky" is a good word for it.
December 14, 2024 at 2:49 PM
The Browershot approach that @pascalbaljet.bsky.social wrote up works super well.

Haven't tried it yet, but @benholmen.com recently used imagecopyresampled() for howtall.is:

benholmen.com/blog/howtall...

Depending on how dynamic you need them to be, that could be a cool dependency-free approach.
Create beautiful Open Graph images with Browsershot and Tailwind CSS - Pascal Baljet Blog
For Artisan School, I wanted to create custom Open Graph images for each video page. For example, when somebody shares a link on social media, platforms like Fa...
pascalbaljet.dev
December 14, 2024 at 12:44 PM
Use chunking to try and avoid memory issues? Generate the sums in the background and cache them? Store an aggregate on the Account model?

For example, source-diving in Laravel Pulse shows a `pulse_aggregates` table that stores the sum, the type of info being summed, and the relevant period of time.
pulse/database/migrations/2023_06_07_000001_create_pulse_tables.php at 1.x · laravel/pulse
Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application. - laravel/pulse
github.com
December 13, 2024 at 11:54 AM
Using the audio of the poem was such a cool choice—so much more disquieting than quiet-loud-quiet BWAHHH sounds that editors normally use
December 13, 2024 at 11:20 AM
Totally. Especially if you can actually use the tools first-hand like you did, the advantages become clear so quickly.

(If a stakeholder *doesn't* have that context, though, that's where it seems to get a bit squishier.)
December 12, 2024 at 7:14 PM
That's really, really kind—thank you! We'll see how that particular discussion progresses. Having your conversation with Matt to use as a reference is already a tremendous asset.
December 12, 2024 at 6:39 PM
I am, once again, in this exact conversation right now. Despite demonstrating all the tools and efficiency available in the Laravel ecosystem, I might lose the debate because of that intangible new-hotness factor that JS can have.

As my old business partner said, "It's like talking about religion."
December 11, 2024 at 2:01 PM
Also, just switch the bool from false to true to restore your desktop:

defaults write CreateDesktop -bool true && killall Finder
December 9, 2024 at 11:17 AM
(As someone who spends too many hours each day bouncing between different things, Raycast is the way.)
December 9, 2024 at 11:14 AM
This was a great write-up! Using imagecopyresampled is a cool solution for your opengraph use-case—I'm actually not sure I knew that library existed before now.
December 9, 2024 at 1:30 AM