Hacker Newsnew | past | comments | ask | show | jobs | submit | more brian_c's commentslogin

This bookmarklet will make it work in a desktop browser. Hold alt to get a second "finger", and shift to lock it with the first, like in Apple's iOS Simulator.

https://github.com/brian-c/phantom-limb/blob/rewrite/bookmar...


Neat! I made something (I think) similar a while back, also inspired by Clojure. Mine's more of a proof-of-concept, as I have zero Clojure experience outside some very casual reading.

https://github.com/brian-c/patterned-function



Thanks! :D


Have you seen James Burke's Connections? Sounds like it'd be right up your alley. http://topdocumentaryfilms.com/james-burke-connections/


I wrote something similar a while ago, mostly inspired by the various Zen Coding plugins. Nice to be able to compare my approach with someone who knows what they're doing.

You can play with mine here: http://viewinglens.com/dojo-modules/brian.util.create.html

And the source: https://github.com/brian-c/dojo-modules/blob/master/brian/ut...


Why? Write your CSS. Test it in browsers. If something doesn't look right, fix it. Resets are bloat.


"Test it in browsers"

That's the reason for resets. Because "browsers" could mean one of a million different browsers and it would take forever to tweak each of them, since CSS isn't the same across the board. I'd like to see some CSS that isn't using a reset that looks perfect across IE 6, 7, 8, 9, Opera X-Z, Chrome X-Z, Firefox X-Z, and Safari. Additionally, I'm guessing such CSS could probably be done faster with a reset.


Any competently written CSS will give you that without the resets and normalizers nonsense. Just normalize elements you want to normalize, without polluting your inheritance chain and making yourself pain to debug it. I've been writing CSS for god-knows-how-many years and never ever saw the need for it. And yes, I do cross-browser sites (and that even includes Opera).


> Just normalize elements you want to normalize

In other words, manually do a reset. You can't say reset is unnecessary and then say first thing, just do a reset.


"Manually doing reset" means that you do "reset" only on needed elements (and you target them by id or class).


That's just too much manual work that's the same over and over again. We already know what elements are different between browsers, and reset fixes that, without requiring manual labor; it's a better approach.


Not sure who those "we" are, but reseting every damn element is far from demonstrating knowledge. Especially if it is separate stylesheet. There is nothing better in that approach at all.


Maybe if you have absolute control over the HTML that's ending up inside your pages. Mostly I work on sites where someone's going to be using a WYSIWIG or raw HTML to add content, and I have no control over what elements they use or which browsers they test in.


CSS gets re-written anyway along the way. Resets gives you a leg up in the beginning for a consistent look across browsers so you can focus on other pieces of a project -- at least that's how I use it.


You'll end up "fixing" the same thing more than once. Not very DRY.


I prefer to know in advance what things are likely to look like. Resets help.


This isn't a reset


* { margin: 0; padding: 0; }



I honestly had no idea Cappuccino was still even a thing since Motorola bought 280 North. Didn't they kill development?


We just put out a new major release about a month ago. We're very much alive. :)


Quite alive indeed: https://github.com/280north/cappuccino/commits/master

Cappuccino the framework is open source.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: