Just got Android Wear 1.4 on my Moto 360 2nd Gen

Today morning I woke up by taking off my moto 360 from the charging dock after playing a while with my phone on the bed, and it was when I saw the message on the screen saying software update is available and swipe to upgrade. Well I was too excited. I knew it is not going to be some minor update version. I knew it is going to be 1.4. I followed the upgrade instruction right away, the phone gone restarted and I was really excited to check out the new features.

moto360 AndroidWear 1.4

it is not a long time that I have this watch and it is great but in some points I could feel performance issues and lag in the menus. That was kinda disappointing but I can confirm this update has fade all those lag issues away. The UI is extremely responsive and nice.

There is not much of difference in the UI. the icon to set the watch in do not disturb mode is kinda bigger now. the one that you see by swiping from top of the screen to bottom. Yeah what we call it quick settings. and the Google now Icon now is the Mic icon same with the phone instead of the Red G. that is all that I can say about changes in the UI. the rest is mostly similar to past.

There is a new cool feature in settings app to control permissions that app can have over your watch sensors and data. Just like what has been introduced in Android marshmallow now you can restrict applications to access certain data on your watch such as the storage or the sensors.

There are 5 New gestures introduced with this update. to scroll up, down, get into a card and  closing them and also closing everything on the screen and showing the home screen with a hand gesture. this is a cool change and I’m happy about it.

Well that’s all that I found out myself after doing the upgrade. I’ll be checking out doze and other features and will write up about them if I found something cool.

 

a Week with Arrow Launcher

It’s been a week that I received my new Moto X Pure edition. One of the first things that I was planning to do when I got the phone was trying out Arrow launcher. The Android launcher from Microsoft. Before anything I really admire how Microsoft does dedicate time to develop softwares for other platforms like iOS and Android, and is not following the dirty game that Google is Playing.

I really hate the fact that Google is denying all Windows Phone users and not developing any official app for Gmail, Youtube or … for em.

Anyway, Lets get to where I started. one of the first things that I wanted to try on this Phone was Arrow Launcher. I have tried to install it on my previous phone (Moto G 1st Gen) but to be honest the experience was not that Good.

I can blame it on the low hardware specifications of my old phone but yet it could be better, just like how other launchers like Nova or CM were lightweight and Optimized enough to run well on it. again lets not go there, I’m going to review this launcher in a proper environment where there is no hardware limitation that cause sluggishness on its experience.

Memory usage

The launcher itself uses around 60-80MB of ram most of the time. the memory stats on the phone shows in highest memory usage it was consuming around 180MB on my phone.

User interface

Categorizing the home screens is handy. at first I felt like limited. but I realized I do not need any more than 1 screen with my icons laying on them. The fact that the launcher keep tracks on the most used applications and sort them on the applications home screen is nice.

Arrow Launcher

But yet there are some things that could be done much better in my opinion.

  • The sorting of the apps is too fast. I know a single run can change in arrow’s stats about which app has been used more compared to others, but believe me you do not want to see your icon escape when you are pressing it because the arrow is reorganizing it on the screen. This happens quite number of times to me. when I tried to open an app and the icon just moved away. I think it would be better if they do all these organizing tasks in the background.
  • The home screen titles cannot be removed. I really like that I have a home screen for each purpose, lets say apps, widgets, reminders or people. But I really wish I could hide the title of my Widget home screen. Right now my main home screen is the widget one which I placed a clock the top-center of it. but the fact that I have to see the word “widgets” on top of my clock is kind of sucky, anyway I decided to bear with it. that is just some wish I have in me.

other than this working with Arrow is very simple and straight forward. It does everything you need in a simple form. The Bing daily wallpaper is also a good thing to help with your old and boring wallpapers.

Overall in term of design and effects arrow is nice, at least to me. it is something that I always need in a single package.

Bottom line, Good job Microsoft.

 

 

 

 

Me and My Moto X Pure Edition

Moto X Pure Edition

It’s finally here, For the past 24 hour I was busy all playing with it. Finally my Moto X arrived. Although I was supposed to receive it today, I could not resist waiting and I went to the Local courier Skynet and pick it up myself. All I can say, it’s awesome and I’m not regret at all.

This is not my first Motorola phone. for the past 2 years I was using a Moto G for daily and to be honest that was one of the best phones I have ever owned. Although when I bought it Motorola was still belong to Google and wasn’t sold to Lenovo yet and the news made me kind of sad in the beginning, but checking out other Motorola phones made me believe that they still rock, even though their name is now apended with  ‘a Company By Lenovo’.

I am thankful to techbug guys who made it possible for me to own this phone. I have been looking to buy this phone in Malaysia for the past few months. I do not think I would be able to get my hands to it any soon if it wasn’t because of them. make sure you check them out if you are in Malaysia too and you want this phone badly.

Everything seems well with it, as I expected. First thing after the initial setup was upgrade to Android M. I got the OTA right away and I can say it’s perfect.

I’ll be writing more about it soon. I’m still exploring this beast.

 

Laravel 5 Select Random Row

To select a random row from MySQL using php is not a real hard process. you always can use the rand() function within your queries. but if you are using Laravel and Eloquent Model to work with your database you really should check the random() method out.

Doing a select with your model and using random(1) function will give you a random row from your entire data.  I really think that you should be using this method if you are trying to achieve a random select.

Example:

Please note it only works if you are using Eloquent, in case you are using DB class don’t have this method there.

Fix: Laravel scheduled tasks exception

So I just added a little scheduled tasks to one of my applications which was hosted on a shared environment and I realized that the task was not being executed at all.

running the php command from the shell was working and it was not giving me any clue on what the problem could be.

So as the solution I removed the forwarding to dev/null from the ending of my cron task command, after looking at the output I realized that the following exception was causing the Laravel scheduled tasks not to work.

Continue reading Fix: Laravel scheduled tasks exception