<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rodrick Calvin Wamala on Medium]]></title>
        <description><![CDATA[Stories by Rodrick Calvin Wamala on Medium]]></description>
        <link>https://medium.com/@rodcalvin?source=rss-64d5d6e7266f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4wVbVBHxhBSeOtxf_GZMJA.png</url>
            <title>Stories by Rodrick Calvin Wamala on Medium</title>
            <link>https://medium.com/@rodcalvin?source=rss-64d5d6e7266f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 07:28:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rodcalvin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Initial setup of a PostgreSQL server on RHEL 8/9 in a custom directory.]]></title>
            <link>https://medium.com/@rodcalvin/initial-setup-of-a-postgresql-server-on-rhel-8-9-in-a-custom-directory-666d5f751dbd?source=rss-64d5d6e7266f------2</link>
            <guid isPermaLink="false">https://medium.com/p/666d5f751dbd</guid>
            <category><![CDATA[postgresql-server]]></category>
            <category><![CDATA[selinux]]></category>
            <category><![CDATA[rhel-8]]></category>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[rhel-9]]></category>
            <dc:creator><![CDATA[Rodrick Calvin Wamala]]></dc:creator>
            <pubDate>Fri, 31 Jul 2026 09:48:37 GMT</pubDate>
            <atom:updated>2026-09-17T20:16:49.215Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4cETEbpDZdJcO-AS" /><figcaption>Photo by <a href="https://unsplash.com/@sunder_2k25?utm_source=medium&amp;utm_medium=referral">Sunder Muthukumaran</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Setting up a host with a desired package without using packages maintained by Red Hat is a pain🥲 when they are seen as vulnerabilities later on, and you have to remediate the CVEs to reduce the percentage of bugs and exploitations.</p><p>Installing a package the recommended way is the way to go. But sometimes being tied down to the norms of how some of the packages are installed by default is also a pain.</p><p>So here’s one of the ways you can install and set up PostgreSQL in a custom directory other than the default /var/lib/pgsql . My assumptions in this step-by-step article are:</p><ul><li>The host is running on RHEL 8.10 or RHEL9+</li><li>You want to set up with PostgreSQL versions 15+. (As of now, versions 14 and lower are soon to be or already EOL on the <a href="https://www.postgresql.org/support/versioning/">PostgreSQL</a> or <a href="https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle#rhel9_application_streams">Red Hat</a> sites.)</li><li><strong><em>Optional</em></strong>: You mounted a different directory for your PostgreSQL DB data, logs and postgres-WAL (Write-Ahead logging).</li><li>You are mainly using the Red Hat-provided PostgreSQL package.</li></ul><h3>Steps</h3><ol><li>Create a data directory in the custom directory.</li></ol><pre>mkdir /pgsqldb # create custom directory<br><br>cd /pgsqldb   # get into the custom directory<br><br>mkdir data<br><br>## OR do it in one go:<br>mkdir -p /pgsqldb/data</pre><p>2. Point to the desired PostgreSQL version</p><pre><br>dnf module list postgresql<br><br>dnf module reset postgresql -y<br><br>dnf module enable postgresql:&lt;desired-version&gt; -y<br># dnf module enable postgresql:16 -y</pre><p>3. Install PostgreSQL</p><pre>dnf install -y postgresql-server<br><br>#this installs: postgresql, postgresql-server, postgresql-private-libs</pre><p>4. Set ownership and SELinux context on the directory</p><blockquote>PostgreSQL installation will create a user postgres that is used for all PostgreSQL directories. Giving the user the necessary permissions is important.</blockquote><pre># Give postgres ownership of the whole tree<br>chown -R postgres:postgres /pgsqldb</pre><pre># Check the SELinux security context of the created directory<br>ls -Zd /pgsqldb<br><br>#returns unconfined_u:object_r:default_t:s0 /pgsqldb</pre><pre># Apply the PostgreSQL context persistently, then relabel<br>semanage fcontext -a -t postgresql_db_t &quot;/pgsqldb(/.*)?&quot;<br><br><br>restorecon -Rv /pgsqldb</pre><blockquote>semanage fcontext -a -t postgresql_db_t &quot;/pgsqldb(/.*)?&quot; only edits the SELinux <strong>policy database</strong> — it records the rule &quot;anything under /pgsqldb <em>should</em> be labeled postgresql_db_t.&quot; It does not touch the files on disk yet.</blockquote><blockquote>restorecon -Rv /pgsqldb reads that policy and <strong>applies</strong> the label to the actual files, recursively (-R), printing what it changes (-v).</blockquote><p>5. Point `systemd` at the custom data directory</p><blockquote>On RHEL, postgresql-setup reads the data directory location from the service unit&#39;s PGDATA variable — <strong>not</strong> from a command-line flag. Override it with a systemd drop-in:</blockquote><pre>systemctl edit postgresql</pre><p>Add:</p><pre>[Service]<br>Environment=PGDATA=/pgsqldb/data</pre><p>6. Initialize the database</p><pre>postgresql-setup --initdb</pre><p>postgresql-setup now reads PGDATA from the unit and initializes into /pgsqldb/data. Verify:</p><pre>ls /pgsqldb/data<br><br># should contain PG_VERSION, base/, global/, postgresql.conf, ...</pre><p>7. Enable and start the service</p><pre>systemctl enable --now postgresql<br><br>systemctl status postgresql</pre><h3>Optional: Extra Configurations</h3><h4>I. Configure a custom port for PostgreSQL server</h4><p>This is a recent security requirement to avoid or change some of the default settings.</p><ol><li>Set the port in the postgresql.conf file</li></ol><pre>vi /pgsqldb/data/postgresql.conf<br><br><br># type &quot;/port&quot; to search for the word port in the settings<br># uncomment the line with port=5432 and add your custom port in the range of 1-65535<br><br>port=5444<br><br># save the edit</pre><p>2. Allow and add your custom port to the PostgreSQL SELinuxcontext</p><pre># List the allowed SELinux postgresql ports:<br><br>semanage port -l | grep postgresql_port_t<br><br><br># Add the port custom to the context:<br><br>semanage port -a -t postgresql_port_t -p tcp 5444</pre><p>3. Allow the port on the local server firewall</p><pre>firewall-cmd --permanent --add-port=5444/tcp<br><br>firewall-cmd --reload</pre><p>4. Allow binding to all IPv4 or IPv6 interfaces</p><pre>vi /pgsqldb/data/postgresql.conf<br><br># type &quot;/listen&quot; to search for the word listen in the settings<br># uncomment the line with listen_addresses=&#39;localhost&#39; and add a wildcard &#39;*&#39;<br><br>listen_addresses=&#39;*&#39;<br><br># save the edit</pre><p>5. Restart the PostgreSQL service and check if the port is running:</p><pre># Restart the service<br><br>systemctl restart postgresql<br><br><br># check if the ports is among those running<br>netstat -lntup | grep postgres<br># or<br>ss -lntup | grep postgres<br><br># expect 0.0.0.0:5444 for tcp4(ipv4) and ::5444 for tcp6(ipv6)</pre><h4>II. Configure a different logging directory</h4><p>In a scenario where you have a custom directory or mount (ie /pgsqllogs) where you’d want to keep the PostgreSQL logs</p><ol><li>Create the directory</li></ol><pre>mkdir -p /pgsqllogs</pre><p>2. Set ownership, permissions and SELinux context on the directory</p><pre># Give postgres ownership of the whole tree<br>chown -R postgres:postgres /pgsqllogs<br><br># set specific permissions:<br>chmod 700 /pgsqllogs</pre><pre># Check the SELinux security context of the created directory<br>ls -Zd /pgsqllogs<br><br>#returns unconfined_u:object_r:default_t:s0 /pgsqllogs</pre><pre># Apply the PostgreSQL context persistently, then relabel<br>semanage fcontext -a -t postgresql_log_t &quot;/pgsqllogs(/.*)?&quot;<br><br><br>restorecon -Rv /pgsqllogs</pre><p>3. Configure logging in postgresql.conf</p><pre>vi /pgsqldb/data/postgresql.conf<br><br># type &quot;/log_directory&quot; to search for the section in the settings<br># uncomment the line with log_directory=.......&#39; and add the custom directory<br><br>log_directory = &#39;/pgsqllogs&#39;<br><br># you can configure other loggin parameters of your liking and save the edit</pre><p>4. Restart the service</p><pre># Restart the service<br><br>systemctl restart postgresql<br><br><br># switch to user postgres and exit out<br># check if the time of modification on the /pgsqllogs directory has changed<br># and if there are in contents in the directory</pre><h4>III. Configure a different WAL(Write-Ahead Logging) directory</h4><p>In a scenario where you have a custom directory or mount (ie /pgsqlwal), this can be done <strong><em>before-initialization</em></strong> or <strong><em>after-intialization</em></strong> of the database</p><ol><li>Create the directory</li></ol><pre>mkdir -p /pgsqlwal</pre><p>2. Set ownership, permissions and SELinux context on the directory and then pick between A or B</p><pre># Give postgres ownership of the whole tree<br>chown -R postgres:postgres /pgsqlwal<br><br><br># set specific permissions:<br>chmod 700 /pgsqlwal</pre><pre># Check the SELinux security context of the created directory<br>ls -Zd /pgsqlwal<br><br>#returns unconfined_u:object_r:default_t:s0 /pgsqlwal</pre><pre># Apply the PostgreSQL context persistently, then relabel<br>semanage fcontext -a -t postgresql_db_t &quot;/pgsqlwal(/.*)?&quot;<br><br><br>restorecon -Rv /pgsqlwal</pre><h4><strong>A. Before DB initialization (run this between step 5 and 6)</strong></h4><pre># Initialize, passing the WAL location through postgresql-setup<br>PGSETUP_INITDB_OPTIONS=&quot;--waldir=/pgsqlwal&quot; postgresql-setup --initdb</pre><pre># Verify — pg_wal should be a symlink to the new location<br>ls -l /pgsqldb/data/pg_wal</pre><h4>B. After DB initialization (recommended after step 7)</h4><p>3. Stop the service</p><pre>systemctl stop postgresql</pre><p>4. Move the contents of the existing pg_wal directory to the custom /pgsqlwal and delete the old directory</p><pre># move the contents<br><br>cp -pR /pgsqldb/data/pg_wal/* /pgsqlwal<br><br># delete the old directory<br><br>rm -rf /pgsqldb/data/pg_wal</pre><p>5. Create a symbolic link to point</p><pre>ln -s /pgsqlwal /pgsqldb/data/pg_wal<br><br># Verify — pg_wal should be a symlink to the new location<br>ls -ld /pgsqldb/data/pg_wal<br><br># lrwx --- ---  ************   pg_wal -&gt; /pgsqlwal</pre><p>6. Start up the service</p><pre>systemctl start postgresql</pre><h3>Troubleshooting</h3><ul><li><strong>initdb landed in </strong><strong>/var/lib/pgsql/data anyway.</strong> Some older postgresql-setup versions determine PGDATA twice — once via systemctl (respects drop-ins) and once by sed-parsing the raw unit file (ignores drop-ins). Confirm the drop-in exists (systemctl show postgresql -p Environment), run daemon-reload, and re-run initdb on an empty data dir.</li><li><strong>data directory ... has wrong ownership on start.</strong> Re-run chown -R postgres:postgres /pgsqldb.</li><li><strong>SELinux denials on start.</strong> Confirm the context with ls -Zd /pgsqldb/data (should be postgresql_db_t) and re-run restorecon -Rv /pgsqldb.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=666d5f751dbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Resizing Logical and Physical Volumes on a Linux VM]]></title>
            <link>https://medium.com/@rodcalvin/resizing-logical-and-physical-volumes-on-a-linux-vm-1186cdda99a1?source=rss-64d5d6e7266f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1186cdda99a1</guid>
            <category><![CDATA[tufinos]]></category>
            <category><![CDATA[disk-partitioning]]></category>
            <category><![CDATA[vsphere]]></category>
            <dc:creator><![CDATA[Rodrick Calvin Wamala]]></dc:creator>
            <pubDate>Thu, 29 Feb 2024 10:44:03 GMT</pubDate>
            <atom:updated>2024-02-29T10:44:03.331Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LzMsSdbTPNJvJWMH" /></figure><p>For this case, we are looking at a <a href="https://forum.tufin.com/support/kc/R21-3/Content/Suite/2697.htm">tufinOS</a> virtual machine where one has extended the vSphere hard disk storage that was previously 250GB to 512GB and it is not accessible to the Linux operating system. We start with resizing the <strong>physical volume</strong> then the <strong>logical volume</strong>.</p><ol><li>Sign in to your VM running tufinOS; For my case, I use <a href="https://mobaxterm.mobatek.net/download.html">MobaXterm</a> to ssh into the VM with the following command:</li></ol><pre>ssh &lt;username&gt;@xxx.xxx.xxx.xxx</pre><blockquote><strong>Note:</strong></blockquote><blockquote>i) The username is one you created and setup.</blockquote><blockquote>ii) You don’t have to necessarily use SSH. It was just my choice to access the VM.</blockquote><p>2. Gain superuser rights. (This prevents you from typing sudo all the time). This should show root as the user:</p><pre>sudo su</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*fOsfYQXF-lOBhklBi0_ygg.png" /><figcaption>tufin-admin changes to root user</figcaption></figure><p>3. List the available block devices:</p><pre>lsblk</pre><p>This should return list of blocks and show you the logical and physical volumes, the disk order and how they are partitioned. In this case, we see 512G on the disk and yet it is not accounted for in the partitions and logical drives.</p><figure><img alt="Result after running lsblk" src="https://cdn-images-1.medium.com/max/532/1*fV7f4fFvoL1K5H7zuxdHJw.png" /></figure><p>4. Use the parted command, which is used to plan, modify and optimize storage. In this case, we are targeting the disk sda :</p><pre>parted /dev/sdX<br><br>#where in this case X is a &lt;/dev/sda&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*kW4cUjEhmhLw1KjMdsKerA.png" /><figcaption>Initialize parted GNU</figcaption></figure><p>5. Type print to list all partitions and note the number of the partition you are targeting to resize. In this case, we are targeting partition sda3.</p><figure><img alt="output of command print in the parted GNU" src="https://cdn-images-1.medium.com/max/535/1*pqCGQ77mzTEI7zZZdqkPRg.png" /><figcaption>Result of print</figcaption></figure><p>6. Resize the partition 3 or sda3. We see from step 3 and 5 that partition 1 is for bios_grub , partition 2 is for boot, and partition 3(our target) contains the logical volumes we need to resize.</p><p>For this case, we need sda3 to take up all the disk space except the already occupied storage taken by sda1 and sda2. We us the command in the parted GNU:</p><pre>resizepart 3 100%<br><br># this will not return a result...</pre><p>7. Reboot the VM machine and sda3 should show 511G as seen below after running the lsblk command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*8wsk4LpOixK01AZSlnIlMg.png" /><figcaption>lsblk result after reboot.</figcaption></figure><blockquote><strong>Note:</strong></blockquote><blockquote>This does not guarantee that it is accessible to volume group or logical volume resizing, so we have to run extra work to this. <em>😒😒😒🤦‍♂️🤦‍♂️🤦‍♂️</em>I know right? Why was Linux built like this… Let carry on <em>🤸🏾‍♀️🤸🏾‍♀️🤸🏾‍♀️🤸🏾‍♀️🤸🏾‍♀️🤸🏾‍♀️.</em></blockquote><p>8 . Run the physical volume resize command for the extra memory to be accessible for logical volume access:</p><pre>pvresize /dev/sda3<br><br># it should return a result like:<br>.<br>.<br>.<br># Physical volume &quot;/dev/sda3&quot; changed<br># 1 physical volume(s) resized or updated / 0 physical volume(s) not resized</pre><p>9. Type the command vgs to show overall Volume size and Volume size free:</p><p>10. To test if this storage can be used by the logical volumes, we extend a specific amount of space to a logical volume and also resize it depending on the file system it is attached to.</p><blockquote>I am going to target the /var/ directory and that has 59G by default when we had 250G of storage and we are bumping it up by 190G.</blockquote><blockquote>You can use command df -Th to show you the storage usage in Gigabytes and the file system. I knew my logical volume file system was xfs , so I used df -h only.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*T4IMJkh8cg6JnavaIwMhOQ.png" /><figcaption>Result of df -h</figcaption></figure><pre>lvextend -L +190G /dev/VolGroup01/LogVol02<br><br># It shows the result below:<br><br>#  Size of logical volume VolGroup01/LogVol02 changed from 58.59 GiB (15000 extents) to 248.59 GiB (63640 extents).<br>#  Logical volume VolGroup01/LogVol02 successfully resized.</pre><p>The command extend the logical volume by 190G and now we have to resize:</p><pre>xfs_growfs /dev/mapper/VolGroup01-LogVol02</pre><p>This will bump up the logical volume 02 or directory /var/ in storage space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*0biKc8Tcpui1Cg8IfESf2A.png" /><figcaption>Result of df -h after resizing</figcaption></figure><p>Nice time!!!!!!! Add a comment and clap if this article was useful😊😊😊😊😊😊😊😊😊😊😊😊😊😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1186cdda99a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Worldwide Systematic Bias or Discrimination in job searching…]]></title>
            <link>https://medium.com/@rodcalvin/the-worldwide-systematic-bias-or-discrimination-in-job-searching-587c10fb39a2?source=rss-64d5d6e7266f------2</link>
            <guid isPermaLink="false">https://medium.com/p/587c10fb39a2</guid>
            <category><![CDATA[job-search]]></category>
            <category><![CDATA[systematic-bias]]></category>
            <category><![CDATA[burnout]]></category>
            <category><![CDATA[recruitment]]></category>
            <category><![CDATA[job-hunting]]></category>
            <dc:creator><![CDATA[Rodrick Calvin Wamala]]></dc:creator>
            <pubDate>Fri, 09 Sep 2022 09:46:49 GMT</pubDate>
            <atom:updated>2022-09-09T09:46:49.635Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/970/0*ppV0tCkD1Ev4NIqU" /><figcaption>By <a href="https://www.pexels.com/@anntarazevich/">Anna Tarazevich</a>-Pexels</figcaption></figure><p>Well, it is month 2 of being unemployed since I was laid off from work(Company closed😪😪😪😪😪). I am currently volunteering in similar roles (unpaid) to keep my skillset sharp. It has its positives and negatives. With the negatives weighing heavier.👀👀👀👀</p><p>Why you may ask; I am an African from Uganda, a recent graduate with 2 to 3 years of work experience in my mid-twenties at this point, in a society where a man/adult is expected to find an appropriate life out of their guardians’ home or something. No job, just small allowances off some other sources that can only support 1/8 (eighth) of your needs and I am just surviving on savings. Well, I am an optimistic person. So I decided to go use my time while I job hunt to better myself: Volunteer, do courses in some of the concepts I believe I didn&#39;t know well, grow my portfolio as a developer, work on my body goals, network more and learn new things to add on my arsenal of tools.</p><p>WELL, to get to the point that brought us here you say🤔🤔🤔🤔🤔🤔🤔 Let’s get into that now.</p><p>Before I was laid off from the startup where I was working. I had sensed unstable ground and so I started applying to similar jobs as my previous one or even better. Touched up my LinkedIn, started building my website in the vision I had seen it to be, and impact other developers as it is my passion to have someone I lead to greatness under my wings.</p><p>I applied to jobs in the US, Europe, Australia and so on… In short, it didn’t really matter where I landed as long as the company had a culture that I can fit in and one where I would make just enough money to support myself and my family, of course, putting into consideration some places and conditions I didn’t want to work in, I left out. More on that later. Well, I start applying for internships, junior and entry-level roles, and regular roles that don’t require lots of experience cause oh well, I am just starting out, I shouldn’t put my head up so high just to be lying to myself.</p><p>Well, replies came in. Most were rejections with no reason behind them, some talked about my resume not being there yet, and some said my location was not supported for this role and so on.</p><p>Meanwhile, you watch tech news or read articles and you hear about companies where your colleagues worldwide lost jobs. Andela laying off a huge percentage of great developers, BlueStacks, and Shopify laying 10% of its workforce. Boy oh boy, this is scary. I have only talked of a few of these but the list is endless. So these people all have families and want a stable living.</p><blockquote><strong>Eye opener</strong>: Some of those people laid-off regardless of experience or level of seniority all come back to hunt for junior-level jobs and the job-hunger-games begin.</blockquote><p>In addition to this, my continent Africa has great minds but due to average pay being way below the globally observed mark, you find a person with experience and knowledge worth that of a senior or lead role working for peanuts and trust me, they will compete for the same jobs as you are in and outside of Africa. In short, an entry-level job in the UK, the US or Europe might be a dream come true for a senior in some places in Africa. Just to put the cherry on top, added disadvantages are added by default due to race, location and exposure. You see in Africa one might only get the opportunity to learn something related to tech in their early university stages while our counterparts, say in the US, have kids study or interact with tech as early as elementary school.</p><p>Let’s talk about some of the cases of hoaxes worldwide leading to discrimination or systematic bias. I will put them in some sort of stories for some people to relate to:</p><h3>Case 1: Entry-level/Junior/Internship Jobs in Disguise</h3><p>These are jobs that I or you apply for, that have most of your boxes ticked with a salary range between $25,000-$45,000. With little to no experience required. They are eligible for students or recent graduates too sometimes. But hold my beer, that is the ideal and that is a lie. I applied for an internship role in a company with a branch in the US, Japan and recently India. They set questions for my technical interview. I attempted the questions and submitted them. I scored better in some sections and some I didn’t pass. After the interview, I got those questions and consulted some of the people I consider seniors in my field to help me out with solutions just in case I meet those exact questions. The people I consulted all said there is no way these questions were for an internship technical interview or for an entry-level. 🤔🤔🤔🤔</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*U7TeqoO6e-9xDSCIdO3dIQ.jpeg" /><figcaption>Sourced from Indeed.com</figcaption></figure><p>I applied to other companies saying, we require a person who is starting out or just 1 year of experience under their belt we shall train them to the level we want them. I was like this is exactly what I can go for. I apply and their replies were, “Oh no, we require someone with more experience than what you have.” In my head I am confused🤨🤨. Like, you just said the person doesn’t require to know a thing just their passion. I am sure I didn’t read wrong.</p><p>Please, if you are a recruiting manager write appropriate descriptions of what you clearly need. People are going through depression and toying with their feelings is not of any help</p><h3>Case 2: “We hire worldwide” Jobs in disguise</h3><p>While countries around the world have constraints about how you work with foreigners or non-residents. Some companies post jobs all around saying the regions they hire from. Some specifically say the US only, Europe only, and some state the regions where they are willing to work like APAC or EMEA. My problem is with those that say we hire worldwide, don’t state the regions they target and give people hope of getting jobs yet deep down they don’t really hire from those regions.</p><p>I have seen some say we hire worldwide, you reach out to the recruiters of the company and they say the same but the replies from the email state otherwise.</p><p>Please recruiters, can we be mindful of what specific locations we want our employees to come from?</p><h3>Case 3: Amazing Job titles in Disguise</h3><p>Have you come across some confusing job titles that don’t really tell you exactly what you might be working on? I advise you to either make sure you find out what exactly the company requires of you before you agree to join cause trust me you will <a href="https://medium.com/@ivan.khabuyhe1/developer-burnout-is-developer-burnout-becoming-a-serious-concern-1e2d3daff518">go through some sort of burnout</a> while trying to meet all responsibilities.</p><p>And if the company your work for doesn’t care about your <a href="https://www.healthline.com/health/eq-vs-iq#bottom-line">EQ but only your IQ</a>, you are bound to get burnout and that money or benefits won’t fix you in any way. You’ll find companies have a description for a frontend developer also required to do photo and video editing. It is good to fill in many hearts but be careful to avoid burnout which might lead to Depression. A subject that’s taken so lightly in Africa and the black community at large. Stay woke.</p><p>Well, Company owners, team leads and recruiters, while it may happen that you need to make profit for the company through work, get to know that you are working with humans. While they may need to please you or fill in for someone make sure it is not on a regular basis.</p><p>…😬😬😬</p><blockquote>There are other cases I would love to talk about. But allow me to also touch on a sensitive sector where discrimination comes about due to Race or Sexual orientation. While it may be hard to point out that this company is being discriminatory towards the mentioned cases. It happens and is a sensitive topic that should not be over looked. Please and please, let’s all look for equality when vetting for candidates for a specific role.</blockquote><p><strong><em>Everybody is a Genius. But If You Judge a Fish by Its Ability to Climb a Tree, It Will Live Its Whole Life Believing that It is Stupid</em></strong></p><p>Finally, to anyone out there looking for a role. Keep going get better. Don’t get beat down correct that resume, network, practice and get better at your craft. The sky is the limit but also accept it when you are told “you are not good enough for the role” or “you don’t meet the requirements for the role.” I was recently on a LinkedIn live event with the CEO of <a href="https://databento.com/">DataBento</a>, <a href="https://www.linkedin.com/in/christinaqi/">Christina Qi</a>, I asked if the company internship role was available. She replied, “Every role on our website is still open and hires worldwide, I assume you ask why you may not have gotten feedback!” She added that “The reason as to why we no longer give feedback unless you move forward in the next stages of the recruitment process is because some of the candidates that applied felt it was tried to sue me.”</p><p>I was in shock at how entitled someone can feel when they think they are the best match for the role and even threaten to take someone to court for not picking them. Let’s be guided and let’s learn.</p><p>See you in the next story I release….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=587c10fb39a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deciphering the myth of design systems]]></title>
            <link>https://medium.com/@rodcalvin/deciphering-the-myth-of-design-system-5c9da500c15b?source=rss-64d5d6e7266f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c9da500c15b</guid>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[entry-level-designers]]></category>
            <category><![CDATA[ui-design]]></category>
            <dc:creator><![CDATA[Rodrick Calvin Wamala]]></dc:creator>
            <pubDate>Tue, 22 Feb 2022 21:50:21 GMT</pubDate>
            <atom:updated>2022-02-23T21:33:56.812Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deciphering the myth of design systems.</h3><p>As an entry-level UI/UX designer or someone looking to build a brand. You may wonder how do I start. I hear about something called a design system.</p><p>🤔Well then I was just like you. Let&#39;s walk through this together and get a surface understanding of things.</p><blockquote>To decipher this myth, we first of all start with a simple algorithm I learned from someone. “<strong><em>What is it</em></strong><em>?</em>”, “<strong><em>When and where is it used?</em></strong>”, “<strong><em>Why is it used?</em></strong>” and maybe, later on we look at the “<strong><em>How it is done?</em></strong>”. The algorithm might not be in order but let’s chip in and get to work…</blockquote><h4>What is a design system to start with??</h4><p>A design system is a collection of components or items or blocks all following specific standards, and when put together, one gets beautiful products such as website pages, mobile applications, systems and so on. The secret of the myth we are busting is in the standards that are followed and you ask yourself why I say the “standards”. Well then….</p><p>The standards give the product character and the character of the product tells an unnarrated story. You get! These standards or rules alongside the documentation of the components complement the story being told.</p><p><strong><em>Emmet Connolly</em></strong>, director of product design at Intercom, “Most Design Systems are really just Pattern Libraries: a big box of UI Lego pieces that can be assembled in near-infinite ways. All the pieces may be consistent, but that doesn’t mean the assembled results will be. Your product is more than just a pile of reusable UI elements. It has structure and meaning. It’s not a generic web page, it’s the embodiment of a system of concepts.”</p><p>Mmmmhhmmmm 🤔!!! Interesting and confusing right, Well that takes us to the part where we get into <strong>why use a design system.</strong></p><h4>Why is a design system used?</h4><p>This question also answers the when and where a design system is used alongside a number of reasons and benefits of using a design system.</p><ol><li><strong><em>Design systems provide a unified language, a single source of information, that is, components, patterns, styles name it</em></strong><em>.</em> This single branch of resources needed for direction in design unifies disjointed design teams. With a single source of truth, designers move to get the work done faster other than contemplating if padding of 4px is too small compared to 10px on a specific component.</li><li><strong><em>A well-documented design system can serve as an onboarding or educational tool for interns, entry-level designers and also contributors</em></strong>. Well, an example is the well-documented Google <a href="https://material.io/">Material design</a> from 2014 to the present. Any designer whose company uses the design system will testify that it is a matter of reading the documentation.</li><li><strong><em>It improves scalability</em></strong>. For a team with a design system, work will be done faster compared to one without one. A team just uses the already existent components to build something up quickly.</li></ol><p>Well, 💡now that we have mapped some answers to part of the 🪜algorithm. We shall move on to the “<strong>how a design system is made</strong>”.</p><blockquote>Note: There are many factors or methodologies out there that are considered when making design systems but as I said. We are scratching the tip of the iceberg to get the surface understanding of things.</blockquote><h4>How is a design system made?</h4><p>One of the most common methodologies I have come across while creating a design system is the <a href="https://bradfrost.com/blog/post/atomic-web-design/"><strong><em>Atomic Design system by Brad Frost</em></strong></a><strong><em>. </em></strong>This methodology steps away from the subjective things in design like typography, colour, texture, grids and looks at a bigger picture, what most visual items like (website pages, mobile applications or graphical designs) are made of. He breaks the visual items down in a concept similar to the <a href="https://bradfrost.com/wp-content/uploads/2012/11/Screen-Shot-2012-11-13-at-5.15.05-PM.png">periodic table of elements </a>we studied in Chemistry class back in high school:</p><p>Pages -to- templates -to- Organisms -to- Molecules -to- Atoms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jguf9pbJIqGe3CNg.png" /><figcaption>Atomic design methodology by Brad Frost (10, Jun 2013)</figcaption></figure><p>Using this methodology, we shall look at each part starting from an atom going upwards</p><p><strong>1️⃣Atoms: </strong>In this context, an atom is a named entity that stores visual design like colour, font sizes, spacings(paddings or margins), icons. These alone have personal meanings but are fairly abstract. That takes us to the next part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*i5SPUZNAsbqXEjwGmZQZ1g.png" /><figcaption>Two Atoms in design</figcaption></figure><p><strong>2️⃣Molecules or Elements:</strong> Just like in chemistry class, when atoms are combined together, a molecule is formed. But in the context of design, I will use the terms Elements. As you combine atoms, the abstraction of each atom contributes to a achieve a meaningful element such as a button, a heading and so on…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*nlqXS_ROPgBjxrzxRrjeZw.png" /><figcaption>Combined atoms forming element</figcaption></figure><p>3️⃣<strong>Organisms or Patterns: </strong>These consist of a combination of elements and some atoms to form blocks like cards, or the navigation bar for your website page or mobile app design. The elements and tokens complement each other to make components used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/216/1*c_FLVGHS_6tGxCiOZZuAZw.png" /><figcaption>Combined elements and atoms</figcaption></figure><p>And lastly…</p><p>4️⃣<strong>Templates &amp; Pages: </strong>Templates serve as layouts and the pages serve as a combination of all items starting with the smallest, the atom to the biggest the organisms or templates. This is the full embodiment of a design system being used to carry out its work.</p><h4>Conclusion:</h4><p>It all draws back to one phrase, <strong>the standards or rules we are following as designers</strong>, and with these standards defining character built up by blocks like typography, colour, spacing gives descriptions to websites or mobile applications sometimes described as playful or, authentic or, innovative or transparent and so on … I could name a list of words to describe the character of a visual item.</p><p>So fellow Designers Assemble:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*r1_Yr_6FPmOQjGImBCzzlA.png" /><figcaption>Rodrick UI</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c9da500c15b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing the “dlib” library for Windows.]]></title>
            <link>https://medium.com/@rodcalvin/installing-the-dlib-library-for-windows-5add9430eca5?source=rss-64d5d6e7266f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5add9430eca5</guid>
            <category><![CDATA[virtualenv]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[dlib-python]]></category>
            <dc:creator><![CDATA[Rodrick Calvin Wamala]]></dc:creator>
            <pubDate>Tue, 23 Nov 2021 05:49:18 GMT</pubDate>
            <atom:updated>2022-02-24T13:28:43.023Z</atom:updated>
            <content:encoded><![CDATA[<p>Installing some libraries on Windows can be a lesson itself and to all of us Windows diehards that live and die by the sword swung by Windows, let&#39;s contribute to solving each other&#39;s issues, especially with minimal bloatware added.</p><blockquote><strong>Note:</strong> This is a beginner’s 1️⃣tutorial for a person with very little knowledge about this.</blockquote><p>I was working on a facial recognition authentication system for a web system. I stumbled upon different hindrances and barricades during this process. I was following this link:</p><blockquote><a href="https://www.pyimagesearch.com/2018/06/18/face-recognition-with-opencv-python-and-deep-learning/">https://www.pyimagesearch.com/2018/06/18/face-recognition-with-opencv-python-and-deep-learning/</a></blockquote><p>as a reference to set up for my deep learning facial recognition authenticator. As a person exploring this area of machine learning, this was a first and so I tried anything to get the project going. In this article, I will take you through some of the steps I remember using to get <a href="https://pypi.org/project/dlib/"><strong><em>dlib</em></strong></a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*33K_tCpBMv-mjqeh" /><figcaption>uninstall wizard window by <a href="https://unsplash.com/@jeremybezanger?utm_source=medium&amp;utm_medium=referral">Jeremy Bezanger</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><ul><li><a href="https://www.python.org/downloads/windows/"><strong>Install a stable python release</strong></a><strong>: </strong>Please avoid the fever of always getting the latest things(especially libraries) as it is a common disease of most windows 10 and 11 users. Read through and avoid pre-releases.</li><li><strong>Install Visual Studio</strong>: 🤔This raises many questions, why do I have to install such heavy software on my computer. Well, It is heavy alright but only depends on what you select to install through the visual-studio-installer. But well, now enters the question, what do I select in the installer. For this case, I presume you are running the community version. Select the Workloads tab, in the top left corner. And select the following (I will explain why later):</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y7irgAl3MfyZHM5ACtCkLg.png" /><figcaption>Visual Studio Installer with selected workloads</figcaption></figure><p>So our major concern is the <strong>“Desktop development with C++”</strong> workload. Make sure you select the <strong>C++ CMake tools for Windows</strong> option. At this moment, you probably ask yourself why C++, 🤔I thought this was all python! Well, my friend, the answer is on the <a href="http://dlib.net/"><strong><em>dlib website.</em></strong></a></p><blockquote>Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. It is used in both industry and academia in a wide range of domains including robotics, embedded devices, mobile phones, and large high performance computing environments.</blockquote><p>Also based on the history of programming languages, python was built off the C programming language (read more about CPython)</p><blockquote><a href="https://docs.python.org/3/faq/general.html">It has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++.</a></blockquote><p>…</p><p>💡You can as well select the rest of the workloads I selected, as Visual studio does wonders for you by getting some dirty work in the background done.</p><ul><li><strong>Install CMake and configure it: </strong>Alongside the installation of all those packages through Visual Studio, we install CMake, and again we have to read and be careful of what we install (😓This is Windows we are dealing with). Here we ask ourselves 🤔which Windows architecture we are running, either <strong>x64</strong> or <strong>why the hell are you not using x64… </strong>Anyway search for your architecture, and install a corresponding CMake distro. For easier installation, use the installer, you don’t want to be trading unknown grounds.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XBG3fXnCS-X6pJrTAc98rw.png" /><figcaption>Choose the right distro</figcaption></figure><p>By the way, we still have another kind of CMake to install after the two are done. Keep tuned. Cause we are still getting some Windows things done…</p><h4>Note:</h4><p>Since you might need to run CMake in your CMD or shell, Windows doesn’t do this favour for you alongside many software manufacturers…</p><p>😡😡😡😡😡 <strong>Dear Windows and software companies, Make installers that get everything done even asking for the option to add the software to PATH just like python does. Don&#39;t pick a leaf, Pick the whole forest</strong>😡😡😡😡😡</p><p>We have to add it in the environment variables:</p><ol><li>Press Start, type environment. You will see the <strong>Edit the system environment variables </strong>option.</li><li>In the <strong>Advanced</strong> tab &gt; go to <strong>Environment Variables. </strong>A window pops up and you can see <strong>“path”</strong> in the upper section.</li><li>Double click it and another window will pop-up showing all the registered path-variable you have.</li><li>Click on the <strong>New</strong> button and add the location of the bin file. Most probably located C:\Program Files\CMake\bin if you installed CMake in that directory of Program Files.</li><li>Save everything and we are good to go…😎</li></ol><ul><li><strong>Create a virtual environment and Install CMake again:</strong> For this part, go set up a python environment where you will be installing most of the python libraries for the project you are going to run and run the following command:</li></ul><pre>(your-virtualenv): pip install cmake</pre><ul><li><strong>Install the Python dlib library (🤞🏾fingers crossed it works😁):</strong></li></ul><pre>(your-virtualenv): pip install dlib </pre><p>— — — — — — — — — — — — — 😎😎😎😎😎— — — — — — — — — — — We are officially done…. But if all fails….. We have other options that I won’t go into much detail though.</p><ul><li><strong>Download the dlib file:</strong> Download the .zip file with the dlib setup.py file. Extract it in a directory of its own and throw it in the project directory. cd into the directory and run the setup.py file like:</li></ul><pre>(your-virtualenv): cd extracted dlib directory</pre><pre>(your-virtualenv): python setup.py</pre><p>See you around…..🥱🥱🥱🥱🥱🥱</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5add9430eca5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>