This February, I had a chance to make a sudden trip to some parts of Australia. I visited Sydney, Canberra and Melbourne during my visit. I wanted to write a full blog regarding my visit but could never manage time. So just wanted to share some photos.Continue reading →
On 9th July, 2018, we are blessed with a baby boy. Both baby and mom are doing good so far. Alhamdulillah.
We named him Aabrar Hossain Raif. However, due to american naming convention, Hossain will come at last. Also additional ‘a’ at beginning so americans pronounce it the way they (should) pronounce ‘A’ in America but not like in ‘cAt’.
Alhamdulillah (Thanks to Allah).
recently, i came to a realization that i’m spending too much time on facebook. quite often it happened that, i’m scrolling down and down the newsfeed and felt like nothing interesting coming up. at those times, my muscle memory hits cmd + t (open new tab) and types facebook.com in address bar. so, even without actively realizing i’m re-opening facebook and starts reading from top of the newsfeed. in my realization, this is too much. i must control myself.
i also witnessed a number of social problems upon sharing things or checking-in on facebook. even though there are many “friends”, not everyone is really friend! regardless, people has complications (often unintentional, myself included) about good things (often pure show-off) of others. in addition, i hate to say, i’m pretty tired of seeing tons of selfies (blame to me; not the one who takes).
so, on 1st january (2 hours before 2nd january), i felt like i should really take a long break and today is a good day to act. deactivating account sounds like the right solution in this case. however, i tried that in past and it didn’t work very well as facebook automatically reactivates account upon login. so, by forgetting that i deactivated and due to muscle memories, i open facebook.com, login and everything back to normal. they made it too easy! i decided to force myself; and deleting account seemed only viable option.
without further thought (i know, if i start rationalize, i won’t be able to force myself), i decided to permanently delete facebook account. they didn’t make this one easy; so i had to google to find out how to do it.
- before termination, you’ll have to deactivate the account.
- you’ve to visit visit this page to request deletion (take a backup of your site if you are unlike me).
- facebook said it gonna take about 2 weeks though it took me over 3 weeks (permanently deleted on january 24).
- facebook must have a bug (or may be related to re-login before you ask to delete) as my friends reported that my account is still active and they can see my profile.
- i’ve less online/social footprints.
- i don’t feel obliged to check-in or post photos as i came somewhere.
- i don’t have phones in my hand beyond a few seconds when we go to restaurants or somewhere. practically, i can give more attention to real life.
- i have a lot more time for myself, entertain myself.
- i feel like i’m living myself, not living a life to show others.
- immediately after that i met a number of awesome people in my neighborhood. i never searched for anyone when i had facebook.
tl;dr: i’m enjoying the time.
- i almost don’t know what happening around me and in friends’ lives.
- lost contacts of a lot of people.
- now, i’ve to make real efforts to get a news (with fb, they just come to newsfeed). example: i came to know couple of days later after trump’s eo of travel bans from some muslims majority nations.
- i used to talk over messenger with my family/relatives. i had to find alternatives.
- it feels awkward to tell that i don’t have a facebook account and people are really surprised.
tl;dr: it’s much harder than i thought.
to make things clear, i never blame facebook for anything. it’s really good and that’s why it’s making harder everyday to live without.
So, nailed another hackathon at SparkPost. Last month we had our winter hackathon and my team YACC Shavers, won in Partner Integration category. This is fourth consecutive winning of my team (not same members) and 3rd at SparkPost.
During this hackathon, we built an Alexa Skill that will integrate with your SparkPost account and you can ask it questions like
Alexa, what’s my bounce rate? or Alexa, what’s my complaint rate? etc.
Cormorant, also called shag , any member of about 26 to 30 species of water birds constituting the family Phalacrocoracidae (order Pelecaniformes or Suliformes). In the Orient and elsewhere these glossy black underwater swimmers have been tamed for fishing. Cormorants dive for and feed mainly on fish of little value to man. Guano produced by cormorants is valued as a fertilizer. – Encyclopaedia Britannica
St. Martin’s Island is a small island in the northeastern part of the Bay of Bengal, about 9 km south of the tip of the Cox’s Bazar-Teknaf peninsula, and forming the southernmost part of Bangladesh. – Wikipedia
I’ve taken this photo in February 2010. Delighted to see it again today while looking at old pictures.
at somewhere…in we used to use all lowercase typing. it was really fun. you can just keep tying without worrying about changing case. also for some reason, it hurts my eyes and brain less to read something in all lowercase. that’s probably because i like that.
so, from today i decided to go all lowercase with my blog. it’s important to note, i can just add css to show everything lowercase using css’s text-transform. but it’s not about showing, it’s about writing. so i’ll write them in all lower. however, not sure about the old posts. i may update them occasionally or using programming tricks.
Howard Beach is an upper middle class neighborhood in the southwestern portion of the New York City borough of Queens. It is bordered in the north by the Belt Parkway and South Conduit Avenue in Ozone Park, in the south by Jamaica Bay in Broad Channel, in the east by 102nd–104th Streets, and in the west by 75th Street. The area’s houses are similar to Bayside and Hollis.
The neighborhood is part of Queens Community District 10, served by Queens Community Board 10. It is home to a large Italian-American population. The ZIP code of Howard Beach is 11414.
I have a pet project which is building a mobile app using ionic framework. It stopped working on my mobile after upgrading to android 6x. In android 6x, permission was moved from install-time to run-time. This means from now on, users are not granting permissions during installation of apps; rather they’ll be asked to grant permission when they want to use that particular feature in the app. It’s a great idea because if you don’t like to grant one specific permission to an app, you should still be able to use other functionalities.
So, after fixing the issue in my app, I thought it’s worth sharing with others as they may find it useful :). Fixing this issue is pretty simple and straightforward. So, let’s dive in!
Here is how my old codes look like (not exact version though, you got it :p ):
Now we can’t call LocationService.getCoords directly anymore because it’ll fail unless user already granted permission to this app to use location. So let’s ask user to grant permission.
First of all, we need to install a cordova plugin by running the following command in project directory:
cordova plugin add cordova-plugin-android-permissions --save
Then, we gonna write a method, askLocationPermission, for asking permission:
Finally, we can use it just before trying to get coords like:
- I read somewhere this (can’t find the link) implementation is backward compatible, which makes sense because in older version of Android you’ll be already granted permission during installation (assuming you’ve mentioned locations permission correctly in your app’s manifest).
- I’ve used promise in the new method. If you like, you can use callback pattern.
- For list of available permissions, look at this doc.