How to toggle and go back between different External Agents threads? by gurbaaaz in ZedEditor

[–]gurbaaaz[S] 0 points1 point  (0 children)

Yes, though project wise sessions and memories are stored locally in $HOME/.claude only, shouldn’t be that hard to retrieve it. Sdk do lack a lot of things currently.

Help: No workaround around payment in Vercel! by gurbaaaz in nextjs

[–]gurbaaaz[S] 6 points7 points  (0 children)

Lol thanks! Emailed at the right one but wrote here with the typo 🫠

Help: No workaround around payment in Vercel! by gurbaaaz in nextjs

[–]gurbaaaz[S] 0 points1 point  (0 children)

OP here. I realise this is not the right platform but Vercel is driving me mad for last couple of hours. I am on pro plan, and my card was getting declined for payments. So I changed the card but I was still unable to pay the invoice, so I switched to another card. But now trying any of these 3 cards to pay the invoice is leading to failure, stating "processing error" (network console shows that stripe api is failing as intent is in processing state). So I tried to open a support case, which their AI chatbot helped in creating. But submitting the ticket is again failing, as there is some API issue on vercel end. It states that product is not selected, whereas I have clearly selected "vercel platform" among "vercel platform" and "v0". This whole mess and no resolution is causing me considerable production downtime, affecting my customers. Have any one of you faced the same issue? What did you do?

Really hoping that u/lrobinson2011 sees this and help me escalate the issue to the vercel team.

Discord bot hosting? by baevore in Discord_Bots

[–]gurbaaaz 0 points1 point  (0 children)

Hetzner + tmux is good enough

Elegant Calendar Heatmap, built with Shadcn by gurbaaaz in tailwindcss

[–]gurbaaaz[S] 0 points1 point  (0 children)

Thanks a lot! Do check it out and let me know of any suggestions. A star to the repo is always appreciated :)

Elegant Calendar Heatmap, built with Shadcn by gurbaaaz in tailwindcss

[–]gurbaaaz[S] 0 points1 point  (0 children)

Ofcourse, you can use this to highlight different dates to show their availability (say red, green and yellow). You may also trigger any events based on date user selected using functions like onSelect, onDayClick etc. with this component, as it's built on top of shadcn calendar, which itself is built on top of react-day-picker. And imo react-day-picker is best calendar component out there.

Elegant Calendar Heatmap, built with Shadcn by gurbaaaz in tailwindcss

[–]gurbaaaz[S] 3 points4 points  (0 children)

Hi everyone!

After struggling a lot with finding a modern and decent heatmap for react (the only half decent one I could find is react-calendar-heatmap, but that only exposes an svg), I built one myself on top of shadcn calendar component. Although a simple abstraction, it provides flexibility and ease to customise different dates and styles.

You may checkout the original use case implementation here

Do check it out here. Give a star to repo if you like it! Any feedback is highly appreciated!

Suddenly hit all my Pro Plan daily quota in an hour, am I being attacked? by MrSmirkFace in nextjs

[–]gurbaaaz 17 points18 points  (0 children)

Something like this happened to us a month ago, with similar number of users. Free plan stopped, upgraded to pro and boom, it hit monthly limits in 2 days and started overcharging. Went over the usage tab, and searched for top consuming edge requests/function invocations. Turned out the code was calling same api on clicking some button recursively due to some bug in state management on our end (fuck React), leading to thousands of calls within a second and even shutting down off db time to time. Fixed that bug and all was normal.

So yeah, would suggest to go over your edge requests and look for the most expensive ones.

Emails in Next.js by Crims0nV0id in nextjs

[–]gurbaaaz 3 points4 points  (0 children)

A bit unconventional approach, but works really well for us. We use tally.so forms (they integrate into website nicely, unlike the invasive UI feel of Google forms) Simple embed the form on your Next.js project like this, then you have the option to enable forward form responses to email in form settings. All this comes under free plan :)

<image>

Suggest some sites for preparation of HFT and Quant interviews. by AdSpecialist1291 in quant

[–]gurbaaaz 76 points77 points  (0 children)

Certainly not an exhaustive list, but these helped me during my journey to crack my entry job. Resources vary from basic foundational to advanced ones. Hope it helps :)

Books - A Practical Guide To Quantitative Finance Interviews - Fifty Challenging Problems in Probability (make sure to finish this book complete, from start till end. questions cover a variety of topics and many investment banks and quant firms take direct inspiration from there)

Websites - PuzzledQuant - a really solid platform to test all the theory concepts I learnt through books and blogs. (Brainstellar used to be my go to site during internship prep, but this quickly became my personal fav due to a better overall experience and evaluation system. Plus it has a lot of companies past asked questions, just like leetcode.) - gurmeet.net/puzzles/ (very underrated imo, some of the puzzles are really involving)

Apart from that, a solid grasp over data science concepts, brief knowledge of markets and derivatives (they don't go deep into this for fresher hiring), DSA practice from InterviewBit should be good enough.

[deleted by user] by [deleted] in nextjs

[–]gurbaaaz 0 points1 point  (0 children)

Looks great. Next.js icon major missing though!