<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Notes on yenupam</title><link>https://yenupam.com/tags/notes/</link><description>Recent content in Notes on yenupam</description><generator>Hugo</generator><language>en-us</language><copyright>© Anupam Roy</copyright><lastBuildDate>Sat, 01 Jun 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://yenupam.com/tags/notes/index.xml" rel="self" type="application/rss+xml"/><item><title>C++ Notes</title><link>https://yenupam.com/posts/cpp-notes/</link><pubDate>Sat, 01 Jun 2024 00:00:00 +0000</pubDate><guid>https://yenupam.com/posts/cpp-notes/</guid><description>&lt;p&gt;&lt;strong&gt;C++ fundamentals&lt;/strong&gt;: C++ is a statically-typed, compiled programming language that supports procedural, object-oriented, and generic programming paradigms. Key concepts include statements (instructions that cause program actions), objects (memory regions storing values), and functions (reusable units of statements). Every C++ program requires a &lt;code&gt;main()&lt;/code&gt; function as its entry point.&lt;/p&gt;
&lt;h2 id="build-configurations"&gt;Build Configurations&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;For debugging: &lt;code&gt;-ggdb&lt;/code&gt; flag (gcc)&lt;/li&gt;
&lt;li&gt;For release builds: &lt;code&gt;-O2 -DNDEBUG&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The debugging flag produces a larger executable compared to release builds.&lt;/p&gt;</description></item><item><title>Gemini / Gemtext Notes</title><link>https://yenupam.com/posts/gemini-gemtext/</link><pubDate>Sat, 01 Jun 2024 00:00:00 +0000</pubDate><guid>https://yenupam.com/posts/gemini-gemtext/</guid><description>&lt;p&gt;&lt;strong&gt;Gemtext&lt;/strong&gt;: Gemtext is the lightweight markup format used in the Gemini protocol, an alternative to HTTP for simple document publishing. It uses a minimal syntax where lines starting with &lt;code&gt;=&amp;gt;&lt;/code&gt; are links, &lt;code&gt;#&lt;/code&gt; are headings, &lt;code&gt;*&lt;/code&gt; are list items, &lt;code&gt;&amp;gt;&lt;/code&gt; are quotes, and triple backticks toggle preformatted text. Each line is a standalone entity with no inline formatting, making it simpler than Markdown but more structured than plain text.&lt;/p&gt;
&lt;h2 id="text-lines"&gt;Text Lines&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Each individual line in a Gemtext document is a stand-alone entity. Hence, a separate line break syntax is not needed.&lt;/li&gt;
&lt;li&gt;Text lines which don&amp;rsquo;t fit in client&amp;rsquo;s display get wrapped automatically.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="link-lines"&gt;Link Lines&lt;/h2&gt;
&lt;p&gt;Lines starting from &lt;code&gt;=&amp;gt;&lt;/code&gt; are considered link lines.&lt;/p&gt;</description></item></channel></rss>