AboutAll things techy and Hagiography
SkillsAndroid mobile Dev,Django python and some node js
Joined devRant on 9/19/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I get home from work after a busy day in the office and try to use my iPad to catch on some Android books had saved for offline reading there.
I can't use the devii as it's off and so power it up and coming back later to use my buggy mind can't recall the passcode.
To make it worse hadn't synched it with iTunes on my machine and am fucked.
I try some few passcodes with no avail and call the shorts a full reset though all have to lose all data damn Tim Cook and company.
For a week been working with my project manager remotely.
Then yester night had a tough one.
Me:Please send me the API endpoint so that can test it and see the response.
Him:On my side all is set just consume the response.
Me:As a practice I did first test the API using postman and the response was okay.
Me:As I had already prepared my Retrofit code to consume and parse the response I head to it.
Me:Fast forward 20 minutes into the application I realise getting some unexpected errors thanks to the guy who didn't follow my response format.
Me:I call him asking him to check how he formatted the response .
Him:He claims he formatted it as requested .
Me: Double check my work and am damn right and now raise my voice as I talk to him again and requests him to send me a screenshot of his response and I send mine.
From the screenshots turns out his response is okay as he is working from a damn localhost and my response was coming from the live server.
Feel like strangling him for wasting my previous 30 minutes2
Flight mode,work calls
How I wish I could enable flight mode on my phone and still be in a position to get data access but no calls coming in.
Here my wish telcom companies.5
That one day you suffering from Obsessive code disorder and Oh boy you love it.Bugs got no chance.
Boss: Great job can we change the UI by using a custom view..
Me:Hesitating a bit sure we can.Head back to my station and consult Stack overflow and start implementing.
Boss:Five minutes later you done and how is it so far.
Me:Am done am just rebuilding and cleaning my project yet in reality ain't done.Gradle built time to my rescue.
Boss:How comes it taking long yet you got a high end machine okay then let it built.
Me: Breathing a sigh of relief thanks gradle1
Been working on an application for the three days then yesterday happened to present a demo to my target client base.
Me:I need you to go through the app and tell me your experience using it.
User: Great let me see it and comment on it.
Me:I wait patiently as he goes through the app asking for clarification on some activities .
User:I love it but I think would be nice if we improve on the following.
Me:Okay go ahead all ears.
User:How about on the share feature instead of sharing the apps link then one goes and downloads it and install,how about you simply share the APK and install it instant.
Me:Okay that's a good thought and later go on to explain to him why we share links as compared to sending the APK directly .
To all android Devs who used to or still change Constraint layout as the root element of the view despite Google forcing it on us.
Your time is near....
Android Studio upgrade
Over the weekend I upgraded my android studio and the project files of my current project and all went smoothly (as far as I thought).
I did not touch the project till today as was implementing some few features only for some few unexpected bugs to creap in.Been implementing that feature for some time and thought would be done in a flash only to my disappointment.
Turns after upgrading my SDK they were some conflicting dependencies that had no idea of.
To make it worse my fall to branch was way behind the active one and had to create a new project from scratch and copy paste files.
All this after spending hours in Stack
Overflow and scratching my head.
Lesson learnt to commit more frequently.1
Devrant and pickpockets
A week ago on Tuesday was heading to meet my client for a demo presentation.Once in town and few metres from our meeting point thought of checking some few rants only for my device to be snatched from my hands and the pick pocket sublimes away.
I composed myself and went to the agreed meeting point only not to meet my client and they was no way I would reach out to him.After making few rounds waiting for him finally gave up and headed for home.
Fast forward I made a resolution not to get a new device till a week ends and had to roll back to a simple device till today.
With today being the D-day I did head to my carrier to get a new device and once the phone was being set up the customer care agent asks which app do you need set up.With no hesitation I gladly say DevRant and she got no idea what's that then after some explaining she says all give it a try with a smile.
I later leave the store a happy man with DevRant being the first app on my device as I ran stock android.
Glad to be back family.1
A friend finds me coding and busy on my code then asks.
Her:Can I have a minute.
Me:Sure,how can I be of help
Her:What's up with all this devrant cartoons on your machine.
Me:Sounding excited,you like my sticker game can ship some for you?
Her:Nah sticker game since when is there such one looks childish and why ship stickers.
Me:It's our techy culture respect it let me finalize on my work.
She messed up my evening human bug.1
UI design android
Back in college we were taught the principle of KISS (Keeping it simple stupid) and experienced it first hand today.Been struggling with a layout design from our designer and had cursed him a lot earlier.
Turns out I only needed few attributes:
@college project submission
Teacher:once done print all your codebase and come with to class
Me:But sir there are better ways of submitting our code.
Teacher :what do you suggest
Me:we can a repo such as bitbucket or github
Teacher:I got no idea of that you send the code using Gmail or just print the code for your grading.
Me:for Christ sake how will I send all my android files through Gmail.4
Stock Android rant
Friend: your phone looks different
Me: yah running stock android
Friend:where is the file manager and it looks weird
Me:that's the price of using stock android
Friend:what's stock android btw
Me:it's clutter free software from Google
Friend:what is clutter free and I don't like it though
Me:I finally give up on him and have my phone back2
Me:To my new boss I think its fare we adopt version control for the project we working on.
Boss: No need just do what we hired you for.
Me:Its my second day of work and don't know how this will play out
Am beginning to dislike this boss he still sticks to old practices4
Client: Sends me the logo to use for android app as launcher icon.
Me : Send him the apk with the launcher icon he sent
Client: 10 minutes later the logo icon of the app in a way its also blurred in a way when you compare with other apps icon on the phone
Me: I warned you and you pushed I using it.
Android Architecture components
Spent 30 minutes debugging the new Room database only for I to figure out later was returning an instance of an entity yet was supposed to return a Dao
Kotlin and mother tongue
In my mother tongue (my first language which is Kikuyu) we do not have the letter L in our alphabet thus meaning L and R to us is similar thus pronounced the same.
Then Kotlin makes life hard for devs who got a mother influence in their speech from my tribe. Was having a talk with fellow dev who is my tribe mate and we had an issue agreeing between val and var hehe.
We had to write it down to tell which is which.
Thankyou Kotlin for making my day.6
Computer applications 101
Teacher needs to use ctrl + X to cut but uses ctrl +Y then claims my word has expired. Walked out of the class.4
While learning Java back in campus and you were the only one who could nest some for loops and create some pyramid stars and the lecturer was on you to(Java Ninja) explain it to fellow classmates that felt good.
After a rough buggy day at work thought of refreshing my mind by playing with the rubic cube,damn mistake ever the cube proofed to me how my mind was frozen.
Spent 4 hours playing the role of a designer and crafted some great UI and showed my fellow Dev's and we were all in agreement to implement.Eight hours later our lead designer crafts a totally new look that my boss is so into forcing us to redo the app
Lesson learnt keep your lane1
Four years ago while still a newbey in Android Dev and still using the eclipse IDE which was hell to configure by adding Android plugins,my girlfriend had a birthday.
With my new found love of coding thought of developing a b-day app for her.With so little android knowledge I had a great idea the main activity would have her photo as the background and button which when clicked would show a toast saying happy b-day love.
After spending few minutes in Tutorial point and learning how to display a toast and setting click listeners on buttons I was good to go and compiled the app.
Later that evening I head to her room where her b-day was to be held with some of her lady friends .When presenting gifts I presented her gift said had one more surprise for her and asked for her phone and using bluetooth sent the apk to her phone.
Installing the app I was scared to death on seeing how my grey buttons were displaying on her 2.7 screen size since had no idea on designing for multiple screens.
Giving her back the phone she loved the app and felt like her superman in the room though not for long.Her lady friends had gone ahead took her phone and were critising the app:
Why can't I take a selfie
Why can't the app play a b-day song for her and this went on them not knowing how hurting that was.
Bumped on the lady who lead the onslaught on me and had to go down memory lane.Life is a journey.2