This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-12
Channels
- # admin-announcements (2)
- # aleph (2)
- # arachne (16)
- # beginners (33)
- # boot (20)
- # bristol-clojurians (6)
- # capetown (4)
- # cider (50)
- # clojure (74)
- # clojure-austin (4)
- # clojure-canada (1)
- # clojure-china (2)
- # clojure-czech (1)
- # clojure-greece (1)
- # clojure-poland (4)
- # clojure-quebec (5)
- # clojure-russia (5)
- # clojure-spec (34)
- # clojure-uk (45)
- # clojurescript (131)
- # cursive (4)
- # datascript (2)
- # datomic (9)
- # editors (2)
- # emacs (2)
- # hoplon (173)
- # jobs (5)
- # lein-figwheel (3)
- # leiningen (1)
- # off-topic (1)
- # om (44)
- # onyx (8)
- # proton (10)
- # re-frame (81)
- # reagent (23)
- # untangled (57)
- # vim (2)
- # yada (8)
Morning.
New github font, my life will never be the same
-apple-system
seems like a terrible font choice, at the size they used it looked like it had gigantic letter spacing
Question to start the day off. I'm writing a little CLI utility and want to output graphs as images - SVGs, PNGs, whatever really. Any recommendations as to best libraries etc to use? Most of my graphing has been with HighCharts on the web, but I specifically don't want this web enabled at present.
Clojure+JVM+CLI =
Life is too short for those startup times
Well, the CLI would actually work on a scheduled basis rather than on demand.
@paulspencerwilliams: dali writes to files, but it provides the most help for diagrams, not so much graphs. So no facilities for axes, scaling of data etc. It's not a d3 replacement
Cheers @thomas, I'd started looing at https://github.com/liebke/analemma
@paulspencerwilliams: I’ve done a fair bit of shelling out to gnuplot - it’s such a simple format you don’t really need a library
Hmm - I was going to point to how aphyr does this in jepsen, but it seems he’s extracted it to a library: https://github.com/aphyr/gnuplot
"A really simple Clojure interface to Gnuplot. Useful when you just wanna plot some points. A lot of points. More points than Incanter or Analemma can reasonably handle."
You obviously get the gnuplot binary as a dependency, so it’s not useful for lots of use cases - it’s quite nice for server-side graphing when you control the server (and it’s a unix server 🙂 )
Cheers @korny I was hoping for a pure jvm style approach tbh and won't need vast amounts of points but I'll have a play.
Cool - gnuplot is not so applicable then. Myself, if I want a quick pretty graph I usually end up spitting out some JSON and then using a web browser and D3
@paulspencerwilliams: You could possibly switch to planck once stathis has added cljs support. That would make the cli a lighter load.
@dominicm: good call on plank. There will eventually be another on demand cli that pushed data into a db, and won't need graphing etc. Plank would be ideal for that.
Man, UK summers. Is there anything more depressing?
@martintrojer: Don’t ask questions like that…
well, there is the next decade in the UK. Almost as pitch black.
I still quite like the fact that you never have to try to sleep when it’s 38 degrees at 3am… 🙂
it's miserable at euston, even by euston standards
We had some rain earlier today… but dry at the moment. no idea what the temperature is out side though.