audionerd | 15 years ago | on: Startup Idea: Draw usr specified art on moon using teleoperated robot
audionerd's comments
audionerd | 15 years ago | on: Mustache now has dot notation
https://github.com/mustache/spec/blob/master/specs/sections....
https://github.com/mustache/spec/blob/master/specs/interpola...
audionerd | 15 years ago | on: Mustache 2.0 and the Future of Mustache.js
Most programmers are familiar with the common notations for nested structures (e.g.: a dot, or a slash). Mustache's solution requires a programmer to explicitly reference the parent context: https://github.com/defunkt/mustache/issues/issue/6#issue/6/c...
https://gist.github.com/3c91441597ac650146b9
Maybe this was to keep Mustache "pure", and avoid introducing a dot- or slash- syntax. "Turtles all the way down"?
I agree the syntax is clunky. But it does have some internal logic.
I'd argue that the bigger problem is: most people don't know the feature exists.
audionerd | 15 years ago | on: Mockup-Driven Development
I've found two things help integration greatly: "Super Templates" and "Logic-less Templates".
Super Templates: e.g.: building a single page template for the entire site
This a technique I learned from Nicole Sullivan's "Object-Oriented CSS" https://github.com/stubbornella/oocss/wiki/FAQ (see the section: "Why have a single template?"). A colleague of mine has nicknamed them "super templates".
Building everything in a single template provides essentially an "integration test" for your HTML components. CSS conflicts are made visually obvious.
Most likely, you would build each HTML component in isolation, and stitch them together into such a "super template" via {{< include}} or similar. To avoid CPU overload, you toggle on/off HTML/CSS as needed for a given test.
Logic-less Templates: e.g.: {{mustache}}
Mustache templates are language-agnostic. You only have to build them once, and you can use them everywhere.
Mustache views provides a Mustache template with content. So within one app you might use the same Mustache template server-side (with a Ruby view), and client-side (with a JavaScript view).
Because of this flexibility, the Programmer and Web Designer can use the same mustache templates, using a view appropriate view for their needs (either the real view or a "stub").
The Web Designer would use a "stub" view. It has fake data structures, dummy lorem ipsum. Just enough to build a template.
The methods of this "stub" define an interface which can later be implemented in the real view, at the Programmer's convenience.
This results in the same "Mockup-Driven Workflow" the author describes, with no additional libraries required. The Web Designer works (in the browser) on the templates, using JavaScript view stubs. The Programmer uses the SAME templates, coupled with his server-side views, in the actual application.
audionerd | 15 years ago | on: Mockup-Driven Development
But when you move past that stage, and begin to integrate HTML/CSS with server code, things get messy real quick, and that's the problem I think this article is proposing to solve.
I think the terminology may be confusing. For example, in the vernacular I'm familiar with, "mockups" are in Photoshop, "templates" are static HTML, and "views" run on the server. And even so, I find these terms are often used interchangeably.
audionerd | 15 years ago | on: Ask HN: awesome web-based documentation?
http://nanoc.stoneship.org/docs/
backbone.js docs are concise and easy to follow, also well designed:
audionerd | 15 years ago | on: Things Paul Graham is wrong about
audionerd | 15 years ago | on: Why your desk job is slowly killing you
Anyone know what I'm talking about?
audionerd | 15 years ago | on: Dear Gap, I have your new logo.
http://blog.iso50.com/2010/10/06/gap-redesign-contest/audionerd | 15 years ago | on: Skale Music Tracker, ported from C++ to Flash
audionerd | 15 years ago | on: Skale Music Tracker, ported from C++ to Flash
http://createdigitalmusic.com/2010/09/28/a-powerful-music-tr...
audionerd | 15 years ago | on: Spoon.net runs any software without installing it (incl. IE6/7)
audionerd | 15 years ago | on: Interest: Senior engineer confirms Apple working on MacRuby for iOS
> Do the recent changes mean we can use MacRuby to write iPhone apps?
Well, iOS is not supported by MacRuby, yet. Be patient, we work on it :)
Laurent
via: http://lists.macosforge.org/pipermail/macruby-devel/2010-Sep...audionerd | 15 years ago | on: Steve Jobs "never had any designs. He has not designed a single project"
Steve took a look at the new program, and immediately started fiddling with the parameters. After trying out alternatives for ten minutes or so, he settled on something that he liked. When I implemented the calculator UI (Donn Denman did the math semantics) for real a few months later, I used Steve's design, and it remained the standard calculator on the Macintosh for many years, all the way up through OS 9.”
via: http://folklore.org/StoryView.py?project=Macintosh&story...
audionerd | 15 years ago | on: Microsoft Academic Search
http://academic.research.microsoft.com/Detail.aspx?entitytype=2&searchtype=2&id=2276768audionerd | 15 years ago | on: CSS3 Font Smoothing
-webkit-font-smoothing seems to be a specific solution to the same problem.
via: http://orderedlist.com/our-writing/resources/html-css/thinni...
audionerd | 15 years ago | on: CSS3 Font Smoothing
html { -webkit-font-smoothing: antialiased; }
My point being: be sure to read and understand resets/boilerplates before including them in your own code.audionerd | 15 years ago | on: Musical Illusions
Radiolab interviewed Diana Deutsch on her research a few years back, and it's one of my favorite episodes.
http://www.wnyc.org/shows/radiolab/episodes/2006/04/21/segme...
audionerd | 15 years ago | on: Ask HN: Why do we not have a Wiki yet?
http://github.com/github/gollum
Contributors could write their articles independently, send a pull request, and have their writing merged into the central wiki.There's also a (minimal) web UI for easy edits, or for users who aren't comfortable with git.
audionerd | 15 years ago | on: Brilliant talk by John Cleese on creativity.
http://www.creativityworldforum.be/view/nl/6432289-Sessions.html#session1
There is a PDF though with a bit more background: http://www.flandersdc.be/static/content/CWF08-day1-John_Cleese.pdf
This method, however, was clearly banned by 2005 legislature on “obtrusive space advertising” (see: 49 U.S.C. 70109a) and potentially violates the “Agreement Governing the Activities of States on the Moon and Other Celestial Bodies” (that prohibits “disruption of the existing balance of its environment”).
The Moon Treaty of 1979 specifically bans “altering the environment of celestial bodies”
To advertise on the Moon, its environment would have to remain unharmed.