Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
721.
▲
by
andix
2y ago
I've seen a few shared Mailpit installations in companies. I think that's a quite popular pattern.
722.
▲
by
andix
2y ago
It depends. If it's not exposed to a network and doesn't have any awful bugs, than it should be fine. Usually those mailtrap servers have some exposure to the company intranet or sometimes the internet, which could be problematic.
723.
▲
by
andix
2y ago
Easy REST API access can be a quite useful feature too. For automated integration testing it's a must. The test can verify in the end if the expected emails were sent out. I think Mailpit can even be set up as a real SMTP server, handl
724.
▲
by
andix
2y ago
I set up Zitadel Cloud for the services at home, just for a few basic services (professionally I'm mostly using AAD and Keycloak). Already with one user per family member we are coming dangerously close to the quotas, it's my faul
725.
▲
by
andix
2y ago
I guess this would be a good start, it would allow instances for smaller companies. Another thing would be to mix daily active users and monthly active users. For example in the ratio 1:10 (100 DAUs or 10 MAUs). Just cap the DAU counter for
726.
▲
by
andix
2y ago
I think it's your business decision how much quota you want to give away for free and how much you charge for each DAU. But the current free plan has a few issues (I would even call them traps): It has a monthly DAU and API request lim
727.
▲
by
andix
2y ago
Thoughts about pricing: - the step up from free to paid is huge, and already needed if you have 4-5 users that log in every day - your definition of "daily active user" is a bit tricky, as one user who logs in every day is counted
728.
▲
by
andix
2y ago
Maybe Zitadel. But be aware their hosted paid plans are very expensive (they have a very original way to count daily active users). It can be self hosted on k8s, but I'm not sure how secure and mature it really is.
729.
▲
by
andix
2y ago
Probably. Output for the example I got on opening the website: char (*(*x())[5])() cdecl.org: declare x as function returning pointer to array 5 of pointer to function returning char ChatGPT: x is a function that, when called, gives
730.
▲
by
andix
2y ago
I used it in a project once. It's a really nice and easy solution, but quite hard to extend, if the built in features are not enough.
731.
▲
by
andix
2y ago
Did you consider the aspect, that in many countries the date would change during the day? So in UTC-5 the day would end at 19:00 solar time. „Lets meet up for dinner on Thursday“ would become completely ambiguous, depending on the time. If
732.
▲
by
andix
2y ago
You could also argue that different languages need to go away. Would make everything easier.
733.
▲
by
andix
2y ago
Restricting JSON Schema would've been my approach to this "problem" too.
734.
▲
by
andix
2y ago
I can't really follow those arguments either. For example the empty object example {}. Why is this bad? Types without properties are a real thing. Also an empty schema is a real thing. The thought I do get: JSON Schema primarily descri
735.
▲
by
andix
2y ago
For queries there is an easy solution: give the question/search term to a LLM and let it rephrase it. A lot of basic RAG examples do that. This might also work for indexing your data, but has the potential to get really expensive quick
736.
▲
by
andix
2y ago
This is an awesome article, but I’m missing the part where solutions for each of the problems were discussed. Run a spell check before tokenizing? Maybe even tokenize the misspelled word and the potential corrected word next to each other l
737.
▲
by
andix
2y ago
Exactly. I don’t know if I’m missing something, but a fork is probably possible just by replacing the trademarked „Wordpress“ inside all translations, and a few minor code changes. Variable names/etc inside the code with „wp“ or „Wordp
738.
▲
by
andix
2y ago
There are many good CMSs, no doubt. But Wordpress is the de-facto standard, every theme has first class support for Wordpress. And every thing on the web has a Wordpress plugin. It’s not rocket science to learn another CMS, but many people
739.
▲
by
andix
2y ago
WP Engine modified their own WordPress installations. WordPress.org modified third party WordPress installations.
740.
▲
by
andix
2y ago
AFAIK there is just no other free and open source CMS with a similarly mature ecosystem, which could replace WordPress. So many websites, companies and agencies are built on WordPress, it would take a decade to move away. The only possibili
741.
▲
by
andix
2y ago
I guess the only way forward for now is forking WordPress and creating a new plugin registry. This should be rather easy, because all WordPress plugins are GPL-licensed because of the Copyleft. I don't care about the current dispute, b
742.
▲
by
andix
2y ago
Sure, but you probably want some automated snapshot recovery on a node that has a quite recent replica. Restoring a complete backup might take hours or days, and in a desaster scenario you want to be back online within a few minutes. Probab
743.
▲
by
andix
2y ago
You’re completely right. You need a full management solution around postgres to make it work, and I wouldn’t recommend building it yourself. One solution is Kubernetes and one of the many postgres operators. Still not easy as pie.
744.
▲
by
andix
2y ago
The only real world easy to use solution for postgres replication I’ve found, are the kubernetes operators. For example CloudnativePG. It’s not just replication what you need. It’s failover, recovery, monitoring, self-healing, backups, and
745.
▲
by
andix
2y ago
Okay, but is the code it creates any better?
746.
▲
by
andix
2y ago
If you exactly know what you need and describe it like that, sure the LLM can make code out of words. This is very different to my workflow though. Most of the time I don’t really know how the code will look like in the end, it’s a process
747.
▲
by
andix
2y ago
Is cursors performance different to aider?
748.
▲
by
andix
2y ago
Exactly my experience. Fails on the most basic tasks by introducing subtle bugs. It feels like you're passing tasks to that one junior developer that copy&pastes something from stack overflow instead of solving the problem.
749.
▲
by
andix
2y ago
If it works and it's cheaper, this is a very reasonable thing to do.
750.
▲
by
andix
2y ago
My understanding was from the beginning that it’s an agent approach (a self prompting feedback loop). They might’ve tuned the model to perform better with an agent workload than their regular chat model.
More ›