<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Ahmad Muhammad</title><link>https://ahmadmuhammad.co.za/posts/</link><description>Recent content in Posts on Ahmad Muhammad</description><generator>Hugo</generator><language>en-za</language><lastBuildDate>Thu, 11 Feb 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://ahmadmuhammad.co.za/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Adding a contact form to a Django site</title><link>https://ahmadmuhammad.co.za/posts/adding-a-contact-form-to-a-django-site/</link><pubDate>Thu, 11 Feb 2021 00:00:00 +0000</pubDate><guid>https://ahmadmuhammad.co.za/posts/adding-a-contact-form-to-a-django-site/</guid><description>&lt;p&gt;So, you&amp;rsquo;ve got a site set up with Django and you&amp;rsquo;ve got everything running. One small problem: There&amp;rsquo;s no way for users to contact you. Having this functionality is essential because sometimes users may have some questions about your site and/or any services you&amp;rsquo;re offering.&lt;/p&gt;&#10;&lt;p&gt;Django doesn&amp;rsquo;t come with built-in contact forms, however creating your own contact form is relatively easy. Let&amp;rsquo;s see how.&lt;/p&gt;&#10;&lt;p&gt;I&amp;rsquo;m not going to go too in-depth into creating a new Django project, since this article assumes you&amp;rsquo;ve already got a site up and running. However, I will quickly run through the steps again for the beginners.&lt;/p&gt;</description></item><item><title>To comment or to not comment?</title><link>https://ahmadmuhammad.co.za/posts/to-comment-or-to-not-comment/</link><pubDate>Mon, 18 Jan 2021 00:00:00 +0000</pubDate><guid>https://ahmadmuhammad.co.za/posts/to-comment-or-to-not-comment/</guid><description>&lt;p&gt;If you&amp;rsquo;re a newbie in the world of programming, you may have heard of comments. Most tutorials aimed towards beginners mention comments, but it can be confusing to figure out exactly &lt;em&gt;where&lt;/em&gt; to use them.&lt;/p&gt;&#10;&lt;h2 id="what-are-comments"&gt;&#10; What are comments?&#10; &lt;a class="heading-link" href="#what-are-comments"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Comments are little snippets of information that the programmer can add to their code. Comments are used to make the code easier for humans to understand and are essential when working in teams where there are multiple people working on the same piece of code.&#10;Every programming language has a syntax for adding comments, and any text that goes inside of the comment is ignored by the compiler, allowing you to write whatever you want without breaking your code.&lt;/p&gt;</description></item><item><title>Revisiting Django and Flask</title><link>https://ahmadmuhammad.co.za/posts/revisiting-django-and-flask/</link><pubDate>Sat, 05 Dec 2020 00:00:00 +0000</pubDate><guid>https://ahmadmuhammad.co.za/posts/revisiting-django-and-flask/</guid><description>&lt;p&gt;A little over two and a half years ago, I decided to dabble in the world of Python web-apps by following the book &amp;ldquo;Django By Example&amp;rdquo;. Having done Python courses before, I knew my basic way around the language but I had never put together a proper application in any way, shape or form. &lt;/p&gt;&#10;&lt;p&gt;Starting Django from the book was a leap for me. I had heard of Django before, I knew it was a framework that let you make web-apps, but I had no idea how any of it worked. My lack of experience with proper Python apps didn&amp;rsquo;t help my position either. For a large chunk of the project, I was just following the book and not quite understanding what was happening.&lt;/p&gt;</description></item><item><title>Could the Boeing 777X be the death of the Airbus A380?</title><link>https://ahmadmuhammad.co.za/posts/could-the-boeing-777x-be-the-death-of-the-airbus-a380/</link><pubDate>Mon, 01 Jan 2018 00:00:00 +0000</pubDate><guid>https://ahmadmuhammad.co.za/posts/could-the-boeing-777x-be-the-death-of-the-airbus-a380/</guid><description>&lt;h1 id="background"&gt;&#10; Background&#10; &lt;a class="heading-link" href="#background"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h1&gt;&#10;&lt;p&gt;Boeing and Airbus have been competing each other in the commercial aviation space since the 1980s. In fact, they are the only commercial aircraft manufacturers out there today.&lt;/p&gt;&#10;&lt;p&gt;The two companies may produce similar aircraft, but their philosophies couldn’t be any more different.&lt;/p&gt;&#10;&lt;p&gt;Airbus still believes in pushing the limits of how big an aircraft can be. The Airbus A380 “superjumbo” is proof of that. It is the largest passenger aircraft out there.&lt;/p&gt;</description></item><item><title>My journey to Linux</title><link>https://ahmadmuhammad.co.za/posts/my-journey-to-linux/</link><pubDate>Sat, 22 Jul 2017 00:00:00 +0000</pubDate><guid>https://ahmadmuhammad.co.za/posts/my-journey-to-linux/</guid><description>&lt;p&gt;For years, I have been a regular Windows us — who am I kidding? Let’s rephrase this as ‘I am a Windows user since birth.’&lt;/p&gt;&#10;&lt;p&gt;The first OS I ever used was Windows XP (which, on a side note, is &lt;em&gt;precisely&lt;/em&gt; 11 months older than me,) followed by Windows 7, Windows 8 and Windows 10. Needless to say, I have zero experience when it comes to macOS or Linux.&lt;/p&gt;&#10;&lt;p&gt;And to be honest, I never had even heard of Linux until 2014, when I was so fed up of Windows 8 that I Googled “free operating system”. The first line in the results was, you guessed it: Linux. I quickly Googled “Linux” and came to the website of TLF (The Linux Foundation). I was so naive back then that I thought that installing Linux was as simple as downloading a .exe and ticking a box that said wipe Windows 8. I never knew about distributions, or drive partitions, file systems, none of that. I never even knew what an ISO file is or how to open it.&lt;/p&gt;</description></item></channel></rss>