HNHacker News
TopNewBestAskShowJobs

fredrik-j

62 karma · joined September 30, 2015

I'm a curious software engineer.
submissionscomments
fredrik-j··on People in Sweden are hiding cash in their microwaves
Yes, there is a push towards cashless in Sweden. Though we're still very far away from going fully cashless in general. The central bank are actually releasing new denominations of coins and notes this autumn, so we'll have cash around for the foreseeable future.

As mentioned public transportation is one area where cash is commonly not accepted any more. Banks obviously encourage card payments over cash and have also been reducing the number of their own offices that handle cash. On the other hand most grocery stores in Sweden allows you to withdraw cash when you shop and charge your card. If you need cash that's the most convenient way to get it.

Entirely cashless stores are quite rare. Maybe it is a bit more common in some big city locations, where the loss of the very few customers who cannot pay by card doesn't matter - simply because the vast majority already pays with cards.

On a personal level I prefer card payments and it can easily pass weeks between the very rare cases where I have to use cash.

That said, I would really not like a cashless society if that means I cannot have any mean of traceless transactions. I want to be able to hand over money to people I don't know or necessarily trust beyond a superficial level, without having to account for it later.

As for cash in the microwave oven... Well, duh, where else would you keep them? :)

fredrik-j··on Support for 100MB APKs on Google Play
Expansion files do support a so called patch version[0] - which may sound like a delta but it isn't. The job of creating a patch and merging it with the main expansion file is placed on the app developer. Additionally there can only be one patch to each main extension file. There is not a new delta generated for each new version of the expansion file.

I'm not at all surprised if most developers just ignores the patch option all together and just re-uploads a new main expansion file every time any content has changed.

Besides, while seemingly well documented[0], IME expansion files requires quite a lot of undocumented magic. Including patching Google's own source code. Code that they recommend that you vendor into the app rather than include as a library.

Further the user experience is less than stellar. On many devices the expansion is only downloaded after the app is started the first time. So the app needs to work even while the file is missing, and at that time manually request that the system retrieves the file.

BTW, did anyone notice the fine print of this announcement? Only devices with Android 4.0 or newer supports 100 MB apk:s. If your app supports 2.3 - i.e. some 70 million Android users - you're stuck at 50 MB and will have to keep using expansion files to serve those users.

[0] https://developer.android.com/google/play/expansion-files.ht...

← PreviousPage 2 of 2