<?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: Vishnu Digital</title>
    <description>The latest articles on DEV Community by Vishnu Digital (@cooldashing24).</description>
    <link>https://dev.to/cooldashing24</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%2F268806%2F448e48d0-7efb-429d-80ff-9aef5b3c60b2.jpeg</url>
      <title>DEV Community: Vishnu Digital</title>
      <link>https://dev.to/cooldashing24</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cooldashing24"/>
    <language>en</language>
    <item>
      <title>Markdown in the AI Era: The Lingua Franca of LLMs &amp; Agents</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Tue, 28 Jul 2026 13:14:05 +0000</pubDate>
      <link>https://dev.to/cooldashing24/markdown-in-the-ai-era-the-lingua-franca-of-llms-agents-lkd</link>
      <guid>https://dev.to/cooldashing24/markdown-in-the-ai-era-the-lingua-franca-of-llms-agents-lkd</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://meshworld.in/blog/ai/markdown-in-2026/" rel="noopener noreferrer"&gt;https://meshworld.in/blog/ai/markdown-in-2026/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In the modern AI era, Markdown has transcended its origins as a simple text-to-HTML conversion tool created by John Gruber in 2004. Today, it is the core data protocol for Large Language Models (LLMs), context windows, and autonomous AI agents.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Do LLMs and AI Agents Rely on Markdown?
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Token Efficiency: The Economic Argument
&lt;/h4&gt;

&lt;p&gt;LLMs process text in tokens. Every token costs money and consumes finite context window space.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;80% Fewer Tokens&lt;/strong&gt;: Cloudflare analysis shows Markdown uses 80% fewer tokens than HTML (3,150 vs 16,180 tokens for a standard post).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;95% Reduction for E-Commerce&lt;/strong&gt;: Scraped e-commerce HTML drops from 40,000 to ~2,000 tokens in Markdown.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Headings&lt;/strong&gt;: &lt;code&gt;## Heading&lt;/code&gt; costs ~3 tokens vs 12–15 tokens for &lt;code&gt;&amp;lt;h2 class="title"&amp;gt;Heading&amp;lt;/h2&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  2. Machine Comprehension &amp;amp; RAG Accuracy
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;RAG Retrieval Accuracy&lt;/strong&gt;: Markdown-formatted inputs boost RAG accuracy by up to &lt;strong&gt;+35%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Table Extraction&lt;/strong&gt;: Markdown tables hit &lt;strong&gt;60.7% accuracy&lt;/strong&gt; vs 53.6% for HTML.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Key Point Extraction&lt;/strong&gt;: Markdown scores 9.1/10 vs 6.5/10 for HTML (+40%).&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  3. The 3-Tier AI Protocol Stack
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;AGENTS.md&lt;/strong&gt;: Universal project context &amp;amp; guardrails (governed by the Linux Foundation's Agentic AI Foundation).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SKILL.md&lt;/strong&gt;: Portable agent capabilities supported across 16+ tools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DESIGN.md&lt;/strong&gt;: Machine-readable design tokens for AI UI generation.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Read the complete breakdown covering token benchmarks, edge content negotiation, and the 50+ app ecosystem:&lt;br&gt;
&lt;a href="https://meshworld.in/blog/ai/markdown-in-2026/" rel="noopener noreferrer"&gt;https://meshworld.in/blog/ai/markdown-in-2026/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>markdown</category>
      <category>devops</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Top Sources for Free Illustrations and Icons for Designers in 2026</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Tue, 28 Jul 2026 12:16:22 +0000</pubDate>
      <link>https://dev.to/cooldashing24/top-sources-for-free-illustrations-and-icons-for-designers-in-2026-17cj</link>
      <guid>https://dev.to/cooldashing24/top-sources-for-free-illustrations-and-icons-for-designers-in-2026-17cj</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://meshworld.in/blog/web-dev/ux/free-illustrations-for-designers/" rel="noopener noreferrer"&gt;MeshWorld&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Visual content has never been more critical. In 2026, with AI-generated content flooding the web and attention spans shrinking to mere seconds, high-quality visuals are your competitive advantage.&lt;/p&gt;

&lt;p&gt;Humans process images 60,000 times faster than text. Icons and illustrations reduce cognitive load, guide user journeys, and convey your product's story in an instant.&lt;/p&gt;

&lt;p&gt;Here is our updated 2026 list of the most active, high-quality, and genuinely free illustration and icon resources for web design.&lt;/p&gt;




&lt;h2&gt;
  
  
  Quick Decision Matrix
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;If you need...&lt;/th&gt;
&lt;th&gt;Your top choice&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Customizable colors in 1 click&lt;/td&gt;
&lt;td&gt;&lt;a href="https://undraw.co" rel="noopener noreferrer"&gt;unDraw&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Animated illustrations&lt;/td&gt;
&lt;td&gt;&lt;a href="https://storyset.com" rel="noopener noreferrer"&gt;Storyset&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Diverse, mix-and-match people&lt;/td&gt;
&lt;td&gt;&lt;a href="https://humaaans.com/" rel="noopener noreferrer"&gt;Humaaans&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Isometric illustrations&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.manypixels.co/gallery" rel="noopener noreferrer"&gt;ManyPixels&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3D shapes &amp;amp; objects&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.shapefest.com/" rel="noopener noreferrer"&gt;Shapefest&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lightweight UI icons&lt;/td&gt;
&lt;td&gt;
&lt;a href="https://lucide.dev/" rel="noopener noreferrer"&gt;Lucide&lt;/a&gt; or &lt;a href="https://heroicons.com/" rel="noopener noreferrer"&gt;Heroicons&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multiple icon weights&lt;/td&gt;
&lt;td&gt;&lt;a href="https://phosphoricons.com/" rel="noopener noreferrer"&gt;Phosphor Icons&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer-friendly icons&lt;/td&gt;
&lt;td&gt;&lt;a href="https://iconify.design/" rel="noopener noreferrer"&gt;Iconify&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Top Illustration Libraries
&lt;/h2&gt;

&lt;h3&gt;
  
  
  unDraw
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key Features:&lt;/strong&gt; Instant color customization via web interface or URL parameter (&lt;code&gt;?color=HEX&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; MIT License (free for commercial use, no attribution).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Storyset by Freepik
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key Features:&lt;/strong&gt; Customizable elements and built-in web animation options.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; Free with attribution.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Humaaans
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key Features:&lt;/strong&gt; Mix-and-match character kit by Pablo Stanley.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; CC0 Public Domain.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Top Icon Libraries
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Lucide
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key Features:&lt;/strong&gt; Maintained Feather fork with 1,500+ icons, React/Vue/Svelte packages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; ISC.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Phosphor Icons
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key Features:&lt;/strong&gt; 9,000+ icons in 6 weights (Thin, Light, Regular, Bold, Fill, Duotone).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; MIT.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Heroicons
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key Features:&lt;/strong&gt; Tailwind CSS team's official SVG icon set.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; MIT.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Read the full guide with license cheat sheets and design tips on &lt;a href="https://meshworld.in/blog/web-dev/ux/free-illustrations-for-designers/" rel="noopener noreferrer"&gt;MeshWorld&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>design</category>
      <category>resources</category>
      <category>ui</category>
      <category>ux</category>
    </item>
    <item>
      <title>How to Run a Local LLM Without a GPU: A CPU-Only Guide</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Fri, 24 Jul 2026 14:19:35 +0000</pubDate>
      <link>https://dev.to/cooldashing24/how-to-run-a-local-llm-without-a-gpu-a-cpu-only-guide-245j</link>
      <guid>https://dev.to/cooldashing24/how-to-run-a-local-llm-without-a-gpu-a-cpu-only-guide-245j</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://meshworld.in/blog/ai/run-local-llm-without-gpu-cpu-only/" rel="noopener noreferrer"&gt;Run a Local LLM Without a GPU: A CPU-Only Guide - MeshWorld India&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Running open-weight large language models locally used to require an expensive dedicated NVIDIA GPU with 16 GB+ of VRAM. Modern C/C++ inference runtimes and 4-bit quantization formats allow you to execute models like Llama 3.2, Mistral, and Qwen entirely on your system's CPU.&lt;/p&gt;

&lt;p&gt;Whether you're developing on a 16 GB laptop, a refurbished workstation, or an Apple Silicon Mac, CPU-only inference delivers a private, offline, and zero-cost environment for code generation, document summarization, and local AI agent tooling.&lt;/p&gt;




&lt;h2&gt;
  
  
  How do you run a local LLM on a CPU in 60 seconds?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install Ollama&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://ollama.com/install.sh | sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Run a CPU-optimized 3B model&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   ollama run llama3.2:3b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Hardware Rule of Thumb&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;8 GB RAM&lt;/strong&gt;: Run 1B–3B models (&lt;code&gt;llama3.2:3b&lt;/code&gt;, &lt;code&gt;phi4-mini&lt;/code&gt;, &lt;code&gt;gemma3:2b&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;16 GB RAM&lt;/strong&gt;: Run 7B–8B models (&lt;code&gt;mistral:7b&lt;/code&gt;, &lt;code&gt;llama3.1:8b&lt;/code&gt;, &lt;code&gt;qwen3:8b&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;32 GB RAM&lt;/strong&gt;: Run 13B–14B models (&lt;code&gt;llama3.1:13b&lt;/code&gt;, &lt;code&gt;qwen2.5:14b&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What factors dictate CPU inference speed and performance?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Quantization Precision&lt;/strong&gt;: Q4_K_M (4-bit medium) reduces memory footprint by ~70% while retaining over 98% of baseline output accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SIMD Instructions&lt;/strong&gt;: AVX2 is standard on modern x86 chips; AVX-512 yields up to 2x speedups in llama.cpp vector multiplication routines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory Bandwidth&lt;/strong&gt;: Dual-channel DDR5 RAM increases token production by 40%–70% over DDR4 at identical clock speeds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Thread Count&lt;/strong&gt;: Set CPU thread count (&lt;code&gt;-t&lt;/code&gt;) equal to physical core count for optimal generation speed.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;em&gt;For the complete build guide, hardware selector tables, KV cache memory math, and troubleshooting matrix, read the original article on &lt;a href="https://meshworld.in/blog/ai/run-local-llm-without-gpu-cpu-only/" rel="noopener noreferrer"&gt;MeshWorld India&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>selfhosted</category>
      <category>llm</category>
    </item>
    <item>
      <title>🦀 Stop Paying for Noise: How RTK Cuts Claude Code's Token Bill by Up to 90%</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Mon, 20 Jul 2026 12:03:45 +0000</pubDate>
      <link>https://dev.to/cooldashing24/stop-paying-for-noise-how-rtk-cuts-claude-codes-token-bill-by-up-to-90-4cdo</link>
      <guid>https://dev.to/cooldashing24/stop-paying-for-noise-how-rtk-cuts-claude-codes-token-bill-by-up-to-90-4cdo</guid>
      <description>&lt;p&gt;AI terminal agents like Claude Code, Aider, and Gemini CLI are revolutionizing developer workflows. However, running shell commands through these agents is a massive source of context window pollution.&lt;/p&gt;

&lt;p&gt;When an agent runs a command (e.g., &lt;code&gt;npm install --verbose&lt;/code&gt; or &lt;code&gt;cargo build&lt;/code&gt;), the output streams hundreds of lines of progress bars, registry fetches, compile dot indicators, and ANSI escape codes into the LLM. You are charged for every single line of this noise, and it pollutes the context window, causing the LLM to lose focus.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing RTK (Rust Token Killer)
&lt;/h2&gt;

&lt;p&gt;RTK is a zero-dependency CLI proxy written in Rust that intercepts Bash tool commands in your AI agent's tool lifecycle, compresses the output, and feeds clean, semantically dense output to the LLM.&lt;/p&gt;

&lt;p&gt;It achieves &lt;strong&gt;60–90% token savings&lt;/strong&gt; per tool call with less than 10ms of overhead.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 4 Compression Strategies
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Smart Filtering:&lt;/strong&gt; Strips out ANSI terminal escape codes, carriage-return animation overrides, spinner characters, and empty lines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Grouping:&lt;/strong&gt; Sequences of identical log outputs are collapsed (e.g., &lt;code&gt;[120 identical lines: "PASS"]&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Truncation:&lt;/strong&gt; Outputs are intelligently capped to preserve the first few lines, the last lines (where errors appear), and a middle summary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deduplication:&lt;/strong&gt; Repeated stack trace frames are consolidated to preserve clean debugging signals.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F940aa8sv4pkplrw8cf6j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F940aa8sv4pkplrw8cf6j.png" alt="RTK gain command output showing total tokens saved and cost reduction across a week of development with Claude Code." width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Pro Tips &amp;amp; Caveats
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Bash Tool Calls Only:&lt;/strong&gt; The automatic global hook (&lt;code&gt;rtk init -g&lt;/code&gt;) only wraps shell commands. Claude Code's native file tools (like Read, Grep, Edit) bypass the hook. Use terminal commands (like &lt;code&gt;cat&lt;/code&gt; or &lt;code&gt;rg&lt;/code&gt;) to ensure outputs are compressed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crates.io Naming Collision:&lt;/strong&gt; The &lt;code&gt;rtk&lt;/code&gt; crate name on crates.io points to an unrelated "Rust Type Kit" library. To install the token killer, install directly from the source:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  cargo &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--git&lt;/span&gt; https://github.com/rtk-ai/rtk.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fail-Safe Tee Logs:&lt;/strong&gt; On command failure, RTK writes the full raw logs to &lt;code&gt;~/.local/share/rtk/tee/&lt;/code&gt; so you can debug without losing details.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://meshworld.in/blog/ai/claude/rust-token-killer-rtk/" rel="noopener noreferrer"&gt;Read the complete setup guide, benchmarks, and configuration steps on MeshWorld&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>rust</category>
      <category>rtk</category>
    </item>
    <item>
      <title>Learn CSS the Fun Way in 2026: Games, Interactive Tools &amp; Roadmap - VD Docs</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Mon, 20 Jul 2026 11:57:46 +0000</pubDate>
      <link>https://dev.to/cooldashing24/learn-css-the-fun-way-in-2026-games-interactive-tools-roadmap-vd-docs-4kj9</link>
      <guid>https://dev.to/cooldashing24/learn-css-the-fun-way-in-2026-games-interactive-tools-roadmap-vd-docs-4kj9</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://docs.vishnudigital.com/tutorials/css/learn-css-fun-way/" rel="noopener noreferrer"&gt;VD Docs&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;CSS can feel confusing when starting from a 500-page spec document or a dry textbook. A better approach is to turn syntax into interactive visual games: solve puzzles, align items, water crops, and get instant feedback.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR Direct Answer
&lt;/h2&gt;

&lt;p&gt;CSS layout properties become intuitive when practiced through interactive visual games with immediate feedback loops. By pairing 20-minute daily games like &lt;strong&gt;CSS Diner&lt;/strong&gt;, &lt;strong&gt;Flexbox Froggy&lt;/strong&gt;, and &lt;strong&gt;Grid Garden&lt;/strong&gt; with browser DevTools, self-taught developers can master selectors, 1D alignment, and 2D grids in one week.&lt;/p&gt;




&lt;h2&gt;
  
  
  🍽️ Core Gamified CSS Tools
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Best for&lt;/th&gt;
&lt;th&gt;Pricing&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;a href="https://flukeout.github.io/" rel="noopener noreferrer"&gt;CSS Diner&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Selectors &amp;amp; Specificity practice&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;a href="https://flexboxfroggy.com/" rel="noopener noreferrer"&gt;Flexbox Froggy&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;1D Flexbox layout alignment&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;a href="https://cssgridgarden.com/" rel="noopener noreferrer"&gt;Grid Garden&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;2D CSS Grid column &amp;amp; row placement&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;a href="https://cssbattle.dev/learn" rel="noopener noreferrer"&gt;CSSBattle Learn&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Recreating visual shapes with CSS&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;a href="https://coddy.tech/landing/css" rel="noopener noreferrer"&gt;Coddy CSS&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Guided interactive lessons with hints&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;a href="https://4geeks.com/interactive-exercise/css-exercises" rel="noopener noreferrer"&gt;4Geeks CSS Exercises&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Auto-graded practice exercises&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  ⚠️ 4 Common Beginner CSS Pitfalls to Avoid
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Using &lt;code&gt;!important&lt;/code&gt; to fix specificity issues&lt;/strong&gt; instead of fixing the cascade. Fix your selector order (&lt;code&gt;ID&lt;/code&gt; &amp;gt; &lt;code&gt;Class&lt;/code&gt; &amp;gt; &lt;code&gt;Type&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Confusing &lt;code&gt;margin&lt;/code&gt; with &lt;code&gt;padding&lt;/code&gt;.&lt;/strong&gt; Margin is spacing outside the element boundary; padding is spacing inside.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Forgetting &lt;code&gt;box-sizing: border-box&lt;/code&gt;.&lt;/strong&gt; Always set &lt;code&gt;* { box-sizing: border-box; }&lt;/code&gt; globally so padding doesn't inflate element width.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not using Browser DevTools.&lt;/strong&gt; Right-click any page → "Inspect" to tweak CSS properties live.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🚀 1-Week Gamified CSS Roadmap
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Day 1 (Selectors)&lt;/strong&gt;: Play &lt;strong&gt;CSS Diner&lt;/strong&gt; (30 mins). Master &lt;code&gt;#id&lt;/code&gt;, &lt;code&gt;.class&lt;/code&gt;, and parent-child selectors (&lt;code&gt;ul li&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Day 2 (Flexbox)&lt;/strong&gt;: Play &lt;strong&gt;Flexbox Froggy&lt;/strong&gt; (30 mins). Learn &lt;code&gt;justify-content&lt;/code&gt;, &lt;code&gt;align-items&lt;/code&gt;, and &lt;code&gt;flex-direction&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Day 3 (DevTools)&lt;/strong&gt;: Open browser DevTools on your favorite site. Inspect &amp;amp; edit styles live (20 mins).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Day 4 (CSS Grid)&lt;/strong&gt;: Play &lt;strong&gt;Grid Garden&lt;/strong&gt; (30 mins). Learn &lt;code&gt;grid-template-columns&lt;/code&gt; and &lt;code&gt;grid-column: span&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Day 5 (Box Model)&lt;/strong&gt;: Practice on &lt;strong&gt;Coddy&lt;/strong&gt; or &lt;strong&gt;4Geeks&lt;/strong&gt; (30 mins). Lock in &lt;code&gt;border-box&lt;/code&gt; and spacing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Day 6 (Shape Challenges)&lt;/strong&gt;: Solve 2 targets on &lt;strong&gt;CSSBattle Learn&lt;/strong&gt; (30 mins). Focus on visual accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Day 7 (Build &amp;amp; Deploy)&lt;/strong&gt;: Build a simple landing section with a button hover state and deploy it live to GitHub Pages.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📚 Want the Complete 4-Week Deep Dive?
&lt;/h2&gt;

&lt;p&gt;Check out our full guide with extended tool comparison tables, direct links, and a 4-week structured curriculum:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://docs.vishnudigital.com/tutorials/css/learn-css-fun-way/" rel="noopener noreferrer"&gt;Read the full guide on VD Docs&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>game</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Google Gemini Hacks to Maximize Your AI Productivity</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Fri, 26 Jun 2026 07:19:16 +0000</pubDate>
      <link>https://dev.to/cooldashing24/google-gemini-hacks-to-maximize-your-ai-productivity-5ck0</link>
      <guid>https://dev.to/cooldashing24/google-gemini-hacks-to-maximize-your-ai-productivity-5ck0</guid>
      <description>&lt;p&gt;Google Gemini is integrated across Docs, Sheets, Gmail, and Google Search. However, most users only run basic, one-off prompts. By configuring a few settings, you can convert the chatbot into an autonomous workspace assistant.&lt;/p&gt;

&lt;p&gt;Here is the checklist of the best Gemini hacks for daily productivity:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Frame Prompts with Expert Roleplay
&lt;/h2&gt;

&lt;p&gt;Steer the model's sources by asking it to identify what experts say rather than asking for general advice.&lt;br&gt;
&lt;em&gt;Example:&lt;/em&gt; &lt;em&gt;“Who are the leading medical experts on [topic] and what do they say about it?”&lt;/em&gt; rather than &lt;em&gt;“what is [topic].”&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Set Up Custom Instructions
&lt;/h2&gt;

&lt;p&gt;Go to &lt;strong&gt;Personal Intelligence &amp;gt; Instructions for Gemini&lt;/strong&gt; in settings to save permanent styling guidelines, code rules, and text limits that apply to all future chats.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Create Custom Bots with Gems
&lt;/h2&gt;

&lt;p&gt;Use the &lt;strong&gt;Gems&lt;/strong&gt; feature (for Advanced subscribers) to construct isolated chatbots with specific instructions (e.g., a code auditor or draft editor) to keep your main chat feed organized.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Automate Errands with Scheduled Actions
&lt;/h2&gt;

&lt;p&gt;Schedule recurring prompts (like daily calendar summaries or email briefs) to run automatically under settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Enable Temporary Chats
&lt;/h2&gt;

&lt;p&gt;Click the pencil icon in a dotted circle in the top-right corner to open private chats. These are deleted after 72 hours and are not used to train Google's models.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Command High-Quality Citations
&lt;/h2&gt;

&lt;p&gt;Include rules asking the model to only link to primary sources, research papers, and respectable institutions, filtering out search-engine-optimized spam.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Edit Side-by-Side in Gemini Canvas
&lt;/h2&gt;

&lt;p&gt;Use the Canvas split-screen layout to edit specific paragraphs or code blocks directly in your workspace without generating unnecessary code boilerplate.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Wrap Code in XML Tags
&lt;/h2&gt;

&lt;p&gt;Take advantage of Gemini's 2-million-token context window by uploading whole repositories wrapped in structured XML tags like &lt;code&gt;&amp;lt;source_code&amp;gt;&lt;/code&gt; to maintain organization.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://meshworld.in/blog/hacks/google-gemini/" rel="noopener noreferrer"&gt;Read the complete guide with setup steps and configurations on MeshWorld&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
    </item>
    <item>
      <title>🚀 Connect Hermes Agent to Discord: Step-by-Step Gateway Setup</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Tue, 23 Jun 2026 14:18:10 +0000</pubDate>
      <link>https://dev.to/cooldashing24/connect-hermes-agent-to-discord-step-by-step-gateway-setup-5943</link>
      <guid>https://dev.to/cooldashing24/connect-hermes-agent-to-discord-step-by-step-gateway-setup-5943</guid>
      <description>&lt;h1&gt;
  
  
  🚀 Connect Hermes Agent to Discord: Step-by-Step Gateway Setup
&lt;/h1&gt;

&lt;p&gt;In the recently released v0.17.0 "Reach Release" of Hermes Agent (the open-source autonomous agent framework by Nous Research), setting up platform connections (like Discord, Telegram, and Slack) has migrated to a local browser-based Web Admin Panel, deprecating the older terminal wizards.&lt;/p&gt;

&lt;p&gt;Here is the quick checklist to connect your agent to Discord:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Discord Developer Portal Config
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Create a new application at the &lt;a href="https://discord.com/developers/applications" rel="noopener noreferrer"&gt;Discord Developer Portal&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Under the &lt;strong&gt;Bot&lt;/strong&gt; tab, generate and copy your &lt;strong&gt;Bot Token&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Scroll down and enable all three &lt;strong&gt;Privileged Gateway Intents&lt;/strong&gt; (Presence Intent, Server Members Intent, and Message Content Intent). &lt;em&gt;Warning:&lt;/em&gt; Message Content Intent is critical; if disabled, the bot cannot read your messages to respond.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Invite the Bot
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Under &lt;strong&gt;Installation&lt;/strong&gt;, configure default scopes to include &lt;code&gt;bot&lt;/code&gt; and &lt;code&gt;applications.commands&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check required bot permissions: Send Messages, Read Message History, Send Messages in Threads, View Channel, Add Reactions.&lt;/li&gt;
&lt;li&gt;Use the generated install link to invite the bot to your Discord server.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Configure via Hermes Web UI
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;In your terminal, start the local panel:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  hermes dashboard
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Open &lt;code&gt;http://127.0.0.1:9119&lt;/code&gt; in your browser.&lt;/li&gt;
&lt;li&gt;Go to the &lt;strong&gt;Gateways&lt;/strong&gt; tab, click &lt;strong&gt;Discord&lt;/strong&gt;, paste your Bot Token, and hit Save. (You can also set a specific Channel ID filter to prevent the bot from reading all channels).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Launch the Bridge
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Start Gateway&lt;/strong&gt; in the dashboard, or run:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  hermes gateway start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Verify status with:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  hermes gateway status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://meshworld.in/blog/ai/agents/hermes-agent-discord-setup/" rel="noopener noreferrer"&gt;Read the complete gateway setup guide with custom start parameters and troubleshooting details on MeshWorld&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>opensource</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>🎤 Voice Control &amp; Dictation: Hands-Free macOS Productivity 🚀</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Tue, 19 May 2026 19:02:11 +0000</pubDate>
      <link>https://dev.to/cooldashing24/voice-control-dictation-hands-free-macos-productivity-255a</link>
      <guid>https://dev.to/cooldashing24/voice-control-dictation-hands-free-macos-productivity-255a</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Scenario:&lt;/strong&gt; Your hands are full. You're cooking and need to send a quick message. You're experiencing typing strain from a long session. You think faster than you type. The keyboard isn't always the best input method.&lt;/p&gt;

&lt;p&gt;macOS includes two voice technologies that transform how you interact with your Mac.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Dictation: Speech to Text
&lt;/h2&gt;

&lt;p&gt;Convert spoken words into typed text in any app. Enable in System Settings &amp;gt; Keyboard &amp;gt; Dictation. Trigger with double-tap Control. Private, on-device processing with Apple Silicon accuracy.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Voice Control: Navigate Hands-Free
&lt;/h2&gt;

&lt;p&gt;More than dictation—full voice navigation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Open Safari" → Launches browser&lt;/li&gt;
&lt;li&gt;"Click Send" → Triggers button&lt;/li&gt;
&lt;li&gt;"Scroll down" → Page navigation&lt;/li&gt;
&lt;li&gt;"Select all, delete that" → Text editing&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Custom Commands
&lt;/h2&gt;

&lt;p&gt;Create voice shortcuts for complex workflows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Start work" → Open specific apps and arrange windows&lt;/li&gt;
&lt;li&gt;"Take a break" → Pause music, set timer&lt;/li&gt;
&lt;li&gt;"Save draft" → Trigger save action&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Formatting Control
&lt;/h2&gt;

&lt;p&gt;Voice Control handles numbers, symbols, and formatting:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Insert dollar sign"&lt;/li&gt;
&lt;li&gt;"Type 42"&lt;/li&gt;
&lt;li&gt;"New paragraph"&lt;/li&gt;
&lt;li&gt;"Cap that" (capitalize next word)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://meshworld.in/blog/macos/voice-control-dictation/" rel="noopener noreferrer"&gt;Read the full deep-dive on MeshWorld&lt;/a&gt;&lt;/p&gt;

</description>
      <category>a11y</category>
      <category>productivity</category>
      <category>tooling</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Ollama Cheat Sheet: Local LLMs, Models, API &amp; Integration (2026)</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Tue, 19 May 2026 18:58:47 +0000</pubDate>
      <link>https://dev.to/cooldashing24/ollama-cheat-sheet-local-llms-models-api-integration-2026-5a0f</link>
      <guid>https://dev.to/cooldashing24/ollama-cheat-sheet-local-llms-models-api-integration-2026-5a0f</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ollama runs open LLMs locally: Llama 3.3, Mistral, Gemma, DeepSeek, Qwen, Phi, and vision models&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ollama run llama3.3&lt;/code&gt; — pull and start in one command&lt;/li&gt;
&lt;li&gt;REST API on &lt;code&gt;localhost:11434&lt;/code&gt; — chat completions, generate, embeddings&lt;/li&gt;
&lt;li&gt;Python and JavaScript libraries for integration&lt;/li&gt;
&lt;li&gt;Modelfile for customizing system prompts, temperature, and context window&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;Ollama made local LLMs accessible to anyone who could run a Docker container. No Hugging Face model downloads to manage manually. No inference server configuration. &lt;code&gt;ollama run llama3.3&lt;/code&gt; downloads the model and opens a chat session. It has become the standard way to run open models locally, with a library of thousands of community models on top of the official catalog.&lt;/p&gt;




&lt;h2&gt;
  
  
  Quick Start
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install (macOS, Linux, Docker)&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://ollama.com/install.sh | sh

&lt;span class="c"&gt;# Pull and run a model&lt;/span&gt;
ollama run llama3.3

&lt;span class="c"&gt;# Run a single prompt&lt;/span&gt;
ollama run llama3.3 &lt;span class="s2"&gt;"Explain Docker containers in one sentence."&lt;/span&gt;

&lt;span class="c"&gt;# REST API&lt;/span&gt;
curl http://localhost:11434/api/chat &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{
  "model": "llama3.3:8b",
  "messages": [{"role": "user", "content": "Hello"}],
  "stream": false
}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Popular Models (May 2026)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Size&lt;/th&gt;
&lt;th&gt;Memory&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;llama3.3:70b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;70B&lt;/td&gt;
&lt;td&gt;~128GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;llama3.3:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;8B&lt;/td&gt;
&lt;td&gt;~8GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;8B&lt;/td&gt;
&lt;td&gt;~8GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;8B&lt;/td&gt;
&lt;td&gt;~8GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemma3:4b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;4B&lt;/td&gt;
&lt;td&gt;~4GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;phi4:3.8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;3.8B&lt;/td&gt;
&lt;td&gt;~4GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;llava:7b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;7B&lt;/td&gt;
&lt;td&gt;~12GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Python Integration
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;ollama
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ollama&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ollama&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;llama3.3:8b&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;system&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;You are a code reviewer.&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Review: def add(a, b): return a + b&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;message&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;

&lt;span class="c1"&gt;# Streaming
&lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;chunk&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;ollama&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;llama3.3:8b&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                          &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Hello&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;}]):&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;message&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;end&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;''&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;flush&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://meshworld.in/blog/cheatsheets/ollama-cheatsheet/" rel="noopener noreferrer"&gt;meshworld.in&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>pgaichallenge</category>
      <category>localai</category>
      <category>python</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>Claude Opus 4.7: The Good, The Weird, and The Why Your Prompts Just Broke</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Fri, 17 Apr 2026 09:01:16 +0000</pubDate>
      <link>https://dev.to/cooldashing24/claude-opus-47-the-good-the-weird-and-the-why-your-prompts-just-broke-1me6</link>
      <guid>https://dev.to/cooldashing24/claude-opus-47-the-good-the-weird-and-the-why-your-prompts-just-broke-1me6</guid>
      <description>&lt;h2&gt;
  
  
  Claude Opus 4.7: What Actually Matters for Developers
&lt;/h2&gt;

&lt;p&gt;Anthropic dropped Claude Opus 4.7 and—plot twist—they admitted it's not their best work. The real beast, Claude Mythos, is locked behind a waitlist because it's "too capable at cybersecurity." Everyone else gets the "safe" version.&lt;/p&gt;

&lt;p&gt;Here's what actually matters for developers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SWE-bench Pro: 64.3%&lt;/strong&gt; — Up from 53.4%. The gap between 4.6 and 4.7 is bigger than the gap between 4.6 and GPT-5.4 combined.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vision: 2,576px&lt;/strong&gt; — Triple the resolution. Your blurry 2 AM screenshots finally make sense.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompts are dead&lt;/strong&gt; — "Make it better" does nothing. 4.7 needs a spec, not vibes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Same price, more tokens&lt;/strong&gt; — Tokenizer uses 0-35% more tokens. Your bill will go up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cyber capabilities locked&lt;/strong&gt; — Pentesters need to apply for access. The model refuses security exploits by default.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Only Benchmark That Matters
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;SWE-bench Pro&lt;/th&gt;
&lt;th&gt;SWE-bench Verified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Claude Opus 4.7&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;64.3%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;87.6%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-5.4&lt;/td&gt;
&lt;td&gt;57.7%&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 3.1 Pro&lt;/td&gt;
&lt;td&gt;54.2%&lt;/td&gt;
&lt;td&gt;80.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 4.6&lt;/td&gt;
&lt;td&gt;53.4%&lt;/td&gt;
&lt;td&gt;80.8%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;SWE-bench isn't abstract—it's real GitHub issues from Django, scikit-learn, and matplotlib. The model has to understand a codebase, find bugs, write fixes, and verify they work. This is the "can this actually help me ship code" benchmark.&lt;/p&gt;

&lt;p&gt;The 10.9 point jump from 4.6 to 4.7 means fewer "please try again" moments at 2 AM.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can It Actually Code For Hours Without You Watching?
&lt;/h3&gt;

&lt;p&gt;This is the main event. 4.7 claims 14% improvement in multi-step agentic tasks with one-third the tool errors. It coordinates multiple workstreams in parallel and passes "implicit-need tests" where it figures out what tools it needs without you explicitly telling it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The scenario:&lt;/strong&gt; It's 11 PM. You've been avoiding refactoring your auth system for three months because it's 200+ files of spaghetti. You fire up Claude Code with Opus 4.7, describe what you want, and go to bed.&lt;/p&gt;

&lt;p&gt;With 4.6, you'd wake up to a half-finished disaster or subtle bugs that'd hit production at the worst moment. With 4.7, it sustains focus across the entire codebase, coordinates changes across multiple files, catches its own mistakes, and keeps going through tool failures that would have stopped 4.6 dead.&lt;/p&gt;

&lt;p&gt;I tested a 4-hour session. It held coherent context the entire time. The degradation that used to happen? Gone.&lt;/p&gt;

&lt;h3&gt;
  
  
  Vision That Actually Works
&lt;/h3&gt;

&lt;p&gt;Previous Claude models capped at 1,568 pixels (~1.15MP). Opus 4.7 handles 2,576 pixels / 3.75 megapixels. That's dense enough to read fine print in diagrams and extract data from complex charts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The scenario:&lt;/strong&gt; It's 2 AM. Production is on fire. Your error logs are a wall of red text across three monitors. You screenshot the chaos, paste it to Claude, and pray.&lt;/p&gt;

&lt;p&gt;At 4.6's resolution, it might miss the critical line buried in the noise—the database timeout causing the cascade, not the prominent auth errors. At 4.7's resolution, it reads dense screenshots properly, identifies the actual root cause, and tells you exactly which config to change.&lt;/p&gt;

&lt;p&gt;Bonus: coordinate mapping is now 1:1 with actual pixels. No more scale-factor math for UI automation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Your Prompts Are Broken
&lt;/h3&gt;

&lt;p&gt;4.7 is substantially more literal. Prompts that relied on "filling in the blanks" will produce unexpected or minimal results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before (4.6):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Make this function better"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;After (4.7):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Refactor this function to handle null inputs, add error logging, 
and ensure it returns a consistent type. The function currently 
crashes on line 47 when user.email is undefined."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Budget time to re-tune your prompt library before migrating production systems.&lt;/p&gt;

&lt;h3&gt;
  
  
  Breaking Changes
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Extended Thinking Budgets Are Gone&lt;/strong&gt; — The &lt;code&gt;thinking: {"type": "enabled", "budget_tokens": N}&lt;/code&gt; pattern returns a 400 error. Use &lt;code&gt;thinking: {"type": "adaptive"}&lt;/code&gt; with &lt;code&gt;output_config: {"effort": "high"}&lt;/code&gt; instead.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sampling Parameters Are Gone&lt;/strong&gt; — Setting &lt;code&gt;temperature&lt;/code&gt;, &lt;code&gt;top_p&lt;/code&gt;, or &lt;code&gt;top_k&lt;/code&gt; to non-default values returns a 400 error. Remove them and use prompting to guide behavior.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Thinking Content Is Hidden By Default&lt;/strong&gt; — The model still thinks, but you won't see the reasoning stream unless you opt in with &lt;code&gt;thinking: {"type": "adaptive", "display": "summarized"}&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Should You Upgrade?
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Yes if:&lt;/strong&gt; You do long-running coding tasks, vision-heavy work, or complex agentic workflows. The SWE-bench jump translates to shipping code instead of debugging why the model hallucinated an API.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No if:&lt;/strong&gt; You're happy with 4.6 for simple chat—you won't notice much difference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pricing:&lt;/strong&gt; Same per-token price ($5/$25 per million), but the new tokenizer means 0-35% more tokens. Monitor usage after migration.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;&lt;a href="https://meshworld.in/blog/ai/claude/claude-opus-4-7/" rel="noopener noreferrer"&gt;→ Read the full deep-dive with code examples, AWS Bedrock setup, and detailed FAQ&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://meshworld.in" rel="noopener noreferrer"&gt;MeshWorld India&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>Constructor in JAVA</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Sat, 27 Nov 2021 09:37:17 +0000</pubDate>
      <link>https://dev.to/cooldashing24/constructor-in-java-5hc8</link>
      <guid>https://dev.to/cooldashing24/constructor-in-java-5hc8</guid>
      <description>&lt;p&gt;In this article, we will go through Java constructors, their types with the help of examples.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Constructor?
&lt;/h2&gt;

&lt;p&gt;Constructor is a special member function in JAVA whose name is the same as the class name. It is used to initialize objects at the time of their creation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example 1: Java constructor
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;DemoExample&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="nc"&gt;DemoExample&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;// constructor body&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here, &lt;code&gt;DemoExample()&lt;/code&gt; is a constructor. It has the same name as that of the class and does not have any return type, not even &lt;strong&gt;&lt;code&gt;void&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Constructor in JAVA
&lt;/h2&gt;

&lt;p&gt;It has no return type, not even &lt;code&gt;void&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;It is invoked at the time of object creation or when an instance is created.&lt;/p&gt;




&lt;h2&gt;
  
  
  Types of Constructor
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  No-Arguments Constructor&lt;/li&gt;
&lt;li&gt;  Parameterized Constructor&lt;/li&gt;
&lt;li&gt;  Default Constructor&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  No-Arguments Constructor
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  The &lt;strong&gt;no-argument constructor&lt;/strong&gt; is a constructor that does not accept any parameters/arguments.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example 2: Java No-argument constructor
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

    &lt;span class="c1"&gt;//No-argument constructor&lt;/span&gt;
    &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;setDetails&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;52&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;47&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;setDetails&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;width&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;display&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"-----------------------"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Length: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Width: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Area: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;calcArea&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="nf"&gt;calcArea&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ConstructorDemo1&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="n"&gt;r1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
        &lt;span class="n"&gt;r1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;display&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example 2 Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;-----------------------
Length: 52.0
Width: 47.0
Area: 2444.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Parameterized Constructor
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  The Java parameterized constructor can also accept one or more parameters/arguments.&lt;/li&gt;
&lt;li&gt;  Such constructors are known as parameterized constructors or constructors with parameters.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example 3: Java Parameterized Constructor
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

    &lt;span class="c1"&gt;//Parameterized constructor&lt;/span&gt;
    &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;setDetails&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;setDetails&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;width&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;display&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"-----------------------"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Length: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Width: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Area: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;calcArea&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="nf"&gt;calcArea&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ConstructorDemo2&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="n"&gt;r1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;101&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;70&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="n"&gt;r1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;display&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example 3 Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;-----------------------
Length: 101.0
Width: 70.0
Area: 7070.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Default Constructor
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  The Java compiler will create a no-argument constructor automatically when the user-defined constructor is not explicitly declared. Such constructor is known as the &lt;strong&gt;default constructor&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;  Each class has its own default constructor.&lt;/li&gt;
&lt;li&gt;  The &lt;strong&gt;Default constructor&lt;/strong&gt; do not accept arguments.&lt;/li&gt;
&lt;li&gt;  Constructor declared by compiler initializes the object with default values.&lt;/li&gt;
&lt;li&gt;  Once the user defines its own default constructor, the compiler will use it to initialize an object.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example 4: Java Default Constructor
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;display&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"-----------------------"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Length: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Width: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ConstructorDemo3&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="n"&gt;r1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
        &lt;span class="n"&gt;r1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;display&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example 4 Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;-----------------------
Length: 0.0
Width: 0.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Any uninitialized instance variables will be initialized with default values by the default constructor.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Default Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;boolean&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;byte&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;short&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;int&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;long&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0L&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;char&lt;/td&gt;
&lt;td&gt;&lt;code&gt;\u0000&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;float&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0f&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;double&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0d&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;object&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Reference null&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read the complete post on our site &lt;a href="https://meshworld.in/java-constructor/" rel="noopener noreferrer"&gt;Constructor in JAVA&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read others posts on our site &lt;a href="https://meshworld.in" rel="noopener noreferrer"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you like this!&lt;/p&gt;

&lt;p&gt;Keep helping and happy 😄 coding&lt;/p&gt;

</description>
      <category>java</category>
      <category>constructor</category>
    </item>
    <item>
      <title>Dart - Comments</title>
      <dc:creator>Vishnu Digital</dc:creator>
      <pubDate>Thu, 22 Jul 2021 15:03:18 +0000</pubDate>
      <link>https://dev.to/cooldashing24/dart-comments-3bpj</link>
      <guid>https://dev.to/cooldashing24/dart-comments-3bpj</guid>
      <description>&lt;p&gt;The comments are notes that developers can add in source code and are ignored by compilers. It's an &lt;strong&gt;art&lt;/strong&gt; of describing what your code does and may be why. These comments are not evaluated.&lt;/p&gt;

&lt;p&gt;It increases the code readability for other developers as well as self that allows to provide information of what tricky things are done within the code for better understanding and maintenance.&lt;/p&gt;

&lt;p&gt;In this article, we will look into different types of comments supported by Dart.&lt;/p&gt;

&lt;p&gt;The comments in Dart can be done in following different ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Single-line comments &lt;code&gt;//&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Multi-line comments &lt;code&gt;/* ... */&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Single-line Doc comments &lt;code&gt;///&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Multi-line Doc comments &lt;code&gt;/** ... */&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Single-line comments in Dart
&lt;/h2&gt;

&lt;p&gt;Single line comment can be done by &lt;strong&gt;&lt;code&gt;//&lt;/code&gt;&lt;/strong&gt; i.e &lt;strong&gt;double slash&lt;/strong&gt; or &lt;strong&gt;double forward slash&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="c1"&gt;// this is a single-line comment&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Multi-line comments in Dart
&lt;/h2&gt;

&lt;p&gt;Multi-line comment also known as &lt;strong&gt;block comment&lt;/strong&gt;. It can be done by &lt;strong&gt;&lt;code&gt;/* ... */&lt;/code&gt;&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="cm"&gt;/*
  this is a multi-line comment
  we can also wrap code that is quite useful during debugging or development
*/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Dart &lt;a href="https://dart.dev/guides/language/effective-dart/documentation#dont-use-block-comments-for-documentation" rel="noopener noreferrer"&gt;guide&lt;/a&gt; suggests us to single-line comment &lt;code&gt;//&lt;/code&gt;. The block comment &lt;code&gt;(/* ... */)&lt;/code&gt; should only be used &lt;strong&gt;temporarily&lt;/strong&gt; to comment out a section of code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Single-line Doc comments in Dart
&lt;/h2&gt;

&lt;p&gt;Doc comments parsed by &lt;a href="https://github.com/dart-lang/dartdoc" rel="noopener noreferrer"&gt;dartdoc&lt;/a&gt; generates &lt;a href="https://api.dart.dev/stable" rel="noopener noreferrer"&gt;beautiful doc pages&lt;/a&gt; from them. A comment is any comment that appears before a declaration is called as Doc comment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Doc comments also supports Markdown formatting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Single line Doc comment can be done by &lt;strong&gt;&lt;code&gt;///&lt;/code&gt;&lt;/strong&gt; i.e &lt;strong&gt;triple slash&lt;/strong&gt; or &lt;strong&gt;triple forward slash&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;You can find usage of it in &lt;a href="https://github.com/dart-lang/sdk/blob/master/sdk/lib/io/io.dart" rel="noopener noreferrer"&gt;dart:io&lt;/a&gt; library available on GitHub&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="c1"&gt;/// this is a single-line comment&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Multi-line Doc comments in Dart
&lt;/h2&gt;

&lt;p&gt;Multi line Doc comment can be done by &lt;strong&gt;`/&lt;/strong&gt; ... */`**. Below is an example of multi-line Doc comment.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="cm"&gt;/**
  * ** Important:** Browser-based apps can't use this library.
  * Only the following can import and use the dart:io library:
  *   - Servers
  *   - Command-line scripts
  *   - Flutter mobile apps
  *   - Flutter desktop apps
  */&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read the complete post on our site &lt;a href="https://meshworld.in/dart-comments/" rel="noopener noreferrer"&gt;Dart - Comments&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read others post on our site &lt;a href="https://meshworld.in" rel="noopener noreferrer"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you like this!&lt;/p&gt;

&lt;p&gt;Keep helping and happy 😄 coding&lt;/p&gt;

</description>
      <category>dart</category>
      <category>flutter</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
