<?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 acquayefrank on Medium]]></title>
        <description><![CDATA[Stories by acquayefrank on Medium]]></description>
        <link>https://medium.com/@acquayefrank?source=rss-eac83bc0c2e1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*R4GkgdTaAI-wVsq7JJZ3Ow.png</url>
            <title>Stories by acquayefrank on Medium</title>
            <link>https://medium.com/@acquayefrank?source=rss-eac83bc0c2e1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:02:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@acquayefrank/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[Navigating Career Choices: Debunking Myths and Embracing Realities]]></title>
            <link>https://medium.com/@acquayefrank/navigating-career-choices-debunking-myths-and-embracing-realities-77eaa402606f?source=rss-eac83bc0c2e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/77eaa402606f</guid>
            <category><![CDATA[career-advice]]></category>
            <dc:creator><![CDATA[acquayefrank]]></dc:creator>
            <pubDate>Sat, 15 Mar 2025 09:50:14 GMT</pubDate>
            <atom:updated>2025-03-15T09:50:14.280Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p9ZTc0K7cBWA9_JGbwTWcA.jpeg" /></figure><p>We are often told lies about career choices, which usually leads the vast majority of people astray (myself included). Some of these lies include but are not limited to;<br>1: “Follow your dreams” Another variant goes like this, “Listen to your heart” This particular lie is often supported by survivor bias, where a celebrity or uber-successful person says I followed my dreams/passion/heart/gut, and I ended up where I am. Over one hundred more say the same thing yet have nothing to show.<br>2: “Follow your talent” is another lie popularised by successful artists, athletes, etc. I know a few talented footballers who may never play Division One in Ghana, let alone the black stars.<br>3: This third category is less of a lie and more of the reality of most; poor people get jobs, and rich people build careers.” Poor here is not a financial status but rather a lack of opportunity, and rich is more of an abundance of opportunity. And yes, the literal poor and rich also apply here. Most people end up making life choices based on this sad reality.<br>4: “You need grit, resilience, etc. “ This is a lie because if you fail enough times, you will believe you are a failure, and if you succeed enough times, you will succeed. The sad thing is that “enough” is a qualitative measure, which is different for everyone.<br>5: “Romanticised success stories” — This is a bit harder to describe but can often be thought of as “grace to grace”, “the child prodigy”, etc. This is the worst lie; you frequently hear stories of child prodigies and someone who came from grass to grace. My response is to be grateful you had grass to begin with. We live in a win-more world where to succeed at most things, you should have succeeded at other things. Hence, the person who says they walked 8 miles daily to go to school fails to realise there was a school there.</p><p>So what should one do since I have painted a gloomy picture? There is no silver bullet, and what will work for one person may not work for another. But these general rules work for all.</p><p>1: Follow your dreams, passion, etc., but be realistic about what can and cannot happen.<br>2:Find an intersection between what you are talented/good at and what you are passionate about. If you are lucky, it exists.<br>3: Find what the market demands, and see if there is an intersection between your dreams/passion and your talent.<br>4:Depending on your circumstances, you may need to work harder than others would, and that’s the sad truth.<br>5: It’s a win-win scenario, so get your first win.</p><p>PS: This is not a silver bullet but more of a guide. Note that sometimes you have no choice but to get a job and not follow a career.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*viWYQKmjSQOLIU0rqaAtjg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77eaa402606f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating the Hype: Building a Lasting Tech Career Beyond Trends]]></title>
            <link>https://medium.com/@acquayefrank/navigating-the-hype-building-a-lasting-tech-career-beyond-trends-8ee5a5b07f20?source=rss-eac83bc0c2e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ee5a5b07f20</guid>
            <category><![CDATA[tech-coaching]]></category>
            <category><![CDATA[tech-career]]></category>
            <dc:creator><![CDATA[acquayefrank]]></dc:creator>
            <pubDate>Fri, 07 Mar 2025 08:34:00 GMT</pubDate>
            <atom:updated>2025-03-07T08:36:14.119Z</atom:updated>
            <content:encoded><![CDATA[<p>Building a tech career can be alluring, but it’s important to be cautious. The industry’s hype-driven cult, while exciting, can also be a pitfall. It’s not just about getting started, but also about staying relevant in a domain where trends can shift rapidly.</p><p>To illustrate what I mean by a hype-driven cult, I’ll remind you of phrases that have made rounds over the years (not in any particular order):</p><ol><li><strong>“Mobile is the future.</strong>” Although this phrase was accurate, it led to stock drops for some companies. It also led to the idea of an app for everything, and most entrepreneurs said, “Imagine an app…” The whole app craze led to companies raising millions of dollars despite having no valuable products. Guess what? Ultimately, it was still software engineering, albeit for never-seen-before devices. Now they tell us there is app fatigue.</li><li><strong>“Don’t miss out on the cloud</strong>.” or “<strong>Do you have a cloud strategy?</strong>” Another phrase led to the change of job titles from “Dev Ops” to “SRE.” I am often amazed at the hype this got because, technically, the concept of cloud computing has existed since time-sharing. Still, the experts said it, so who am I to say otherwise?</li><li>The third example is my favourite. It went from “<strong>Big Data”</strong> to “<strong>Data Science,” </strong>and now it’s “<strong>LLM</strong>.” The roles were and are even more remarkable: “<strong>Data Engineer</strong>,” “<strong>Data Plumber</strong>,” etc. Ultimately, they were mostly Python data transformations and calling some library to do “<strong>science (fit a curve)</strong>”.</li></ol><p>While I’ve been caught up in the hype myself, I’ve come to realize the importance of foundational knowledge. If the knowledge is so obscure, how can universities churn out degrees a year into the hype? The key is to focus on the science, not just the technology. The technology will change, but the science remains the same. More importantly, learn to learn and keep reinventing yourself.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ee5a5b07f20" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[xmake and fmt rekindle my love ]]></title>
            <link>https://medium.com/@acquayefrank/xmake-and-fmt-rekindle-my-love-fb56ec240ff5?source=rss-eac83bc0c2e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb56ec240ff5</guid>
            <category><![CDATA[devtools]]></category>
            <dc:creator><![CDATA[acquayefrank]]></dc:creator>
            <pubDate>Fri, 26 Jul 2024 09:27:17 GMT</pubDate>
            <atom:updated>2024-07-26T09:27:17.450Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the things I hate about the C++ ecosystem is the tooling(build tools), I know a lot of people will disagree and praise cmake etc but cmake is painful to use especially on legacy codebases so I’ve been trying to find alternatives e.g like cargo for you rust fanboys. <br>I tried a few libraries for package management eg vcpkg and conan but they all seem married to cmake. I came across premake as a highly recommended alternative to cmake but again for package management, I need conan, vcpkg or git submodules(I know it’s not a package manager but if it works, it works). <br>In an attempt to get premake to work with cmake I came across xmake and after trying it out I’m in love. It has everything a modern build system should have. Given that I don’t know how easy it will be to add it to an existing project, so far I’m in love.<br>PS: I came across fmt on vcpkg’s tutorial and that’s just the icing on the cake no more iostream cos that’s expensive and prints will make the C++ guys cry cos it’s not idiomatic.<br>Anyways checkout fmt and xmake. I think these should be great libraries for C++ developers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb56ec240ff5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Surviving as a “data {}”.format(fancy_term) in startup — start with a question]]></title>
            <link>https://medium.com/@acquayefrank/surviving-as-a-data-format-fancy-term-in-startup-start-with-a-question-5f153c50657e?source=rss-eac83bc0c2e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f153c50657e</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[acquayefrank]]></dc:creator>
            <pubDate>Tue, 28 Apr 2020 05:03:30 GMT</pubDate>
            <atom:updated>2020-07-25T09:51:47.068Z</atom:updated>
            <content:encoded><![CDATA[<h3>Surviving in data role at a startup — start with a question</h3><p>I didn’t add a specific job title to the title of this blog because for most startups it’s some kind of fancy job title that’s publicized on the web. But with that said, each startup or business executive in a growing company knows the value that data presents. In most cases, it’s internal data.</p><p>Each executive believes that within the internal data generated by the company, lies the keys to market dominance — and with “<strong>Big Data</strong>” the possibilities are endless.</p><p>But just like the term ‘data mining’ (which in my opinion is the precursor to the <a href="https://towardsdatascience.com/the-sexiest-job-of-the-21st-century-dissected-why-you-need-a-data-scientist-on-your-team-10fa812e440e#:~:text=These%20days%20it%20seems%20like,the%20second%20fastest%20growing%20profession."><strong><em>sexiest job in the 21st century</em></strong></a>), you may mine and find no gold or precious minerals. This often frustrates business executives — how is it possible that the young prospector can’t find any gold? The executive assumes that it’s the prospectors&#39; inability to identify where gold can be found. However, it’s often not the prospectors&#39; fault (or anyone else’s fault for that matter) and this often leaves young <strong><em>“data {}”.format(fancy_term)</em></strong> frustrated and unfulfilled. Worst yet, management can’t understand why the young prospector isn’t making progress.</p><p>I myself have endured and experienced much of the above in more than one organization. Since I have a fascination with telling stories from data, I came to a realization that just like most research, you should always start with a question, and in answering these questions perhaps you may find some value from your data. Because I come from a software engineering background, I would like to think of such questions as <strong>data stories</strong>. I’ve attached a <a href="https://drive.google.com/open?id=1qig9a_xEksMYESdqNRH6f0pf00Nzpwry">PDF</a> guide here that can help you ask the right questions from your data.</p><p>Mind you, I believe this model works best for startups. Also, this model is a guide you can tweak to solve your own needs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f153c50657e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Peculiarities of Python and why I use them.]]></title>
            <link>https://medium.com/@acquayefrank/three-peculiarities-of-python-and-why-i-use-them-239223f48b00?source=rss-eac83bc0c2e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/239223f48b00</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[acquayefrank]]></dc:creator>
            <pubDate>Sun, 24 Mar 2019 17:58:34 GMT</pubDate>
            <atom:updated>2019-05-10T19:21:58.736Z</atom:updated>
            <content:encoded><![CDATA[<p>Programming languages are tools we use to solve problems. Yet most programmers transition from one language to another expecting these tools (programming languages) to behave like their previous languages. i.e why does language <strong>X</strong> not behave like language ​​ <strong>Y</strong> . Well my answer to that is quite simple. If you transition from English to <a href="https://en.wikipedia.org/wiki/Ga_language">Ga</a>, you will obey the rules of <a href="https://en.wikipedia.org/wiki/Ga_language">Ga</a> if you wish to communicate effectively. So, don’t be too caught up in language wars and use the constructs if need be.</p><p>Below are three peculiarities I found when I started using python, but in time I began to appreciate and use them.</p><p><strong>try … except … else</strong></p><p>The first time I came across this I felt one of the laws of nature had been broken. Why would one use exception handling as a means for flow control? In time, I realised there are situations where you need code to run only if the block of code within the try does not fail and unlike the way I would handle it in other languages, I’ve come to love python’s approach.</p><p>An example of such a case is manipulating a database object if successfully retrieved.</p><p>Using try … catch … else</p><pre># using Python 3 and Django &lt;img draggable=&quot;false&quot; class=&quot;emoji&quot; alt=&quot;🙂&quot; src=&quot;<a href="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/svg/1f642.svg">https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/svg/1f642.svg</a>&quot; scale=&quot;0&quot;&gt;<br># try ... except ... else example<br>import logging<br> <br>logger = logging.getLogger(__name__)<br> <br> <br>def un_publish(blog_id)<br>    try:<br>        blog = Blog.objects.get(pk=blog_id, is_published=True)<br>    except Blog.DoesNotExist as e:<br>        logger.info(&quot;blog with id {} does not exist&quot;.format(blog_id))<br>        logger.error(e)<br>    else:<br>        blog.is_published=False<br>        blog.save()<br>        return blog</pre><p>Using try … catch without else</p><pre># using Python 3 and Django &lt;img draggable=&quot;false&quot; class=&quot;emoji&quot; alt=&quot;🙂&quot; src=&quot;<a href="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/svg/1f642.svg">https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/svg/1f642.svg</a>&quot; scale=&quot;0&quot;&gt;<br># try ... except ... example no else<br>import logging<br> <br>logger = logging.getLogger(__name__)<br> <br> <br>def un_publish(blog_id)<br>    # in order to prevent the if blog condition from failing, blog must be defined either before the try block or in the except blog<br>    blog = None<br>    try:<br>        blog = Blog.objects.get(pk=blog_id, is_published=True)<br>    except Blog.DoesNotExist as e:<br>        logger.info(&quot;blog with id {} does not exist&quot;.format(blog_id))<br>        logger.error(e)<br> <br>    if blog:<br>        blog.is_published=False<br>        blog.save()<br>        return blog</pre><p>In the second snippet of code, there are more lines of code, and the worst part is, the developer must remember the state of blog in the whole process. Perhaps it’s just me but I’ve come to love the approach taken in the first snippet of code. 🙂 Here is a good reference on the use of `try … except … else` blocks in Python. <a href="https://stackoverflow.com/questions/16138232/is-it-a-good-practice-to-use-try-except-else-in-python">[link]</a></p><p><strong>Inner Functions</strong><br>In most cases this peculiarity will be called differently, but for our purposes I’ll stick with inner functions. <br>The very first time I came across this was whilst reading a colleagues code at work and I thought to myself, “wow you can do this in python!?”. I could not really find a use case for ever using this peculiarity in my code except when I was developing <a href="https://wiki.python.org/moin/PythonDecorators">decorators</a>. In some rare cases, you have a piece of code which repeats itself within a function and it’s only needed within that said function. You could use an inner function to solve this problem.</p><p>An example could be adding empty rows to a csv file based on specific conditions.</p><pre>def generate_report(start_date, end_date):<br>    # do sales report stuff<br>    sales = Sale.objects.filter(start_date=start_date, end_date=end_date)<br>    number_of_empty_columns = [&quot;&quot;]<br>    for sale in sales:<br>        if sale.number_of_items == 3:<br>            number_of_empty_columns = [&quot;&quot;] * 3<br>        elif sale.number_of_items == 2:<br>            number_of_empty_columns = [&quot;&quot;] * 2</pre><p>In the code above, the number_of_empty_columns could be generated with a function and since this code will only be needed within the generate_report, there is no need to write this piece of code outside the generate_report.</p><pre>def generate_report(start_date, end_date):<br> <br>    def gen_empty_strings(number):<br>        &quot;&quot;&quot;<br>            This method generates a list of empty strings based on the number provided<br>            :param - number is the number of empty strings to be returned<br>        &quot;&quot;&quot;<br>        return [&quot;&quot;] * number<br> <br>    # do sales report stuff<br>     <br>    sales = Sale.objects.filter(start_date=start_date, end_date=end_date)<br>    number_of_empty_columns = gen_empty_strings(1)<br>    for sale in sales:<br>        if sale.number_of_items == 3:<br>            number_of_empty_columns = gen_empty_strings(3)<br>        elif sale.number_of_items == 2:<br>            number_of_empty_columns = gen_empty_strings(2)</pre><p>Although the above code is a simplified use case of inner functions, inner functions can make code cleaner and easier to maintain, but over using it could make code harder to read. Some thoughts on inner functions in python:</p><p><a href="https://softwareengineering.stackexchange.com/questions/232766/when-to-use-python-function-nesting">https://softwareengineering.stackexchange.com/questions/232766/when-to-use-python-function-nesting</a><br><a href="https://stackoverflow.com/questions/1589058/nested-function-in-python">https://stackoverflow.com/questions/1589058/nested-function-in-python</a></p><p><strong>Dictionaries as switch cases</strong></p><p>In case you have not noticed, python has no switch cases for control flow, so most programmers resort to lengthy if statements. What if I told you that the pythonic way to create switch cases is to use a dictionary. Don’t believe me, follow the code below:</p><pre>&quot;&quot;<br>Assuming you needed to show a different kind of menu to different kind of users. You will realise a switch-case may be cleaner than a series of if-statements<br>Note this is demo code<br>&quot;&quot;&quot;</pre><pre>def customer_menu():</pre><pre>    print(&quot;welcome customer&quot;)</pre><pre>    # do customer menu stuff</pre><pre>def admin_menu():</pre><pre>    print(&quot;welcome admin&quot;)</pre><pre>    # do admin menu stuff</pre><pre>def sales_menu():</pre><pre>    print(&quot;welcome sales rep&quot;)</pre><pre>menu = {</pre><pre>    &#39;customer&#39;: customer_menu,</pre><pre>    &#39;admin&#39;: admin_menu,</pre><pre>    &#39;sales&#39;: sales_menu</pre><pre>}</pre><pre># To call a specific menu</pre><pre>selected_menu = menu.get(&#39;customer&#39;, lambda: &quot;Invalid menu choice&quot;)</pre><pre>selected_menu()</pre><p>Perhaps my love for using dictionaries in place of switch cases may be a sign of <a href="https://twitter.com/tlesher/status/608331276307808256">Stockholme Syndrome</a> 🙂</p><p><em>Originally published at </em><a href="https://acquayefrank.wordpress.com/2019/03/24/peculiarities-of-python-and-why-i-use-them/"><em>acquayefrank.wordpress.com</em></a><em> on March 24, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=239223f48b00" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>