<?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 Mayomi Ayandiran on Medium]]></title>
        <description><![CDATA[Stories by Mayomi Ayandiran on Medium]]></description>
        <link>https://medium.com/@mayomi1?source=rss-813543697afb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3UCCX8o2hg6hsxKhZcvA9A.jpeg</url>
            <title>Stories by Mayomi Ayandiran on Medium</title>
            <link>https://medium.com/@mayomi1?source=rss-813543697afb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 05:19:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mayomi1/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[Prompt or Be Prompted: The Beginner’s Guide to Prompt Engineering]]></title>
            <link>https://medium.com/@mayomi1/prompt-or-be-prompted-the-beginners-guide-to-prompt-engineering-7c96e62bb3eb?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c96e62bb3eb</guid>
            <category><![CDATA[prompt]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Tue, 22 Oct 2024 10:09:57 GMT</pubDate>
            <atom:updated>2024-10-22T10:22:06.825Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GkIXFrtuBxPkDACIsw0j3A.jpeg" /><figcaption>AI-generated Image: DALL·E — A modern, vibrant illustration representing ‘Prompt Engineering,’ with a person sitting in front of a computer.</figcaption></figure><p>Table of contents.</p><p>· <a href="#2f7b">Introduction</a><br>· <a href="#1fd2">What is prompt engineering?</a><br>· <a href="#9fe4">Elements of a prompt</a><br>· <a href="#7ccc">Prompt engineering techniques</a><br> ∘ <a href="#06a0">Zero-shot prompting</a><br> ∘ <a href="#76e1">One-shot prompting</a><br> ∘ <a href="#d27f">Few-shot prompting</a><br> ∘ <a href="#1dde">Multi-step prompting</a><br> ∘ <a href="#e076">Chain of thought prompting</a><br> ∘ <a href="#c679">Self-consistency prompting</a><br> ∘ <a href="#5a20">Generated knowledge prompting</a><br> ∘ <a href="#2726">Prompting chaining</a><br> ∘ <a href="#ce45">Role-Playing prompting</a><br> ∘ <a href="#7db3">Conditional prompting</a><br>· <a href="#5a47">Other tips on prompting </a><br>· <a href="#8044">Conclusion</a><br>· <a href="#87dc">Free Resources to continue the journey</a></p><h3>Introduction</h3><p>In this guide, we will be discussing prompt engineering. AI has been on everyone’s lips lately, and there is no doubt that only someone living in a cave or deep under the ocean without internet access would not have heard about ChatGPT or Meta AI. AI tools have been rapidly integrated into our lives, creating both positive and negative impacts. Regardless of your views on these impacts, there is no denying that AI tools are making our lives easier, and they are here to stay whether we like it or not.</p><p>This article is not about debating the impact of these AI tools but rather about how to maximize their utility and use them to our advantage. Throughout this guide, you will learn how to effectively utilize these tools, what elements to include in your prompts, and how to optimize LLMs to provide results that better align with your expectations.</p><h3>What is prompt engineering?</h3><p>First, let’s start with some definitions.</p><p>What is a prompt? A prompt is an input or instruction passed into an AI system. A prompt is the starting word or a piece of text for which you expect an answer(output).<br>Now, what is prompt engineering? I would define prompt engineering as an approach to designing effective prompts to instruct a model to perform a desired task.</p><p>Why do you need to learn how to do prompt engineering? well, the answer is simple! <strong>To prompt effective and the obtain a better desirable output to your input.</strong></p><p>example of a prompt:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*-Vq02wb-IaReEsQ1O4884A.png" /></figure><h3>Elements of a prompt</h3><p>In this section we will exclaim the important components that help structure and optimize your prompt.</p><ol><li><strong>Instruction</strong>: A specific task or instruction you want to perform</li><li>Context: Background information that can help the AI understand the action or task you want to do for a better response.</li><li>Input Data: The input or question we are interested in finding an answer or response for.</li><li>Output indicator: The type or format of output we want our answer to be. for example, a list, paragram, table etc. or how you want in to put the answer. e.g continuing with our Pluto example</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fh9IP5u4Ne6bVwWRVtWP3g.png" /></figure><h3>Prompt engineering techniques</h3><p>You see, chatting with AI isn’t just about typing words and hoping for the best, No, it’s an art form! Think of it as teaching a very literal-minded, but brilliant, alien how to understand your earthling ways.</p><p>So, how do we mere mortals get these silicon-brained marvels to give us the goods? Well, we’ve got an arsenal of prompt-fu moves that would make even Tony Stark’s AI assistant JARVIS do a double-take. Let’s take a whirlwind tour of some crowd favourites:</p><h4>Zero-shot prompting</h4><p>We can also refer to this as “Throw it in the deep and see it if it swims”. When you directly prompt an AI model without any example or demonstration about the task you want to achieve, this is referred to as zero-shot prompting.</p><p>This works by defining <strong>clear</strong> tasks of the AI, then the model generates a response attempting to fulfil the request.</p><p>It is ideal for quick and uncomplicated tasks.</p><p>Examples</p><ol><li>Classification: “Categorize this body as a star or planet: Pluto”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uGb0CEY4xfaL_BdkN5aPgQ.png" /></figure><p>2. Translation: “Translate the following English text to Spanish: Pluto is a dwarf planet”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6zMGjYArgrzkc93XZpCUxg.png" /></figure><p>3. Summarization: “Provide a summary of the following paragraph”</p><p>Zero-shot limitations are:</p><ul><li>May be less accurate for complex or highly specific tasks.</li><li>Performance can vary based on how well the task aligns with the model’s training.</li></ul><h4>One-shot prompting</h4><p>One-shot prompting is when you provide a single example to guide the AI model in performing a task or answering a question. It is likened to saying “Here’s one example, now you try”</p><p>It is useful for consistent formatting or style.</p><p>How this works:</p><ul><li>You present a single example of the task and its solution</li><li>You then present a new, similar task for the AI to solve.</li><li>AI uses the provided example as a template to understand and complete the new task</li></ul><p>Examples</p><p>Input: Multiple the numbers 10, 6, 20. <br>Answer = 1200<br>Input: Multiple the numbers 5, 7, 8.<br>Answer =</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r4u5y69o9z4xkTGyx9kKiQ.png" /></figure><p>Input: “Pluto is a star.”<br>Answer: “Wrong”<br>Input: “Sun is a star”<br>Answer:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PVp6SccG-5GhnMP1kUc6Tg.png" /></figure><p>Limitations</p><ul><li>Example bias: the choice of example can significantly influence the output</li><li>Not always necessary: for simple tasks, zero-shot might be sufficient</li></ul><p>One-shot prompting is particularly useful when you want to give the AI a clear idea of the expected output format or approach without spending too much time on extensive examples.</p><h4>Few-shot prompting</h4><p>This technique is similar to the one-shot but in this case, more than one example is provided, this adds more context for the model to learn such that the prompt provides demonstrations to steer the model for better performances.</p><p>Keys aspects</p><ul><li>Multiple examples</li><li>Pattern recognition</li><li>Increased accuracy</li></ul><p>How it works:</p><ul><li>You present several examples of the task and their corresponding solutions</li><li>You then present a new, similar task for the AI to solve.</li><li>The AI uses the provided examples as a template to understand and complete the new task.</li></ul><p>Examples</p><pre>Example 1:<br>Input: &quot;The restaurant was clean and the food was delicious.&quot;<br>Output: Positive review<br><br>Example 2:<br>Input: &quot;The movie had terrible acting and a boring plot.&quot;<br>Output: Negative review<br><br>Example 3:<br>Input: &quot;The hotel room was okay, but the view was amazing.&quot;<br>Output: Mixed review<br><br>Now classify this review:<br>Input: &quot;The concert was loud and crowded, but the band played well.&quot;<br>Output:</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ru2G0SRv7kzTC6PcxVxlsg.png" /></figure><p>Limitations:</p><ul><li>Time-consuming: Requires more setup time compared to zero-shot or one-shot prompting.</li><li>Potential for overfitting: The AI might rely too heavily on the specific examples provided.</li><li>Token usage: Uses more tokens, which can be a consideration for API-based models with usage limits.</li></ul><p>Use cases:</p><ol><li>Complex classification tasks</li><li>Generating content in a specific style or format</li><li>Solving multi-step problems</li><li>Teaching the AI to follow specific reasoning processes</li></ol><h4>Multi-step prompting</h4><p>Multi-step prompting is an advanced technique in prompt engineering where a complex task is broken down into a series of smaller, manageable steps.</p><p>How it works</p><ul><li>The overall task is analyzed and divided into discrete steps</li><li>Each step is formulated as a separate prompt.</li><li>The AI processes each step sequentially, using outputs from previous steps as needed.</li><li>The final output is a result of this step-by-step process.</li></ul><p>How is it different from few-shot</p><ul><li>Multi-step explicitly tell model what to do while few-shot are Questions and answers the model learns from.</li></ul><p>Examples</p><ol><li>Problem-Solving Scenario:</li></ol><pre>Step 1: &quot;Describe all the factors that could be causing a smartphone to overheat.&quot;<br>Step 2: &quot;Rank these factors by likelihood based on common user experiences.&quot;<br>Step 3: &quot;For the top 3 most likely causes, provide diagnostic steps.&quot;<br>Step 4: &quot;For each diagnosis, provide potential solutions.&quot;<br>Step 5: &quot;Create a troubleshooting flowchart combining all this information.&quot;</pre><p>2. Creative Writing Process:</p><pre>Step 1: &quot;Create three character profiles for a mystery story.&quot;<br>Step 2: &quot;Develop a crime scenario involving these characters.&quot;<br>Step 3: &quot;Write the opening scene that introduces the mystery.&quot;<br>Step 4: &quot;Generate clues and red herrings.&quot;<br>Step 5: &quot;Craft the revelation scene using the developed elements.&quot;</pre><p>3. Educational Lesson Plan:</p><pre>Step 1: &quot;Outline learning objectives for a specific topic.&quot;<br>Step 2: &quot;Create an engaging introduction activity.&quot;<br>Step 3: &quot;Develop main lesson content and examples.&quot;<br>Step 4: &quot;Design practice exercises and assessments.&quot;<br>Step 5: &quot;Create homework assignments and extension activities.</pre><p>Limitations</p><ul><li>Time-consuming: Requires more setup time compared to zero-shot or one-shot prompting</li><li>Complexity: Can be challenging to design an effective multi-step process.</li><li>Error propagation: mistakes in early steps can affect later outputs.</li></ul><p>Some good use cases:</p><ol><li>Complex problem-solving</li><li>In-depth analysis of texts or data</li><li>Decision-making processes</li><li>Step-by-step explanations or tutorials</li></ol><h4>Chain of thought prompting</h4><p>This technique encourages AI models to break down complex reasoning tasks into a series of intermediate steps, similar to human thought processes. AI shows its work like your math teacher always wanted.</p><p>Key aspects of Chain of Thought prompting:</p><ul><li>Step-by-step reasoning: Encourages the AI to show its work, not just the final answer.</li><li>Improved problem-solving: Helps in tackling complex tasks by breaking them down.</li><li>Transparency: Makes the AI’s reasoning process visible and interpretable.</li><li>Versatility: Applicable to various domains like math, logic, and analysis.</li></ul><p>How it works:</p><ul><li>The prompt explicitly asks the AI to think through the problem step-by-step.</li><li>The AI provides both intermediate reasoning steps and the final answer.</li><li>This process can be combined with few-shot learning for even better results.</li></ul><p>Examples</p><ol><li>Math Problem Solving:</li></ol><blockquote>Prompt: “Solve this word problem step-by-step: If a train travels 120 miles in 2 hours, how far will it travel in 5 hours? Show your reasoning for each step.”</blockquote><p>2. Logic Puzzle:</p><blockquote>Prompt: “Using step-by-step reasoning, solve this puzzle: In a room, there are cats and dogs. If there are 20 heads and 56 legs in total, how many cats and how many dogs are there? (Remember: cats have 4 legs, dogs have 4 legs)”</blockquote><p>3. Historical Analysis</p><blockquote>Prompt: “Using chain of thought reasoning, analyze the major causes that led to World War I.”</blockquote><p>Limitations:</p><ul><li>Verbosity: Responses are longer, which may not always be desirable.</li><li>Potential for error propagation: Mistakes in early steps can affect the final answer.</li><li>May not always be necessary: For simple tasks, it could be overkill.</li></ul><h4>Self-consistency prompting</h4><p>In self-consistency, the AI model aims to improve the accuracy and reliability of responses by generating multiple solutions to the same problem and then aggregating them. This is you asking the AI to double-check its homework.</p><p>Key aspects:</p><ol><li>Multiple generations: The AI produces several independent answers to one prompt.</li><li>Diverse reasoning: Each generation may use a different approach.</li><li>Aggregation: The multiple answers are combined for a final result.</li><li>Improved accuracy: Offen leads to better performance on complex tasks.</li></ol><p>How it works:</p><ol><li>Use a single prompt to generate multiple responses.</li><li>Each response includes reasoning (often using chain of Thought)</li><li>Analyze responses for consistency and correctness</li><li>Select the most consistent or common answer as the final output</li></ol><p>Examples:</p><ol><li>Math Problem Solving:</li></ol><pre>Prompt: &quot;Solve this problem through multiple approaches:<br>If a shirt costs $45 and is on sale for 30% off, then has an additional 15% discount applied, what&#39;s the final price?&quot;<br><br>Possible answer: <br><br>Path 1 (Percentage sequential):<br>1. First 30% off: $45 × 0.70 = $31.50<br>2. Then 15% off $31.50: $31.50 × 0.85 = $26.78<br>Final price: $26.78<br><br>Path 2 (Combined percentage):<br>1. Combined discount: 30% + 15% - (30% × 15%) = 40.5%<br>2. Total discount: $45 × 0.405 = $18.23<br>3. Final price: $45 - $18.23 = $26.77<br><br>Path 3 (Decimal multiplication):<br>1. Remaining after discounts: (1 - 0.30) × (1 - 0.15) = 0.595<br>2. Final price: $45 × 0.595 = $26.78<br><br>Consensus: $26.78 (majority agreement)</pre><p>2. Language Translation Verification:</p><pre>Prompt: &quot;Translate &#39;The early bird catches the worm&#39; into Spanish using different approaches:&quot;<br><br>Version 1 (Literal translation):<br>&quot;El pájaro temprano atrapa el gusano&quot;<br><br>Version 2 (Idiomatic equivalent):<br>&quot;A quien madruga, Dios le ayuda&quot;<br><br>Version 3 (Semantic translation):<br>&quot;El que madruga, consigue lo que busca&quot;<br><br>Consensus: &quot;A quien madruga, Dios le ayuda&quot; <br>(Most culturally appropriate equivalent)</pre><p>Limitations:</p><ul><li>Computationally intensive</li><li>Time-consuming</li><li>Requires aggregation logic</li></ul><p>Self-consistency prompting is particularly effective when combined with other techniques like Chain of Thought, especially for complex reasoning tasks.</p><h4>Generated knowledge prompting</h4><p>Generated knowledge prompting is an innovative technique in prompt engineering that involves using an AI model to generate relevant information or context before answering a question or completing a task. This approach aims to enhance the AI’s performance by providing it with additional, task-specific knowledge. Like giving the AI a cheat sheet before a test.</p><p>How it works:</p><ol><li>The AI is first prompted to generate relevant information about the topic.</li><li>This generated knowledge is then included in a second prompt along with the original question.</li><li>The AI uses both the original question and the generated knowledge to formulate its final response.</li></ol><p>Examples</p><blockquote>Original question: “What were the major causes of the French Revolution?”</blockquote><blockquote>Step 1: Generate knowledge<br>Prompt: “Generate a brief overview of key events and conditions leading up to the French Revolution.”</blockquote><blockquote>Step 2: Answer the question Prompt: “Using the following background information, what were the major causes of the French Revolution?</blockquote><p>Limitations:</p><ul><li>Increased complexity: Requires a two-step process, which can be more time-consuming.</li><li>Potential for error propagation: Inaccuracies in the generated knowledge could lead to flawed final answers.</li><li>Resource intensity: May require more computational resources than simpler prompting techniques.</li></ul><p>Generated knowledge prompting is particularly useful for tasks requiring in-depth understanding or specialized knowledge. It allows the AI to effectively “research” a topic before providing an answer, often resulting in more comprehensive and accurate responses.</p><h4>Prompting chaining</h4><p>Prompt chaining, also known as chaining or sequential prompting, is a technique in prompt engineering where multiple prompts are used in sequence, with the output of one prompt serving as input for the next. This method allows for breaking down complex tasks into smaller, more manageable steps, and can lead to more accurate and detailed results.</p><p>Key aspects of prompt chaining:</p><ol><li>Sequential processing: Tasks are broken down into a series of smaller steps.</li><li>Output-input flow: The output from one step becomes the input for the next.</li><li>Modularity: Each step can be optimized independently.</li><li>Flexibility: Allows for handling complex tasks that might be difficult with a single prompt.</li></ol><p>How it works:</p><ol><li>The overall task is analyzed and divided into a sequence of subtasks.</li><li>Each subtask is formulated as a separate prompt.</li><li>The prompts are executed in order, with each prompt using the output from the previous step.</li><li>The final output is the result of the last prompt in the chain.</li></ol><p>Examples of prompt chaining:</p><ol><li>Social Media Campaign Chain:</li></ol><pre>Chain Goal: Develop a product launch campaign<br><br>Step 1: Campaign Theme<br>Prompt: &quot;Generate potential themes for launching an eco-friendly water bottle.&quot;<br>Output: Campaign themes<br><br>Step 2: Content Calendar<br>Prompt: &quot;Using the chosen theme, create a 2-week content calendar outline.&quot;<br>Output: Content calendar<br><br>Step 3: Post Creation<br>Prompt: &quot;For each calendar entry, create the post text and suggested visuals.&quot;<br>Output: Individual posts<br><br>Step 4: Hashtag Strategy<br>Prompt: &quot;Based on these posts, develop a hashtag strategy.&quot;<br>Output: Hashtag recommendations<br><br>Step 5: Engagement Plan<br>Prompt: &quot;Create an engagement strategy for responding to comments and interactions.&quot;<br>Output: Engagement guidelines</pre><p>2. Educational Content Chain:</p><pre>Chain Goal: Create a lesson plan about photosynthesis<br><br>Step 1: Learning Objectives<br>Prompt: &quot;Define key learning objectives for teaching photosynthesis to 8th graders.&quot;<br>Output: Learning objectives<br><br>Step 2: Content Organization<br>Prompt: &quot;Using these objectives, create a lesson outline with key concepts.&quot;<br>Output: Lesson outline<br><br>Step 3: Activity Development<br>Prompt: &quot;Based on this outline, design interactive activities for each concept.&quot;<br>Output: Learning activities<br><br>Step 4: Assessment Creation<br>Prompt: &quot;Create assessment questions based on the learning objectives and activities.&quot;<br>Output: Assessment materials<br><br>Step 5: Lesson Plan Assembly<br>Prompt: &quot;Combine all elements into a complete lesson plan with timing and materials needed.&quot;<br>Output: Complete lesson plan</pre><p><strong>Limitations</strong>:</p><ol><li>Time-consuming: Multiple API calls may be needed, increasing processing time.</li><li>Error propagation: Mistakes in early steps can affect later outputs.</li><li>Complexity: Designing effective chains can be challenging and may require experimentation.</li><li>Cost: More API calls may mean higher costs when using paid services.</li></ol><p>Use cases:</p><ol><li>Multi-step data processing (e.g., extract, transform, summarize)</li><li>Content creation workflows (e.g., generate ideas, outline, write, edit)</li><li>Language tasks (e.g., translate, simplify, change tone)</li><li>Analysis tasks (e.g., summarize, categorize, sentiment analysis)</li><li>Problem-solving (e.g., break down problem, solve parts, combine solutions)</li></ol><p>Prompt chaining is a powerful technique that allows for tackling complex tasks by leveraging the strengths of language models in a structured way. It’s particularly useful when a task naturally breaks down into a sequence of steps, each of which can be effectively handled by the AI.</p><h4>Role-Playing prompting</h4><p>Role-playing prompting is a technique in prompt engineering where the AI model is instructed to assume a specific role or persona when responding to queries. This approach can be particularly effective in eliciting responses that are tailored to a specific perspective, expertise, or style.</p><p>Key aspects of role-playing prompting:</p><ol><li>Character assumption: The AI takes on a specific role or persona.</li><li>Perspective shift: Responses are tailored to the assumed role’s viewpoint or expertise.</li><li>Contextual responses: The AI considers the role’s background, knowledge, and style.</li><li>Versatility: Can be applied to various scenarios, from creative writing to professional consultations.</li></ol><p>How it works:</p><ol><li>The prompt defines a specific role or persona for the AI to assume.</li><li>Additional context or background for the role may be provided.</li><li>The AI is then asked to respond to questions or perform tasks from this perspective.</li></ol><p>Examples of role-playing prompting:</p><blockquote>Prompt: “You are a seasoned detective from the 1940s, known for your sharp wit and no-nonsense attitude. A wealthy businessman has approached you to investigate the theft of a valuable painting from his mansion. Describe how you would begin your investigation.”</blockquote><blockquote>Prompt: “You are Socrates encountering modern social media. Using your method of questioning, explore the implications of this technology on society and wisdom.”</blockquote><blockquote>Prompt: “You are the world’s most patient and understanding IT support specialist. A user who keeps referring to their mouse as ‘the hand thing’ and their browser as ‘the internet button’ needs help setting up their email.”</blockquote><p><strong>Limitations</strong>:</p><ol><li>Potential for stereotyping: Care must be taken to avoid reinforcing harmful stereotypes.</li><li>Accuracy concerns: The AI’s portrayal of a role may not always be historically or factually accurate.</li><li>Consistency challenges: Maintaining a consistent persona across a long interaction can be difficult.</li><li>Ethical considerations: Role-playing should not be used to impersonate real individuals or spread misinformation.</li></ol><p>Use cases:</p><ol><li>Creative writing: Developing character voices and perspectives.</li><li>Education: Simulating historical figures or experts in various fields.</li><li>Customer service training: Practicing different scenarios and client types.</li><li>Therapy and counseling: Exploring different perspectives or practicing interventions.</li><li>Business strategy: Approaching problems from various stakeholder viewpoints.</li><li>Entertainment: Creating interactive storytelling experiences.</li></ol><p>Example roles that could be assumed:</p><ul><li>Historical figures (e.g., “You are Leonardo da Vinci…”)</li><li>Professionals (e.g., “You are an experienced psychologist…”)</li><li>Literary characters (e.g., “You are Sherlock Holmes…”)</li><li>Abstract concepts (e.g., “You are the personification of Time…”)</li></ul><p>Role-playing prompting can be a powerful tool for generating diverse and context-specific responses. It’s particularly useful in scenarios where a unique perspective or specialized knowledge is required. However, it’s important to use this technique responsibly and be aware of its limitations and potential biases.</p><h4>Conditional prompting</h4><p>Conditional prompting is a technique in prompt engineering where the AI’s response is guided by specific conditions or scenarios provided in the prompt. This method allows for more dynamic and context-sensitive interactions with the AI.</p><p>Key aspects of conditional prompting:</p><ol><li>Scenario-based: The prompt presents different conditions or scenarios.</li><li>Branching responses: The AI’s answer changes based on the given conditions.</li><li>If-then structure: Often uses “if-then” or similar logical constructs.</li><li>Versatility: Allows for handling multiple potential situations within a single prompt.</li></ol><p>How it works:</p><ol><li>The prompt outlines various conditions or scenarios.</li><li>Each condition is associated with a specific type of response or action.</li><li>The AI analyzes the conditions and responds accordingly.</li></ol><p>Example of a conditional prompt:</p><p>“You are a customer service AI for an online bookstore. Respond to the following customer inquiry:</p><p>‘I haven’t received my order yet.’</p><p>If the order was placed within the last 3 days, apologize for the delay and assure the customer that orders typically take 3–5 business days to arrive.</p><p>If the order was placed more than 5 days ago, express concern, ask for the order number, and offer to track the package.</p><p>If the customer doesn’t mention when they placed the order, politely ask for the order date and number for further assistance.”</p><p>Use cases:</p><ol><li>Customer service chatbots</li><li>Decision-making algorithms</li><li>Interactive storytelling</li><li>Troubleshooting guides</li><li>Educational tools with adaptive responses</li></ol><p>Conditional prompting is particularly useful when you need the AI to provide different responses based on varying circumstances or user inputs. It allows for more dynamic and context-aware interactions.</p><h3>Other tips on prompting</h3><ul><li>Start simple then improve your prompt.</li><li>The instruction: use verbs like; write, classify, summarize, translate, order etc</li><li>Specificity: Be specific about instruction and task, the more descriptive and detailed the prompt is, the better the results.</li><li>Avoid impreciseness: To do or not to do? tell it what you want and what you don’t want.</li></ul><p>No prompt can be perfect at the beginning, that is why there is another process called Iterative prompt engineering where the prompt is refined and developed through repeated cycles of testing and improvement. This method aims to optimize the AI’s responses by gradually enhancing the prompt based on observed results.</p><p>Here are iterative prompt engineering works</p><ul><li>Initial prompt design: create a baseline prompt based on the task requirements.</li><li>Testing: Use the prompt with the AI and analyze the responses.</li><li>Evaluation: Assess the output against predefined criteria or goals</li><li>Identification of issues: Pinpoint areas where the prompt falls short.</li><li>Refinement: Modify the prompt to address identified issues</li><li>Repeat: Test the refined prompt and continue the cycle until satisfactory results are achieved.</li></ul><p>Example of iterative prompt engineering</p><p>Initial Prompt: “Summarize the main points of climate change.”</p><p>Iteration 1: Analysis: Response too vague and general. <br>Refined Prompt: “Provide a concise summary of the key causes and effects of climate change, focusing on scientific consensus.”</p><p>Iteration 2: Analysis: Improved, but lacks structure. <br>Refined Prompt: “List the top 3 causes and top 3 effects of climate change according to current scientific consensus. For each point, provide a brief one-sentence explanation.”</p><p>Iteration 3: Analysis: Good structure, but missing recent developments. Refined Prompt: “List the top 3 causes and top 3 effects of climate change according to the most recent scientific consensus. For each point, provide a brief one-sentence explanation. Include any significant developments or findings from the past 5 years.”</p><p>Best practices:</p><ol><li>Set clear goals: Define what success looks like for your prompt.</li><li>Keep a log: Document each iteration, including the changes made and their effects.</li><li>Test systematically: Use a consistent set of test cases across iterations.</li><li>Consider edge cases: Test the prompt with unusual or challenging inputs.</li><li>Seek feedback: Involve end-users or subject matter experts in the evaluation process.</li><li>Balance specificity and generalization: Aim for prompts that are specific enough to be effective but general enough to handle a range of inputs.</li></ol><p>Iterative prompt engineering is for developing highly effective prompts, especially for complex or nuanced tasks. It embodies the principle of continuous improvement, allowing for the creation of prompts that consistently produce high-quality AI responses.</p><h3>Conclusion</h3><p>We’ve explored several powerful prompting techniques, from the basic to the advanced, but we’ve only scratched the surface of this rapidly evolving field. Think of what we’ve covered as your starter toolkit. I have gathered a list of resources you are using to continue learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*Vrxn60s3naO9BXbxAtkceQ.gif" /><figcaption><a href="https://tenor.com/en-GB/view/snoopy-congrats-congratulations-greetings-gif-12520990">https://tenor.com/en-GB/view/snoopy-congrats-congratulations-greetings-gif-12520990</a></figcaption></figure><h3>Free Resources to continue the journey</h3><ul><li><a href="https://learnprompting.org/docs/introduction">Prompt Engineering Guide: The Ultimate Guide to Generative AI</a></li><li><a href="https://www.coursera.org/learn/prompt-engineering">Prompt Engineering for ChatGPT</a></li><li><a href="https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/">ChatGPT Prompt Engineering for Developers</a></li><li><a href="https://www.promptingguide.ai/">Prompt Engineering Guide | Prompt Engineering Guide</a></li></ul><p>Papers</p><p><a href="https://www.promptingguide.ai/papers">Papers | Prompt Engineering Guide</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c96e62bb3eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to fix: ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES) on…]]></title>
            <link>https://medium.com/@mayomi1/how-to-fix-error-1045-28000-access-denied-for-user-root-localhost-using-password-yes-on-854294790970?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/854294790970</guid>
            <category><![CDATA[mysql]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Tue, 19 Nov 2019 10:21:31 GMT</pubDate>
            <atom:updated>2020-09-08T16:08:32.375Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to fix: ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES) on mac</h3><p>Sometimes you get this error when you do</p><pre>mysql -u root -p</pre><p>To fix this error, open your settings, click on the mysql icon</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OA2Jnap4HF42j5sKkdBk9g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H9QKAL5HfGQNDQc0ToXSvw.png" /><figcaption>Stop the MYSQL server, then press initiaze database</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8A7wEGGr6nU82Yvr_XaiA.png" /><figcaption>enter a password and choose, use legacy passsword encryption</figcaption></figure><p>then start the server again.</p><p>Now open your terminal and type</p><pre>mysql -u root -p</pre><p>and enter your password.</p><p>Hopefully your mysql is logged in now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*pIgMUQMIs-lLEgle_TPb8Q.gif" /><figcaption><a href="http://cliparting.com/free-happy-birthday-gif-43712/">http://cliparting.com/free-happy-birthday-gif-43712/</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=854294790970" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Star Developer Series: Omolara Adejuwon]]></title>
            <link>https://medium.com/consonance/star-developer-series-omolara-adejuwon-f74f87aaee9f?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f74f87aaee9f</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[consonance]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 07:49:32 GMT</pubDate>
            <atom:updated>2018-04-08T07:49:32.892Z</atom:updated>
            <content:encoded><![CDATA[<p>#consonanceIsOne special day</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*pPbtGaszINjW312d04sYaA.jpeg" /></figure><p>In celebration of Consonance’s one year anniversary we had #stories session with <a href="https://medium.com/u/bf87f3641b6c">Omolara Adejuwon</a> as our star developer on Twitter. Omolara is the CTO of gokadaNG, here is her story.</p><blockquote>This is the first time I will be sharing my story of how I got into tech on twitter and I can consider it a great pleasure doing it right now. Thank you <a href="https://twitter.com/consonanceng">@consonanceng</a> for bringing this up and allowing me. <a href="https://twitter.com/hashtag/ConsonaneIsOne?src=hash">#ConsonaneIsOne</a></blockquote><blockquote>I am Omolara Adejuwon. I graduated from Computer Science and Engineering department of OAU. I build Android and iOS applications and as a hobby, I write PHP to satisfy my backend needs as a mobile app developer. I currently manage the Engineering team at <a href="https://twitter.com/GokadaNG">@GokadaNG</a>.</blockquote><blockquote>Well, I picked up interest in computer related stuffs when I was in SS3. Like almost Junior School students’ dreams, I wanted to be a medical doctor.</blockquote><blockquote>When I saw how boring Biology was and how my As were steady in Maths, I knew immediately that Medicine wasn’t meant for me. I started considering Engineering as the next available option.</blockquote><blockquote>The interest in computing developed when my dad bought our family’s first computer and Mavis Beacon was installed. I got myself wondering how that was possible. Then Computer Engineering came into the picture.🤓</blockquote><blockquote>I wrote two JAMB exams (4 course options) and one OAU’s pre degree (3 course options), I chose Computer Engineering 5 times out of 7. There was how much I wanted that course.</blockquote><blockquote>Fast forward to after Pre-degree and I had to wait for about 4 months for OAU to resume a new session. I knew I couldn’t be sitting at home. Even if I wanted, my mum’s numerous chores wouldn’t have allowed me.😛</blockquote><blockquote>My parents agreed to enroll me in an apprenticeship program where I learnt how to repair computers. Just to mention, clients were always surprised to see a young girl like me doing stuff like that. In a way, that informed me to do more.💪</blockquote><blockquote>I used to ‘buga’ a lot then about my knowledge and my dad used to invite me to check and repair his colleagues’ computers then. Some of them were nice enough to give me tips after each service.😀</blockquote><blockquote>School resumed and 100L started, the story changed a bit. 200L came around and I was introduced to FORTRAN. That was my first interaction with a programming language🙄 . To be honest, I didn’t know there was something of such before.</blockquote><blockquote>For some reasons, I didn’t like that FORTRAN class. I concluded in my mind that my career as a Computer Engineer was all going to be about hardware, networking. I said to myself and friends that writing codes was not my thing.</blockquote><blockquote>Then, it was time for 200L SIWES + break. My classmates (<a href="https://twitter.com/goke_">@goke_</a> , <a href="https://twitter.com/yemexx1">@yemexx1</a> and <a href="https://twitter.com/_jidesakin">@_jidesakin</a> ) passed a flyer in class. They had planned a program for those were interested in learning Java and some other languages. The program was to happen during the break.</blockquote><blockquote>Again, I was not interested in being idle at home. I indicated interest and that’s how the whole journey into development started.</blockquote><blockquote>I have forgotten how many weeks the program lasted, but I learnt the basics of Java and built my first J2ME app and more during the program. I kept on learning, reading and asking questions. I still do these.</blockquote><blockquote>Another SIWES+break came around in 300L. So there was this program called AITI. I was introduced to Android Development but I could not do anything with it cos I was using an HP Mini that could not run Eclipse without hanging.</blockquote><blockquote>At the end of the program, we were grouped into teams and my team decided to do something with J2ME. My team had <a href="https://twitter.com/talk2mayor30">@talk2mayor30</a> . We came second to the last though but that didn’t set me back.</blockquote><blockquote>The whole learning continued and it was time for 400L Internship. My HP Mini decided to have fault at this time. My loving dad bought a bigger HP for me. <a href="https://twitter.com/hashtag/ConsonanceIsOne?src=hash">#ConsonanceIsOne</a></blockquote><blockquote>I interned at MTech Nigeria for 10 months. Thanks to <a href="https://twitter.com/nnanna217">@nnanna217</a> for linking me up. Thanks to OAU’s strike, internship of 4 months turned 10. Let me say at this point that the J2ME apps I had built gave me an advantage during the interview process.</blockquote><blockquote>During the AITI program, I learnt Polish and Canvas. Mtech at that point was looking for someone who had the experience of these two things. So, I got the position without struggle.</blockquote><blockquote>Since I had a better laptop now, I decided to give Android development a chance. The 10 months internship program gave me enough time to learn, network and participate in hackathons.</blockquote><blockquote><a href="https://twitter.com/cocreationhub">@cocreationhub</a> was the place in those days. I also attended tech events in Lagos (before now I had not been to Lagos on my own). I met friends that became a good part of my story.</blockquote><blockquote>Then we resumed 500L, <a href="https://twitter.com/moyheen">@moyheen</a> and I got a chance to speak during GDays 2014 that held in Lagos. I had to travel from Ife to Lagos. That was my first time facing a crowd of over 100 people. I was supposed to introduce people to Android development. What!!!</blockquote><blockquote>This included coding live. <a href="https://twitter.com/moyheen">@moyheen</a> can testify, I was so nervous. <a href="https://twitter.com/nextdeegit">@nextdeegit</a> joined me for the session. He told me to calms down several times. And indeed, all went well.</blockquote><blockquote>After my session, I had lots of compliments from <a href="https://twitter.com/dftaiwo">@dftaiwo</a> and other attendees. I felt so good and proud of myself. Since then, I have been speaking about Android development and tech generally.</blockquote><blockquote>Getting a job after school had zero stress. I got a call from the company. Someone had recommended me and that’s how I got my first job immediately after school at <a href="https://twitter.com/lawpavilion">@lawpavilion</a>.</blockquote><blockquote>My 2.5 years at LawPavilion pushed me beyond my limit. That’s where I decided to pickup iOS development and improve my PHP skills.</blockquote><blockquote>While all these things were happening, I led small teams. I volunteered. I facilitated. I taught. I spoke. I wrote blog posts. I cried. I jumped. It hasnt been a smooth journey as my tweets might have portrayed but I know you get the picture.</blockquote><blockquote>One of the challenges I used to have was being the only female in a room full of guys. Then I learnt how to be myself, be smart, ask questions, challenge and be challenged.</blockquote><blockquote>For those thinking of starting a career in tech (or any other profession), it’s never going to be easy. You will be frustrated several times. Sometimes you will wonder where the whole idea of tech from in the first place.</blockquote><blockquote>Therefore, you need to find your own answers to the “WHY”. Why you chose the step. Why chose the career. Why you left every other thing for the thing you are choosing now</blockquote><blockquote>Even as a student, it may be harder combining school, fellowships and then passion. But you need to find a balance. At the end of the day in SW dev, it’s your skills (including soft skills) that matter.</blockquote><blockquote>There are several successful people with their different stories of course. Even as a lady, you can do it. Don’t let anyone tell you otherwise.</blockquote><blockquote>SUMMARY <br>1. As a student, always maximize your breaks, internship periods <br>2. As an individual, you need people — senior colleagues, friends who will keep you accountable.<br>3. Opportunities won’t wait for you. Grab them before they pass. You may not be lucky to have them come your way again. <br>4. Start doing something now. It’s not too late. <br>5. Don’t stop learning and improving.</blockquote><blockquote>I hope I have been able to inspire you with these tweets. Hurray! <a href="https://twitter.com/hashtag/ConsonanceIsOne?src=hash">#ConsonanceIsOne</a> <a href="https://twitter.com/consonanceng">@consonanceng</a></blockquote><p>You can reach out to her on twitter <a href="https://twitter.com/_larikraun"><strong>@</strong>_larikraun</a></p><p>Thank you <a href="https://medium.com/u/bf87f3641b6c">Omolara Adejuwon</a> for your awesome story and advice, we felt loved…</p><p>From Hamza Bashir, Tinuade Adeleke and Mayomi Ayandiran.</p><p>For Consonance Africa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f74f87aaee9f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/consonance/star-developer-series-omolara-adejuwon-f74f87aaee9f">Star Developer Series: Omolara Adejuwon</a> was originally published in <a href="https://medium.com/consonance">Consonance Club</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Star Developer Series: Adewale Abati Acekyd]]></title>
            <link>https://medium.com/consonance/star-developer-series-adewale-abati-acekyd-55c9fbe26f2b?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/55c9fbe26f2b</guid>
            <category><![CDATA[community]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[consonance]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 07:48:27 GMT</pubDate>
            <atom:updated>2018-04-08T07:48:27.751Z</atom:updated>
            <content:encoded><![CDATA[<p>#consonanceIsOne special day</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*hvqG6kiEnVwCV6FZ25Ewvg.jpeg" /></figure><p><a href="https://medium.com/u/5c5f962e9d39">Adewale Abati ♠</a> shared his story with us during consonance’s one year anniversary on twitter, Acekyd is a Software Developer at Insidify and Developer Advocate &amp; Community Manage. Here is his story:</p><blockquote>My name is Abati Adewale. A lot of us prefer to call me Ace or AceKYD. I prefer Ace. I currently work as a Software Developer for Insidify and Developer Advocate &amp; Community Manager for <a href="https://twitter.com/_Ingressive_">@_Ingressive_</a> <a href="https://twitter.com/hashtag/ConsonanceIsOne?src=hash">#ConsonanceIsOne</a></blockquote><blockquote>I started out with software development six years ago. In my second semester at the University of Ilorin. My first love was for graphics design and game development but I never really made headway. How did I start? <a href="https://twitter.com/hashtag/ConsonanceIsOne?src=hash">#ConsonanceIsOne</a></blockquote><blockquote>I attended a software exhibition for the Computer Science department and was really amazed about what my colleagues were able to do. I knew I wanted this super power. The ability to create. Some godmode stuff <a href="https://twitter.com/hashtag/ConsonanceIsOne?src=hash">#ConsonanceIsOne</a></blockquote><blockquote>I reached out to guys doing stuff, got a couple pointers but I realized for the first time that you have to own your own learning. Everyone is on a journey. I owned my learning and went on to win the software exhibition for the next two years!!! <a href="https://twitter.com/hashtag/AceShiiUp?src=hash">#AceShiiUp</a></blockquote><blockquote>Someone walked up to me and told me I inspired them. And I had no idea why. But at this moment I realized that I had a power to also impact people and I started looking into community. I went on to become Microsoft Student Partner and Firefox Student Ambassador at the time</blockquote><blockquote>My journey into Nigerian tech started when I got a high level of exposure as an intern at <a href="https://twitter.com/hotelsng">@hotelsng</a> in 2014. Had the opportunity to watch and learn from so many including Mark. I got an insight into how startups and the ecosystem work or how they are supposed to work</blockquote><blockquote>Went back to school with a different mindset and had experienced growth. During my service year I discovered <a href="https://twitter.com/DevCenterco">@DevCenterco</a>. I started helping people out with their coding problems and I think that’s how most people got to know about me.</blockquote><blockquote>The focus has always been on providing value. The same reason I reached out to <a href="https://twitter.com/unicodeveloper">@unicodeveloper</a> and he helped with my transition into Open Source. His project, Laravel Hackathon starter was my first Open Source contribution.</blockquote><blockquote>Over the years I’ve built exciting stuff like <a href="https://t.co/3vcjmHe9N4">http://Unilorites.com </a>— Unilorin’s social network at the time. VoteSmart — First money making product that powered all of our Faculty of Science elections, Scammr which never blew and some other smaller projects</blockquote><blockquote>My most recent projects are <a href="https://t.co/KBD5LDTS0S">http://Devcomm.co </a>, and Display Medium Posts Wordpress plug-in. And I also started giving talks to also help inspire people to provide value :)</blockquote><blockquote>Community and Open source has been exciting so far and for those that want to get involved, the easiest way is to focus on providing value and helping someone else out. Making yourself better by making someone else better :)</blockquote><blockquote>In my spare time of course, I am a YouTuber, Basketball player and lover, make noise about Marvel and love playing Video games. As we move forward, y’all should remember that <a href="https://twitter.com/hashtag/AceIsALifestyle?src=hash">#AceIsALifestyle</a> and it’s up to you to <a href="https://twitter.com/hashtag/AceShiiUp?src=hash">#AceShiiUp</a> Thank you!!!!!!!</blockquote><blockquote>As we come to the end of this story time, I have to say thank you all for having me. cc <a href="https://twitter.com/consonanceng">@consonanceng</a> Remember to <a href="https://twitter.com/hashtag/AceShiiUp?src=hash">#AceShiiUp</a> andthat Ace is a Lifestyle. You can sign up on <a href="https://t.co/n7OZn1KTca">http://devcomm.co </a>or subscribe to my YouTube channel for great content :)</blockquote><p>As you all have read, Acekyd is an awesome basketballer.</p><p>Y’all can challenge him if you think you can beat him :)</p><p>You can reach out to Acekyd on twitter <a href="https://twitter.com/Ace_KYD"><strong>@</strong>Ace_KYD</a></p><p>Thank you <a href="https://medium.com/u/5c5f962e9d39">Adewale Abati ♠</a> for sharing your story with us on consonance, we felt loved…</p><p>From Hamza Bashir, Tinuade Adeleke and Mayomi Ayandiran.</p><p>For Consonance Africa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55c9fbe26f2b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/consonance/star-developer-series-adewale-abati-acekyd-55c9fbe26f2b">Star Developer Series: Adewale Abati Acekyd</a> was originally published in <a href="https://medium.com/consonance">Consonance Club</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Star Developer Series: Jonathan Z. White]]></title>
            <link>https://medium.com/consonance/star-developer-series-jonathan-z-white-d9859285b02?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9859285b02</guid>
            <category><![CDATA[community]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[life-hacking]]></category>
            <category><![CDATA[consonance]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 07:47:33 GMT</pubDate>
            <atom:updated>2018-04-08T07:47:33.019Z</atom:updated>
            <content:encoded><![CDATA[<p>#consonanceIsOne special day</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*t4NnYRW2vqVvrkhFmZ1CVg.jpeg" /></figure><p><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a> is a Javascript engineer at airbnb, former intern at yahoo, he shared his story with us on twitter during consonance’s one year anniversary. Here is his story:</p><blockquote>Doing a <a href="https://twitter.com/hashtag/stories?src=hash">#stories</a> and Q&amp;A session with <a href="https://twitter.com/consonanceng">@consonanceng</a>, an amazing community of designers and engineers in Nigeria and across Africa. Here’s a thread on how I got into design and building products Feel free to ask questions 🙏 <a href="https://twitter.com/hashtag/ConsonanceIsOne?src=hash">#ConsonanceIsOne</a></blockquote><blockquote>I got into programming late. My first experience with it was in high school, AP Computer Science. Funny enough, it made me feel discouraged about programming. 😫</blockquote><blockquote>The class was confusing. I had a hard time grasping what classes and objects were. Needless to say, I got a 2 out of 5 on the exam. 😬</blockquote><blockquote>After graduating high school, I decided to do a degree in Computational Media at Georgia Institute of Technology. Computational Media combines computer science with HCI (human-computer interaction). 👨‍💻</blockquote><blockquote>Despite my not-so-great not experience with programming in high school, I wanted to give it another chance. 🙏</blockquote><blockquote>Thanks to a scholarship, tuition was free for Georgia Tech. However, I still had to pay rent and other living expense, ~$18k a year.💰</blockquote><blockquote>My parents were not able to provide financial support, although they gave me lots of ❤️support, so I had to figure out how to cover the costs.😰</blockquote><blockquote>During my freshman year of college, I started teaching myself web development. Even though it was only basic HTML and CSS, it was *really* exciting to me. 😍Because, unlike in high school, I understood the concepts. 😮</blockquote><blockquote>A few weeks after learning HTML and CSS, I had an idea💡 What if… I could cover my school expenses by building websites for people?🤔</blockquote><blockquote>So I started reaching out to people and companies, offering to build them websites. Unfortunately, no one wanted to hire someone with zero experience and no portfolio.💩</blockquote><blockquote>One weekend, I made a post on Reddit. Something like… “I’m a professional web developer and I would love to help you build a landing page for free”. Emphasis on “professional”😉 I wanted to get some experience, even if it was unpaid.</blockquote><blockquote>For some reason, the thread blew up. I got tons of private messages. I did one free landing page and delivered it.</blockquote><blockquote>Then, I had another idea 💡What if… I could convert the rest of the private messages, into paid contracts🤔</blockquote><blockquote>So I followed up with the rest of the private messages, offering a discount on my “normal rate”. Remember, at this point, I had never done any paid work. So I had no “normal rate” 😄</blockquote><blockquote>Many people said no, but a handful of people were willing to pay me to build them a landing page. That’s how I started building experience and a small client base for my freelance work.🕺</blockquote><blockquote>It was actually thanks to the experience I built up from freelancing, that I got a front-end internship at Yahoo that freshman year🎉 My manager really took a chance on me. I will forever be grateful to her for that 🙇</blockquote><blockquote>So even though I had a few scary moments where my bank balance dipped below 0 a couple times that year, between freelancing and my internship, I was able to pay for all my school expenses🙌</blockquote><blockquote>From that year on, I kept freelancing. I found a niche with early-stage startups who needed both design and development work. As a result, I was able to hone both those skills at the same time.</blockquote><blockquote>And… Those experiences helped get me to where I am today.🐥 I work at <a href="https://twitter.com/AirbnbEng">@airbnbeng</a>, I write on Medium (<a href="https://t.co/mb8YguVhDM">https://medium.com/@jonathanzwhite </a>), and I work on tons of side-projects (<a href="https://t.co/bKBmF42GFM">https://featherchat.com/ </a>) 🙏</blockquote><blockquote>Also, while freelancing was fun, it was stressful as well. Early on, I did such a terrible job building a web app for a client, that they refused my work and paid me $100 bucks in consolation money. 😨</blockquote><blockquote>Experiences like that 👆 motivated me to get better at my craft.</blockquote><blockquote>Q&amp;A time! Happy to answer any questions that you might have🙆‍♂️</blockquote><blockquote>@nerocodes: Awesome!! Inspiring! How did you specify it was a landing page and not a fully functional website? I haven’t been able to land a deal that’s just a landing page so i end up using wordpress to build a website, and i don’t get to code which is what I want to do</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: I think it’s because my original Reddit post specified landing page. From there, I moved onto building web apps.</blockquote><blockquote>@nerocodes: Building web apps is my goal.. Can I do this with just front-end alone or do I also learn back-end?</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: There is definitely freelance work for just front-end. But some companies like to save money and pay one developer to do both. Get so good at what you do, people can’t say no.</blockquote><blockquote>@nerocodes: Thank you very much!! It’s a big help getting a professionals perspective, thank you!!</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: No problem. Happy to help 👊</blockquote><blockquote>@_withoutwax: Where do you see yourself in 5 years time?</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: I don’t have a 5-year plan but… I want to be in a place where I am working full-time on one of my own products and be working with a fantastic crew of people.</blockquote><blockquote>@_withoutwax: That sounds awesome I’m pretty sure you can achieve what you are envisioning right now Wish you best of luck!</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: Thank you!</blockquote><blockquote><a href="https://medium.com/u/72be51b4c44c">Ekene Ashinze</a>: How were you able to manage school, internship and freelancing at the same time?</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: Thankfully, all 3 of the things were never going on at the same time. It was always just 2/3 of them. Surprisingly, exercising helped a lot to keep me focused and provide separation between tasks.</blockquote><blockquote><a href="https://medium.com/u/469cd30d4650">KrypticMist</a>: Given your experience and challenges you faced building up, what can you say kept you going?</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: Honestly, it was because I found something I loved doing. Design and code ❤️</blockquote><blockquote><a href="https://medium.com/u/60192b3af6b6">Oluwaleke Fakorede hashCode</a>: Thanks for your time, you really have had great transitions in your career. A question, are there any ‘trade secrets’ you discovered by yourself that you would like to share?</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: 1) The notion that designers can’t code and developers can’t design is flubber🙊<br> 2) Having an “underdog” mentality can take you a long way in terms of drive and motivation.</blockquote><blockquote>@_withoutwax: … and a follow up question would be: if you were to go through this experience again (I hope not) how would you do it differently?</blockquote><blockquote><a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a>: I would tell myself — “Find your tribe”. There are lots of people struggling to overcome their own challenges on their way to become a designer or developer. I wished I had reached out to people earlier to exchange learnings.</blockquote><blockquote>@_withoutwax: I am completely with you on that — I am a designer and developer myself and it is always amazing to find someone with similar interests and share experiences, tips, etc. I think it’s actually one of the most effective way to keep yourself motivated as well</blockquote><p>If you have issues answering questions like ‘What have you done before’ during job interviews, I think you should consider doing free landing page gig like Jonathan, just a tweet is enough to do that😉.</p><p>You can reach out to Jonathan on twitter <a href="https://twitter.com/JonathanZWhite"><strong>@</strong>JonathanZWhite</a></p><p>Thank you <a href="https://medium.com/u/1bb0136d50f5">Jonathan Z. White</a> for sharing your awesome story with us, we felt loved.</p><p>From Hamza Bashir, Tinuade Adeleke and Mayomi Ayandiran.</p><p>For Consonance Africa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9859285b02" width="1" height="1" alt=""><hr><p><a href="https://medium.com/consonance/star-developer-series-jonathan-z-white-d9859285b02">Star Developer Series: Jonathan Z. White</a> was originally published in <a href="https://medium.com/consonance">Consonance Club</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to host a Node.js app on shared host]]></title>
            <link>https://medium.com/@mayomi1/how-to-host-a-node-js-app-on-shared-host-52e12a62a259?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/52e12a62a259</guid>
            <category><![CDATA[shared-hosting]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Mon, 26 Mar 2018 08:53:51 GMT</pubDate>
            <atom:updated>2018-08-19T17:43:29.922Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*Z2mF-o7MSE25dgtQGSROIQ.jpeg" /><figcaption>image from <a href="http://bloggersclan.com/what-is-shared-web-hosting/">http://bloggersclan.com/what-is-shared-web-hosting/</a></figcaption></figure><p>Hi guys, have you ever wanted to host your Node.js application on a shared hosting server and you are having issues with hosting it, you might have even done a lot of google search on how to host it, well with this article we will fix this issue together as will move on in this article.</p><p>Most Shared Hosting company normally have PHP preinstalled on your server, the first thing to do is to install NVM on your server. To do this you will need access to login with SSH from your terminal(Command line). To have access to SSH of your server ask your host provider.</p><pre>ssh -p port username@IpAddress</pre><p>when it asks for your password, enter the password you normally to login to your Cpanel. With this, you are done with the first step.</p><p><strong>Step two: Installing the NVM on your Server.</strong><br>If you have been able to successfully login through ssh, you can now do and undo. The ssh access let you have access to all lovely Linux commands. <br>Now run this to add NVM install</p><p>Run this first</p><p>wget -qO- https://cdn.rawgit.com/creationix/nvm/master/install.sh | bash</p><p>then run this</p><pre>nvm install stable</pre><p>Step four:<br>After the installation has been completed, close and reopen the terminal where you are running the ssh, login again the same way you logged in the first time. <br>run</p><pre>node -v</pre><pre>npm -v</pre><pre>To confirm that node and npm has been successfully installed.</pre><p>Now create a .htaccess file inside the public_html directory on your server. To do this,</p><pre>cd ~/public_html</pre><pre>nano .htaccess</pre><p>after that copy the below into in the file</p><pre>RewriteEngine On<br>RewriteRule ^$ http://127.0.0.1:XXXXX/ [P,L]<br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteCond %{REQUEST_FILENAME} !-d<br>RewriteRule ^(.*)$ http://127.0.0.1:XXXXX/$1 [P,L]</pre><p>N:B Replace the XXXXX with the port you set in your app.</p><blockquote>I assumed you already have uploaded your application to the public_html on your server.</blockquote><p>Step Five:</p><p>If you have already uploaded your project to the server already you can run the app the same way you normally do on your local server,</p><p>node app.js or node server.js, just run it the way you would do it locally</p><p>Step Six:</p><p>If you reload the website with your domain name, you should load the page correctly by now, but it you press control C on the terminal, i.e if you kill the server you page will not render again. This is perfectly normal, it mean we need a way to make sure our server continue to run after we exit the terminal, you can just do :</p><pre><br>node app.js &amp;</pre><p>it will keep running even after you exist the terminal , but if you want a more efficient way of doing this, you can install a package that take care of that</p><pre><br>npm install -g forever</pre><p>than start the server.</p><pre>forever start app.js</pre><p>And now you have successfully hosted your node.js application on shared host.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*nhqltiyDFoLYOhUk8r6KzQ.gif" /><figcaption>celebration time</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52e12a62a259" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Star Developers Series: Ademola Oyewale (Sao)]]></title>
            <link>https://medium.com/consonance/star-developers-series-ademola-oyewale-sao-5bf5b9301aef?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bf5b9301aef</guid>
            <category><![CDATA[developer-stories]]></category>
            <category><![CDATA[stories]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[consonance]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Mon, 19 Feb 2018 00:27:30 GMT</pubDate>
            <atom:updated>2018-02-19T10:44:26.797Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*CmGNXdAQsOB7WBdGNrOBMg.png" /></figure><p>Ademola is a software engineer at chatdesk inc, and a consulting engineer at enerfis energy, He graduated from the department of Computer Science and Engineering, Obafemi Awolowo University, Ile-Ife. He is a go programming language Lord, software development king, and many more.</p><p>He shared his story with us on slack, Here is it — &gt;</p><blockquote>Hello ladies and gentlemen</blockquote><blockquote>Thanks for the opportunity to share my story!</blockquote><blockquote>I think I can get started already…</blockquote><blockquote>There’s a quote my mentor told me which I’ve lived by in the last couple of months “If you are good, respect yourself and do big things”</blockquote><blockquote>Starting out:</blockquote><blockquote>I wanted to study Mechanical engineering and become an aeronautical engineer down the line but I think I like how things eventually turned out. I started reading Python (didn’t practice) in year 1 of my 5-year Computer engineering program.</blockquote><blockquote>LESSON 1: Reading without practicing means nothing. Practice more more than you read.</blockquote><blockquote>At the end of the first year, I bought a form for a computer programming training (ACI) founded by Olaoluwa Balogun. Some of my friends bought forms too and stayed back during the program (like @djubreel , @mendez, Shoaga Victor). The program was during the holidays. Some people talk about a chain of opportunities, all you need in life might be taking just one, the dots will connect from there.</blockquote><blockquote>LESSON 2: When you have an opportunity, decide and act at that instant, delay is mostly unnecessary unless it’s choosing a life partner.</blockquote><blockquote>During the programme, I enrolled in Java and Python classes simultaneously but mehn, the Java thing was abstract (taught by Fatimehin Dare) and the Python was just lit for me (taught by Adegoke Obasa). The classes held in AUD-1 in OAU campus. What made it interesting was that Tunde, Wale and Jubril had no computers to practice then but they stayed back all the same and took notes, they got systems shortly afterwards. We shared my PC then and oh boy it was fun, we slept in AUD at times, ate from same pot, discussed solutions et al.</blockquote><blockquote>P.S. I still think Java was overdressed when the language was designed but I’ve found a way to love the lang!</blockquote><blockquote>I loved the enthusiasm of Victor Shoaga during the program and his energy always got us excited. I think I tapped into getting excited about stuff from him.</blockquote><blockquote>LESSON 3: No one owes you anything, let the sense of entitlement go. You have to fight for what you think is right at times.</blockquote><blockquote>Talent is overrated, passion and grit takes you further in life plus great attitude is extremely important!</blockquote><blockquote>As Adegoke Obasa taught us, it was beautiful and he noticed we were eager to learn things, he told us of an AITI programme (this changed everything for me). During the program, we met Richard Boyewa, Akapo Dami, Mbakwe Caleb, Shitu Rahman, Wale Oyediran who took us on J2ME and android programming. It was fun stuff for us, exciting, full of life.</blockquote><blockquote>We were all crashing in the Alumni lab with all these guys and nothing boosts confidence than when the people you look up to are just 10 steps away from you and approachable every minute.</blockquote><blockquote>We had a competition at the end of the program and my team placed third behind (Michael Okuboyejo’s team and Perfect’s team). There I met with Perfect and the love for software development went through the roof. I was excited at the thought of turning up Eclipse IDE. The partnership was simply beautiful.</blockquote><blockquote>LESSON 4: Acknowledge your limitations, when you see that one person who can teach you, open your heart, mind. @perfectmak was that person for me. ( we ended topping IEEEXtreme competitions a couple of times, worked on projects together and a whole lot still ahead). Be constantly open to collaboration.</blockquote><blockquote>Shortly afterwards, @tushgeek (Kelvin) walked up to me in ODLT and shortly afterwards (we + Perfect) formed a team with the intention of participating in Microsoft Imagine Cup ( we tried mehn but :disappointed: ). While the hustle for Android was going on, I also started trying out html, css to build my frontend skills (sadly, things are too complicated these days).</blockquote><blockquote>Co-creation Hub (CC-Hub) put up a CodeCamp programme (all expense paid), I got invited for the interview in Lagos alongside Perfect and Wale Onabola ( it was a day to our exam) but we went all the same, did the technical interview and came back to Ife that same day. We were accepted with 13 other people around the country. Two days after exam, we moved into the lodge in Yaba (if you know anyone offering such stuff these days, holla at me again abeg, the food, internet was lit).</blockquote><blockquote>This was in our year 2 by the way.</blockquote><blockquote>We were taught cross platform development with Apache Cordova, J2ME and native Android development. There was a competition with a prize of $500 at the end of the program. My team (Artifind) with Perfect and a LASU graduate won the competition (we haven’t been paid till date though :disappointed: ). Artifind is a platform that lets you search for Artisans: <a href="http://artifind.com.ng/">http://artifind.com.ng/</a> . We walked Lagos while gathering data and I’ve vowed to never do such things as walking the streets of Lagos to gather data in my life again.</blockquote><blockquote>artifind.com.ng</blockquote><blockquote>Artifind::Re-branding values in services.</blockquote><blockquote>Find the best artisans around you in Nigeria</blockquote><blockquote>LESSON 5: Focus on your strengths and outsource your weaknesses. Some things take time, enjoy the process!</blockquote><blockquote>Still in year 2, I interviewed with iQube Labs then for SDP (this was more like a training). A day after Detan (the business lead then) told me to apply for software engineering intern position and I did.</blockquote><blockquote>I got into iQube Labs shortly afterwards in November (2013) and did really interesting things there plus won over a mentor (James Fowe). I met with the brightest minds here and my interview project is still the most challenging thing I’ve ever done because it was around Machine Learning and I simply didn’t know how and I wasn’t even told it was machine learning but now :pray:. A friend “Daniel Adeyemo” was key during this period as challenging stuff always got him excited and he wanted me to get into iQube for a reason I still haven’t figured out.</blockquote><blockquote>I started taking Machine Learning seriously afterwards and worked for some organizations down the line. Some of these organizations include Cloudshot, iQube Labs, Sangalo Limited, Chatdesk (which I currently work with).</blockquote><blockquote>Was involved in some student organisations such as IEEE, GDGOAU, iLabs-OAU ( the view was like it operated like a gang of friends which was wrong). We were just friends who were brought together by the same interests which @user0b100000000 (Timilehin Ogunyemi) opened the doors to. He broke into iLab and opened the door for us.</blockquote><blockquote>LESSON 6: Don’t be a lone wolf but be fuelled by individual curiosity!</blockquote><blockquote>My time with android yielded some good stuff and built some projects I’m proud of but I ditched Android development totally earlier this year to focus on Backend systems, Machine Learning and Infrastructure. When I get bored -&gt; <a href="https://github.com/saopayne">https://github.com/saopayne</a></blockquote><blockquote>The more I know, the more I discover I don’t know but what do we do all the same. I keep adding that 1% everyday.</blockquote><blockquote>And yes, I have the fears too. The fear of I don’t think I’m good enough at times</blockquote><blockquote>The fear of what if I don’t get to where I want to be.</blockquote><blockquote>But you know what, with consistency, all these things will fall into place. You will be fine, we will all be fine.</blockquote><blockquote>Whatever you have learnt or not learnt matters almost nothing. Therefore, if you are a great student, that doesn’t matter. I have seen excellent students failing professionally. On the other hand, if you did not perform well in University, doesn’t matter at all. Work hard, keep learning and you will fly high.</blockquote><blockquote>#”I keep adding that 1% everyday” #</blockquote><blockquote>I am an image of what people have taught me, the friends I have kept. Sao hasn’t been alone, I’m not much without the people I have mentioned up there and some other like Taiwo Azeez, Ogunyemi Timilehin, Ekundayo Blessing, Omotoso Omoniyi, Ilesanmi Excellence, Ologunowa Samuel, Ayodele Obasegun, Segun Famisa, Cloudshot family and everyone who has made the journey worth it so far)</blockquote><blockquote>And there’s a technique I use these days which is to disrupt myself, once I recognize my weakness in an area, I do a weekend hackathon to catch up. I know the things I know and I have an idea of the things I don’t know. I don’t try to know it all<br>thanks for reading.</blockquote><p>You can reach out to Sao on twitter <a href="https://twitter.com/sao_ademola">sao_ademola</a> or send a message to him on slack.</p><p>Thank you <a href="https://medium.com/u/2fa523fd45af">Oyewale Ademola</a> for your awesome story.</p><p>From Hamza Bashir, Tinuade Adeleke and Mayomi Ayandiran.</p><p>For Consonance Africa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bf5b9301aef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/consonance/star-developers-series-ademola-oyewale-sao-5bf5b9301aef">Star Developers Series: Ademola Oyewale (Sao)</a> was originally published in <a href="https://medium.com/consonance">Consonance Club</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Star Developer Series: Stephen Afam-Osemene]]></title>
            <link>https://medium.com/consonance/star-developers-series-stephen-afam-osemene-81dda980b26e?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/81dda980b26e</guid>
            <category><![CDATA[stories]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Mon, 19 Feb 2018 00:26:12 GMT</pubDate>
            <atom:updated>2018-03-28T11:55:52.417Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bf5_dKvfREJYgWl6hNxqIQ.png" /></figure><p>Stephen is a Software Engineer formerly working at hotels.ng, he now leads Developer Relations at Africa’s talking. He shared his story with us on our <a href="http://consonance-invite.herokuapp.com/">slack channel</a>. Here is his story -&gt;</p><blockquote>Good evening everyone ***clears throat***</blockquote><blockquote>My name is Stephen Afam-Osemene, I don’t think my story is particularly interesting.</blockquote><blockquote>I hope that having to tell this story will make me reflect on where I’ve come from and inspire both myself and a few other people</blockquote><blockquote>Well, first off, I’ve always been an “intelligent boy”</blockquote><blockquote>I was always the youngest in my class, I always had good grades but hardly ever read. All I had to do was sit in the first row and listen.</blockquote><blockquote>My notes were hardly complete, except for mathematics (which was my favorite subject)</blockquote><blockquote>I did not know that computers will be a major part of my life, but I remember that the only time I ever got 100/100 was in JS2 computer science. That was also the only time when all the tests and exams were practical. As in “do this while the teacher watches”</blockquote><blockquote>Anyways, fast forward to SS2, and like any other “intelligent” student, I was implicitly expected to go read medicine, this was also true because both my elder siblings (I’m the last child) were reading Medicine.</blockquote><blockquote>But one look at their zoology textbooks was enough to make me realize that I didn’t want to keep reading anything similar to biology. I loved calculations.</blockquote><blockquote>Also, in SS2, I won 2 state competitions for mathematics, and feeling like a super human calculator, I decided to go read mechanical engineering</blockquote><blockquote>As with many others, I realized somethings in UNIBEN</blockquote><blockquote>1. I could not consistently get good grades without putting in the work</blockquote><blockquote>2. It’s a lot smarter to read to pass</blockquote><blockquote>3. I did not see the usefulness of most of what I was being taught</blockquote><blockquote>Safe to say, I wasn’t a big fan of school</blockquote><blockquote>I loved engineering though. Even more when I realized that mechanical engineering was not about repairing cars or tractors, but more about designing machines.</blockquote><blockquote>We would constantly marvel over engineering spectacles, and I can’t still help myself from admiring any lovely piece of engineering I come across</blockquote><blockquote>So during my 6 months IT, I was eagerly looking forward to working on real life engineering projects. However, on getting to the company, the plant was down and I was told it would soon be fixed.</blockquote><blockquote>I listened to the workers telling me how it was, and was eagerly looking forward to it</blockquote><blockquote>3 months into my IT, the plant was still down.</blockquote><blockquote>I was so disillusioned, I started being a terrible employee. This is not an excuse though.</blockquote><blockquote>I started spending most of my time reading manga, playing chess and reading books</blockquote><blockquote>One of the books I read was “Rich Dad, Poor Dad” by Robert Kyosaki. Then my entrepreneurial fire was ignited!!!!</blockquote><blockquote>I started constantly thinking of ideas, businesses, investments. I still think of these</blockquote><blockquote>Many of the ideas were “not so good” but still</blockquote><blockquote>A time came when I was tired of imagining and hypothesizing, I was ready to implement one.</blockquote><blockquote>In hindsight, it was a fatally flawed idea.</blockquote><blockquote>Get full rights on beats from a producer, and then sub-licence it to multiple artists at a much lower fee. Since I can sub-licence it unlimited times, it felt like I would purchase inventory once and sell it forever, like mining gold!</blockquote><blockquote>So I bought the domain name beatsforever.com (didn’t renew the domain)</blockquote><blockquote>Created a facebook page facebook.com/beats4ever, twitter handle (closed) and started working on my idea.</blockquote><blockquote>I had arranged to buy the beats from a local producer, but what I could not afford was someone to build the site. I didn’t even know anyone that did such</blockquote><blockquote>So I decided to build it myself.</blockquote><blockquote>Bought hosting from inmotionhosting.com, installed WordPress, and started figuring it all out</blockquote><blockquote>That’s how I entered this web development world</blockquote><blockquote>Long story short, after about a year of trying, it was obvious it was not going to work. I never even made a single sale.</blockquote><blockquote>I realized I had a lot to learn so I needed mentors</blockquote><blockquote>I finished school, started planning for masters and possible businesses, and started waiting for NYSC</blockquote><blockquote>I wanted to start building some sort of online identity to attract web development work as a “side hustle”, so I bought stephenafamo.com, got the email stephenafamo@gmail.com, changed all my social media handles to stephenafamo, created a facebook page called facebook.com/stephenafamo</blockquote><blockquote>I installed WordPress, heavily customised it, started blogging as some sort of content marketing, did a 3 episode podcast. Was basically shooting in the dark</blockquote><blockquote>Now during NYSC, I started cyber stalking mentors.</blockquote><blockquote>If I could not get in contact with them to mentor me physically, I would gain some knowledge from what I see out there</blockquote><blockquote>I also sent cold emails to a few of them, including Mark Essien and Jason Njoku.</blockquote><blockquote>Only Jason replied, but never replied again</blockquote><blockquote>I’m trying to keep this chronological, but a lot of stuff was happening during NYSC</blockquote><blockquote>I built a web portal for the school I was teaching at</blockquote><blockquote>I tried to create a platform for inspiring content nigeriainspired.com (didn’t last)</blockquote><blockquote>I tried to create some sort of ecommerce platform, sort of like shopify, but powered by WordPress Multisite and WooCommerce (proudly.com.ng)</blockquote><blockquote>please help include years to your story</blockquote><blockquote>Yeah</blockquote><blockquote>IT — May — Oct 2013</blockquote><blockquote>Beats Forever — Aug 2014 — Aug 2015</blockquote><blockquote>NYSC — Oct 2015 — Oct 2016</blockquote><blockquote>All these were between January to July 2016</blockquote><blockquote>I’m trying to keep this chronological, but a lot of stuff was happening during NYSC</blockquote><blockquote>I built a web portal for the school I was teaching at</blockquote><blockquote>I tried to create a platform for inspiring content nigeriainspired.com (didn’t last)</blockquote><blockquote>I tried to create some sort of ecommerce platform, sort of like shopify, but powered by WordPress Multisite and WooCommerce (proudly.com.ng)</blockquote><blockquote>So during all my stalking, I came across Mark Essien’s tweet about the remote internship. The very first one.</blockquote><blockquote>This was Mid August, 2016</blockquote><blockquote>I was very eager to join. Not because I was big on programming and web development at the time, but because I wanted to observe Mark more closely. Afterall, he was already unknowingly mentoring me.</blockquote><blockquote>During the internship, I tried to do as much as I could. I volunteered to do everything. This was a habit I had picked up during my NYSC camp, and it paid off</blockquote><blockquote>While it was incredibly stressful, it was even worse for those that were incharge of teams.</blockquote><blockquote>As at week 2, I was in charge of a team, I think it was called “backend admin”. @shalvah was incharge of “database team”</blockquote><blockquote>By week 3 or so, we needed a “project manager” and as with all things, I volunteered</blockquote><blockquote>It was one of the best experiences in my life. Although it was also very easily the most stressful.</blockquote><blockquote>I was staying up till 4am, to make sure everything was going well, while I had to do my regular NYSC duties during the day.</blockquote><blockquote>I often slept in my viewing center cause my lodge had power issues. (BTW I and a couple other corpers started and ran a viewing center)</blockquote><blockquote>I and the other team leaders had to take the fall for anything that went wrong, resolve issues, and interface with Mark</blockquote><blockquote>That was very fulfilling for me cause I was keenly observing how Mark managed stuff</blockquote><blockquote>During my POP, October 6th 2016, Mark offered me a full time role at Hotels.ng, and that how I got my first job</blockquote><blockquote>Of course I was elated cause that meant closer observation of Mark, I also made it clear to him that I wanted him to mentor me, which he agreed to.</blockquote><blockquote>While I was selfishly pursuing my goal of gaining a mentor, I had greatly improved my programming skills.</blockquote><blockquote>As a team leader, you also had to put in your points, so we were doing as much as anyone else</blockquote><blockquote>However, people would somehow assume you know more and bring their problems to you which you have to help them solve.</blockquote><blockquote>We had to do lots of research to make certain decisions, we had to fix horrible merge conflicts. I also had to manage the Digital Ocean droplet. I learnt a lot during those 3 months.</blockquote><blockquote>Without that internship, I probably would not have gotten as deep into software development as I have.</blockquote><blockquote>First, with WordPress, as I did more stuff, I had to start writing PHP to do custom coding</blockquote><blockquote>For the school portal, I did all the stuff myself,</blockquote><blockquote>User roles, upload/download of results, calculation of scores, keeping student data, generating PDFs,</blockquote><blockquote>It’s the internship that really forced me to learn a lot of stuff</blockquote><blockquote>Git, server management, MVC patterns, proper object oriented code,</blockquote><blockquote>When I started full time at Hotels.ng, I started using Laravel, Docker, more server management.</blockquote><blockquote>What I understood about my learning process is that I learn very fast, but only when I *need* to learn.</blockquote><blockquote>So to learn something new now, I put myself in a position where I need to use that thing, That way, I need to learn it</blockquote><blockquote>The best thing about the Hotels.ng environment is that a lot of the times, you will be asked to do things you don’t yet know how to. It’s really a learning roller coaster. And It has helped me immensely</blockquote><blockquote>Anyways, I decided to leave Hotels.ng in September 2017. I wanted a new environment, where I needed new skills, and I’ll learn even more.</blockquote><blockquote>which means your work at Hotels.ng was much based on dedication, ability to learn new things and commitment than your previously acquired skills.</blockquote><blockquote>In October I joined Africa’s Talking to Lead Developer Relations in Nigeria.</blockquote><blockquote>It’s funny cause I am no longer coding as my day time job. At least I don’t need to.</blockquote><blockquote>It’s now about showing developers the APIs that Africa’s Talking makes available.</blockquote><blockquote>I accepted it because.</blockquote><blockquote>1. I will still code. I will create libraries, demos, tutorials, e.t.c.</blockquote><blockquote>2. I will have to learn a lot. Code in numerous languages, build many different types of applications</blockquote><blockquote>3. I strongly believe Africa’s Talking is providing an AWESOME service, and I am very happy to be associated with it.</blockquote><blockquote>4. I get to learn a lot about the business as a whole since I am basically a sales person</blockquote><blockquote>5. I would have done it anyways. Anyone that knows me knows how much I can advocate for the things I love, which I would have lowkey advocated for Africa’s Talking anyway. So it’s like paying me to do nothing special</blockquote><blockquote>Like I said at the beginning, I don’t think my story is anything special.</blockquote><blockquote>it just a guy who</blockquote><blockquote>Started building websites because he couldn’t pay for it</blockquote><blockquote>Started coding websites cause he got paid for it</blockquote><blockquote>Got a lot better at it while chasing a separate goal</blockquote><blockquote>You could say the programmer life chose me. I had absolutely no idea I would end up here.</blockquote><blockquote>That’s it!</blockquote><p>You can reach out Stephen on twitter <a href="https://twitter.com/stephenafamo">stephenafamo</a> or just send message to him on slack.</p><p>Thank you Stephen for your awesome story.</p><p>From Hamza Bashir, Tinuade Adeleke and Mayomi Ayandiran.</p><p>For Consonance Africa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81dda980b26e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/consonance/star-developers-series-stephen-afam-osemene-81dda980b26e">Star Developer Series: Stephen Afam-Osemene</a> was originally published in <a href="https://medium.com/consonance">Consonance Club</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Star Developer Series: Shox Adomokai]]></title>
            <link>https://medium.com/consonance/star-developer-series-shox-adomokai-76958a7ac911?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/76958a7ac911</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[consonance]]></category>
            <category><![CDATA[ui-ux-design]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Sun, 18 Feb 2018 23:51:01 GMT</pubDate>
            <atom:updated>2018-02-19T10:45:01.806Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*JL2fpJcTQSsvwJ7mx3yyRA.jpeg" /></figure><p><a href="https://medium.com/u/737239ff1f06">Shox Adomokai</a> is a UI/UX designer who graduated from the department of Mechanical Engineering, Obafemi Awolowo University, Ile-Ife. He shared his story with us in one of our star developer series on <a href="http://consonance-invite.herokuapp.com/">slack</a>. He works at reliance infosystems.</p><p>Here is his story -&gt;</p><blockquote>Hello @channel. My name is Shox and I’m here to share my story about how I got started in design</blockquote><blockquote>So when they asked me to share my story about how I got started. I wasn’t sure I had a story to tell especially after following all the awesome stories that came before. Hopefully, I can do it some justice.</blockquote><blockquote>Design is different from programming. I’m sure you all know that. So there wasn’t a particular point where I started design per say because design is broad and it’s part of our every day lives.</blockquote><blockquote>Picking an outfit to wear, scribbling a doodle while you’re bored in class. These all have elements of design</blockquote><blockquote>So to do my story justice. I’m going to split design into a few pieces and talk about how I got into those various niches</blockquote><blockquote>So first off to clarify; I do graphics designs, illustrations, UI/UX designer and motions graphics</blockquote><blockquote>So mainly, I’m going to talk about graphics design and UI/UX.</blockquote><blockquote>I would consider the first time I got into graphics design to be my first year in university. I’d always heard about Photoshop and all the amazing things you could do with it.</blockquote><blockquote>I thought this would be a fun tool to play around with. So I got a Photoshop installation file from my neighbour, CS5 I believe and I installed it and I was sooooo excited to use it</blockquote><blockquote>But I had no idea how.</blockquote><blockquote>There were so many panels, with this tool here and that tool there. I was confused. The best I could do was draw shapes and write text.</blockquote><blockquote>So I left it alone and I installed it. But during the ASUU strike, I was talking with my friend about creating a graphic novel (which after so many years is still in progress) and we needed illustrations, cover art etc.</blockquote><blockquote>So now I was home, I had unlimited Internet, power supply and so much free time.</blockquote><blockquote>So I Googled how to design a cover for a graphic novel and so many tutorials came up. So I picked like 5 and I got to work with them. And this was basically, my learning curve. I didn’t watch any ‘how to use Photoshop’ tutorials until later in life.</blockquote><blockquote>I just opened up a specific tutorial and from that tutorial I learned what the tools where, how they worked and the best way to use them.</blockquote><blockquote>So fast forward, I was still honing my skills in photoshop and doing small design work for family and friends when I met @tushgeek</blockquote><blockquote>And he tried to sell me this idea for a company called Cloudshot. And I was so skeptical, we spoke for hours and I think I lost my voice sef</blockquote><blockquote>But if you’ve met @tushgeek then you know he’s a good orator and he finally after 2 days or so succeeded in changing my mind and making me see his vision</blockquote><blockquote>So now I wanted to be a part of it but the only thing I could for the company was graphics design but they already had a graphics design guy @user0b100000000 then but they brought me on anyway</blockquote><blockquote>So the first task I gave myself was; we need to redesign this logo</blockquote><blockquote>I didn’t know anything about logo design then but what I knew was this logo didn’t fit in with the company image that was painted to me. So I wanted to change that</blockquote><blockquote>I succeeded in convincing them to change the logo but I could not convince them to accept my logo</blockquote><blockquote>So I decided to learn about logo design and colour theory.</blockquote><blockquote>What did I do wrong with the logo I designed earlier, what should I have done differently. This was the first time I’d had to ask myself these questions but to me right now, they’re my most important questions.</blockquote><blockquote>I ask it about everything; things that I designed, things that other people designed. It doesn’t matter.</blockquote><blockquote>So now, I had my first contract graphics design job. I spent a lot of time studying the graphics designs of the other graphics design guy trying to get a feeling for the design philosophy of the company I was now a part of</blockquote><blockquote>During all this, I had to start working on making videos and 3D Designs at the request of my oga at the top.</blockquote><blockquote>And it was terrible.</blockquote><blockquote>I was just entering a state of proficiency with Photoshop. I was just learning that logos should be designed in illustrator etc. And now, I had to create a video.</blockquote><blockquote>It took me 2–3 days to make that video. And at the time I was so proud of my work</blockquote><blockquote>But I thank God that I’m now in a place where I can look at the video and be ashamed at what I did cause it means I’ve grown now</blockquote><blockquote>After that, I tried not to take on anything new. I felt it was better to be good at the things you do than to be average at many things.</blockquote><blockquote>So I deleted after effects to remove distractions but my oga did not let me free it. He had many more plans that involved videos.</blockquote><blockquote>And when I was done. I deleted again. So I could focus on Photoshop and illustrator this time</blockquote><blockquote>And during this time, I played around with different design styles until I found the one for me. I’m a minimalist</blockquote><blockquote>So this was important finding my own design style what I was good at.</blockquote><blockquote>It helped me to specialise and focus and get really good at this style of design</blockquote><blockquote>So fast forward a few months give or take.</blockquote><blockquote>And now I had to design a website for my friend’s sister.</blockquote><blockquote>I had no experience. She asked me if I could do it and I said sure I can. No problem.</blockquote><blockquote>This was when I entered into UI/UX but at the time I didn’t even know the difference between the two</blockquote><blockquote>So I started doing some research into websites and how they were structured. What I needed to do</blockquote><blockquote>And this is where colour theory, composting and typography are soooo important.</blockquote><blockquote>So I got started on the website</blockquote><blockquote>And eh luckily she liked it. So that was my first UI gig</blockquote><blockquote>It wasn’t until a year or so later</blockquote><blockquote>That I encountered the difference between UI and UX</blockquote><blockquote>To put it simply, UI is how the end product looks while UX is how the end product feels.</blockquote><blockquote>So I had to design an app and decide how it feels.</blockquote><blockquote>Most of us are used to seeing the material design template or the iOS designs</blockquote><blockquote>But I was discovering that there’s so many ways to design the interaction between elements on an app.</blockquote><blockquote>UX is how we get from the log in screen to the dashboard and that’s where your creativity and your mettle as a UX designer starts to show.</blockquote><blockquote>Umm do we have any UI/UX guys in the house?</blockquote><blockquote>So now here’s a gif showing the transition from the login to the dashboard</blockquote><blockquote>So I got into UX which meant a lot of hours spent in After Effects. So I was back to working with after effects and learning a lot about my motion graphics.</blockquote><blockquote>My approach to After Effects was different. I download a lot of lynda and digital tutors videos and started watching them.</blockquote><blockquote>During this time, I realised that illustrations worked better for the minimal type of design I wanted to do</blockquote><blockquote>So at this point in time, I was becoming a motion editor and an illustrator but like I said before. It’s better to focus on one thing so I left after effects for a while because I felt there wasn’t really market for it so I should focus on more market ready skills</blockquote><blockquote>And so right now. I’m at the stage in my fledgling career where I’m working daily or every other day with after effects.</blockquote><blockquote>So really, my story is not yet over but from what I’ve learnt during my journey and what I’m still learning now. If I have to give any piece of advice it would be this:</blockquote><blockquote>1) Take it a step at a time. Become very good at one thing before taking the next step because they all link together</blockquote><blockquote>2) Always use the right tools for the right job.</blockquote><blockquote>3) Find a community of designers that you can show your work to that can critique you and offer helpful feedback to improve your stuff. (Congrats if you’re here you’ve gotten to this step :slightly_smiling_face: )</blockquote><blockquote>4) Polish your skills and sharpen your design eye. Read articles on design, look at winners from design competitions (my favourite), always ask yourself how did they do this and if it were me, how would I do it.</blockquote><blockquote>5) In any kind of design, your three best friends are colour theory, layouts/compositing and typography. These three things all have their own rules attached them.</blockquote><blockquote>6) This may be confusing after number 5 but rules in design are more guidelines and less commandments. So learn about these things but don’t let them restrict you.<br>Thanks for reading.</blockquote><p>You can reach out to Shox on Twitter <a href="https://twitter.com/azterikcz">azterikcz</a> or you can just shout out his name on slack.</p><p>Thank you <a href="https://medium.com/u/737239ff1f06">Shox Adomokai</a> for your awesome story.</p><p>From Hamza Bashir, Tinuade Adeleke and Mayomi Ayandiran.</p><p>For Consonance Africa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76958a7ac911" width="1" height="1" alt=""><hr><p><a href="https://medium.com/consonance/star-developer-series-shox-adomokai-76958a7ac911">Star Developer Series: Shox Adomokai</a> was originally published in <a href="https://medium.com/consonance">Consonance Club</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The solution to Nigerian’s election conspiracy — Decentralized voting system.]]></title>
            <link>https://medium.com/devcenter/the-solution-to-nigerians-election-conspiracy-decentralized-voting-system-de3512c2dcb9?source=rss-813543697afb------2</link>
            <guid isPermaLink="false">https://medium.com/p/de3512c2dcb9</guid>
            <category><![CDATA[nigerian-politics]]></category>
            <category><![CDATA[nigeria]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[saucecode]]></category>
            <category><![CDATA[dapps]]></category>
            <dc:creator><![CDATA[Mayomi Ayandiran]]></dc:creator>
            <pubDate>Thu, 01 Feb 2018 06:40:35 GMT</pubDate>
            <atom:updated>2018-03-04T16:00:36.024Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain. <br> — Louis L’Amour</blockquote><p>The quote above looks good but what happens when you cast your vote and you know it within yourself that your vote doesn’t count, that means you just wasted your precious time, risked your live and wasted your effort, these are not the only things you have wasted but you have lost your chance of voting for the person you think will make Nigeria a better place.</p><p>Now the question most Nigerians ask themselves is why do they go to the polling booth to vote when they know that their vote is not going to be counted. In a country like Nigeria most people that vote are the average Nigerians and the uneducated ones, if you ask the educated ones why they don’t vote they will tell you that why should they vote when they know their vote doesn’t count. These baffles me a lot and I asked myself, ‘Are we really operating a democratic system in Nigeria?’ if democracy means government of the people by the people and for the people then why are the people not allow to select their own leaders. Or is it that our votes are been counted and we thought they are not been counted or we Nigerians are just ignorance of our right, or are we scared of choosing the wrong person for the job or ….</p><p>The government has tried their best in making her citizens believe that their votes truly count, they counted and announced each polling booth votes immediately the voting period has elapsed but we don’t know what happened during the collation of the results, so one might have a reason not to totally trust the results, now the question is what do Nigerians what? How can we make the voting system a perfect and unquestionable one?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*bstOKTQ1l3rbgjJI5NafQQ.png" /><figcaption><a href="http://www.relationship-economy.com/wp-content/uploads/2012/03/what-you-want.jpg">http://www.relationship-economy.com/wp-content/uploads/2012/03/what-you-want.jpg</a></figcaption></figure><p>The solution to these trust issues that has grown into a heavy forest in the mind of Nigerians is a system where everyone sees their vote being counted and they see the result of their action immediately, that is, if I voted for the candidate I preferred, I want to see the vote incrementing by one, I want to know that I can trace my vote and see that truly it was recorded for the person I voted for, so how can the government solve my trust issues, wait ✋ what if the voting system is decentralized, what if everyone can contribute to the counting of the votes and the counting is not centralized, that is no particular organization is responsible for how the vote is been counted but everyone is involved in the voting process. Well there’s a good news😁.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*o-4HzNXRWR5NYSRlLjtkVg.gif" /><figcaption><a href="https://tenor.com/view/good-news-excited-parks-and-recreation-rec-ron-swanson-gif-5025044">https://tenor.com/view/good-news-excited-parks-and-recreation-rec-ron-swanson-gif-5025044</a></figcaption></figure><p>Applying the concept of blockchain to elections solve it all! What do I mean? What is blockchain?, how does blockchain solves the problem of elections in Nigeria? How does it solve trust issues with Nigerians? These and many more are the questions this article is meant to address. So let’s get started!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*fcwLWixk10G27dEqiHOM-Q.gif" /><figcaption><a href="https://media1.tenor.com/images/7dcc0b5a2c64d741b6edd12a88738cf9/tenor.gif?itemid=4767352">https://media1.tenor.com/images/7dcc0b5a2c64d741b6edd12a88738cf9/tenor.gif?itemid=4767352</a></figcaption></figure><h3>What is blockchain?</h3><p><em>‘A </em><strong><em>blockchain</em></strong><em>, originally </em><strong><em>block chain,</em></strong><em> is a continuously growing list of </em><a href="https://en.wikipedia.org/wiki/Record_(computer_science)"><em>records</em></a><em>, called blocks, which are linked and secured using </em><a href="https://en.wikipedia.org/wiki/Cryptography"><em>cryptography</em></a><em>. Each block typically contains a </em><a href="https://en.wikipedia.org/wiki/Cryptographic_hash_function"><em>hash</em></a><em> pointer as a link to a previous block, a </em><a href="https://en.wikipedia.org/wiki/Trusted_timestamping"><em>timestamp</em></a><em> and transaction data. By design, blockchains are inherently resistant to modification of the data. It is “an open, </em><a href="https://en.wikipedia.org/wiki/Distributed_ledger"><em>distributed ledger</em></a><em> that can record transactions between two parties efficiently and in a verifiable and permanent way”. For use as a distributed ledger, a blockchain is typically managed by a </em><a href="https://en.wikipedia.org/wiki/Peer-to-peer"><em>peer-to-peer</em></a><em> network collectively adhering to a protocol for validating new blocks. Once recorded, the data in any given block cannot be altered retroactively without the alteration of all subsequent blocks, which requires collusion of the network majority.</em>’</p><p>Ok, that definition was from wikipedia, read more <a href="https://en.wikipedia.org/wiki/Blockchain">here </a>. Of course I know that was a technical definition and complex to understand for someone who does not know what blockchain really means.</p><p>Blockchain is a systematic way of defining a data such that the data are linked to one another in chain form, the previous data is linked to the next data and these data are hosted across a network of computers and the data are all encrypted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*70Zsv_ocAhQCrFcLSTjrOA.png" /><figcaption><a href="https://www.intellectsoft.net/blog/wp-content/uploads/shutterstock_619168763-1000x462.jpg">https://www.intellectsoft.net/blog/wp-content/uploads/shutterstock_619168763-1000x462.jpg</a></figcaption></figure><h3>Centralized and Decentralized</h3><p>I will like to explain these terms base on the way internet works. If you are reading this article on your phone or computer, this is because the website where you are reading this article has a server somewhere, and you are sending request to the server, all these data are stored on that server and if the server went down then you won’t be able to load this page, that is centralized, everything is on one server, though some company might have more than one server powering their website but it is still centralized everything it is still in one place. Contaminating the server might lead to the end of the website.</p><h4>Now, how can we decentralized the internet?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f4JF6pes74gJGQ4loRMgSw.png" /><figcaption><a href="https://i.pinimg.com/originals/51/3d/af/513dafe547bec22cecaec60e7d51dd0d.png">https://i.pinimg.com/originals/51/3d/af/513dafe547bec22cecaec60e7d51dd0d.png</a></figcaption></figure><p>If you are a fan of HBO silicon valley series, you would probably have heard <strong>‘Richard Hendrick’ </strong>in the movie talking about decentralizing the internet. How does these work? Everyone has the encrypted data on the computer, that’s is. Instead of having all the data in a central place I mean, one place. Everyone have it on their computer and each changes being made is approved by each computer on the network. Wawu!!! This means no one can just login from somewhere in ‘god mode’ to edit your data, if they try to do so it will break the data that were linked to the other chains, which will be rejected by a validation process called ‘proof of work’. This makes it <strong>technically impossible</strong> <strong>to hack</strong> and change data that have entered the chain because it will have to be changed in each of the computers on the network.</p><p>You might be surprised that we are talking about blockchain and I have not mentioned cryptocurrency like Bitcoin, Ethereum ,Ripple and the likes, please don’t , all these are digital currency that work by the application of blockchain technics. The problem this solves is freeing us from banks by making us being our own bank ourselves. I will explain these in a future article.</p><h4><strong>Now how does decentralizing voting system help the next Nigeria elections?</strong></h4><p>If you are reading this article patiently from the beginning you would have probably started to understand the point my trying to make, if elections are decentralized such that the government or any other organization are not involved in the managing of how the votes are being counted then our elections would be free and fair. You will have the power to vote and you will be able to monitor your vote, once you add your vote to the election chain, it is there forever and hashed(encrypted) forever.</p><h3>AN ATTEMPT TO SOLVE THIS PROBLEM</h3><p>I and three other developers(<a href="https://medium.com/u/cd750bc4f9f8">Emmanuel Kehinde</a>, <a href="https://medium.com/u/b020b86cfd95">Adeniranyusuf Abdullateef</a> and <a href="https://medium.com/u/e3c929034aa6">Anifowose Quadri</a>) have put the weight of building a decentralizing application (dapps) solely to tangle the challenge of people not trusting the current centralized system of elections used by governments of this world, this is not first of it kind as there are already many decentralized voting application developed by developers all over the world, but what makes ours different from others is the fact that it was made with Nigeria in mind as a case study. We built the app leveraging on an existing platform that allows applications to be built decentralized. This platform is called Ethereum, Ethereum allow developers to build app in form of contract on their platform, the applications are called Smart Contracts, they are written to make data look like transactions, and these are being mining on the Ethereum network. Meaning each of your vote in much like your are transferring ether in form of vote from your end to the Ethereum blockchain. <strong>This means to hack the vote you must first take Ethereum down </strong>, wawu!!!.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*l7rHx9uyHNVs3mbKWpvJTA.gif" /><figcaption>Bring Ethereum down and lemme see…</figcaption></figure><p>So how does the application works, the voter supply their Voter’s Identification Number(VIN) and we check if the VIN exist, if it exist we send One Time Password (OTP) to the phone number that they provided during registration of their voter’s card. The voter insert the OTP s/he received and login, then they select from the lists of all available elections and they are taking straight to the voting page where they see list of all candidates with their party logos and there’s a button to vote. During the registration period as a voter, all the VIN are being sent to the Ethereum network. The candidates are also sent to the Ethereum network such that when a voter which is identified by his/her VIN vote for one candidate in the chain, the voter’s vote enter the Ethereum blockchain network and <em>miners</em> confirm the validity of the transaction sent, we wrote the smart contract using <strong>Solidity </strong>(Ethereum language) to add voter, add candidates, check if the voter has voted and to get the total vote of each candidate. Then we make backend client(a simple API-gateway) that communicates with the Ethereum network using eth.js, with eth.js we are able to write an API that Web application, Android application and even USSD application can communicate with.</p><h4>So nice solutions but what about my grandma in the village? Will she be able to vote?</h4><p>To address the internet issues problem in rural areas we have developed an USSD application(using Africaistalking) which can be used to vote by just typing <strong>*384*811#</strong> on your phone without internet. So you won’t have to say you didn’t vote because you don’t have internet 😛 .</p><h4>But what about those with no phone number, doesn’t this mean that they don’t have right to vote?</h4><p>Well, we also address this issue, in the web app there is a feature that allows the voters to been authenticated using their fingerprint, the way this will work is that INEC officers will setting up at polling booths and they will be in charge of directing the voters that can’t use their phone number to vote.</p><p>The web app also have a page where you can see vote logs(transactions) as they are being sent, failed transaction means that the person has voter before and are trying to vote again.</p><p>The web app also have a real time chart updates that update as the voting is going on.</p><ul><li><strong>Link to the web app</strong>: <a href="https://boothcallers.herokuapp.com/">https://boothcallers.herokuapp.com</a>,</li><li><strong>Link to the download Android app:</strong> <a href="https://www.dropbox.com/s/krshxhokg2t7xfc/BoothCaller.apk?dl=0">https://www.dropbox.com/s/krshxhokg2t7xfc/BoothCaller.apk?dl=0</a></li><li><strong>Link to test the USSD</strong>: <a href="https://simulator.africastalking.com:1517/">https://simulator.africastalking.com:1517/</a></li></ul><p>This application was built for an ongoing hackathon called <a href="/service/htpps://saucecode.xyz">saucecode</a>… Say yes to Free and Fair electron, yes to your right, yes to the real democracy!… I rest my case. Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de3512c2dcb9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devcenter/the-solution-to-nigerians-election-conspiracy-decentralized-voting-system-de3512c2dcb9">The solution to Nigerian’s election conspiracy — Decentralized voting system.</a> was originally published in <a href="https://medium.com/devcenter">Devcenter Square Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>