unofficial mirror of emacs-tangents@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: emacs-tangents@gnu.org, Adrien Brochard <abrochard@gmx.com>
Subject: Re: Emacs User Survey 2020 Results
Date: Wed, 9 Dec 2020 21:51:16 +0300	[thread overview]
Message-ID: <X9EcpGIaw+3YpTCv@protected.rcdrun.com> (raw)
In-Reply-To: <CAP_d_8WzxfsD+B0QRaYC3zFJj4ywk87bCCOcFF0R7wxBYPObzA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2711 bytes --]

* 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 #2: 2020-12-20-19:30:51.png --]
[-- Type: image/png, Size: 87581 bytes --]

[-- Attachment #3: sent.png --]
[-- Type: image/png, Size: 11177 bytes --]

  reply	other threads:[~2020-12-09 18:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09 16:40 Emacs User Survey 2020 Results Adrien Brochard
2020-12-09 17:22 ` Jean Louis
2020-12-09 18:24   ` Jack Kamm
2020-12-09 18:30     ` Jean Louis
2020-12-09 18:29   ` Yuri Khan
2020-12-09 18:51     ` Jean Louis [this message]
2020-12-09 21:32       ` Adrien Brochard
2020-12-09 19:30   ` Göktuğ Kayaalp
2020-12-09 20:45     ` Jean Louis
2020-12-09 21:39       ` Adrien Brochard
2020-12-09 22:20         ` Jean Louis
2020-12-10 23:09           ` chad
2020-12-10  5:39         ` Göktuğ Kayaalp
2020-12-10  5:59           ` Sacha Chua
2020-12-10 13:04           ` Adrien Brochard
2020-12-09 21:31   ` Adrien Brochard
2020-12-09 23:25     ` Jean Louis
2020-12-09 17:44 ` Qiantan Hong
2020-12-09 20:58 ` Lars Ingebrigtsen
2020-12-09 21:08   ` Jean Louis
2020-12-09 23:08   ` Gregory Heytings via Emacs news and miscellaneous discussions outside the scope of other Emacs mailing lists
2020-12-10 21:28   ` Samuel Wales
2020-12-10 21:30     ` Samuel Wales
2020-12-11  8:00       ` Eli Zaretskii
2020-12-11  8:57         ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X9EcpGIaw+3YpTCv@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=abrochard@gmx.com \
    --cc=emacs-tangents@gnu.org \
    --cc=yuri.v.khan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).