Thomas

Developer :php: :mysql: :linux:
Pascal 1993-2001, PHP/JS/MySQL since 2000, some Java/Go/Bash

2025-12-11

RE: phpc.social/@thbley/1157031014

Current alpha of HTMX4 is introducing "Explicit Attribute Inheritance":

four.htmx.org/htmx-4/

#phpugmrn #htmx #frontend

Thomas boosted:
PHP User Group MRNphpugmrn@phpc.social
2025-12-11

First talk of the day: @thbley introducing us to #HTMX for PHP developers

2025-12-11

@ocramius it works quite good, proper signal handling, logging, auto restart for crashes, good documentation

2025-12-11

@ocramius how about supervisord?

2025-12-06

A great option to optimize database writes in Laravel is using bulk operations.
E.g. "upsert()" can insert/update multiple rows with _one_ query using "on duplicate" logic:

User::upsert(values: [
['email' => 'foo@domain', 'name' => 'Foo'],
['email' => 'bar@domain', 'name' => 'Bar'],
], uniqueBy: ['email'], update: ['name']);

becomes:

INSERT INTO users (email, name),
VALUES
('foo@example', 'Foo'),
('bar@example', 'Bar')
ON DUPLICATE KEY UPDATE name = values(name);

#laravel #eloquent

2025-12-03

@shochdoerfer smart move by Anthropic

2025-11-28

@markusstaab @phpunit how about skipping serialize() and unserialize() and write the cache as .php file?

2025-11-22

The slides for my talks are now also on Codeberg! 🎉

codeberg.org/thbley/talks

Thomas boosted:
samir, sad, no more meowssamir@functional.computer
2025-11-22

Codeberg has over 200k accounts and only 1.2k members, which, if we assume that the recommended membership fee is the average, works out to ~50k€ per year in membership dues.

They’re asking for old hardware to run CI jobs, because they can’t just go out and buy a Mac Mini.

Please, folks, if you think a non-USA alternative to GitHub is important, and you have the disposable income: put your money forward.

join.codeberg.org/

Or, if you just want to donate once:

donate.codeberg.org/

2025-11-15

As long as AI companies will train their models with bad code, these models will produce bad code.

#ai #aibubble

2025-11-03

The AWS RDS drama: why managed databases with EBS are only fast in charging your credit card and not fast with your data:

linkedin.com/posts/ben-dicken-

#selfhosting #selfhosted

2025-11-02

Having trouble with running Redis? Try Apache KVRocks!

Here is my new talk:

From Redis to Apache KVRocks (it's not about the license):
github.com/thomas-0816/talks/b

#redis #valkey #php

2025-10-31

I've written a new talk :)

Run LLMs _locally_ with integrated AMD GPUs and unified memory:
github.com/thomas-0816/talks/b

#llm #llamacpp #gptoss #qwen3 #curl #php

2025-10-31

@ocramius find some automation tool to hide the "pin copilot" overlay every day

2025-10-26

Here are the slides for my new talk about HTMX:

github.com/thomas-0816/talks/b

I will present it @phpugmrn at Dec 11th in Mannheim.

#phpugmrn #php #htmx #frontend

Thomas boosted:

New! A Look At HTMX With PHP

HTMX is a JavaScript library that can be used to issue AJAX requests, create CSS transisions, and set up web sockets using HTML

The power of HTMX is that it can be used without writing any custom JavaScript code.

In this article we will look at how to get HTMX working with a vanilla PHP backend. With a few examples of the two systems working together.

hashbangcode.com/article/look-
#javascript #htmx #php

Thomas boosted:
South Dakota Dep. PropagandaSouthDakota
2025-10-26

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst