Re: [Jchat] some jay colors

2023-06-22 Thread Don Guinn
https://www.google.com/search?q=stellar%27s+jay&rlz=1C1VDKB_enUS1014US1014&sxsrf=APwXEdcCfOLBtNoEw9lf56YJXnaX5bKrMA%3A1687439606162&ei=9kiUZPTBCeGXkPIPt9-i6Ag&ved=0ahUKEwj0lLiy-tb_AhXhC0QIHbevCI0Q4dUDCBA&uact=5&oq=stellar%27s+jay&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzILCC4QsQMQigUQkQIyCAgAEIoFEJECMgYIABAHEB

Re: [Jchat] ibm goes down

2021-04-13 Thread Don Guinn
They misunderstood the PC. They thought it was just a toy and ignored it. On Mon, Apr 12, 2021, 7:09 PM Björn Helgason wrote: > When i was a product manager there I was told that when we wanted to sell > something the selling price should deliver at least 10 times more than > cost. > > Less than

Re: [Jchat] Hard links to find

2020-06-28 Thread Don Guinn
is next to it. > > I've removed the sub-heading: "J Primitives". It's distracting and serves > no real purpose. > > Ian Clark > > On Sun, 28 Jun 2020 at 14:24, Don Guinn wrote: > > > Sounds really good. But I don't see the link. > > &

Re: [Jchat] Hard links to find

2020-06-28 Thread Don Guinn
p://www.jsoftware.com/help/dictionary/xmain.htm> > > If nobody likes it, then it's easily reverted. > > On Sat, 27 Jun 2020 at 15:34, Don Guinn wrote: > > > Since NuVoc is now the vocabulary the links in the original vocabulary > page > > to things lik

[Jchat] Hard links to find

2020-06-27 Thread Don Guinn
Since NuVoc is now the vocabulary the links in the original vocabulary page to things like Usr Pri JfC LJ Phr Dic and the original dictionary are now hard to find. They are really useful, especially for new J users. -- For inf

Re: [Jchat] J "like-wow"s?

2020-03-14 Thread Don Guinn
Although it's using a library definition, I like this. times =: * times table i.10 +-+---+ |times|0 1 2 3 4 5 6 7 8 9| +-+---+ |0 |0 0 0 0 0 0 0 0 0 0| |1 |0 1 2 3 4 5 6 7 8 9| |2 |0 2 4 6 8 10 12 14 16 18| |3 |0 3 6 9 12 15 18 21 24

Re: [Jchat] What does "J" mean?

2019-08-06 Thread Don Guinn
Also the average of KEN: a.{~<.0.5+(+/%#) a. i. 'KEN' J On Tue, Aug 6, 2019 at 5:44 AM Devon McCormick wrote: > It's the average of APL: > > a.{~<.0.5+(+/%#) a. i. 'APL' > J > > On Tue, Aug 6, 2019 at 7:26 AM Björn Helgason wrote: > > > It in the middle of Reykjavik. > > > > Stands fo

Re: [Jchat] TABULA announcement and request

2019-06-27 Thread Don Guinn
be used to make food stock and have other uses. Many are just burying the carbon dioxide. The problem is complex. There is more to this problem than just the cost to sequester. On Wed, Jun 26, 2019 at 9:52 PM Don Guinn wrote: > Just out of curiosity, I suspect that sequestering carbon is

Re: [Jchat] TABULA announcement and request

2019-06-26 Thread Don Guinn
Just out of curiosity, I suspect that sequestering carbon is exothermic, not exothermic. So what is the net gain since the energy probably comes from carbon based generating power plants? On Wed, Jun 26, 2019, 5:29 PM Jose Mario Quintana < jose.mario.quint...@gmail.com> wrote: > " > Whether it do

Re: [Jchat] TABULA announcement and request

2019-06-22 Thread Don Guinn
Watched the video. Interesting on comments on truncated graphs on temperature. On his untruncated graph started at 0 degrees Celsius. Maybe it was still truncated. Perhaps it should have started at 0 degrees Fahrenheit. Or maybe 0 degrees Kelvin. The problem is we are graphing the wrong thing. The

Re: [Jchat] TABULA announcement and request

2019-06-07 Thread Don Guinn
Well, before one can come to any conclusion on the meaning of co2 levels we need to know if it is the cause of our climate change or an indicator of other causes. There are many things affecting the climate. Co2 is only one. On Fri, Jun 7, 2019, 10:18 AM Ian Clark wrote: > The addons math/tabula

Re: [Jchat] converting from 'floating' to 'rational' moved to Chat

2019-03-29 Thread Don Guinn
Just curious. Can you site a reference on this comment: Not particularly relevant; only a countable number of irrationals can appear as the limit of computations. And some pairs of rationals have no irrationals between them (for example, 0 and the nearest rational to it, which is of the form 1/x,

[Jchat] converting from 'floating' to 'rational' moved to Chat

2019-03-29 Thread Don Guinn
We are a decimal numbering system people. We are always getting into trouble with representing decimal numbers in binary. It is almost hopeless to try to explain to a non-mathematician or non-computer programmer why 0.1 cannot be represented exactly in a computer. They just know you are an idiot. T

Re: [Jchat] IEEE Top programming languages 2018

2018-08-10 Thread Don Guinn
Each dish is an object. An array of objects. On Fri, Aug 10, 2018 at 4:26 AM Bernie Eckhart wrote: > OO paradigm models reality best (caveat) in the care and nurturing of a > skilled model maker: > > "Dishes, wash yourselves!" > > On Fri, Aug 10, 2

Re: [Jchat] IEEE Top programming languages 2018

2018-08-09 Thread Don Guinn
My personal opinion. APL and several follow on languages including J are closer to mathematics than other programming languages. The extension to arrays was, and still is, makes J and the others more like the way we think. We think "wash the dishes". We don't think "pick up a dish and wash it, then

Re: [Jchat] wikipedia deletion propoal

2018-07-06 Thread Don Guinn
As is presented in many of those articles, which hopefully I find time to read, I'm sure that rank is only one of many ways that APL and J reduce the need for "for" etc. It is my personal opinion that APL, J and the various follow-ons provide ways to better address problems in a mathematical persp

Re: [Jchat] wikipedia deletion propoal

2018-07-06 Thread Don Guinn
One point not clearly shown is that almost all loop constructs can be eliminated by the use of rank working with modifiers. A point most non-J readers will miss. On Fri, Jul 6, 2018, 3:16 PM Raul Miller wrote: > So... it looks like someone wants to delete the > https://en.wikipedia.org/wiki/Rank

Re: [Jchat] How close is J to APL?

2018-06-17 Thread Don Guinn
t; >> > >> In those days computers were IPL-ed daily (Initial Program Load-ed) – > and > >> the FS prototype took longer and longer to IPL as emulation piled on > >> emulation (I think they were using APL to emulate the instruction set!) > >> Eventually

Re: [Jchat] How close is J to APL?

2018-06-16 Thread Don Guinn
Other problems. Never heard of a print train with APL characters for high speed printers. Had to have a special type ball for Selectric typewriters. It wasn't until the late 1970's that teletype matrix terminals started supporting APL characters. Likewise for 3270 monitors.

Re: [Jchat] How close is J to APL?

2018-06-13 Thread Don Guinn
Today the APL display is solved. But it wasn't when J first started. Unicode was there but support was a mess. The keyboard is still a mess, Dyalog keyboard works pretty well but conflicts with Windows keys. Looking at all the glyphs in Dyalog is just as difficult to read as the J primitives. On W

Re: [Jchat] How close is J to APL?

2018-06-12 Thread Don Guinn
My green card showed the EBCDIC character set and it did not include APL characters. On Tue, Jun 12, 2018, 8:37 PM Devon McCormick wrote: > I'd like to amend (extend) a previous post: > > To the best of my recollection APL could be written with EBCDIC so why J? > - EBCDIC, to the best of my reco

Re: [Jchat] J, APL, or calendars?

2018-06-08 Thread Don Guinn
When in elementary school there was a chart showing the numbers. But the zero was to the right of the nine. That confused me then. No wonder kids have difficulty grasping the concept of zero. On Fri, Jun 8, 2018, 8:34 AM Björn Helgason wrote: > beenary numbers > > https://m.phys.org/news/2018-06

Re: [Jchat] J, APL, or calendars?

2018-05-31 Thread Don Guinn
Last two laptops I got don't. I used to be a good touch typist. But computers have ruined me. On Thu, May 31, 2018 at 4:27 PM, PR PackRat wrote: > On 5/31/18, Don Guinn wrote: > > There used to be a small bump on the J key for touch typists. > > My PC keyboard still has bum

Re: [Jchat] J, APL, or calendars?

2018-05-31 Thread Don Guinn
There used to be a small bump on the J key for touch typists. On Thu, May 31, 2018, 4:10 PM PR PackRat wrote: > This is way off-topic--so please forgive me--but I wanted to clarify > some previous messages: > > On 5/31/18, Donna Y wrote: > > Once I asked Ken about the name of J language and he

Re: [Jchat] J, APL, or calendars?

2018-05-30 Thread Don Guinn
Sure seems Einstein was correct. According to his special theory of relativity, time varies depending on one's speed and location. There seems to be no agreement on time in this thread. On Wed, May 30, 2018 at 10:25 AM, Björn Helgason wrote: > In Sweden they say 2018 as tjugohundraarton or tjugo

Re: [Jchat] How close is J to APL?

2018-05-18 Thread Don Guinn
whether it had any supporters, > or the people proposing it were laughed out of the room... > > > >> On 2018May 18, at 08:48, Don Guinn wrote: > >> > >> I prefer index origin zero too. And I mentioned this discussion to my > wife > >> this morning she po

Re: [Jchat] How close is J to APL?

2018-05-18 Thread Don Guinn
; in which the author exercised this Awesome Power. It may be possible > to maintain, but it (a) is not fun, and (b) it introduces a rich set of > ways > to generate faulty programs. > > Not for me, thanks. > > Bob > > > > On 2018-05-18 10:40 AM, Don Guinn wrote: >

Re: [Jchat] How close is J to APL?

2018-05-18 Thread Don Guinn
nificant in the calculation other than to select an element the index origin was one. On Fri, May 18, 2018 at 9:12 AM, Don Guinn wrote: > Agreed. > > On Fri, May 18, 2018 at 8:46 AM, Roger Hui > wrote: > >> > The mistake in APL was to duck the issue by allowing both m

Re: [Jchat] How close is J to APL?

2018-05-18 Thread Don Guinn
ave a preference. > > ⎕io *delenda est*! > > > > > On Fri, May 18, 2018 at 7:40 AM, Don Guinn wrote: > ​... > ​ > > > > This may change as now that so many people program and are used to an > index > > origin of zero. My point was not what the index o

Re: [Jchat] How close is J to APL?

2018-05-18 Thread Don Guinn
​If you look at the notation for vectors and matrices i​n mathematics the first element of a vector is written as V(1) and the upper left corner of a matrix is M(1,1). Having to use parens because I can't figure out how to put subscripts in e-mail. True, in summations of infinite series etc. the l

Re: [Jchat] How close is J to APL?

2018-05-17 Thread Don Guinn
cit. What made tacit fly were forks, first implemented in J in version > > 0.1. In fact, tacit defn was implemented in J long before explicit defn. > > > > > > > >> On Thu, May 17, 2018 at 12:14 PM, Don Guinn wrote: > >> > >> Tacit came out fi

Re: [Jchat] How close is J to APL?

2018-05-17 Thread Don Guinn
s not recognized as > tacit. What made tacit fly were forks, first implemented in J in version > 0.1. In fact, tacit defn was implemented in J long before explicit defn. > > > > On Thu, May 17, 2018 at 12:14 PM, Don Guinn wrote: > > > Tacit came out first in APL. U

Re: [Jchat] How close is J to APL?

2018-05-17 Thread Don Guinn
Tacit came out first in APL. Used alpha and omega. First time I saw +/÷# and thought "What is that??" (Sorry. Couldn't find rho.) On Thu, May 17, 2018, 11:24 AM David Lambert wrote: > "APL and J are conceptually similar. That is, one knowing one language can > easily pick up the other. " > Verbs

Re: [Jchat] How close is J to APL?

2018-05-17 Thread Don Guinn
​Having learned APL in its early days, but never was my main programming language, you may need to take my comments with a grain of salt too. APL and J are conceptually similar. That is, one knowing one language can easily pick up the other. But when J was started Iverson had an opportunity to mak

Re: [Jchat] Convention to stop loading a script

2018-05-09 Thread Don Guinn
How about something like the APL empty right arrow? End return to empty stack immediately. It could be useful in already defined definitions as well as terminating a load before EOF is reached as it is in the stack too. On Wed, May 9, 2018 at 8:09 AM, Raul Miller wrote: > How should this behave

Re: [Jchat] What do programmers mean by: variable, constant, function, array, etc?

2018-03-08 Thread Don Guinn
And we have things like "square root" which can't be a function as its result is multi-valued. Unless we want to do some arm-waving using terms like "principle-value". but we still call them "functions". The point I'm trying to make is that concepts get lost in the nitty-gritty of the technical def

Re: [Jchat] What do programmers mean by: variable, constant, function, array, etc?

2018-03-08 Thread Don Guinn
ctions. They do not manipulate data. On Thu, Mar 8, 2018 at 8:18 AM, Dabrowski, Andrew John wrote: > You mean "operations"? > > On 03/08/2018 08:56 AM, Don Guinn wrote: > > Yet + and - are called "operators" is school. Yet they conform exactly to > the defini

Re: [Jchat] What do programmers mean by: variable, constant, function, array, etc?

2018-03-08 Thread Don Guinn
x squared is a function (graph of > a parabola). y squared equals one minus x squared (graph of a circle) > is not a function. > > That term got borrowed for programming (naming things is hard), but > functions in programming languages have only a loose relationship to > the ear

Re: [Jchat] What do programmers mean by: variable, constant, function, array, etc?

2018-03-07 Thread Don Guinn
When in grade school they called things like + and - "operators". But they never defined it. Then in trig thay had "functions", but they never defined what functions were either. Then came calculus. Differentiating and integrating were never given a group name or general classification. I think tea

Re: [Jchat] [Jprogramming] RV: JoJ 2018

2018-03-06 Thread Don Guinn
Unfortunately earth events can't be rerun for reproducible tests. There are many causes for climate change. No one really has a handle on it. Perhaps the real climate change deniers are those who claim we can stop climate change. On Mar 6, 2018 6:37 PM, "Donna Y" wrote: > Raul > > Thanks for the

Re: [Jchat] Where is J going ?

2018-03-06 Thread Don Guinn
Defining fit as: fit=:2 : '(u f.)!.n' works. 1 2 laminate fit 10]3 4 5 1 2 10 3 4 5 On Mon, Mar 5, 2018 at 9:46 PM, Raul Miller wrote: > On Mon, Mar 5, 2018 at 7:14 PM, Ian Clark wrote: > > But I was writing tongue-in-cheek when I suggested Foreigns. Maybe the J > > way of doing it is to

[Jchat] Speed of J

2018-03-05 Thread Don Guinn
This is along the chat on where J is going. Several days for fun I tried inverting a 1000 by 1000 matrix on my phone. Surpries! It worked. So, curious how it compares to my PC with all the speed-up goodies on J7 I tried it on my laptop and compared answers and speed. Here is what I got on my lapto

Re: [Jchat] Where is J going ?

2018-03-05 Thread Don Guinn
forms of: (;.), (|) …etc > > > > i.e. make the addon EXACTLY compatible with www.code.jsoftware.com/wiki/ > > NuVoc > > > > Use Monad/Dyad to enforce the valency (…see above) > > > > (make it an option, in the same way as CamelCase) > > > > Exte

Re: [Jchat] Where is J going ?

2018-03-04 Thread Don Guinn
The problem is that fit only applies to primitives. On Mar 4, 2018 9:23 PM, "Ian Clark" wrote: > @Jose > I was just about to tell Don that. > > IMO this is a clumsy way of adjusting the behavior of a script at load > time. > It will trip up a beginner. > > This is one of the first alterations I'

Re: [Jchat] Where is J going ?

2018-03-04 Thread Don Guinn
Well, almost all names work. But fit does not. 1 2(,:!.10)3 4 5 1 2 10 3 4 5 1 2(laminate fit 10)3 4 5 |domain error: fit | 1 2(laminate fit 10)3 4 5 Also, for CamelCase, comment out line 253 in primitives.ijs . On Sun, Mar 4, 2018 at 12:58 PM, Brian Schott wrote: > Ian, > > I like your i

Re: [Jchat] Project Euler

2018-01-18 Thread Don Guinn
board to help me find where I am messing up I would appreciate it. My email is dongu...@gmail.com Taking this offline makes it so we don't mess up other people's fun. Thanks, Don On Thu, Jan 18, 2018 at 1:06 PM, Don Guinn wrote: > Thanks. Busy today. Get back shortly. > > On

Re: [Jchat] Project Euler

2018-01-18 Thread Don Guinn
r, though > I encountered one > or two glitches on the way. > > Even when everything looks right, it's difficult to spot primes that you > might have omitted. > > I won't post the code here, but am happy to discuss further with Don. > > Mike > > > O

[Jchat] Project Euler

2018-01-16 Thread Don Guinn
Has anyone solved problem 111? The web page says my answer is wrong, but I have checked and double-checked and can find no error. Perhaps I have misunderstood the problem. Just wanted to talk with someone about it th see where I am messing up. Thanks ---

Re: [Jchat] the language of the future for the programming of the past

2018-01-09 Thread Don Guinn
ndustry, and in that sense APL/J are not adequate for the programming of > today. > > And GUIs were just one example. Nowadays computation requires working > easily with huge amounts of heterogeneous data, and I may be wrong about > this, but I don't think J's boxes are an a

Re: [Jchat] the language of the future for the programming of the past

2018-01-09 Thread Don Guinn
APL was a major breakthrough in computing. As mentioned earlier it provided a better link between people and computers than was available at the time. It allowed people to think arrays with computers as mathematicians do. It also formalized the concept of modifiers, a concept in mathematics not exp

Re: [Jchat] Reference manuals (was [Jprogramming] i. (2 2 $ 1 2 3 4))

2017-12-16 Thread Don Guinn
ence with it. > > Thanks, > > -- > Raul > > > > On Sat, Dec 16, 2017 at 6:54 AM, Erling Hellenäs > wrote: > > I think you normally expect text, including manuals, to be readable. If > it > > is you don't have to do experiments at the terminal to und

Re: [Jchat] Reference manuals (was [Jprogramming] i. (2 2 $ 1 2 3 4))

2017-12-14 Thread Don Guinn
How many hours did I spend reading the Dictionary while sitting on the toilet? On Thu, Dec 14, 2017 at 4:27 PM, Jose Mario Quintana < jose.mario.quint...@gmail.com> wrote: > :D > > I probably understood half of the entry descriptions I read originally > because I have a very short attention span,

Re: [Jchat] resilient coding practices for the internet age

2017-11-17 Thread Don Guinn
There are so many issues here. The time and effort to really understand a problem. The lack of understanding security issues. And, of course, the "necessity" for officials to know everyone else's secrets. I'm sure you all are familiar with the expression, "By the time you have written the program

Re: [Jchat] resilient coding practices for the internet age

2017-11-15 Thread Don Guinn
t it's rather difficult to avoid web ads. That said, if you have > some good way of avoiding this problem, I'd be interested in hearing > about it. > > Thanks, > > -- > Raul > > > On Wed, Nov 15, 2017 at 11:53 AM, Don Guinn wrote: > > Malware doesn't

Re: [Jchat] resilient coding practices for the internet age

2017-11-15 Thread Don Guinn
away from dangerous places. On Wed, Nov 15, 2017 at 9:36 AM, Raul Miller wrote: > That's a tough one, since it's all guess work. > > (We do not have hardware support for isolating malware vectors.) > > Thanks, > > -- > Raul > > On Wed, Nov 15, 2017 at 9:5

Re: [Jchat] resilient coding practices for the internet age

2017-11-15 Thread Don Guinn
Interesting points. On one issue: viruses. We all have some sort of virus checker on our computers. Occasionally the checker finds something and removes it. But many people think that the problem is fixed. It is not! It is important at this point to figure out how the virus got in and prevent it f

Re: [Jchat] Iverson and the bubble sort

2017-08-31 Thread Don Guinn
The terms floor and ceiling are quite descriptive. My wife was reading a recipe which was translated and it called ground beef, floor beef. Now she calls it floor beef. On Aug 31, 2017 9:31 AM, "Roger Hui" wrote: > I can believe that Iverson invented the phrase "bubble sort". Page 217 of > *A >

Re: [Jchat] [Jprogramming] "n-volume" of an "n-sphere"

2017-08-18 Thread Don Guinn
I moved it to chat. Or maybe said another way. The energy to escape the black hole exceeds the energy of the photon. But I really like your saying the wavelength is too long. On Fri, Aug 18, 2017 at 11:05 AM, Xiao-Yong Jin wrote: > That's a dimensionless ratio. > > > On Aug 18, 2017, at 11:19 A

Re: [Jchat] Code Modernization: Bringing Codes Into the Parallel Age

2017-06-17 Thread Don Guinn
Years ago when I first encountered APL, and now J, I was amazed at the the drastic difference on how problems were approached from how programming had been done then and is still being done today. So much in this article seems to be re-discovering what we have been doing for 50 years. The primitiv

[Jchat] J in Chrome OS

2017-03-23 Thread Don Guinn
My grandson has a Chrome book and I tried to run J on it. Thought it might be like Android but it wouldn't install. Anybody have an idea if and how to run J on Chrome OS? -- For information about J forums see http://www.jsoftware.c

Re: [Jchat] was [Jprogramming] Gustafson's Unums Revisited

2016-08-20 Thread Don Guinn
Is it really important what the internal type is for unums? Since 2&x: and +. always create a pair of numbers. +.0 0 0 2 x:0 0 1 On Sat, Aug 20, 2016 at 12:06 PM, Skip Cave wrote: > Interesting... > >d =. 3j_1 ; 3j0 ; 3j1 3 ; 3.1 ; 3r1 > > d > > ┌┬─┬─┬───┬─┐ > > │ 3j_1 │3 │ 3

Re: [Jchat] JWithATwist – Number of Arguments

2016-08-12 Thread Don Guinn
Ironically the acronym often becomes the name. Everybody knows what NASA is. What the CIA is. But people have to think to figure out what the real name is. Take ICE. I'll bet that half the people don't even know what the actual name of the ICE organization is. A long name, particularly with lots of

Re: [Jchat] JWithATwist – Number of Arguments

2016-08-11 Thread Don Guinn
Long names, though help self document, make reading difficult. This is not a problem unique to programming. News articles and technical papers use acronyms to simplify. First they list out the full name then put an acronym in parentheses after it. Then use the acronym in the rest of the article. Li

[Jchat] Correctness?

2016-06-27 Thread Don Guinn
It bothers me that we have to sacrifice correctness for performance. We use @: and avoid @ for performance even though the verbs involved are scalar. So I have a question. What does it mean when we speak of rank? Currently a verb is repeated for each cell in a frame. Is that the definition of the w

Re: [Jchat] Assembly language

2016-05-26 Thread Don Guinn
The irony here is that these "outdated" and "slow" computers are running just as fast as they did the day they were installed. Then people thought they were really great. On Thu, May 26, 2016 at 11:14 AM, Raul Miller wrote: > [I am taking the liberty of trimming the body and editing the subject,

Re: [Jchat] Unum, new number format

2016-04-30 Thread Don Guinn
I have always liked the high minus of APL and using the underscore in J to represent negative numbers. Not because it allowed lists of numbers to include negative numbers, but because it made a true representative of negative numbers, not the negation of a positive number. Using the minus sign to r

Re: [Jchat] primes

2016-03-14 Thread Don Guinn
s that are 1 mod 4. I > believe there's a proof that the x-axis is crossed infinitely often, but > you can't tell that by looking at the graph even for large n. > > > On Mon, Mar 14, 2016 at 4:24 PM, Don Guinn wrote: > > > And here is the grouping for last digits.

Re: [Jchat] primes

2016-03-14 Thread Don Guinn
spike in the count for multiples of 6 difference. Weird! On Mon, Mar 14, 2016 at 5:05 PM, Don Guinn wrote: > Just played with the various spacing of primes and saw something a little > odd. The number of primes differing by 6 are much larger than any other > difference. (I know, the co

Re: [Jchat] primes

2016-03-14 Thread Don Guinn
Just played with the various spacing of primes and saw something a little odd. The number of primes differing by 6 are much larger than any other difference. (I know, the code is not efficient, but it is fast enough to play with.) 20{./:~(~.d),.#/.~d=.2-~/\p:i.1000 1 1 2 738597 4

Re: [Jchat] Four Solutions to a Trivial Problem

2016-02-18 Thread Don Guinn
Guy's four solutions for the water problem really bothered me. Why does he make this sound so difficult? So I wrote a J definition for water: water =: +/ @: -~ >./\ <. >./\. water 2 6 3 5 2 8 1 4 2 2 5 3 5 7 4 1 35 It is identical to his first serial solution except all "how to" (loops) are

Re: [Jchat] J still surprises me

2015-12-31 Thread Don Guinn
I just wanted to define another name for the match. But stupidly i did it backwards. I meant to say y=:x . It really amazed me how a relatively simple problem of determining equivalence got blown up in such a big deal. I had stumbled onto the addition and multiplication using residues a while back

[Jchat] J still surprises me

2015-12-30 Thread Don Guinn
Ran into another case where the power of J is amazing. I was on the site https://en.wikipedia.org/wiki/Residue_number_system and got to the part for "Associated mixed radix system". Two math definitions. Not too bad but I had noticed how many names were in the definitions. The second one first, for

Re: [Jchat] The Future Of Coding Is Here, And It Threatens To Wipe Out Everything In Its Path | TechCrunch

2015-09-29 Thread Don Guinn
Seems that way to me. All that really matters is the presentation. Doing the job and giving correct answers take second place - until users start complaining. Then it's too late. They had build in a slow ramp up so they could adjust and add resources if needed to handle the load. But the leaders, n

Re: [Jchat] The Future Of Coding Is Here, And It Threatens To Wipe Out Everything In Its Path | TechCrunch

2015-09-29 Thread Don Guinn
​Maybe that what bit the Obama Care web site. What the user saw and used (the gui api) could have been easily written by students in a beginning web design class. The underlying apis were grossly underestimated and not understood by those in charge.​ On Tue, Sep 29, 2015 at 9:34 AM, Raul Miller w

Re: [Jchat] Interesting talk "How did we end up Here?"

2015-09-27 Thread Don Guinn
lization. > > On another note, there's been some mention of processes like Agile for > speeding up the development process. Keep in mind that the context for > these kinds of "methodologies" is an idea that a small team might be five > people. In the array-programmi

Re: [Jchat] Interesting talk "How did we end up Here?"

2015-09-26 Thread Don Guinn
Given a fork (f g h) f and h can be processed in parallel. But if f and h have side effects (shared global names that are modified) then they should not run in parallel. A programming practice that should be avoided anyway. This is not a pipeline, but multiple processors could be used. But even not

Re: [Jchat] Interesting talk "How did we end up Here?"

2015-09-26 Thread Don Guinn
One major problem with programming today is that it is too easy to develop and publish something. We don't take time to really understand what we want and need. In my first job the computer was behind a locked wall which I couldn't see behind. I got one test run a day, sometimes two if I was really

Re: [Jchat] ascii emoji

2015-09-17 Thread Don Guinn
#7 u:'¯\_(ツ)_/¯' 9 3 u: 7 u:'¯\_(ツ)_/¯' 175 92 95 40 12484 41 95 47 175 Unicode/UTF8 are only ways to display multiple languages consistently (hopefully). Entering them is not addressed. Different countries have different keyboards to address this problem. Maybe soft keyboards like on tabl

Re: [Jchat] Swarm programming

2015-07-30 Thread Don Guinn
I think swarm programming is an another ambiguous buzzword like "database", "cloud computing" and "pornography". We have an intuitive sense as to what it should be but really can't be sure. Searching the web gave all sorts of definitions. But doesn't J already have constructs to perform swarm progr

Re: [Jchat] [Jprogramming] J-x86 on Android

2015-07-23 Thread Don Guinn
Moved to Chat. Sorry about not getting back sooner. Got busy on other things. It turns out that the S4 uses a Krait CPU which an ARM processor. This information was difficult to find as neither the phone About nor the Samsung web site gives this information. I installed armabi-v7a successfully bu

Re: [Jchat] Repeating decimals

2014-07-23 Thread Don Guinn
​​ Why not extend the question a bit? Given p, q and b, how many digits of base b will be required in the repeat? The answer could be an infinite number. On Wed, Jul 23, 2014 at 5:15 AM, Raul Miller wrote: > OK, rereading the original post, I guess I should assume that we are not > only interes

Re: [Jchat] How a Genius Programmer Rewirtes a Ten-line code into One-line.

2014-04-26 Thread Don Guinn
A little shorter. ,.(1+i.9)(([:":]),' X',(2":[),' =',(7#' '),~ 3":*)"0/2+i.4 2 X 1 = 2 3 X 1 = 3 4 X 1 = 4 5 X 1 = 5 2 X 2 = 4 3 X 2 = 6 4 X 2 = 8 5 X 2 = 10 2 X 3 = 6 3 X 3 = 9 4 X 3 = 12 5 X 3 = 15 2 X 4 = 8 3 X 4 = 12

Re: [Jchat] APL character support (moved to Chat)

2014-02-27 Thread Don Guinn
Everybody wants to talk about handling APL characters. I'm for that too, but first we need to make it clear on how to handle UTF-8 or UTF-whatever. The problem I am trying to point out is that the characters in _128{.a fall in a no-man's land. They are ambiguous. Sometimes they are treated like 8-b

[Jchat] APL character support (moved to Chat)

2014-02-27 Thread Don Guinn
This discussion started out on using APL characters as executable in J. I'm not sure I would want to make many equivalences between APL symbols and J primitives; however, representing APL characters and international characters gets into the way J handles these characters with the character types l

Re: [Jchat] JHS spreadsheet starting point

2014-02-23 Thread Don Guinn
Most videos start out black and fade in. Or have some kind of title that does not need high resolution at the beginning. Probably just to avoid that problem. -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jchat] new wiki essay

2014-02-22 Thread Don Guinn
There are at least two ways for parallel processing (multi-tasking) - One where several processors share the same memory, and another where memory is not shared and it is necessary to transfer or duplicate data on computing systems that may or may not be tightly connected. The latter case obviousl

Re: [Jchat] new wiki essay

2014-02-22 Thread Don Guinn
The J notation is already for multiprocessing on multiprocessing computers with shared memory. Each is just one example. When the rank of a verb is less than the rank of its nouns can multiprocess. Problems I see to expanding J to multiprocessing: 1: Any user definitions with side effects like us

Re: [Jchat] What does this do?

2014-02-21 Thread Don Guinn
On the flip side, what would an art class taught like a math class be like? What would the students learn? Can't you just hear the art teacher complaining! On Fri, Feb 21, 2014 at 10:37 AM, robert therriault wrote: > I saw this blog post today on what it would be like if math was taught as > an

Re: [Jchat] Julia

2014-02-05 Thread Don Guinn
I assume that the intent is to compile to machine language, or possibly C. The thing is that JAVA and JAVASCRIPT are considered compiled, but compile to virtual machines, not to hardware. Isn't the j.dll like a virtual machine? It's relatively small in today's standards. I don't know how big the JA

[Jchat] Lubos Motl's physics blog performance problem moved to chat

2014-01-22 Thread Don Guinn
Tried an experiment last night. I run UMBUTU under VMWare under Windows 7 (8G). I upped UMBUTU to 4G and started J there. Ran +/i.5e8 which caused UBUNTU page heavily. Then brought up FireFox on UMBUTU. It was slow to start, but once up it responded instantly even though J was still causing heavy p

Re: [Jchat] +/i. _:

2014-01-21 Thread Don Guinn
_: is the verb infinity. You need a noun to get a calculated result. But what is he trying to say? Obviously the sum cannot equal 1r12. So what is (-1/12) supposed to mean? On Mon, Jan 20, 2014 at 10:23 PM, Richard Hill wrote: > The following statement is copied from Lubos Motl's physics blog...

Re: [Jchat] FW: NIST i-vector machine learning challenge @ Odyssey 2014

2013-11-27 Thread Don Guinn
imensions are orthogonal. > > That said, you can also think of a table as a "two dimensional" > construct. Here, though, the dimensions have nothing to do with the > contents of the table but instead refer to the height and width of the > table. > > Or does this make

Re: [Jchat] FW: NIST i-vector machine learning challenge @ Odyssey 2014

2013-11-26 Thread Don Guinn
You lost me. Wouldn't a list of three numbers in each item still be two-dimensional? On Tue, Nov 26, 2013 at 11:51 AM, Raul Miller wrote: > "Vectors of high dimensionality" are probably what we would call a > long list. (A two dimensional vector is a list of two numbers. A three > dimensional v

Re: [Jchat] Newspaper columns are easier to read than books

2013-11-01 Thread Don Guinn
I find it easier to move to the next line with narrower columns. When text goes all the way across the screen sometimes I pick the wrong line to continue reading. ​ -- For information about J forums see http://www.jsoftware.com/for

Re: [Jchat] show box with utf-8

2013-09-30 Thread Don Guinn
a=.'АНТОНОВ АЛЕКСАНДР' a,:'x'#~#7 u:a АНТОНОВ АЛЕКСАНДР x a,:'x'#~#a АНТОНОВ АЛЕКСАНДР x wrote: > Box display is designed for fix width font. > > No one has written box display for proportional spaced font. > > Perhaps you could write o

Re: [Jchat] [Jbeta] jqt boxed display

2013-05-28 Thread Don Guinn
: > >9!:7 '┌┬┐├┼┤└┴┘│─' > |length error > > -- > Raul > > On Tue, May 28, 2013 at 9:20 AM, Raul Miller > wrote: > > On Tue, May 28, 2013 at 9:00 AM, Don Guinn wrote: > >> The unicode numbers for the box characters are > >> > >>9!:6 '

Re: [Jchat] [Jbeta] jqt boxed display

2013-05-28 Thread Don Guinn
The unicode numbers for the box characters are 9!:6 '' ┌┬┐├┼┤└┴┘│─ 3 u: 9!:6 '' 16 17 18 19 20 21 22 23 24 25 26 3 u: 7 u: '┌┬┐├┼┤└┴┘│─' 9484 9516 9488 9500 9532 9508 9492 9524 9496 9474 9472 9!:7]4 u: 9484 9516 9488 9500 9532 9508 9492 9524 9496 9474 9472 |domain error | 9!:7]

Re: [Jchat] Math Notation

2013-04-26 Thread Don Guinn
Having used traditional arithmetic for 35 years before I saw APL, I found it difficult to work with the syntax of APL and J. I still do at times. Like you, I go back to the old ways on pencil and paper. But I think my difficulty with polynomials is if I write them the old way but in J notation they

[Jchat] From Programming Forum - Unicode (utf-8) glyph

2013-04-13 Thread Don Guinn
As I understand it a grapheme is a unit in a written language, where a glyph is the form/graph. From a dictionary: A visual representation of a letter, character, or symbol, in a specific font and style. A grapheme can associate with several glyphs and a glyph can represent several graphemes. Kin

Re: [Jchat] [Jprogramming] J and APL symbols

2013-04-12 Thread Don Guinn
Looks like continuing this debate is not going anywhere new. How about trying some things to see how they work? Not with the intent of anything for the world to see or expect to ever show up in a later release. I would do it myself but right now my C++ has a way to go and my understanding of Qt ha

  1   2   >