CamBlackwood
Explore posts from serversWWasp-lang
•Created by CamBlackwood on 6/5/2024 in #đŸ™‹questions
Issues with MailGun
ah no, it's an email notifier that is sent to the user for certain actions
30 replies
WWasp-lang
•Created by CamBlackwood on 6/5/2024 in #đŸ™‹questions
Issues with MailGun
This issue was that I was trying to invoke server code on the client đŸ™‚ was an easy fix one i sorted that
30 replies
WWasp-lang
•Created by Sven on 10/17/2024 in #đŸ™‹questions
I dont get the signup mail locally
@Sven I think if you aren't using the dummy provider, it won't show up in your terminal
6 replies
WWasp-lang
•Created by DavidFeng on 10/14/2024 in #đŸ™‹questions
Blank Page when Create New App
@DavidFeng are you definitely running the db, and if so did you migrate the db?
10 replies
WWasp-lang
•Created by CamBlackwood on 9/3/2024 in #đŸ™‹questions
After deploying, my wasp app says "This site can’t be reached" - it was previously working
No only ever used fly for this project - I had a waitlist deployed on the domain using vercel though
18 replies
WWasp-lang
•Created by CamBlackwood on 10/12/2024 in #đŸ™‹questions
Job Hanging/Not Working when processing a large loop
Both would be really useful!
24 replies
WWasp-lang
•Created by CamBlackwood on 10/12/2024 in #đŸ™‹questions
Job Hanging/Not Working when processing a large loop
so if I understand correctly, you essentially built a queueing system? It's a clever approach, I never considered that
24 replies
WWasp-lang
•Created by CamBlackwood on 10/12/2024 in #đŸ™‹questions
Job Hanging/Not Working when processing a large loop
@miho In the end, I decided that actually it was more efficient to only call the API when necessary, so only when a user's profile is visited. Then, if it hasn't been updated in the past 24h, an API call is made again. I realised it would cost me a significant amount of money to do it the way I was trying (1000+ profiles, each day). Thanks for sending that through though, that makes sense as an approach. I think as my app grows, I'll need to do something like that
24 replies
WWasp-lang
•Created by CamBlackwood on 10/9/2024 in #đŸ™‹questions
Is it good practice to call an action in a job in wasp?
That makes sense, thanks Miho
20 replies
WWasp-lang
•Created by CamBlackwood on 10/12/2024 in #đŸ™‹questions
Job Hanging/Not Working when processing a large loop
Just in case anyone is following this - I’m gonna re-architect it I think so that it doesn’t fetch them all in one go as the list is only going to get larger
24 replies
WWasp-lang
•Created by CamBlackwood on 10/12/2024 in #đŸ™‹questions
Job Hanging/Not Working when processing a large loop
@kapa.ai for parallel processing, it would still run in the same job though wouldn't it? Or are you saying that I should pull out api call data into it's own function and then call that in a foreach - isn't that essentially what I'm doing?
24 replies
WWasp-lang
•Created by CamBlackwood on 10/12/2024 in #đŸ™‹questions
Job Hanging/Not Working when processing a large loop
@kapa.ai could you provide a code example of each of those?
24 replies
WWasp-lang
•Created by CamBlackwood on 10/12/2024 in #đŸ™‹questions
Job Hanging/Not Working when processing a large loop
@kapa.ai how can I break it up into smaller jobs?
24 replies
WWasp-lang
•Created by CamBlackwood on 10/9/2024 in #đŸ™‹questions
Is it good practice to call an action in a job in wasp?
Yeah that's true, thanks
20 replies
WWasp-lang
•Created by CamBlackwood on 10/9/2024 in #đŸ™‹questions
Is it good practice to call an action in a job in wasp?
Ah sorry, when I mean admin I mean literally me đŸ™‚ I am the site admin. It's actually a third party api I use (as it is more economical than building my own api for it), which is why I try and limit it. So in the job is:
Query my db => run an api call on the results of the query => clean up the response and format it => write to my db
20 replies
WWasp-lang
•Created by CamBlackwood on 10/9/2024 in #đŸ™‹questions
Is it good practice to call an action in a job in wasp?
@Fecony just to give you a bit more context here - I'm introducing some more powerful stats into microinfluencer, but it involves querying those stats on quite an expensive API so I want to just do it in one go at midnight every night, but want to be able to manually call it from an admin dashboard if I want to. Have you done anything like that before?
20 replies
WWasp-lang
•Created by CamBlackwood on 10/9/2024 in #đŸ™‹questions
Is it good practice to call an action in a job in wasp?
Thanks @kapa.ai , I think I'll keep it seperate for now
20 replies
WWasp-lang
•Created by CamBlackwood on 10/7/2024 in #đŸ™‹questions
Best way of adding a 404 page?
Also I noticed it's not in the docs either, shall I add it? Or is it sufficient to signpost people to react router docs
7 replies
WWasp-lang
•Created by CamBlackwood on 10/7/2024 in #đŸ™‹questions
Best way of adding a 404 page?
yeah all good thanks @martinsos đŸ™‚ I even opened a PR to add it to the open saas template
7 replies
WWasp-lang
•Created by NEROX on 10/3/2024 in #đŸ™‹questions
- SDK build failed with exit code: 2
Typescript is tricky đŸ™‚ I think of course it's a good idea to read about the language itself a bit (I recommend Matt Pocock's resources for that), but for the quick fix with AI I'd recommend feeding it with context into openai or claude.
Also, although I wouldn't recommend it, you can use plain javascript instead, especially if this isn't a large scale project.
12 replies