News for hackers. Stuff that matters.
Re:Show HN: New calendar app idea by yuchi on Tuesday June 07, 2016 @07:02AM (#11853612)
As I said in another comment, I was developing something incredibly similar many years ago. I really believe it’s the best UI for a calendar.

I hope to help you somehow, I opensourced that small thing I built then: https://bitbucket.org/yuchi/dirt-testing-1

It’s written in Coffee Script (sorry, it was all the rage in 2012) but if you create an HTTP server in the root of the project everything should work out of the box because I checked in the compiled sources. To zoom in and out use shift-drag.

Re:Show HN: New calendar app idea by dorianm on Tuesday June 07, 2016 @10:40AM (#11854790)
CoffeeScript is still popular today even if it's not as "hyped" as it used to.
Re:Show HN: New calendar app idea by bcherny on Tuesday June 07, 2016 @12:14PM (#11855468)
Unfortunately the CoffeeScript project seems to be in maintenance mode, and hasn't had a release for ~9 months.

Probably something to do with the ad hoc compiler and lack of ES6 support.

See https://github.com/jashkenas/coffeescript/graphs/contributor...

Re:Show HN: New calendar app idea by wuliwong on Tuesday June 07, 2016 @12:48PM (#11855725)
Wow that's crazy. I saw your comment and thought "no way." I'm not the most tied into open source development but it is very surprising to me that something that is so embedded inside Rails is not being actively developed. I wonder if Rails is going to move away from it now as it probably should anyway?
Re:Show HN: New calendar app idea by dorianm on Tuesday June 07, 2016 @03:11PM (#11856949)
Maybe the language is just stabilized and works very well already, but it's still active: https://github.com/jashkenas/coffeescript/pulse (last commit is 6 days ago).

It doesn't say anywhere that it's in "maintenance" mode.

But it's true that it could be more active: http://coffeescript.org/#changelog

Re:Show HN: New calendar app idea by bcherny on Tuesday June 07, 2016 @03:39PM (#11857160)
Re:Show HN: New calendar app idea by rev_bird on Tuesday June 07, 2016 @12:56PM (#11855806)
This is such a bummer to me. I was a late-comer to CoffeeScript (just joined a project at a company that's been using it for years), and I absolutely love it. I was really skeptical ("JavaScript works just fine! Why change the syntax for no reason?"), but it's so slick.
Re:Show HN: New calendar app idea by bcherny on Tuesday June 07, 2016 @01:16PM (#11855928)
Same here. Personally I prefer ES6 for a few reasons:

- Future compatible, more interoperable

- ES6 classes can extend each other in a standards compliant way

- CS arrow functions feel verbose compared to ES6

- Constants

- More tooling support

- More features

- Upcoming features, like ES7 async/await have polyfills that you can use today (as opposed to CS - https://github.com/jashkenas/coffeescript/pull/3813)

Though I do miss a couple of things:

- The last expression in a block is implicitly returned (nice sugar for functional programming)

- Ranges ([1..10])