Giter Site home page Giter Site logo

pome's People

Contributors

d0ugal avatar dustindoiron avatar gitter-badger avatar jabbors avatar jobv avatar layterz avatar lym avatar mattn avatar rach avatar strongref avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pome's Issues

gzip the metrics api endpoint

As the application keep running the json returned is getting bigger.
There's quite a lot of repetition in the json keys so gzip it should help.

Scan error

Tried starting it up and got the following error:

2016/01/05 10:33:02 Starting Pome 0.1.0
2016/01/05 10:33:02 Application will be available at http://127.0.0.1:2345
2016/01/05 10:33:02 sql: Scan error on column index 3: converting string "6.55917056e+08" to a int: strconv.ParseInt: parsing "6.55917056e+08": invalid syntax

Could it be because of our use of bigints?

Bar chart mouseover is handled outside react

This is be plug back into the react/redux machinery using dispatch or action. I was initially worried about redrawing all the graphs.. It needs to be investigated further

  .on("mouseover", (d, i) => {
    //this should use action dispatch to update the state
    var t = datetimeFormat(new Date(xdata[i] * 1000));
    JQuery(React.findDOMNode(that)).find('.bar-value').text(t + " => " + yFormatter(d));
  })
  .on("mouseout", (d, i) => {
    //this should use action dispatch to update the state
    JQuery(React.findDOMNode(that)).find('.bar-value').text("");
  });

Dockerfile

What about adding a dockerfile for deploying this to a server?

url is shorten

i can't connect probably because the url is shorten

$ pome xxxxxxxx:xxxxxxxxxxxxxxxx@ec2-xx-xxx-xxx-xxx.xx-xxxx-x.xxxxxxxx.xxxxxxx.com:5432/xxxxxxxx
2016/01/07 14:03:15 Starting Pome 0.1.1
2016/01/07 14:03:15 Application will be available at http://127.0.0.1:2345
2016/01/07 14:03:15 pq: database "pome xxxxxxxx:[email protected]" does not exist

(anonymized console)

ParseInt error when scanning table

2016/01/05 11:42:24 Starting Pome 0.1.0
2016/01/05 11:42:24 Application will be available at http://127.0.0.1:2345
2016/01/05 11:42:24 sql: Scan error on column index 3: converting string "1.1198464e+07" to a int: strconv.ParseInt: parsing "1.1198464e+07": invalid syntax

Using version 804786e

Gzip the assets

Also doing some testing on it's more efficient.
Currently the Js concatenated file is too big

Generate bindata on build

Right now, changing the web source does nothing if you don't run go-bindata and create a new bindata.go file. I think this is probably a bit confusing to people looking to expand on the project and a bit of a VCS-antipattern. Typically with projects that use generated source code (see protobuf, thrift, etc), there is a "gen" stage that is done before the "build" stage.

We could implement this with a Makefile that builds bindata.go.

Let me know how you feel about this.

-p is not database port

pome/main.go

Line 31 in 3c140aa

port = app.Flag("port", "database server port (default: 2345)").

should fix usage or change option name to -P instead of -p. because someone may want real -p for connecting database with custom port.

Add option to use a different web root

It should be possible to service static content and request under a different web root then the default /.

This would simplify setting up the service behind a nginx or Apache2 proxy under different location, e.g. /pome

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.