Better HN
topnewbestaskshowjobs
Log inSign up

TrevorBurnham

1,926 karma · joined Sep 14, 2008 (18y ago) · 389 submissions

I'm the author of the CoffeeScript book from PragProg: http://pragprog.com/titles/tbcoffee/coffeescript

And, recently, Async JavaScript: http://leanpub.com/asyncjs

I'm available for freelance work on exceptionally interesting projects. I live in Cambridge, MA.

Website: http://trevorburnham.com/

Email: trevorburnham@gmail.com

Submissions

comment 13y ago · link · parent

Congratulations on launching! I applied to YC a few years ago with a similar concept. Your site looks gorgeous, and I'm excited to see it develop. I hope you succeed in disrupting a space that's been neglected for far too long.

2.

How HubSpot got hooked on Jasmine(dev.hubspot.com ↗)

2 points · by TrevorBurnham · 13y ago · discuss

comment 14y ago · link · parent

I believe the company talbina's thinking of is mine: We applied as Theoryville, got interviewed, got rejected, applied to Betaspring (http://betaspring.com/), got accepted, changed our name to DataBraid, and proceeded to fall apart over the course of a summer.

I do think the idea has a lot of potential, and what StatWing has built is already more complete than what my team managed to build in 3 months. A few suggestions I'd offer based on that experience:

1. Parsing CSVs is easy in theory, but painful in practice, because CSVs in the wild tend to be full of junk. I would provide a JSON API that makes it easy for developers to put data in your system directly, allowing people to build their own CSV parsers for you.

2. Use GitHub as your model. You want people to collaborate around data the same way that developers collaborate around code. Just about every day when I was doing DataBraid, we'd discuss a use case and then say "Oh, GitHub already figured out the right way to do this." The most compelling use case here is that researchers can run different sets of tests on the same data and discuss which approach is the most valid/insightful.

3. Getting to revenue will be hard, but having paying customers will make it much, much easier to attract investment. So find the MVP that people will pay for and put everything else on a "nice-to-have" list.

Best of luck!

comment 14y ago · link · parent

They said it couldn't be done, but CoffeeScript bumped Objective-C down to #11.

Of course, I think it's fair to say that there's more Obj-C code than CoffeeScript being written, but less of it is being open-sourced.

comment 14y ago · link · parent

This is an excellent idea, and is the goal of a project that Google announced at JSConf 2011 with much fanfare (some of it from Brendan Eich himself), Traceur: http://code.google.com/p/traceur-compiler/

However, Traceur has gained little traction. With the announcement of Dart, it's clear that Google's heart isn't really into the project.

See also: http://stackoverflow.com/questions/6506519/ecmascriptharmony...

comment 14y ago · link · parent

What's really nice about the compiler being in JavaScript is that you can run JavaScript anywhere: in the browser, on any OS, embedded in any major web framework. If the compiler were written in any other language, you'd have to worry about dependencies.

This applies to HTML and CSS preprocessors as well: I'd advocate Jade over Haml and Stylus or Less over Sass, simply because Jade and Stylus/Less aren't tied to the Ruby ecosystem. JS is the real deal for "Write Once, Run Anywhere."

comment 14y ago · link · parent

That's a good idea. Michael, you should look into doing a run of CoffeeScript coffee mugs. These ones were much-loved and are no longer available: http://www.etsy.com/listing/93595042/coffeescript-mug

comment 14y ago · link · parent

I'm pledging $1,000 to this. As the author of the PragProg book on CoffeeScript (http://pragprog.com/book/tbcoffee/coffeescript), I have a stake in making CoffeeScript a more mainstream tool, and I believe that Michael's project will greatly advance this cause.

The use of CoffeeScript has become fairly widespread at startups (GitHub, 37signals, many YC alums...) but not in larger enterprises. One reason for this is that debugging CoffeeScript requires a "hacker mentality": compile-time errors are often reported with minimal or misleading explanations (e.g. "Unexpected ," when there is no comma on the line, but rather an implicit comma from whitespace); run-time errors have to be manually traced from the compiled JS to the original CoffeeScript.

These flaws are likely to be ameliorated gradually (Jeremy has stated that Source Map support is the primary goal for CoffeeScript 1.4), but this project could improve the debugging situation dramatically in a matter of months. I hope the CoffeeScript community will lend Michael their support.

comment 14y ago · link · parent

Looks like the REPL is still affected, though: https://github.com/jashkenas/coffee-script/issues/1829#issue...

comment 14y ago · link · parent

I'm the author, ask me anything.

This is my second book; the first was http://pragprog.com/book/tbcoffee/coffeescript.

I ran a Kickstarter in February to try to attract advance buzz: http://www.kickstarter.com/projects/869786663/async-javascri...

11.

Async JavaScript book released(leanpub.com ↗)

11 points · by TrevorBurnham · 14y ago · 4 comments

comment 14y ago · link · parent

Not a very good deal, given Codeschool's $25/month unlimited access membership plan.

comment 14y ago · link · parent

More CoffeeScript consoles are always welcome, but this one isn't very intuitive. The minimalism goes too far; you have to mouse over the logo just to see the instructions. Also, isn't CTRL+X spoken for (as "cut") on non-Mac systems?

14.

Web Worker Sandbox(webworkersandbox.com ↗)

1 points · by TrevorBurnham · 14y ago · discuss

comment 14y ago · link · parent

SEEKING WORK – Boston or Remote

Buzzwords: JavaScript, CoffeeScript, jQuery, Backbone.js, Node.js.

Author of the PragProg book on CoffeeScript and a forthcoming book on Async JavaScript. Interested in solving JavaScript problems and architecting client-side applications.

comment 14y ago · link · parent

Intermediate. It would work well as the second book you read on JavaScript (or, given the way most devs come to JavaScript, the book you read after reading a book on jQuery). But there's stuff in there that even experienced devs might not know about, like Promises and control flow libs like Async.js.

comment 14y ago · link · parent

May I mention that I have an entire book on this subject coming out in March? http://leanpub.com/asyncjs/

comment 14y ago · link · parent

I'm the author, ask me anything.

A sample chapter on Promises, focusing on their implementation in jQuery (1.5+), is available now: http://www.kickstarter.com/projects/869786663/async-javascri...

19.

Async JavaScript book(kickstarter.com ↗)

5 points · by TrevorBurnham · 14y ago · 1 comment

comment 14y ago · link · parent

Apple provides very little documentation when it comes to embedding HTML in an iBook, so I hit a lot of walls when trying to get the examples running for CoffeeScript: An Interactive Reference (http://itunes.apple.com/us/book/coffeescript/id498532763?mt=...). Hopefully this project will save other developers time and effort as they use iBooks Author to create interactive book-apps.

21.

IBooks embedded HTML boilerplate(github.com ↗)

2 points · by TrevorBurnham · 14y ago · 1 comment

comment 14y ago · link · parent

Thanks! I'm planning to add syntax highlighting in the next update.

comment 14y ago · link · parent

I'm the author of both this and the PragProg book (http://pragprog.com/book/tbcoffee/coffeescript). I wanted to offer a more succinct guide to the language that would quickly address common points of confusion. My hope is that CoffeeScripters who hit some unexpected behavior will be able to open the iBook to the right page, tweak a code sample, and say "Aha!"

Caveat emptor: This is a first edition, and updates (both technical and content-wise) are planned for the near future. Feedback is very welcome.

24.

CoffeeScript: An Interactive Reference released for iPad(itunes.apple.com ↗)

2 points · by TrevorBurnham · 14y ago · 3 comments

comment 14y ago · link · parent

SEEKING WORK - Boston/Cambridge, MA or Remote

Looking to solve interesting JavaScript (or CoffeeScript) problems.

* I wrote the CoffeeScript book for PragProg.

* I'm avid about Node.js and jQuery.

I've also been getting into iBooks Author lately. My first iBook, "CoffeeScript: An Interactive Reference," is already available on iTunes (http://itunes.apple.com/us/book/coffeescript/id498532763?mt=...). If you have a fresh idea, I'd love to collaborate with you on an interactive book.

comment 14y ago · link · parent

Ryan Dahl (creator of Node) tweeted that "this looks pretty awesome": http://twitter.com/ryah/status/148659426897825792

It looks very Rails-y with many sensible defaults (e.g. automatic CSRF for forms), but is quite a bit more lightweight. Making Redis a dependency is a smart choice; you need to store all session state, etc. outside of the process in order to cluster a Node app and take advantage of all cores.

comment 14y ago · link · parent

SEEKING WORK - Boston/Remote

Web dev. Wrote the PragProg book on CoffeeScript. Proficient in jQuery and Node.js.

I also enjoy random networking, so if you're in the Harvard/MIT vicinity and you want to talk tech, let's grab coffee. One person got into Y Combinator after asking me for interview tips, so I may be a good luck charm. ;)

comment 15y ago · link · parent

Page design feedback: You should make the "Free Trial" link more prominent (make it a button with a bright background). Bump up the line-height on all the text; it looks too crowded.

Features list needs to give more specifics about RAM, disk space, bandwidth, etc., not just a list of pre-installed software (especially things like Express and Backbone that are trivial for me to bundle with my app when I upload it).

The bullet point about "We don't make you go through a proxy" is useful. You could also brag that WebSockets work—last I checked, this is a big drawback on Heroku.

Is there a reason you refer to Node as "n*d." on the front page, and "nod." on the features page?

comment 15y ago · link · parent

It's a false choice that's been presented many times: Learn CoffeeScript, or learn to do JavaScript right.

When I wrote the PragProg book on CoffeeScript (http://pragprog.com/book/tbcoffee/coffeescript), my aim from the start was to fill common gaps in JavaScripters' knowledge while introducing them to the new language. Brendan Eich himself said in his blurb for the book: "It helps readers become better JavaScripters in the process of learning CoffeeScript."

Far from distracting people from learning JavaScript properly, CoffeeScript is a terrific learning tool.

comment 15y ago · link · parent

There is a Justin.tv iPhone app that would allow you to watch it, but it's $4.99: http://itunes.apple.com/us/app/justin.tv/id358612216
12345
13