Better HN
topnewbestaskshowjobs
Log inSign up

afschwartz

1,116 karma · joined Aug 23, 2012 (14y ago) · 115 submissions

Co-founder at Eager, and TV/film composer. http://adamschwartz.co
Submissions

comment 12y ago · link · parent

You absolutely can! I used to teach an informal free class on CSS (http://magicofcss.com). Even though I wasn’t a teacher at any actual school GitHub kindly gave me and my students access to free private repos for educational use. (See https://education.github.com/guide for more information.)

comment 12y ago · link · parent

While I fully support the ability of using an `install` property in a `package.json` as an alternative, as a frequent author of package.json, bower.json, component.json, and install.json files, I feel confident saying that install.json is a slightly different situation. Take github.com/HubSpot/Offline for example:

The package.json [1] and bower.json [2] share a lot of the same information: `name`, `version`, `authors`, and `description` are duplicated properties in both. Furthermore, updating the `version` property in a file in Git isn’t always necessary when you can create tagged releases with version numbers.

`install.json` doesn’t have the “Ugh, now I have to add the same information in a new place”-problem because it introduces two new root properties, namely `resources` and `options`, which do different (and very useful) things from the properties in these other json files. These properties define respectively the resources to include in a page when “installing” the app, and the JSON options to provide the app upon its initialization. They allow for a common way that JS and CSS resources be included in pages, which is a useful thing for the community to start to standardize around, even if this isn’t the perfect thing yet.

[1] https://github.com/HubSpot/offline/blob/master/package.json

[2] https://github.com/HubSpot/offline/blob/master/bower.json

comment 12y ago · link · parent

Hey, I‘m Adam, and I designed this page. Thank you so much for this feedback.

When building this page, I definitely struggled with what to put where. The Steps 1, 2, 3 are hopefully clear about what action to take, but I agree that more motivation at the top would be great.

Here’s the thing we believe can be made easier:

When my co-founder and I built Pace [1], Offline [2], Shepherd [3], etc. [4], one of the problems we came across was that while we could get stars on GitHub, non-developers struggled to get the benefit from these projects. Often, the step they struggled with was adding the `<script>` or `<link>` tags to their page, and configuring any of the options these apps/widgets/plugins had.

Our About page [5] explains something to this effect, but bringing some of that motivation to this landing page seems like a good place to start. Thanks again! I hope this was helpful.

Perhaps in addition to:

“Anything you can include in a <script> tag can be installed through our UI.”

We could add:

“Example: You wrote a JavaScript library which works by having the user paste a `<script>` tag in their page. With Eager, instead you users can install your library by simply clicking a button.”

[1]: http://github.hubspot.com/pace/docs/welcome

[2]: http://github.hubspot.com/offline/docs/welcome

[3]: http://github.hubspot.com/shepherd/docs/welcome

[4]: http://github.hubspot.com

[5]: https://eager.io/about

4.

Show HN: A marketplace for client-side apps(eager.io ↗)

75 points · by adamschwartz · 12y ago · 27 comments

5.

Open-source party visualization platform(party.github.io ↗)

1 points · by afschwartz · 12y ago · discuss

comment 12y ago · link · parent

Shows a number of visualizations based on the sound input. There's a HUD that pops up if you visit:

http://party.github.io/tv/?welcome

comment 12y ago · link · parent

I'm not seeing any scrolling of the right pane in Chrome on Mac OS. What browser/OS? Also, a screenshot or screencast might be helpful. Thanks though! (Feel free to report https://github.com/adamschwartz/magic-of-css/issues/new too if you'd prefer that.)

8.

The Magic of CSS(adamschwartz.co ↗)

3 points · by afschwartz · 12y ago · 3 comments

9.

The Magic of CSS(github.com ↗)

7 points · by afschwartz · 12y ago · 1 comment

10.

Learn how the browsers lays out elements(adamschwartz.co ↗)

2 points · by adamschwartz · 12y ago · discuss

11.

The Magic of CSS(adamschwartz.co ↗)

2 points · by afschwartz · 12y ago · discuss

1234