Henrik Carlsson's Blog

All things me.

The real openness of Google+

posted this on and tagged it with Google Podcasts Social Networks

In the spirit of ”give credit where credit is due” and as a follow up to this mornings rant about Google+ and what’s not opened about is, here is some praise to Google for what is in fact open.

According to the SitePoint podcast #120 Google+ has a feature called ”Data liberation” (or something like) that allows you to export everything on your profile in more or less open formats. That’s seriously awesome!

Replies and comments

The closed nature of Google+

posted this on and tagged it with Google Social Networks The open web

I’ve never used Google+. This article is solely based on me reading other sources.

The word ”open” is often used by Google, and even more often by Google’s proponents, as an argument for why Google and their products are better than others (especially better than Apple, but occasionally Microsoft). In my opinion though that has always been about business strategy and marketing, not ideology (and that’s fine). Google is a company that wants to make money and there is nothing wrong with that. This is not going to be an Apple fanboy’s assault on Google. It’s going to be reflecting on the not so open world of Google+ and a concerned look at some of the not-so-great-in-fact-really-bad things about Google+ and it’s lack of ”openness”.

The semantics

The HTML of Google+ is an absolute nightmare. It’s <div> in <div> in <div> in <div> (repeat indefinitely). And the class names makes no semantic sense what so ever. On episode #32 of Build and Analyze Marco Arment speculates that this could be because the code itself is actually written in a higher level language and compiled into the HTML that makes up the page. That may be the case, but it’s still a complete disregard of everything that the Web Standards-people and the Microformats community (and others) have fought for over the years.

Semantics and well-structured HTML that validates can easily become a religion. Breaking these dogmas is not a problem for the sake of it. It’s a problem because it partially locks down the content on Google+ and makes it harder for parsers and crawlers to do something meaningful with it. Instapaper for instance had to have a completely specialized parsing algorithm written for it (again Build and Analyze #32). One of the main purposes of the new elements in HTML5 was to give developers simpler tool to mark up content in a way that makes sense semantically. Google has previously made a big deal about HTML5 so why not follow its semantics as well?

URL from hell

The urls for peoples pages on Google+ is horrible. People are identified by a long string of digits, not by a username or anything that’s easily rememberable. In practice this means that the most popular way to find people’s Google+ sites is likely to use Google Search to find them. Thereby Google, who makes its money from advertising, gets yet another chance to show you its ads.

With a bit of a tin-foil hat-mind this could be seen as a slightly anticompetitive move, but there are other search engines too, right?

Everything is a JavaScript

Every single part of the content of a Google+ page is generated with javascript. This is unfortunately not something unique; Twitter does it, I think Facebook does it etc. However, just because you are in good company does not mean you’re doing the right thing. Here’s some reasons why javascript-generated content is bad:

End game

I want to once again state that this is not an Apple Fanboy’s rant against a threat to the all mighty fruit, it’s a web developer who’s concerned about some of the directions being taken by one of the largest web companies in the world, and one that explicitly uses the word open time after time to tout its own greatness.

Replies and comments

ddDrumr – a drum machine in your browser

posted this on and tagged it with Daladevelop Links

Last weekend Daladevelop – in this case Mikael, Emil and I – spent 24 geeky hours in a house in Bjursås. The goal of every Daladevelop is to make program something great. Hitherto it has resulted in for example the WP Plugin Boilerplate and ”Pizzasugen”. This time it resulted in ddDrumr, a browser based drum machine prototype.

Since it’s awesome, I’ll advice you to try it! (You’ll need a really modern browser for it to work well.)

(Or, fork it on github,)

Markdown (The Greatest Invention Since Sliced Bread)

posted this on and tagged it with Blogging Markdown WordPress

Well, maybe I’m exaggerating a bit, but today (or yesterday since it’s passed midnight here) I did what I should have done long before and checked out Markdown. According to its creator John Gruber it’s

a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

It is both a way to write plain text documents so that their content is somewhat formatted and a tool to convert this text to xhtml.

The reason I checked this out today (or was it yesterday?) was an article in Macworld called Forget fancy formatting: Why plain text is best. It made some good points about why plain text is almost always better than something written in for example Microsoft Word or Apple Pages.

[Plain text is] timeless. My grandchildren will be able to read a text file I create today, long after anybody can remember what the heck a .dotx file is.

The article then mentioned some tools that was great for plain text writing, among them Byword which according to the article ”has baked-in support for Markdown”. I’d heard about Markdown before, mostly from Merlin Mann in the Back To Work podcast so now I finally made myself find out what it was. (Finding out was as easy as clicking the link in the Macworld article.)

The concept behind Markdown seemed really great, so I decided to try it, and to buy Byword. So far I’ve just made some test documents with the Byword/Markdown combination (as well as writing this blog post) and I must say it seems pretty great. I do a whole lot of writing in my work and most of it is just simple text documents that I’ve used to write in Microsoft Word (yes, I actually do like Word) but I guess the bulk of my writing this upcoming semester will be done full-screen in Byword using Markdown and then exporting the appropriate format. (Apart from xhtml, Byword also exports as .doc, .pdf, .rtf and Latex.)

One more thing

I also found out that although Markdown is written in Perl there is a php version and that version also works as a WordPress plugin. So this very blogpost is written in Byword, marked up (or down?) with Markdown and will then be pasted into a post in my blog, where you will read it.

Replies and comments

Hotmail works with Exchange

posted this on and tagged it with iPhone Mail Microsoft

I just learned that a Hotmail account can be accessed via Microsoft Exchange and thereby getting a more IMAP-like functionality. To me, this makes Hotmail very useful as an iPhone Mail account.

Instagram’s great success

posted this on and tagged it with Links Social Networks

In just nine months, the photo-sharing startup hit 150 million pix and more than 7 million users who upload about 1.3 million photos daily (15 per second).

[…]

It took Flickr, one of the world’s largest photo-sharing sites, close to 2.5 years to reach 150 million photos, which could be uploaded from any computer and shot on any camera. But it took San Francisco-based startup Instagram roughly just nine months to hit that same milestone–with just one mobile app, available on just one device maker’s OS (Apple’s).

The interview and article is from FastCompany.com. The interview is good but I think the comparison between Instagram and Flickr that’s made by the author is unnecessary and incorrect.

Instagram has grown faster than flickr, that’s true, but I don’t think the comparison is very good. To me flickr is clearly a service aimed at photographers, amateurs and professionals alike. The users main focus is to show photos as art. Instagram is much more of a ”traditional” social network, but with images instead of text.

Just to clarify, I love Instagram and use it as a way of telling people I know about what I’m up to. I also love Flickr.

(Extra bonus irony-points to the article for using a picture from Flickr for illustration. Tough, I don’t think irony was what they were aiming for.)

Forest Rider

posted this on and tagged it with Photo

This is the first picture I’ve taken with my new camera that I’m reasonable happy with. More will likely come.

A couple of great tips & tricks for Lion

posted this on and tagged it with Links

A personal favourite:

Lion’s new Resume feature automatically opens any application’s documents that were active when the app was quit. That can be jarring to people who traditionally quit an app when finished with a document. To ensure that a completed document does not automatically open the next time you launch the application, hold Option and choose [the Application Name] > Quit and Discard Windows, or press Command-Option-Q. Alternatively turn this feature off completely in the General system preference pane; you can then ensure that an open document does automatically open the next time you launch the application, again by holding Option as you quit the application.

source

My presence in various social networks

posted this on

Like so many other geeky people I’m a member of many social networks. The ones I actually use is twitter (@synvila), Instagram (mrhenko), Flickr (synvila) and Gowalla (mrhenko), and then there’s this blog. However, lately I think I’m starting to differentiate them in various ways and I’m seeing what I use each and every one of them for.

This blog is for longer or semi-long mostly tech related topics. It can also be links to techy things I find interesting and the occasional photo that I’ve taken. For this I use English as language. (Mostly American English.)

My tweets is almost always in Swedish. They also tend to be more or less geeky.

Instagram has really taken over twitter’s place as a network to tell people what I’m doing. It is quickly becoming my photo journal and if you’re interested in me as a whole person, not just as a geek, (although the geeky part is a pretty big part of me) this is where you should be following me.

Flickr is for my more or less ”ambitious” pictures. Here I post things that not necessary say anything about what I’m up to. It’s me pretending to be a photographer.

Gowalla is more or less dead to me. It feels a lot like last summers great romance. I still check in to places from time to time, but the check-ins are getting more and more far apart.

I’m using an old browser?

posted this on and tagged it with Browsers WordPress

I just picked up my secondary computer and logged in on this blog. The first thing I saw was WordPress telling me that I use an old browser. Since Safari 5.1 is out, apparently 5.0.5 is considered old. This is a fairly aggressive mode (I prefer to see things like IE6/7/8 and Firefox 3 as old) but I love it.

Good work WordPress! Anything that make people update their browsers more often is great.