Via Gruber:
Fantastic — freeware Quick Look preview generator by Robert Rezabek that works with a slew of archive formats, including zip, gzip, and bzip. Works great.
QuickLook is a really fabulous part of Leopard. I mean it's totally simple and understated: press space to see the contents of the file without loading any app. But it's just so handy.
The BetterZip QuickLook generator is brilliant because it makes it easy to peek into tars, zips, and all those kinds of pesky compressed formats.
John Howard quotes a Facebook exec:
Q. But some people are asking for a single opt-out.
A. "One of the things we try to do is listen to feedback as much as possible. Just to give you where a lot of this feedback is coming from, it’s coming more from the press than specific users," he said. "Right now, the right thing to do is to make sure we speak to actual users, not the pundits."
And of course you can talk to Facebook like I did and, in response to you enquiries about opt-in they will tell you (very politely of course) to go fuck yourself. They say they are interested in the feedback of their users. Did they ask any? I mean why would any right thinking user prefer to a selective opt-in to having their data captured from god knows where? Be sensible you whining privacy freaks.
Okay let me translate for the author of those words, Mr. Palihapitiya (VP of product marketing and operations) at Facebook who has clearly been in marketing too long:
Q. But some people are asking for a single opt-out.
A. "Our business model requires exploiting the cattlevalued members as fast as we possibly can and an opt-in strategy would screw that up wouldn't it? Users? La la la we can't hear you."
If the backlash grows (I read that some of the early partners like Coke are now backpedalling on the opt-out) maybe Facebook will be forced to grudgingly back, probably claim "Oh we always planned to offer an opt-in. This was just an experiment." But I predict they won't give up easy.
If they put their hands up, admit they got it wrong, and suspend Beacon back until they can rethink it then I might consider rejoining Facebook. Under no other terms that I can think of though.
So in the 2.0 Preview Release notes DHH talks about exactly what I want to do:
Speaking of the iPhone, we’ve made it easier to declare “fake” types that are only used for internal routing. Like when you want a special HTML interface just for an iPhone. All it takes is something like this:
I want lots of different interfaces and the whole "adding multiple view_paths" thing wasn't working out so this seemed to be the way to go.
I spent a very frustrating morning with this example:
# should go in config/initializers/mime_types.rb
Mime.register_alias "text/html", :iphone
class ApplicationController < ActionController::Base
before_filter :adjust_format_for_iphone
private
def adjust_format_for_iphone
if request.env["HTTP_USER_AGENT"] && request.env["HTTP_USER_AGENT"][/(iPhone|iPod)/]
request.format = :iphone
end
end
end
class PostsController < ApplicationController
def index
respond_to do |format|
format.html # renders index.html.erb
format.iphone # renders index.iphone.erb
end
end
end
Getting the wrong behavior. Depending on how I fiddled with it I would either get 406 "Not Accepted" errors or I would get the right template rendered first time but, after that, it would always select (for example) the iPhone template and never the default template.
The answer turned out to be very simple:
request.format = :iphone
became:
require.format = "iphone"
That was all it took. That one change made it work.
Update: Well checking with DHH his tests seemed to indicate that it shouldn't make any difference if you use a symbol or a string. I tried changing it back to a symbol in my own code and... it worked. Puzzling. Something was interfering with it, but it could be hard now to work out what.
Okay, so, let's deconstruct this. RockYou makes money by advertising your Facebook app on Facebook, getting your app a bunch of installs. If this is the Facebook app business model, then what you are supposed to do is get enough users such that you can start selling services similar to RockYou. Fuck, this is a pyramid scheme. Getting users for your app can only make you money by virtue of helping other apps get a bunch of users. There is no money input into this system except venture capital.
Uncov on Facebook apps.
Perhaps I am not the anti-Stowe after all since I caught him quoting Paul Theroux thusly:
Theroux is also dead on about the cold, leaden comfort of solitude and how it's dead weight can act as a pendulum, turning our gears as writers, or artists:
[...] it is discovery not diversion that I seek. What is required is the lucidity of loneliness to capture that vision which, however banal, seems in my private mood to be special and worthy of interest.
Being with people so much, up close, intimately: it's like playing in the waves at the beach. It's exhilarating, but quickly tires you, and then you are on the beach, panting with purplish lips, waiting for the stillness and the distant sun to warm your bones again.
I'd always thought of myself as the anti-Stowe since, despite the convergence of our interests, he can be so much more extrovert than I am. To a level I find it painful to contemplate. But this is another side of him in which he he neatly sums up one of the key difficulties of my life:
That no matter how much I enjoy the company of others I find it a drain on some part of my psyche that I do not pretend to understand. And that my solitude is not an enclosure, so much as a space in which I can both recover and explore.
Via Marc Canter I read Fred Wilson talking about how he has (seemingly overnight) become an Apple hater:
My brand image of Apple these days is fear and loathing. I am afraid to upgrade to a new version of iTunes because it might make my music and video unusable or it might brick my iPhone. I am afraid to upgrade to Leopard because it might brick my MacBook.
I fear Apple and I hate them. As much as Microsoft. Who I've hated for years.
The final straw for him seemed to be about how he couldn't jailbreak his iPhone (although Jailbreaks for 1.1.2 iPhones and iTouch's do seem to be available. I haven't bothered with my iPod Touch ).
A couple of things puzzle me about his attitude.
The first is that he seems to have an awful lot of equipment from a company he avows such hatred of. I mean, I dislike Microsoft but I'm not going anywhere near Vista. Why is Fred trying to upgrade to Leopard at all?
The second is that his hatred seems, from where I stand, to be a little irrational. He lumps Apple in with Microsoft. Yet Microsoft are convicted for anti-trust criminals (and that was just the tip of the iceberg).
He complains about his iPhone but he bought it knowing full-well that Apple had a lock-in deal with AT&T that they would have to go to some lengths to protect. He complains about Leopard bricking his MacBook but does he think that's part of some dastardly plot on Apples part? If not, well it's unfortunately, but it's not like Apple would be the first company to experience upgrade problems.
I think Apple can be pretty slow to respond to problems consumers have. Well known rubyist David Black has been having problems with his MacBook for ages and it seems pretty deplorable to me the way he's been treated by his local Apple Store. There was the heat and whining problems with early Intel macs that, again, Apple were slow to get on top of.
But I'm struggling to reach hatred about any of this. It might argue that you shouldn't buy particular products, or should wait until they've had a rev or two to work out initial problems. Or that you should get AppleCare Pro so that Apple want to be nice to you, or something.
My iPod Touch is happily playing a lot of music and video and none of it comes from the iTunes music store, but I do check for DRM free stuff now and I'm sure I will soon be a customer. My MacBookPro is happily running Leopard and has no annoying activation or licensing issues. I look forward to being able to install 3rd party software on my iPod Touch without hassle, hopefully in February but... I'd still love it even if I could never install 3rd party software.
Thank god there are governments in other parts of the world that are willing to stand up for the rights of the consumer.
What? Telco's are the some of the biggest government lobbyist's around. I'm not sure it's Apple fault that phone & contract bundling is so prevalent. Is his problem with Apple bundling at all? Or the exclusivity with AT&T?
In the former case he should point to all those other successful phones that didn't get bundled with a telco contract like...
If it's about exclusivity then I'd agree it's regrettable: I probably wouldn't want a contract from AT&T in the states any more than I'd want one from O2 here. But that's my irrationality since I've no evidence why O2 are worse than T-mobile, my current provider. T-mobile have, so far, been good but it took Orange a long time to piss me off so T-mobile are still on double-secret probation as far as I'm concerned.
But here is the irrationality again:
Instead of forcing Verizon to open up like Google does
So Google are some kind of panacea of openness? It's interesting because the way I read the article he refers to is that Google are using their power to force others to be open while they, themselves, remain one of the most tight-lipped, plotting, secretive organizations around.
They are exploiting their power & position to weaken future competitors and enact their own strategies for dominance. It would be as well to remember that "Don't be evil" as a mantra is now firmly a part of the Google myth not the Google reality.
Google are long-term plays into the communications space but look at how they play in the search space to see how they will play in the telco space if they ever become dominant. There is no altruism here and I'm surprised Fred appears blind to that.
I think it would have been perfectly reasonable for Fred to say that he didn't care for Apple or how they do business. I'd have some room to agree with him. Different companies make different trade-offs in their quest for profit. Apple, Microsoft, Google. They'd all run you over for a buck if nobody was looking. At least Apple would make the experience stylish enough that you'd want to try it again.
I'm having a hard time seeing this as anything other than a rant. Not that there's anything wrong with having a rant on your own blog I guess (yes okay I am a hypocrite).