Giter Site home page Giter Site logo

kata04's Introduction

Build Status

Kata04 App

Application for the Kata04 exercise.

http://codekata.com/

Why Dart?

I like Dart because it's a modern programming language. Most people associated it with client-side web programming, but Dart also has a powerful server side VM, which I use for this project.

This is a command line dart app (bin/kata.dart) which calls into a library. The library handles data parsing and queries. It supports one predefined query 'smallest_spread' which can be run against any loosely columned textual data that contains a well-formed header row.

The library can be found here: https://github.com/prujohn/kata04-util

Assumptions

That you have dart installed. www.dartlang.org

Usage

dart kata.dart --help

Running A Query

For the weather.dat file:

dart kata.dart --ignorelast --query=smallest_spread --url=http://codekata.com/data/04/weather.dat --cols=MnT,MxT --disp=Dy --coerce

For the football.dat file:

dart kata.dart --query=smallest_spread --url=http://codekata.com/data/04/football.dat --cols=F,A --disp=Team --coerce

Compliance

Use Gradle wrapper

Dart uses a package/manifest tool called "pub" for this. See pubspec.yaml

Set up a basic project

Done.

Package your project, complete with manifest information

Dart's pub tool handles this. See pubspec.yaml

Have a proper dependency handling to external libraries

Dependencies are listed in pubspec.yaml

Publish Test Report, also, print test execution outcome to command line so it's visible on the Travis CI console log

Done.

kata04's People

Contributors

atebitftw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.