emacs-tangents
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs User Survey 2020 Results


From: Jean Louis
Subject: Re: Emacs User Survey 2020 Results
Date: Wed, 9 Dec 2020 21:51:16 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Yuri Khan <yuri.v.khan@gmail.com> [2020-12-09 21:30]:
> On Thu, 10 Dec 2020 at 00:34, Jean Louis <bugs@gnu.support> wrote:
> 
> > - your Jypiter notebook can most probably be done also in Org
> >   mode. All the graphs could be also generated in Emacs as well and
> >   without proprietary external software. Graphviz and dot systems
> >   could be efficient.
> 
> You should probably not assume all software other than Emacs is
> proprietary. Jupyter Notebook is Free software under BSD license.

Definitely I did not assume and did not say so. It was not related to
proprietary issue. Emacs is specific computing environment that has
Org Babel built-in that may as well do what Jupyter does. But I have
not checked Jupyter well. That is not related to proprietary issue.

We speak of Emacs. Sure we are free to use any free software. But it
is specific context. I would not even be doing charts by nothing else
but Emacs be it SVG image created by Emacs with or the HTML-ized
export from chart-bar-quickie function, or simple text finally, in
similar way how gnuplout outputs it.

The HTML I would create with Emacs of course, and there would be no
need for Javascript, did that before, doing it now as well. It is
quick. The CGI program would be, guess what, in Emacs, and data would
be stored in LISP structure.

Is it extremism?

When doing survey about let us say Python, why would I be creating
images and stuff, calculations and analysis with let us say Perl. Of
course I can do, but somehow does not align well.

I am daily using chart-bar-quickie (nice), to generate graphs from
database. This simple function produces the graph in attachment. Even
if exported as screenshot I would find it fancier and better for
Emacs. I hope there will be more entertainment next time.

(defun hyperscope-statistics-types (&optional limit)
  "Show statistics for most 5+ used hyperdocument types"
  (interactive)
  (let* ((limit (or limit 5))
         (sql (format "SELECT hlinktypes_name, count(hlinktypes_id) count FROM 
hlinks, hlinktypes WHERE hlinktypes_id = hlinks_hlinktypes GROUP BY 
hlinks_hlinktypes, hlinktypes_name ORDER BY count DESC LIMIT %s" limit))
         (data (rcd-sql-list sql *cf*))
         (title (concat "Hyperdocument Types Statistics " (rcd-timestamp-date)))
         (namelst '())
         (namelst (dolist (i data namelst) (push (car i) namelst)))
         (nametitle "Hyperdocument Types")
         (numlst '())
         (numlst (dolist (i data numlst) (push (cadr i) numlst)))
         (numtitle "Number"))
    (chart-bar-quickie 'vertical title namelst nametitle numlst numtitle)))

And I use gnuplot to generate statistic graphs such as the one in
attachment.

It can all be done from within Emacs for Emacs environemnt, it would
fancier.

Jean

Attachment: 2020-12-20-19:30:51.png
Description: PNG image

Attachment: sent.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]