Posts

React

React 1) vanilla useEffect state tracking for "side effects" like APIs, event listeners, timers, and cleanup. Talk about the "ignore flag" cleanup pattern inside useEffect to drop stale promises when components unmount or dependencies change. Versus declarative, hook-based data-fetching library (like v4 TanStack Query   was React Query v1-3)  useMutation auto receives isPending, isError and isSuccess flags.      useEffect fires asynchronously after the browser paints the screen to keep the application responsive. useLayoutEffect fires synchronously after DOM mutations but before the browser paints. Using useLayoutEffect blocks the paint loop, causing slight performance penalties, but it prevents visual layout flickers when calculating element dimensions or positions dynamically.   2) export interface OrderRequest { ... fields ... } to keep DTO in synch. (Tools like TypeGen , NSwag , or Typewriter ). 3) Q: Problem with lots of re-renderi...

AI Advantages and Disadvantages

  AI Advantages and Disadvantages AI is good at writing code but not engineering an application. AI is better with scaffolding. AI is bad a making changes, and are good are doing it one shot. AI training is one-shot training and not iterative development on your code base. All expectations mentioned up-front.   AI fails at large-scale applications where structure, architecture, and ease of  changing fails.   Human comprehension plan graded by AI.   AI fails at OOP since Python focused.   AI fails at larger projects to maintain clean code or come up with object  pattern architecture (instead it does flat classes in a project).   AI fails at being consistent with object patterns, even though doing similar  thing.   AI good with architecture of projects in a solution.   AI is fair with naming objects, but inconsistent over different sessions.     AI creates highly coupled objects and lots of visibility from one object to anot...

Top open-weight AI models for coding in late 2026

  Top open-weight AI models  for coding in late 2026 • GLM 5.3 (Z.ai / Zhipu AI): A 753B-parameter flagship model (with 8 active experts per token) featuring a 1,048,576-token context window, currently ranked among the top overall and long-horizon agentic coding models. • DeepSeek V4 Pro (DeepSeek): A 1.6T-parameter (49B active) MoE model with a 1M-token context window under an MIT license, delivering frontier-class code reasoning and repository-scale analysis at a fraction of closed-model costs. • Kimi K3 (Moonshot AI): A massive 2.8T-parameter (104B active) frontier open-weight model with a 1M+ token context window, excelling in frontend code generation, multi-agent workflows, and complex long-document tasks. • Qwen 3.8 Max (Alibaba): A 2.4T-parameter model (95B active) supporting long contexts up to ~1M tokens, widely praised for enterprise-grade coding and agentic execution. • gpt-oss (OpenAI): OpenAI's open-reasoning model available in 120B and 20B parameter variants unde...