Ndifreke Ekott

Life - Tech - Thought - Journals

Author: ndy40.ekott@gmail.com (page 2 of 3)

When you get reminded you are a Developer

It can be fun being a developer, but sometimes you can forget you are one and begin to think human. Today as been a somewhat long day from visiting my GP and ending up in the hospital behind a long queue of patients waiting for an X-ray. I am at my desk with a couple of hours to churn through, I decided to tackle a long pending Ticket.  An hour and a few minutes later, I am done with the update but there is a second part to this ticket. I need to refresh a lot of data in a CSV file stored remotely on an AWS S3 bucket.

I download the file and decide to tweak the refresh locally. So I update the code and statically type in date range parameter. I was meant to get a year’s worth of data. We looking at some heavy MegaByte worth of JSON data. We do agree that is just suicidal to think you can transfer 80MB worth of JSON data over the wire from one HTTP request.  So the task would be to break the API date range between the months of the year.

I tried breaking the request down but got a 400 – Bad Request error message. So as usual, I decided to test the boundaries of the API by reducing my range from 1 year to Monthly, Weekly and then I came upon the 1 Day interval as the ideal range to work with. So I started out by manually adjusting the data and seeing what data gets pulled. With a bit of frustration and trying to figure out how I can automate the changing of the API date range. For some reason, the thought writing new code to get the result didn’t come to me on time for some reason. I spoke to my colleague next to me, and he suggested I write a function to do all the date range update. This was a brilliant idea, I could write this code, get the effect I wanted and revert code back. We can discuss code review and why date range was hard-coded in another post.

I wonder why I didn’t think of this. Sometimes as developers, we do miss the joy of innovating, writing new codes and being innovative with solutions to a simple task. I did write the code as expected, got the result I wanted but still came across other bottlenecks which had more to do with the API than my code.

Morale of the story:

Never forget you are a developer. Always seek to innovate.

Building a Self hosted Bookmarking service

If you consume a lot of Internet resources, we keep a record of pages we visited or hope to re-visit at a later date. Modern day browsers provide a feature called Bookmarks. Bookmarks stores links to pages or articles you found interesting and you wish to revisit another time. Working with bookmarks on your local machine is the easy part, the trouble comes when you use different machines during the course of your week (Laptop, Desktop, Tablet, Phones).

Continue reading

Unboxing the WileyFox Swift 2 Plus

So this is my first unboxing video and I didn’t do much planning. I simply wanted to make a video and put it out there. After a few years using the Nexus 5 phone, my phone finally was giving up on me. It has lasted and served me well. Taken all the abuses, I have flashed, re-flashed, unflashed and done so much to it, I think it is time to let it rest in peace.

So what happens to my Nexus 5? I plan to use it as a development phone (When I finally take mobile development seriously). So find embedded in this post, my unboxing of the WileyFox Swift 2 Plus. For more details on the phone and company, visit the links below:

AviCollect International (Flight International Database)

Client : Nigerian Civil Aviation Authority (NCAA)
Company : Venture Garden Group (VGG)

Summary

This project is an extension of the AviCollect solution used by Domestic Airlines within Nigeria. Due to the success of AviCollect, and the need to reach out to the Flight Manifest gathering challenges faced by the Nigerian Civil Aviation Authority (NCAA) on Domestic and International Flights, the AviCollect International Project was born.

Continue reading

Welcome to Life. Seatbelt on. Ready for takeoff

As our faces are different, so are our challenges. No such thing like a life better than yours. We all have our challenges. Like people say: Life is full of ups and downs. One moment you may be cruising at calm altitudes in clear skies and next moment you navigating through stormy clouds.

Continue reading

Older posts Newer posts

© 2017 Ndifreke Ekott

Theme by Anders NorenUp ↑