Dev @ MacBlogs.org
Last updated: July 04, 2009 07:03 PM

July 04, 2009

Inessential

brentsdevdiary on Twitter

brentsdevdiary avatarI’m trying an experiment — I’ve started brentsdevdiary on Twitter, where I narrate my work. It actually answers Twitter’s question: “What are you doing?”

But be warned — it’s entirely possible that it’s extremely boring. It’s also possible I won’t keep up with it.

But so far so good. To make this work I actually run a Twitter client on my development machine, so it’s super-easy to post a couple sentences now and then (I don’t even have to turn my chair to my laptop).

I like doing it. It feels pretty natural, as if I’ve been doing it a long time. (Years ago I was an early user of Instant Outliner, which was like a Twitter dev diary. Credit goes to Dave Winer for this and so much else.)

Note that, if I keep up with this, there will be times when, for any one of various reasons, I won’t be able to disclose what I’m working on, or I’ll have to talk in very general terms. You understand, I hope.

Possible benefits

I’ve always loved working in public as much as possible. I don’t mean working in cafés — I mean the internet public. I’m enough of an exhibitionist (I confess!) to like the idea of programming as performance.

But lately I’ve been super-busy and have had little time for blogging.

I love being engaged with the people who use my software, and this is a great way to do that. Twitter is two-way, after all. (I also have private mailing lists for beta testers, which are hugely important to my development process.)

There are a few other things that interest me about this…

Seattle skyline

How silence is perceived

When I’m very quiet — little to no blogging, nothing work-related on my main Twitter account — people start to think that my software is going away. “He’s been so quiet, he must not be working on it anymore.”

There’s no logic to it, but it’s a very human reaction and I understand it. But of course the opposite is usually the truth. Quiet just means busy.

So I think this is a way to not be quiet, since updates are so easy, since I can do them as I work without interrupting my flow or taking much time.

Ultimate Mac Programming Book

How software is made

I’ve long been interested in trying to give a sense to non-programmers how software is made. We all use and rely on a ton of software, but, if you’re not a developer, it probably seems more like magic than it should.

Our reliance on softare will only grow, and a basic understanding of what goes into making software should be part of every adult’s mental toolchain. It’s good citizenship in the digital age.

How an experienced developer works

I’ve written before in Advice for indies that you “have to sit in the chair and stay seated. And sleep and come back to the chair. You need to wear out that chair and then buy a new one and then wear out that one.”

I can say that, but there’s nothing like actually showing that.

About the avatar

It’s a picture of my cat Papa in my office chair, lit by the office skylight. Sometimes you have to give up the chair to the cat. Especially since he’s so cute and he loves the sun.

Other dev diaries

I’d love to see more dev diaries. If you do one, do an @brentsdevdiary with the account name so I can see it. Thanks!

by Brent Simmons at July 04, 2009 05:26 PM | Bookmark with del.icio.us

Scripting News

Just the facts ma'am

On Twitter I just said I like the Perry White approach to news.

Of course I meant Joe Friday of Dragnet.



A witness would be gabbing opinions about stuff. Friday would humor her a bit and then the camera would focus on him with his notebook and he would say his famous line.

"Just the facts, ma'am."



July 04, 2009 02:09 PM | Bookmark with del.icio.us

Is it news if it's not reported?

A picture named mwom.gifA piece I wrote from Berlin has become one of the most-quoted pieces I've ever written. Maybe I should travel more often. Getting out of the country, writing while America sleeps, 120-degrees of jetlag, all seem good for whacking quotable phrases out of my brain.

Yesterday Jeff Jarvis quoted a line from that piece. "The sources never got paid. So the news was always free, it was the reporting of it that cost."

Which inspired a thread by two-time Pulitzer winner Howard Weaver, who I visited by train in Sacramento in June. In that thread Weaver said something that I couldn't respond to in a mere 140 characters. It was that good.

Weaver: "Is it news if it's not reported? I don't think so."

Weaver is the perfect foil because he says things like that. He's not wrong, given his background, where he spent his youth, his level of accomplishment, his justifiable pride, he has to think that.

And equally, given all my experience, I have to think the other way.

I blogged because there was news the press wasn't reporting.

4/5/97: "The press only knows three stories, Apple is dead, Microsoft is evil, and Java is the future."

I understand this is a semantic debate. Weaver chooses to define news as what was reported. I choose to see news everywhere, that it exists before it is reported, that reporting isn't even a necessary part of the news. I see his view as the means by which the press controlled us, but that control is slipping.

An example of the futility.

I was shocked for about 20 seconds to hear that Sarah Palin had resigned as Alaska governor. It was news the instant she made the announcement. I had to rush out to a lunch meeting at the Jupiter in downtown Berkeley. When I got back, it slipped my mind that there was a "breaking story" I could watch on CNN. I noticed some bloggers talking about it. I thought to tune in for about 5 seconds, even got so far as locating the SlingPlayer icon on my desktop. But before I could click, I was already bored.

At least for me, the reporters are as irrelevant as paper delivery of the NYT, WSJ and SJM had become in 1994. I know what they're going to say before they say it. I also don't feel their ability to set an agenda anymore. The only reason Palin has any viability is that the press remembers who she is. For me, and I'd bet a huge chunk of the electorate, she's a fading memory of an election we've put way behind us as we've turned to face our futures. For me the last election was only important in that it got Bush and the Republicans out. Having accomplished that, I don't care what the press thinks is news. I decide that for myself now.

I guess that's the point I'd like to make in response to Howard's excellent quote. I decide what's news. I don't delegate that. Maybe others want to accept the filter of the press, that's their right. But I don't care what they think is news. It's not that I decided not to care, it's that I truly don't care.

PS: To be clear, I do care what Weaver thinks is news. Perhaps that's the subject of another piece, or perhaps something to talk about on Monday's RTN.

Update: Jeff Jarvis advances the discussion.

July 04, 2009 11:33 AM | Bookmark with del.icio.us

July 03, 2009

Michael Tsai

class-dump 3.2

Steve Nygard (via Tim Wood):

This release includes support for Objective-C 2.0 on both 32 bit (iPhone) and 64 bit (Mac OS X). It shows class properties and handles all documented property attributes. Unrecognized property attributes are noted in a comment following the property declaration. class-dump also shows optional protocol methods. The Objective-C garbage collection status of each file is included in the output, as either “Unsupported”, “Supported”, or “Required”.

by Michael Tsai at July 03, 2009 05:00 PM | Bookmark with del.icio.us

Scripting News

A link back to the beginning

I just did a quick read of an academic paper about Jorn Barger's contribution to the development of blogging written by Rudolf Ammann, and presented at Hypertext 09 in Torino, Italy.

I really liked the paper, and I plan to go through the it and read all the citations. A trip down memory lane.

One thing I liked about this treatment is that it is dispassionate. He doesn't take sides and lets our words speak for us. For both Barger and myself, linkrot has not claimed our work -- it's all still there, many many years later.

It was also gratifying to see the Frontier community get the credit it deserves in laying the foundation for the blogging world that followed, including (in no special order) Michael Sippey, Peter Prodoehl, Steve Bogart, Brent Simmons, Daniel Berlinger, Andy J. Williams, Chris Gulker, Cameron Barrett and Jorn Barger. There were so many others, I'm sure I'm leaving people out who I both appreciate and have great affection for.

Ammann credits Barger specially, as do many others. For me, all these people made important contributions.

BTW, the software we were using then is an ancient predecessor of the OPML Editor, which is still, in many ways, light years ahead of any other content management environment. Perhaps that will be the next thing people dig up. It's GPL-licensed open source.

Back then I said, and still say now..

Still diggin!

PS: I'll keep saying it until I'm not diggin anymore. smile

PPS: Docs on the NewsPage suite, the software that defined the community.

PPPS: I found a copy of Frontier 4.2.3 on my hard drive, and uploaded it. This was the April 1997 release. I also found a copy of the NewsPage suite, which is the lizard brain of everything that followed in the blogging world. I may release it so that every copy of the OPML Editor has this bit of history, so it never gets lost, fingers crossed, Murphy-willing, IANAL, my mother loves me, etc.

July 03, 2009 04:38 PM | Bookmark with del.icio.us

New features in FF and Twitter

A picture named mirror.gifYesterday while my poor addled brain struggled to cope with jetlag, Twitter released a small feature with potentially wide implication, and FriendFeed released something new related to search that I thought they had already released. I don't think my confusion in the latter case had anything to do with jetlag.

New Twitter feature: It now hots-up hashtags.

So when you refer to #iranelection in a tweet it links to a search page with the results of a search for that string in the twitstream. I've hotted it up the way Twitter would have. Nice to have for sure, seems it should have always worked that way. They probably didn't do it earlier to lessen the load on the search servers.

And FriendFeed now has real-time search. Maybe the feature is totally new. It seems I've seen it before. But I still don't get it. Let me try to explain.

FF has a lot of stuff flowing through it, including part of the Twitter firehose. I think they just get the tweets of Twitter users who are followed on FF. So if I have it search for "davewiner" it returns a subset of all the occurences of my Twitter handle. Steve Gillmor says that they've now got his much-fabled feature -- Track -- implemented. How so? Unless they're getting the whole firehose from Twitter.

http://friendfeed.com/search?q=kitten+or+cat

It's nice that they track sources other than Twitter, like this blog's RSS feed. But apparently they don't poll very often, and they don't support weblogs.com-compatible pings (I know they invented a more complicated protocol, why am I not excited about that) so you can hardly call that "real-time." (BTW, this item first appeared in the feed at 7:52AM. It showed in FF at 8:28AM.)

A picture named mirror.gifAll this hype about real-time is welcome (but hardly new). The ideal of having search be up-to-the-minute accurate is an important one. It's just that no one is there yet. And 140-char tweets all repeating the same thing over and over and then retweeting those same things, well that hardly counts as information. After a while it's more interesting to watch Wolf Blitzer. And that's really saying something. smile

So, while I'm glad that FF is reaching out beyond Twitter, their interface is impossible to use. Sit someone down off the street and have them try to watch the flow of tweets and comments rush by. No doubt FF's interface would make an impressive display for a mad genius in a scifi movie about the end of the world, but for more ordinary folk? Back to the drawing board.

BTW, talking about new features that should be sent back to the labs -- Microsoft announced that they are including results from selected Twitter users. The relevance criteria is follower count. Might have worked last year, before the SUL, but now follower count is more a reflection of how much you are pwned by Ev and Biz, not how the net values your opinion. I'm sure Larry and Sergey are having a good laugh. Try again Microsoft. Use some other algorithm, follower count is meaningless.

July 03, 2009 02:25 PM | Bookmark with del.icio.us

Sometimes it's better to say nothing

I've started to write blog posts three times today and gave up each of the three times because...

It's impossible to write coherently when your mind is scrambled by jetlag!

It's hard for me to finish a sentence coherently or even remember if I've used the word coherenent, or even spell it right, or finish the sentence without getting hung up if coherent is actually the right word to use, and where did it come from and why is that the word I thought to use anyway.

This post was going somewhere.

I thought I had discovered the algorithm for fighting jetlag in both directions.

A picture named jello.gifFlying west to east, time your arrival so that it's bedtime locally when you arrive so you can go to bed and when you wake it will be the proper time to wake for the place you're in. Fine, as far as it goes, but... It doesn't mean your body thinks it should be asleep at what it perceives to be two in the afternoon.

Coming home, arrive at 1AM and schedule something for 9AM so you have to get by with 8 hours sleep at roughly the time everyone else sleeps. No problem waking up at 4AM! (First sign of a problem.) Then when I return at noon I figure I'll just catch up on a couple hours but I can't fall asleep. (Maybe it's working!) Now as the time for the podcast arrives I realize my mind is complete Jell-o. I've tried to write three blog posts today, easy ones, and given up each time. And now I'm at the beginning of the piece again. Looping.

All this led me to post this tweet earlier today.

Good advice. smile

July 03, 2009 01:30 AM | Bookmark with del.icio.us

Michael Tsai

July 02, 2009

Ranchero

Jerky email sent to Marco

Marco Arment: “Most of the emails I get are very nice, but occasionally one slips through that makes me question what, exactly, convinced someone that writing and sending it would be productive.”

Love that “if you want to be a bitch” part. That’s what gets developers up in the morning — the idea that today might be the day that someone finally credits us with being the bitches we try so hard to be. Sure.

July 02, 2009 10:20 PM | Bookmark with del.icio.us

Getting Pretty Lonely

Daniel Jalkut suggests “that the GPL does more to harm collaborative development than it does to help it.”

Daniel is brave.

July 02, 2009 06:33 PM | Bookmark with del.icio.us

Michael Tsai

How to Cram the Wikipedia onto an 8GB iPhone

Patrick Collison:

I mean when I first went to submit it to the store I had done quite a bit of work getting it down to just marginally under two gigabytes, because two gigabytes was Apple’s stated limit. But it actually turned out that Apple’s infrastructure and their software was not able to handle two gigabyte applications or anything even close to it. I don’t know, but a couple hundred megabytes was the cutoff. That three-month approval process included them having to fix bugs and me having to change how the application worked and all the rest just so I could physically get it into the store. And so the way it actually works today is the application itself is extremely small. I mean just a couple of hundred K. And then you download the application. And then when you first run it, it includes its own sort of embedded downloader thing that allows you to download the Wikipedia from within the application. And it allows you to pause and resume the download and all of the rest. So this actually ended up being the only reliable way of making the download work.

by Michael Tsai at July 02, 2009 04:37 PM | Bookmark with del.icio.us

Modes, Quasimodes and the iPhone

Lukas Mathis:

Quasimodes require the user to do several things at the same time, such as holding down the Shift key while typing. Modes, on the other hand, allow users to do things sequentially - hit Caps Lock, type, hit Caps Lock again. Sequential actions, especially if guided well, are often easier to execute than parallel actions.

by Michael Tsai at July 02, 2009 04:32 PM | Bookmark with del.icio.us

Codecs for <video> and <audio>

Interesting post from Ian Hickson (via John Gruber):

After an inordinate amount of discussions, both in public and privately, on the situation regarding codecs for <video> and <audio> in HTML5, I have reluctantly come to the conclusion that there is no suitable codec that all vendors are willing to implement and ship.

by Michael Tsai at July 02, 2009 01:08 AM | Bookmark with del.icio.us

July 01, 2009

Scripting News

The longest day

Europe sleeps while I write this. smile

I arrived in Chicago a short while ago, it's 6:30PM here and 1:30AM back where I came from. In about four hours I will have been up for 24 hours. Given my state of burnout I'll avoid saying anything challenging. Simply: It's always good to be back in the USA.

At this moment in an overseas trip I always play California Girls by the Beach Boys.

Also: All my gadgets work here. MyFi, and data roaming on my iPhone.

The neatest thing on the SAS flight from Copenhagen -- they have cameras pointing out the cockpit and toward the ground from under the plane. Pretty neat for takeoff and landing. Unfortunately there were clouds almost the whole way up over Sweden into Iceland and Greenland and northern Canada.

One more flight, a sprint from Chicago to SFO and then a cab to Berkeley. I get in so late that BART isn't running that late. Yeah I know, it isn't really a mass transit system. Rub it in.

July 01, 2009 11:30 PM | Bookmark with del.icio.us

NSLog

78 Photography Rules

Though this list is mostly funny, a few are true and apply to even skilled photographers. Yet others are dead wrong (I'm looking at you, #7).


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at July 01, 2009 04:50 PM | Bookmark with del.icio.us

Ranchero

When kvetchers kvetch

A person complains that Fraser Speirs has the “audacity” to charge for his software in this “age where social networking comes free of charge.”

Fraser’s reply is great — polite and succinct but unsparing. It’s a model for how to handle these situations.

July 01, 2009 04:09 PM | Bookmark with del.icio.us

Screencast: iPhone Tab bars and Navigation bars together

O’Reilly, Elisabeth Robson: “Combining a tab bar with a table view and navigation bar isn't very difficult, but it took me forever to figure out how to do it properly.” Her screencast shows how.

July 01, 2009 03:11 PM | Bookmark with del.icio.us

Michael Tsai

PragPub

The Pragmatic Programmers have started a new programming magazine, PragPub, edited by Michael Swaine. It’s available for free in PDF, mobi, and epub formats.

by Michael Tsai at July 01, 2009 02:09 PM | Bookmark with del.icio.us

Scripting News

There's a missing product

There's a missing product in the social networking space. I'm going to try to describe it, but I think it may be hard. But I'm willing to give it a go.

A little over a week ago I got an email from a very good friend in Europe asking if it was true that I was going to Reboot. I replied with an email saying it was. And I thought to myself, I thought by posting that fact to Twitter four or five times that I would have informed him of this. It is not his fault. There's a missing product.

Yesterday, I was trying to figure out what to do with the four hours downtime between flights in CPH, so I posted a note to Twitter hoping someone with some time to spare that was interesting would respond. I got two responses to my blog post, when it was two hours into the downtime. It's not their fault. There's a missing product.

Here's what I think the missing product would do.

It would allow me to make announcements the way companies make announcements. The announcements would have good metadata attached, and would be stored in a database. People who follow me in this system are saying "I want to know everything Dave announces." Key words in that sentence: Know and Dave. I don't just want these facts to stream by in a river. I want Dave's name to go bold in a short list of people I choose to follow. Unlike a river, where I want volume and don't care about missing an item, in this product the oppositie is true. I place high value on not missing anything. I want to know literally everything Dave announces. (Or Paolo or Karin or you get the idea.)

I started to get a clue that such a product was needed when I started the FOD feed on Twitter. It monitors the blogs of people who are so important to me that I never want to miss one of their posts. People like NakedJen, Jay Rosen, Sylvia Paull, Doc Searls, Robert Scoble, Fred Wilson and Michael Gartenberg, and people I don't even know personally like Paul Krugman and Nate Silver. It was a success. It has kept me in these people's loops, and it required them to do nothing special. Now I'm thinking about what comes next when I want other people to do something similar with me.

It may be that just monitoring blog posts is enough. Tweets are too cheap, but keeping track of people through blogs may be just right.

Still thinking about it.

July 01, 2009 09:28 AM | Bookmark with del.icio.us

While you were asleep, from Copenhagen

Another in a continuing series of overnight dispatches from your faithful European correspondent, me!

This time I'm coming to you from the SAS business class lounge at CPH, a real treat. Often on my European travels I end up exiting through Amsterdam or London with time to kill at Schipol or Heathrow, and they are completely chaotic toon-town messes. In comparison, the pace at CPH is leisurely and the Danish of course are great designers, so the place is super-comfortable and pleasing to the eye.

While you, in the US, were asleep -- I left Berlin, and created some memories in a set of photos on Flickr. Click on the picture below to see the set.

Reichstag (Parliament building)

In two days in Berlin you can do nothing but scratch the surface of one of its many surfaces.

Berlin is to Germany what New York and Washington are to the US. It's both the capital and the cultural and business center. The place is bathing in history, and change. Just 20 years ago when the wall came down, the place was very different. Now what remains of the division is in photographs and video. I stayed in what used to be the eastern sector, but you couldn't tell. It was hard to imagine how the plush surroundings had been transformed so quickly. Perhaps the Soviet system wasn't so austere?

I spent all of yesterday afternoon at the German History Museum, listening to the official story of the war and the wall from their point of view. There were some not-so-surprising surprises. They talk about losing the war. Where I come from, we talk about winning. They don't present their soldiers as heroes. How can a society survive that, I wonder. I did see one statue of a WWII era German soldier, just one. It left me with a sick feeling. The memorial to victims of the Holocaust also was very moving.

There also is a Soviet War Memorial in Berlin.

Berlin is indeed where it happened. I don't have any special insights, nothing to offer that hasn't been said a million times before. The only difference is to feel it you have to put yourself inside it.

I followed a Russian tour group for a few minutes yesterday as they soaked in the history of their WWII victory. Some of them seemed old enough to remember. There were many Americans and British and French accents. Seems a lot of other people are curious to see what's in Berlin.

Everywhere you go in Berlin they're rebuilding. Many of the big tourist spots I saw just re-opened three or four years ago. The Brandenberg Gate and part of the plaza behind it were in the middle of the dead zone between the East and the West.

Maybe there will be more conclusions, this all seems quite rough right now.

PS: On a less heavy note, I had a delicious currywurst and last night there was a beautiful sunset.

July 01, 2009 08:31 AM | Bookmark with del.icio.us

Ranchero

HomeSite Discontinued

Nick Bradbury: “These days it's common practice for programmers to actively involve customers in the creation of their software, but back in 1995 it wasn’t the norm.  I certainly wasn’t the first developer to take this approach, but I like to think I was one of the pioneers.”

Absolutely. Bravo, Nick! Good job.

July 01, 2009 04:27 AM | Bookmark with del.icio.us

NSLog

7.5 Inches of Rain

We got about 7.5 inches of overnight. The power was out most of the day (from 3am until about 5:30pm). Things are SOAKED. I'm not sure I've ever seen so much rain in one day. It's like half of Lake Erie decided to make a quick round trip to the sky and then back to Earth.

Check out the two photos here. Some video here.


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at July 01, 2009 01:23 AM | Bookmark with del.icio.us

June 30, 2009

Michael Tsai

Git Pickaxe

Junio Hamano:

We would want to find the commit that changed the contents of the file to make this block of code into its final shape. […] Note that we are not interested in commits for which “git show” output contains the given string. We are only interested in a commit whose tree has this string in the file literally, but whose parent’s tree does not. In other words, we do not have to (nor want to) run textual diff and grep in the result. We count the number of occurences of the given string in the file in the tree of the commit, and the same for the commit’s parent. If we get different number, the commit chnages the string, which is what we wanted to find. Counting occurrences of substring is much cheaper than first generating textual diff and grepping in it (which is not what we want to do anyway).

by Michael Tsai at June 30, 2009 03:05 PM | Bookmark with del.icio.us

Scripting News

What of Woodstein in the Rebooted World

A picture named bonehead.gifEvery time I write about Sources Go Direct, like clockwork, someone asks how will we get Woodward & Bernstein reporting without great reporters sniffing around for stories that bring down Presidents.

Never mind that it only happened once and hasn't happened since. Only Richard Nixon has been forced from office by the press (or anyone) and it turns out that had W&B not been sleuthing, the NYT had the story too, but they blew it. So it's possible that without W&B, Nixon would have remained in office. However it's hard to imagine that he could have been worse than Bush II, who the press of today did not bring down. (A fact the defenders of projournos never address.)

Anyway...

In the rebooted world, Deep Throat, the source, might go direct -- anonymously, using a proxy server, possibly -- and a Twitter account created for just such a purpose. BTW, I don't assume there won't be reporters in the rebooted world, but I do assume the sources will be able to go direct if they choose to. And in this case I don't see why they wouldn't.

If we're lucky enough to have a Woodstein out there digging, let's hope we have the sense to listen to them. And if we don't get blessed or if the economics of projourno crumbles, and Deep Throat wants us all to know how screwed the President is, let's make sure that anonymous pathways exist so they can say what they know and stay in place to keep reporting.

I write this from Berlin, a place that has seen huge change, many times, in the last 100 years. The kind of change that would make Americans weep with fear.

June 30, 2009 01:16 PM | Bookmark with del.icio.us

While you were sleeping, from Berlin

A picture named mwom.gifIt's 9:11AM as I write this, and back home in California, it's just after midnight. I've done this so many times, but it still seems something of a miracle. How a day can be starting and another day be ending, all at the same time.

Glad to see Scoble blogging again. I predict a return to blogging as people discover the power of being able to finish a thought, and to link to another site without going through an intermediary. Once again people will discover the power of Small Pieces, Loosely Joined.

Chris Anderson is right, of course -- and uses a device to bait the press to object. Good way to sell books, perhaps, but I'd rather he'd not taken the shortcut. Malcolm Gladwell objects, and my friend Howard Weaver says that Gladwell got it right. I don't agree. When you think of news as a business, except in very unusual circumstances, the sources never got paid. So the news was always free, it was the reporting of it that cost.

What Anderson calls "Free" -- we in Rebooting The News call Sources Go Direct. Absolutely nothing strange about it. The Internet always disintermediates. Did you see the "media" in the middle of that word? It's the middle that's hurt in the new world. Sorry. The new world pays the source, indirectly, and obviates the middleman.

Following up on yesterday's piece about Wikipedia, I wrote it, unintentionally, so that people reacted to the bit that's uncontroversial and missed the controversy. Of course it's good that the reporter escaped and his life was spared. Who could think otherwise.

Here's the controversy:

"What about when information on Wikipedia, true or not, hurts people in other ways? Why shouldn't anyone be able to get whatever they want redacted?"

Clearly some people can get stuff redacted sometimes.

Who, and under what circumstances?

Further, no one has that power over the web. Would it be better if Wikipedia worked like the web?

June 30, 2009 07:11 AM | Bookmark with del.icio.us

June 29, 2009

NSLog

Scorecard 2.0 for iPhone Now Available

Scorecard 2.0 for the iPhone is finally available. The approval process for iPhone apps seems to have been delayed - badly - due to WWDC, so we're glad it's finally approved. After all, we shipped the desktop app some time ago.

Don't believe the reviews, either (currently 2 of 5 stars). The app works beautifully, and as I wrote here, the vast majority of the low reviews are written by people who either can't read or who resent the fact that this is an add-on freebie app to a paid desktop app.


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at June 29, 2009 08:17 PM | Bookmark with del.icio.us

Michael Tsai

Objective-C 2.0 Properties and To-Many Relationships

Chris Hanson explains why @synthesize is not enough; you also have to implement some KVO methods if you want efficiency. I tend to agree with the comment from Jens Alfke that this is too much boilerplate.

by Michael Tsai at June 29, 2009 08:09 PM | Bookmark with del.icio.us

Ranchero

How Gus Uses FastScripts

Gus Mueller: “So, instead of having multiple spaces with Xcode in one space, or irc + iChat in another, and WebKit in its own; I create multiple scripts which hide all applications, and then brings forward just the ones I want.”

June 29, 2009 06:22 PM | Bookmark with del.icio.us

Birdfeed, new iPhone Twitter client

Neven Mrgan: Birdfeed is “as uncluttered as a Scandinavian rumpus room.”

And it is, as they say, a very nice Twitter client.

June 29, 2009 04:56 PM | Bookmark with del.icio.us

Scripting News

Your Berlin correspondent

I always get a cold at about this point in a Europe trip. The jetlag must weaken me, and all the walking and sweating and temperature changes, and so forth -- I get sick. And I always do the same thing, go right through it. I'll have time to get over it when I get home.

Right now I'm spending my first full day in Berlin. So far I like it.

Two news items caught my eye this morning. One a controversy in the press over whether the President had the right to call on a Huffington reporter second in his last press conference, when it seemed as if the President had an idea what kind of question he might ask. Did anyone breach some ethical requirement.

A picture named cokebottle.gifA much bigger issue, I haven't heard any reporter ask about, yet it is no less incestuous than the previous issue. Did the press do anything wrong in covering up the kidnap of a NY Times reporter by the Taliban? Assuming it wasn't wrong (since no one seems concerned) what is over the line? What kind of person wouldn't receive this kind of favor? And then this morning we learn, from the NY Times, that Wikipedia did the same thing, and it was a much more complex affair. And this raises all kinds of other questions. What about when information on Wikipedia, true or not, hurts people in other ways? Why shouldn't anyone be able to get whatever they want redacted? I don't think there's a bit of difference between news organziations and Wikipedia. And let's hope they're ready with an answer, or are they just making it up as they go along?

My feeling, Wikipedia suffers from the same centralization of authority as Twitter. No one should have the power that Jimmy Wales has, to shut down Wikipedia as a conduit for truth. It appears from the NYT story that, at times, they had verification that the reporter had been kidnapped. At that point, they had no choice but to include it, whether it jeopardized the reporter's life or not. It's a line you can't define, there must be many situations where the presence of information on Wikipedia puts people at risk, just as information on the web puts people at risk. The difference is there is no central authority on what belongs on the web, and there is one on Wikipedia.

Same problem on Twitter. Reading Fred Wilson's interview with John Battelle, I'm horrified at how involved the management of Twitter feels in the flow of information and ideas on Twitter. If it were just the web, it wouldn't matter -- his opinion is just one person's opinion, and it can be balanced by other people's point of view. But in Twitter, some people's opinions are much more important than others' and Fred is one of those most important people. This is unacceptable. There's no other word for it. I have a feeling that when the reporters on Twitter are aware of this they won't like it either, but so far I don't think they are.

Last night, unable to sleep due to jetlag, I watched Lives of Others, a movie set in East Berlin. It was a beautiful movie about the contradictions that come up when thoughtful people are tasked with controlling the lives of other thoughtful people. This is where we're going in Wikipedia and Twitter.

June 29, 2009 08:33 AM | Bookmark with del.icio.us

NSLog

iPhone AppleCare

I'm thinking of submitting my iPhone 3G for AppleCare work. The back case is cracked, and there are three little dots on the screen which almost look like little holes on the inside of the glass. The cracking is the big thing: it's cracked near the bottom port and twice near the ringer switch.

Anyone out there had an iPhone replaced? What's the procedure these days? How long are you without your phone?


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at June 29, 2009 12:22 AM | Bookmark with del.icio.us

June 28, 2009

Scripting News

Arrived in Berlin

Amyloo pointed out that arriving in a new city would have been a blog post three years ago. She's right. I think it deserves a blog post this year as well.

Yesterday I completed my third visit to Copenhagen with a visit to an ancient castle in Helsignor, where Shakespeare set Hamlet.

From there we went to an incredible art museum on the shore of the sound that Copenhagen is on. I took a bunch of pictures.

Finally we went to dinner at a nice restaurant in Christiania, an outlaw community within Copenhagen

Today, after breakfast with Thomas Madsen-Mygdal, I left for Berlin, which I can already tell is a spectacularly beautiful city, even though I've only been here an hour. I'm staying at the Grand, a beautifully restored historic hotel where one of my favorite movies of the 1930s was set. Getting off the elevator, I laughed because I immediately recognized it as a set where Joan Crawford, Greta Garbo and John and Lionel Barrymore performed their magic. It's a gorgeous hotel. I can't imagine it looked any nicer in 1932.

I have a very pragmatic reason for wanting to post something on the blog. I am here in a strange city on my own. Reaching out to any readers of this blog, let's have a dinner. I'm here for three nights. I love beer. I hear there's some good beer here! smile

June 28, 2009 02:28 PM | Bookmark with del.icio.us

NSLog

Stopping the MacBook Half-Dim

My MacBook Pro has an annoying habit of "half dimming" even though I've turned off the screen saver and most everything else appropriate.

Fortunately, others have managed to solve the problem.

pmset -g lists the "halfdim" parameter's value, often 1. To set it to 0, use sudo pmset -a halfdim 0. The "a" specifies all profiles.

Thanks to gibbilicious and this Apple support thread for more. I may still give Caffeine a try, though.


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at June 28, 2009 12:21 AM | Bookmark with del.icio.us

Ranchero

Nick on Tech Support

Nick Bradbury: “It seems so obvious: if you want to develop software that’s useful to people, you’ve got to talk with them.”

June 28, 2009 12:14 AM | Bookmark with del.icio.us

June 27, 2009

Ranchero

JetReader - NetNewsWire style

Jetplane Journal: The JetReader style was “designed with legibility in mind, as I’ve found that black on grey is typically easier on the eyes — particularly on the new, very glossy, very bright aluminum MacBook.”

June 27, 2009 06:31 PM | Bookmark with del.icio.us

Michael Tsai

CocoaREST

Steven Degutis has released CocoaREST, an Objective-C 2.0 library for communicating with RESTful services such as Twitter.

by Michael Tsai at June 27, 2009 05:38 PM | Bookmark with del.icio.us

NSLog

Remembering Jokes

Recently, my favorite joke has been a rather simple one. Apologies in advance if you're religious or offended by jokes about stereotypes.

A priest and a rabbi walk into a church. They see an altar boy lighting some candles. The priest says "Boy, I'd like to screw that boy." The rabbi asks "Out of what?"

Hardy har.

I'm terrible with jokes because I don't put any effort into remembering them, largely because I never figure I'm going to have anyone to hear them.

Just saying that, I remember one a relative just told me about Michael Jackson: Did you hear about the new burger McDonald's is going to offer? It's called the MJ Special, and it's 50 year old meat between 10 year old buns.

Eh. Probably won't be repeating that one very much. It's just not very funny… My brother-in-law told me one about recycling MJ into Legos so little boys could finally play with him that, likewise, wasn't very funny.

So, what the hell: got any good jokes? Maybe I can remember a few and tell some golf buddies.


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at June 27, 2009 12:11 AM | Bookmark with del.icio.us

June 26, 2009

Ranchero

Virtuality - new Ron Moore show

SCI FI Wire: “Take the first starship from Earth headed to a faraway planet, add 12 people confined together on board for a 10-year mission, and it begins to sound like the ultimate reality show waiting to happen. Throw in some virtual reality that allows the characters’ avatars to interact as if they are in a holodeck...”

Obviously, Battlestar fans (by which I mean most geeks) will need to check it out. Looks like it’s on tonight.

June 26, 2009 07:05 PM | Bookmark with del.icio.us

Type Qualifiers in C

Mike Ash: “The const [keyword] can be very useful and every C programmer should know how to use it. ”

June 26, 2009 06:40 PM | Bookmark with del.icio.us

June 25, 2009

NSLog

Six Months Until Christmas, and I Want Tools

And you know what I'd like? A real set of tools.

I have a good enough drill. I have a Dremel. I have some other things (like a fairly good level).

But most of the rest of my tools are scattered brands and types. I have one set of needlenose pliers (somewhere). I have one wrench as well as a pipe wrench. I have a hammer. Maybe two. I even have a crowbar.

I'd like one set of tools and something that organizes them. I don't need a thousand-dollar tool set. I don't work on my cars. I just want stuff that I can use around the house without having to wonder if I've got the right tool for the job.

So what do I need? Sears has "mechanics" sets. They have "Professional" and "Pit Crew" tool sets. I'd like something that's of relatively good quality with a moderate selection and variance of tools.

Any suggestions?

P.S. Lowe's and Home Depot don't seem to really get into selling "sets" of tools, per se, unless it's a ratchet set or some other single-purpose type thing. Sears sells sets… anywhere else?


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at June 25, 2009 10:58 PM | Bookmark with del.icio.us

Ranchero

iPhone 3GS and YouTube uploads

The YouTube Blog reports “when the iPhone 3GS came out, uploads increased by 400% a day.”

June 25, 2009 10:27 PM | Bookmark with del.icio.us

Uptake on iPhone OS 3.0

Ars Technica: “Conflicting data points from multiple sources give us everything but a clear answer.”

June 25, 2009 10:26 PM | Bookmark with del.icio.us

Tab bars and Navigation bars together

O’Reilly Broadcast, Elisabeth Robson: “I’ve created an example to demonstrate how to build this kind of app and recorded a screencast partly so I’d never forget again, and also to help anyone else out there who might be struggling with this same challenge.”

June 25, 2009 10:24 PM | Bookmark with del.icio.us

Michael Tsai

The iPhone 3GS’s Oleophobic Screen

Bill Nye (via John Gruber):

The Applers were able to do this by bonding this oleophobic polymer to glass. The polymer is an organic (from organisms) compound, carbon-based. The glass is nominally inorganic, silicon-based…solid rock. The trick is getting the one to stick to the other. Although it is nominally proprietary, this is probably done with a third molecule that sticks to silicon on one side and to carbon-based polymers on the other side. Chemical engineers get it to stay stuck by inducing compounds to diffuse or “inter-penetrate” into the polymer. The intermediate chemical is a “silane,” a molecule that has silicon and alkanes (chains of carbon atoms).

I was surprised and pleased to find that it really does work. Now, about the back of the phone…

by Michael Tsai at June 25, 2009 01:34 PM | Bookmark with del.icio.us

Scripting News

The myth of perfection

A picture named united.gifMyth: Twitter is perfect. If you change even one thing its magic disappears.

Apple products are often thought to be perfect. Steve Jobs had a lot of people convinced that video had no place on the iPod, until he revealed the iPod with video. All of a sudden it was the Number One most sought-after feature.

The myth of perfection is mostly skillful marketing.

The reality: We Make Shitty Software.

Software is a process. It's never done. "Our software is shitty," the honest hard-working developer says. "But watch, we'll make it less shitty." You're buying a process not perfection.

This has practical applications. In the last Rebooting The News podcast, toward the end, the subject of changing Twitter came up. When I was able to convince Jay that Twitter could be changed, he said his #1 most desired feature was to be able to edit a tweet.

Twitter will get more features. Bugs will be fixed. You can be sure of that.

One of the most obvious features it will get, and I'd bet really soon, are groups, which are similar to features already implemented by some of the clients.

What's your number one most desired feature?

PS: This discussion is a continuation to the the piece I wrote earlier this week about the 140-character limit.

June 25, 2009 09:37 AM | Bookmark with del.icio.us

Good morning Copenhagen

I think I must have been Danish in a former life because when I arrive in Copenhagen there's something familiar about it, comfortable, nice. You get a sense that people live well here, don't know what it is, but Copenhagen puts me in a good mood.

Tell you another thing, if you can time your arrival for 7 or 8PM you can do the nicest thing re jetlag -- immediately go to sleep for a full 8 hours and if it's midsummer, almost never have it go dark on you! That way if you get up at 3AM it feels like 6AM back home in California, but that's pretty disorienting because it's actually 6PM.

The right way to think about the trip from SF to Copenhagen: The flight takes 10 hours, real time. Add another 9 hours lost to timezones, and it's at least a 19 hour trip, including the fact that you have to go through somewhere else to get here. Neither city is large enough to have direct flights between them.

June 25, 2009 02:41 AM | Bookmark with del.icio.us

June 24, 2009

NSLog

Sidebar Widgets

Sidebar widgets are finally somewhat useful in WordPress 2.8, so I'm thinking of converting my sidebar into, errr, widgetizing my sidebar.

Currently the sidebar's a "sidebar.php" file which includes about 20 <? include('sidebar_blah.inc'); ?>. I comment the ones out that I don't want, and the rest show up. It's pretty simple, but it's kind of outdated, and if I ever want to move to a new theme - which I may at some point - it'd be nice to bring along my widgets.

So, how to make a sidebar widget? A quick Google search pointed me here, here, here, here, and of course here. Did I miss any?


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at June 24, 2009 10:50 PM | Bookmark with del.icio.us

Ranchero

iPhone 3GS Fast in JavaScript Tests

Medialets: “The results of the iPhone-based tests alone are rather astonishing and seem to indicate that many of Apple’s claims about the performance gains of their 3.0 OS and the iPhone 3GS may hold some water.”

June 24, 2009 07:43 PM | Bookmark with del.icio.us

Instapaper Pro 2.0 for iPhone

Macworld: “New in Instapaper Pro 2.0 is one of Arment’s most-requested features: support for organizing articles into folders, which the online Instapaper service recently gained (at this time, Arment plans to keep this feature exclusive to the paid Instapaper Pro iPhone client).”

It’s on sale, too — just $5, half-off regular price. I’m a fan, and I recommend it.

June 24, 2009 03:39 PM | Bookmark with del.icio.us

Test-Driven Heresy

Tim Bray: “Here’s my thesis: As a profession, we do a lot more software maintenance than we do greenfield development. And it’s at the maintenance end where TDD really pays off.”

June 24, 2009 02:58 PM | Bookmark with del.icio.us

Social media made simple

John Welch: “When you’re talking about monologues, like traditional media, coupons, fliers, television commercials, what have you, you can easily manage the message. You’re the only source. It’s easy. However, when everything becomes a dialogue, you can’t do it, and if you try, you’ll look like a pack of asses.”

June 24, 2009 02:51 PM | Bookmark with del.icio.us

Scripting News

NSLog

Ovechkin Wins the Hart

I'm a bit late in commenting on it, and I'm not sure how I feel.

Something like twice - including 2009 - in the past 20 years the leading scorer in the NHL (Malkin this year) didn't win the Hart trophy.

But without Ovechkin, the Washington Capitals are still a joke of a team that probably doesn't make the playoffs. The Penguins still have Sidney Crosby, and having the third-leading scorer on your team both helps and hurts. They played on different lines (but often on the same power play), so that helps because, man, it's not like they were each earning points at the same time, but it hurts, because you're not THE guy on your team.

And, in the end, StanleyCup + Conn Smythe >> Any Regular Season Awards


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at June 24, 2009 01:56 AM | Bookmark with del.icio.us

Scripting News

Tim O'Reilly should speak for himself

Tim O'Reilly says: "At the end of the day, folks like Scoble and Winer are unhappy because they aren't on the list. It doesn't feel fair to them, so they do the next best thing, seeking publicity by complaining about it."

That's not true.It's far more complex than that. O'Reilly should stick to speaking for himself.

I'm writing this on a plane that's boarding now, heading for Frankfurt from San Francisco, so obviously this is not a debate I will be able to take part in, but I did want to clear this up.

PS: Sprint MiFi is wonderful. I left it on in my knapsack which is in the overhead compartment. Scoble called on my iPhone to alert me to this. I whipped out my netbook and launched my editor and quickly wrote a blog post. We live in wonderful times. smile

June 24, 2009 01:42 AM | Bookmark with del.icio.us

June 23, 2009

Scripting News

Heading to Europe

A picture named donkey.gifI'm leaving tonight for Copenhagen to participate in the Reboot conference. This will be my third Reboot. It's a very nice group of people, very far away from Silicon Valley, and I always have fun. Looking forward to partying with Thomas and his posse and Paolo, Stowe, and everyone else. I'll be leading a talk on Thursday evening on Rebooting the News.

After Copenhagen, I'll spend three days in Berlin, then head back to the US via Chicago on July 1.

See you on the other side of the world, tomorrow night!

PS: I recorded a podcast with Phil Windley of IT Conversations last Monday. A little bit of time has gone by but I think it's pretty good. We talked about the technical side of Rebooting the News.

June 23, 2009 09:21 PM | Bookmark with del.icio.us

Ranchero

iPhone OS 3.0 Adoption Rate

Tapbots Blog: “5 days after the iPhone OS 3.0 release, we are seeing a 75% adoption rate.”

June 23, 2009 08:13 PM | Bookmark with del.icio.us

Scripting News

Be sweet, don't retweet

That's like Be Kind Rewind.

And of course everyone retweeted this and everyone clicked.

Nothing here. Move along. smile

A picture named cheesecake.jpg

June 23, 2009 06:43 PM | Bookmark with del.icio.us

River of News in CSS, designer's release

I wrote my first RSS aggregator in 1999.

Believe it or not the core of that aggregator is what's behind the aggregator I've been shipping in the OPML Editor. Since then I've written all kinds of specialized aggregators, and it turns out it's not that much work these days.

Rather than live with all the decisions I've made over the last 10 years, I started over. The result is River2.

I just completed the first version, which I'm calling the "designer's release."

Every design element can be changed through CSS.

You just save your change, refresh the page, see the result.

The web server runs on your desktop, inside the OPML Editor.

To get an idea of what you're working with, my copy of River2 saves its home page to a public server every ten minutes. Yours will look like this too, until you change the design! smile

So if you're interested in designing the look of a River of News aggregator, it's ready for you to try it out.

http://newsriver.org/river2

If you have questions or comments, leave them here, or in the comment section on the page above.

June 23, 2009 04:52 PM | Bookmark with del.icio.us

Why 140 chars is like 48K

I love telling stories, especially ones with happy endings. smile

Once upon a time, way back in the early 80s, a young man (me) had written a program called ThinkTank. It ran on the Apple II, which only had 48K of memory -- not very much when you consider that an average PC today has 1 gigabyte -- or 21,845 times the memory if you can believe that!

That's like comparing a single 140-char tweet to the Library of Congress.

The Apple II had an infintesmally small memory, but its disk was a little larger. So the operating system I used, the UCSD P-System, did "overlays," which allowed big chunks of code to stay on disk until they were needed. When code in an overlay was called, the OS would throw out another chunk of code and replace it with the one you called. So, in the worst case, if a command needed code in two overlays to solve a problem that involved looping, the disk light would stay on for a long time while the computer "thrashed" out the answer.

This isn't unlike the way an Amazon Kindle keeps part of your library on its computer and part of it on the Kindle itself. When you want to read one of the books on their computer it just downloads it again, replacing something you haven't read in a while.

This business of writing code in overlays was very taxing to the developer, because thrashing wasn't very good for the usability of the code, so you're always moving code between overlays, or making a copy of an often-used routine, all to prevent the disk light from coming on and thrashing the app (and its user) to a standstill.

This clever code-writing is a lot like writing 140-character tweets today. You delete and abbreviate, throw out important ideas, all to fit into that tight little space. And then your readers, like the disk light, thrash with confusion, and think you're a fool, because you have to be a genius and a mind-reader to figure out the gibberish you wrote to fit in 140. Oy!!

So, with the app in the Apple II days, it was often too much trouble to add the feature. With Twitter, it's often easier just to say nothing. And that's not the goal of blogging, macro or micro. The goal is to provide a platform for saying what you have to say, not for not saying what you have to say! smile

Anyway, the Apple II story had a happy ending. It was called the IBM PC. Instead of 48K it had 640K. So when I recompiled my app for that machine I just threw out the overlays and let all the code reside in memory and the thing ran like a bat out of hell! I was finally able to finish the features I wanted, and instead of thinking the program just had potential, people loved it, and it sold, and we raised money, and everyone was happy.

The End.

Update: If 140 is too little, what's the right number?

June 23, 2009 01:51 PM | Bookmark with del.icio.us

NSLog

How Many iPhone Apps?

How many iPhone apps do you have in iTunes? How many screens on your iPhone (or iPod Touch)?

I've got 58 applications, some of which are NOT on my iPhone because I don't like them (but haven't gotten around to deleting them from iTunes). My iPhone has four screens of applications, including the almost all-Apple first screen but excluding the app-less "search" screen. Most of my apps are free. The one app I use the most I paid $0.99 for - WeatherBug Elite.


© iacas for NSLog();, 2009. | Permalink

by Erik J. Barzeski at June 23, 2009 01:23 AM | Bookmark with del.icio.us

Blogs

Add a feed
Can't get enough blogs? Check out the archive where each day's blog entries are archived.

Powered By: Planet Planet Logo!

MacBlogs is a blog of blogs. The site is powered by the Planet software, developed by the Gnome and Debian communities.


For more information, please email macblogs@gmail.com