GyaanSetu WebDev

Frontend, backend and devops for the modern web.

230 articlesDeep, practical knowledge

LLM-കൾ JSON റിക്വസ്റ്റുകൾ മാത്രമേ നിർമ്മിക്കുന്നുള്ളൂ – നിങ്ങളുടെ കോഡാണ് ആ പ്രവൃത്തി നടപ്പിലാക്കുന്നത്

മോഡൽ ഒരിക്കലും നിങ്ങളുടെ ഫങ്ക്ഷൻ നേരിട്ട് പ്രവർത്തിപ്പിക്കുന്നില്ല; പകരം, അത് ഒരു ഘടനാപരമായ റിക്വസ്റ്റ് നൽകുന്നു, അത് നിങ്ങളുടെ ഡിസ്പാച്ചർ പരിശോധിക്കുകയും (validate), അനുമതി നൽകുകയും (authorize), ഒടുവിൽ നടപ്പിലാക്കുകയും ചെയ്യുന്നു. ഈ കൈമാറ്റ പ്രക്രിയ മനസ്സിലാക്കുന്നത് ബഗുകൾ പരിഹരിക്കുന്നതിനും അനധികൃതമായ പാർശ്വഫലങ്ങൾ ഒഴിവാക്കുന്നതിനും അത്യന്താപേക്ഷിതമാണ്.

WebDev · 4 min read

E-commerce Sites Can Escape Facet Crawl Traps by Blocking Low-Value URLs

An audit found Googlebot hitting filter URLs three times daily while main categories were crawled once every three weeks, causing fresh inventory to sit invisible for weeks. By classifying facets, using canonicals, blocking low-value URLs, and rendering filters as buttons, sites trimmed indexing tim

WebDev · 3 min read

സങ്കീർണ്ണതയും വേഗതക്കുറവും കാരണം TanStack React Server Components ഒഴിവാക്കുന്നു

RSC ഡീബഗ് ചെയ്യുന്നതിന് പ്രത്യേകമായ ഒരു മാനസിക മാതൃക ആവശ്യമാണെന്നും, സെർവർ-ഒൺലി എക്സിക്യൂഷൻ പല തേർഡ് പാർട്ടി ലൈബ്രറികളുമായുള്ള പൊരുത്തക്കേടുകൾ ഉണ്ടാക്കുന്നുവെന്നും TanStack ടീം കണ്ടെത്തി. ഇത് ലളിതമായ ഒരു ക്ലയന്റ്-ഒൺലി ആർക്കിടെക്ചർ തിരഞ്ഞെടുക്കാൻ അവരെ പ്രേരിപ്പിച്ചു.

WebDev · 2 min read

DMARC സജ്ജീകരിച്ച ഡൊമെയ്‌നുകളിൽ വെറും 47% മാത്രമാണ് യഥാർത്ഥത്തിൽ നയങ്ങൾ നടപ്പിലാക്കുന്നത് എന്ന് പഠനം കണ്ടെത്തി

ഇമെയിൽ സുരക്ഷയുടെ മിഥ്യാധാരണ: ഇമെയിൽ ഓതന്റിക്കേഷൻ പരിഹരിക്കപ്പെട്ട ഒരു പ്രശ്നമാണെന്ന് ആളുകൾ പറയുന്നു. ഗൂഗിളും യാഹൂവും കൊണ്ടുവന്ന നിയമങ്ങൾ ഇന്റർനെറ്റിനെ സുരക്ഷിതമാക്കിയെന്ന് അവർ അവകാശപ്പെടുന്നു. എന്നാൽ കണക്കുകൾ മറ്റൊരു കഥയാണ് പറയുന്നത്. W…

WebDev · 1 min read

Google-to-Microsoft Migration Can Cost Millions if You Miss These Hidden Traps

A successful Google Workspace to Microsoft 365 migration requires a full inventory of every workload, correctly scoped OAuth service accounts, tools that handle Gmail labels without duplicating messages, automatic Graph API throttling management, and a staged bulk-plus-delta cutover to shrink downti

WebDev · 3 min read

.NET 8 TimeProvider ഉപയോഗിച്ച് റീട്രൈ ടെസ്റ്റ് സമയം 7 സെക്കൻഡിൽ നിന്ന് 36 ms ആയി കുറച്ചു

.NET 8-ലെ TimeProvider ഇൻജക്ട് ചെയ്തതിലൂടെയും xUnit-ന്റെ SynchronizationContext ക്ലിയർ ചെയ്തതിലൂടെയും, ഏഴ് സെക്കൻഡ് എടുത്തിരുന്ന റീട്രൈ ലോജിക് ടെസ്റ്റ് ഇപ്പോൾ ഏകദേശം 36 ms-ൽ പൂർത്തിയാകുന്നു. ഇത് വെറുതെ കാത്തിരിക്കുന്ന സമയം (idle sleeps) ഒഴിവാക്കുകയും പ്രൊഡക്ഷൻ ഓവർഹെഡ് ഇല്ലാതെ തന്നെ CI പൈപ്പ്‌ലൈനുകൾ വേഗത്തിലാക്കുകയും ചെയ്യുന്നു.

WebDev · 3 min read

CLI and VS Code Extensions Let Claude Agents Upload Files—Desktop App Won’t

The desktop client isolates the agent’s file system view, rejecting uploads unless files meet a hidden “shared” criterion. Running the agent via CLI or the VS Code extension sidesteps the issue, while the only working hack—pasting from the clipboard—clears the user’s clipboard and is Windows-only.

WebDev · 3 min read

ലളിതമായ ഫോമുകൾക്കായി Next.js Server Actions ഉപയോഗിച്ച് API റൂട്ടുകൾ ഒഴിവാക്കാം

ഒരു ഫംഗ്ഷനെ "use server" എന്ന് അടയാളപ്പെടുത്തി ഫോമിന്റെ action attribute-മായി ബന്ധിപ്പിക്കുന്നതിലൂടെ, fetch call ഇല്ലാതെ തന്നെ ഡാറ്റ നേരിട്ട് ബാക്കെൻഡിലേക്ക് സമർപ്പിക്കാൻ ഡെവലപ്പർമാർക്ക് സാധിക്കും. ഇത് പ്രത്യേക API റൂട്ട് ഫയലുകൾ ഒഴിവാക്കാനും ക്ലയന്റ് സൈഡ് കോഡ് കുറയ്ക്കാനും സഹായിക്കുന്നു.

WebDev · 3 min read