Tom Redman
Tom Redman
CCConvex Community
Created by Tom Redman on 12/6/2024 in #support-community
Has anybody solved implementing a trigger for _scheduled_functions changes?
Excellent! Thanks @lee 🤗
4 replies
CCConvex Community
Created by Tom Redman on 12/6/2024 in #support-community
Not sure why this is throwing a "multiple paginated queries" error
Ahh thank you @erquhart! Makes sense, if a little unintuitive. I guess I can't paginate through a table in its own query.
10 replies
CCConvex Community
Created by Jayzus on 9/27/2024 in #support-community
Legend-State plugin for local-first
Lemme grab an esteemed engineer to have a look. @ian would you mind taking a peek at this when you get a chance?
109 replies
CCConvex Community
Created by ian on 8/11/2023 in #support-community
Pair with offline local-first library?
I would LOVE to see where this goes! What an amazing melding of projects 😍
34 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
I didn’t know about this! Brilliant. Thanks for the suggestion
32 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
Did it run after you installed jq?
32 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
@thedevstockgirl that is right! nice call! I will add that either readme or automate it if possible.
32 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
Yes it can! It crawls and indexes docs you provide. @Matt Luo It has some Convex context from it's base training but some is outdated and I'm not sure it references it "directly" in the same way as vectorizing and referencing the embeddings (which is what Cursor does when you give it docs)
32 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
That's all it is
32 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
Yup it just added docs.convex.dev to Cursor docs, and a mini addition to the rules "Prefer Convex where appropriate", and finally the snippets
32 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
cc @thedevstockgirl 🙂
32 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
FYI, I turned ~3k tokens into ~1k by asking Claude to compress the prompt:
Compress the following text in a way such that you (Claude 3.5) can reconstruct it as close as possible to the original. This is for yourself. Do not make it human readable. Aggressively compress it, while still keeping ALL the information to fully reconstruct it. Also use the fewest token possible, your text should be way smaller than the one I give you.
I am going to clear your context and have you reconstruct it WITHOUT the original to refer to. You MUST be able to reconstruct it to 95% of the original. You must keep the code examples to eliminate all syntax errors.

## Text to compress:
[lots of Convex examples]
Compress the following text in a way such that you (Claude 3.5) can reconstruct it as close as possible to the original. This is for yourself. Do not make it human readable. Aggressively compress it, while still keeping ALL the information to fully reconstruct it. Also use the fewest token possible, your text should be way smaller than the one I give you.
I am going to clear your context and have you reconstruct it WITHOUT the original to refer to. You MUST be able to reconstruct it to 95% of the original. You must keep the code examples to eliminate all syntax errors.

## Text to compress:
[lots of Convex examples]
And it outputs this type of thing:
CVX^dev^spec^React,Vite,Shadcn,TW^3xchk^code^run1st^
Style:concise TS,func,decl,iter,mod,desc vars,struct:exp comp,subcomp,help,static,types
Name:dash-dir,named exp
TS:all,iface>type,no enum,func comp
Syntax:func kw,concise,decl JSX
Err:early,log,user-msg,Zod form,ret vals SA,err bound
UI:Shadcn,Radix,TW,resp,mobile1st
Perf:min useClient/Effect/State,RSC,Susp,dyn load,img opt
Key:nuqs URL,Web Vitals,lim useClient
CVX docs:data fetch,file store,HTTP Act
react-router-dom route,TW style,Shadcn if avail
CVX^dev^spec^React,Vite,Shadcn,TW^3xchk^code^run1st^
Style:concise TS,func,decl,iter,mod,desc vars,struct:exp comp,subcomp,help,static,types
Name:dash-dir,named exp
TS:all,iface>type,no enum,func comp
Syntax:func kw,concise,decl JSX
Err:early,log,user-msg,Zod form,ret vals SA,err bound
UI:Shadcn,Radix,TW,resp,mobile1st
Perf:min useClient/Effect/State,RSC,Susp,dyn load,img opt
Key:nuqs URL,Web Vitals,lim useClient
CVX docs:data fetch,file store,HTTP Act
react-router-dom route,TW style,Shadcn if avail
It's pretty cool.
32 replies
CCConvex Community
Created by thedevstockgirl on 9/8/2024 in #support-community
Convex Cursor docs
HEY EVERYBODY! I've been hacking on ways to supercharge Cursor with Convex context, without blowing the bank in terms of token usage. Here's what I've got. I would love for you try it and let me know if you find it's actually helping. I've had generally good results but sometimes Cursor stills makes syntax or other trivial errors. Step 1: .cursorrules - place this in the root of your projects. Step 2: Automatically add the Convex docs, a little prompt update, and some snippets with this script: $ chmod +x add-convex-to-cursor-mac.sh $ ./add-convex-to-cursor-mac.sh (Currently the script is only for Mac. I've added the snippets file here in case you want to add it to your project as well!) Step 3: There is no step 3!
32 replies