Default locations per country for Maxmind

Maxmind is a cool company that offers location services for a small monthly fee. In addition, they offer a subset of the databases their services use to the public under an Open Source creative commons attribution licenses. If you download and load one of these databases, you’ll be able to do IP to location lookups. Cool stuff!

Geolocation

For Bridal App, the platform for the bridal industry that I’ve been working on, we want to show the visitor those bridal dresses that are actually available in their area. For highly detailed location data (provided by theĀ W3C Geolocation Api) we need to ask the user’s permission, but we can get a rough estimate of where the visitor is based on their IP address so we can start out at least somewhere in the right area.

Continue reading

Picasa doesn’t take no for an answer

Every day (I think in fact, every time my phone connects to Wifi) it asks:

“Gallery requests permission for Picasa Web Albums”

It then only allows two ways of answering this question:

“Cancel”, “Login”

When I press Cancel, the Picasa mob leaves me alone for about a day. Only to repeat this question the next day. And the next…

picasa-doesnt-take-no-for-an-answer

 

My android phone is worse than a broken record

How about adding an option to DENY ?

Or better yet, why not formulate this questions as an actual question?
E.G.

Can Gallery access your Picasa Web Albums??

“NO”, “YES”

Or, even better, why ask this at all?? Instead, create an option “Synch. Gallery with Picasa” and turn it off by default. Then, when I turn it on, then ask me for permission and login details.

I wonder whether the devs at Google that came up with this user interface have children? And how these children ask for an ice cream?

  • “Mommy can I have an ice cream?”
  • “cancel”
  • “Mommy can I have an ice cream?”
  • “cancel”
  • “Mommy can I have an ice cream?”
  • ….

Please fix this Google. I have never used Picasa in my life, but when someone now mentions its name, I see images of Godfather and cut-off horse heads because of the gangster-like way in which it is pressuring me to give it a permission I do not want to give it.

Don’t be evil.

3 reasons to use a CDN

A CDN, or Content Delivery Network can improve your website’s performance while at the same time save you bandwidth. Here’s 3 reasons to use a CDN.

cdn

1: CDNs help to improve caching

The fastest way to get data to a client is by not sending it at all. If the client already has the data in his local cache, we can save ourselves the overhead of a data transfer and the latency that comes with the associated request / response cycle.

Continue reading

Introducing MemoryStorage

Web Storage API

web-storage
HTML5 gave us this beautiful thing: consistent cross-browser local storage of ‘vast amounts’ of data on the visitor’s computer in the form of the Web Storage API. The default quota is 5MB, which is huge compared to cookies. I’m using it in the development of Bridal App. It allows the app to respond near-instant to user actions and continue to function even when offline. All modern browsers support it (on desktop as well as on mobile) so life is great. Right?

Continue reading

Mozilla, get your priorities straight

For some years now I’ve had the feeling that Firefox’ development has been going in the wrong direction. The software just never seemed to get back to the speedy experience we had with Firefox 2.

firefox-logo

Another project I have had this feeling with is Eclipse.

It turns out that both these projects share a commonality: long, standing, unresolved issues to core functionality.

bug

Have a look at this Firefox issue:

Bug 195361 – Can’t select text from disabled form fields
Continue reading