CMYK thumbnailing of JPEGs with Gmail/Google Mail

I peri­od­i­cally freak out when review­ing emails that I’ve sent, par­tic­u­larly to print­ers, using Gmail’s (hosted apps) web­mail inter­face. It has this habit of con­vert­ing CMYK JPGs to RGB thumb­nails really badly — but with­out appar­ent corruption.

Gmail getting CMYK thumbnails wrong

The blue in the image above is actu­ally a deep red!

Accord­ingly, while the colours are totally out of whack, there are no other arti­facts in the image. Nor­mally this just looks weird — some­times, in the case of logo vari­ants, it looks plau­si­ble but utterly incor­rect! My guess is they’re using an older ver­sion of PIL (we all know how much Google loves Python) prior to this March 2009 patch. Sounds like the same phenomenon.

Still, those peo­ple email­ing CMYK JPGs has to be a lit­tle bit niche, so I’m not heaps hope­ful of this get­ting fixed too soon! The main rea­son I care is because web inter­faces are so much faster than retriev­ing large attach­ments from IMAP stores.

# by Josh on September 16th, 2009 Tags: , , , , , , , , , , ,
| No Comments »

Google’s Website Optimiser

I’ve been hav­ing a play with this ser­vice tonight. This stuff is ines­timably pow­er­ful, but strangely sim­ple — for the A-B test­ing at least it’d be pretty triv­ial to roll your own. The Google Web­site Opti­miser blog is worth a gan­der if you’re new to this stuff.

Not an outage

Google.cn search queries for May 19th at 2:27pm took a bit of a hit, as follows:

Three min­utes of national mourn­ing for earth­quake vic­tims. Taken seri­ously and mov­ing in a way that is a lit­tle dif­fi­cult to imag­ine an ana­logue for in Aus­tralia — tongue-in-cheek about re:cessation of Google-ing… but intended as a broader com­ment on national dis­plays of stuff in all seri­ous­ness. Per­haps unfair as Aus­tralia hasn’t really had any dis­as­ter of this mag­ni­tude in recent times, I know.

Every­one was out­side as traf­fic stopped to remem­ber and share in the grief of mil­lions. Some things are more impor­tant than search.

[Google post via]

Shocking Google Ads

I saw the most ridicu­lous Google text ad yet today:

“Shock­ing Piano Lessons — Piano Teach­ers Want us Banned Con­tro­ver­sial Site Exposes All”

It was one of those zero-relevance Gmail index page ads, which can be a bit quirky… even so. Seri­ously bizarre.

# by Josh on May 2nd, 2007 Tags:
| No Comments »

OpenID again

I’ve men­tioned OpenID here and here before (the first only in pass­ing), in the con­text of frag­ment­ing social net­works and Live­Jour­nal. By the way, check out the sec­ond of those posts… for meta-writing/meta-blogging, it’s (IMO) sur­pris­ingly good! I was pleased.

Any­way — OpenID is still around 10 months later (though the spec was last updated around the time I last wrote on the mat­ter), WordPress.com have announced they are now an IdP for it, and it seems every­one wants to be a provider, not a con­sumer (in OID spec par­lance, con­sumer means the web­site request­ing ver­i­fi­ca­tion of an Iden­tity — “end user” is the term given to an actual human user).

In fact, Ma.gnolia.com is the only OpenID con­sum­ing site of con­se­quence that I’ve encoun­tered thus far in my trav­els. Which is, to say the least, slightly perplexing.

I’m aware the whole point of OpenID is that it’s a vastly decen­tralised spec that enables myr­iad providers to exist, but it seems some­what redun­dant (in the sense in which that means “point­less, with­out pur­pose”, not failover-type redun­dancy) if there does not exist a sin­gle con­sumer of consequence!

And, let’s face it, why should being a con­sumer be attrac­tive? You know less about your cus­tomers, they can bail on you more quickly, and… all of a sud­den, adver­tis­ing is the only way of mon­etis­ing a web­site. Jan­Rain oper­ate “MyOpenID: Your first (and last) iden­tity provider”, as well as a cou­ple of ser­vices that use OpenID, and have (to my eyes, at least) no con­ceiv­able way of gen­er­at­ing rev­enue at present.

Which is poten­tially fine, but com­pletely stu­pid if that’s hap­pen­ing on a wider scale. As a con­cept, OpenID has much to offer — I just wouldn’t use it in CYIADA. I might con­sider it for smaller projects (com­mer­cial clients), but, really, I think it’d have a bet­ter chance if Myspace were an OpenID provider. And we all know what they’re like when it comes to web stan­dards (and gen­eral usabil­ity issues)!

Plus, of course, there’s the issue of the pop­u­lar­ity of up-stream providers if you want to ver­ify against some­thing other than OpenID (like, for exam­ple, someone’s Google account — which you can do quite eas­ily using var­i­ous API tools they pro­vide). With any­thing youth tar­geted, there’s a spe­cial impe­tus that we don’t really see in other places. I read this absolutely hilar­i­ous com­ment on a great analy­sis of an arti­cle about Myspace:

It’s easy to imag­ine teenagers as a pack of wilde­beests on a grassy plain, sim­ply run­ning with wild abandon.

Why yes, yes it is. They’re not (arti­cle has more on this), but the bot­tom line is if you’re using exter­nal ver­i­fi­ca­tion ser­vices, you’re depen­dent on the exis­tence and longevity of these ser­vices for the exis­tence and longevity of your ser­vices, not the least in user pro­fil­ing and build­ing up mean­ing­ful mar­ket data so you can adjust your mix to a known audience.

OpenID feels like a won­der­ful tech­nol­ogy in a chicken-egg sit­u­a­tion. It’s still just too bloody geeky for your aver­age LJ user to get on board with. And they’ve got it easy. For any­one else, it’s com­pletely impossible.

Here in Syd­ney, we could prob­a­bly get away set­ting up ver­i­fi­ca­tion against Win­dows Live sim­ply because that’s what peo­ple use here, as I have noted before (about halfway down the post linked). But devel­op­ing dif­fer­ent autho­ri­sa­tion schemes as a mat­ter of local­i­sa­tion is most def­i­nitely not in my book of best prac­tices (if I were ever to write one :P) — so, instead, frag­mented Inter­net iden­ti­ties persist.

That bugs me.

If you have any answers or thoughts… let me know. Blog about it and send a pingback/trackback. That’s one of the few open stan­dards that’s worked well on the web, albeit with plenty of spam abuse, but there’s of course the prob­lem that not enough peo­ple are socially blog­ging aside from soft­ware devel­op­ers and design geeks and… what­ever cat­e­gory I fit into (“web strate­gist” is still what I’m call­ing myself… we’ll see how much longer that sticks) — so, of course, there’s no instinct to reply in this manner.

In the same way, devel­oper and busi­ness instinct is to build your own authen­ti­ca­tion and pro­fil­ing plat­form. Is it worth resisting?

Google Sitemaps–

I’ve had to dis­able Google Sitemaps for this site in a bid to stop post and com­ment form sub­mis­sions result­ing in a blank page. Prob­a­bly gonna negate a bit of the Google Love but that’s okay, the blank pages have been dri­ving me batty! Word­Press plu­gin Google Sitemaps basi­cally uses too much mem­ory (I think… PHP error report­ing isn’t turned on on this server so I can’t be 100% sure)… last time it suc­ceeded it wrote a 3MB file I think. Could also be a gzip related issue but I doubt it (gzip works fine for other things IIRC).

So enjoy com­ment­ing again with­out a hor­ri­bly blank screen greet­ing you!

# by Josh on March 2nd, 2007 Tags: ,
| 3 Comments »

Dead trees for a good cause

I just printed 400 pages for a sur­vey I get to do tomor­row after­noon. I was think­ing about tak­ing it to church and get­ting opin­ions from the same kinds of peo­ple there (it’s a sur­vey for CYIADA for youth lead­ers), but then realised it was pretty much use­less with them because I already knew every­thing they had to say. So it’s more of a sur­vey for really basic aggre­gate num­ber stuff, not in-depth things I couldn’t fig­ure out on my own.

Which, I’ve decided, is fine, because I’ve got a web and email address on the piece of paper, and for the num­ber of con­tacts this so-called “sur­vey” seeds I’m pray­ing it’ll be com­pletely worth it, even if no-one both­ers fill­ing in the sur­vey prop­erly. Really, $40 (or how­ever much actual cost per page is here) is pretty good if I only get 10 qual­ity leads on peo­ple who are desparately keen to use some­thing like this… and can wait a few months.

I men­tion that as trou­ble appears to be brew­ing on the home front re: the wait­ing part… :| Peo­ple are enthu­si­as­tic but in a “let’s grab a generic CMS and mix it up with Blog­ger and Google Groups and it’ll rock” kind of way. Which is fine for all of about six months, then you’ve gotta do it all over again because 1 of 3 stops work­ing for what­ever rea­son. And scal­a­bil­ity issues. Grr… any­way. I thought we’d been through all this already with our abortive Yahoo! Cal­en­dar attempts of 18 months ago. Appar­ently not.

So… please be pray­ing for wis­dom and patience around that par­tic­u­lar issue. And espe­cially that I’d be lov­ing, because right now I’m in a posi­tion where I could clob­ber peo­ple with tech­ni­cal ram­blings until they agree with me (read: relent), or sim­ply go and change it as I think it should be… but doing either of those things is obvi­ously unpro­duc­tive. Again, prayer for wis­dom is very welcome!

Prayer is also sought for tomor­row — for the Youth for Christ pro­gramme run­ning at St Andrews all day, and then for me at the Con­nect­ing in a world of change con­fer­ence as I present in my lit­tle 2.20 to 2.30 times­lot. Which is plenty of time for a geek like me — I actu­ally do enjoy pub­lic speak­ing, but that doesn’t mean I’m much good at it!

I’ve also got to get a site up for CYIADA, because I decided that if I stuck it on print mate­ri­als and did 130 copies of it, then the poten­tial for embar­ras­ment should be suf­fi­cient moti­va­tor to make me move quickly! Hehe. Really must get one of the IT guys here to setup host­ing first thing tomor­row… I fig­ure it’s okay if it’s not work­ing straight away, because I can say it’s just been put up and there’ll be some­thing there in the next cou­ple of days.

In other domain-related news I also picked up josh.st. So you should be able to get to this site via that funky URL in a few hours once DNS pushes through (the name­servers have switched, finally — .st’s NIC took for­ever with that — but obvi­ously it’s still got to prop­a­gate). I know I’m always say­ing this but there’s a new design on its way. I’ve got three sites in the works at the minute, so if it doesn’t come in a hurry don’t be too sur­prised. I doubt any­one is any­more, though!

# by Josh on December 3rd, 2006 Tags: , ,
| 3 Comments »