<?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>docs.fixes.co.za</title><description>Docs.fixes.co.za is a repo of documentation, notes, summaries, fixes and solutions on software development and related topics</description><link>https://docs.fixes.co.za/</link><atom:link href="https://docs.fixes.co.za/feed_rss_created.xml" rel="self" type="application/rss+xml" /><managingEditor>surfer190</managingEditor><language>en</language> <pubDate>Thu, 28 May 2026 15:32:32 -0000</pubDate> <lastBuildDate>Thu, 28 May 2026 15:32:32 -0000</lastBuildDate> <ttl>1440</ttl> <generator>MkDocs RSS plugin - v1.15.0</generator> <item> <title>Home</title> <description>&lt;h1&gt;Home&lt;/h1&gt;&lt;p&gt;A repo of documentation, notes, summaries, fixes and solutions on software development and related topics&lt;/p&gt;&lt;h2&gt;Most Recent Posts&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;2026-05-15: _Book ...&lt;/li&gt;&lt;/ul&gt;</description><link>https://docs.fixes.co.za/</link> <pubDate>Thu, 28 May 2026 15:29:28 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/</guid> </item> <item> <title>About</title> <description>&lt;h2&gt;About docs.fixes.co.za&lt;/h2&gt;&lt;p&gt;This website is the documentation archive for Fixes.co.za: a repo of documentation, notes, summaries, fixes and solutions on softw...&lt;/p&gt;</description><link>https://docs.fixes.co.za/about/</link> <pubDate>Thu, 28 May 2026 15:29:28 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/about/</guid> </item> <item> <title>The Snowball: Warren Buffett and the Business of Life</title> <author></author> <description>&lt;h1&gt;The Snowball: Warren Buffett Wisdom Notes&lt;/h1&gt;&lt;h2&gt;Core Lessons&lt;/h2&gt;&lt;h3&gt;Compounding Is the Main Idea&lt;/h3&gt;&lt;p&gt;Buffett&#39;s life is built around one idea: a small snowball, ro...&lt;/p&gt;</description><link>https://docs.fixes.co.za/book-summaries/snowball-buffett-wisdom/</link> <pubDate>Fri, 15 May 2026 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/book-summaries/snowball-buffett-wisdom/</guid> </item> <item> <title>Elastic in Action Notes</title> <author></author> <description>&lt;h1&gt;Elasticsearch In Action&lt;/h1&gt;&lt;h2&gt;4. Mapping&lt;/h2&gt;&lt;h3&gt;4.1 Mapping Overview&lt;/h3&gt;&lt;p&gt;Mapping is the schema definition&lt;/p&gt;&lt;p&gt;In Elasticsearch you do not need to define the schema/m...&lt;/p&gt;</description><link>https://docs.fixes.co.za/elasticsearch/elastic-search-in-action-notes/</link> <pubDate>Wed, 19 Feb 2025 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/elasticsearch/elastic-search-in-action-notes/</guid> </item> <item> <title>Astronomy Notes</title> <author></author> <description>&lt;h1&gt;Astronomy notes&lt;/h1&gt;&lt;p&gt;These are combined notes from the previous astronomy articles.&lt;/p&gt;&lt;h2&gt;Big Bang&lt;/h2&gt;&lt;p&gt;Before 1929, many believed the universe was static and eterna...&lt;/p&gt;</description><link>https://docs.fixes.co.za/astronomy/astronomy/</link> <pubDate>Sun, 16 Jun 2024 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/astronomy/astronomy/</guid> </item> <item> <title>Black Code Format - Set Line Length</title> <author></author> <description>&lt;p&gt;In the root of your project add a file called &lt;code&gt;pyproject.toml&lt;/code&gt; with the content:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;[tool.black]line-length = 80&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;or for longer lines:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;[tool.blac...&lt;/code&gt;&lt;/pre&gt;</description><link>https://docs.fixes.co.za/python/set-line-length-of-black/</link> <pubDate>Thu, 16 May 2024 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/python/set-line-length-of-black/</guid> </item> <item> <title>Postgres Caveats</title> <author></author> <description>&lt;h2&gt;Integer Autoincrement ID&lt;/h2&gt;&lt;p&gt;Using Integer as the id field for a table is bad because changing it to BIGINT needs downtime or tricky constraint changes.&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;</description><link>https://docs.fixes.co.za/postgres/postgres-caveats/</link> <pubDate>Mon, 22 Apr 2024 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/postgres/postgres-caveats/</guid> </item> <item> <title>Compound Statements</title> <author></author> <description>&lt;p&gt;Compound statements and comparisons allow comparisons of 2 or more things in a single statement.&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; x = 5&amp;gt;&amp;gt;&amp;gt; 3 &amp;lt; x &amp;lt; 7True&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;or:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; Fals...&lt;/code&gt;&lt;/pre&gt;</description><link>https://docs.fixes.co.za/python/compound-comparisons/</link> <pubDate>Mon, 22 Apr 2024 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/python/compound-comparisons/</guid> </item> <item> <title>Remove and add indexes programmatically</title> <author></author> <description>&lt;p&gt;Indexes can made insert and update operations slow.One may want to remove them - do the inserts/updates - then add them back once complete for performance r...&lt;/p&gt;</description><link>https://docs.fixes.co.za/sqlalchemy/sql-alchemy-adding-and-removing-indexes-programmaticially/</link> <pubDate>Tue, 12 Dec 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/sqlalchemy/sql-alchemy-adding-and-removing-indexes-programmaticially/</guid> </item> <item> <title>AWS Database Migration Service</title> <author></author> <description>&lt;h2&gt;What is AWS Database Migration Service?&lt;/h2&gt;&lt;p&gt;At a basic level, AWS DMS is a server (Elastic Compute Cloud (Amazon EC2) in the AWS Cloud that runs replication ...&lt;/p&gt;</description><link>https://docs.fixes.co.za/aws/aws-data-migration-service/</link> <pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/aws/aws-data-migration-service/</guid> </item> <item> <title>Python Sockets How To</title> <author></author> <description>&lt;h1&gt;Python Sockets How To&lt;/h1&gt;&lt;p&gt;Terms:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;INET - IPv4 Socket&lt;/li&gt;&lt;li&gt;STREAMING - TCP Socket&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Types of sockets:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&#34;client&#34; socket - an endpoint of a conversation. A clien...&lt;/li&gt;&lt;/ul&gt;</description><link>https://docs.fixes.co.za/python/sockets-how-to/</link> <pubDate>Wed, 30 Aug 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/python/sockets-how-to/</guid> </item> <item> <title>Allow Remote Postgres Cluster Access</title> <author></author> <description>&lt;h1&gt;Allow Remote Postgres Cluster Access&lt;/h1&gt;&lt;ol&gt;&lt;li&gt;&lt;p&gt;Listen on remote ips&lt;/p&gt;&lt;pre&gt;&lt;code&gt;sudo vim /etc/postgresql/&amp;lt;version&amp;gt;/main/postgresql.conf&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Set:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;listen_ad...&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;</description><link>https://docs.fixes.co.za/postgres/allow_remote_postgres_cluster_access/</link> <pubDate>Fri, 02 Jun 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/postgres/allow_remote_postgres_cluster_access/</guid> </item> <item> <title>Revert a Merge</title> <author></author> <description>&lt;p&gt;If you are in the middle of a merge - the merge has not been committed and there are merge conflicts that are being resolved.The merge can be aborted with:...&lt;/p&gt;</description><link>https://docs.fixes.co.za/git/revert-a-merge/</link> <pubDate>Mon, 15 May 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/git/revert-a-merge/</guid> </item> <item> <title>Dependent Origination</title> <author></author> <description>&lt;p&gt;If one can imagine a beach of white sand, then the stretch looks continuous.On closer examination, though, one finds that the beach is made up of an uncount...&lt;/p&gt;</description><link>https://docs.fixes.co.za/buddha_dhamma/dependent-origination/</link> <pubDate>Sun, 07 May 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/buddha_dhamma/dependent-origination/</guid> </item> <item> <title>Check if Gzip is Enabled</title> <author></author> <description>&lt;h2&gt;Checking if Gzip Compression is Enabled&lt;/h2&gt;&lt;p&gt;You need to tell the server than you can accept gzipped content.That is done with request headers:&lt;/p&gt;&lt;h3&gt;Do not a...&lt;/h3&gt;</description><link>https://docs.fixes.co.za/http/checking-if-gzip-compression-is-enabled/</link> <pubDate>Tue, 02 May 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/http/checking-if-gzip-compression-is-enabled/</guid> </item> <item> <title>Joblib and Memoization</title> <author></author> <description>&lt;h2&gt;Memoization&lt;/h2&gt;&lt;p&gt;The memoization pattern - is a caching method.It caches the result of inputs so when the same inputs are used again the calculation/work is ...&lt;/p&gt;</description><link>https://docs.fixes.co.za/python/joblib-and-memoization/</link> <pubDate>Mon, 01 May 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/python/joblib-and-memoization/</guid> </item> <item> <title>10 Python Performance Tips</title> <author></author> <description>&lt;h2&gt;DRAFT&lt;/h2&gt;&lt;blockquote&gt;&lt;p&gt;Readability counts&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Use discretion. Oftentimes code being obvious to the reader is a greater gain than nanoseconds of performance. Not always.&lt;/p&gt;&lt;p&gt;I...&lt;/p&gt;</description><link>https://docs.fixes.co.za/python/python-performance-tips/</link> <pubDate>Thu, 20 Apr 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/python/python-performance-tips/</guid> </item> <item> <title>Celery vs Faust</title> <author></author> <description>&lt;h2&gt;Celery vs Faust&lt;/h2&gt;&lt;p&gt;Celery provides tooling for Python to process large amounts of data on queues.Looking through the [celery backends and brokers](https://...&lt;/p&gt;</description><link>https://docs.fixes.co.za/celery/celery-vs-faust/</link> <pubDate>Mon, 17 Apr 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/celery/celery-vs-faust/</guid> </item> <item> <title>DBA General Health Tasks</title> <author></author> <description>&lt;h1&gt;Postgres DBA General Health Tasks&lt;/h1&gt;&lt;h2&gt;Set a statement timeout&lt;/h2&gt;&lt;p&gt;Long running queries should be offloaded to other systems or read replicas. Transactional sy...&lt;/p&gt;</description><link>https://docs.fixes.co.za/postgres/dba-general-health/</link> <pubDate>Fri, 10 Feb 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/postgres/dba-general-health/</guid> </item> <item> <title>Simple Core Path of Buddha</title> <author></author> <description>&lt;p&gt;Live well&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Stop alcohol, caffeine, drugs and smoking (anything causing heedlessness)&lt;/li&gt;&lt;li&gt;Stop killing&lt;/li&gt;&lt;li&gt;Stop stealing&lt;/li&gt;&lt;li&gt;Stop speech which is false, divis...&lt;/li&gt;&lt;/ol&gt;</description><link>https://docs.fixes.co.za/buddha_dhamma/simple-core-path-of-buddha/</link> <pubDate>Mon, 30 Jan 2023 00:00:00 +0000</pubDate><source url="https://docs.fixes.co.za/feed_rss_created.xml">docs.fixes.co.za</source><guid isPermaLink="true">https://docs.fixes.co.za/buddha_dhamma/simple-core-path-of-buddha/</guid> </item> </channel></rss>