<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lists on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/lists/</link><description>Recent content in Lists on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 31 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/lists/index.xml" rel="self" type="application/rss+xml"/><item><title>Redis Core Concepts: Lists</title><link>https://ai-blog.noorshomelab.dev/redis-guide/redis-lists/</link><pubDate>Fri, 07 Nov 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/redis-guide/redis-lists/</guid><description>&lt;p&gt;Redis &lt;strong&gt;Lists&lt;/strong&gt; are ordered collections of strings. Unlike programming language arrays, Redis Lists are optimized for adding and removing elements from either the head (left) or the tail (right) of the list very efficiently, making them perfect for implementing queues, stacks, or simple chronological timelines.&lt;/p&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;ll cover:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The nature and applications of Redis Lists.&lt;/li&gt;
&lt;li&gt;Commands for adding elements to lists (&lt;code&gt;LPUSH&lt;/code&gt;, &lt;code&gt;RPUSH&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Commands for removing elements from lists (&lt;code&gt;LPOP&lt;/code&gt;, &lt;code&gt;RPOP&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Commands for retrieving elements from lists (&lt;code&gt;LRANGE&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Trimming lists (&lt;code&gt;LTRIM&lt;/code&gt;) and other useful list operations.&lt;/li&gt;
&lt;li&gt;Blocking list operations for robust queues.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="understanding-redis-lists"&gt;Understanding Redis Lists&lt;/h3&gt;
&lt;p&gt;A Redis List can be visualized as a doubly-linked list of strings.&lt;/p&gt;</description></item><item><title>Chapter 7: Conditional Rendering, Lists, and Keys</title><link>https://ai-blog.noorshomelab.dev/react-mastery-2026/chapter-7-conditional-rendering-lists-keys/</link><pubDate>Sat, 31 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/react-mastery-2026/chapter-7-conditional-rendering-lists-keys/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome back, future React maestro! In our previous chapters, we learned how to build static components, pass data with props, and manage simple component-specific data using state. Our components are starting to look good, but what if we need them to be a little smarter? What if we want to display different content based on a condition, or show a whole list of items dynamically?&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s exactly what we&amp;rsquo;ll tackle in this chapter! We&amp;rsquo;re diving into the essential techniques of &lt;strong&gt;conditional rendering&lt;/strong&gt;, which allows your components to display different UI elements based on certain conditions, and &lt;strong&gt;rendering lists&lt;/strong&gt;, which is how React efficiently displays collections of data. You&amp;rsquo;ll also learn about a crucial concept called &lt;strong&gt;keys&lt;/strong&gt;, which are vital for React&amp;rsquo;s performance and stability when working with lists.&lt;/p&gt;</description></item><item><title>Redis Velocity - Data Store Essentials</title><link>https://ai-blog.noorshomelab.dev/cut-the-chase/redis-velocity/</link><pubDate>Tue, 30 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/cut-the-chase/redis-velocity/</guid><description>&lt;h1 id="redis-velocity---data-store-essentials"&gt;Redis Velocity - Data Store Essentials&lt;/h1&gt;
&lt;p&gt;Redis is an open-source, in-memory data structure store, used as a database, cache, and message broker. Current stable release is Redis 7.2.x, with 7.4.x in release candidate as of late 2025.&lt;/p&gt;
&lt;h2 id="core-syntax"&gt;Core Syntax&lt;/h2&gt;
&lt;p&gt;Basic key-value operations for strings, the simplest data type.&lt;/p&gt;
&lt;div class="highlight"&gt;
&lt;pre class="language-redis-cli line-numbers" data-start="1" tabindex="0"&gt;&lt;code class="language-redis-cli" data-lang="redis-cli"&gt;SET user:1:name &amp;#34;Alice&amp;#34; EX 3600 NX // Set key &amp;#39;user:1:name&amp;#39; to &amp;#34;Alice&amp;#34;, expire in 3600 seconds, only if key does NOT exist.
GET user:1:name // Retrieve the value associated with &amp;#39;user:1:name&amp;#39;.
DEL user:1:name // Delete the key &amp;#39;user:1:name&amp;#39;.
INCR page:views // Increment the integer value of &amp;#39;page:views&amp;#39; by one. Creates key with 0 if non-existent.
DECRBY product:stock 5 // Decrement the integer value of &amp;#39;product:stock&amp;#39; by five.&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;h2 id="essential-patterns"&gt;Essential Patterns&lt;/h2&gt;
&lt;p&gt;Redis offers diverse data structures. Leverage them for efficient data modeling beyond simple strings.&lt;/p&gt;</description></item><item><title>Organizing Data with Python&amp;#39;s Collections</title><link>https://ai-blog.noorshomelab.dev/python-mastery-2025/chapter-5-organizing-data-pythons-collections/</link><pubDate>Wed, 03 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/python-mastery-2025/chapter-5-organizing-data-pythons-collections/</guid><description>&lt;h2 id="chapter-5-organizing-data-with-pythons-collections"&gt;Chapter 5: Organizing Data with Python&amp;rsquo;s Collections&lt;/h2&gt;
&lt;p&gt;Welcome back, coding adventurer! So far, you&amp;rsquo;ve mastered the basics of Python, like storing single pieces of information in variables and making your programs say &amp;ldquo;Hello!&amp;rdquo;. That&amp;rsquo;s fantastic! But what if you need to store &lt;em&gt;many&lt;/em&gt; pieces of information? Imagine you&amp;rsquo;re building a shopping list, a list of your favorite movies, or even a dictionary to translate words. Storing each item in a separate variable would quickly become a chaotic mess!&lt;/p&gt;</description></item></channel></rss>