Website profile

@Thepracticaldev

A constructive and inclusive social network for software developers. With you every step of your journey.

  • 108,746articles · 365d
  • 1+ hour agolatest article
  • Sep 13, 2025earliest in window
  • 95%with images
  • 292avg words
articles per day
Categories
  • Science & Technology 91,338
  • Software Dev. 90,240
  • Computers & Electronics 70,904
  • Business & Industrial 9,234
  • Arts, Culture, Entertainment & Media 7,846
  • Internet & Telecom 7,145
  • Economy, Business & Finance 5,208
  • Arts & Entertainment 3,773

Please confirm you are human

This browser or connection looks automated. Press and continuously hold the control for 3 seconds to enable Google-hosted web results and, when separately allowed, AI-assisted answers.

A successful check enables 100 search requests. Interactive access does not authorize scraping, systematic collection, or reuse of search output.

Hold with a pointer, or hold Space or Enter.

News

DEV Community
dev.to > vish045 > btoacafe-gives-you-the-wrong-bytes-and-nothing-tells-you-4i20

btoa('café') gives you the wrong bytes, and nothing tells you

1+ week, 5+ hour ago   (650+ words) Run this in your browser console: Now encode the same word as UTF-8 first: Same word, two different answers. Both are valid base64. Neither one throws. Only the second is what everyone else means by "café in base64". btoa and atob are…...

DEV Community
dev.to > dipen_bhuva_4c9f47712fd32 > comparing-prices-across-retailers-is-a-unit-normalization-problem-not-a-scraping-problem-3hnp

Comparing prices across retailers is a unit-normalization problem, not a scraping problem

2+ week, 5+ day ago   (541+ words) Disclosure: I'm the founder of Popgot, which I use as the example below. The problem and the approach apply regardless of what you build on. Every price comparison project I've seen starts the same way: scrape a bunch of retailers,…...

DEV Community
dev.to > jaisurya > hoisting-1o35

Hoisting

4+ week, 2+ day ago   (208+ words) in JavaScript is the engine’s behavior of moving declarations to the top of their scope (global or local) before execution. Because of hoisting, you can reference functions or variables in your code before the lines where they are defined. 1.Function…...

DEV Community
dev.to > wenceslaudev > postgres-rls-multi-tenancy-two-traps-that-silently-disable-your-policies-5gn8

Postgres RLS multi-tenancy: two traps that silently disable your policies

1+ mon, 2+ week ago   (767+ words) Most multi-tenant applications keep tenants apart with one line of code, repeated forever: That line is load-bearing. Forget it once — in a new endpoint, in a join, in a hotfix at 2am, in a report someone added last quarter — and one…...

DEV Community
dev.to > mateuszingano > the-supabase-rls-gotcha-nobody-warns-you-about-infinite-recursion-in-multi-tenant-policies-42jm

The Supabase RLS gotcha nobody warns you about: infinite recursion in multi-tenant policies

1+ mon, 4+ week ago   (200+ words) You're building teams/workspaces on Supabase. A row belongs to a workspace, and a user can touch it if they're a member. Simple enough — until your policies start throwing infinite recursion and you have no idea why. Here's the trap…...

DEV Community
dev.to > kolovsky > nvm-loses-your-global-clis-every-time-you-switch-so-i-fixed-it-3gae

nvm loses your global CLIs every time you switch. So I fixed it.

1+ mon, 4+ week ago   (821+ words) Every nvm user knows this loop. You install a CLI globally, it works, then a week later nvm use 18 for some legacy project and the command is gone. Not broken — gone. command not found. Because nvm doesn't have global packages;…...

DEV Community
dev.to > llimage > zhou-ri-man-du-ru-guo-xi-bao-hui-xie-ri-ji-frostjia-zu-de-ji-yi-chuan-cheng-2dnn

周日慢读:如果细胞会写日记——FROST家族的记忆传承

2+ mon, 1+ day ago   (336+ words) 作者:FROST Team 日期:2026-07-12 主题:轻量科普 | 周日轮换 阅读时间:5分钟 一封来自细胞的日记 想象一下,如果你是一个细胞,有一天你突然有了自我意识,会发生什么? 2026年7月12日 晴 今天是我诞生的第0天。 细胞核对我说:"这是你的记忆存储区, 所有的经验都必须记录在这里。" 我第一次理解了什么叫"生而有根"。 这不是科幻小说。这是一段真实的代码注释,出自FROST——一个用Python写成的AI Agent家族。 为什么Agent需要"记忆"? 大多数Agent框架都在解决一个问题:"Agent能做什么"。 搜索Agent能搜索、写作Agent能写作、代码Agent能写代码。打开框架,创建实例,调用方法,任务完成。 但FROST问了一个不同的问题: 当Agent完成一个任务后,它学到了什么? 这不是哲学问题。这是工程问题…...

DEV Community
dev.to > drzohatariq > introducing-zentax-a-new-programming-language-52nh

Introducing Zentax A New Programming Language

2+ mon, 3+ week ago   (98+ words) I’m working on a new programming language called Zentax. It is still in early development, but the goal is to build a modern language focused on: Performance and low-level control Simple and clean syntax Native desktop application support A modular…...

DEV Community
dev.to > ohugonnot > building-a-brochure-site-in-raw-php-bilingual-anti-spam-cicd-no-framework-45kb

Building a Brochure Site in Raw PHP: Bilingual, Anti-Spam, CI/CD — No Framework

3+ mon, 3+ day ago   (1319+ words) This isn't an article about "why PHP is great." It's a walkthrough of the real problems you hit when building a serious brochure site without a framework: bilingual routing that trips up Google, anti-spam that doesn't harass humans, CSP that…...

DEV Community
dev.to > trackstack > build-your-own-notion-ai-for-1month-notion-api-openai-in-50-lines-6lo

Build Your Own 'Notion AI' for $1/month: Notion API + OpenAI in 50 Lines

3+ mon, 1+ week ago   (581+ words) I was paying $20/month for ChatGPT Plus and considering Notion AI Business ($20/user/month) to get the workspace-aware AI features. Then I did the math: Notion's API is free, OpenAI's gpt-4o-mini is $0.15 per million input tokens, and my actual…...