<?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 Okeke Nneka Vanessa on Medium]]></title>
        <description><![CDATA[Stories by Okeke Nneka Vanessa on Medium]]></description>
        <link>https://medium.com/@vanneka-okeke?source=rss-ad6177842120------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PbhIvnibKX2ElfJnZHj4MA.jpeg</url>
            <title>Stories by Okeke Nneka Vanessa on Medium</title>
            <link>https://medium.com/@vanneka-okeke?source=rss-ad6177842120------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 00:12:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vanneka-okeke/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[Failover Isn’t Enough: The Half-Finished Dispatch]]></title>
            <link>https://vanneka-okeke.medium.com/failover-isnt-enough-the-half-finished-dispatch-b7815acd1148?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7815acd1148</guid>
            <category><![CDATA[virtual-power-plant]]></category>
            <category><![CDATA[energy]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 15:54:26 GMT</pubDate>
            <atom:updated>2026-11-10T16:00:10.691Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>NOTE: </em></strong><em>Dee and Thimblewood Energy are fictional. The sections between the scenes are real and cited.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6BSOVpuS7QYewr-wvvtNqA.jpeg" /><figcaption>Unsplash, Barnabas Keim</figcaption></figure><p>In the last few posts, we’ve gone over what a virtual power plant is, how a dispatch works, and why the software at its center matters so much. Most recently, in <a href="https://vanneka-okeke.medium.com/the-brain-of-a-virtual-power-plant-why-its-reliability-matters-7c3855f928ed">The Brain of a Virtual Power Plant</a>, we followed Dee, our fictional engineer at <em>Thimblewood</em>, through the first of a series of failures.</p><p>At 4:58 p.m., two minutes before <em>Thimblewood</em> was due to deliver 50 MW, the main server running the dispatch restarted, and a backup took over. It wasn’t a dramatic failure, just a server restart, but the timing couldn’t have been worse.</p><p>The idea of a backup system running alongside our primary software does tend to make us relax as engineers. The main server goes down, a standby server takes over, and life goes on. The main server is called the primary, and the standby is the backup. That’s what happened at <em>Thimblewood</em>: the primary restarted, and the backup picked up the dispatch. But I think “the backup took over” hides a harder question: took over what, exactly?</p><p>Here’s how I see it, a backup can take over the job, it can’t automatically take over the memory of how far along the job was. For a VPP, that memory matters more than it might seem. Idaho National Laboratory describes the platforms that run VPPs as the “operational ‘brain’ of a VPP” and “a concentrated digital dependency for grid services,” and warns that “disruptions or compromise at this layer can quickly propagate to the distribution grid” [<a href="https://inl.gov/content/uploads/2026/01/VPP-Architecture-and-Design-Report__Final.pdf">2</a>].</p><p>The report doesn’t go into what happens when one of the brain’s own servers is swapped out in the middle of a dispatch, and that’s the part we’re taking apart, when <em>Thimblewood’s </em>backup took over, did it know which commands had already gone out?</p><p><strong>4:59 p.m.</strong></p><p>It was almost show time and the backup was up and running. Nothing was flashing red, and as far as the screen was concerned, the dispatch was on track. Dee pulled up the dispatch record anyway.</p><p>What Dee hadn’t seen at 4:57 was that the platform had already started working around the slow batteries from 4:52. It had begun sending replacement commands, asking other batteries in the fleet to pick up the slow ones’ share of the 50 MW. Then, partway through, the primary restarted. The replacement commands were all there in the record. Some were marked as sent. Some weren’t.</p><p>That should have been simple: send the rest and move on. But Dee kept looking at the ones marked not sent. The primary had gone down in the middle of sending them. What if one of those had actually gone out, and the server restarted before it could write that down? The record said it hadn’t been sent. She wasn’t sure she believed it.</p><p>And the server that would have known was the one that had just restarted.</p><p>Sixty seconds to go.</p><h4>A backup takes over the job, not the memory</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PTCrDwC5KUqfo9ItCufG3Q.jpeg" /><figcaption>Unsplash, Sergei Starostin</figcaption></figure><p>The backup had a list of commands, and no reliable way to tell which ones had really gone out. This isn’t just a<em> Thimblewood </em>problem. It’s a well-known one in software, and it helps to give it some names.</p><p>The first is <strong>in-progress work</strong>, also known as in-flight work: a job that was started but not finished when the server stopped. When we picture a backup taking over, we usually picture it starting fresh. But <em>Thimblewood’s</em> backup didn’t inherit a fresh dispatch. It inherited a half-finished one, with some replacement commands already out with the batteries and some still waiting.</p><p>Working out which is which is called <strong>crash recovery</strong>: after a server stops partway through a job, figuring out which parts actually finished. For a VPP, that means figuring out which commands actually reached the batteries. It sounds like bookkeeping, but it’s one of the harder problems in software. One study of four popular open-source distributed systems catalogued 103 crash-recovery bugs. It also found that faults in recovery mechanisms themselves “can introduce intricate crash recovery bugs, and lead to severe consequences” [<a href="https://doi.org/10.1145/3236024.3236030">1</a>].</p><p>Part of what makes it hard is <strong>atomicity</strong>. A step is atomic if it happens completely or not at all. Sending a command to a battery and writing down that it was sent feel like one action, but they’re two. If the server stops between them, the command is out there and the record says it isn’t. As the same study puts it, “a crash can break this atomicity” [<a href="https://doi.org/10.1145/3236024.3236030">1</a>]. That’s exactly what Dee was looking at.</p><p>What the backup can rely on is the <strong>committed state</strong>: whatever was safely written down before the restart and is still there after it. The catch is that the committed state can lag behind what actually happened. <em>Thimblewood’s</em> record wasn’t wrong about anything it recorded. It just may not have recorded everything.</p><p>So here’s the problem as I see it: the backup has to guess, and neither guess is safe. If it treats the unmarked commands as not sent and sends them, some batteries may get the same instruction twice. Whether that’s harmless depends on whether any system along the way can tell it’s a repeat. If it assumes they went out and they didn’t, part of the 50 MW is never asked for at all. Either way, <em>Thimblewood</em> risks delivering something other than what it promised, and payment follows performance: at the end of a dispatch cycle, the VPP settles accounts with the grid operator and then shares out the profit among its resources based on each one’s “operating performance and deviation punishment” [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>].</p><p>I’ve started writing this gap down in code. The <a href="https://github.com/Vanneka/vpp-dispatch-reliability/blob/v0.1.0/docs/design.md">design notes</a> in the reference implementation I’m building call it the known gap: record a command as sent before sending it, or after, and neither order is safe on its own. The current version records progress, it doesn’t recover from it yet.</p><p><strong>5:00 p.m.</strong></p><p>It’s show time</p><p>Across <em>Thimblewood’s</em> fleet, the batteries that had received commands began doing exactly what they’d been told. They didn’t check the record first, and they didn’t wait for the backup to catch up. Whatever had gone out at 4:57 was now happening, whether the record knew it or not.</p><p>Dee watched the power start to flow. It was moving, but she couldn’t tell yet whether it was the right amount, or which batteries were carrying it.</p><p>She kept coming back to one question. Not why the primary had restarted, and not what to do next. Just this: how was the backup supposed to find out where it had left off?</p><p>At 5:01, she still didn’t have an answer.</p><h4>Key points</h4><ul><li>Idaho National Laboratory describes VPP platforms as the “operational ‘brain’ of a VPP” and “a concentrated digital dependency for grid services,” where disruptions “can quickly propagate to the distribution grid” [<a href="https://inl.gov/content/uploads/2026/01/VPP-Architecture-and-Design-Report__Final.pdf">2</a>].</li><li>A backup server can keep the platform running after a failover, but as I see it, it doesn’t automatically know how far along the primary was with work in progress, such as a half-sent set of dispatch commands.</li><li>Sending a command and recording that it was sent are two separate steps. A crash between them can leave the record wrong, and crash recovery is a well-known hard problem in software generally [<a href="https://doi.org/10.1145/3236024.3236030">1</a>].</li><li>If the backup guesses wrong, some batteries may get the same instruction twice, or part of the promised power may never be asked for. In VPP settlement, each resource’s share of the profit depends on its “operating performance and deviation punishment” [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>].</li></ul><p>The backup is in charge now, with a half-finished dispatch and a record it can’t fully trust. In the next post, we’ll look at how a VPP platform can pick up where it left off, so that every battery ends up with one command that counts, even if it hears it twice.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7815acd1148" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Brain of a Virtual Power Plant: Why Its Reliability Matters.]]></title>
            <link>https://vanneka-okeke.medium.com/the-brain-of-a-virtual-power-plant-why-its-reliability-matters-7c3855f928ed?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c3855f928ed</guid>
            <category><![CDATA[virtual-power-plant]]></category>
            <category><![CDATA[energy-efficiency]]></category>
            <category><![CDATA[power-plants]]></category>
            <category><![CDATA[energy-management]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 15:42:09 GMT</pubDate>
            <atom:updated>2026-11-05T17:12:33.720Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>TL;DR: </em></strong><em>A virtual power plant connects thousands of devices, so if one battery falls short, others can cover for it. But every decision runs through one piece of software, the platform, the “brain” of the VPP. Thousands of devices can cover for each other, but none of them can cover for the brain.</em></p><p><strong><em>NOTE: </em></strong><em>Dee and Thimblewood Energy are fictional. The sections between the scenes are real and cited.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xuOw7P3X6QKZRg_F6idUug.jpeg" /></figure><p><strong>4:40 p.m.</strong></p><p>Dee, a senior energy management engineer at Thimblewood Energy, has knocked over two coffees this week, which is exactly why she writes everything down. Today’s sticky note is stuck to the edge of her monitor:</p><ul><li>O̶f̶f̶e̶r̶ ̶a̶c̶c̶e̶p̶t̶e̶d̶</li><li>Every device has its 5 p.m. instruction</li><li>Watch the start at 5:00</li><li>Collect responses</li><li>Report what we delivered</li></ul><p>Yesterday, Thimblewood’s offer in the day-ahead market was accepted by the regional grid operator: 50 MW from 5 to 7 p.m. She crosses off the first item on the list.</p><p>Since then, she’s been collecting data from the thousands of DERs connected to Thimblewood’s platform, and so far, so good: nearly every device has checked in and is holding its 5 p.m. instruction. She peels the sticky note off her monitor and crosses off the second item.</p><p>Twenty minutes to go.</p><h3><strong>Single point of control: the benefits and the drawbacks</strong></h3><p>Remember from the first post that a VPP is described as a group of resources “managed by a single control system” [<a href="https://doi.org/10.1016/j.rser.2021.111393">5</a>]. That system is run by the VPP operator we met in post 2. In a centralized design, the operator’s control center has full authority to dispatch every device in the VPP [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">11</a>].</p><p>This design has real benefits. With one control center making the calls, the VPP can take thousands of small devices that would otherwise act on their own and turn them into one large, coordinated resource [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">11</a>]. That’s what lets a crowd of home batteries show up for the grid like a single power plant. The drawback is that everything leans on that one place.</p><p>A centralized VPP depends heavily on its communication network [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">11</a>]. Idaho National Laboratory puts it plainly: these control systems “form the operational ‘brain’ of a VPP and represent a concentrated digital dependency for grid services” [<a href="https://inl.gov/content/uploads/2026/01/VPP-Architecture-and-Design-Report__Final.pdf">4</a>].</p><p>Sunrun runs a home-battery VPP in California’s Demand Side Grid Support program. In 2026, Sunrun says more than 110,000 home batteries are enrolled, and that it “coordinates all dispatch operations” [<a href="https://www.globenewswire.com/news-release/2026/07/14/3326774/0/en/Sunrun-s-California-Distributed-Power-Plant-Expands-Dispatch-Capacity-to-425-Megawatts-to-Provide-Statewide-Grid-Relief.html">8</a>]. Sunrun has also pointed out that because its batteries are spread across so many homes, there’s no single point of failure [<a href="https://investors.sunrun.com/news-events/press-releases/detail/340/sunruns-distributed-power-plant-quadruples-in-size-to">7</a>], and at the device level that’s true. But both things hold at once: the batteries are spread out, and the decision to dispatch them comes from one operator.</p><p><strong>4:45 p.m.</strong></p><p>Dee looks at the number at the top of her screen: 50 MW, 5 to 7 p.m. That’s what Thimblewood promised the grid operator yesterday, and what it gets paid on depends on what it actually delivers. She writes it at the top of her sticky note.</p><h3><strong>Why the brain’s reliability matters</strong></h3><p>Remember from post 2 that a VPP gets paid for what it delivers, not just for what it promised. Once the VPP is done delivering power, it settles up with the grid operator. It then splits the earnings across its devices based on how each one actually performed, with a penalty for falling short, which researchers call “deviation punishment” [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">11</a>]. So if the platform stumbles in the middle of a dispatch, the VPP can come up short on its promise, and that shows up in what it earns.</p><p>The stakes are also growing: the U.S. Department of Energy’s Liftoff analysis finds that tripling VPP capacity to 80–160 GW, enough to cover 10–20% of peak demand by 2030, would help the U.S. support rapid electrification [<a href="https://liftoff.energy.gov/wp-content/uploads/2025/01/VPPS.pdf">2</a>]. FERC Order 2222 is opening wholesale markets to groups of small devices [<a href="https://www.ferc.gov/ferc-order-no-2222-explainer-facilitating-participation-electricity-markets-distributed-energy">3</a>], Google announced it will pay homes and businesses in PJM to join a 100 MW VPP [<a href="https://www.utilitydive.com/news/what-googles-virtual-power-plant-in-pjm-says-about-the-race-for-electricit/833290/">9</a>].</p><p>The North American Electric Reliability Corporation (NERC), which oversees grid reliability, now names DER aggregators and VPPs among its reliability concerns. It notes that “visibility, control, and performance of aggregated DERs may be needed” to keep planning and operations reliable [<a href="https://www.waterisac.org/wp-content/uploads/2025/08/2025_RISC_ERO_Priorities_Report.pdf">6</a>]. As VPPs take on more of the grid’s peak, the brain’s reliability matters to more people.</p><p><strong>4:52 p.m.</strong></p><p>A small rise on the dashboard. Some of the batteries are taking longer than usual to report their state of charge. Dee isn’t too worried. Slow check-ins happen, and the devices already have their 5 p.m. instructions. As long as it doesn’t last, they’ll do what they were told. The platform itself looks fine. She makes a note anyway: <em>watch latency</em>.</p><h3><strong>When connections slow down, there’s a plan?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h6m7Nc2TORXpQhbu4_gt0A.jpeg" /></figure><p>Dee’s calm at 4:52 over the slow check-ins wasn’t luck. Communication between a VPP and its devices isn’t perfect, and the industry knows it. A VP3 report on VPP metering and telemetry notes that “live communications could go down periodically, disrupting the flow of data,” and that access to device data is “often plagued by downed services, slow communications, and other issues” [<a href="https://rmi.org/insight/virtual-power-plant-metering-and-telemetry/">10</a>].</p><p>So the standards plan for it. Under California’s Common Smart Inverter Profile (CSIP), a device that has already received its instructions is required to finish its scheduled event and then go back to its default settings [<a href="https://sunspec.org/wp-content/uploads/2025/01/CSIPImplementationGuidev2.103-15-2018.pdf">1</a>]. That’s why the slow check-ins didn’t worry Dee: the batteries were already holding their 5 p.m. instructions. On the connection side, the VPP’s software is expected to fall back to polling when it notices communication errors [<a href="https://sunspec.org/wp-content/uploads/2025/01/CSIPImplementationGuidev2.103-15-2018.pdf">1</a>]. In simpler terms, if updates from the utility’s server stop arriving, the VPP’s software goes and checks for them.</p><p>Idaho National Laboratory goes further. It recommends “redundant communication paths and failsafe modes to maintain dispatch continuity during connectivity loss or denial-of-service conditions,” and “clear rules for how DERs and aggregators should behave when communications are disrupted” [<a href="https://inl.gov/content/uploads/2026/01/VPP-Architecture-and-Design-Report__Final.pdf">4</a>].</p><p>So for devices and connections, the answer is yes, there’s a plan for when connections slow down. What I noticed, reading through these, is where the plans point. They cover the devices and the links between them. There’s much less about what the platform itself should do with a dispatch that’s already in progress, if the platform is the part that stumbles.</p><p>That’s what Dee is about to find out.</p><p><strong>4:58 p.m.</strong></p><p>The latency is still there, but Dee isn’t worried about that. The devices have their instructions. Then an alert pops up from the platform’s incident system: the primary server is restarting, and the backup is taking over.</p><p>Now she sits up. Two minutes to 5. Everything left on her sticky note (watch the start, collect responses, report what we delivered) runs through the platform. Which devices confirmed, which didn’t, what’s been promised and what’s been sent: the primary was keeping track of all of it.</p><p>Does the backup know?</p><p>Dee grabs a pen.</p><h3><strong>Key points</strong></h3><ul><li>A VPP’s devices are spread out, but its decisions come from one control system [<a href="https://doi.org/10.1016/j.rser.2021.111393">5</a>]. Idaho National Laboratory calls these systems “the operational ‘brain’ of a VPP” [<a href="https://inl.gov/content/uploads/2026/01/VPP-Architecture-and-Design-Report__Final.pdf">4</a>].</li><li>That central control is what turns thousands of small devices into one resource the grid can count on [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">11</a>], and what the VPP earns depends on what it actually delivers [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">11</a>].</li><li>Standards and guidance plan for slow or lost connections: devices finish their scheduled events, and redundant communication paths are recommended [CSIP; INL].</li><li>Thousands of devices can cover for each other, but none of them can cover for the brain.</li></ul><p><strong>Next in the series: </strong>4:59. The backup is running, and the grid is still expecting 50 MW at 5 p.m. What happens to Thimblewood’s promise when the server that was tracking it has just been swapped out?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c3855f928ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How a Virtual Power Plant Dispatch Works, From Request to Payout]]></title>
            <link>https://vanneka-okeke.medium.com/how-a-virtual-power-plant-dispatch-works-from-request-to-payout-3aae962b2664?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/3aae962b2664</guid>
            <category><![CDATA[power-plants]]></category>
            <category><![CDATA[energy-management]]></category>
            <category><![CDATA[virtual-power-plant]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Sun, 01 Nov 2026 16:09:57 GMT</pubDate>
            <atom:updated>2026-11-01T16:09:57.981Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s walk through a hypothetical situation. It’s a hot summer day in mid-July on the East Coast, and the grid is currently supplying power to a number of homes. However, a heat wave is forecast for tomorrow, and the grid operator expects demand to peak around 5 p.m., so the grid needs to account for supplying the normal amount plus about 50 megawatts more to the homes already being powered. This article goes through this situation to explain how a virtual power plant can support the grid and how it gets paid afterwards.</p><p>In this, we’ll go over the key players in the energy distribution, the platforms involved and how bi-directional communication, through commands and responses, translates to the support needed by the grid to remain balanced during the heat wave.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ugYx64gUe91IkyivIO7DNg.png" /></figure><p>The key players involved in the end-to-end workings of a VPP include:</p><ul><li><strong>Customers: </strong>Who own or operate the distributed energy resources (DERs)</li><li><strong>The VPP Operator: </strong>This is the aggregator company that manages the VPP software</li><li><strong>The VPP’s software platform:</strong> The system the VPP operator runs, often called a DERMS, which one study calls “the heart of a VPP” [<a href="https://doi.org/10.1109/PES.2009.5275995">7</a>]</li><li><strong>The grid operator</strong> <strong>(called a Regional Transmission Organization, or RTO, or an Independent System Operator, or ISO) </strong>[FERC RTO/ISO]<strong>: </strong>In the market pathway (more on this below), the grid operator runs the regional high-voltage grid and wholesale markets</li><li><strong>The Utility:</strong> In the program pathway (more on this below), the utility calls an event and sends it to the VPP operator’s platform.</li></ul><p><strong>Virtual Power Plant Dispatch Path</strong></p><p>When considering a VPP and how it receives instructions from the grid operator or the utility, it’s important to hold two concepts in mind: the market pathway and the program pathway. You can think of these as two ways by which requests for power get triggered on the VPP platform.</p><p><strong>Market Pathway: </strong>The market pathway is a way for a VPP to sell power into the wholesale market run by the regional grid operator. You can think of it as the VPP working like a freelance bidder, by first, looking at how much power it’s able to aggregate from its connected DERs at a specific time, then submitting an offer that essentially tells the grid operator, “From 5 to 7 p.m. tomorrow, I can have 50 MW of power available for you at this price.” Remember, in this case the VPP is acting and participating like a traditional power plant [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>]. Rules that let groups of small devices take part in these markets are still being phased in by grid operators [<a href="https://www.ferc.gov/ferc-order-no-2222-explainer-facilitating-participation-electricity-markets-distributed-energy">2</a>].</p><p>The grid operator looks at all the offers it received, from power plants and VPPs alike, and accepts the lowest-priced ones until it has enough to meet expected demand, rejecting “bids for prices that are higher than necessary to meet a need” [<a href="https://ferc.gov/introductory-guide-electricity-markets-regulated-federal-energy-regulatory-commission">1</a>]. This happens in the day-ahead market, with smaller adjustments made on the day itself [<a href="https://ferc.gov/introductory-guide-electricity-markets-regulated-federal-energy-regulatory-commission">1</a>]. If the VPP’s offer is low enough, it’s accepted, and the VPP receives a schedule of when to provide the power it offered, which it must then deliver. If not, it sits out.</p><p><strong>Program pathway: </strong>The program pathway is a bit more direct than the market pathway. Here, the VPP works directly with the local utility, through a program the utility runs, to supply power or reduce how much power its connected DERs use. The major difference is that there is no bidding. The VPP and its customers are already enrolled in the utility’s program, at a rate set in advance. In this case, instructions get to the VPP when the utility calls an event and sends it to the VPP operator, and it is the VPP’s responsibility to respond, either by supplying power or by reducing usage across its connected DERs. National Grid’s ConnectedSolutions program for businesses in Massachusetts is a good example.</p><p>Customers sign up through an aggregator, which the program calls a “Curtailment Service Provider,” and “notice is given the day before an event takes place” [<a href="https://www.nationalgridus.com/MA-Business/Energy-Saving-Programs/ConnectedSolutions">4</a>]. Events run from June through September and usually last two to three hours, and battery participants can be called 30 to 60 times a season [<a href="https://www.nationalgridus.com/MA-Business/Energy-Saving-Programs/ConnectedSolutions">4</a>]. Instead of a market price, participants are paid a set rate per kilowatt, based on their “average reduction in electricity use (curtailment) or battery discharge” during events [<a href="https://www.nationalgridus.com/MA-Business/Energy-Saving-Programs/ConnectedSolutions">4</a>].</p><p>In both cases, whether the request comes from a market or a program, it lands at the VPP’s software platform, and from there the steps are the same.</p><p><strong>STEP 1: Handling the request</strong></p><p>The requests for power can come from either the market pathway, as a schedule from the grid operator, or the program pathway, as an event from the local utility, often sent using a standard called OpenADR <a href="https://www.openadr.org/openadr-3-0">[5]</a>. Either way, the request essentially says when to start, for how long, and how much power is needed. It typically arrives ahead of time (a day ahead in both of our examples), and it can be changed or cancelled depending on the need at the time. It is then the VPP’s responsibility to plan how to address the request.</p><p><strong>STEP 2: Choosing the DERs</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IEP0p70aTTL3CLjdtssSEA.png" /></figure><p>This step involves the VPP looking at the devices connected to it and, depending on whether the request is for supplying power or reducing demand, deciding which devices will participate and how much to ask of each, using its own method for prioritizing them [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>]. It uses each device’s limits, such as its “ramp limit” and “capacity limit,” and its live status, such as its “output power” and “electricity storage situation,” to make this decision [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>].</p><p><strong>STEP 3: Sending commands to devices</strong></p><p>At this stage, the VPP has to actually tell its devices what to do. You can think of this as sending calendar invites, each device gets told</p><ul><li>What to do.</li><li>When to do it, ahead of time.</li></ul><p>The platform sends each DER its own command, either through a standard like IEEE 2030.5 or through another company’s cloud server, which relays the command to the device [<a href="https://www.openadr.org/assets/docs/4_sce%20iot%20and%20%20byod%20openadr%20may%2025%202016.pdf">10</a>]. Each command “contains a start time, a duration, and a control parameter value” [<a href="https://sunspec.org/wp-content/uploads/2019/08/CSIPImplementationGuidev2.103-15-2018.pdf">6</a>]. For our heat wave example, a battery’s invite might read: start at 5 p.m., run for two hours, discharge at this level.</p><p>Like calendar invites, these can be sent early, since devices can store “at least 24 scheduled DER control events” [<a href="https://sunspec.org/wp-content/uploads/2019/08/CSIPImplementationGuidev2.103-15-2018.pdf">6</a>], and they can be rescheduled or cancelled if plans change [<a href="https://sunspec.org/wp-content/uploads/2019/08/CSIPImplementationGuidev2.103-15-2018.pdf">6</a>]. And if a device loses its connection, it will still “complete any scheduled event and then revert to default settings” [<a href="https://sunspec.org/wp-content/uploads/2019/08/CSIPImplementationGuidev2.103-15-2018.pdf">6</a>]. So even if a battery’s Wi-Fi drops at 4:55 p.m., it still discharges at 5.</p><p><strong>STEP 4: Devices act depending on the kind of request</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YyuXfO8ST1nGO_69dNYFwQ.jpeg" /></figure><p>This step is all about the connected DERs acting on the command they received from the VPP’s software platform. At this point, it’s 5 p.m., and each device does its part. What that looks like depends on the device: a home battery discharges, supplying stored power so the home draws less from the grid; a smart thermostat adjusts its setting so the air conditioner runs a little less; an EV charger pauses its charging [<a href="https://www.eversource.com/content/residential/save-money-energy/clean-energy-options/electric-vehicles/ev-charger-managed-charging/ct">9</a>]. To the grid, all of these essentially look the same: less power needed, as if a power plant had just switched on.</p><p>While this happens, the platform keeps watch. It “supervises the real-time operation status of all DERs to maintain internal power balance” [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>]. So if a battery turns out to be less charged than expected, the platform can lean on other devices to keep the total provided power close to the 50 MW it promised. Once the event’s two hours are up, devices go back to their normal state.</p><p><strong>STEP 5: Responses come back</strong></p><p>At this point, the devices that took part in step 4 report back their status to the VPP’s software platform. You can think of these reports like the updates you get after sending a calendar invite: “accepted,” “joined,” “meeting ended.” In VPP terms, “typical response information includes event reception, event start, event completion, event cancellation” [<a href="https://sunspec.org/wp-content/uploads/2019/08/CSIPImplementationGuidev2.103-15-2018.pdf">6</a>]. So a battery might essentially say: I got the command, I’ve started discharging, and I’m done.</p><p>The platform then reports back to whoever made the request (the utility or grid operator), so they aren’t hearing from thousands of individual batteries. The VPP speaks for all of them: under IEEE 2030.5, the aggregator “must post the appropriate Responses on behalf of each targeted DER” [<a href="https://sunspec.org/wp-content/uploads/2019/08/CSIPImplementationGuidev2.103-15-2018.pdf">6</a>]. This is the two-way communication we talked about in the last post, with the VPP able to “receive information about the current status of each unit” as well as send it commands [<a href="https://doi.org/10.1109/PES.2009.5275995">7</a>].</p><p>These responses matter twice: during the event, they show the platform who’s falling short, and afterward, they become part of the record of what was delivered. But they travel over the same networks as commands, and “live communications could go down periodically, disrupting the flow of data” [<a href="https://rmi.org/app/uploads/dlm_uploads/2025/10/virtual-power-plant-metering-and-telemetry.pdf">8</a>]. What happens when a response goes missing? We’ll get to that soon.</p><p><strong>STEP 6: Measurement and payout</strong></p><p>Once the event is over, it’s time to work out what was actually delivered and get paid for it. You can think of the VPP like a staffing agency here: it sent its workers (the devices) to a job, and now it checks the timesheets, bills the client, and pays each worker their share.</p><p>First, the VPP “calculates the exact output of each DER” [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>]. This is where steps 4 and 5 really pay off, because the platform’s monitoring and the devices’ responses become the record of what happened.</p><p>How the VPP gets paid then depends on the pathway:</p><ul><li>In the program pathway, the utility pays the rate agreed in advance. In ConnectedSolutions, that’s per kilowatt, based on “average reduction in electricity use (curtailment) or battery discharge” during events, and “incentives adjust based on performance” [<a href="https://www.nationalgridus.com/MA-Business/Energy-Saving-Programs/ConnectedSolutions">4</a>].</li><li>In the market pathway, the VPP settles accounts with the grid operator [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>] at market prices, and falling short of what it offered can mean penalties.</li></ul><p>Finally, the VPP shares the payment with its participants, essentially based on how much each device contributed [<a href="https://doi.org/10.1049/iet-gtd.2018.5880">3</a>]. So a battery that delivered its full share earns more than one that fell short.</p><p><strong>What’s next</strong></p><p>In this post, we essentially walked end to end through how a virtual power plant works: how requests come in, how the VPP’s software platform chooses and commands its devices, how those devices respond, and how the VPP gets paid.</p><p>You may have noticed one thing all six steps have in common: every request, command, response, and payment runs through that one software platform. So what happens if the platform itself has a problem halfway through an event? In the next post, we’ll look at why that platform is one of the most important, and most exposed, parts of a virtual power plant.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3aae962b2664" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Virtualization of Power Plants]]></title>
            <link>https://vanneka-okeke.medium.com/the-virtualization-of-power-plants-e1eebf3caf15?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1eebf3caf15</guid>
            <category><![CDATA[energy]]></category>
            <category><![CDATA[energy-grid-management]]></category>
            <category><![CDATA[distributed-energy]]></category>
            <category><![CDATA[virtual-power-plant]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Sat, 24 Oct 2026 00:09:03 GMT</pubDate>
            <atom:updated>2026-10-24T00:09:03.726Z</atom:updated>
            <content:encoded><![CDATA[<p>In the next few series, we’ll be going over the virtualization of power plants, the inner workings and other distributed attributes related to the effort directed at virtualizing power plants.</p><p>Over the last few years, states like Virginia have seen considerable strain from rising energy demand <a href="https://jlarc.virginia.gov/pdfs/presentations/JLARC%20Virginia%20Data%20Center%20Study_FINAL_12-09-2024.pdf">[1]</a>, and the Midcontinent Independent System Operator (MISO) has warned of tightening capacity <a href="https://www.power-eng.com/business/miso-survey-projects-summer-stability-flags-future-reliability-concerns/%20;%20Renewable%20Energy%20World,%20%E2%80%9CMISO%20warns%20of%20up%20to%202.7%20GW%20capacity%20shortfall%E2%80%9D%20(2024%20OMS-MISO%20Survey),%20June%2024,%202024.%20https://www.renewableenergyworld.com/power-grid/outage-management/miso-warns-of-up-to-2-7-gw-capacity-shortfall/">[2]</a>. Nationally, this growth is largely driven by the expansion of data centers and other large computing facilities <a href="https://www.eia.gov/pressroom/releases/press582.php">[3]</a>, along with the growth of semiconductor manufacturing, where a large factory could use up to 100 megawatts of power<a href="https://blog.se.com/infrastructure-and-grid/power-management-metering-monitoring-power-quality/2021/11/15/how-to-improve-power-reliability-for-semiconductor-fabs/">[12]</a>, and other factors. These advancements drive innovation, but they also create the need for smart capacity management in existing grid systems, and this is where virtual power plants play a role.</p><p>A virtual power plant is an interconnected system of grid-integrated Distributed Energy Resources (DERs), with bidirectional communication between the VPP’s control system and the DERs <a href="https://doi.org/10.1016/j.rser.2021.111393">[6]</a>. These systems help support existing grids by aggregating connected energy resources and acting like a single power plant, providing capacity during peak hours and unforeseen events when the grid is likely overworked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*raOB0d-4WemuYTm1t1e-Fg.png" /></figure><p><em>Sources: </em><a href="https://pv-magazine-usa.com/2026/07/27/battery-virtual-power-plant-that-paid-homeowners-5-4-million-now-expanding-to-ev-batteries/"><em>[7]</em></a><em>, </em><a href="https://www.woodmac.com/press-releases/virtual-power-plant-capacity-expands-13.7-year-over-year-to-reach-37.5-gw/"><em>[15]</em></a><em>, </em><a href="https://eta-publications.lbl.gov/bibcite/reference/36459"><em>[16]</em></a><em>. Illustration created with GPT5.6.</em></p><h3><strong>Before Virtual Power Plants</strong></h3><p>Before virtual power plants existed, utilities already had methods of peak shaving, that is, managing how much energy their customers use during peak periods. The umbrella for these methods is demand response, a short-term, voluntary decrease in electricity use by customers, usually triggered when the grid is under stress or wholesale prices are high <a href="https://www.energy.gov/cmei/femp/demand-response-and-time-variable-pricing-programs">[4]</a>. Demand response programs range from offering incentives to customers for intentionally reducing their energy use during peak periods, to a combination of hardware and remote-controlled management of enrolled customers’ equipment, also incentivized, which is the principle behind direct load control.</p><p><strong>Direct load control: </strong>This form of demand response combines hardware and remote control to allow energy providers to remotely control participating customers’ energy consumption. It uses incentives to persuade customers to opt in, offering lowered utility bills and monthly credits. The devices customers enroll are ones that can be cycled briefly without the customer noticing much, meaning devices that would not cause great inconvenience to the consumer when their use is lowered or cut off. Some commonly controlled devices include:</p><ul><li>Central air conditioners</li><li>Electric water heaters</li></ul><p><strong>Incentive-based demand response: </strong>Unlike direct load control, this form doesn’t use remote-controlled hardware. It is a voluntary program where customers are rewarded for intentionally decreasing their electricity consumption during peak periods. The general idea is that if energy providers can encourage their customers to shift their consumption to off-peak periods, using rewards like reduced energy costs as incentives, there will be more grid capacity to handle high peak periods when it is needed. Some examples of peak periods include:</p><ul><li>Hot summer afternoons <a href="https://www.energy.gov/cmei/femp/demand-response-and-time-variable-pricing-programs">[4]</a><a href="https://www.pge.com/en/save-energy-and-money/energy-saving-programs/demand-response-programs.html">[14]</a></li><li>Cold winter mornings and evenings <a href="https://www.icf.com/insights/energy/winter-demand-response-managing-demand-peaks">[13]</a></li></ul><p>Essentially, virtual power plants are built on the foundation of these existing programs — the same idea of managing grid capacity constraints through intentional customer opt-in, while taking advantage of the newer power sources we have today, like home batteries, smart thermostats, rooftop solar and EVs, and aggregating power from tens of thousands of sources. Unlike demand response, which could only reduce use, VPPs can also send stored power back to the grid. It is a modern approach to capacity management built on bidirectional communication between the virtual power plant and its onboarded power sources, which is designed to let it track and confirm that those sources received and applied the requested command.</p><h3>What is a Virtual Power Plant</h3><p>A virtual power plant is a combination of a software platform, a communication layer and a collection of distributed energy resources, like EV chargers, rooftop solar panels and smart thermostats, that together can support a parent power grid in the same way that a power plant supports the grid <a href="https://liftoff.energy.gov/vpp/">[5]</a>. The software platform is often cloud-based.</p><p>It manages the connected energy sources using bidirectional communication: it sends requests to the power sources and is designed to receive responses from them as an acknowledgement. It can aggregate and coordinate different distributed energy resources to act as a single plant that supplies energy to the grid, or reduces demand on it, during a capacity crunch or on demand.</p><p>A virtual power plant can participate in the supply and demand of energy on the grid in three main ways:</p><p><strong>Supply-side VPPs: </strong>These virtual power plants aggregate power from participating DERs, such as rooftop solar panels and batteries, to supply energy directly to the power grid.</p><p><strong>Demand-side VPPs: </strong>These focus on flexible energy consumption. They manage power use on participating DERs by temporarily reducing it in times of a capacity crunch, or pausing it during high peak periods.</p><p><strong>Hybrid VPPs: </strong>These combine the supply and demand styles, both managing the power consumed by participating DERs and storing power that can be injected back into the power grid.</p><h3>How the Grid benefits from the Virtual Power Plants</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*114ogklgsvM5qz-NDhH7Tg.png" /></figure><p>Other methods like demand response and direct load control benefit the grid by balancing real-time supply and demand, shedding or shifting load during peak stress. Virtual power plants take this a step further: they can both balance load during peak periods and inject stored energy back into the grid, as supply-side VPPs do. For example, VPPs can send surplus solar energy stored in home batteries back to the grid during peak periods.</p><p>Massachusetts offers a real example. In the ConnectedSolutions program, batteries delivered roughly 40 MW of net summer capacity savings in the state during the 2025 season, according to preliminary program data, and the program paid more than $5.4 million to 5,251 residential battery participants <a href="https://pv-magazine-usa.com/2026/07/27/battery-virtual-power-plant-that-paid-homeowners-5-4-million-now-expanding-to-ev-batteries/">[7]</a>. At a national scale, the Department of Energy estimates that 80–160 GW of VPPs, enough to serve 10–20% of peak load by 2030, “could support rapid load growth while reducing overall grid costs” <a href="https://liftoff.energy.gov/vpp/">[5]</a>.</p><h3><strong>The Big Three: What the VPP Is Made Of</strong></h3><p>All the while we’ve been talking about virtual power plants, one word stands out: “virtual.” A traditional power plant is an industrial facility that generates electricity on a massive scale by converting mechanical, thermal, chemical or nuclear energy into electric current. A virtual power plant follows the same pattern, but there is no single physical facility that is the power plant itself. Instead, the aggregation of distributed energy resources makes up the plant. A virtual power plant is therefore made up of the following components:</p><p><strong>Devices — The unseen power plant: </strong>A VPP links thousands of distributed devices spread across a region. These are referred to as distributed energy resources (DERs): devices that can store, supply, or reduce their use of power on request from the VPP. These devices could be:</p><ul><li>home batteries</li><li>commercial building batteries</li><li>high-consumption appliances, e.g., HVAC systems</li><li>smart thermostats</li><li>EV chargers</li><li>rooftop solar inverters</li></ul><p><strong>Communication component: </strong>These components allow the VPP to communicate with the connected DERs. VPPs use standard protocols so devices from different makers can understand the same commands:</p><ul><li>OpenADR, a standard for sending demand response and grid signals</li><li>IEEE 2030.5, a standard California uses for communicating with solar inverters and batteries <a href="https://sunspec.org/wp-content/uploads/2019/08/CSIPImplementationGuidev2.103-15-2018.pdf">[8]</a></li></ul><p><strong>Software platform: </strong>The brain box of a VPP is often called a distributed energy resource management system (DERMS). It is this system that combines thousands of DERs to act as a single power plant. Aside from combining them, some of its functions include:</p><ul><li>sending commands to connected DERs and tracking their responses</li><li>managing requests from the grid for more power supply or for reducing the power consumption of connected DERs</li><li>managing capacity usage for connected DERs</li></ul><h3><strong>Why Virtualize Now?</strong></h3><p>Traditional power plants already supply most of the grid’s electricity, so the obvious answer to rising demand is to build more of them. The problem is time. A new power plant can’t simply be built and switched on. It has to wait its turn to connect to the transmission grid. According to Lawrence Berkeley National Laboratory, the median time from requesting a grid connection to starting operation now exceeds five years in the regions with data, and roughly 2,061 gigawatts of generation and storage capacity are currently in line <a href="https://emp.lbl.gov/news/backlog-power-plants-seeking-transmission-grid-connection-eased-somewhat-2025-amidst">[9]</a>.</p><p>The U.S. Energy Information Administration expects electricity use to grow four years in a row for the first time since 2007. That’s the strongest four-year stretch since 2000, driven largely by large computing facilities, including data centers <a href="https://www.eia.gov/pressroom/releases/press582.php">[3]</a>.</p><p>Meanwhile, many of the resources a VPP needs are already installed in homes and businesses: smart thermostats, EV chargers, rooftop solar, and, increasingly, batteries. U.S. homes installed 2.7 gigawatts of battery storage in 2025, nearly double the year before, according to Wood Mackenzie. Part of that rush came ahead of an expiring federal tax credit, and Wood Mackenzie expects a slight dip in 2026, but the installed base keeps growing <a href="https://pv-magazine-usa.com/2026/03/24/u-s-energy-storage-installations-reach-record-18-9-gw-in-2025/">[10]</a>.</p><p>The rules have changed too. In 2020, the Federal Energy Regulatory Commission issued Order №2222. It requires regional grid operators to let aggregations of distributed energy resources take part in wholesale electricity markets, with a minimum aggregation size no larger than 100 kilowatts <a href="https://www.ferc.gov/media/ferc-order-no-2222-fact-sheet">[11]</a>. Grid operators are phasing in these rules on different timelines, but the direction is set: small devices, grouped together, can be paid for the grid services they provide.</p><p>Put together, that’s the case for now, a virtual power plant doesn’t depend on new plants waiting in a years-long queue. It turns devices people already own into capacity the grid can call on.</p><h3>Next Post Teaser</h3><p>We now know a VPP is devices, communication, and a software platform tying them together. But what actually happens when the grid asks for 50 megawatts at 5 p.m. on a hot afternoon? In the next post, I’ll follow one request from the grid operator to thousands of homes and back.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1eebf3caf15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Exciting Web Development Projects for Your Portfolio.]]></title>
            <link>https://medium.com/star-gazers/10-exciting-web-development-projects-for-your-portfolio-662768478263?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/662768478263</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Sat, 27 Feb 2021 11:02:20 GMT</pubDate>
            <atom:updated>2021-03-01T14:19:20.753Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Km1Q-WWMI6iyypz9UGaUg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@brookecagle?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Brooke Cagle</a> on <a href="https://unsplash.com/s/photos/woman-computer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h3>10 Exciting Web Development Projects for Your Portfolio. [FE/BE]</h3><p><em>A list of 10 web development </em><strong><em>[Frontend and Backend]</em></strong><em> projects you can start building today, to supercharge your portfolio.</em></p><p><strong>Pre-requisites</strong></p><ul><li>Any IDE (integrated development environment) eg VSCode, Brackets, Sublime Text</li><li>NodeJS for Backend Web Development projects</li><li>Knowledge of HTML, CSS and Javascript</li></ul><p><strong>🛑 </strong><em>You can download this page in </em><strong><em>PDF format</em></strong><em> </em><a href="https://skilled-author-5779.ck.page/96b7aed56d"><em>here</em></a> 🛑</p><h3>GETTING STARTED</h3><p>When you first got started with learning web development, you must have gone through some tutorials, built a few projects from the long tutorial videos and many blog posts. However, those projects are usually not the best choice of projects for your portfolio for the following reasons:</p><ol><li><strong>The projects reflect you as a learner of code:</strong> Most of the ideas you implemented in the project were based on a solved problem. The tutor has solved the problem, you simply need to follow along. In a learning environment, this is a good thing because you will learn problem solving skills. However, in a professional setting, you would want to show off your own problem solving skills, how you as a person would tackle a problem.</li><li><strong>Copied codebase: </strong>This is related to the first reason. Technical recruiters have no way of checking if the code you uploaded is your original code or code from your tutor’s codebase</li></ol><p>For these two reasons, you would need to build out projects that you have control of from scratch. This will allow you show off your problem solving skills, programming skills and sometimes your design skills. No matter how little you think you know, your original content is a lot better than showing off a completely copied code base.</p><p>In this post, you will see 10 web development projects that you can build out for your portfolio.</p><p><strong>5 for Frontend Development</strong> and <strong>5 for Backend Development</strong>. These projects will go from beginner to advanced and take you through everything you need to know to be a proficient web developer, confident in your own skills.</p><h3>FRONTEND DEVELOPMENT PROJECTS</h3><p>The projects listed below will teach you skills such as:</p><ul><li>Planning structure with HTML</li><li>Creating pixel-perfect replication of UI designs</li><li>Flexbox/Grids in CSS</li><li>Bootstrap</li><li>Common CSS commands</li></ul><p>Each project comes with a ‘<strong>TUTORIAL REFERENCE</strong>’ ie, a link to a tutorial that will explain the major concepts in the project, and also, a list of topics you are expected to understand at the end of the project.</p><h4>1. Pricing Component</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*xYQID5Lmub9GpqcPxP4Cbw.png" /><figcaption>Image by <a href="https://dribbble.com/shots/13848224-Pricing-Page-Web?utm_source=Clipboard_Shot&amp;utm_campaign=Lorez&amp;utm_content=Pricing%20Page%20Web&amp;utm_medium=Social_Share">Lorenzo Perniciaro via Dribbble</a></figcaption></figure><p><strong>Tutorial Reference: </strong><a href="https://youtu.be/BHTHmAQTpVo">Responsive Services Section using CSS Flexbox</a></p><p><strong>Tools Needed:</strong> HTML, CSS, Bootstrap(Optional)</p><p><strong>What you will learn:</strong> CSS Flexbox, CSS Border Radius, Creating custom Buttons, Layout Design in CSS. Positioning in CSS</p><h4>2. Landing Page Design</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vHvg0_chnnyyqiS-msljtg.jpeg" /><figcaption>Image via <a href="https://www.frontendmentor.io/challenges/room-homepage-BtdBY_ENq">Frontendmentor.io</a></figcaption></figure><p><strong>Tutorial Reference: </strong><a href="https://www.youtube.com/watch?v=91Q6RvKvd7o">Landing Page design using HTML and CSS</a></p><p><strong>Tools Needed:</strong> HTML, CSS, Javascript, Bootstrap(Optional)</p><p><strong>What you will learn:</strong> CSS Flexbox, Page Design, Interactive buttons with Javascript, Layout Design in CSS. Positioning in CSS</p><h4>3. Blog Page Design</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*y9VsEElOuLorZm3qpa5WWA.png" /><figcaption>Image by <a href="https://dribbble.com/shots/14700802-News-Section?utm_source=Clipboard_Shot&amp;utm_campaign=D-studio&amp;utm_content=News%20Section&amp;utm_medium=Social_Share">News Section via Dribbble</a></figcaption></figure><p><strong>Tutorial Reference: </strong><a href="https://www.youtube.com/watch?v=9IsC4PLXv9w">Simple Blogpage design using HTML and CSS</a></p><p><strong>Tools Needed:</strong> HTML, CSS, Bootstrap(Optional)</p><p><strong>What you will learn:</strong> CSS Grids, CSS Layout techniques, Positioning in CSS, Media Queries in CSS, Designing with Media breakpoints in CSS</p><h4>4. URL Shortening Landing Page</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*P9kXNS_HODq_NFBeX8kuog.jpeg" /><figcaption>Image via <a href="https://www.frontendmentor.io/challenges/url-shortening-api-landing-page-2ce3ob-G">Frontendmentor.io</a></figcaption></figure><p><strong>Tutorial Reference: </strong><a href="https://www.youtube.com/watch?v=rsd4FNGTRBw">Form Validation in Javascript</a></p><p><strong>Tools Needed:</strong> HTML, CSS, Javascript, Bootstrap(Optional)</p><p><strong>Assets:</strong> <a href="https://www.frontendmentor.io/challenges/url-shortening-api-landing-page-2ce3ob-G">URL Shortening Landing page assets.</a></p><p><strong>What you will learn:</strong> Building a full landing page, Form validation in Javascript, Media Queries, Responsive Web Design, CSS Layouts, Positioning in CSS, Regex</p><h4>5. API Project: Pick an API of your choice and build a project around it</h4><p><strong>Sample Project:</strong> IP Address Tracker</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*xGt52kc1zVgXCkvhow_O0w.jpeg" /><figcaption>Image via <a href="https://www.frontendmentor.io/challenges/ip-address-tracker-I8-0yYAH0">Frontendmenttor.io</a></figcaption></figure><p><strong>Tutorial Reference: </strong><a href="https://www.youtube.com/watch?v=ecT42O6I_WI">Working with API’s in Javascript</a>, <a href="https://www.youtube.com/watch?v=cuEtnrL9-H0">Fetch API in Javascript</a></p><p><strong>Tools Needed:</strong> HTML, CSS, Javascript, Bootstrap(Optional)</p><p><strong>Assets:</strong> <a href="https://www.frontendmentor.io/challenges/ip-address-tracker-I8-0yYAH0">IP Tracking application.</a></p><p><strong>What you will learn:</strong> APIs in Javascript, Fetch API in Javascript, Asynchronous Javascript, REST.</p><p><strong>API List:</strong> <a href="https://apilist.fun/">50+ fun APIs you can work with</a></p><p><strong>🛑 </strong><em>You can download this page in </em><strong><em>PDF format</em></strong><em> </em><a href="https://skilled-author-5779.ck.page/96b7aed56d"><em>here</em> </a>🛑</p><h3>BACKEND DEVELOPMENT PROJECTS</h3><p>The backend development projects listed here are NodeJS focused, however, you can use any language of your choice to complete the Backend Section of the projects listed. Some of the things you will learn include:</p><ul><li>Routing</li><li>CRUD Operations</li><li>API documentation with POSTMAN</li><li>NodeJS Frameworks</li></ul><p>Each project comes with a ‘<strong>TUTORIAL REFERENCE</strong>’ ie, a link to a tutorial that will explain the major concepts in the project, and also, a list of topics you are expected to understand at the end of the project.</p><h4>1. User Authentication System</h4><p><strong>Summary:</strong> This project will compass you creating a login/signup system for users on a site. It comes in handy as most sites have an authentication layer embedded in them</p><p><strong>Tutorial Reference: </strong><a href="https://www.youtube.com/watch?v=-RCnNyD0L-s">Authentication in NodeJS with PassportJS</a>, <a href="https://www.youtube.com/watch?v=gCo6JqGMi30">Creating a Login system in PHP</a></p><p><strong>Tools Needed:</strong> Programming language of your choice (NodeJS, PHP, Python etc), Postman for API testing</p><p><strong>What you will learn:</strong> Authentication/Authorization, Cookies, Sessions, Routing, Using Postman, SQL, MongoDB, Working with databases</p><h4>2. Proxy Server Project</h4><p><strong>Summary:</strong> A Proxy server is a server that acts as a middle layer when requesting data from a 3rd party API. In building a proxy server, you will create a server that requests data from an external API and serves the user that information</p><p><strong>Tutorial Reference: </strong><a href="https://www.youtube.com/watch?v=KOibBdrdyY0">How a Proxy Server works</a></p><p><strong>Tools Needed:</strong> Programming language of your choice (NodeJS, PHP, Python etc), Postman for API testing</p><p><strong>What you will learn:</strong> CORS vs SOP, Building a proxy server, working with Fetch API in NodeJS, Fetching data from a 3rd party API, Working with databases</p><h4>3. Book Rentals Application</h4><p><strong>Summary:</strong> You can build a book rentals application that will allow a single user perform the following actions.</p><ul><li>Create a User admin account</li><li>CRUD operations with books: Create new book listing, Edit a book listing or book ISBN number, Delete a book listing</li><li>Show users if a book is available to rent or not</li><li>Allow book renters create a ‘Renters’ account</li></ul><p>To make the project more challenging, you can implement a simple frontend using EJS/Handlebars + Bootstrap on the Frontend</p><p><strong>Tutorial Reference: </strong><a href="https://www.youtube.com/watch?v=YLihWZwLaGU">Creating User roles in NodeJS</a></p><p><strong>Tools Needed:</strong> Programming language of your choice (NodeJS, PHP, Python etc), Postman for API testing, Templating language (EJS/Pug/Handlebars)</p><p><strong>What you will learn:</strong> Creating data models, Limiting access to data, Working with Databases, CRUD on the Backend, Manipulating data on the backend</p><h4>4. Web Crawler Application</h4><p><strong>Summary:</strong> Create an application that can crawl the web for the purpose of web indexing or gathering data.</p><p><strong>Tutorial Reference: </strong><a href="https://blog.logrocket.com/how-to-build-a-web-crawler-with-node/">Building a web crawler application in NodeJS</a></p><p><strong>Tools Needed:</strong> Programming language of your choice (NodeJS, PHP, Python etc), Postman for API testing</p><p><strong>What you will learn:</strong> Working with Service Workers, Building a web crawler, working with databases, CORS, Securing databases</p><h4>5. Backend for E-Commerce Application</h4><p><strong>Summary:</strong> This particular task is a mammoth task and can take you some time to implement. The goal with this task is to learn the essential parts of the backend of an ecommerce application. Your application can implement the following features</p><ul><li>CRUD operations by admin user, Implementing a product cart</li><li>Social integration</li><li>Admin dashboard and User Dashboard</li></ul><p><strong>Tutorial Reference: </strong><a href="https://www.youtube.com/watch?v=gN3BCi0emVA">Building Laravel Admin Backend</a></p><p><strong>Tools Needed:</strong> Programming language of your choice (NodeJS, PHP, Python etc), Postman for API testing</p><p><strong>What you will learn:</strong> Creating multiple users in an application, One-to-Many relationships in databases, Building a review system, Manipulating Databases, Securing databases</p><p><strong>🛑 </strong><em>You can download this page in </em><strong><em>PDF format</em></strong><em> </em><a href="https://skilled-author-5779.ck.page/96b7aed56d"><em>here</em> </a>🛑</p><h3>CONCLUSION</h3><p>In conclusion, the main things to note are these: When building projects for your portfolio, your goal is to show how you as a person can think through a problem, implement scalable algorithms and design systems that are easy to scale over time.</p><p>You can join the Community 👉‍🏾‍ <a href="https://mailchi.mp/2916f90de83a/hercodestories">here </a>👈‍🏾‍ to get notified of the <strong>HerCodeFactory Portfolio Building</strong> masterclass when it starts.</p><p>I hope these project suggestions and tutorials help you become the developer you are aiming to be.</p><p>Till the next post, <em>Ciao!</em></p><p>Vanessa O.</p><p><strong><em>REMEMBER:</em></strong> <strong>🛑 </strong><em>You can download this page in </em><strong><em>PDF format</em></strong><em> </em><a href="https://skilled-author-5779.ck.page/96b7aed56d"><em>here</em> </a>🛑</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=662768478263" width="1" height="1" alt=""><hr><p><a href="https://medium.com/star-gazers/10-exciting-web-development-projects-for-your-portfolio-662768478263">10 Exciting Web Development Projects for Your Portfolio.</a> was originally published in <a href="https://medium.com/star-gazers">Star Gazers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10+ HTML5 Semantic tags with examples.]]></title>
            <link>https://medium.com/star-gazers/10-html5-semantic-tags-with-examples-4b6551888910?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b6551888910</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Wed, 24 Feb 2021 12:45:03 GMT</pubDate>
            <atom:updated>2021-02-26T13:25:28.715Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learn to write clean semantic HTML code</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mnVih09PCVhDeoy8SxnztA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@thoughtcatalog?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Thought Catalog</a> on <a href="https://unsplash.com/s/photos/woman-reading-book?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>Prerequisite(s)</h4><ul><li>Basic knowledge of HTML (Hypertext Markup Language), you can get an overview <a href="https://devness.hashnode.dev/learn-html5-in-10-minutes">here.</a></li></ul><p>So, if you got started with HTML(Hypertext Markup Language) 10 years ago, you are most likely used to the non-semantic way of writing HTML.</p><blockquote><strong><em>Semantic HTML</em></strong><em> simply means the markup code is easy to make sense of while you read through. This style of writing uses more descriptive tags like </em><em>&lt;section&gt;&lt;/section&gt;, </em><em>&lt;article&gt;&lt;/article&gt; and others, to show the different parts of your website structure in code.</em></blockquote><h3>HTML before the 5</h3><p>Before HTML5 came along, HTML documents were a mashup of div and span tags:</p><ul><li>&lt;div&gt; &lt;/div&gt;: These tags are used to show block level elements ie, each element inside a div tag represents a block of code that can stand alone.</li></ul><pre>&lt;div&gt;<br>  &lt;h4&gt;I am the heading for this section&lt;/h4&gt;<br>  &lt;p&gt;I am the content for this section&lt;/p&gt;<br>&lt;/div&gt;</pre><ul><li>&lt;span&gt; &lt;/span&gt;: These tags are used to show inline elements ie, each element inside a span tag represents an inline text or information.</li></ul><pre>&lt;p&gt;I am an &lt;span&gt;inline element&lt;/span&gt;&lt;/p&gt;</pre><p>The div tags were used to separate different sections of a HTML document while the span tags were used for inline elements. However, with this new version of HTML i.e HTML5, semantic tags were introduced to takeover and create more readable and accessible HTML documents.</p><p>🛑 <strong>BREAK TIME:</strong></p><p><strong><em>PS:</em></strong> If you’re looking to start on your tech career this year, you can download <a href="https://t.co/QhrUnNLVY0?amp=1">this checklist of 14 careers</a> in tech and see the programming language you should learn first.</p><p>🛑</p><h3>HTML vs HTML5</h3><h4>HTML</h4><p><strong><em>Sample code</em></strong></p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>&lt;head&gt;<br>    &lt;meta charset=&quot;UTF-8&quot;&gt;<br>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;<br>    &lt;title&gt;I am the Title of the page&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>    &lt;div class=&quot;header&quot;&gt;<br>        &lt;div class=&quot;nav&quot;&gt;<br>            &lt;ul id=&quot;nav-items&quot;&gt;<br>                &lt;li class=&quot;nav-links&quot;&gt;<br>                    &lt;a href=&quot;&quot;&gt;Home&lt;/a&gt;<br>                &lt;/li&gt;<br>            &lt;/ul&gt;<br>        &lt;/div&gt;<br>    &lt;/div&gt;<br>    &lt;div class=&quot;main&quot;&gt;<br>        &lt;h1&gt;I am a heading&lt;/h1&gt;<br>    &lt;/div&gt;<br>    &lt;div class=&quot;section&quot;&gt;<br>        &lt;!-- a section here --&gt;<br>    &lt;/div&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><ul><li>the div with class &#39;header&#39; denotes the header section of the website. This is the part of the website that holds the navigation links (the div element with the class of nav), the hero of the website and all other things in the &#39;above-the-fold&#39; section of the website.</li><li>the div with the class main denotes the main section of the website. It is this section that holds the main contents of the website.</li></ul><h4>HTML5</h4><p><strong><em>Sample code</em></strong></p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>&lt;head&gt;<br>    &lt;meta charset=&quot;UTF-8&quot;&gt;<br>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;<br>    &lt;title&gt;I am the Title of the page&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>    &lt;header&gt;<br>        &lt;nav&gt;<br>            &lt;ul&gt;<br>                &lt;li class=&quot;nav-links&quot;&gt;&lt;/li&gt;<br>            &lt;/ul&gt;<br>        &lt;/nav&gt;<br>    &lt;/header&gt;<br>    &lt;main&gt;<br>        &lt;h1&gt;I am a heading&lt;/h1&gt;<br>        &lt;section&gt;<br>            &lt;p&gt;I am a section title&lt;/p&gt;<br>        &lt;/section&gt;<br>    &lt;/main&gt;<br>    &lt;footer&gt;<br>        &lt;p&gt;This is the footer&lt;/p&gt;<br>    &lt;/footer&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><ul><li>the header tag denotes the header of the website. It is this section that holds the navigation links in the nav tags.</li><li>the main tag holds the main block of your website. Using different section tags, you can separate different sections of your website.</li><li>the footer tag is used to show the footer section of your website.</li></ul><h3>HTML5 TAGS</h3><ul><li>&lt;main&gt; &lt;/main&gt; : This tag specifies the main contents of your HTML document. You would usually add your different section tags to show the different sections of your page.</li><li>&lt;header&gt; &lt;/header&gt; : This tag shows your readers the topmost part of your website, the introductory section. It typically contains the nav tags for navigation, some heading tags, your logo or site title.</li><li>&lt;nav&gt; &lt;/nav&gt; : This tag holds all the links to your navigation. In long-form, this tag means &#39;navigation&#39;.</li><li>&lt;section&gt; &lt;/section&gt; : The section tag is used to group different standalone sections of your website together. For example, you could have a section listing all your services, and another section listing details about your team.</li><li>&lt;code&gt; &lt;/code&gt; : The code tag is used to format text to resemble code blocks. Information inside the code tag will be formatted to mono-space type text.</li><li>&lt;map &gt; &lt;/map &gt; : The map tag is used create an image map. In an image map, you can set different parts of the image, using the area tag, to link to different external or internal pages. <a href="https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_areamap">See example.</a></li><li>&lt;mark&gt; &lt;/mark&gt; : The mark tag is used to highlight text. It has a default color of yellow, but this can easily be changed using <strong>CSS (Cascading Style Sheet).</strong></li><li>&lt;detail&gt; &lt;/detail&gt; : The detail tag helps you to create HTML dropdown effect. This is good for when you want to give the user the option of showing or hiding certain pieces of information. It usually contains a summary tag.</li><li>&lt;summary&gt; &lt;/summary&gt; : The summary is usually contained inside the detail tag. It works as the heading for the details tag. Content inside this tag is usually seen by your website visitors.</li><li>&lt;footer&gt; &lt;/footer&gt; : The footer tag is used to define the footer section of your website. Everything inside this tag is usually text or information belonging to the footer section of your page.</li></ul><h3>Conclusion</h3><p>In conclusion, HTML5 tags are better to use for the following reasons:</p><ul><li><strong>Accessibility:</strong> Screen readers and other disability-aid devices have an easier time reading through semantic tags. This is because the devices can read the header tags as headers, the main tags as main content e.t.c. This makes your website accessible to a wider range of people and allows accessibility for all.</li><li><strong>Readability:</strong> Semantic code makes it easier for you, the developer, and your teammates easily read through the code-base and make edits where necessary.</li></ul><p>See you next week, I will be writing more on web development and other beginner friendly topics. <br> Ciao! <br> Vanessa O.</p><p>💓</p><p><strong><em>PS:</em></strong> If you’re looking to start on your tech career this year, you can download <a href="https://t.co/QhrUnNLVY0?amp=1">this checklist of 14 careers</a> in tech and see the programming language you should learn first.</p><p>💓</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b6551888910" width="1" height="1" alt=""><hr><p><a href="https://medium.com/star-gazers/10-html5-semantic-tags-with-examples-4b6551888910">10+ HTML5 Semantic tags with examples.</a> was originally published in <a href="https://medium.com/star-gazers">Star Gazers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Promises 101: Javascript Promises Explained [with code snippets]]]></title>
            <link>https://medium.com/analytics-vidhya/promises-in-javascript-explained-examples-b15882a5714a?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/b15882a5714a</guid>
            <category><![CDATA[javascript-tutorial]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[async]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Thu, 18 Feb 2021 17:52:47 GMT</pubDate>
            <atom:updated>2021-02-28T16:51:07.786Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1eRhpO0DD0vEWMrh-neO0A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@jeshoots?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">JESHOOTS.COM</a> on <a href="https://unsplash.com/s/photos/woman-computer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>…Javascript Promises explained with practical examples</p><h3>Prerequisites</h3><p>Before you begin this tutorial you’ll need the following:</p><ul><li>IDE (VS Code is used in this tutorial)</li><li>Basic understanding of Javascript ES6</li><li>Nodejs installed, you can get the latest version <a href="https://nodejs.org/en/download/">here.</a></li></ul><h3>Introduction</h3><p>Working with data from other resources has brought the need to deal with asynchronous operations, ie operations that do not run in sequence. In this post, I explain, in simple terms one of the ways of handling asynchronous operations in Javascript, <strong>Promises</strong>. By the end of this post, you would understand Javascript Promises in code and simple English.</p><h3>What are Javascript Promises?</h3><p>According to the official documentation:</p><blockquote><em>The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.</em></blockquote><p><strong><em>SYNTAX:</em></strong></p><pre>new Promise((resolve, reject)=&gt;{})</pre><p>In simpler terms, a Promise is an object that will return a particular value depending on the state of the Promise. A Promise can have one of three states</p><ul><li>fulfilled</li><li>rejected</li><li>pending</li></ul><p><strong>STATE 1: Promise fulfilled</strong></p><p>A promise has a state of fulfilledwhen it is resolved, meaning, nothing went wrong in the Promise and there are no errors. The code snippet below will return a state of fulfilled, because the Promise was resolved:</p><pre>new Promise((resolve, reject)=&gt;{<br>    resolve(console.log(&quot;Hello&quot;))<br>})</pre><pre>RESULT:<br>&quot;Hello&quot;<br>[[PromiseState]]: &quot;fulfilled&quot;<br>[[PromiseResult]]: undefined</pre><p><strong>STATE 2: Promise rejected</strong></p><p>A promise has a state of rejected when an error occurs. In this case, the Promise was rejected. The code snippet below will return a state of rejected because the Promise was rejected:</p><pre>new Promise((resolve, reject)=&gt;{<br>    reject(console.log(&quot;Oh no, an error&quot;))<br>})</pre><pre>RESULT:<br>&quot;Oh no, an error&quot;<br>[[PromiseState]]: &quot;rejected&quot;<br>[[PromiseResult]]: undefined</pre><p><strong>STATE 3: Promise Pending</strong></p><p>A promise has a state of pending when the Promise itself is neither resolved or rejected. The code snippet below will return a status of pending because the Promise is neither resolved nor rejected:</p><pre>new Promise((resolve, reject)=&gt;{})</pre><pre>RESULT:<br>[[PromiseState]]: &quot;pending&quot;<br>[[PromiseResult]]: undefined</pre><p>🛑 <strong>BREAK TIME:</strong></p><p><strong><em>PS:</em></strong> If you’re looking to start on your tech career this year, you can download <a href="https://t.co/QhrUnNLVY0?amp=1">this checklist of 14 careers</a> in tech and the programming language you should learn first for each of them.</p><p>🛑</p><h3>Working with Promises</h3><p>When working with Promises, you might encounter some methods and functions like the ones below</p><ul><li>The then method: This method takes the returned values from a resolved Promise and performs some action on them. The then method is usually chained to the Promise. See an example below:</li></ul><pre>function getDataFromDatabase(){<br>    return new Promise((resolve, reject)=&gt;{<br>        // promise resolves with no errors<br>    })<br>}</pre><pre>getDataFromDatabase().then((data)=&gt;{<br>    // data is the returned value from the getFromDatabase function<br>    console.log(data)<br>})</pre><p>When working with the then keyword, it would be helpful to think of it in plain English like this:</p><p>First of all, get data from the database with the getDataFromDatabase() function, and then console.log all the data gotten from the database</p><ul><li>The trycatch handler: The trycatch handler is very commonly used in working with Promises. Since there is a possibility of your Promise having a rejected status, it would be helpful to add a way to catch that error, which is exactly how the trycatch handler works. See an example below:</li></ul><pre>function getDataFromDatabase(){<br>    return new Promise((resolve, reject)=&gt;{<br>       try {<br>           // if Promise resolves, return data from the resolve method<br>           resolve()<br>       } catch (error) {<br>           // if the promise rejects, return error data from the reject method<br>           reject(console.log(error.message))<br>       }<br>    })<br>}</pre><pre>getDataFromDatabase().then((data)=&gt;{<br>    // data is the returned value from the getFromDatabase function<br>    console.log(data)<br>})</pre><p>When working with the trycatch handler, it would be helpful to imagine it in plain English like this</p><p>In getting data from the database with the getDataFromDatabase() function, try this code inside this block first, if I successfully get the data, return data from the resolve() function. If I run into some error, return data from the reject function. Then run the function inside the THEN method</p><h3>Code Example</h3><p>In this example, we are going to try and simulate making an API call to an external endpoint. The idea is to mimic the delay in getting the data when making an API call. Here are the steps we will want to take into account:</p><ol><li>Create a data store</li><li>Create a function to get the data (imagine the fetch function in Javascript)</li><li>Add new data to the data store when we finally get it</li><li>Log the results to the console</li></ol><h3>STEP 1: Create a data store</h3><p>In this example, we will use a simple array to store items, we are mimicing the database here.</p><pre>let names = [&#39;Kim Seon Ho&#39;, &#39;Park Seo Joon&#39;, &#39;Park Shin Hye&#39;, &#39;Shin Hye Sun&#39;]</pre><h3>STEP 2: Create a function to get the data</h3><p>Here, we will mimic the delay when getting data from a database with the setTimeout() function. This is where we will use a Promise since we want it to run as an asynchronous function in our theoretical project.</p><pre>function getData(dataItems) {<br>    return new Promise((resolve, reject) =&gt; {<br>        try {<br>            setTimeout(() =&gt; {<br>                resolve(dataItems)<br>            }, 3000);<br>        }<br>        catch (error) {<br>            reject(console.log(error))<br>        }<br>    })<br>}</pre><p><strong>WHAT IS HAPPENING: </strong>In this snippet of code, we are making sure the getData() function returns a Promise, so we can use the chaining method that Promises provide to change/edit the data when we get it back from the data store.</p><h3>STEP 3: Transform the data when we get it</h3><pre>getData(names).then(data=&gt;{<br>    let newName = &#39;Han Yoo Joo&#39;<br>    data.push(newName)<br>    return data<br>}).then(finalData=&gt;{<br>    console.log(finalData)<br>})</pre><p><strong>WHAT IS HAPPENING: </strong>Here, we are getting data using the getData() function. The getData() function returns information which we store inside the data parameter of the then method. Remember, the then method takes returned data from the resolved method in a Promise and is able to perform tasks on it. It is this data that we then push a new name into using the Array.push() method.</p><h3>STEP 4: Log the results to the console</h3><p>The last then method is unnecessary because we can add the console.log() method to the first then method, however, I added it to show you how much chaining you can use when working with Promises in Javascript. In the last thenmethod, we take data returned from the first then method and log it to the console.</p><h3>RESULTS</h3><pre>[<br>  &#39;Kim Seon Ho&#39;,<br>  &#39;Park Seo Joon&#39;,<br>  &#39;Park Shin Hye&#39;,<br>  &#39;Shin Hye Sun&#39;,<br>  &#39;Han Yoo Joo&#39;<br>]</pre><h3>Conclusion</h3><p>Javascript Promises are a good way of performing asynchronous functions in your code. It is a way better option than facing every Javascript programmers nightmare, callback hell. You can find the full code examples in this Github repository: <a href="https://github.com/Vanneka/asynchronous-javascript-examples"><strong>code examples</strong></a></p><p>Thanks for reading, see you.</p><p>💜💜<br> Ciao!<br> Vanessa O.</p><p>💜 If you found this post useful, remember to <strong>share </strong>and help me grow my community. 💜</p><p><strong><em>PS:</em></strong> If you’re looking to start on your tech career this year, you can download <a href="https://t.co/QhrUnNLVY0?amp=1">this checklist of 14 careers</a> in tech and see the programming language you should learn first.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b15882a5714a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/promises-in-javascript-explained-examples-b15882a5714a">Promises 101: Javascript Promises Explained [with code snippets]</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn HTML5 in 10 minutes.]]></title>
            <link>https://vanneka-okeke.medium.com/learn-html5-in-10-minutes-6c434aa9ed39?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c434aa9ed39</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[codetutorial]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html-tutorial]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Mon, 15 Feb 2021 11:24:26 GMT</pubDate>
            <atom:updated>2021-02-15T11:24:26.214Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IrsDOLtDASpw-tXWAlcCwg.png" /></figure><p>A short and functional introduction to HTML for web development.</p><h4>Prerequisites</h4><ul><li>None</li></ul><blockquote><strong><em>HTML(Hypertext Markup Language)</em></strong><em> is sometimes defined as the structure of web pages.</em></blockquote><p>When you get started with learning web development, you are often faced with three things to learn:</p><ol><li>HTML (Hypertext Markup Language)</li><li>CSS (Cascading Style Sheets)</li><li>Javascript</li></ol><p>In this post we will be taking apart HTML, understanding what it is and how to get started writing it.</p><h3>What is HTML</h3><p><strong>HTML</strong> is a markup language. What this means is that, it is a language that uses special characters called <strong>‘tags’</strong> to create and structure elements of a website, like paragraphs, images and text, that can be read by a computer. HTML markup is usually saved in a file with the extension .html or .htm.</p><p>HTML unlike other languages used in building websites is not a programming language. The major difference between HTML and a programming language is that HTML cannot perform functions or create dynamic functionality in a website.</p><p>HTML is generally used to define the structure of a website. For example, as you build your website, you would need to add text, images, create paragraphs and probably insert tables, HTML has special tags for each of these needs. The <strong>p</strong> tag below creates a paragraph of text:</p><pre>&lt;p&gt;Lorem ipsum dolor sit.&lt;/p&gt;</pre><h3>HTML STRUCTURE</h3><p>HTML is written using special characters called tags, enclosed in angled brackets, &lt;&gt;. In almost all HTML tags, there is an opening tag and a closing tag, the closing tag is differentiated by adding a backtick /:</p><ul><li>&lt;&gt;: Opening tag</li><li>&lt;/&gt;: Closing tag</li></ul><p>You can see an example of a HTML document below:</p><pre>&lt;div&gt;<br>  &lt;p&gt;Mary had a little lamb&lt;/p&gt;<br>   &lt;img src=&quot;http://example.com/images&quot; alt=&quot;this is a picture of Mary&quot;&gt;<br>    &lt;a href=&quot;http://example.com&quot;&gt;Click here to see Mary&lt;/a&gt;<br>&lt;/div&gt;</pre><h4>Explanation</h4><ul><li>&lt;div&gt;&lt;/div&gt; tag is used to show a section or <em>division</em> of related code</li><li>&lt;p&gt;&lt;/p&gt; tag is used to denote a paragraph of text.</li><li>&lt;img/&gt; is a special tag used for inserting images into HTML files. It is a self closing tag, meaning you do not have to explicitly define an &lt;/img&gt; closing tag when you use it.</li><li>&lt;a&gt;&lt;/a&gt; tag is called an anchor tag, it is used to define hyperlinks(a.k.a <em>links</em>) in a HTML document. The href attribute is the URL location the a tag links to.</li></ul><h3>Creating your first HTML document</h3><p>You will need the following to do this exercise</p><ol><li>Notepad</li><li>Google Chrome (or any web browser of your choice)</li></ol><h4>STEP 1:</h4><p>Open up your Notepad and type the following code into it.</p><pre>&lt;div&gt;<br>    &lt;h1&gt;I am the biggest heading&lt;/h1&gt;<br>    &lt;h2&gt;I am a bigger heading&lt;/h2&gt;<br>    &lt;h3&gt;I am a big heading&lt;/h3&gt;</pre><pre>    &lt;p&gt;I am a paragraph&lt;/p&gt;<br>    &lt;p&gt;My name is &lt;span&gt;[insert your name here]&lt;/span&gt;&lt;/p&gt;<br>&lt;/div&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YcT2OYe-84tPduij.png" /></figure><h4>STEP 2:</h4><p>Save your file as index.html. You can save your file with any name, however, the file extension must either be .html or .htm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/0*FwfDg0qGsRma8miF.png" /></figure><h4>STEP 3:</h4><p>Double click on the file to open it in your default browser, you should have a view like the image below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q02fP_GAkKg_W_-_.png" /></figure><p><em>Congratulations, you just created your first HTML document.</em></p><p>There are more tags that can be used in a HTML document, you can check out a full list <a href="https://www.w3schools.com/tags/default.asp">here</a>.</p><p>💜💜💜💜</p><p><strong><em>PS:</em></strong> If you’re looking to start on your tech career this year, you can download <a href="https://t.co/QhrUnNLVY0?amp=1">this checklist of 14 careers</a> in tech and the programming language you should learn first.</p><p>💜💜💜💜</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c434aa9ed39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello World! My #TechTransition story.]]></title>
            <link>https://vanneka-okeke.medium.com/hello-world-my-techtransition-story-86936f29cd78?source=rss-ad6177842120------2</link>
            <guid isPermaLink="false">https://medium.com/p/86936f29cd78</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[hello-world]]></category>
            <category><![CDATA[techtransition]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Okeke Nneka Vanessa]]></dc:creator>
            <pubDate>Mon, 15 Feb 2021 11:14:11 GMT</pubDate>
            <atom:updated>2021-02-15T11:14:11.492Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tU2ZUGLvO_Fi23GjM8pdcw.jpeg" /><figcaption>Hello World!</figcaption></figure><p>This seems to be the trend, make the first post a ‘hello’ of sorts, so, hello there.</p><p>My name is <strong>Vanessa O</strong>, and this is my Medium post. I feel the need to tell a story so grab a cup of coffee/water/your favorite poison.</p><p>This is the story of my transition to a fully tech career.</p><p>It all started in 2007 when I read a book by Jefferey Deaver, The Blue Nowhere. Now, the book in itself was a fairly common story, one bad guy and one good guy, at least it was supposed to be a fairly normal story…that is, until I got to chapter 2.</p><p>I was introduced to the ‘good guy’, a computer hacker who built computers with anything from a spoon and a few batteries, he was bad but still less evil than the main bad guy. The chapter numbers were in binary code and that was the first thing I noticed, so as a young kid, starry eyed and curious about everything, I went on a research on binary code and what it meant in computers, I. Was. Hooked from then on.</p><h3>My First Time</h3><p>The first thing I tried my hand on was HTML(Hypertext Markup Language), I built a very 2007 looking website with my basic knowledge of HTML, it was basically a page listing the different types of fish (I found it recently and Oh. My. Goodness). It was basic but that was the first time I got a thrill out of building something from nothing. I felt like I was well on my way to being the hacker from The Blue Nowhere.</p><p>Next came CSS(Cascading Style Sheets), now this was fairly easy to grasp, even then. I simply made some notes and thought “Sure, I’ll just try to memorize all the color and font related tags” HA! (PS: This is 2020 me laughing at 2007 me).</p><p>Back to me and coding. So the next monster I had to slay was <strong>JAVASCRIPT…DUM! DUM! DUM!</strong> I am laughing writing this because I remember the almost impossible frustration I felt then, I had the idea that if I could just get past Javascript, I could become the hacker of my own dreams. Long story short, I gave up on my dream to become a social engineering sleek hacker when I hit the roadblock that was Javascript.</p><h3>Architecture Calls</h3><p>I should say here, I graduated with a Bachelors degree in Architecture from Obafemi Awolowo University. It was a ride and a half, filled with a lot of late nights, drawing and researching, and no-code. I was so focused on schoolwork, so I had no time to get back in the coding game, however, I did meet some interesting people who kept me close to the Code.</p><h3>Graduation and more Javascript?</h3><p>After school, I had a fun time working as an Interior Designer, but I was curious about the programmer part of me that was lying dormant like a lion in a den, waiting and watching for the right time to spring out. 2017 was the year of The Spring. Cut to 2017, I made a list of all the skills I needed to build, and HTML popped up again, it took me a while but I added Javascript to the list, and then I got to learning. I breezed through HTML and CSS to conquer the beast that is Javascript, at least I thought it was a beast. Now however, I know it is a fire breathing hydra monster with 10 eyes.</p><h3>Cheers to the freakin’ 2020&#39;s</h3><figure><img alt="A picture of my thoughts going into 2020 for my tech career" src="https://cdn-images-1.medium.com/max/1024/1*tKs5mCDbtCdMeb2Esr0rew.png" /></figure><p>I’ll cut the story here and bring you to 2020, 3 years and 1 internship, 4 programming languages and a lot of code review later, I have made the decision to go fully into tech. It was not an easy decision to make, I DID love building and designing houses, but I found that my curiosity is much more heightened when I have a coding problem before me.</p><p>Am I scared? Yes…Will I give up? It took me a long time to get to this point, so no, I am in it for the long haul. I will make Javascript my lover and probably drag many of you on my journey to building a community of Javascript lovers.</p><p>So, like I said, hello world and welcome to my slice of Medium.</p><p>💜💜💜💜</p><p><strong>PS: </strong>If you’re looking to start on your tech career this year, you can download <a href="https://t.co/QhrUnNLVY0?amp=1">this checklist of 14 careers</a> in tech and the programming language you should learn first if you want to start.</p><p>💜💜💜💜</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86936f29cd78" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>