UGCLensConnect to AI
This video is still processing. Check back soon.
0:00 / 0:52

Cursor UGC showcase:“For today's software engineering interview design cursor for auto complete.”

Performance

2,371× reach

20.5M views from the creator’s 8.6K followers

67
UGCLens score
Strong · better than 66% of posts
  • Views96
  • Reach past followers95
  • Engagement5
  • Save rate6
  • Share rate8

Percentiles against other ai & productivity videos.

likes
63K
likes far below typical
comments
138
comments far below typical
shares
969
shares far below typical
saves
3.3K
saves far below typical
Estimated ad value
≈ $102.3K
est. ad value

Hook & transcript · 52s

  1. For today's software engineering interview Hook

  2. design cursor for auto complete.

  3. I capture a small snippet

  4. around the user's current position in the code base.

  5. Then we make an API call, sending the data over to the back end.

  6. There we'd be running a model like composer,

  7. which would generate a suggestion

  8. which would then return to our current app.

  9. Okay, good.

  10. But that only explains a current file.

  11. What if I wanted to ask something like,

  12. where's authentication handled in this repo?

  13. Right, so in that case,

  14. we would need code based indexing.

  15. We chunk the repo into logical pieces like functions and classes

  16. using something like tree sitter.

  17. These chunks would be sent to and processed by an embedding model,

  18. which would return a vector representation

  19. capturing the code's meaning.

  20. Then we'd set the embeddings and chunk metadata to a vector database

  21. like Turbo Puffer. But code bases constantly change,

  22. so how do you keep up with that?

  23. This is where we'd use a data searcher,

  24. like a miracle tree.

  25. The client keeps a history of the repo and the server does as well.

  26. Every few minutes, we'll make a comparison.

  27. If there's any differences,

  28. then we can assume that there's been a change to the code base.

  29. And only if something changes do we reindex anything. Nice job.

Caption

This is just a little bit of the clever system design that goes behind making @trycursor, which you can try for free by visiting https://cursor.com! 💻 #Cursor #CursorCreator #systemdesign #softwareengineer #cs

#cursor#cursorcreator#systemdesign#softwareengineer#cs

♪ original sound - tembrasdev - tembrasdev

Creator

@tembrasdev

8,632 followers · Nano (<10K)

For Cursor · TikTok ↗

#cursorcreatorUSEnglish

Details

Industry
AI & productivity
Brand type
App
Engagement
0.33%
Save rate
<0.1%
Region
United States
Post ID
7654793869325864206

More like this

Same hook: Showcase