sleepbot-to-sleep_as_android is Released!

I was a user of Sleepbot since 2013. However it was abandoned by the developer later on and no more new release for a few years. I tried to check their blog but no reason found behind this.

Anyway I was still using Sleepbot until my Nexus 5X was dead, due to the infamous bootloop (but what the news said, LG did repaired my phone) and I lost a month of data even I have do regular backup. Coincidentally I saw Sleep as Android on the editor choice of Google Play a few days ago before the phone dead, so I decided to switch to something else.

After comparing with Sleep as Android and Sleep Better with Runtastic, I decided to got for Sleep as Android because what I need is just sleep tracking, I don’t need alarm and it seems Sleep Better with Runtastic has no way use sleep tracking without an alarm.

So now I am using Sleep as Android, and then I did a quick search to see if there is any methods to import the data from Sleepbot. In the documentation, it did mention someone made a Ruby script for import data, which convert the exported file from mysleepbot.com. However I didn’t use cloud save so it just doesn’t work for me. So based on that script, I wrote my own version which convert the exported file from the app itself instead to a file that can be imported in Sleep as Android. So that is the why the script is here. The reason why I used Python is just because I have very little knowledge with Ruby.

Enough for the background information. Anyway you can find the script and more technical details at the project page.

 

PS: I just found that there is no annual report from WordPress in year 2016!

Advertisements

vzMediaScan 3.0.0 Published!

vzMediaScan App Icon

After 2.5 years, finally I am able to finish working on the new version. This is mainly to fix the problem introduced in Android 5.0 Lollipop that empty folder will turn into file after scan.

Others changes include support of runtime permission in Android 6.0 Marshmallow and also IDE change from Eclipse to Android Studio. Well but IDE change doesn’t affect the user anyway.

You can get the latest version of the app from Google Play below.
http://play.google.com/store/apps/details?id=hk.zst.vzmediascan

Auto-Java-Updater 1.0 for Windows is Published!

I don’t really have a good impression on Oracle product, though it is truth that their product perform well, they are just less user orientated.

So this time, I am having trouble with updating Java Runtime Environment, or JRE in short. It has been a long problem. I got several desktops in my company which require JRE for their work. But after a month or two, the users will complaint to me that they cannot use their application and show me a screenshot which is actually a pop up saying JRE is out of date.

Oracle never provided an automatic update mechanism for JRE, and because the user doesn’t have administrator right, they can’t perform their installation on their on. At the end of the day, I have to update the JRE on their desktop, one by one.

So finally today I am looking for solution to the problem, and found this, a batch script to update the Java. I tried, and found a few bugs and issues. So I decided to fork it and create my own one, which is the birth of my own Auto-Java-Updater.

You may visit the project page here or download the script at the project release page here.

Anyway, my day has gone to make this script, and hopefully saving me the trouble onward until JRE 8 is obsoleted.

Visual Studio Code Zip / Portable Version for Windows

Recently I was given an exercise to work on Node.js. A few years ago I was using Aptana Studio on Node.js. So after these few years I guess there should have some IDE or editor available for Node.js. So I ended up found Visual Studio Code and Atom.

I tried both Visual Studio Code and Atom, and I choose Visual Studio Code at this moment because the autocomplete suggest is much more better than Atom.

For software that I use, I usually prefer portable version. I found someone has made one, but I don’t like unofficial release. I looked again and lucky found a post here which mentioned that there is a portable version of Visual Studio Code.

After further checking, it is actually a zip version and officially the download link is located deep inside the FAQ section of Visual Studio Code.

Anyway for those who like no installer version, below is the link to download it directly.

http://code.visualstudio.com/docs?dv=winzip

Edit 2016-08-13: Finally the they have provided the Zip archive download link in their download page.

Spam Spam Spam

I just discovered an unapproved comment in my mailbox. The comment look fine, but strange.

Spam

So I google it, and ended up finding a bunch of websites with similar comments. One website even take the question seriously and answered the question in a blog post.

I still not quite sure why people make such comments. Maybe leaving the link to their website. Anyway, this comment is marked as spam by me.

Error 1918 when Installing MySQL ODBC Connector 5.3.6 on Windows

It is somewhat a frustration that even the official website at the time of writing this doesn’t correctly list out the dependency software.

Anyway in short, make sure you have installed Visual C++ Redistributable Packages for Visual Studio 2013 if you are installing MySQL ODBC Connector 5.3.6.

The official website and many other website I found only mentioned to install Microsoft Visual C++ 2010 Redistributable Package. Some websites even gave an inappropriate installation instruction to user. Although Microsoft Visual C++ 2010 Redistributable Package might be required for older version of ODBC connector, but definitely not version 5.3.6.

Also, it is better if you are installing the latest version of Visual C++ as well. Many website I found (such as this, this, this and this) are still providing link to the old version of Visual C++ even a new version is already available at the time of their writing. You may check the latest version of Visual C++ at Microsoft website here but, even the official website cannot be trusted as I can find a more updated version of Visual C++ 2015 here at the time of writing this article…

In summary, trust yourself.

2015 in review

Year 2015 will soon pass (in Hong Kong). It is a busy year in a way that I don’t have spare time to work on my Android apps. Too bad I only recall bad things happen in my life this year, although I also had a 3 week cycling trip at Taiwan which keep me busy throughout the year for preparing and post-trip processing.

Hopefully next year I can spend some time in Android app next year and also with my family.

Anyway as usual, a report of my site in year 2015. Too bad I only posted 4 posts this year.


The WordPress.com stats helper monkeys prepared a 2015 annual report for this blog.

Here’s an excerpt:

The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 12,000 times in 2015. If it were a concert at Sydney Opera House, it would take about 4 sold-out performances for that many people to see it.

Click here to see the complete report.