#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
#
capjamesg[d] zachary_kai[d]++ Nice!

#
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
#
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] 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] #[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]++
#
[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.

#
[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++

#
[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++
nemonical joined the channel
#
Kolev WordPress database sad
#
Kolev [tantek]: yes
ttybitnik, bret, Saige_Leah_catgi and gRegorLove_ joined the channel