Random Frustrations

If only it was that easy

Subscribe to RSS feed

a word to the 'why's: sarchasm

, ,

Why do Google have to keep breaking manipulating improving their services? I can understand consolidating everything under one EULA lack of privacy policy for consistency. However, considering the global reach of the US Federal Authorities, this is all the more worrying for us aliens terrorists non-Merkins... especially since the United States' Department of Justice neither admit nor deny any Google/NSA conspiracy partnership. If we don't wish to have Google, and by extension the NSA, CIA, FBI, MPAA, RIAA, and FOX (to name but a few), spying on us, what can we, the frustrated minority, do to protect our genetalia privacy?

Read more...

extensions' file i/o by any other name

, ,

It can be frustrating that not all features available to widgets are allowed to work in extensions. And for someone as clueless as me, it's also frustrating trying to find the relevant documentation; some of it is out of date and links to a generic holding page for articles that have been moved to github, and the most useful docs are buried in an article system that is at best overcrowded. Thankfully, there is now a sticky in the extensions forum that points directly to the latest documentation and, of course, there are links in the drop-down menus on most dev-related pages. So, now that I know that the file i/o api isn't available for extensions, is there a way around it? Well, depending on what access we need, it turns out that there is.

Read more...

what's in a namespace?

, , , ...

Namespace: the final frontier. These are the vagaries of the JavaScript enterprise. Just as trite and as clichéd as the many, many arguments for and against JavaScript, so it would appear that there are just as many ways to encapsulate everything we want into a namespace. Especially for us clueless idiots who just want to find a bit of code that works, that can be used for a simple project. Using an extensible namespace would seem to me to be ideal to create a simple module to interact with a Web SQL database. We're told that polluting the namespace is bad[1], so why are they so seldom used in dev articles?

Read more...

canvas same origin security violation work-around

, , ,

Every now and then I try to do something incredibly stupid. Usually I want to save a bit of time, but invariably spend days/weeks/months wondering why. Something stupid like automatically saving certain images in a Web SQL database and extracting them later. Anything other than right-clicking on the image and Save image... (which is broken in Turbo mode), or copying the image from cache, or any other simple solution. I've already built up a nice little database but, as the relevant thumbnail images come from different servers, I was stuck. After all, with Opera extensions, it's a simple matter to over-ride the same-origin policy, and make use of the canvas element, right?

Read more...

May 2013
M T W T F S S
April 2013June 2013
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31