Re: [Jprogramming] J strengths?

2017-11-29 Thread Ric Sherlock
I agree there are some J solutions on RC that could be viewed as (or are) rather incomprehensible. I'm not sure there is a single consensus of what makes a great RC contribution though. Some argue that it should be the most natural solution for the language, others the most concise or the fastest.

Re: [Jprogramming] J strengths?

2017-11-29 Thread Roger Hui
Try to solve the following problems in your favorite non-J language, then doing the same in J. Problems are posed for APL but work just as well for J. http://www.jsoftware.com/papers/APL_exercises/ 2.5 Cantor Set Write a function to compute the Cantor set of order n, n>:0. Cantor 0 1 Cant

Re: [Jprogramming] J strengths?

2017-11-29 Thread Dabrowski, Andrew John
Yes, after reading my own description of my fascination with tacit I thought I sounded like a prick, so I'm trying to use explicit more, and it is nice: still concise, but easier to parse. One thing that irks me is the J solutions posted on Rosetta Code. Here's the one for Pythagorean triples.

Re: [Jprogramming] J strengths?

2017-11-29 Thread Dabrowski, Andrew John
On 11/28/2017 06:46 PM, Henry Rich wrote: > I guess we can disagree on whether the bogging down is to be > attributed to J or to the user. I wouldn't necessarily disagree with you too much about that.  :)  I realize I'm a clueless newb; but it does seem that J presents greater syntactic difficul

Re: [Jprogramming] J strengths?

2017-11-29 Thread Dabrowski, Andrew John
Parsing midi files is something I've done a little of.  Why did you consider J unsuited for that?  Is it not great at string manipulation?  It seems inconvenient to have all strings in an array forced to be of the same length. On 11/28/2017 04:56 PM, Henry Rich wrote: > There's nothing specifi

Re: [Jprogramming] J strengths?

2017-11-29 Thread Dabrowski, Andrew John
Well I teach some mid-level math courses that can benefit from simple computer demos: fractals, math modeling (e.g. Markov Chains, queuing, Spirograph(!)). I also need to write occasional scripts to help with scantron exams for the dept. Personally I'm interested in computer assisted music.

Re: [Jprogramming] Jdb vs Spark

2017-11-29 Thread Miles Wells
Did Scott ever write that blog post he mentioned in the linked post? I am quite interested in reading more about his testing. On Wed, Nov 29, 2017 at 11:28 AM, chris burke wrote: > See also Scott's post on Jd vs Spark at > http://www.jsoftware.com/pipermail/database/2015-May/76.html > > On W

[Jprogramming] Jd update available

2017-11-29 Thread Eric Iverson
A new Jd update is available. It is still called version 4.6, but includes sort. The Jd sort op sorts table cols in place based on 1 or more data cols. This is important for some applications and also sets the stage for future interesting developments. The Jd sort implementation is a nice exampl

Re: [Jprogramming] Jdb vs Spark

2017-11-29 Thread chris burke
See also Scott's post on Jd vs Spark at http://www.jsoftware.com/pipermail/database/2015-May/76.html On Wed, Nov 29, 2017 at 7:19 AM, Eric Iverson wrote: > Jd is the Jsoftware database product. It replaced JDB several years ago. > JDB was a proof- of-concept that led to Jd as a commercial pr

Re: [Jprogramming] Jdb vs Spark

2017-11-29 Thread Eric Iverson
Jd is the Jsoftware database product. It replaced JDB several years ago. JDB was a proof- of-concept that led to Jd as a commercial product. See http://code.jsoftware.com/wiki/Jd/Index for Jd documentation. On Wed, Nov 29, 2017 at 2:24 AM, 'Skip Cave' via Programming < programm...@jsoftware.com>

Re: [Jprogramming] J strengths?

2017-11-29 Thread Erling Hellenäs
Hi all! It is the best executable high level notation I found. I use it to create algorithms I use in other languages. It also gives me a good supply of problems to solve. Since it is such a hopeless notation, using it is very difficult, which means using it is good mental training. Like sud

Re: [Jprogramming] PERT / graph operations

2017-11-29 Thread Henry Rich
It's unusual to create a whole program and run it.  It's not at all unusual to create a sentence and run it (using ". y).  In an interpreted language the distinction between 'code' and 'data' doesn't have to be sharp. Henry Rich On 11/28/2017 9:31 PM, Daniel Lyons wrote: On Nov 28, 2017, at

Re: [Jprogramming] PERT / graph operations

2017-11-29 Thread Raul Miller
On Tue, Nov 28, 2017 at 9:31 PM, Daniel Lyons wrote: > That's kind of a cool idea. Is it commonly done, generating a block of code > in a string and evaluating it? That's the basic concept behind compilers, though the way you've phrased it here is slightly different. That said, note that you ca

Re: [Jprogramming] PERT / graph operations

2017-11-29 Thread 'Bo Jacoby' via Programming
In 1980 I made a program for passing the diagram of activities for a large project, computing duration and cost of the project, based on durations and costs of the activities.  In PERT you have a record per node and a record per edge in the graph. I didn't do it that way. I still had a record pe