I am one of those who think I do not do anything essential to write tests, but Choonkeat's post is pretty convincing why tests make writing code a walk in the park.
Even if JavaScript is not your thing, watch this video as it is about web development.
A lot of times, we just get by with the workflow we have because it is "okay", or "not bad". But this is a lie, what is "not bad" is sucking your energy, your love for web development, one frustrating moment at a time.
Spend a week or a month setting up your tools, your workflow. This video gives a splendid introduction to some of the tools that can help you be pleased with web development for a change. Do not forget to revise your workflow as you come across better tools.
O M G. It is finally here. The JavaScript syntax spec in ACTUAL HTML.
Seems odd that this needs to be reiterated, but it does. Just like you shouldn't be using localStorage for caching assets. Seems like we forgot all the essentials while being enamoured by the mirage of cool features.
Good news, you can override an image cascade.
Bad news, browsers cant even agree on a proper prefix syntax:
-webkit-min-device-pixel-ratio / min--moz-device-pixel-ratio (wut?) / -o-min-device-pixel-ratio/min-device-pixel-ratio
"You may be a very disciplined expert concurrent programmer and still, a less knowledgeable member of your team may break your code and nothing in the language is going to prevent it. No whistles will blow, no bells will ring."
Every language or program that requires superior output needs to pave the path for everyone to use good defaults to begin with. Making it easier to program poorly only makes it harder to be adopted widely. Luckily for us, JavaScript seems to be wanting to go in this direction than before.
Wow, this is amazing. The dropbox team has opensourced a small JavaScript file that tests the strength of a user-typed password. This hopefully should bring a sense of rationality to password creation in the future. Please don't be annoying and ask for 2 numeric characters and maximum of 10 letters and including specific symbols like A, $, $.
Interesting post on why SVG is not ready for the web. I have two reservations though: 1. Resolutions are always getting higher, not lower. 2. The concern is to make the physical sizes relatively equal across all resolutions, not to scale up and down.
These two concerns are not addressed in any of this discussion on SVG. I do agree that hinting is essential for scaling logos across large and tiny sizes, but Apple's retina display does not quite require that.
Pixels as defined in radians. Now you can find out how to measure the distance of earth from the moon in pixels!!
This is where the final converged specs of 2d/3d and svg transforms is being drafted. The most significant change appears to be the lack of DOM interfaces for CSSMatrix. Not sure if anybody used them before.
Very amazing illustrations of the birds, animals of New England done in the early 19th century. View full width on a very large monitor to appreciate!
A good introduction to the command line on OSX. Who will write a similar one for Windows and Linuxes?
Some really great content on architecting web apps couched in a 'book' skeumorph and loly illustrations. Funny that the design goes against the very principles this document advocates.
Make your window smaller to make this more readable.
The Criterion Collection recently joined Tumblr with posts of excellent photographs from some of the greatest movies (or making of). I wish they combined forces with http://iwdrm.tumblr.com/
"The browser is a better place for [accessibility] customisation to happen".
I cannot more heartily agree on this. The impetus on providing an accessible web should be on the browsers not on the web developers or even users.
I keep forgetting the navigation shortcuts:
{ — Move to start of previous paragraph or code block.
} — Move to end of next paragraph or code block.
Ctrl+F — Move forward one screenful.
Ctrl+B — Move backward one screenful.
Some other awesome tips in there for new vim users :)
If you love using unicode characters as icons, graphemica is your go-to source. /via @mathias on twitter.
This post talks about something I miss in web design - shabbiness - wanting to adopt something as your own, connect with an application, and don't want to give up - the application and you spending time learning about each other, delighting one another, and growing old together.
We like pets because they grow old with us and die - not because they remain cute, shiny and unlearning.
I still have my 'pencil box' from 8th grade. It is very used, very shabby and full of pencil/ink marks. Compass needle scratches all over. I do look at it, and I know it left an imprint on me like I did (literally) on it.
What apps do that to you (emacs/vim/textmate users don't answer)?
I have railed against 24ways's Composing the New Canon http://24ways.org/2011/composing-the-new-canon which (I still assert) has several incomprehensible statements that try very hard to associate type setting with music.
But, this page - published in 2009 - makes a case and how. The article goes back to the Robert Bringhurst's advice to compose to a _scale_ which could just be _any_ scale and what more, offers tools to adjust the text to some preset scales (pity about Opera support though :( ).
Do read his other posts on typography which are dated but still relevant: http://lamb.cc/blog/css-ligature-support/ and http://lamb.cc/blog/the-case-for-numerals/
I wonder why Iain Lamb does not blog any more :(
This is a great overview of why XML was created and how it meandered from the path it was meant to take and where it is going now.
I have been one of the XML haters and quite boggled by why anyone would use XML as a data format. But this outlines how XML is primarily a document publication format which is vastly different from the use cases webapps attempt to solve.
If you require chapters of prose, table of contents, and pages, XML(& friends) is the right way to go. OTOH if you want to create applications that you want your users to interact with, in a form that is different from reading a book, you would want to consider other media.
/ via http://twitter.com/liza