When I was growing up, between ages nine and I think, twenty I was labeled a tomboy by the people around me. I didn’t think anything of it at the time because I felt I was just being myself. The earliest age I remember exhibiting tomboy traits was age five. I don’t remember how it started or why. Looking back, I can only point to a few things that may or may not have shifted my thinking as a girl child and changed my identity.
One of those events was when my dad went on a trip for some years…
One fine Friday at work, I was about to go have lunch when I came upon some of my other colleagues at the office gate. They seemed to be arguing with two unknown people. One, a tall delivery man covered head to toe in protective clothing. The other, a shorter man who seemed to be doing most of the arguing between the pair. The argument scene was set near the delivery man’s motor bike at the office gate. They all seemed to express a range of emotions ranging from anger, anxiety and surprise.
After standing around for a minute or…
If you didn’t already know, inducing an abortion is illegal in Nigeria except when the woman’s life is at risk. It is governed by two laws, the Penal Code, for the North and the Criminal Code for the south. The sections concerning abortion are 228, 229 and 230 in the Criminal Code Act of the Constitution of the Federal Republic of Nigeria. It states that
*If you know nothing about taking a web page offline, you will learn this from my previous article, which is a Simple Guide to taking a Web Page Offline using Service Workers. So this article is sort of a sequel, and I will only be explaining how I handled POST requests offline
A while back, I worked on taking an app offline using service workers. While working on this project, I had to make sure that all the key parts of the application work offline. With the service worker API, making icons, text, images and fonts display offline was no…
So I was to attend an event at the Andela Nigeria office in Ilupeju, Lagos one time. A summit for women in technology. I didn’t know the way there from my residence and I didn’t want to go through the stress of boarding buses and stuff, especially when I would have had to ask for directions. I explained why. Anyway, I decided to take an Uber. This would be my first time of using Uber, so a day before the event, I asked a colleague at work to put me through using the app. It was simple enough. …
The Counter class in python is one of the most used class from the collections module. Counter is especially useful for well, counting stuff. The Counter module counts data and stores them as dictionary keys and values. I have seen it used mostly by data scientists who use python because of its usefulness in counting frequency. Let me show you how…
Fire up your Python interpreter and type this in
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information. …
Named Tuples as the name implies, is a tuple where each value has a preassigned name.To understand a namedtuple, you first have to understand what a tuple is. I wrote an article about what a tuple is. Named Tuples are only usable from python 2.6 and above.
Named Tuples can do about everything that a tuple can do.
Fire up your python interpreter and let us check out the various ways to define a named tuple
1.With a string separated by commas
Python 2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516] on linux2 Type "help", "copyright", "credits" or "license"…
A service worker is a script that runs in the background when your application/website is running. It acts as an intermediary between the browser and your app.
It has the ability to intercept network requests, modify them and redirect them; it is quite powerful. The service worker’s main function is to serve a cached/stored version of your application when the network is down. This makes them suitable for making your website work offline.
A very simplified explanation as to how service workers work, is this,
I was not born deaf, I lost my hearing suddenly as an adult at age 20. Since I had already acquired language proficiency, it was not hard for me to start lip reading when people speak. I am not going to write this from the actual point of view of someone that was born deaf. I am not going to talk about how I lost it, but rather the struggles of being it, in a country like Nigeria.
So what does it mean to be deaf in Nigeria?
Leaving the house and going out is usually very stressful, especially when…
Detecting the location of your website’s users is useful for a variety of reasons.
You might, for instance, want to display different content, perhaps in different languages for people from different countries, or display targeted information to visitors from different locations.
Whatever your reasons might be, you have two options:
The geolocation API is a new HTML5 feature that allows a web page’s visitor to share their location with you if they so choose.
When you try to retrieve the location using this API, a prompt is shown to the user, asking them…