Jantu Deb

63 posts

Jantu Deb

Jantu Deb

@Jantu__Deb

Frontend Engineer @ FreeTextAI | Building StudyPath

Bengaluru Katılım Haziran 2014
132 Takip Edilen103 Takipçiler
Jantu Deb retweetledi
ImL1s
ImL1s@aa22396584·
Naive RAG is where most people start and stop, but the jump to Agentic or Graph RAG is where things get interesting for complex reasoning tasks. HyDE is underrated — generating a hypothetical answer first to improve retrieval is a clever trick that meaningfully boosts recall on abstract queries.
English
0
1
1
761
Mehul Mohan
Mehul Mohan@mehulmpt·
Hey @CloudflareDev and @GoI_MeitY you need to sort this one out together. You're randomly blocking IP addresses in the Cloudflare-owned IP range, which blocks access to legit websites in India. Sometimes you (@GoI_MeitY) do MITM and block access, and other times it's fine.
Mehul Mohan@mehulmpt

Oops. All these IP addresses owned by Cloudflare are banned by India for some reason? Jio is implementing an IP level block, but Airtel is also blocking these if direct IP is accessed. @mannupaaji i am not sure if it will help, but I believe that Cloudflare has different peering networks for paid customers. If you are on a free Cloudflare plan right now, try to upgrade to a paid plan. But this should be fixed by @CloudflareDev imo

English
6
9
99
11.8K
Cleartrip
Cleartrip@Cleartrip·
@Jantu__Deb Hi Jantu, As per our call, your refund has been successfully initiated. It will reflect in your account within 8 to 10 working days. ~Jiya
English
1
0
0
28
Jantu Deb
Jantu Deb@Jantu__Deb·
@codinginflow Or create a simple utility function to filter out boolean values and concatenated classes.
English
1
0
1
71
Coding in Flow
Coding in Flow@codinginflow·
When you add an optional className prop to a component in React, you need to set the default value to an empty string. Otherwise, it will literally add "undefined" as a class name to the element if you don't pass one.
Coding in Flow tweet media
English
1
2
9
1.2K
Hamza Husein
Hamza Husein@itsHamhere·
Is there a way to verify that a URL provided by a user is legit (actually exists) without being blocked by Cloudflare bot protection? I need as small of a response as possible, so content and anything else is not required
English
1
0
2
295
Jantu Deb
Jantu Deb@Jantu__Deb·
@flo_walther I guess your express server won't serving frontend so, it will be ignored anyway.
English
1
0
1
41
Florian Walther
Florian Walther@flo_walther·
I have an Express backend that I want to deploy on VPS. And a frontend that I want to deploy somewhere else. Both the frontend & backend are in the same GitHub repo. How do I only deploy the backend on VPS 🤔? Do I just clone the whole project and ignore the frontend folder?
English
3
0
7
943
Coding in Flow
Coding in Flow@codinginflow·
Proof that ChatGPT is garbge
Coding in Flow tweet media
English
42
5
122
19.2K
Vaibhav Matere
Vaibhav Matere@vaibhav_matere·
What are some good open source projects for ? Open for any stack but love to start from React
English
2
1
17
1.4K
Florian Walther
Florian Walther@flo_walther·
In IntelliJ, when I write "fun doSomething" and press Ctrl + Shift + Enter, it will complete the function declaration by adding the () and {}. Is there an equivalent in VS Code? @code
English
7
3
29
3.7K
Jantu Deb
Jantu Deb@Jantu__Deb·
@flo_walther Remove the `comments ` from useCallback dependency and ` setComments(comments=>[...comments,.....)
English
1
0
1
127
Florian Walther
Florian Walther@flo_walther·
Any React pro know how to get rid of this infinite rendering loop (caused by the dependency on "comments")? Everything seems to work if I remove fetchNextCommentsPage from the useEffect's dependency array but then EsLint complains about a missing dependency.
Florian Walther tweet media
English
3
0
2
1.4K
Jantu Deb
Jantu Deb@Jantu__Deb·
@flo_walther npmjs.com/package/mongoo… You can look into this lib, it's duplicates documents into a separate collection. If you want to keep diffs then it won't be useful. This is an interesting problem though.
English
1
0
1
43
Florian Walther
Florian Walther@flo_walther·
I started building a backend for moderators for TutHub.io. It will be an interesting challenge to build a system where the community curates the database. I need to add a way to revert changes if someone did anything stupid. Is there a best practice for this?
English
1
1
9
895
Jantu Deb
Jantu Deb@Jantu__Deb·
@flo_walther I'm glad to hear that. I also learned a lot about Android development from your YouTube videos.
English
0
0
1
13
Florian Walther
Florian Walther@flo_walther·
Is there anything wrong with serving the React frontend from an Express server like this between sibling folders (hence the "../../")? All tutorials seem to put the frontend folder INTO the backend folder but I find this a bit awkward 🤔
Florian Walther tweet media
English
3
0
7
1.2K
Florian Walther
Florian Walther@flo_walther·
@Jantu__Deb Are the routes in your Express code still set under "/api/" or at the root "/"?
English
1
0
0
18
Jantu Deb
Jantu Deb@Jantu__Deb·
@flo_walther Nginx will be much faster than express, also it's easier to setup gzip, caching static files with nginx
English
0
0
1
14