HackerTrans
TopNewTrendsCommentsPastAskShowJobs

francislavoie

1,787 karmajoined 9 anni fa
I work on Caddy. I write PHP code.

https://meet.hn/city/ca-Ottawa

[ my public key: https://keybase.io/lavofr; my proof: https://keybase.io/lavofr/sigs/89IwNhliuw72n2Le4Cx6679wAkPUDO7p0v_Q_sipXoU ]

Submissions

Next Steps for the Caddy Project Maintainership

caddy.community
232 points·by francislavoie·9 mesi fa·105 comments

comments

francislavoie
·4 giorni fa·discuss
Yeah a lot of them like Mattermost become surprisingly limited unless you pay. It's very annoying.
francislavoie
·25 giorni fa·discuss
Obviously, and that's why tools like perforce and lore exist. What's your point?
francislavoie
·mese scorso·discuss
But they give a usable interface and toolkit to the runtime (V8 etc). 99% of users use one of those three.
francislavoie
·mese scorso·discuss
Vite is not a package manager and is not a JS runtime. That's what Node/Bun/Deno do. Vite is the remaining glue for any web project's build and testing needs.
francislavoie
·2 mesi fa·discuss
We've been using https://github.com/loupe-php/loupe, works quite well for small-to-medium single-instance apps.
francislavoie
·4 mesi fa·discuss
What, Go's net/http is fantastic. I don't understand that take. Many servers are built on it because it's so fully featured out of the box.
francislavoie
·4 mesi fa·discuss
(Disclosure: I'm a Caddy maintainer), Caddy already supports ECH, leaning on the DNS plugins to automate setting the DNS HTTPS records to wire it up. Here's a lot of technical detail about it https://caddyserver.com/docs/automatic-https#encrypted-clien...
francislavoie
·4 mesi fa·discuss
Is it a "Ship of Theseus" photon? Hehe
francislavoie
·4 mesi fa·discuss
Changing timezones suck, but sunset happening at 4:30pm before I leave work to go home massively contributes to winter depression. It's like "well that was a tiring day" and then instantly served with _darkness_. It sucks. If you get at least SOME light on the way home, it's a bit of a bright spot in the day, especially if the sunset is particularly pretty that day, as it often happens to be in Canadian winters. So I am extremely happy to see they chose the correct option for mental health of Canadians in the winter, and I really hope the rest of the provinces follow suit.
francislavoie
·4 mesi fa·discuss
Hell noooo. 4:30pm sunsets are ultra depressing in the winter. Less light in the morning is not at all a problem in comparison.
francislavoie
·5 mesi fa·discuss
I've helped many Twitch streamers set up https://github.com/royshil/obs-localvocal to plug transcription & translation into their streams, mainly for German audio to English subtitles.

I'd love a faster and more accurate option than Whisper, but streamers need something off-the-shelf they can install in their pipeline, like an OBS plugin which can just grab the audio from their OBS audio sources.

I see a couple obvious problems: this doesn't seem to support translation which is unfortunate, that's pretty key for this usecase. Also it only supports one language at a time, which is problematic with how streamers will frequently code-switch while talking to their chat in different languages or on Discord with their gameplay partners. Maybe such a plugin would be able to detect which language is spoken and route to one or the other model as needed?
francislavoie
·5 mesi fa·discuss
It's much more than that because it can make use of CSS pseudo selectors like hover, which is not possible with inline styles.
francislavoie
·7 mesi fa·discuss
Unfortunately a lot of our tests use transactions themselves because we lock the user row when we do anything to ensure consistency, and I'm pretty sure nested transactions are still not a thing.
francislavoie
·7 mesi fa·discuss
But how does the reset happen fast, the problem isn't with preventing permanent writes or w/e, it's with actually resetting for the next test. Also using overlayfs will immediately be slower at runtime than tmpfs which we're already doing.
francislavoie
·7 mesi fa·discuss
Yeah there's absolutely no way restarting the container will be faster.
francislavoie
·7 mesi fa·discuss
Restarting the DB is unfortunately way too slow. We run the DB in a docker container with a tmpfs (in-memory) volume which helps a lot with speed, but the problem is still the raw compute needed to wipe the tables and re-fill them with the fixtures every time.
francislavoie
·7 mesi fa·discuss
Is anyone aware of something like this for MariaDB?

Something we've been trying to solve for a long time is having instant DB resets between acceptance tests (in CI or locally) back to our known fixture state, but right now it takes decently long (like half a second to a couple seconds, I haven't benchmarked it in a while) and that's by far the slowest thing in our tests.

I just want fast snapshotted resets/rewinds to a known DB state, but I need to be using MariaDB since it's what we use in production, we can't switch DB tech at this stage of the project, even though Postgres' grass looks greener.
francislavoie
·9 mesi fa·discuss
You can easily customize Caddy's browse template to your liking. It's just a text file, you can take the default and modify it, or write your own from scratch if you like. See https://caddyserver.com/docs/caddyfile/directives/file_serve... Some users have posted theirs on the forums as well if you need more inspiration.
francislavoie
·9 mesi fa·discuss
Yes, for Caddy v0, which is no longer relevant because Caddy v2 was a rewrite from the ground up. No issues have been opened by anyone who cares about this since Caddy v2 was released over 5 years ago.
francislavoie
·9 mesi fa·discuss
Yes calling it a grudge is kneejerk, but no I won't apologize for it because of how intensely frustrating the prior discussions (and today's, no help to you) were to deal with (take today's, multiply it by two for the intensity, then multiply it by ten for the amount of times it happened). You aren't me, you don't know what I've experienced and you don't know all the details, so please stop making assumptions.