Sunday, July 22, 2018

Mobvoi TicWatch Pro

Even though I'm an iOS developer, in my daily life I'm currently using a Motorola G5+ and not an iPhone. There are several reasons for this choice, but the main one is probably that I'm often dropping my phone and iPhone screen replacements are way to expensive :-)

However I've been using a Motorola 360 2nd gen for about a year. Despite that I liked the look of it and the functions it offers, I've decided to sell it already about a year ago being without smartwatch since then. I my opinion wearOS (or Android Wear as it was called at that time) is still behind watchOS, but I'm a bit old school when it comes to watches so a rectangular watch was never a real option. Beside that the main weakness of all smartwatches is the battery life...

But nowadays there is a smartwatch that faces this problem. I know that the TicWatch Pro is not the first of its kind, but the first that got my attention so I've decided to buy one. The approach that has been taken by the Chinese company is to put an LCD on top of the OLED display which jumps in whenever there is no need for smart features. Basically it puts wearOS on sleep when you just wear it and fires it up when you look at your wrist or when you press a button. In theory that's what you need and when it helps you to charge the watch just once a week then it is a real game changer... if it can hold the promises in real life usage too.


Now I have it since last Friday (about 4 days) and I'm about to charge it the first time. I guess this first week is not representative, as it had to update all its contents, install all the apps and me constantly playing with it, so I'll update this post next week to provide some real numbers.

Friday, May 27, 2016

Update all Ruby Gems on your Mac

Usually I used the command I found here which is

sudo gem update `gem list | cut -d ' ' -f 1`

However sometimes, if you are on a VM that hasn't set the profile correctly you'll need to specify the right directory. So the effective command working everywhere (so far) is.

sudo gem update -n /usr/local/bin `gem list | cut -d ' ' -f 1`

Wednesday, March 30, 2016

GIT-LFS on Bitbucket Cloud

There are a lot of posts all over the internet on GIT-LFS and bitbucket. However most of those posts mention a setting that is not available on the Cloud version of Bitbucket.

So, to give a simple answer to the question "Can I still use GIT-LFS?" ... "Yes, but.."

Why but? Well, it does come with a cost. Actually there is no build-in solution to deal with large files if your repository is hosted on the bitbucket cloud, but the GIT-LFS in general is just a concept, that can be put on every GIT service. The problem is where to put that data?

The answer is any kind of web accessible blob- or file storage. Popular answers in this case are AWS S3 and Azure, but every MongoDB or even a file system is enough (This depends a bit on how reliable it needs to be and how much you are willing to spend).

Now I guess its time to look into what GIT-LFS really is. As we said earlier it is a concept, which is not entirely true, as it is also a protocol. Actually it is able to interfere a push command (with a pre-push hook) exchange the actual file that you'd push with a "link" (an OID basically) and push that to the repository. The real file is then sent to the "lfsurl" specified in the ".git/config" file.

Unfortunately storages like the ones mentioned above are not accepting this protocol calls directly, neither git-lfs can deal with their (complex) authentication mechanisms, so you'll need some sort of interface manager, which is likely to be some sort of server.

Lately I was working on an extension to an existing solution written in Node.JS which tries to give a solution to this problem. It has the ability to talk to those storages mentioned above and implements most of the git-lfs protocol in its current version. All you need to do is putting it on a server, configure it to accept your clients and access your storage and it will work.

As it is an open source project you can contribute in any form if you like.

Tuesday, November 03, 2015

Setup the new Apple TV

After unpacking and flashing it with the latest Beta I could finally set it up
It is going through all the languages in a row


There is the possibility to take the settings from an iPhone/iPad

Unfortunately none of my devices was already on iOS 9.1


Monday, November 02, 2015

Unpacking the new AppleTV Developer Kit

I guess you're not really interested in what I've to say about the unpacking, so just watch the pictures:








So and there it is :-D

Saturday, October 31, 2015

Got selected to have an early look at the new AppleTV

Basically it all started with the following email that I got just a week after participating to the Apple TV lottery.

After accepting the terms, which basically say that I'm not allowed to show pictures or write reviews about it (that's actually why this article is published so late)

I finally got the confirmation that Apple is sending me the AppleTV Developer Kit for 1€


Stay tuned for the unpacking article coming as soon as the AppleTV is publicly released.


Tuesday, October 27, 2015

MAC: Keep your gems up to date

If you want to have all your gems updated there is quite a simple command to execute
sudo gem update `gem list | cut -d ' ' -f 1`
This will take the list of all installed gems and update it to the latest available version.
Furthermore you can simply remove now all the unused, old versions by executing
sudo gem cleanup
And you're done