GyaanSetu WebDev

Frontend, backend and devops for the modern web.

244 articlesDeep, practical knowledge

കനത്ത കാലവർഷ മേഘങ്ങൾ ഉരുളിച്ചെത്തുമ്പോൾ, അവ നിങ്ങളുടെ വീടിന്റെ ഓരോ ബലഹീനമായ ഭാഗത്തെയും പരീക്ഷിക്കുന്നു. ആഴ്ചകളോളം നീണ്ടുനിൽക്കുന്ന മഴ ഒരു ചെറിയ പോരായ്മയെ...

കനത്ത കാലവർഷ മേഘങ്ങൾ ഉരുളിച്ചെത്തുമ്പോൾ, അവ നിങ്ങളുടെ വീടിന്റെ ഓരോ ബലഹീനമായ ഭാഗത്തെയും പരീക്ഷിക്കുന്നു. ആഴ്ചകളോളം നീണ്ടുനിൽക്കുന്ന മഴ ഒരു ചെറിയ പോരായ്മയെ വലിയൊരു തലവേദനയാക്കി മാറ്റിയേക്കാം: കറപിടിച്ച സീലിംഗ്, വെള്ളം നിറഞ്ഞ ബാൽക്കണി...

WebDev · 3 min read

TypeScript 7-ന്റെ പാരലൽ ഗോ റീറൈറ്റിന് ശേഷം ഡെവലപ്പർമാർക്ക് പത്ത് മടങ്ങ് വേഗത്തിൽ പ്രവർത്തിക്കാൻ സാധിക്കും

TypeScript 7 ഔദ്യോഗികമായി എത്തിക്കഴിഞ്ഞു. TypeScript 7 പുറത്തിറങ്ങിയിരിക്കുന്നു. മൈക്രോസോഫ്റ്റ് ഇതിന്റെ കോർ ഗോ (Go) ഭാഷ ഉപയോഗിച്ച് പുനർനിർമ്മിച്ചു. ഈ മാറ്റം കോഡ് കംപൈലേഷൻ വളരെ വേഗത്തിലാക്കുന്നു. നിങ്ങളുടെ എഡിറ്റർ കൂടുതൽ വേഗതയുള്ളതായി അനുഭവപ്പെടും...

WebDev · 3 min read

JSON സൈറ്റേഷനുകൾ നിർബന്ധമാക്കുന്നതിലൂടെ WhatsApp RAG ബോട്ട് തെറ്റായ വിവരങ്ങൾ നൽകുന്നത് ഒഴിവാക്കുന്നു

pgvector ഉള്ള PostgreSQL ഉപയോഗിച്ച് നിർമ്മിച്ച ഈ പ്രോട്ടോടൈപ്പ്, വലിയ പ്രോംപ്റ്റുകൾക്ക് പകരം ഓരോ അവകാശവാദവും പരിശോധിക്കുന്ന ഒരു JSON സ്കീമയാണ് ഉപയോഗിക്കുന്നത്. മോഡലിന് ഒരു 'chunk ID' ചേർക്കാൻ കഴിയുന്നില്ലെങ്കിൽ, മറുപടി നിരസിക്കപ്പെടുകയും ഉപയോക്താവിന് "ഇതിന് മറുപടി നൽകാൻ ആവശ്യമായ വിവരങ്ങൾ എന്റെ പക്കലില്ല" എന്ന വ്യക്തമായ സന്ദേശം ലഭിക്കുകയും ചെയ്യും.

WebDev · 2 min read

Missing AI Traffic Could Cost Top-Ranking Sites Millions

A Vercel-MERJ study shows GPTBot and ClaudeBot download only raw HTML, skipping JavaScript execution. As a result, client-side frameworks like React or Vue can dominate Google rankings while being invisible to AI assistants such as ChatGPT and Bing AI.

WebDev · 4 min read

Elevare’s AI Agent Slept on a Full Queue After RLS Hid All Jobs

The AI orchestrator queried the pending-jobs table, saw zero rows and entered idle mode, while an RLS policy silently filtered out every row for its service role. Jobs piled up unnoticed until the team added a canary-row check to expose the blind spot.

WebDev · 3 min read

Inbox Leases Stop Cron Email Races From Crashing Alerts

By assigning each cron run a unique lease ID, filtering on timestamps and labels, and logging lease metadata, teams can prevent stray messages from triggering duplicate or missed alerts—even when inboxes are shared.

WebDev · 3 min read

Frontend Team Cuts Bundle Size to Zero by Tree-Shaking Type-Safe API Mocks

The team built a dev-only mock layer using Axios interceptors and Vite’s tree-shaking. By gating the interceptor with import.meta.env.DEV, a custom VITE_ENABLE_MSW flag, and the MODE variable, the entire mock code is stripped from production bundles, keeping the bundle size unchanged.

WebDev · 3 min read

എന്റെ സ്വന്തം കോഡ് ടെസ്റ്റ് ചെയ്യുന്നു: കോൺട്രാക്ട് ടെസ്റ്റിംഗ് എന്താണ് വെളിപ്പെടുത്തിയത്

എന്റെ സ്വന്തം കോഡ് ടെസ്റ്റ് ചെയ്യുന്നു: കോൺട്രാക്ട് ടെസ്റ്റിംഗ് എന്താണ് വെളിപ്പെടുത്തിയത്. എന്റെ Zerodha ക്ലോൺ പൂർത്തിയായെന്ന് ഞാൻ കരുതി. ഇതൊരു Node ബാക്കെൻഡ്, React ഫ്രണ്ട്‌എൻഡ്, MongoDB, കൂടാതെ Razorpay എന്നിവയുള്ള MERN സ്റ്റാക്ക് പ്രോജക്റ്റായിരുന്നു...

WebDev · 3 min read