Google Chrome 35 beta adds much needed DirectWrite font rendering on Windows

Web designers rejoice. The jaggies are gone!

Fonts in Chrome on Windows no longer look like they’re from the XP-era. Thanks to a new experimental flag added to the latest version of the Google Chrome beta (35.0.1916.27 beta-m), Chrome is finally rendering fonts with the advanced DirectWrite font rendering engine.

For a before and after comparison, here’s one I compiled with the Windows.com website. The effect is most noticeable on big curves like the “a” and bends of the question mark.

chrome-directwrite

Simply open the Chrome experiments screen chrome://flags/#enable-direct-write and “Enable DirectWrite“, then relaunch Chrome for the change to take effect.

chrome-flags

20140326_112346_933_x

Making a Google Glass app with C# on Xamarin: PTVGlass

Missing the train by just a minute is mildly frustrating. Every time I see the train roll away from the platform as I walk towards the station makes me wonder what if I had walked a little bit faster or paced up the escalator. (This dilemma keeps me up at night)

Of course there are plenty of cool mobile apps with public transport timetables but pulling out a phone and fiddling about while I’m walking is more trouble than its worth.

After two nights of hacking, I can now access Melbourne’s bus, train and tram timetables while I’m walking to the station with voice and geolocation, thanks to my Google Glass app PTVGlass! I’ll be the Glasshole shouting “trams near me” in the city.

ptvglass

20140326_182408_638_x

Download the source code

I’m making the Xamarin/C# source code freely available on GitHub along with the Glass APK for sideloading.

Unfortunately I know the number of Google Glass Explorers in Melbourne will be in the single digits so this app has very little commercial value. I’m hoping someone can critique my code or be inspired to create more Google Glass apps.

Falling in love with Xamarin

A couple of weeks ago, the state government agency Public Transport Victoria released the first version of their Timetable API. I knew I just had to make an app for Google Glass. Except one problem, I didn’t know Java or how to write Android apps.

Unlike my previous Google Glass apps using the Mirror API which allows web developers to develop apps in the form of Glass push notifications, this particular scenario required a native GDK app which could be initiated through voice and menu commands.

I tried a good effort to quickly get my head around Android development, but the tooling and documentation was simply sub-par compared to C# and .NET development. I’m sure the Glass Development Kit would be a piece of cake for any Android developer but learning Java, Android and the GDK all at once was just too much.

In an amazing coincidence, around the same time rumors of Microsoft acquiring Xamarin floated. I wasn’t entirely familiar with the Xamarin product at the time, but my eyes opened when I saw they supported developing for Google Glass using C# and Visual Studio piqued my interest.

Even as a C# noob, I could appreciate the straightforwardness of C#. (Objective-C makes me want to cry.)

Android Screen Monitor (28)

Although I was skeptical of Xamarin Studio at first, I’m pleasantly surprised by the capabilities of the tooling. It was like Visual Studio Lite. Intellisense for the full Android SDK, multi-threaded breakpoints, variable explorers and integrated device deploys and debugging.

ptvglass debug

I have to admit the only weak aspect of developing with Xamarin is the documentation. Xamarin tries its best in its developer guides to provide an overview of the fundamentals in C#, but this is obviously no match to the official documentation in the native language. Surprisingly though StackOverflow was quite saturated with Xamarin questions and answers which helped with the small quirks here and there.

Unfortunately the current Xamarin licensing cost (upwards from $299 to $999 a year) would scare off most hobbyist developers. If the rumors of Microsoft’s acquisition are true, I certainly look forward to Microsoft opening up access for this amazing technology and tools to more developers via MSDN and the Visual Studio Express programs.

Microsoft already has the best developer tools on Windows. Now imagine if their tools were also the best in class for the competing but dominant mobile platforms.

narrativeclip

Hands-on with the Narrative Clip wearable lifelogging camera: disappointing

In early 2012 it seemed like everyone jumped on the Kickstarter bandwagon. At TechCrunch Disrupt San Francisco 2012 I was introduced to a project called Memoto, a miniature camera small enough to clip on to your clothing and it’ll automatically take photos of your day-to-day life – lifelogging.

At the time it seemed like a diamond in the rough (remember this was before Google Glass was announced). It exceeded its $50,000 goal with $550,000 of backers. Fast forward to today, after a year of production delays and a company rebrand, the Narrative Clip has finally started shipping.

IMG_3625

The design

The Narrative Clip takes the wear in wearables quite literally. Inside a plastic case about half a business card sized is a 5MP camera, a GPS, accelerometer, accelerometer, magnetometer and 8GB of memory. It’s a good example of minimalist Scandinavian design and engineering that weighs less than a pack of gum.

A small pinhole opening on the frontside is the camera lens. A metallic clip at the back allows the device to grip on to most pieces of clothing – shirts, pockets, hats and anything with an edge.

Since there’s no buttons on the device a 4-light LED indicates battery life and a microUSB port (with rubber cover) charges and syncs. The front surface is touch sensitive so you can double tap to force it to take a photo and show battery life. Without a power button, placing the Clip face down or in a totally dark place (like a bag) will put it in sleep mode.

Although you’re suppose to wear a wearable, the Clip can stand vertically on any of its four sides and the user guide actually encourages people to use the camera as a time-lapse tool to capture the clouds outside a window as a neat secondary use for the device.

2014-03-21 02_57_00 +0000

The camera

The Clip automatically takes a photo every 30 seconds (changing the interval is coming in a future firmware update). Needless to say the camera in a lifelogging wearable is pretty important but unfortunately the camera in the Clip leaves a lot to be desired.

The most significant issue is the field of view. At only just 70 degrees, the photos are basically half of what the human eye sees (approx 120 degrees). The camera on Google Glass on the other hand is fantastic with a wide-angle lens (no official FOV but I predict around 100-120).

2014-03-21 04_12_58 +0000

2014-03-21 03_05_05 +0000

One redeeming factor about the camera is the ability to automatically correct the tilt of the photo. Due to the flexible design of the Clip, in a lot of scenarios it will be attached to clothing at an angle and also taking photos at an angle. Of course photos at an angle doesn’t make for stunning pictures.

Thanks to the sensors built-in to the device, each photo has some metadata which the Narrative cloud servers process and make adjustments to the rotation of each photo so it is more consistently levelled with the horizon.

The app

The Clip is actually pretty useless without two companion apps: an uploader on a computer and a viewer on the phone.

narrativeuploader

The uploader program for Windows and OS X allows the Clip to sync its photos to the computer, the cloud or a combination of the two.

The Narrative Cloud is free for all users in the first year (and $9/month after that). Due to the amount and size of the photos you would take day-to-day, the cloud is actually the only reasonable option if you intend to keep all your captures. The Narrative Cloud is also required for the photo post-processing features like tilt-correction, date grouping and location grouping.

Users with slow or limited upload bandwidth are not going to enjoy the fact that you could be uploading gigabytes of photos every few days.

narrativeiphone

The mobile app, available only on iPhone and Android at the moment, provides the ability to view the post-processed and grouped photos stored in the cloud.

The cloud service tries its best to automatically select a number of photos in each group that it thinks are interesting and represent key “moments” of the day. Whilst this trims down browsing hundreds of photos down down to just a handful, the algorithm is a bit hit and miss.

Each moment (trimmed or in full) can also be played back like a time-lapse, but unfortunately there’s no way to export a video or animated GIF of this. You can share individual photos to Facebook, Instagram, Twitter or email.

The experience

Wearing a Narrative Clip is somewhere between a watch like Pebble and a headset like Glass. It’s not as obvious as a display and camera on your head but someone directly infront of you will definitely still notice a little black box around your neck.

Even though I believe the arguments against wearables for its ability to discretely take photos and video are invalid by the fact that video recording glasses and pens are readily available in the market with much more affordable prices and discreteness, however I do recognise that people behave differently if they are aware they are being recorded which changes the dynamics of social gatherings.

For that reason I think the Narrative Clip is actually a worse experience than Google Glass since the Clip is entirely passive. As long as it is worn, it is always recording at a set interval without any interaction or control, until it is put in a bag or placed face down. A device like Glass on the other hand is barely “on/active” and only takes photos on command.

The funny thing is that I actually felt uncomfortable wearing the Clip myself.

Summary

If you’re willing to upload gigabytes of nondescript photos day after day with the anticipation that you might have captured an interesting Kodak moment while out and about, the Narrative Clip is the gadget to check out.

Wearable technologies have come a long way since 2012 and the Narrative Clip is disappointing at $279. Its simple lifelogging functionality only scrapes the surface of what I have come to expect of a device to be worn day-in day-out.

Windows Phone Store: these aren’t the Facebook apps you’re looking for

I don’t know what the hell is going over at the Windows Phone Store, but I believe the following screenshots can encapsulate everything that is wrong with Microsoft’s app strategy and approval process for the Store.

Blatant artwork theft, copyright/trademark infringements and deceptive conduct by “developers” who spam the Store with website-wrapper apps. (A problem Microsoft only itself has to blame for submitting many unauthorised website-wrapper apps themselves on behalf of popular brands.)

The following screenshots are taken on 15th of March 2014 10pm searching for “Facebook” on the Australian Windows Phone Store. The first result with 4-and-a-half stars and over a thousand ratings is not the official Facebook app. From the first to the 49th, they are not the official Facebook app (except the second Messenger app which is official but not the app we’re looking for).

fbpage1

fbpage2

The circled app is the official app. Very obvious right?

The same ridiculous results are also displayed on the phone.

wp_ss_20140315_0001

Thankfully the U.S. Windows Phone Store does not seem to exhibit the same ranking problem for the official app, not to say it’s not full of filth from result three onwards.

I can’t begin to imagine the experience of a customer who just walked out of an Australian mobile phone shop with a new Windows Phone device and goes to try download Facebook from the Store.

I suspect there’s some serious app review manipulations at play here, probably involving bots, that is artificially bumping malicious apps (and possibly demoting the official app).

With all the Microsoft management musical chairs that’s been happening over the past few months, I’m beginning to wonder if anyone is actually still in charge of the Windows Phone Store.

titanfall

[tl;dr] Titanfall on Xbox One: impressions

I must have missed a memo – I don’t understand the hype behind Titanfall. My theory is a combination of: it’s a new franchise in the popular online shooter genre, it’s an exclusive “near-launch” title for Xbox One, it’s developed by a company made up of former Infinity Ward veterans and everybody loves giant mech robots. Did I miss anything else?

Nevertheless, it’s the game that everyone’s buzzing about and so far it’s scored pretty high by critic reviews (86 on Metacritic at the time of writing).

Here are some of my quick impressions. Caveat: I admit to be a reluctant console gamer (I still prefer PC games).

  • It’s pretty much a cross between Battlefield, Halo and Call of Duty. If you played any of those (who hasn’t), you won’t be far from home.
  • Since the entire game is multiplayer-only (even the “campaign”), you’ll get used to waiting in a lobby for teammates or an opposing team.
  • Rounds are short and usually skewed towards one team, so you’ll either feel like a champion or continuously beaten down. A neat consolation prize for the losing team is the race to an evacuation ship at the end of a round which grants bonus points.
  • The controls, maps and characters are simple and straight-forward. Wall-running and double jumps are interesting but doesn’t change the core mechanics of gameplay (lots of shooting and running).
  • The levelling system and unlocks are consistent with most online shooters. New weapons and titans keeps things fresh without throwing the balance out the door.
  • The titans are fun while it lasts: enemy titans always seem invincible, my titans always die easily. You’ll never get of watching a titan drop from the sky.
  • Although it runs pretty smoothly, the graphics are just acceptable for a next-generation game. After all it’s based on the Source engine but you don’t spend a lot of time standing still to enjoy the scenery.
  • The little story you do get from the “campaign” by mission reports and voiceovers is pretty dry and generic space-colony uprising fluff.
  • The network ping/latency for Australian players will be a bit high, but it’s not unplayable (unless you’re a competitive type). It’s rumoured Australian servers will come. EDIT: Australian servers are coming March 14.

In conclusion, if you have an itch for an online shooter on Xbox One, Titanfall is as good as any and you’ll have a lot of fun. Otherwise, I’m not sure it or any other game for that matter could live up to it’s hype.

EDIT: The Titanfall Reviewer’s Guide supplied by EA is a great reading resource to understand the game.