News for hackers. Stuff that matters.
Re:Show HN: DataFart - easy command line graphing by AustinGibbons on Saturday December 22, 2012 @02:06PM (#4957200)
A cool tool with an unfortunate name. I'm not going to send a link to datafart.com/mygraph to someone with whom I only have a professional relationship.
Re:Show HN: DataFart - easy command line graphing by aaronpk on Saturday December 22, 2012 @02:09PM (#4957209)
Good point. I'd probably take a screenshot with Skitch and send that. Then it would last longer than 10 minutes too.
Re:Show HN: DataFart - easy command line graphing by paulrosenzweig on Saturday December 22, 2012 @02:09PM (#4957208)
This wasn't really intended to share graphs. In addition to the name, each graph is deleted after 10 minutes.
Re:Show HN: DataFart - easy command line graphing by Scramblejams on Saturday December 22, 2012 @02:34PM (#4957272)
A neat utility. The short-lived nature of the graphs doesn't bother me at all.

But with that name I couldn't even recommend it to a number of people I can think of in my professional circle.

Re:Show HN: DataFart - easy command line graphing by st0p on Saturday December 22, 2012 @04:39PM (#4957566)
Well, then those people have no sense of humor. When people don't have any sense of humor, I'd rather not work with them.

So I'm not seeing any problem here.

Re:Show HN: DataFart - easy command line graphing by jtheory on Saturday December 22, 2012 @06:48PM (#4957900)
I dunno -- most who know me would say I have a sense of humor, but that doesn't mean I think the word "fart" is funny in and of itself, or expect anyone around me to either, beyond my 3-year-old.

I'm also occasionally aware of how others build their concept of me. If someone had known me for years and I recommended this service, I can't imagine it would make any difference.

If we'd had only incidental interactions, this could easily remain the first thing that pops into their head when they think of me in the future. I worked once in the same company as a talented designer who told a hilarious but quite scatalogical story at lunch one day. That's still the main thing that pops into my head when I think of him. I don't know that it'd stop me from recommending or hiring him, but it remains a significant part of how he's defined in my head.

I'm not sure if this makes me seem like a wet blanket, or overparanoid -- my real point is that I have quite a few different filters, and for most parts of my professional life "fart" doesn't make it past at all.

Re:Show HN: DataFart - easy command line graphing by Permit on Saturday December 22, 2012 @04:54PM (#4957607)
>So I'm not seeing any problem here.

I suppose if the target audience of this application is "st0p", then you'd be correct. The rest of us don't necessarily get the luxury of choosing what sort of sense of humor our employers have.

Re:Show HN: DataFart - easy command line graphing by st0p on Saturday December 22, 2012 @05:11PM (#4957661)
Hmmmm. Dunno. If you have baisc experience and a proper grasp of programming and live in the westeren world, you might not know beforehand if an employer had humor, but you can still choose your employer.
Re:Show HN: DataFart - easy command line graphing by Wilya on Saturday December 22, 2012 @05:45PM (#4957749)
If by "basic experience of programming", you mean 10+ years of experience or a Stanford/MIT/Berkeley degree, and by "western world" you mean Silicon Valley (and a few other very select areas, all of them within the US), yeah, I agree.

Outside that, the number of decent opportunities you'll get as a developer will be too low for you to be picky.

Re:Show HN: DataFart - easy command line graphing by wtracy on Sunday December 23, 2012 @01:18AM (#4958802)
There's a world of difference between having no sense of humor, and simply not sharing your sense of humor.
Re:Show HN: DataFart - easy command line graphing by dkokelley on Saturday December 22, 2012 @04:53PM (#4957604)
Not all of us can be so selective with people we work with.
Re:Show HN: DataFart - easy command line graphing by st0p on Saturday December 22, 2012 @05:11PM (#4957664)
Why not?
Re:Show HN: DataFart - easy command line graphing by Scramblejams on Saturday December 22, 2012 @06:30PM (#4957853)
You're being facile.

"Why not?" Because, for example, if you decide you really want to work with frickin' lasers, that may be more important to you than working at a place where clowns are appreciated in all their glory.

Re:Show HN: DataFart - easy command line graphing by anigbrowl on Saturday December 22, 2012 @10:25PM (#4958449)
That's like suggesting someone is illiterate because they no longer care to read books written for small children. Of course, if that's all you're capable of reading, those people must seem pretty stupid.
Re:Show HN: DataFart - easy command line graphing by pfortuny on Sunday December 23, 2012 @02:11PM (#4960295)
Dont' confuse sense of humor with being keen on laughing at brown jokes. Humor for a grown-up person, in an abstract situation (like with professional colleagues) is very difficult to attain.

You can perfectly be unpolite trying to be humorous with this kind of joke.

The easy joke is not necessarily polite and is usually unintelligent: so it is a way of telling the other part "look, laugh at this silly thing" when actually one ought to be able to say "look, laugh at this intelligent joke".

Re:Show HN: DataFart - easy command line graphing by bobbydavid on Saturday December 22, 2012 @04:35PM (#4957551)
The name immediately made me think of German. I checked, and DatenFahrt.com is still available.
Re:Show HN: DataFart - easy command line graphing by hxseven on Sunday December 23, 2012 @11:08AM (#4959751)
That actually makes sense in German, it means something like "data ride".

But as I saw it first I didn't notice the similarity to the German words. I somehow thought it's a reference to South Park ;)

Re:Show HN: DataFart - easy command line graphing by syassami on Saturday December 22, 2012 @02:13PM (#4957221)
just pronounce it "dataf-art"
Re:Show HN: DataFart - easy command line graphing by tsm on Saturday December 22, 2012 @05:36PM (#4957719)
The web dependency situation is absurd. Am I unreasonable for wanting a locally-installed program that produces a standalone window all by itself?
Re:Show HN: DataFart - easy command line graphing by leephillips on Saturday December 22, 2012 @05:47PM (#4957757)
I don't really understand this criticism. It's perfectly reasonable to want to install, for example, gnuplot to be able to do plots without depending on a networked service. But this is neat, and could be convenient if you're on a machine without plotting software installed. He didn't take away your gnuplot by creating this, so really, what's the problem? (On another note, for these types of graphs the gnuplot command is "plot", so I don't see why the author has trouble remembering that.)
Re:Show HN: DataFart - easy command line graphing by readme on Saturday December 22, 2012 @10:31PM (#4958468)
The web dependency is awesome. It makes it that much easier to share the chart with others. Since you're probably on the internet at all times, what exactly is the detractor here?
Re:Show HN: DataFart - easy command line graphing by tsm on Saturday December 22, 2012 @10:34PM (#4958470)
I'm now storing my data on someone else's servers, and they promised to remove it after 10 minutes. Not good for sharing. And if the site is down...I'm out of luck.

Edit: And there's not even a straightforward way of saving the graph...it's not a real image. Do I save it as a webpage? That's inconvenient for embedding it elsewhere. Do I screenshot it? That's cumbersome...

Re:Show HN: DataFart - easy command line graphing by dima55 on Sunday December 23, 2012 @01:09AM (#4958787)
Not unreasonable at all. Here you go:

http://github.com/dkogan/feedgnuplot

Re:Show HN: DataFart - easy command line graphing by wazoox on Sunday December 23, 2012 @05:00AM (#4959103)
Looks great, thank you!
Re:Show HN: DataFart - easy command line graphing by jebblue on Sunday December 23, 2012 @12:05AM (#4958662)
No man, you're not unreasonable at all. I think the winner over the next 30 years will be a happy consolidation of web and local storage, let's hope HTML5 get's it right.
Re:Show HN: DataFart - easy command line graphing by philsnow on Saturday December 22, 2012 @05:47PM (#4957754)
like gnuplot?
Re:Show HN: DataFart - easy command line graphing by yummyfajitas on Saturday December 22, 2012 @05:59PM (#4957779)
Or the following python script:

    import pandas
    from pylab import *

    d = pandas.read_csv(sys.argv[1])
    plot(d[d.columns[0]], d[d.columns[1]])
    xlabel(d.columns[0])
    xlabel(d.columns[1])
    show()
That'll just pop up a window displaying the graph. With 2-3 extra lines of code and more than 30 seconds of effort, I'm sure it would be easy to upload to imgur.

Example output: http://i.imgur.com/m7ooj.png

Re:Show HN: DataFart - easy command line graphing by mdonahoe on Saturday December 22, 2012 @07:30PM (#4957993)
Assuming you have matplotlib installed.

I have definitely wasted an hour in vain trying to install that correctly on an old Mac mini.

Re:Show HN: DataFart - easy command line graphing by alphakappa on Saturday December 22, 2012 @08:20PM (#4958161)
The SciPy Superpack will save you many hours of trouble in the future then. (SciPy, NumPy, MatplotLib etc)

https://github.com/fonnesbeck/ScipySuperpack

Re:Show HN: DataFart - easy command line graphing by tlarkworthy on Saturday December 22, 2012 @07:55PM (#4958085)
words cannot describe how much I hate matplotlib
Re:Show HN: DataFart - easy command line graphing by bsg75 on Saturday December 22, 2012 @11:38PM (#4958594)
Maybe some anecodtes? Alternatives (for Python)? Would like to generate D3 style charts, without leaving Python for JS.
Re:Show HN: DataFart - easy command line graphing by tlarkworthy on Sunday December 23, 2012 @07:49PM (#4961329)
tell me you find any. I use matplotlib as I have not found an alternative.
Re:Show HN: DataFart - easy command line graphing by Quiark on Sunday December 23, 2012 @06:17AM (#4959212)
I, on the other hand, totally love matplotlib
Re:Show HN: DataFart - easy command line graphing by joe_bleau on Saturday December 22, 2012 @03:07PM (#4957344)
Super picky FYI: there's no connection to GNU, so it's "gnuplot", not "GNU Plot". (FAQ entry: http://www.gnuplot.info/faq/faq.html#SECTION0003200000000000...)
Re:Show HN: DataFart - easy command line graphing by paulrosenzweig on Saturday December 22, 2012 @04:19PM (#4957507)
Thanks! I assumed it was part of GNU. I made the change, but the page is cached, so it might take a while to update.
Re:Show HN: DataFart - easy command line graphing by danso on Saturday December 22, 2012 @03:07PM (#4957346)
Don't know if I have a use case for datafart, but it did point me to a new d3 wrapper I hadn't yet heard of

http://nvd3.org/

Will have to play around with it...still trying to find that perfect line between lightweight and convenient

Re:Show HN: DataFart - easy command line graphing by pyre on Saturday December 22, 2012 @05:44PM (#4957745)
There was recent discussion on HN when the company tried to revoke its ggpl license, but then renegged.
Re:Show HN: DataFart - easy command line graphing by kingfishr on Saturday December 22, 2012 @03:43PM (#4957425)
You could also do this without a server at all. You could just have a script put your data into the html/js template and open up the page with something like bcat.

http://rtomayko.github.com/bcat/

Re:Show HN: DataFart - easy command line graphing by fellowniusmonk on Saturday December 22, 2012 @06:09PM (#4957803)
Isn't the point not having to worry about presentation and messing the templates? Perhaps I just don't have your command line fu but I don't see how I could do what you are talking about in a single line/simply.
Re:Show HN: DataFart - easy command line graphing by paulrosenzweig on Saturday December 22, 2012 @04:22PM (#4957516)
That's pretty awesome. I hadn't seen it before. DataFart has the one advantage that you don't need to pipe the data in locally. If the source data is on your local machine, this is a much better solution.
Re:Show HN: DataFart - easy command line graphing by gcmartinelli on Saturday December 22, 2012 @05:23PM (#4957687)
Plenty of downvotes coming my way, but: good job sir, on that startup name.
Re:Show HN: DataFart - easy command line graphing by fragsworth on Saturday December 22, 2012 @07:01PM (#4957923)
The notion that it's the name of his startup is pretty hilarious, but I think it's just a name for a command line tool
Re:Show HN: DataFart - easy command line graphing by jbackus on Sunday December 23, 2012 @11:35AM (#4959823)
What an outrageous name for a command line graphing tool. I'm honestly curious, why?
Re:Show HN: DataFart - easy command line graphing by joelhaasnoot on Saturday December 22, 2012 @03:32PM (#4957393)
This would be even better if it supported dates. In my day job I'm struggling to find tools for plotting time-based data nicely and efficiently. Splunk works, but only if you have that.
Re:Show HN: DataFart - easy command line graphing by mikegioia on Saturday December 22, 2012 @04:46PM (#4957582)
HighCharts (http://www.highcharts.com) handles dates pretty well.
Re:Show HN: DataFart - easy command line graphing by mturmon on Sunday December 23, 2012 @12:38PM (#4960007)
Seconded. I'm able to plot thousands of date-tagged points with good responsiveness to zooms, and per-point popups-on-mouseover showing more information about each point.
Re:Show HN: DataFart - easy command line graphing by dfc on Saturday December 22, 2012 @03:44PM (#4957427)
Gnuplot?
Re:Show HN: DataFart - easy command line graphing by Void_ on Saturday December 22, 2012 @04:08PM (#4957479)
Related idea: Python library that would render graph in Node.js using D3/NVD3 generating an SVG.

Is there any such thing?

Re:Show HN: DataFart - easy command line graphing by yummyfajitas on Saturday December 22, 2012 @05:54PM (#4957769)
Well, there is a python library that will render nice graphs on your computer in a variety of formats (on the screen, as a png/jpg/svg, etc).

http://matplotlib.org/

I'm not sure what rendering it in Node.js/D3 buys you on top of that.

Re:Show HN: DataFart - easy command line graphing by Void_ on Saturday December 22, 2012 @06:40PM (#4957876)
Dunno, maybe you could make the transition from static file to interactive interface more easily? Or maybe I just find those graphs much better looking.
Re:Show HN: DataFart - easy command line graphing by infinite8s on Saturday December 22, 2012 @06:38PM (#4957872)
Re:Show HN: DataFart - easy command line graphing by hk__2 on Saturday December 22, 2012 @02:05PM (#4957196)
Why don’t you use a format like CSV?
Re:Show HN: DataFart - easy command line graphing by paulrosenzweig on Saturday December 22, 2012 @02:08PM (#4957204)
That's a good idea. My immediate use case only involved whitespace delimited data, but I might as well just scan each line for numbers.
Re:Show HN: DataFart - easy command line graphing by wookietrader on Saturday December 22, 2012 @02:15PM (#4957229)
I don't have any output. No url is returned. :( Idea sound pretty cool, I'd use it.
Re:Show HN: DataFart - easy command line graphing by rossj on Saturday December 22, 2012 @03:37PM (#4957409)
Make sure your numbers are space separated rather than comma separated, you could pipe your data through sed like..

cat myfile.csv | sed 's/,/ /g' | curl --data-binary @- datafart.com

Re:Show HN: DataFart - easy command line graphing by niggler on Saturday December 22, 2012 @03:46PM (#4957430)
You don't need cat:

    <myfile.csv sed 's/,/ /g' | ...
Re:Show HN: DataFart - easy command line graphing by mrud on Saturday December 22, 2012 @05:45PM (#4957750)
sed 's/,/ /g' myfile.csv | ... works as well
Re:Show HN: DataFart - easy command line graphing by naftaliharris on Saturday December 22, 2012 @04:48PM (#4957586)
Awesome! I love how cheeky this is. The installation instructions are sweet.
Re:Show HN: DataFart - easy command line graphing by aaronpk on Saturday December 22, 2012 @02:01PM (#4957186)
This is awesome. Thanks!
Re:Show HN: DataFart - easy command line graphing by mcartyem on Sunday December 23, 2012 @08:44PM (#4961467)
It's great. I wanted this literally two days ago.
Re:Show HN: DataFart - easy command line graphing by tharshan09 on Saturday December 22, 2012 @02:16PM (#4957231)
how does the alias work? Are you routing the data from the shell to a certain api end point?
Re:Show HN: DataFart - easy command line graphing by jat850 on Saturday December 22, 2012 @02:20PM (#4957242)
The alias employs curl to send data to the server hosted at datafart.com. The parameter @- supplied to curl means, send the data on stdin as the body of the request. So the user, via the alias, sending data to the server where it is processed, and the curl response is a URL to the temporary location of a viewable plot.
Re:Show HN: DataFart - easy command line graphing by gprasanth on Sunday December 23, 2012 @12:06AM (#4958666)
What?? No!! You should always have option to fart silently.

one https, and one make-private-ability please! :P

Nice project.