News for hackers. Stuff that matters.
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:04AM (#5448861)
Hey everyone! Dashing creator here. Thanks for the frontpage :)

I have good news for you all. Dashing will be evolving soon to support multiple backends. Already there are ports being written for python, perl, .net, and also better rails integration. Stay tuned!

P.S: Sorry for the downtime. Was not expecting frontpage. While I work on getting it stable, enjoy this screenshot: http://cl.ly/image/321Y2V361X1r

Re:Dashing - A dashboard framework by ollysb on Wednesday March 27, 2013 @08:16AM (#5448915)
It looks really good. We're just about to start building a dashboard so this could be really useful. We're using emberjs though, is it possible to use just the views and the layout code? I'm thinking along the lines of a dashboard bootstrap.
Re:Dashing - A dashboard framework by sync on Wednesday March 27, 2013 @01:33PM (#5450774)
I think you want gridster then: http://gridster.net/
Re:Dashing - A dashboard framework by ollysb on Wednesday March 27, 2013 @03:10PM (#5451378)
Thanks, that looks perfect!
Re:Dashing - A dashboard framework by kposehn on Wednesday March 27, 2013 @06:19PM (#5452349)
I'm going to use this literally the moment you release rails support. Hell, let me beta test it!

We have a platform that really needs this, so I'm looking forward to using it immensely.

Re:Dashing - A dashboard framework by JohnLBevan on Wednesday March 27, 2013 @09:20AM (#5449199)
Great work - this looks amazing. Do you have a mailing list I can subscribe to to get notification of when the .net version becomes available? Thanks!
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @09:28AM (#5449239)
Re:Dashing - A dashboard framework by samirahmed on Wednesday March 27, 2013 @01:15PM (#5450649)
It would be nice to have a github org for dashing and all its ports. That could take some of the burden of all the ports off of you.

I know its part of shopify organization now, but there is a lot of interest I know I would love to contribute to other backends as well

Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @04:42PM (#5451901)
They won't be maintained by Shopify. Only the frontend & ruby backend will be under Shopify.
Re:Dashing - A dashboard framework by frankdenbow on Wednesday March 27, 2013 @12:01PM (#5450178)
Looks good. I have used geckoboard in the past but would like to customize my own internal dashboard to use this. Kudos for using Sinatra!
Re:Dashing - A dashboard framework by endtime on Wednesday March 27, 2013 @10:08PM (#5453055)
How do I stay tuned for the Python version?
Re:Dashing - A dashboard framework by endtime on Thursday March 28, 2013 @12:14AM (#5453317)
Re:Dashing - A dashboard framework by tudorconstantin on Thursday March 28, 2013 @09:18AM (#5454579)
do you have the link to the perl port? thx
Re:Dashing - A dashboard framework by taude on Wednesday March 27, 2013 @08:58AM (#5449107)
Everyone complaining about the Flat UI. Isn't the use case for something like this to be displayed on a TV or large monitor around the office anyway? Seems like one place where the flat UI would be OK.

I'm not a Win 8 fan by any means, but I think this dashboard looks good. The bright/contrasty colors are exactly what are needed to broadcast metrics across the office.

Re:Dashing - A dashboard framework by pestaa on Wednesday March 27, 2013 @09:45AM (#5449324)
Bright colors are exactly what are needed when something needs attention. This just yells "look, your most important metric just went up by 0.007%!"
Re:Dashing - A dashboard framework by DoubleCluster on Wednesday March 27, 2013 @08:32AM (#5448981)
Exceptionally handsome if you like Windows 8 perhaps. I don't like the big rectangles with bright colors. A good dashboard should be almost invisible until something important happens.
Re:Dashing - A dashboard framework by davefp on Wednesday March 27, 2013 @10:02AM (#5449403)
Dashing contributor here: That's great, the default style isn't supposed to be a one-size-fits-all solution, and it's definitely not trying to dictate design decisions.

The real meat of the project is the underlying messaging that passes your data from the server to multiple clients.

You write a job that calls send_data, and Dashing takes care of the rest. There's room for as much customization as you like on the front end.

Re:Dashing - A dashboard framework by SEJeff on Wednesday March 27, 2013 @09:43PM (#5452986)
Are there any plans to have native graphite input widgets? This is super cool: http://thomasvm.github.com/blog/2012/11/19/bling-dashboards-...

But I don't understand why native graphite widgets aren't in dashing. These two projects (graphite + dashing) are literally made for eachother.

Re:Dashing - A dashboard framework by davefp on Wednesday March 27, 2013 @11:21PM (#5453205)
Dashing was built to run the internal dashboards here at Shopify. As such it's biased towards our existing technology stack. Seeing as we don't use graphite, we had no need to include widgets that support it.

That's why we want people to submit third-party widgets and jobs. We can't cater to all environments ourselves, but others can help out and share their own.

Re:Dashing - A dashboard framework by kgosser on Wednesday March 27, 2013 @09:40AM (#5449289)
What terrible trolling. Just change the CSS template! Gah.
Re:Dashing - A dashboard framework by pestaa on Wednesday March 27, 2013 @09:43AM (#5449307)
Is it trolling, though? Why should I see the potential in this dashboarding utility when there are dozens out there understanding the benefits of good visualizations, using proper colors for different situations?
Re:Dashing - A dashboard framework by mnicole on Wednesday March 27, 2013 @11:10AM (#5449824)
Because it takes a few minutes of time you're already going to spend implementing it for a someone to change it?
Re:Dashing - A dashboard framework by louthy on Wednesday March 27, 2013 @10:21AM (#5449523)
Ironically it doesn't work on IE10 on Win8.
Re:Dashing - A dashboard framework by birchbird on Wednesday March 27, 2013 @04:25PM (#5451791)
Well it's always good to jump on the latest trend, you know. Many apps, including Chrome, are adopting this design style.
Re:Dashing - A dashboard framework by silverbax88 on Wednesday March 27, 2013 @08:38AM (#5449008)
I love the idea of a dashboard framework but under no circumstances am I going to make it harder on my users by adopting that Live tiles nonsense. Will be glad when that trend quickly runs its course.
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:41AM (#5449019)
Good thing the css is completely customizable :)
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:34AM (#5448987)
Come on man! Drink the koolaid and jump on the flat design bandwagon :P
Re:Dashing - A dashboard framework by 8ig8 on Wednesday March 27, 2013 @07:18AM (#5448726)
This popped up a few months ago. Unfortunately, not much discussion:

https://news.ycombinator.com/item?id=4718311

Re:Dashing - A dashboard framework by antileet on Wednesday March 27, 2013 @07:59AM (#5448846)
Well, maybe you can take a look at another dashboard framework I wrote. It uses PHP, pulls data directly from MySQL and works seamlessly on mobile browsers, tablets. :)

http://razorflow.com

Adding support for Google Analytics and Excel in the next two weeks!

Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:17AM (#5448919)
I like it! I think Dashing and Razorflow serve 2 different purposes though. Yours is more of a hands-on & drilldown type dashboard, whereas Dashing is much more optimized for being readonly on a large TV.
Re:Dashing - A dashboard framework by antileet on Wednesday March 27, 2013 @08:24AM (#5448954)
Actually, we are working on adding support for TV/Kiosk mode where the components update the data regularly, and you aren't limited to showing only one set of components. The dashboard will slowly and automatically cycle through all different components so even if you have more widgets than your screen can handle, it'll still work better than not being able to work at all.

The main difference is that Dashing is focusing more on current KPIs and Metrics. While we believe that those are crucially important, sometimes they just aren't enough for people who have data that's too much to get condensed down to a single indicator.

Re:Dashing - A dashboard framework by SwaroopH on Wednesday March 27, 2013 @08:42AM (#5449028)
I have been using Razorflow myself and impressed with it so far.
Re:Dashing - A dashboard framework by benaston on Wednesday March 27, 2013 @06:57AM (#5448679)
Looks great. Wish it used JavaScript instead of CoffeeScript to lower the barrier to entry though.
Re:Dashing - A dashboard framework by vidarh on Wednesday March 27, 2013 @08:31AM (#5448977)
I dislike CoffeeScript as much as the next guy, but the most complicated widget is 35 lines of CoffeeScript, most of which is pretty much identical to what the JS would be. There looks to be less than 100 lines of CoffeeScript outside of the widgets. If there's a project where I can overlook the use of CoffeeScript this is it...
Re:Dashing - A dashboard framework by thibaut_barrere on Wednesday March 27, 2013 @07:16AM (#5448724)
Interestingly for me it's the reverse: using CoffeeScript lowers the barrier to entry :-)
Re:Dashing - A dashboard framework by k__ on Wednesday March 27, 2013 @07:20AM (#5448732)
dafuq?
Re:Dashing - A dashboard framework by masukomi on Wednesday March 27, 2013 @07:47AM (#5448804)
I would not be surprised if spinning up on CoffeeScript was easier for beginners without real JavaScript experience.
Re:Dashing - A dashboard framework by thibaut_barrere on Wednesday March 27, 2013 @09:57AM (#5449380)
It was much easier to get started to CoffeeScript for me, and learning it made me much more comfortable with writing JavaScript directly straight after.
Re:Dashing - A dashboard framework by k__ on Wednesday March 27, 2013 @08:25AM (#5448963)
yeah, probably. Dunno if it's a good thing, that people start with a transcompiled language...
Re:Dashing - A dashboard framework by endtime on Wednesday March 27, 2013 @10:23PM (#5453089)
That's just an implementation detail. CoffeeScript has syntax and semantics every bit as valid as JS's.
Re:Dashing - A dashboard framework by k__ on Thursday March 28, 2013 @05:02AM (#5453858)
True story. JavaScript seems like a mix of C and Scheme CoffeeScript seems like a mix of Ruby and Python
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @07:58AM (#5448841)
You can still use plain old JavaScript if you want.
Re:Dashing - A dashboard framework by pstinnett on Wednesday March 27, 2013 @08:59AM (#5449110)
For anyone interested in only the grid/rearranging js behind this: http://gridster.net/
Re:Dashing - A dashboard framework by jonahx on Wednesday March 27, 2013 @08:14AM (#5448903)
Is batman.js supposed to be an alternative to angular? If so, what advantages does it have?
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:22AM (#5448947)
Disclaimer: I work on the batman.js team

It's an alternative to ember, angular, knockout, backbone, and all those other client side MVC frameworks.

Its main advantage is that it should be very familiar to a Rails developer. The APIs are very close to what you'd find in Rails, so it should be quick to get into it. Shopify, which is built in RoR, now is completely client-side powered by Batman.js. The project was extracted from that.

Re:Dashing - A dashboard framework by jonahx on Wednesday March 27, 2013 @09:50AM (#5449345)
hey pushmatrix, thanks for replying.

does batman.js have anything like angular's custom directives? are there any other features/advantages a possible adopter should know about besides the similarity to a Rails API?

EDIT: or perhaps phrased a slightly different way: why did you guys decide to create this instead of just using angular or one of the other existing options? or was this created before those options existed or had reached a mature state?

Re:Dashing - A dashboard framework by robotmay on Wednesday March 27, 2013 @08:17AM (#5448918)
It's pretty well mapped to Rails and has some of the better documentation as far as JS MVC frameworks go. However there were a few problems I found with it, like the view bindings being somewhat slow if you're doing a lot of rapid updates (though that's likely not unique to batman.js).
Re:Dashing - A dashboard framework by jbrooksuk on Wednesday March 27, 2013 @07:51AM (#5448816)
We wrote our own Dashboard at my current place, but it's nothing as nice as this!
Re:Dashing - A dashboard framework by fidz on Wednesday March 27, 2013 @09:03AM (#5449128)
This is great demo. But i really don't know, do everyone have the same use case? There is so many library that work great in demo, but doesn't suit my use case. I hate to build my own library (if i am able to use existing lib, why creating new?), but i must do this because some library/framework isn't really customizable. The time cost between customizing existing lib and creating new lib is the same, so i prefer to create my own library most of my time.
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @09:11AM (#5449150)
I've used other dashboards before, and I found that they are really limiting. For the most part it's because you can't customize the look that much, or it's because you're limited to a list of predefined widgets.

At Dashing's core, it's just a really simple way to fetch data and send it to the client. What you do with that data, and how you display it is up to you. Hopefully the default layout and widgets act as a good starting point.

Re:Dashing - A dashboard framework by davefp on Wednesday March 27, 2013 @09:58AM (#5449383)
I think that you'll find Dashing very flexible. You can fetch whatever data you need, and display it however you like.

At its core, Dashing is just a promise that all your data makes it to all your dashboards.

Re:Dashing - A dashboard framework by szajbus on Wednesday March 27, 2013 @06:35AM (#5448629)
We're using dashing to present some internal information about our company's cashflow.

We built a second application (in Rails) that collects data from various sources, stores and transforms it, and then exposes it via API for dashing to use.

So in our case, dashing is a neat presentation layer and it serves its role very well.

Re:Dashing - A dashboard framework by zzzzz_ on Wednesday March 27, 2013 @06:57AM (#5448677)
Both of your demos are returning errors...
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:08AM (#5448876)
I was sleeping when I got news of Dashing being at the top :S. Haha. While I work on getting it stable, enjoy this screenshot: http://cl.ly/image/321Y2V361X1r
Re:Dashing - A dashboard framework by barranger on Wednesday March 27, 2013 @08:53AM (#5449078)
While I'm sure it looks fantastic on a dedicated monitor/tv, it's lack of a responsive layout limits it's use in my books

Looking at something like http://dash.social-biblio.ca/torontolibrary on a sub 1080p monitor is less than optimal.

Re:Dashing - A dashboard framework by davefp on Wednesday March 27, 2013 @01:10PM (#5450621)
We experimented with making the default layout responsive, but ultimately decided against it.

The thinking was that displaying exactly the same data on a TV, desktop, and mobile device isn't ideal. The dashboard is designed specifically for the display. If a mobile version is needed, then the relevant widgets can easily be put into a new, mobile-optimized dashboard.

The same could be achieved with carefully designed media queries, but I feel that separate dashboards do the job better.

Re:Dashing - A dashboard framework by cmdkeen on Wednesday March 27, 2013 @07:13AM (#5448719)
This has made me sad because we're too far down a far uglier, and less functional route at work to change.
Re:Dashing - A dashboard framework by jalada on Wednesday March 27, 2013 @12:49PM (#5450489)
Coincidentally just started using this today. I've got a couple of widgets/jobs I'm hoping to share for re-use. Some on the wiki are out of date e.g. the Twitter ones that don't support Oauth will stop working soon.
Re:Dashing - A dashboard framework by davefp on Wednesday March 27, 2013 @12:59PM (#5450560)
Please do! If you want to add widgets with functionality similar to existing ones, please add details of the difference s to the description (e.g. 'Uses OAuth' for Twitter').
Re:Dashing - A dashboard framework by skore on Wednesday March 27, 2013 @08:33PM (#5452785)
Dashboards! For when you don't know what to put on the screen that users will click away for what they actually want! /s
Re:Dashing - A dashboard framework by swah on Wednesday March 27, 2013 @08:28AM (#5448970)
It would be interesting if the browser on SmartTVs rendered this properly, then you don't need a PC just for this...
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:31AM (#5448978)
Actually it does run on SmartTVs :). All of our displays at Shopify run this way.

The browser on SmartTVs really suck, and also don't support 1080p for some reason. Since the tv SDK is html/js, I built a super simple app that can point to any Dashing instance, and even use the remote control to switch between dashboards! Super handy.

I will be releasing that functionality soon as a plugin for Dashing.

Re:Dashing - A dashboard framework by toddmatthews on Wednesday March 27, 2013 @08:04AM (#5448860)
I'm not a rails guy....why does something so cool looking have to be so closely coupled to a rails backend?
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:05AM (#5448867)
Not a rails backend. It's sinatra, so there's WAY less magic going on. A beginner rubyist should be able to grok most of the (tiny) source.

That being said, I'm working on decoupling the frontend and backend, which will see implementations in other languages.

Re:Dashing - A dashboard framework by toddmatthews on Wednesday March 27, 2013 @08:11AM (#5448889)
giddyup!
Re:Dashing - A dashboard framework by namenotrequired on Wednesday March 27, 2013 @07:31AM (#5448762)
Points from me even if just for the name alone :) Looks great, wish I could think of a use for it!
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:12AM (#5448892)
Re:Dashing - A dashboard framework by okor on Thursday March 28, 2013 @10:41AM (#5455034)
Fantastic. Real time server stats with Dashing and a cheap plug computer would be great.
Re:Dashing - A dashboard framework by cincinnatus on Wednesday March 27, 2013 @07:41AM (#5448787)
Doesn't seem to handle load very well, though normall I guess it wouldn't need to.
Re:Dashing - A dashboard framework by masukomi on Wednesday March 27, 2013 @07:46AM (#5448802)
The demo is probably running on a free heroku instance which means a single thread on an itsy-bitsy EC2 instance. At the top of HN we're talking at least 500 concurrent visitors... on a single thread.
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @08:00AM (#5448851)
Bingo. It's on the free heroku, hence the trouble staying alive. Here's an image of what the demo looks like: http://cl.ly/image/321Y2V361X1r
Re:Dashing - A dashboard framework by Ecio78 on Wednesday March 27, 2013 @06:59AM (#5448682)
Couldnt load the demo on Heroku, probably too few dynos for all the HN traffic...
Re:Dashing - A dashboard framework by biznickman on Wednesday March 27, 2013 @10:54AM (#5449722)
Where's documentation of how to use the graph widget?
Re:Dashing - A dashboard framework by davefp on Wednesday March 27, 2013 @01:17PM (#5450659)
The graph widget is based on Rickshaw (http://code.shutterstock.com/rickshaw/).

The current implementation requires you to send an array of hashes with the x and y co-ordinates you want to plot.

Here's the example job where you can see it in action: https://github.com/Shopify/dashing/blob/master/templates/pro...

Re:Dashing - A dashboard framework by jheimark on Wednesday March 27, 2013 @07:05AM (#5448700)
this looks lovely. can't wait to use it for internals
Re:Dashing - A dashboard framework by richoffrails on Wednesday March 27, 2013 @11:07AM (#5449807)
I don't get it. Why is something at the UI level coupled to a server-side framework?
Re:Dashing - A dashboard framework by szalansky on Wednesday March 27, 2013 @11:16AM (#5449872)
Me neither and this is somehow scary. I'd prefer just an UI kit with guidelines for integration with backend.
Re:Dashing - A dashboard framework by pushmatrix on Wednesday March 27, 2013 @11:46AM (#5450078)
Because it is meant to be a full stack framework.

Also, it's not really a UI kit. Although it comes with premise widgets and styles, these are just suggestions. The real meat is how the data gets to your widgets, letting you do whatever you want with it. That structure is the core of Dashing.

However, there is a decoupled version in the works with the integration guidelines you mention.

Re:Dashing - A dashboard framework by watty on Wednesday March 27, 2013 @02:30PM (#5451145)
Check out Gridster.js then - http://gridsterjs.net
Re:Dashing - A dashboard framework by joevandyk on Wednesday March 27, 2013 @04:18PM (#5451743)
The server-side code needs to generate the server-sent events. You can probably switch it out easily.
Re:Dashing - A dashboard framework by camus on Wednesday March 27, 2013 @08:21AM (#5448943)
nice , a few glitches here and there but definetly usefull.
Re:Dashing - A dashboard framework by jmgunn87 on Wednesday March 27, 2013 @07:58PM (#5452693)
that's awful. css and some javascript? do we really need anymore head-up-arse code junk floating around our heads right now? every five minutes there is a new javascript plugin/distraction that claims to change our lives. When will you people get a life and start solving real problems?
Re:Dashing - A dashboard framework by jmgunn87 on Wednesday March 27, 2013 @07:59PM (#5452701)
frankenstein coding, glue this sinatra dashboard to you php symfony "instance" and upload to s3. why waste our time? where are the integration points for this and who is really going to use it? Do i pitch this to my boss?
Re:Dashing - A dashboard framework by crcastle on Thursday March 28, 2013 @01:54AM (#5453487)
I did. And he said build it! We did, and employees have commented that they like the daily visibility in to company metrics they previously knew very little about.