The Daily Nerd

Douchebags, ebooks and decahedrons.

Content Folding | CSS-Tricks

It's a good idea to keep an eye on techniques we can use in the (near) future. Chris Coyier shows us how we could use CSS Regions to somehow fold content on a more clever way that our current techniques allow us to.

css3 responsive

Getting started with getUserMedia | CreativeJS

There's a group of people who think the web should try to catch up with native, and one of the things you hear most is that it should be possible to access the camera and do cool stuff with it. Well, you can, and here's a simple tutorial (with lots of links to more info).

javascript html5 camera

Snowdecahedrons - Temporary Public Art

I'm not sure what the weather is like at your place but right here in The Netherlands winter has not ended yet. It's not snowing but it feels like it might. In that case I'll try to make one of these snowdecahedrons. And if the weather turns out to be good I'll just cut down a tree and copy this beautiful idea.

art winter

Devices, devices, devices

Testing your responsive site on smartphones is pretty easy, most of them have a fairly decent browser on them so usually things just work as you expect. That's not the case on feature phones though. Martin Sutherland argues that this simple observation should be an important part of your startegy when you're thinking about what test devices to buy.

devices testing

It's time to treat ebook developers as developers – Baldur Bjarnason

In this lengthy article Baldur Bjarnason explains how hard it is to test the design of your ebook: there is little or no documentation (some documentation is even secret), and the documentation that exists is not good enough. On top of that it's impossible to get hold of some ebook readers outside of the US and even if you have one it is very hard to test books on them. If you ever start complaining again about how hard it is to test your site on all these different browsers just think of this article.

development ebook documentation

Adactio: Journal—Secret src

There was a row in responsive-image-land yesterday and I linked to it in the heat of the moment, something I usually try to avoid. If you wait a while things get much clearer. In this case Jeremy Keith published an excellent braindump which clearly explains the situation, the ideas and the (current) solution. You should read it if you build web sites.

image responsive

The Cost of Knowledge

One of the things I love most about our industry is the fact that everybody shares their knowledge freely. Now imagine if every link I post here would direct you to a shop where you could buy a paper, that wouldn't help you much, you wouldn't gain knowledge as fast as you do right now. In academics this is a common problem: articles get published exclusively in expensive magazines and are not freely available, which means that it's harder to gain knowledge. This is of course contradictory to what universities are all about and it clashes with the idea that publicly funded research should be freely available.

knowledge publishing science open

Mobilism 2012

The theme of last year's Mobilism Conference was finding the right questions and that turned out to be an extremely inspiring thing to do. We did find many questions and this year many of the speakers were trying to answer some. One thing that's clear though is that we still don't know all the right questions and that makes it difficult to find the right answers. Another thing that's clear is that there are two possible ways to look at the mobile web. On day one most talks somehow looked at it in the first way, which basically says that the mobile web sucks and that it should try to keep up with native technologies as fast as possible. Most speakers on the second day somehow supported the other way which focuses on the differences and sees lots of potential in these differences. Day two turned out to be a much more positive and inspiring day.

Day one: Native vs web

Horace Dediu started the conference with a talk about David and Goliath: it's always small, seemingly harmless newcomers that beat old established giants. By looking at the past he tried to predict the future. The most spectacular prediction he made was that Siri might be the next revolution on ways we get things into our devices after keyboard, mouse, and touch. I actually don't believe that, it's way too noisy and thus way too obtrusive. I don't want to work in an office where people are constantly talking to their phone. I found Scott Jenson's prediction about input and behaviour based on nearby things much more appealing, but more on that on day two. Peter-Paul Koch gave us a very clear overview of the mobile OS and browser landscape, a necessary talk, it is important to understand what's happening around us. This was actually the first rather depressing talk: all decisions on mobile (web) seem to be made on the one hand by companies who don't seem to give a fuck about their users and on the other hand by organizations that are rather slow. Yes, that's depressing for an audience of 350 eager developers and designers who want to make great stuff. But the thing I found most depressing started with the talk that James Pearce gave.

Emulate

This was actually an excellent talk, James Pearce is a great presenter and a pleasure to listen to, I really enjoyed his talk. This somehow surprised me because in writing he can be quite annoying. He very much wants web technologies to be able to do the same great stuff that native technologies can do. At first he distinguished some practical disadvantages the web has: discovery, distribution and monetization of which in my opinion only monetization is a somehow valid point. A good point he made was that distribution and discovery are much easier for apps that give an answer to the question What apps do my friends use? Another interesting position he takes is that we should not support older browsers at all, that things like progressive enhancement and graceful degradation (two terms he spoke with patronizing disgust) are actually bad things and that they are holding back the web, stopping innovation. And in a way, of course, he's right: the reason we still have to support IE7 and IE8 is because we support them. Users won't upgrade if the web is not broken. But his main message is that we should try to make stuff that's as great as the things we see in native apps. And that's the biggest flaw in his story I think: the web is more than just apps, it can do things that apps can't. But still, a great talk, but rather depressing to see that some things are still impossible, and will be impossible for a while. The organization decided there should be room for inexperienced speakers so there were some fast tracks. I saw an informative talk about Youtube and how they made sure that videos can be played on all devices out there and a talk where someone was selling his product. I think the fast tracks were an unnecessary interruption of an otherwise excellent conference.

Things are broken

Jason Grigsby gave a very interesting presentation about smart TV's. Interesting but depressing. The TV's suck, their interfaces are crappy, resolutions are a mess. The browsers are rather good but there's no way to detect that it's a browser on a TV, so actually it is almost impossible to build a responsive website that also responds to the TV. As you can see, there's a trend here: we want to build great stuff but it is all just so hard. That's also the feeling I had after Heiko Behrens' talk about different platforms for using web technology on mobile: they all are good at some things but never really good enough for what they're trying to achieve: emulating native apps. The first day was closed with a long panel discussion with mobile browser vendors. Boring, predictable answers by the panelists but nevertheless one of the highlights of the day thanks to the superb moderator Jeremy Keith who did a truly amazing job.

Day Two: The Web is great!

The feeling I had before the start of the first talk on day two was not too positive, and no, it had nothing to do with the beers I drank the night before. The talks and the ideas I had seen left me slightly depressed. Another day like this would probably result in me trying to find another job. But luckily the day started with a fantastic presentation by Scott Jenson who emphasized the things the web can do but native apps can't do. One of the most important lessons in his talk was that we shouldn't try to emulate native, we must focus on the things that make the web unique. There are two important things that make the web as powerful as it is: URLs and the fact that it works everywhere, on all devices. And especially that last fact, that the web can just work everywhere, wherever we are, on whatever device we have with us, is the core of Scott's thinking. All things will be connected and you can interact with all those things. He showed us concepts of notifications on the home screen of your phone of things that are near by instead of random messages by random apps that probably have nothing to do with where you are right now. A great and inspiring talk, I immediately wanted to start playing with these ideas (I need a Boot To Gecko phone now!). This talk left people inspired, the dip of the day before vanished right away, it was striking to see that even native focused people I spoke to were excited by this talk. Right after this talk Stephen Hay presented his thoughts on the new web designers workflow, a subject many agencies are struggling with today. I've seen many talks by Stephen Hay, they're all good, but this one was simply amazing. What he showed us are the ten steps he takes to create a design and he told us to just pick and choose whatever we need from it. Not all his steps are useful in all agencies but some of his lessons should be mandatory material for all designers: design from the content out, structure it first, don't make wireframes, use the talent of the people in your organization (not just the talent of the interaction designer), start designing in the browser as soon as possible, manage the expectations of your clients and document everything.

Brighton

The next three talks had one thing in common, the people who presented them are from Brighton. It's incredible, the amount of talent that lives in that town. Remy Sharp gave a some tips on how to test your websites on mobile, he showed some different emulators and some very promising tools he's developing. For those of us who have been developing sites for mobile phones, yes, it is slowly getting easier. Seb Lee-Deslisle presented his incredible PixelPhones project where he turns the entire audience into a huge screen by using their telephones. Highly entertaining and above all unbelievable, the man is a genius. Jeremy Keith moderated a second panel, this time about APIs and he tried to find the answer to the question why it takes so long to get access to some features of some devices. The answers were slightly less boring than the answers in the browser panel but Jeremy Keith was right when he warned me during the break that it would not be as entertaining.

Finishing touch

Up until now all talks were good, some were even amazing but the best talks, in my opinion, were still to come. Jake Archibald stole the show with his instant classic talk about AppCache. A subject that at first seems to be pretty easy but which is extremely hard to get right. Unfortunately the only mistake the organization made was to give Jake just half an hour for his presentation, it should have been the full fifty minutes, it was incredibly funny, intelligent and most important: understandable: we can now start using AppCache, thanks to his talk and his article. After such an amazing talk it's hard to keep the audience's attention. Brad Frost gave a decent talk about a future friendly web which would have been OK on last years Mobilism but which felt a bit outdated. It was a good summary of the articles that have been published about responsive design but I assume that by now this is common knowledge for this specific audience. One of the highlights was the talk Lyza D. Gardner gave about content. In a beautiful and intelligent presentation she taught us some important lessons about textual content, about the future of content and about what we should do with it. The most important lesson I learned was that we should probably be publishing our articles in Markdown (doing it right now) instead of in HTML. Yes, HTML will be around for a long time but there are other important formats that should be supported and a language like Markdown can easily be ported to (most of) those. Let's keep our content accessible for future visitors. Brian Fling had the honour to close the conference with an inspiring and practical talk about the ethos of mobile design. He actually gave away the secrets to what makes a successful app successful: anthropology, technology and design. If you invest enough in those, chances are high your app is successful. If you don't chances are high your app disappears into the dungeons of the app stores. He gave some beautiful examples of great apps for different Desknot devices. Inspiring but not specifically a mobile web talk.

Conclusion

Mobilism 2012 was again an important conference and it managed to keep up the high standard it set for itself last year, and that's a good thing. The over all message was not as exuberant as last year, there were definitely some dark messages, but that might indicate that this specific profession, The Mobile Web, is growing up and that answers are being found.

Keyboard, pixels and goats.

Better keyboard navigation

I believe there are many good reasons to use skip links but there are definitely other ways to make content accessible for keyboard users. Here's a nice proof of concept by Thierry Koblentz that uses that tab-key to tab from section to section and the arrow keys to navigate to links inside those sections. Feels intuitive once you find out how it works (yes, I know, that's somewhat, but not entirely contradictionary) and it clearly shows the importance of styling :focus states.

accessibility css html keyboard

CSS px is an Angular Measurement

The next time a designer ask you to create a pixel perfect design just tell them that you will, only if they can explain what the px unit in CSS is exactly. Just be sure your designer's name is not Sean B. Palmer.

css units

What Goes Up, Doesn’t Have To Come Down

What happens with your data if a service closes down? Can you actually entrust your precious online presence to third party services? Geri Coady writes about the closing down of Gowalla and links to some very interesting articles and video's about the subject of shutdowns.

history data

WTFWG | TimKadlec.com

You don't want to serve a 1024px wide image to a 320px wide screen, that's a silly waste of bandwidth. There is no easy way to do this so a group of web developers tried to work on a new HTML element to solve this issue. A few days ago a different solution was added to the spec without consulting these developers or without considereing the work they had already done. You can understand that not everybody is happy about this. If you're interested in this subject (it actually is very interesting, it's about the future of the web) you should definitely read this article, read about the beautiful HTML design principles mentioned and after that be sure to read this thread too.

html image responsive

Goat Laser

Yes, all these new webtechnologies like canvas look absolutely great, but can you actually make something useful with it? Two years ago Simon Willison created this extremely handy canvas tool, I can't wait till we finally see it implemented everywhereM.

canvas useful innovation

Responsive Design Workflow (Mobilism 2012) // Speaker Deck

One of the hardest parts of responsive design is the fact that we have to change the way we work, we have to change our workflow drastically, the deliverables we've been delivering in the past ten years just don't work anymore. More and more clever people start thinking about this new workflow and Stephen Hay is one of them. On Mobilism he gave this excellent presentation. Just pick and choose the ideas you think will serve you, your team and your clients well. I'll link to the video once it's published, you should definitely see it.

responsive workflow design

Desktop Apps with HTML5 and the Mozilla Web Runtime ✩ Mozilla Hacks – the Web developer blog

People like to use apps and people don't really care with what technology these apps are built. There are good reasons to use so called native technology for an app on a desktop or desknot computer, there are many good reasons why you'd want to use HTML. Mozilla is working on a Web Run-Time which lets you create launcher-apps for web-pages, here's an in depth explanation on how it works.

browsers html apps native

Future Friendly Style Guides - Luke Brooker Creative

No that we finally accepted that we web does not have a fixed width we need to find a new workflow, the Photoshop centered way we used to work is not good enough anymore. People start thinking and publishing about this new responsive workflow, and that's a good thing. Here's an article by Luke Brooker about his new workflow, centered around the idea of style guides.

styleguide responsive design workflow

Browsers, maps and books.

inspiring toilets

People obviously find it inspiring to look at the offices of famous web people. What strikes me is that most of these offices are rather small. Bruce Lawson realized there are more small rooms that might inspire you and launched this next successful tumblrblog.

inspiration

Browser Support

If you, for whatever reason, don't like any of the other tools and sites out there that tell you what browsers support what CSS feature then this tool might be the one you were looking for. I still prefer When Can I Use… though.

css development browsers

IE in Chnina

One of the only reasons to keep supporting IE6 is when you work for a company that does a lot of business in China, marketshare of IE6 was always very high over there. This graph shows us that something significant happened a few weeks ago. On the positive side: IE6 usage has suddenly dropped below 20%. On the negative side: IE8 usage is close to 50% now. A long, long way to go.

browsers

BIK BITV-Test | Articles | How effective is WCAG? - Methodological flaws put question mark on study of the impact of WCAG on user problems

A while ago a study was presented about the impact of WCAG on user problems which caused a bit of a roar in the accessibility world. According to the study the accessibility guidelines had no significant effect for blind users. Now, before you all start builing your sites with tables again, please first read this article in which Detlev Fischer debunks the study.

accessibility

Autofill City & State from Zip Code with Ziptastic | CSS-Tricks

Filling out forms is a pain in the ass and especially on devices without a classic keyborad you should ask your users to fill in as little information as possible. So if there's a way to make things easier you should probably use it. For instance, parts of an address can be prefilled if the user enters her zip code. Chris Coyier shows us what a flow like that could look like.

forms mobile usability ux

Guest Post: Allen Tan on highlighting and focus… | Readmill Blog

My father always scribbles annotations in the margins of his paper books. He's probably been doing this for more than 50 years now and if somehow we could collect these annotations it would be an incredibly intersting and useful database. But as it is, it's pretty useless. Allen Tan writes about this and more in this article about modern, digital reading.

reading books

Let's Get Physical (Units) | Boris Smus

There are a few use cases where's we'd love to use physical units (like cm and in) but unfortunately these units don't work as expected in CSS. Boris Smus wrote an extensive article about these units, how they should work, why we want them and why they work the way they work.

css units

Responsive News - Cutting the mustard

The BBC is working on a responsive news site and they share everything they find out, which is extremely useful. In this article Tom Maslen explains how they manage browser support. An absolute must read for everybody who is struggling with the growing complexity of browser support. This solution (or something similar) should be implemented everywhere.

responsive javascript design

A Holistic Customer Experience is the Future of Mobile Payments | Idea Engineers

Holistic means something like complete. So Perry Chan argues that a complete user experience is the future of mobile payments. I actually think that right now, on the short run, whatever is the future: the things we have right now are just terrible, anything is less painful (at least here in the Netherlands). (I also think the future of UX on the web is bigger fonts, much bigger).

money payments

Thinking Async | CSS-Tricks

Loading an external JavaScript file can block loading of the rest of the page which, of course, can be a major performance and usability issue. The solution to this issue is to load the scripts asynchronically and Chris Coyier shows the ways to do that, extensively as always.

performance javascript usability

Learn CSS Selectors interactively

CSS selectors can be pretty hard to understand, especially the difference between nth-child and nth-of-type can be confusing. There are many tools to visualize the difference, here's another one by Ben Howdle.

css selectors tool

Elsewhere too.

During the excellent Mobilism conference Vitaly Friedman asked me if I'd like to publish the Daily Nerd on his site, Smashing Magazine. I can not find the right words that describe how excited I am about this proposal, I guess "Fuck yeah!" comes close. From now on the Daily Nerd will be published on Smashing Magazine first. This means that everything will be posted here later, with a delay of a day or so. Smashing Magazine does have an editorial process so it could be that some links won't make it there (I don't think that will happen a lot though). They will be published right here, so if you're not in a hurry you can just keep following this site. Dutch articles will only be posted here. I'm really looking forward to how this is going to work out, how it's going to blend into Smashing Magazine and how this bigger (much bigger) audience will react. We're still looking for a good name (Smashing Nerds sounds a bit aggressive, don't you think?) so if you have any suggestions, let me know.