#dev 2025-03-14

2025-03-14 UTC
grufwub joined the channel
#
Kolev
I'm running into hairpinning on my network
#
Loqi
Kolev: Zegnat left you a message 19 hours, 33 minutes ago: not sure you ever got an answer yo tour HTTPS question. Most people do not have a need to protect traffic within their own network / on the same server with HTTPS, so they would set up nginx (or whatever their ingress point is) to handle (“terminate”) HTTPS (TLS). You might need multiple certificates or a wildcard certificate still, if your different services are on subdomains.
#
zachary.kai
Added a h-card to my site! Now to figure out the other microformats. https://zacharykai.net/
#
zachary.kai
[edit] Added a h-card to my site! Now to figure out the other microformats. https://zacharykai.net/
#
zachary.kai
And added a random page: https://zacharykai.net/random
#
zachary.kai
[edit] And added a random page: https://zacharykai.net/random
#
zachary.kai
[edit] And added a random page: https://zacharykai.net/random
#
Zegnat
Kolev: super annoying when that happens. I have run into issues like that too. I have a k8s cluster where I run haproxy and have a custom coredns just to keep some internal trafic internal :(
#
capjamesg[d]
zachary_kai[d]++ Nice!
#
Loqi
zachary_kai[d] has 2 karma in this channel over the last year (3 in all channels)
#
capjamesg[d]
I have a /random page too!
#
[Trevor_Morris]
Oh, that's a fun idea. I might add it to my site. Not sure I can easily do it for more *entire* codebase, but I could do it for `/movies`.
MyNetAz and [jeremycherfas] joined the channel
#
zachary.kai
capjamesg[d] Thank you! They're a fun way to nagivate a site. And yes [Trevor_Morris] please do! I'd love to see one for /movies.
#
capjamesg[d]
A random movie picker sounds really fun!
MyNetAz joined the channel
#
[Trevor_Morris]
Currently in a refactor of a previous refactor as my server doesn't support the version of SQLlite I need, so moving the static files (which are dynamically converted to SQLlite) into my primary database… urg
[artlung], nemonical, ttybitnik and Guest6 joined the channel
#
[Trevor_Morris]
// Added new method to controller.
#
[Trevor_Morris]
Route::get('/movies/random', [MovieController::class, 'random']);
#
[Trevor_Morris]
public function random(): RedirectResponse
#
[Trevor_Morris]
I've added the "random movie" page… I've got some refactor work to do before I can publish it though.
#
[Trevor_Morris]
```// Added a new route.
#
[Trevor_Morris]
{
#
[Trevor_Morris]
return redirect()->to(Movie::query()->inRandomOrder()->first()->permalink);
#
[Trevor_Morris]
}
#
[Trevor_Morris]
// Wrote a simple tes.
#
[Trevor_Morris]
#[Group('redirect')]
#
[Trevor_Morris]
#[Test]
#
[Trevor_Morris]
#[Group('random')]
#
[Trevor_Morris]
public function isRandomRedirect(): void
#
[Trevor_Morris]
{
#
immibis
I thought sqlite was pretty universal. What's missing?
#
immibis
and if you statically link sqlite you can have any version you want. if your tech stack supports static linking.
nemonical joined the channel
#
zachary.kai
[Trevor_Morris]++
#
Loqi
[Trevor_Morris] has 1 karma in this channel over the last year (2 in all channels)
#
[Trevor_Morris]
SQLite is installed on the server but it’s an old version that’s not supported by Laravel. The hosting guy is trying to update it but having issues with cPanel.
#
[Trevor_Morris]
>> if it was python, probably, php I don’t think so, it needs sqlite to be compiled with it
MyNetAz, [schmarty], nemonical and thegreekgeek joined the channel
#
capjamesg[d]
[tantek] I'm thinking about what a hybrid wiki/category page could look like.
#
[tantek]
I think centering the page specific curated content makes the most sense, and then the question is where to put the stream or list of category posts
#
[tantek]
Mobile-first: put the stream of posts below the curated content
#
[tantek]
Responsive design option: wider screen, put the stream of posts in a right sidebar
#
[artlung]
Upgrade to my app server last night from 7 to 8 and so far, everything critical seems to be working fine. Just one instance of SimplePie for a client that was archaic that needed an update. Swapped out simply.
#
[artlung]
The best one is this code from 2001 which is almost entirely unchanged but still works. https://smorgasborg.artlung.com/phpimage/
[Sophia_wood] joined the channel
#
[schmarty]
artlung++ php++
#
Loqi
artlung has 4 karma in this channel over the last year (21 in all channels)
#
Loqi
php has 1 karma in this channel over the last year (3 in all channels)
#
[artlung]
php++ hooray for boring tech that works.
#
Loqi
php has 2 karma in this channel over the last year (4 in all channels)
#
[Sophia_wood]
I am starting another site that will have a decent amount of images - but they won't be huge (most will be 200-500kb)- what is better - keeping them in my git or hosting? I don't really want to host somewhere else if I don't have to. what do you all do?
#
capjamesg[d]
I keep my files in Git and have a workflow that sends them to my server via rsync.
#
capjamesg[d]
I have probably a few hundred images, maybe a thousand, and have no problems.
#
[Sophia_wood]
[capjamesg] Thanks!
#
[Sophia_wood]
capjamesg++
#
Loqi
capjamesg has 50 karma in this channel over the last year (215 in all channels)
nemonical joined the channel
#
Kolev
WordPress database sad
#
[tantek]
awwww. can #indieweb-wordpress help?
#
Kolev
[tantek]: yes
ttybitnik, bret, Saige_Leah_catgi and gRegorLove_ joined the channel