<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abubakar Adil</title>
    <description>The latest articles on DEV Community by Abubakar Adil (@adilwaheedtools).</description>
    <link>https://dev.to/adilwaheedtools</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267232%2Ffa5242ae-81f3-40d5-9893-8b4cbf2988fa.png</url>
      <title>DEV Community: Abubakar Adil</title>
      <link>https://dev.to/adilwaheedtools</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adilwaheedtools"/>
    <language>en</language>
    <item>
      <title>How TDEE, BMR, and Calorie Deficit Calculations Actually Work</title>
      <dc:creator>Abubakar Adil</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:13:44 +0000</pubDate>
      <link>https://dev.to/adilwaheedtools/how-tdee-bmr-and-calorie-deficit-calculations-actually-work-5gjb</link>
      <guid>https://dev.to/adilwaheedtools/how-tdee-bmr-and-calorie-deficit-calculations-actually-work-5gjb</guid>
      <description>&lt;h2&gt;
  
  
  The three numbers behind every diet plan
&lt;/h2&gt;

&lt;p&gt;TDEE, BMR, and calorie deficit get thrown around in every fitness thread. Here is what they mean and how they connect.&lt;/p&gt;

&lt;h2&gt;
  
  
  BMR: calories at rest
&lt;/h2&gt;

&lt;p&gt;Your Basal Metabolic Rate is what your body burns doing nothing. Estimate it with a &lt;a href="https://tdeecalculator.page/bmr-calculator/" rel="noopener noreferrer"&gt;BMR Calculator&lt;/a&gt; using age, sex, height, and weight. The Mifflin-St Jeor equation is the standard formula behind most calculators.&lt;/p&gt;

&lt;h2&gt;
  
  
  TDEE: calories in real life
&lt;/h2&gt;

&lt;p&gt;Total Daily Energy Expenditure adds your activity on top of BMR. A &lt;a href="https://tdeecalculator.page/" rel="noopener noreferrer"&gt;TDEE Calculator&lt;/a&gt; applies an activity multiplier, and a &lt;a href="https://tdeecalculator.page/maintenance-calories-calculator/" rel="noopener noreferrer"&gt;Maintenance Calories Calculator&lt;/a&gt; shows the intake that keeps your weight stable. A &lt;a href="https://tdeecalculator.page/metabolism-calculator/" rel="noopener noreferrer"&gt;Metabolism Calculator&lt;/a&gt; gives the same picture from a different angle.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deficit and macros
&lt;/h2&gt;

&lt;p&gt;Eat below TDEE and you lose weight; a &lt;a href="https://tdeecalculator.page/calorie-deficit-calculator/" rel="noopener noreferrer"&gt;Calorie Deficit Calculator&lt;/a&gt; and &lt;a href="https://tdeecalculator.page/weight-loss-calculator/" rel="noopener noreferrer"&gt;Weight Loss Calculator&lt;/a&gt; turn that into a daily target and timeline. Split the target into protein, carbs, and fat with a &lt;a href="https://tdeecalculator.page/macro-calculator/" rel="noopener noreferrer"&gt;Macro Calculator&lt;/a&gt;, and sanity-check the plan against a &lt;a href="https://tdeecalculator.page/calorie-calculator/" rel="noopener noreferrer"&gt;Calorie Calculator&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Body composition checks
&lt;/h2&gt;

&lt;p&gt;A &lt;a href="https://tdeecalculator.page/bmi-calculator/" rel="noopener noreferrer"&gt;BMI Calculator&lt;/a&gt; is a rough screen, while a &lt;a href="https://tdeecalculator.page/body-fat-calculator/" rel="noopener noreferrer"&gt;Body Fat Calculator&lt;/a&gt; and &lt;a href="https://tdeecalculator.page/lean-body-mass-calculator/" rel="noopener noreferrer"&gt;Lean Body Mass Calculator&lt;/a&gt; say more about composition. An &lt;a href="https://tdeecalculator.page/ideal-weight-calculator/" rel="noopener noreferrer"&gt;Ideal Weight Calculator&lt;/a&gt; gives a healthy range to aim for.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;BMR is the floor, TDEE is real life, and the deficit is the plan. Run the numbers before you change the diet.&lt;/p&gt;

</description>
      <category>health</category>
      <category>fitness</category>
      <category>productivity</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Optimize Images and PDFs in the Browser, No Uploads Needed</title>
      <dc:creator>Abubakar Adil</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:05:10 +0000</pubDate>
      <link>https://dev.to/adilwaheedtools/optimize-images-and-pdfs-in-the-browser-no-uploads-needed-47pp</link>
      <guid>https://dev.to/adilwaheedtools/optimize-images-and-pdfs-in-the-browser-no-uploads-needed-47pp</guid>
      <description>&lt;h2&gt;
  
  
  Page weight is mostly images
&lt;/h2&gt;

&lt;p&gt;The fastest performance win on most sites is smaller images. Compressing and resizing before upload beats any caching trick.&lt;/p&gt;

&lt;h2&gt;
  
  
  Compress and resize
&lt;/h2&gt;

&lt;p&gt;Run photos through an &lt;a href="https://freetool.cc/tools/image-compressor" rel="noopener noreferrer"&gt;Image Compressor&lt;/a&gt; to cut file size, and an &lt;a href="https://freetool.cc/tools/image-resizer" rel="noopener noreferrer"&gt;Image Resizer&lt;/a&gt; so you never ship a 4000px image into an 800px slot. Convert formats with an &lt;a href="https://freetool.cc/tools/image-format-converter" rel="noopener noreferrer"&gt;Image Format Converter&lt;/a&gt; when you need WebP or JPG instead of a heavy PNG.&lt;/p&gt;

&lt;h2&gt;
  
  
  Inline small images carefully
&lt;/h2&gt;

&lt;p&gt;An &lt;a href="https://freetool.cc/tools/image-to-base64" rel="noopener noreferrer"&gt;Image to Base64 Converter&lt;/a&gt; is handy for tiny icons in CSS or email templates. Keep them small: Base64 inflates size by about a third.&lt;/p&gt;

&lt;h2&gt;
  
  
  PDFs without desktop software
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://freetool.cc/tools/merge-pdf" rel="noopener noreferrer"&gt;Merge PDF&lt;/a&gt; combines documents, &lt;a href="https://freetool.cc/tools/split-pdf" rel="noopener noreferrer"&gt;Split PDF&lt;/a&gt; extracts pages, &lt;a href="https://freetool.cc/tools/compress-pdf" rel="noopener noreferrer"&gt;Optimize &amp;amp; Compress PDF&lt;/a&gt; shrinks attachments, and &lt;a href="https://freetool.cc/tools/images-to-pdf" rel="noopener noreferrer"&gt;Images to PDF&lt;/a&gt; turns scans into a single file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;Optimize assets before they reach your server. Your users on mobile data will feel the difference immediately.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>performance</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Text Cleanup Tools Every Developer Should Bookmark</title>
      <dc:creator>Abubakar Adil</dc:creator>
      <pubDate>Thu, 26 Nov 2026 15:57:36 +0000</pubDate>
      <link>https://dev.to/adilwaheedtools/text-cleanup-tools-every-developer-should-bookmark-3f09</link>
      <guid>https://dev.to/adilwaheedtools/text-cleanup-tools-every-developer-should-bookmark-3f09</guid>
      <description>&lt;h2&gt;
  
  
  Text is the universal interface
&lt;/h2&gt;

&lt;p&gt;Logs, prompts, CSVs, copy-pasted docs: a huge amount of dev work is cleaning text before it is useful. These browser tools handle the repetitive parts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Count before you commit
&lt;/h2&gt;

&lt;p&gt;A &lt;a href="https://freetool.cc/tools/word-counter" rel="noopener noreferrer"&gt;Word &amp;amp; Character Counter&lt;/a&gt; tells you whether that meta description, tweet, or prompt fits its limit before you ship it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Remove duplicates from logs and lists
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://freetool.cc/tools/remove-duplicate-lines" rel="noopener noreferrer"&gt;Remove Duplicate Lines&lt;/a&gt; turns a noisy log dump or keyword list into a unique set in one paste. No spreadsheet formulas required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Diff two versions
&lt;/h2&gt;

&lt;p&gt;A &lt;a href="https://freetool.cc/tools/text-diff-checker" rel="noopener noreferrer"&gt;Text Diff Checker&lt;/a&gt; shows exactly what changed between two configs, prompts, or documents, line by line.&lt;/p&gt;

&lt;h2&gt;
  
  
  Placeholder text for layouts
&lt;/h2&gt;

&lt;p&gt;When you need realistic filler for a mockup, a &lt;a href="https://freetool.cc/tools/lorem-ipsum-generator" rel="noopener noreferrer"&gt;Lorem Ipsum Generator&lt;/a&gt; gives you paragraphs, sentences, or words on demand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;Count, dedupe, diff, fill. Bookmark the tools and stop writing throwaway scripts for jobs a paste can finish.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Base64, URL Encoding, UUIDs, and Hashes Explained</title>
      <dc:creator>Abubakar Adil</dc:creator>
      <pubDate>Thu, 26 Nov 2026 15:50:03 +0000</pubDate>
      <link>https://dev.to/adilwaheedtools/base64-url-encoding-uuids-and-hashes-explained-4khf</link>
      <guid>https://dev.to/adilwaheedtools/base64-url-encoding-uuids-and-hashes-explained-4khf</guid>
      <description>&lt;h2&gt;
  
  
  Encoding is not encryption
&lt;/h2&gt;

&lt;p&gt;Base64 and URL encoding transform data so it survives transport. They hide nothing. Hashing is one-way. UUIDs are identifiers. Mixing these up is a classic source of security bugs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Base64 and URL encoding
&lt;/h2&gt;

&lt;p&gt;Use a &lt;a href="https://freetool.cc/tools/base64-encoder-decoder" rel="noopener noreferrer"&gt;Base64 Encoder &amp;amp; Decoder&lt;/a&gt; when binary data must travel as text, and remember it adds roughly 33% size. Use a &lt;a href="https://freetool.cc/tools/url-encoder-decoder" rel="noopener noreferrer"&gt;URL Encoder &amp;amp; Decoder&lt;/a&gt; for query parameters so spaces, ampersands, and unicode do not break your links.&lt;/p&gt;

&lt;h2&gt;
  
  
  UUIDs for identifiers
&lt;/h2&gt;

&lt;p&gt;Generate IDs with a &lt;a href="https://freetool.cc/tools/uuid-generator" rel="noopener noreferrer"&gt;UUID Generator&lt;/a&gt; instead of timestamps or auto-increment values you leak to users. Random UUIDs are unguessable enough for public identifiers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hashes and passwords
&lt;/h2&gt;

&lt;p&gt;A &lt;a href="https://freetool.cc/tools/hash-generator" rel="noopener noreferrer"&gt;Hash Generator&lt;/a&gt; is useful for checksums and fingerprints, but fast hashes are not password storage. For passwords, generate strong ones with a &lt;a href="https://freetool.cc/tools/password-generator" rel="noopener noreferrer"&gt;Password Generator&lt;/a&gt; and check strength with a &lt;a href="https://freetool.cc/tools/password-strength-checker" rel="noopener noreferrer"&gt;Password Strength Checker&lt;/a&gt; before enforcing policy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;Encode for transport, hash for integrity, UUID for identity, and never treat any of them as encryption.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>security</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Regex Testing Without the Guesswork</title>
      <dc:creator>Abubakar Adil</dc:creator>
      <pubDate>Thu, 26 Nov 2026 15:42:20 +0000</pubDate>
      <link>https://dev.to/adilwaheedtools/regex-testing-without-the-guesswork-odo</link>
      <guid>https://dev.to/adilwaheedtools/regex-testing-without-the-guesswork-odo</guid>
      <description>&lt;h2&gt;
  
  
  Regex fails silently
&lt;/h2&gt;

&lt;p&gt;A regular expression rarely throws an error. It just matches the wrong thing, or nothing at all, and you find out in production. The fix is testing against real sample text before the pattern ships.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test against real samples
&lt;/h2&gt;

&lt;p&gt;Use a &lt;a href="https://freetool.cc/tools/regex-tester" rel="noopener noreferrer"&gt;Regex Tester &amp;amp; Debugger&lt;/a&gt; with the actual strings your code will see: valid emails, invalid ones, edge cases with plus signs, dots, and subdomains. Check capture groups, not just whether it "matched".&lt;/p&gt;

&lt;h2&gt;
  
  
  Common patterns worth testing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Email validation: keep it permissive; strict patterns reject valid addresses.&lt;/li&gt;
&lt;li&gt;URL slugs: lowercase, hyphens, no special characters. Generate them consistently with a &lt;a href="https://freetool.cc/tools/slug-generator" rel="noopener noreferrer"&gt;URL Slug Generator&lt;/a&gt; instead of hand-rolling replace chains.&lt;/li&gt;
&lt;li&gt;Case normalization: test your pattern against UPPER, lower, and MixedCase input, and normalize with a &lt;a href="https://freetool.cc/tools/case-converter" rel="noopener noreferrer"&gt;Case Converter&lt;/a&gt; when you need predictable input.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;Write the pattern, test it on real data, check the groups. Five minutes of testing saves the bug report that says "some users cannot sign up".&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>JSON Formatting, Validation, and Minification: A Practical Guide</title>
      <dc:creator>Abubakar Adil</dc:creator>
      <pubDate>Thu, 26 Nov 2026 15:31:48 +0000</pubDate>
      <link>https://dev.to/adilwaheedtools/json-formatting-validation-and-minification-a-practical-guide-1m6n</link>
      <guid>https://dev.to/adilwaheedtools/json-formatting-validation-and-minification-a-practical-guide-1m6n</guid>
      <description>&lt;h2&gt;
  
  
  Why JSON breaks in production
&lt;/h2&gt;

&lt;p&gt;Most JSON bugs are boring: a trailing comma, unquoted keys, a stray comment, or a payload that is valid but 40 KB bigger than it needs to be. Formatting makes structure visible, validation catches syntax errors before your code does, and minification shrinks what you send over the wire.&lt;/p&gt;

&lt;h2&gt;
  
  
  Format first, then validate
&lt;/h2&gt;

&lt;p&gt;Paste the payload into a &lt;a href="https://freetool.cc/tools/json-formatter" rel="noopener noreferrer"&gt;JSON Formatter &amp;amp; Validator&lt;/a&gt; and pretty-print it. If it parses, you can read nesting, spot duplicate keys, and check types at a glance. If it fails, the error position usually points straight at the broken line.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minify before you ship or store
&lt;/h2&gt;

&lt;p&gt;Whitespace is for humans. For API payloads, config embedded in HTML, or data you paste into prompts and logs, run it through an &lt;a href="https://freetool.cc/tools/code-minifier" rel="noopener noreferrer"&gt;HTML, CSS &amp;amp; JS Minifier&lt;/a&gt; to strip unnecessary space. Smaller payloads mean faster transfers and fewer tokens when an LLM has to read them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Diff two payloads when something changed
&lt;/h2&gt;

&lt;p&gt;When staging and production disagree, compare the two JSON blobs with a &lt;a href="https://freetool.cc/tools/text-diff-checker" rel="noopener noreferrer"&gt;Text Diff Checker&lt;/a&gt; instead of eyeballing them. The changed keys stand out immediately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;Format to understand, validate to trust, minify to ship, diff to debug. Those four steps prevent most "works on my machine" JSON surprises.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How AI Token Counting Works (and Why Your Prompt Costs What It Does)</title>
      <dc:creator>Abubakar Adil</dc:creator>
      <pubDate>Thu, 26 Nov 2026 15:28:47 +0000</pubDate>
      <link>https://dev.to/adilwaheedtools/how-ai-token-counting-works-and-why-your-prompt-costs-what-it-does-32ol</link>
      <guid>https://dev.to/adilwaheedtools/how-ai-token-counting-works-and-why-your-prompt-costs-what-it-does-32ol</guid>
      <description>&lt;h2&gt;
  
  
  What is a token?
&lt;/h2&gt;

&lt;p&gt;A token is a chunk of text that an AI model reads. It is not exactly a word and not exactly a character. Common English words are often one token, longer or rarer words split into several, and punctuation, numbers, and code symbols each take tokens too. A rough rule for English prose is about 4 characters, or about three-quarters of a word, per token — but code, JSON, and non-English text tokenize very differently.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why token count matters
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Cost&lt;/strong&gt; — API pricing is per token, for both input (your prompt) and output (the reply).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context limits&lt;/strong&gt; — every model has a maximum number of tokens it can see at once. Go over and older content gets cut.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speed&lt;/strong&gt; — fewer tokens usually means faster, cheaper responses.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How counting works in practice
&lt;/h2&gt;

&lt;p&gt;Different model families use different tokenizers (for example, OpenAI models use BPE variants like cl100k_base and o200k_base, while other providers use their own). That is why the same paragraph can be 120 tokens on one model and 145 on another. If you are pasting logs, JSON, or code into a prompt, count first — structured text is token-heavy.&lt;/p&gt;

&lt;p&gt;You can check a prompt before you send it with the &lt;a href="https://aitokencalculator.org/" rel="noopener noreferrer"&gt;AI Token Calculator &amp;amp; Counter&lt;/a&gt;, which counts tokens for popular models so you can estimate cost and check you are inside the context limit. For model-specific counts, see the &lt;a href="https://aitokencalculator.org/openai-token-calculator/" rel="noopener noreferrer"&gt;OpenAI Token Calculator&lt;/a&gt;, &lt;a href="https://aitokencalculator.org/claude-token-calculator/" rel="noopener noreferrer"&gt;Claude Token Calculator&lt;/a&gt;, and &lt;a href="https://aitokencalculator.org/gemini-token-calculator/" rel="noopener noreferrer"&gt;Gemini Token Calculator&lt;/a&gt;, and compare prices in the &lt;a href="https://aitokencalculator.org/pricing/" rel="noopener noreferrer"&gt;AI Model Pricing Table&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tips to use fewer tokens
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Trim repeated instructions; state them once, clearly.&lt;/li&gt;
&lt;li&gt;Minify JSON before pasting it — whitespace and pretty-printing add tokens. A &lt;a href="https://freetool.cc/tools/json-formatter" rel="noopener noreferrer"&gt;JSON Formatter &amp;amp; Validator&lt;/a&gt; helps you check and compact it.&lt;/li&gt;
&lt;li&gt;Remove duplicate lines from logs with &lt;a href="https://freetool.cc/tools/remove-duplicate-lines" rel="noopener noreferrer"&gt;Remove Duplicate Lines&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Compare prompt versions with a &lt;a href="https://freetool.cc/tools/text-diff-checker" rel="noopener noreferrer"&gt;Text Diff Checker&lt;/a&gt; to see what actually changed.&lt;/li&gt;
&lt;li&gt;Minify code snippets with an &lt;a href="https://freetool.cc/tools/code-minifier" rel="noopener noreferrer"&gt;HTML, CSS &amp;amp; JS Minifier&lt;/a&gt; before sharing them with a model.&lt;/li&gt;
&lt;li&gt;Encode binary data efficiently: &lt;a href="https://freetool.cc/tools/base64-encoder-decoder" rel="noopener noreferrer"&gt;Base64 Encoder &amp;amp; Decoder&lt;/a&gt; shows how large encoded payloads get (Base64 adds roughly 33% size).&lt;/li&gt;
&lt;li&gt;Test patterns offline with a &lt;a href="https://freetool.cc/tools/regex-tester" rel="noopener noreferrer"&gt;Regex Tester &amp;amp; Debugger&lt;/a&gt; instead of iterating in chat.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A quick example
&lt;/h2&gt;

&lt;p&gt;"Hello, world!" is only a few tokens. A 10 KB JSON log, by contrast, can be 2,500+ tokens — often more than the actual question you are asking. Counting first tells you whether to summarize, truncate, or split the input.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;Tokens are the unit of cost, context, and speed for AI models. Count before you send, trim what the model does not need, and you will spend less and get better answers.&lt;/p&gt;

&lt;p&gt;More free browser tools (no sign-up) are collected at &lt;a href="https://freetool.cc/tools/word-counter" rel="noopener noreferrer"&gt;freetool.cc&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
