Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14284
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Eduardo Bustamante <dualbus@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: announcing bashj |
| Date | Thu, 28 Jun 2018 05:26:54 -0500 |
| Lines | 133 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.2687.1530181642.1292.bug-bash@gnu.org> (permalink) |
| References | <e74b6b2f-6902-ad32-b52c-6c8f99ed4514@gmail.com> <CAOSMAus3T58At9CS_jC7p+BBfbe51sJkP_JD9hbsFHZNt1bgHQ@mail.gmail.com> <bb81cd51-3c9e-290e-1fca-bb5b44e05c39@gmail.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | usenet.stanford.edu 1530181643 32331 208.118.235.17 (28 Jun 2018 10:27:23 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash <bug-bash@gnu.org>, bash@packages.debian.org |
| To | pg <philippe.gonze@gmail.com> |
| Envelope-to | bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=q26umQ705de05TxODhz/mp1i+bvMK2DtXGKKC185l4w=; b=AbA5q7YZYIEBp7YkmFjHmPvQ5Jq5yFMKCqwe6z+3z+0iWglYBEDUghqLoo+J6/Ehs0 0kH29FNWRBk+97HNHJYpjyl/hmUR9y7ZhwMZKl9cDtQM5VHhrU1RV6MRwlAIXf9Y+taA CwTRtsVREleh3d32V2V0fcf2ckkX5KlMUpV/sAPIPDjXP7Ody5M8ULZVjNouJeDz/kVA 1dc66n/4TuLjjsmENvpJiw9cFWI52A6Sforfs3vDpgNmh/ZPchReBpeVJTqlBrjZBpdg g5SJ6V9kuRsnsERah16QGDzDsMZIOB049bg9yJdaZrejpNXzAw7ZsjPedsIh+R79W16M sAhA== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=q26umQ705de05TxODhz/mp1i+bvMK2DtXGKKC185l4w=; b=cC+aFD63nBZkbv9LiAnnMcyf548GVpByTUuB3CXdrtrA+HtUwDRsWtKt7sLM931QUp vBui/on5CkM2mCgWdmWT2RtoNhr2V/cQitXOg7ew/k7i/IxWc4GVuVlIzNzTwb8D0qwf 5Lq1HCRJs9iSt0rC9JIrBkGuyATd9+RVW1HTPPO/j/RraLA7XRl9ULJZ1sfLXwT36rr6 ypXDSF6y2JtP0YTgS5XiWZ3EbBwynboXX+397wXRTm00zT0JNQ+7CKIzb5ShyISmyD5c HsZcJGKhtx5L7P1byssTiJFlxWf/xlvJrLrGlxVCtRNYkgeGr6LQu6De9mJrr8msVe5S h9RQ== |
| X-Gm-Message-State | APt69E1zoCO08xALYD+yqWcfEadQBxL/FxaG0ppkA9z9RU+zYdH0owq8 h5Do5sW7Jg4/8Yx5l01Ltk7VJlJiwvXsjMdRO78= |
| X-Google-Smtp-Source | AAOMgpeBHIyn2tTp26nseMmkmNHb7COCdCsbCctwsyoM78epjgMARaYDUiR2UQ8qi4FRDp7tgVMpJY8DYSBfwKrUo9M= |
| X-Received | by 2002:a2e:834a:: with SMTP id l10-v6mr3901862ljh.7.1530181635609; Thu, 28 Jun 2018 03:27:15 -0700 (PDT) |
| In-Reply-To | <bb81cd51-3c9e-290e-1fca-bb5b44e05c39@gmail.com> |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2a00:1450:4864:20::22c |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.21 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash/> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:14284 |
Show key headers only | View raw
Thank you for your response Philippe. I'm adding back the mailing lists so that they can benefit from this response too. On Tue, Jun 26, 2018 at 5:58 AM, pg <philippe.gonze@gmail.com> wrote: > > > > *Thank you, Eduardo, for these remarks... I tried to answer you questions > - answers in black below. But anyway, may I suggest you to read the > following links (wiki links), providing a better understanding of what, why > & how ... ? * > > - *http://fil.gonze.org/wikiPG/index.php/Project_bashj_:_a_bash_mutant_with_java_support > <http://fil.gonze.org/wikiPG/index.php/Project_bashj_:_a_bash_mutant_with_java_support>* > - *http://fil.gonze.org/wikiPG/index.php/Bashj_programming_guide > <http://fil.gonze.org/wikiPG/index.php/Bashj_programming_guide>* > > > On 23/06/18 20:45, Eduardo Bustamante wrote: > > On Sat, Jun 23, 2018 at 12:08 PM, pg <philippe.gonze@gmail.com> <philippe.gonze@gmail.com> wrote: > [...] > > Description: BASHJ - ANNOUNCE TO THE DEVELOPMENT TEAM OF BASH > > I am pleased to inform you about bashj - a bash 'mutant' with java > support. > This product opens numerous very interesting fields to bash developers. > > I have a few questions / comments: > > * Under which license / use terms are you releasing bashj? It doesn't > seem to be free software, the source code does not seem to be > available in the Sourceforge project, and I can't find any reference > to the license in the links you shared. FWIW, I don't have > enough confidence to test bashj by just downloading a random JAR file > from the internet and executing it in my computer. I would like to be > able to inspect the source code and build it myself. > > *I am not expert in the choice of licences. I don't care much about that, > and when the project was created on sourceforge I chose LGPLv2.1.* > *Not sure that it is the appropriate one for a mix of bash & java source > code.* > *I understand your prudence regarding the jar file.* > *From version 0.995, the java sources will be available on source forge.* > *However I want to mention that :* > > - *Sources are currently poorly documented* > - *My coding style is far from the java standards ! Compact code is my > priority, and I certainly do not approve standards leading to voluminous > code.* > - *At this time, I do not want/need source contributors. Remarks, bug > reports and suggestions are welcome, but I keep driving the code for a > while.* > > * The wiki page recommends creating the installation directory with > 0777 permissions. That seems a bit too insecure? Why does it need > world-wide write permissions? (i.e. "sudo mkdir -m=777 /var/lib/bashj/ > # create the installation directory") > > > *I changed these: * > > - *installation target directory is /opt/bashj/* > - *permission at creation time is set to 0755* > - *transient files live under /dev/shm/bashj/ * > > *But I am not expert in risk detection.* > > * What's the motivation behind bashj? I'm having trouble > understanding why one would like to use a mixture of Java and bash in > the same program, when there are options like Jython and Groovy to run > dynamic scripting languages in the JVM. Are you using bashj for a > particular application for which Groovy wasn't apt? > > > > > > > > > > > > *I use bashj for my own projects. Il appreciate the idea of getting access > to my wide and venerable java personal package library, including servers > (accessible using memory mapped files). All this from bash, and with an > impressive speed. I used groovy and was not convinced. Between java and > python, my preference (laziness?) goes to java. I would like to need no > more than 2 technologies : java & bash is enough. And what I read about > jython was not convincing anyway : too heavy. If there is no significant > public interest for bashj, I will keep using it alone, and remove it from > source forge. It would be sad, because my experience with it is really > exciting! * > > * Since I haven't run the code (for reasons explained above): How do > you handle things like the program's current working directory, the > environment, subshells, controlling terminal, etc. when everything > seems to run in the same JVM server process? > > > > *Try it and you'll see how it works. There are some limitations, but AFAIK > no blocking issues. It is partly discussed in the links provided above. If > you see significant problems, please let me know. * > > > -- > ------------------------------ > ------------------------------ > > *Philippe Gonze* > Address: *Rue de la bruyère 12 / 1428 Lillois > <https://maps.google.com/?q=Rue+de+la+bruy%C3%A8re+12+/+1428+Lillois&entry=gmail&source=g> > / BE* > Phone : *00.32.473580758* > www.gonze.org > ------------------------------ > ------------------------------ >
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: announcing bashj Eduardo Bustamante <dualbus@gmail.com> - 2018-06-28 05:26 -0500
csiph-web