Semantics weren't discussed at all. The focus was on making the best of working with a language that has a limited feature set, and learning to reexamine long held best practices.
936 karma · joined March 23, 2012
Semantics weren't discussed at all. The focus was on making the best of working with a language that has a limited feature set, and learning to reexamine long held best practices.
1) This approach is more error prone and less predictable. For a one-man job it's probably OK, but on a team it's harder to guarantee someone else isn't going to apply some styles to `.sidebar`, which will cause unwanted styles to be applied to your separator component. The namespaced approach is very intentional, so it's unlikely someone will add styles to that rule without knowing exactly what they're affecting.
2) chaining like this ups the specificity of the CSS rule, which means your other modifier/presenter classes might not work on the element anymore. In CSS specificity is everything, and keeping it nice and low is usually preferable.
1) I didn't write this while on the job at Appfolio. I wrote it at home, in my spare time, because I like sharing the things I've learned on the job with the rest of the Web community. Based on the upvotes and overwhelmingly positive responses I've received, I think it's worth my time.
2) My work on the CSS for Appfolio Property Manager has greatly helped the development team (mostly back-enders) and sped up the process. We can release features much faster because of it. I'm sorry they're not the features you want (that's not my call), but if/when we deliver those features they'll get to you quicker because of my work.
Nicole Sullivan (OOCSS creator) refers to this principle as "separating content from container".
Ultimately, you just need to look at the feature-set of Octopress and decide if you actually want those things (custom theme, Disqus and GA integration, etc). If you do, great, if not, it's probably going to get in the way more than help.
If both the requester of the AJAX call and the receiver are in the same closure, there's no need for those objects to be globally accessible.
Executing JavaScript code sent from the server requires your JS objects to be in the global scope. Returning JSON (on the other hand) allows you to keep your objects and logic inside a closure.
You may not care about that distinction, but I'd be interested to know what camp those "$0 :(" people are in.
That would offer a view into the percentage of people who stay at a startup long enough to exercise their options.
Though, now I'm remembering that the post was also on /r/webdev and /r/web_design, so that skews things a bit.
Luckily, I had recently converted the site from WordPress to Jekyll and was hosting it on Github pages, so I didn't worry too much about the load.
As long as you can only watch it from within their app (so they can keep stats), it shouldn't matter whether it's online or offline.
Netflix really needs to implement an offline mode for its mobile apps.
The vast majority of the times I'm watching something on my phone, I don't have a WiFi connection or the connection is too slow to stream an HD video (like on a plane, at the gym, in a car, etc.)
I'd love to be able to download something at my home and watch it in offline mode later. Both Rdio and Spotify do this for music. Why doesn't any video services do it? Are you listening Netflix?
</rant>
https://enterprise.github.com/ http://twitter.github.io/bootstrap/
In your example you're referring to the max-width of the viewport. In Ian's example, he's referring to the max-width of the `.testimonial` element itself.
1) What `this` means in a function context https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...
2) The prototype chain and prototypal inheritance https://developer.mozilla.org/en-US/docs/JavaScript/Introduc...
3) Function closures and variable scoping https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Cl...
He argues (and I agree) that prototypal inheritance isn't complicated unless you're coming from a very classical inheritance background.
Examples: https://gist.github.com/1309546 http://nicolasgallagher.com/about-html-semantics-front-end-a... http://csswizardry.com/2013/01/mindbemding-getting-your-head... http://engineering.appfolio.com/2012/11/16/css-architecture
I started with this approach when I built our tooltip library for my company, but eventually there were just too many gotchas. We switched to using JavaScript and inserting the generated element as a child of `body`.
The file size issue isn't really that much of a concern unless you're on a really large site, but specificity issues affect everyone.