<?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 Eric Junior N-S on Medium]]></title>
        <description><![CDATA[Stories by Eric Junior N-S on Medium]]></description>
        <link>https://medium.com/@enyarko-sampson?source=rss-cbb7dc3abbfb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*THZrJYDt7BWjpwTLYblqdA.jpeg</url>
            <title>Stories by Eric Junior N-S on Medium</title>
            <link>https://medium.com/@enyarko-sampson?source=rss-cbb7dc3abbfb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:57:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@enyarko-sampson/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[Get Go-ing — The http.Handler Interface and Middleware.]]></title>
            <link>https://enyarko-sampson.medium.com/get-go-ing-the-http-handler-interface-and-middleware-6d87101182f4?source=rss-cbb7dc3abbfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d87101182f4</guid>
            <dc:creator><![CDATA[Eric Junior N-S]]></dc:creator>
            <pubDate>Tue, 31 Oct 2023 21:25:53 GMT</pubDate>
            <atom:updated>2023-10-31T21:25:53.029Z</atom:updated>
            <content:encoded><![CDATA[<h3>Get Go-ing — The http.Handler Interface and Middleware.</h3><p>Having immersed myself in Golang for a considerable part of 2023, along with crafting small-scale web and CLI projects, I owe a significant portion of my insights to Alex Edward’s enlightening book, ‘Let’s Go’. With this newfound understanding, I’m excited to share my knowledge. This article is dedicated to exploring the essence of the http.Handler interface and its pivotal connection to integrating middleware in Go web applications.</p><h3>Table of Contents</h3><ol><li>The Basics of http.Handler</li><li>The Role of http.ServeMux</li><li>Middleware: What Is It?</li><li>Middleware and the http.Handler Interface</li><li>Implementing Middleware</li><li>Using Third-party Middleware</li><li>Best Practices and Tips</li><li>Conclusion</li></ol><p><strong>The Basics of </strong><strong>http.Handler</strong></p><p>The http.Handler <a href="https://www.notion.so/Blog-Articles-323ee86a6426459e9d0456d5848db354?pvs=21">interface</a>, is one that defines the structure of a handler. In Go, a handler is a function or method that processes incoming requests to a server and generates an appropriate response. The response could be JSON or a Go web page template to be rendered. The http.Handler interface as defined within the Go spec, looks like this:</p><pre>type Handler interface {<br>  ServeHTTP(ResponseWriter, *Request)<br>}</pre><p>To implement this interface, you would need to create an object that implements the ServeHTTP() method, as a receiver function.</p><pre>//using a string<br>type RouteHandler string<br>func (r *RouteHandler) ServeHTTP(w ResponseWriter,r *Request) {<br>  // do something here<br>    fmt.FPrintf(w, &quot;Hello %s&quot;,&quot;World&quot;)<br>}<br>----- OR -----<br>//using an empty struct<br>type RouteHandler struct{}<br>func (r *RouteHandler) ServeHTTP(w ResponseWriter,r *Request) {<br>  //do something here<br>  fmt.FPrintf(w, &quot;Hello %s&quot;, &quot;World&quot;)<br>}<br>//then let your code know to associate<br>//a handler to a given route<br>http.Handle(&quot;/route&quot;, RouteHandler)</pre><p>In the example above, the ServeHTTP method of the RouteHandler object, will be invoked once the route is visited.</p><p>Now this means that for every route you have to handle, you need to create an object then implement the ServeHTTP() method as a receiver of that object, which is quite cumbersome and can make your code look confusing if you have a lot of routes in your app. We will look at suggestions to curb that, in a bit.</p><p>I introduced the **http.Handle** function. What this does, is it associates a URL path pattern with a specific <strong>http.Handler</strong>. This allows you to define how the server should handle incoming HTTP requests for a specific route.</p><p>The http.Handle function, has a signature:</p><pre>func Handle(pattern string, handler Handler)</pre><p>It’s expecting an implementation of the http.Handler interface as it’s argument, and we’ve said defining handlers that way is cumbersome.</p><p>Let’s look at a “better” way to define handlers in Go.</p><p>The common thing amongst Go developers who are using the standard library, is to use the http.HandleFunc() instead of defining handlers like we discussed earlier. This is different only syntactically because the underlying logic is the same. This is a bit of syntactic sugar to improve DX (Developer Experience).</p><p>So you would see some developers define their routes like this:</p><pre>func RouteHandlerFunc(w ResponseWriter, r *Request) {<br>	// do something here<br>	fmt.Fprintf(w, &quot;Hello %s&quot;, &quot;World&quot;)<br>}<br><br>http.HandleFunc(&quot;/route&quot;, RouteHandlerFunc)</pre><p>The http.HandleFunc function accepts a function with the same signature as the ServeHTTP() method. So rather than creating new objects then implementing the ServeHTTP() when defining handlers, you can do it this way. Essentially, http.HandleFunc operates in a manner similar to http.Handle. It provides a convenient shorthand for converting a function into a handler and registering it, streamlining the process.</p><p>Another way to define a handler, would be to use the http.HandlerFunc() function - which is an adapter that makes methods with the signature shown below, conform to http.Handle. It is typically used like this.</p><pre>func MyHandler(w ResponseWriter, r *Request){<br>		// do something<br>}<br>http.Handle(&quot;/route&quot;, http.HandlerFunc(MyHandler))</pre><p>This is similar to using the http.HandleFunc and I would recommend using just that, unless you enjoy the extra typing, then go ahead.</p><p><strong>The Role of </strong><strong>http.ServeMux</strong></p><p>In Go, <strong>http.ServeMux</strong> is a crucial component in handling incoming requests. It acts as a request multiplexer, matching the URL of each incoming request against a list of registered patterns and calling the handler for the pattern that most closely matches the URL. Essentially, it helps in routing requests to the appropriate handlers.</p><pre>mux := http.NewServeMux()<br>mux.HandleFunc(&quot;/home&quot;, homeHandler)<br>mux.HandleFunc(&quot;/about&quot;, aboutHandler)</pre><p>In this example, we create a new <strong>ServeMux</strong> and register different handlers for specific routes. When a request comes in, the <strong>ServeMux</strong> will direct it to the corresponding handler based on the requested URL.</p><p>Understanding how to effectively use <strong>http.ServeMux</strong> is essential for organizing the routes in your application and ensuring that each request is directed to the appropriate handler.</p><p>For more on handlers you can check out this article:</p><ol><li><a href="https://lets-go.alexedwards.net/sample/02.09-the-http-handler-interface.html">The http.Handler Interface</a> by Alex Edwards</li></ol><p><strong>Middleware: What Is It?</strong></p><p>In web development, middleware serves as a crucial intermediary between various software components or applications, enabling seamless communication within a system. Its primary role involves managing the flow of data between different layers of a web application or among various applications in a distributed computing environment.</p><p>This covers tasks such as request processing, data transformation, authentication, logging, and error handling. Furthermore, middleware extends its functionality to include aspects like URL routing, caching, and security enforcement, contributing to the development of cleaner, more modular code. This pivotal role of middleware significantly enhances the overall functionality and efficiency of HTTP handlers in web applications.</p><p><strong>Middleware and the </strong><strong>http.Handler Interface:</strong></p><p>Middleware functions in Go are integral components that play a pivotal role in processing incoming requests. It’s important to note that middleware functions must adhere to the http.Handler interface, which ensures that they can seamlessly integrate into the request handling chain. This interface mandates the implementation of the ServeHTTP() method, enabling middleware to interact with the request and response objects. By conforming to this standard, middleware functions become an essential part of the web application&#39;s request handling flow, offering flexibility and modularity in how requests are processed and responses are generated.</p><p><strong>Implementing Middleware</strong></p><p>The standard way of creating middleware in Go, looks like:</p><pre>func middleWaredinho(next http.Handler) http.Handler {<br>	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request){<br>		//perform some middleware logic here<br>		next.ServeHTTP(w,r)<br>})<br>}</pre><p>In this approach, notice that the <strong>ServeHTTP()</strong> method of the provided parameter is invoked. This implies that we have the flexibility to provide any method that implements the <strong>http.Handler</strong> interface.</p><p>In the typical construction of middleware, you can view a Go web application as a sequence of <strong>ServeHTTP()</strong> methods being called consecutively. At its core, middleware introduces an additional handler into this sequence. The middleware handler executes specific logic, such as logging a request, and then proceeds to trigger the <strong>ServeHTTP()</strong> method of the subsequent handler in the sequence.</p><p>The placement of your middleware in your code is also significant. If positioned before your router, it acts on every request directed to your application. Conversely, if placed after your router, it specifically operates on defined routes.</p><p>Within Go, middleware can be chained, offering numerous advantages. This chaining allows us to control the sequence in which operations occur. This is vital, as some actions must be carried out before others. For instance, authentication middleware should be executed prior to any authorisation checks.</p><pre>func middleware1(next http.Handler) http.Handler {<br>    return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {<br>        // Operations before calling the next handler        <br>next.ServeHTTP(w, r) // Call the next handler<br>// Operations after calling the next handler<br>    })<br>}<br>func middleware2(next http.Handler) http.Handler {<br>    return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {<br>        // Operations before calling the next handler<br>        next.ServeHTTP(w, r) // Call the next handler<br>        // Operations after calling the next handler<br>    })<br>}<br>func finalHandler(w http.ResponseWriter, r *http.Request) {<br>    // Final handler logic<br>}<br>final := http.HandlerFunc(finalHandler)<br>handler := middleware2(middleware1(final))</pre><p>The flow of control for when a request comes in, would look like this:</p><pre>middleware2 does operations before calling the next handler.<br>middleware1 does operations before calling the next handler.<br>finalHandler is called.<br>finalHandler completes and returns a response.<br>Control passes back through middleware1, where operations after calling the next handler can be performed.<br>Control passes back through middleware2, where operations after calling the next handler can be performed.</pre><p>This shows the order in which the middleware will be called. When you have a chain of middleware functions in a web application, the request flows through each of these middleware functions in a specific order before reaching the final handler that generates the response. After the final handler processes the request and generates a response, the response flows back through the middleware functions in the reverse order. This reverse flow of control allows each middleware to perform operations both before and after calling the next handler in the chain.</p><p><strong>Using Third-party Middleware</strong></p><p>In addition to creating custom middleware, the Go ecosystem offers a wealth of third-party middleware libraries that can significantly streamline the development process. Two popular options are <strong>gorilla/mux</strong> and <strong>negroni</strong>.</p><ul><li><strong>gorilla/mux</strong>: This library provides a powerful and flexible router for creating complex routes in your Go application. It allows you to define routes with variables, patterns, and custom handlers. <a href="https://github.com/justinas/alice">Link</a></li><li><strong>negroni</strong>: Negroni is a middleware toolkit that makes it easy to chain together multiple middleware functions. It simplifies the process of integrating various middleware components into your application. <a href="https://github.com/justinas/alice">Link</a></li><li><strong>alice</strong> :Alice is a tool that provides a convenient way to chain your HTTP middleware functions and the app handler, as stated on their Github. You can check them out. <a href="https://github.com/justinas/alice">Link</a></li></ul><p>Integrating these third-party middleware libraries into your Go application is straightforward. First, you’ll need to import the desired library into your project. Then, you can use the provided functions and methods to set up and configure the middleware. There are links to each of the tools at the end of the descriptions, you can check them out for more information.</p><p><strong>Best Practices and Tips</strong></p><p>Effective use of <strong>http.Handler</strong> and middleware in Go requires adopting key best practices. Modularise middleware for reusability and testing. Sequence middleware logically, ensuring operations dependent on earlier stages are appropriately ordered. Implement dedicated error handling middleware for uniform error responses. Keep middleware lightweight and focused. Use logging middleware for debugging and monitoring. Maintain a clear separation of concerns by avoiding direct response writing in middleware. Implement recovery middleware to handle panics gracefully.</p><p>Optimizing Go web applications with middleware involves strategic considerations. Employ caching, static asset optimization, and performance-enhancing techniques. Benchmark and profile to identify and address performance bottlenecks. Use versioning middleware for graceful API version management. Document and comment middleware functions for clarity and future maintenance. Conduct rigorous automated testing to ensure correctness. By following these practices, developers can effectively utilize <strong>http.Handler</strong> and middleware to construct robust, efficient, and maintainable web applications in Go.</p><p><strong>Conclusion</strong></p><p>In this article, we delved into the significance of understanding the http.Handler interface and implementing middleware for building robust Go web applications. We emphasised how this knowledge enhances the handling of incoming requests, allowing for the generation of tailored responses. The http.Handler interface is explained, showcasing its role in defining request handlers, while various methods for creating handlers are explored, including http.Handle(), http.HandleFunc(), and http.HandlerFunc(). Additionally, the concept of middleware is introduced, highlighting its pivotal role in managing data flow within web applications.</p><p>Understanding http.Handler and middleware is crucial for optimizing Go web applications. The article underscores best practices, such as modularizing middleware for reusability and maintaining lightweight middleware functions. It emphasizes the importance of error handling middleware for uniform error responses and the use of logging middleware for debugging and monitoring. The significance of employing recovery middleware to gracefully handle panics is also highlighted. Furthermore, the article provides insights into optimizing performance and maintainability through practices like caching, static asset optimization, and benchmarking. Additionally, the integration of third-party middleware libraries like gorilla/mux and negroni is introduced, showcasing their potential to streamline development processes. Overall, a deep understanding of http.Handler and middleware is shown to be fundamental in constructing efficient and maintainable web applications in Go.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d87101182f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ghana Post GPS And Some More.]]></title>
            <link>https://enyarko-sampson.medium.com/ghana-post-gps-and-some-more-88511f71aa95?source=rss-cbb7dc3abbfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/88511f71aa95</guid>
            <category><![CDATA[mapping]]></category>
            <category><![CDATA[ghana]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[maps]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Eric Junior N-S]]></dc:creator>
            <pubDate>Tue, 09 Nov 2021 14:02:11 GMT</pubDate>
            <atom:updated>2021-11-09T15:20:36.234Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vGT8LFzcdbkJzFFdEW3uFw.jpeg" /></figure><p>2017 was a great year. Ghana had just come off the back of a relatively peaceful election, and people had high expectations for the incoming government who had made such promises, that anyone who faced any hardship, anywhere in the world, might have been convinced they could come to Ghana and turn their lives around. Alas, it’s 2021 and we were probably better off in 2017 but I know little about the intricacies of government so let’s stick to why you came here and leave the economics of nation-building to the…well, nation builders.</p><h3>Ghana Post GPS: Digital Addressing System.</h3><p>What is it? This is a short description that can be found on the homepage of their website <a href="https://www.ghanapostgps.com/">here</a>.</p><blockquote>GhanaPostGPS is Ghana’s official digital property addressing system which covers every inch of the country and ensures that all locations in the country are addressed. With GhanaPostGPS, every location has a unique digital address.</blockquote><p>So <strong>every location</strong> has a <strong>unique digital address</strong>. This is good for health services, emergency services, and couriers. All you have to do is send a business your digital address, and they zoom over to your place with your food or your new size 10.5 Nike Hyperdunks with the blue finish and the white soles, perfect for throwing threes from the halfcourt line as the fans cheer you on from the stands, you dribble past one player, ankle breaker for the second, step back, shoot! Swissshhh…I apologize for drifting off. Now I don’t know anyone who has used the system like this nor have I ever used it like this but it is a wonderful idea behind a working system.</p><p>I think it’s amazing, and you probably also think it is wonderful that you don’t have to walk around trying to recall whether your street name is spelled “Kobina Sakyi”, “Kobena Sekyi”, or “Kobina Sekyi”. It makes<strong> finding places</strong> very easy if you know how to use the service.</p><p>If you’ve been following the news you’d realize that digitalization, seems to be a very major point for the current government. To some, it seems like this is all they focus on, as the pockets of the average worker, run dry and the tears of the youth get lapped up from their cheeks like a dog, by the hot equatorial sun. Then again, the focal point of this piece is not political, so pardon me for straying once again.</p><p>Although this project has been praised by many, there are others who think this project could have been implemented, using existing technologies like the location labeling on Google in order to benefit from future feature updates to Google’s systems. In an article uploaded to the <a href="https://citinewsroom.com/2021/11/governments-digital-addressing-system-poorly-thought-through-bright-simmons/">Citi News Room’s</a> website, I found this statement, by Mr. Bright Simmons.</p><blockquote>“It appears someone did not sit down and think through this [National Digital Addressing System] because if you thought through this properly, you will use Google’s own technology to apply labels so that when the time comes to benefit from other google functionalities, that integration will be seamless and will not cost you [government] additional funding.”</blockquote><blockquote>- Mr. Bright Simmons, Vice President IMANI Africa.</blockquote><p>You can read the article here:<a href="https://citinewsroom.com/2021/11/governments-digital-addressing-system-poorly-thought-through-bright-simmons/"> Tap me.</a></p><h3>Why I wrote this post.</h3><p>Humans are known for being creative and generally find multiple uses for items suited for one thing, like how African mothers find it so convenient to use their footwear as child-seeking missiles when their kid does something stubborn and tries to run away before feeling their motherly wrath.</p><p>Found a whole list of things people that ended up using different or products that had to change their brand after one or two mishaps, good read: it’s <a href="https://www.shared.com/8-inventions-we-dont-use-for-their-intended-purpose/">here</a>.</p><p>Somewhere in October, the NSS postings arrived and I saw I had been posted to The National Health Insurance Authority, in the Komenda Edina Eguafo Abirem constituency. It’s not close to where I stay but I can get there if I take about two cars or just drive. I was curious to know what the place looked like but I didn’t want to leave home and sit through that commute because of the hot equatorial sun I spoke about earlier on and with the current costs of transportation, I can’t even tell if the fare is the same as 2 months ago’s.</p><p>Streets hot.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F5xtDarIN81U0KvlnzKo%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F5xtDarIN81U0KvlnzKo%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F5xtDarIN81U0KvlnzKo%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="402" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e5f5356027dffc7d5425d60214b19de/href">https://medium.com/media/0e5f5356027dffc7d5425d60214b19de/href</a></iframe><p>To satisfy my curiosity, I wondered if it would be possible to find the digital address of the building and view it in Google StreetView. Turns out I could. The first thing I did, was Google “NHIS District Offices” and I found this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*bPpA1gqJQP8gFT0jU1-3vw@2x.jpeg" /><figcaption>KEEA NHIA Digital Address in Yellow.</figcaption></figure><p><strong>CK-0003–8600 – </strong>this is their digital address. Well displayed. Lovely. If I place it into the Ghana Post GPS app, I get a location marker pointing to the physical location of the NHIS center.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7XAQdIp7yMaNe2B8c7wAg.png" /><figcaption>Location with Marker</figcaption></figure><p>Then I try to do a StreetView of this place by dragging the human icon in the bottom right corner of the screen, onto the marker and activating the street view functionality. This cannot be found on the mobile app version so it has to be the web version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yHoPFNVVcBp-TSc0qLYSXA.png" /><figcaption>GPS StreetView.</figcaption></figure><p>Your placement of the human icon will determine how accurate your view of the address will be but basically, with enough tweaking, you can see what you are looking for but it is not as accurate as you would expect. It does not provide pinpoint accuracy but I can still see what I want to see. I can’t see the insides of the building though, but this is enough for my purposes.</p><p>The address <strong>CK-0003–8600, </strong>in a deconstructed form, <strong>CK-0003 </strong>is the postal code for the area, <strong>C </strong>refers to the region of the location (Central Region), while <strong>K</strong> refers to the district (Komenda Eguafo), <strong>8600</strong> is the unique address within the postal code. The Postal Code and the Unique Address come together to form the unique digital address.</p><p>So when you type <strong>CK-0003</strong> in the Ghana Post GPS search, there’s a highlighted section that we can safely assume is the area within that postal code. So my workplace is somewhere within that beautiful red outline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QvEB49D3LXihNoenC-gs_Q.png" /></figure><p>After this discovery, I panicked a bit. This means anyone, who knew my digital address, could find where I lived or just know the area I lived in, and verifying the address from the plates on the walls will not be difficult to do. This is unsettling (for me) and true I am not worth assassinating but my point is I enjoy my privacy. The only possible way for someone to see your digital address is if they work in a government agency where you have gone to provide it, or they work in a bank or some other institution that requires it as part of a registration process. I would like to believe this data is 100% secure but nothing is 100% guaranteed.</p><p>Except for the fact that the sky will always be blue and Ghanaians will once again vote for one of the two political giants, come 2024.</p><p>It go bee.</p><p>Final thoughts, try and ask people or organizations who take your data what they plan on using the data for and what protocols they have to go through, to release your data, who is releasing your data? You might find that they have nothing stopping them from giving your phone number or email address to SMS marketers or email marketers as I received some messages regarding electronics and mattresses since the NSS posting came out. I wonder where they got my number from.</p><p>Today it might be your phone number, tomorrow, anyone at all could know where you live. Stay safe and stay protected.</p><p>I found this short post about a hack in 2015. Have a good read &gt;&gt; <a href="https://www.modernghana.com/news/595173/1/govt-moves-to-tighten-security-of-websites-after-t.html">Tap here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88511f71aa95" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How are Campus Election Candidates Getting our Contact Details?]]></title>
            <link>https://enyarko-sampson.medium.com/how-are-campus-election-candidates-getting-our-contact-details-7be89d95e29e?source=rss-cbb7dc3abbfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7be89d95e29e</guid>
            <dc:creator><![CDATA[Eric Junior N-S]]></dc:creator>
            <pubDate>Thu, 14 Oct 2021 13:36:10 GMT</pubDate>
            <atom:updated>2021-10-14T20:08:58.326Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oivDs9rTzH331xiCBEUhoA.jpeg" /></figure><p>For political aspirants, putting yourself and your message out there is a key factor to determine whether you win or lose on voting day. A majority of aspirants employ various means and mediums to apprise the general public of their plans to make their lives relatively better.</p><p>Traditionally, aspirants for the Student Representative Council (SRC) and other leadership positions in university campuses employed a hands-on approach, coupled with fliers and/or banners pasted around, to winning students&#39; interest and votes. This involved taking trips to the halls and hostels of students to solicit votes and present themselves as relatable individuals who hold students’ interests at heart. Aspirants would typically appeal to the emotions of students by either engaging them in thought-provoking conversation or giving/promising incentives if they assured them of a vote.</p><p>Members from the various halls of residence would show their support for candidates from their halls, so it is always exciting to see some healthy rivalry amongst the halls on campus as everyone echoes why their candidate is the better choice.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl2Jeh6gnMsgaulqHS%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fl2Jeh6gnMsgaulqHS%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fl2Jeh6gnMsgaulqHS%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/60ada5af8d229521e3ea86c9a76e11d7/href">https://medium.com/media/60ada5af8d229521e3ea86c9a76e11d7/href</a></iframe><p>Now I am not saying the traditional methods of campaigning have been cast aside, but they have been supplemented by technology. Aspirants and their campaign teams find their way into social media groups, mostly class WhatsApp groups, and propagate their message of ‘love’, ‘service’, and ‘solidarity ’ with the occasional flier or two. For most of these social media platforms, it can be argued that group admins are fans of the aspirants and thus added them and/or members of their campaign to the groups. That is justifiable, and it makes sense but what about our SMS inboxes?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FllJA6SGqrrKxkeKVBz%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FllJA6SGqrrKxkeKVBz%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FllJA6SGqrrKxkeKVBz%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c462e3e6b730371c1a60205d51ad23d/href">https://medium.com/media/3c462e3e6b730371c1a60205d51ad23d/href</a></iframe><p>The most recent method aspirants are using to get their message to the masses, is Bulk SMS. This enables users to send out large quantities of SMSs’ to a list of contacts across all networks. So for this to work effectively, they need to have a list of contacts. Now the question here is, ‘How do they have access to student contact details?’, as I do not remember filling out a form or ticking a box that said I agree to receive SMSs from campus election candidates.</p><p>Our phone numbers are on every official document we have filled and some people even like to have it front and center on their social media pages. Regardless this does not give anyone the right to contact you without your consent, except for emergencies. Institutions like schools, banks, and hospitals need to provide some kind of guarantee to their members that their data is being protected or at least is being used in one way or another.</p><p>Some public offices and banks use phone numbers and email addresses as a means of sending transaction notifications and alerting customers of problems in service delivery. These reasons are clearly stated and for some of them, you would have to opt-in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*ObNvZvPSg7JtpdCo5ySoNg.png" /><figcaption>SMSs’ received on election day.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*dHJ3WhEMsq3Fdc64HKmFyg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*ZI8BwVG4-Yav0PHJ4dWhsw.png" /><figcaption>SMSs’ from Aspirant</figcaption></figure><p>Somewhere in 2018, I received my first campaign messages via SMS from a couple of aspirants. Turns out I wasn’t the only one who received messages like this, and it is becoming a growing concern because there seems to be no way to opt-out of such messages as most people are not even sure of where these aspirants are getting the data(phone numbers) from or who is providing these services. Receiving messages from random numbers without consent raises enough suspicion and for messages you didn’t even ask for, you start getting annoyed. They could intrude in your life at any time they wanted or disrupt your activities with the touch of a button.</p><p>There are those who argue that it is just once a year so it really isn’t anything to worry about but who knows what other data points they have on people and what else the numbers could be used for. Candidates rarely explain how they get this data and the messages they send don’t come with any details of the bulk SMS service provider.</p><p>How many of these organizations have a Data Use Policy, that outlines the ways in which user data is stored, and used? The lack of a policy leaves user data vulnerable to unethical employees who could probably get away with selling the data for substantial amounts.</p><p>In the end, we might probably never know how they have access to this data, and until it is addressed properly, this practice will stick around for who knows how long. Until then, I pray our data is safe and being handled well by whoever allows them to use it like this but then again, prayers might not be enough to save you from the consequences of poor information security practices.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7be89d95e29e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Flutter on Linux]]></title>
            <link>https://enyarko-sampson.medium.com/installing-flutter-on-linux-74ed45b9e97d?source=rss-cbb7dc3abbfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/74ed45b9e97d</guid>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Eric Junior N-S]]></dc:creator>
            <pubDate>Fri, 07 May 2021 14:05:19 GMT</pubDate>
            <atom:updated>2022-04-29T11:03:23.703Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*10RECXGTH5NyaeBg5yD1pw.png" /></figure><p>It’s 2021 and Google’s Flutter is gradually gaining momentum as the go-to toolkit for Mobile App development, with its cross-platform capabilities and its relatively easier approach to creating apps. Once you learn how to use the framework/library, you will be building beautiful material design apps with relative ease.</p><p>Linux is a widely popular OS used by developers worldwide. It has a wide selection of flavors, but they have similar features and share almost the same directory structure, as the different flavors are based on the same kernel written by Linus Torvalds (Thank God for that).</p><p>Flutter works fine on Linux and today we are going to explore how to install Flutter on Linux. I use Arch Linux but the process should be similar for the other flavors. A Google Search can make some things clear, and there are links in the article that lead to official Flutter documentation regarding some actions you might want to take.</p><h3>Install Java Development Kit.</h3><p>The Java Development Kit (JDK), is a development environment necessary to develop Java applications. The JDK is also necessary to be able to build Android apps and is necessary, if we plan on using the Flutter framework. A Google search will give you directions on how to install the JDK for your distribution but I am providing installation commands for Arch and Ubuntu.</p><p>This process should work for Arch-based and Ubuntu-based distros like EndeavourOS, Garuda Linux, Manjaro, Xubuntu, Kubuntu and other distros based on any of the two.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*1XRwzDhyaaiyKwvdC8f75Q.png" /></figure><h3>Choose an IDE</h3><h4>Setup Android Studio</h4><p>According to Wikipedia, “<em>Android Studio is the official integrated development environment for Google’s Android operating system, built on JetBrains’ IntelliJ IDEA software and designed specifically for Android development.</em>”</p><p>You can download the IDE package from <a href="https://developer.android.com/studio">here</a>.</p><p>Then, unzip the compressed file and place it in the <strong>/opt</strong> directory:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r1LiQ_7IAqo_Z35tU2HTcw.png" /></figure><p>If you are given a file with a .tar.gz extension, you can run the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WBPTG01lJ-uK-tvJaK3Hcg.png" /></figure><p>After extraction, navigate to the extracted folder and run the script by typing <em>./studio.sh</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*6WGHSERDlopK6N8D71Bvsw.png" /></figure><p>If this does not launch Android Studio, try changing permissions on the file to make it executable:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*dMlNe9X_v5T3jchSpozpSw.png" /></figure><p>Then, re-type the first command and run it to open Android Studio.</p><h4>Set Up VSCode</h4><p>According to Wikipedia, “Visual Studio Code is a freeware source-code editor made by Microsoft for Windows, Linux, and mac OS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git.”</p><p>VSCode has become a lot of developers’ choice for writing programs and creating software because it supports multiple languages and a marketplace filled with helpful extensions for popular frameworks and libraries.</p><p>You can download the VSCode package from their <a href="https://code.visualstudio.com/">official website</a> and follow the installation instructions <a href="https://code.visualstudio.com/docs/setup/linux">here</a> if you are on a Debian-based or RPM-based distribution but for Arch-based distros, you will find it in the arch user repository (AUR), using this <a href="https://aur.archlinux.org/packages/visual-studio-code-bin/?O=10&amp;PP=10">link</a>.</p><p>VSCode has good support for Flutter and is what I use to work on my projects. This is not because VSCode is better than other IDEs or anything but I like the look and feel of it.</p><p>When the installation is complete, open VSCode, and you will find a panel on the left side of the IDE with icons for different locations. The icon that looks like a cube with four divisions is the extension market place and here, you can search for the Flutter extension, to add to VSCode. The extension adds support for running, reloading, and refactoring Flutter apps, as well as the Dart programming language.</p><figure><img alt="A picture of the VSCode IDE with Flutter being searched for in the Marketplace" src="https://cdn-images-1.medium.com/max/363/1*7glFFiTNr3AiFg2RbxKc_A.png" /><figcaption>Flutter Extension in the Marketplace</figcaption></figure><p>If you ever want to run a Flutter app in VSCode, change the directory into the project folder and use the code command to open the current directory, like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*BZe1b9X-fp_gzMPSGAIwAA.png" /></figure><h3>Setup your Android Device and Emulator</h3><p>To prevent this post from being too long, I am attaching the link to the official Flutter post for setting up your physical android device and Android emulator in Android Studio. This can be found <a href="https://flutter.dev/docs/get-started/install/linux#android-setup">here</a>.</p><h3>Configure ANDROID_HOME.</h3><p>Environmental Variables are variables that are set up in the shell once a user logs in. They are called that because they affect the way the Unix shell works for you. Here, I am assuming you use the bash shell so I will go ahead and give instructions for bash users.</p><p>We need to configure ANDROID_HOME so that it can be found by processes that need it. Open the bash_profile file with the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*PbpJbuiy0SDwFeit8ySMJg.png" /></figure><p>Place in the following lines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oEliJYR2hr427paV0dH0SQ.png" /></figure><p>Use Ctrl+S to Save, and Ctrl + X to exit nano.</p><h3>Install Flutter Plugin in Android Studio</h3><p>Open up Android Studio, go to <strong>File -&gt; Settings, </strong>and in the left panel, choose <strong>Plugins. </strong>A marketplace for plugins will load in the right area of the box, and in the search bar, you can look for <strong>Flutter </strong>and <strong>Dart </strong>plugins to add to your Android Studio installation.</p><p>Now, with all our preparations complete, let’s get Flutter installed!</p><h4>Go To The Official Flutter Website</h4><p>The official Flutter website has the option to download from either the Snap Store or manually downloading the flutter package in a zipped file.</p><p>You can install Flutter using snap by typing in the command below but you need to have snap installed. Learn how to install snap <a href="https://snapcraft.io/docs/installing-snapd">here</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*dRQl1VmaQcQFgVngP2rFqw.png" /></figure><p>If you have the GUI version of the Snap Store, you can find the Flutter package by typing in ‘Flutter’ in the app&#39;s search bar. It should appear like below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_exDcqZV0rwtmuE_LDb5Dw.png" /></figure><p>Once the snap is installed, you can check the path of the Flutter SDK using:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*Lij-lsCE00OJy5WCKNqVRQ.png" /></figure><p>Very simple and straightforward.</p><p>Next, we are going to do a manual installation by downloading the Flutter installation bundle and doing some other configurations to enable Flutter to work well.</p><p>The first step is to download the Flutter bundle from the Flutter website. It is usually named in the format, “<em>flutter_linux_x.x.x-stable.tar.xz” </em>with the x representing the version number of Flutter being used.</p><p>Then, you have to extract Flutter in the place you would like to install it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*R-aUqb3-zGiUdFJ_i6Bymw.png" /></figure><p>In the above image, we are changing directories to ‘flutter_dir/’ and we will extract the file and get access to the Flutter toolkit below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xEWjDRH6lHn_1uEKh2KOOA.png" /></figure><p>This version is static and the only way to update it would be to download a new bundle every time Flutter is updated or a new version comes out. A safer way to install Flutter manually and ensure that it stays up to date with new releases is to get the source code from the Flutter repo. Change directory to <strong>/opt </strong>and clone the repo from git, like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TuYAiorsHneujKW8tonfyg.png" /></figure><p>This fetches you the development version of Flutter, but the amazing thing about this is, we can change what branch we download our version of Flutter from. Since we do not want any unexpected bugs when building our app, we would like to stick with the <strong>stable </strong>version of Flutter. So we do this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cn5J2IZd9ZcOzwggA4632A.png" /></figure><p>If you would like to explore new and upcoming features of Flutter, you can stick with the development branch.</p><p>We are going to add Flutter to PATH. PATH is an environment variable, that specifies directories where executable programs can be found. We will add Flutter to PATH, by opening the rc file of our shell and adding a few lines:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*Jz5hxHim9jmw7WkmERKtyw.png" /></figure><p>If you are using a different shell, the rc file will have a different name so find it in the home directory, and edit it. Now we are going to add this line :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*lC3Fr6w97i3ZCCKjfz48fg.png" /></figure><p>After adding this line, run this command to refresh the terminal window or just close and open a terminal window:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*FJ0a8KrE_I-FGy9O6vM-Qw.png" /></figure><p>Run “echo $PATH” to verify if the Flutter binary was added. This shows all the directories in PATH so you can look through to find the Flutter directory.</p><p>The Flutter Team has an alternative method you can use if the above does not work and it can be found <a href="https://flutter.dev/docs/get-started/install/linux#update-your-path">here</a> under “Update path directly”. Next, we need to accept some licenses so run the command below and tap ‘Y’ to accept if prompted:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*y_cQ3zWHgCC3KJHrtrGhpQ.png" /></figure><h4>Creating A New Project.</h4><p>According to the Flutter team, this is the way to start a new application after launching Android Studio. It can be found <a href="https://flutter.dev/docs/development/tools/android-studio#creating-a-new-project">here</a>.</p><p>To create a new Flutter project from the Flutter starter app template:</p><ol><li>In the IDE, click <strong>Create New Project</strong> from the <strong>Welcome</strong> window or <strong>File &gt; New &gt; Project</strong> from the main IDE window.</li><li>Select <strong>Flutter</strong> in the menu, and click <strong>Next</strong>.</li><li>Enter your desired <strong>Project name</strong> and <strong>Project location</strong>.</li><li>If you might publish this app, <a href="https://flutter.dev/docs/development/tools/android-studio#note">set the company domain</a>.</li><li>Click <strong>Finish</strong>.</li></ol><p>Upon clicking finish an instance of Android Studio will open with a boilerplate for Flutter apps that you can run. It is a counter app built in Flutter.</p><p>You are now ready to build your own projects in Flutter.</p><p>Have fun!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74ed45b9e97d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Experiencing Burnout? Here’s What You Can Do.]]></title>
            <link>https://enyarko-sampson.medium.com/experiencing-burnout-heres-what-you-can-do-1aabfc4b444a?source=rss-cbb7dc3abbfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1aabfc4b444a</guid>
            <category><![CDATA[burnout]]></category>
            <category><![CDATA[writers-block]]></category>
            <category><![CDATA[burnout-prevention]]></category>
            <category><![CDATA[programmers-life]]></category>
            <category><![CDATA[giving-up]]></category>
            <dc:creator><![CDATA[Eric Junior N-S]]></dc:creator>
            <pubDate>Sat, 23 Jan 2021 21:32:02 GMT</pubDate>
            <atom:updated>2021-01-23T22:00:52.878Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*idzluWkyL6lUOb-Xw7uT8w.jpeg" /></figure><p>It’s a cold and dark night, the lights of your laptop screen flicker as you move from tab to tab in your Chrome/Firefox browser, the keys on your keyboard click loudly and it’s been 3 days since you encountered this error or since you got stuck on this paragraph of your 1500 word essay. You’re tired, you feel fed up, maybe this is not the field for you. You should have done something else. Your parents were right, you should have been a *__insert a profession parents wish you were, here__*.</p><p>Maybe you’re not cut out for this position and you will do better off quitting and sleeping the rest of your days away or just going back to being a junior, at-least you had less responsibilities and little stress. You’re also very tired but cannot get enough sleep because you spend your free time working on side projects or fixing bugs/errors from work, at home.</p><p>You’re doing your very best to bring out ideas but it seems your brain is not cooperating.</p><p>What you’re experiencing <strong>might</strong> be signs of <strong><em>Burnout</em></strong>.</p><p>Here’s a <a href="https://blog.rescuetime.com/burnout-syndrome-recovery/"><strong><em>link</em></strong></a> to an article in case you want read more about burnouts.</p><blockquote>According to <a href="https://www.verywellmind.com/stress-and-burnout-symptoms-and-causes-3144516#:~:text=Burnout%20is%20a%20reaction%20to,feelings%20of%20reduced%20professional%20ability.">VeryWellMind</a>, “Burnout is a reaction to prolonged or chronic job stress and is characterized by three main dimensions: exhaustion, cynicism (less identification with the job), and feelings of reduced professional ability”</blockquote><p>It’s quite normal to feel this way after long hours of work and prolonged stress. Here are some ways you can deal with it.</p><p>The suggestions are not a one size fits all solution but suggestions I got from my friends who have either been in similar situations or are currently in one, and I am hoping they can help you.</p><ol><li><strong>Set Time Aside For Self Care And Doing The Things That Relax You.</strong></li></ol><p>Our bodies need rest. Rest and relaxation, helps our body to recover from the tiredness and fatigue of the day. Some researchers also think <a href="https://www.scientificamerican.com/article/deep-sleep-gives-your-brain-a-deep-clean1/#:~:text=Why%20sleep%20has%20restorative%E2%80%94or,is%20hugely%20improved%20during%20sleep.">cerebrospinal fluid, (CSF) flushes out toxins in the brain when we sleep</a>. So it is important that you find time to res t and relax, that way you will always be working at a 100%. Hobbies are also important and can help you to lay back and relax most of the time. You can take up knitting, art and crafts, blogging or anything that allows you to be creative, gives you a bit of a challenge and draws your attention away from your stressors. Some people like to take time off and go on trips and adventures. This is also good as it relieves stress and gives you new perspectives in life.</p><p><strong>2. Know Where Your Time Goes</strong></p><p>I have had days where I would wake up, say a prayer, check what’s happening on social media, then end up going down a rabbit hole of posts and funny videos across social media platforms such as Reddit, Twitter, Instagram and Snapchat. It’s quite easy to lose track of time and I could spend 3 hours of my morning (mostly between 5 am and 8 am) on these platforms, whilst my responsibilities piled up in the real world. Dealing with a lot of work at once and on a short notice can be draining and it comes with a lot of pressure to get the job done well and done right. Then there’s also the errors that come up in your work and corrections you <strong>must </strong>do. A lot of people do not do well under this kind of pressure, but are great procrastinators and that is the perfect recipe for a burnout.</p><p>At the end of each day, you can perform a time audit. Write down what you did during the day, how long it took you to do it, and its importance in your day. Ask yourself:</p><p>“Is it important that I do this?”</p><p>“What are the benefits I will get if I finish this on time?”</p><p>“Can I do this work correctly if I wait until the day/a few days before submission?”</p><p>“How long will this work take for me to finish?”</p><p>Make time during the day to respond to messages on social media and to check on the news and other things you are interested in. You can dedicate 20–45 minutes of your break to do this and it will not interfere with your work.</p><p>If done properly, a time audit will allow you to allocate your time and energy efficiently, thus ensuring maximum work output in the time you are awake. This will help you feel good about yourself, and take some pressure off of you.</p><p><strong>3. Set Realistic Goals And Make Plans Accordingly.</strong></p><p>There’s a lot we want to achieve in our lifetime, and we do not have all of eternity to accomplish our unending dreams. The best we can do, is set realistic and well defined goals. Let us say, you wish to build a web app in a week, or write ten articles in a day. It is not impossible but is it realistic? Can you actually build the web app or write ten articles in a day without neglecting other responsibilities? What effect will this kind of strain have on you? It is important to set goals but make sure your goals are attainable in the time frame you have set for yourself and your chosen project.</p><p>Learn how to break down your larger goals into smaller objectives and prioritise them. Sometimes, having one large goal in front of you and not knowing what to do or where to start from, is enough to bring you some form of anxiety and stress. Breaking it down into steps and smaller processes, makes it easier to work on and brings about a feeling of accomplishment, a high of success, and shows you that you are making good and steady progress.</p><p>Having well defined goals and objectives helps you to avoid <a href="https://en.wikipedia.org/wiki/Scope_creep">scope creep</a> too.</p><p><strong>4. Talk To People You Trust And Make New Friends.</strong></p><p>Burnout, is a problem a lot of people have faced before or are currently facing. You can ask close friends and family for suggestions and having people to talk to, let’s you know that you are not in this alone. Some friends might even bring up helpful suggestions and activities you can take part in to de-stress and take your mind off of work and your stressors.</p><p><strong>5. Reflect On The Importance Of What You Are Doing.</strong></p><p>In some cases, burnout rears its ugly head because we have lost sight of the importance of the work we are doing. Which can happen if you are constantly under pressure, or feel you are being stressed. Are you a doctor or a nurse? How many lives does your work impact? Does everything work well if you are absent? There are a lot of life changing projects and ideas that have died out or never even reached development stages because the owners or the originators of the idea, could not recover from the dark pits of burnout, which led to the impoverishment of the idea that their work could change the world.</p><p>Your work might not cause ripples across the fabric of space and time, but it <strong>will</strong> make a difference. No matter how small that difference it. It can make life easier for people, it can help stop crime, it can inspire people to chase their dreams too. All this can happen if you can find a way to keep the importance of your work, in your mind and heart at all times. You will never lose motivation that way, and it will give you something to look forward to.</p><p>You can do this!</p><p>You can get over this!</p><p>If after trying all these things you still feel the same, seek professional help. I am sure there are some good professionals out there who can help you understand if there are underlying reasons for this feeling. They will also help you come out of it if you allow them. Till then, all the best my friend and take care.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1aabfc4b444a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>