Profile cover photo
Profile photo
Tomochika Hara
35 followers -
Server side engineer to be interested in domain modeling, functional language.
Server side engineer to be interested in domain modeling, functional language.

35 followers
About
Tomochika's posts

Post has shared content
Something I've been playing with: an interpreter for a multi-stage version of Dart.

Multi-stage programming is like programming with backquote, comma and eval in scheme except that variables occuring in quoted expression are statically bound, as in MetaML [1]. Code is quoted with <expr>, spliced with ~expr and run with run(expr).

Multi-stage allows for the specialization of functions. For instance, in the linked example (it's an interactive demo, you can play with it), the spow method is an annotated version of the pow method which allows for specialization of its second argument. The scube method specializes it for n = 3. You can see in the output that it evaluates to (x) => x*x*x*1, and not (x) => pow(x, 3) as the cube method (the partial application of pow to 3) does. Imagine a program where scube is used many times: it's a net win over cube!

The language of the demo is a very small, purely functional and strict subset of Dart.

Of course the whole thing is written in Dart :)

[1]: http://www.cs.rice.edu/~taha/MSP/

Post has shared content
Congrats!
Dart SDK 1.0 is now available. Thank you to our community, early adopters, testers, and everyone that provided feedback.

More details and links to partners: http://blog.chromium.org/2013/11/dart-10-stable-sdk-for-structured-web.html

Congrats to everyone, and enjoy!
Photo

Post has shared content

Post has shared content
Dart, anywhere.
Dart runs on the client and server. Follow this simple step-by-step guide to make your own form with Polymer & custom elements, and submit the form to a Dart server. Have fun!

http://blog.sethladd.com/2013/09/forms-http-servers-and-polymer-with-dart.html

#dartlang  
Photo

Post has shared content
Awesome!
Discover beautiful vector shapes with this production Dart app. Try it now at: http://vectorshapes.com/

Thanks to Peter Schonefeld for the app.
Photo
Photo
2013-09-18
2 Photos - View album

Post has shared content
Track power outages in New Zealand with this production Dart app.

Feedback like this, from +Terry Warwar, makes me really happy:

"Hi Seth, here's another pure Dart app I recently released http://pnp.countiespower.co.nz/index.html . Libraries used include dart google maps, lawndart and web_ui.  *I can't express enough the joy of programming in Dart and the way the libraries work smoothly together.*"

#dartlang  
Photo

Post has shared content
IE・・・

Post has shared content
Polymer.dart, the next evolution of Web UI, is well underway. Check out how to build your own custom elements, use data binding, and more.

Polymer.dart is an in-progress port of Polymer. We are currently focused on making Polymer Core and Polymer Foundation available to Dart developers, and gaining feature parity with Web UI.

From initial reports, we have almost achieved feature parity with Web UI. Already, Polymer.dart has a better development experience: no code generation during development and better Shadow DOM emulation. If you've tried Polymer.dart, we appreciate your feedback.

Learn more at http://www.dartlang.org/polymer-dart/

#dartlang  
Photo

Post has shared content
The weather early warning in Nagoya city, Japan.
The word would be confuse most of citizen except software engineers...
We definitely need Maybe or Option type :(

Post has shared content
You can get published on dartlang.org

If you know Dart and databases, read on...

We've surveyed the community, and it's clear developers want to know how to connect to databases using Dart. Dart has drivers to MySQL, Postgresql, Mongo, Redis, and more.

If you want to contribute to the Dart community, writing an article on connecting to various different databases would really help. The site is open source and accepting pull requests.

Just ask +Chris Buckett, who wrote our popular "JSON and Web Services" article.

Here's the site: https://github.com/dart-lang/dartlang.org  It uses Jeckyll and markdown.

#dartlang  
Wait while more posts are being loaded